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

Even though I agree with you, I also realize that “explain it to me like I’m on social media, not an obsessed nerd” is not going to happen when we’re talking about the Riemann proof. The subject is unsuited to the tone.

I still don’t know what Facebook engineering even is. I see a web site. There’s surely some backend work but it seems like you could add a few more servers to pass text around.

Well, you have to sort the posts.

You do not just sort by date time, nope, this is a highly complex technical process of sorting posts in a semi-random order that creates just enough frustration by the user to keep clicking and scrolling around to find stuff.

The advantage is that all of that navigating provides a fractal landscape of opportunities to push more ads.


> There’s surely some backend work

How deep do you want to get? The short version is there's some complicated work involed and "a few more servers", I mean, what are those servers running? They're passing text around. Great. Which servers talk to which servers to pass which bit of text around? If you studied computer science in college, all that B-tree stuff and big O notation; databases are where that stuff is releant. That "bit of text" needs to go into "a few more servers" in some specific way that you can't just have a linear array of strings. How do you handle I post my post to all of my friends and then they share it and comment on it? Sure, if there's just me and my five friends a linear array would be fine, but at scale, that ain't gonna work. Suffice to say, sure there's a few more servers and they're passing text around, but that's like denigrating your job as a programmer is to type things into a computer. You're a typist. That's all you do? Shit, I can type. 80 wpm. It's that the what of what you're typing makes it kind of harder than "a few more servers to pass text around."


But solar is nuclear power, in a way.

It’s an unshielded fusion reactor in the sky that can give you severe radiation burns if you expose yourself to it for too long… outside.

In base sqrt(2) it is two orders I guess.

Maybe we should ask how many compute installations could reach similar breakthroughs if they had a mathematician.

If you mean the result is hidden from the application, it’s almost impossible in practice. There are tiny things like not reporting the color of visited links in a browser that are possible, but generally apps need control and visibility over the data they’re processing to work.

The point is to not make the data available to the app before the user has indicated that they want the app to process it: by pressing Ctrl-V (or clicking somewhere).

Sure, it's impossible in practice to design something that can never be circumvented by a dedicated app developer (using a hidden paste button that's triggered by another user interaction, or what have you). But having good defaults makes it much less likely that apps that are at least pretending to be legitimate, such as Facebook, Google, etc. would implement an outright exploit (the harder the exploit is to implement, the harder it's to claim plausible deniability if it's found).

Implementing a perfectly secure HTTP server is probably also impossible in practice, but that doesn't mean that we should just give up on trying.


My suggestion is to try to describe the main thing it actually does in a single sentence. For example, “If the battery’s above 20% it leaves the light off while the battery charges.” I can understand that.

Good suggestion, thanks. Now I'm wishing there was an edit button. First post of my own, so I'll take that on for the next one.

An organization can become fundamentally opposed to the purpose for which it was created. Organizations simply don't follow the same laws as the individuals inside it do. A company can be made of geniuses and be totally ineffective; it can be full of talented go-getters and be completely unable to fix problems.

Does the system do its own allocations with a memory block or does it basically depend on the host to malloc?


The system is basically JS, you can run it however you like!

SafeScript actually compiles to plain JavaScript, just like Typescript does

In PHP, it compiles to plain PHP :)


These languages were developed for hypertext. Discord is hypertext. The question is why Rust or C++ or anything would be so suitable for developing chat rooms; it’s not even clear why JavaScript would necessarily be slower after being statically compiled.


What special affinity does JavaScript have for hypertext?


Besides the obvious (it’s a web browser coevolution) it converts strings as needed, which is undeniably appropriate for the use case. Also indirect memory management and GC is appropriate for the use. It’s just more suited.

It’s not just about speed. Have you ever come across the utter tire fire that is npm? Or the horrors of [object Object]?


Yes, the first one is not required and shouldn’t be used, write your own leftpad then. The second is about as awful as getting NaN, which is to say not, and can be overridden in the prototype anyway if you want more casual logging.


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

Search: