Hacker Newsnew | past | comments | ask | show | jobs | submit | bebe3000's commentslogin

This whole magic can be explained in one sentence. `infer` is introduced to TypeScript's templating. The rest, I mean this sql parser is just the result of this new "tool".


How about creating rules?

  A talks to B
  B blocks A
  A registers as C
  *not too much time passes*
  C talks to B
At this point C is considered to be a harasser and therefore it will be hidden for B. B can of course lift the ban if it's just a false positive. To further specify who's who in this graph, the logic can find the smallest time between ban and the creation of a new user with the same behavior (writes to B) as the reported one.

I think this is way more easier than handling those who abuse the actual service you're selling.


Hungarian: It's "full chinese" for me


Ideas: NotJavaScript JS JScript ESX undefined


I GNU what you did there.


Great! Have some WINE.


For a 25 years old student from a middle european country that I am, everything happens on facebook. I don't post or see posts of others. I simply hid that feature with a browser extension long time ago. But I use groups extensively for discussions and help in any field i'm interested in. There are groups where you can only sell things, that's also very useful. I use messenger to connect to literally anyone I know, my family, friends, my colleagues. I receive events there too. Some of the places I go to only have a facebook page. Last time a good confectionery posted that they close in a week. How else would I know if I didn't use facebook? It's pretty much perfect for me because I can't think of anything else that I would need. Another interesting thing is a group where almost all of the country is represented and they have varying quiality posts on everything that happened to them. If someone keyed your car, you ask for witnesses there, if you lost your wallet on a tram, you ask for help there. Currently the admins share abortion stories to keep the sources' anonimity. So that's a nice group with all it's quirks.


ekke assumed the hovercraft can hold at most 331 eels. You assumed it holds 4 billion eels. Who's right? I don't know but a billion eels sounds far off.


If an array is the hovercraft, it can hold 4 billion "things" regardless of what those things are! So you need to fill that up to meet the requirements of the saying.


And if a hovercraft is an array of size 331, then it should hold 331 eels.


Ah but now we're at the crux of the issue; in Javascript, hovercrafts grow in size to accommodate as many eels as you put in, but to a maximum of ~4 billion. So "full" is not a question you can ask of your hovercraft, though it will tell you once it's overflowing.


Now there's a thought!

What if we used a storage method that didn't grow?

In JavaScript we have typed arrays, we could use a `Uint16Array` to store UTF-16 code points as integers in each element, then we could define the amount of eels that our "hovercraft" could store ahead of time in a way that it won't expand.

  const hovercraftEelCapacity = 331 // We can define our hovercraft to have room for 331 eels
  const eel = 'eel'
  const hovercraft = new Uint16Array(new ArrayBuffer(2 * eel.length * hovercraftEelCapacity)) // Each "eel" takes up 3 16-bit integers

  for (let i = 0; i < hovercraftEelCapacity * eel.length; i += eel.length) {
    hovercraft[i] = eel.codePointAt(0)
    hovercraft[i+1] = eel.codePointAt(1)
    hovercraft[i+2] = eel.codePointAt(2)
  }

  console.log('Your hovercraft full of eels: ', hovercraft)


What I really miss is a message reading and search program that handles megabytes of text in DOM without freezing the browser.


I built a elasticsearch importer for fb messages and a simple web frontend that did this pretty well for many many megabytes of messages. Wouldn't mind cleaning it up if people were interested in using it. [edit: will upload here later: https://github.com/iainnash/messenger-explorer/]


Will you be OK of including your project to the list?


At Budapest University of Technology the software engineering BSc consists of around 50% math related courses including AI and there are bigdata and neural network faculties.


Or a too hard course. Or a bad lecturer. Or you skipped the previous lecture and it's all gibberish again.


Hard course (electrical engineering, laplace fun!), shit lecturer (complacent, dismissive of questions), skipped lecture (never although I probably should have just stuck my face in the course books).


Do Laplace Transforms get very difficult? I'm taking a course right now that teaches Differential and Integral Calculus, followed by Differential Equations and Laplace Transforms. Laplace Transforms have, so far, been the least challenging portion of the course.


If you get them crammed into one hour then yes. In your own time they are quite easy. I required a bit of tutor support if I'm honest but if you can get over the basic calculus hill you will be fine. There's a lot more material out there to support you than there was in the mid-1990s! No having to fight for the last copy of referenced text in the university library either.

I have literally never used anything I learned on that part of the course however.


I found integration to be nothing short of brutal, personally. Laplace has been taught over 3 weeks and has been fairly pleasant - pure algebra.

I'm doing this course as part of the requirements for a degree in Eng. Technology, focusing on Software. It's common to all streams, but none of the subsequent courses Software students have to take will use this material. Damned if it isn't fun though.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: