Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
astrobe_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
331.
▲
by
astrobe_
2y ago
To me the only reason to use C++ over C in that case is a the slightly stronger type-checking and maybe some extra syntactic sugar.
332.
▲
by
astrobe_
2y ago
It reminds me the Contact movie [1]: Arroway [the protagonist] discovers the signal contains over 63,000 pages of encoded data. Hadden meets with Arroway and provides her with the means to decode the pages. The decoded data reveals schemat
333.
▲
by
astrobe_
2y ago
I've heard of tricks like player position prediction/interpolation by the clients, in particular for the FPS/Sim genres, which I guess is mainly aiming at mitigating "lag spikes" more than optimizing the network tra
334.
▲
by
astrobe_
2y ago
It's an insurance. Nobody likes paying insurance bills. Being on the defense side of cybersecurity means that you are permanently on the back foot, not a pleasant position either. And cherry on the cake, you spend most of your time cle
335.
▲
by
astrobe_
2y ago
National laws are largely based on the local morals; for instance in Europe breath is more or less indecent to show in public. A woman being topless on the beach, even in France, could be arrested, in theory (in practice it would just be
336.
▲
by
astrobe_
2y ago
> being opinionated is now a dangerous game. Where were you during the Inquisition, I wonder.
337.
▲
by
astrobe_
2y ago
Yes, and more generally I've been baffled by the fact that manufacturers - including ARM-based SoCs with SecureBoot (or similar); you know, those PDF spec docuements that disable copy-paste and a nice "confidential" watermark
338.
▲
by
astrobe_
2y ago
More like 10 years. It is amazing his site is still online.
339.
▲
by
astrobe_
2y ago
APIs are/were designed for completeness more than friendliness. Speaking of sendmsg , the whole BSD socket API is plain horrible; it only takes a couple of uses to realize that you never want to use it directly again; you either make
340.
▲
by
astrobe_
2y ago
There's the commit hash. Basically the "version number" is the commit hash, the human-generated (version) numbers added to it are merely progress indicators, which might be randomly useful. But for a project that has 1 branch
341.
▲
by
astrobe_
2y ago
Don't take it personally though, JS abuse is unfortunately common; just need to vent for once. But like the author of article I linked, people tend to just skip those blank pages. It's a tiny minority which is probably not the tar
342.
▲
by
astrobe_
2y ago
Oh, my bad! It's a "landing page"! Totally normal that it needs to 200 Kb of JS to display 1 Kb of text!
343.
▲
by
astrobe_
2y ago
"You need to enable JavaScript to run this app." What do you mean, "app"? There's no "app" there. If anyone constructed a PDF, which was itself blank but, via embedded JavaScript, loaded parts of itself f
344.
▲
by
astrobe_
2y ago
William the conqueror [1] is a direct descendant of a viking, Rollo, who made a deal with the king of France: territory in exchange for protection against the other vikings. The name of this territory is relatively well-known for other hi
345.
▲
by
astrobe_
2y ago
Yeah, Minetest which was C++ from the start manages well these days. It still offers distance fog, which I think is something you want anyway for aesthetic reasons - being able to see clearly 5 km away feels wrong, especially if your ga
346.
▲
by
astrobe_
2y ago
> The graphics were secondary to all of the other things I mentioned IMO, not exactly. At the time of the creation of Minecraft, "ugly" voxel graphics were a necessary technical evil in order to allow the world to be fully edit
347.
▲
by
astrobe_
2y ago
The printf family of functions also runs a mini-interpreter that has its cost, because its main use is interpolation (the % placeholders). Some compilers can substitute them for more efficient versions (e.g. printf without any % in the
348.
▲
by
astrobe_
2y ago
> To simply spit out some code and without further thought accept the first barely working version of it That's not exactly what TFA describes, though. > there are situations, in which the engineer, provided they even get the rig
349.
▲
by
astrobe_
2y ago
If you read the bio of Charles Moore [1], you will see for yourself that he is well aware of business constrains. Among other things he co-funded Forth, Inc. (which is still alive, as you can see) and was a Forth freelancer. I grant you in
350.
▲
by
astrobe_
2y ago
> If you have a crowd of followers That's a big if , and that's the problem with relying on feedback. The more specific the topic, the less people you'll find that can give relevant feedback. Even within a team (less peop
351.
▲
by
astrobe_
2y ago
> This was done in the 60s/70s with FORTH and LISP to some degree Around 2000, Chuck Moore dissolved compile-time, run-time and edit-time with ColorForth, and inverted syntax highlighting in the process (programmer uses colors to in
352.
▲
by
astrobe_
2y ago
Speaking of "security feature", this insanely complex behavior (for a CPU) is a recipe for disasters like Specter and Meltdown.
353.
▲
by
astrobe_
2y ago
I think the problem to solve is more like : given a set of inputs and outputs, find a function that gives the expected output for each input [1]. This is like Newton's method on a higher order ;-). One can find such a tool in Squeak or
354.
▲
by
astrobe_
2y ago
Agreed. It is a "good old" binary protocol, so the many gotchas of text protocols are not there.
355.
▲
by
astrobe_
2y ago
For the fun of it, what about radiation hardening ?
356.
▲
by
astrobe_
2y ago
That's surprising. Why doesn't the HLA system work in this case ?
357.
▲
by
astrobe_
2y ago
It's not really "fanatic". The minimalism has a purpose: less transistors so less power, smaller size and cheaper. The previous designs from Moore focused on speed at the time when MIPS was what people were looking for (e.g.
358.
▲
by
astrobe_
2y ago
The strength of Forth is pretty well highlighted in this post: you are free to create your own thing, quickly. But it makes it entirely personal, non-standard and alien. Yet its simplicity definitely makes it also learnable for people who u
359.
▲
by
astrobe_
2y ago
Given that a browser is not practically a virtual machine and/or an OS, it is not too surprising that an OS developer is not scared by the task. At the same time, it seems to me that multimedia is a whole different beast. > For a ne
360.
▲
by
astrobe_
2y ago
> I'm not forcing you to make snide jabs at me in a public space, Ok, sorry. That was a poor way to invite that person to read the parallel thread. It's a bit frustrating to deal with claims based on nothing but theory when I h
More ›