Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
simias
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
simias
4y ago
100% disagree. Standard /bin/sh has terrible error handling facility, which on its own is enough to disqualify it as a "proper" programming language in my book. Even C is not that bad, and C is pretty terrible. I'm
62.
▲
by
simias
4y ago
Interesting! That may be why I never noticed it. Thank you for the correction which unfortunately few people will see...
63.
▲
by
simias
4y ago
I think progressive jpeg works just fine, I recall it being quite popular in the early days of the internet when loading a large image could take a long time on landlines. You'd get a blurry preview that would incrementally become more
64.
▲
by
simias
4y ago
>Byte swapping is important when transferring data between system that use different order for the sequence of bytes stores in memory. That seems like a glaring footgun to me, to the point where I think I must be missing something. What
65.
▲
by
simias
4y ago
I don't even know what to say after reading this, besides maybe that I would probably prefer dying over living a year like this. What an abhorrent way of treating a human being, or really any being at all.
66.
▲
by
simias
4y ago
Maybe it's my ignorance of the Java ecosystem or a lack of imagination but how could a language that requires a heavy runtime be written in itself? Wouldn't you need a runtime for the runtime, and then a runtime for the runtime fo
67.
▲
by
simias
4y ago
And that's why web3 frustrates me to no end. Decentralized services were common in the "old" internet, web3 just takes than and adds a layer of ponzi and speculation on top of them. If bittorent was invented today you'd
68.
▲
by
simias
4y ago
Note that you have an option for a "Ground view" in TFA which lets you get a similar view, but real time and interactive.
69.
▲
by
simias
4y ago
Thank you very much for this!
70.
▲
by
simias
4y ago
>Use your preferred plugin manager. No extra steps needed, besides optionally setting the default keymaps: >require('leap').set_default_keymaps() Where/how am I supposed to set this? It's rejected if I just put it
71.
▲
by
simias
4y ago
Do you know if this technique is available for all games or just Nintendo's own? It seems like it would be easy to cause issues if games were allowed to mess with the clocking willy-nilly, so I assumed that it was only done on Zelda be
72.
▲
by
simias
4y ago
I'd much rather export this complexity to userland code than privileged kernel mode code though. It reduces the potential consequence for a mistake pretty drastically.
73.
▲
by
simias
4y ago
Yeah I don't really understand this worry about buying cards used for mining. If you're worried about wear I'd still rather take a miner's card than one that was used by a heavy gamer and routinely pushed to the limit. I
74.
▲
by
simias
4y ago
All the more reason to have people play with it, no?
75.
▲
by
simias
4y ago
As someone who dropped C++ almost entirely a decade ago because I couldn't deal with both the immense complexity and the legacy baggage of C++, this is pretty exciting honestly. What I find a bit strange is that he explains that he
76.
▲
by
simias
4y ago
Arguably Rust does better for this particular example because, for debug builds and optionally release builds, overflows trigger an error. If you explicitly want wrapping arithmetic in Rust you should use b.wrapping_add(c) in this case, oth
77.
▲
by
simias
4y ago
Yeah for sure, having more expressive casts and differentiating between "upcasts" and "downcasts" is definitely better. My point that even "lossy" casts are better than C's weird arcane implicit promotion
78.
▲
by
simias
4y ago
I agree, the whole signed vs. unsigned generally feels like an afterthought in C (probably because, to a certain extent, it was). `char`'s sign being implementation-defined is a pretty wild design choice that wasted many hours of my li
79.
▲
by
simias
4y ago
I think the prevailing philosophy for C (and later C++) was that code should map closely to the hardware and not expand to complicated "microcode". A left shift in Cshould just be a left shift in the underlying ISA, within reason.
80.
▲
by
simias
4y ago
I did fairly well in the test (I didn't remember that you couldn't shift into the sign bit), but it really helps highlight how stupid the C promotion rules are. In C as soon as I have to do arithmetics with anything but unsigned i
81.
▲
by
simias
4y ago
Is it? I thought that it was hosted outside of the US, and that while the admin was an American citizen he didn't live on US soil. That's from vague memories from years ago though, so maybe not accurate or up to date. Although I g
82.
▲
by
simias
4y ago
>I truly hope that those unsatisfied with this outcome (which I suspect will be literally everybody) can take this as an opportunity to go help pressure their respective governments to figure out what the hell should be done, systematica
83.
▲
by
simias
4y ago
Security is not the main reason for Bitcoin's success within the cryptocurrency scene, it's that it's the first and most recognizable name. But because its creator is AWOL it's incredibly difficult to push for any fundam
84.
▲
by
simias
4y ago
It's always the tradeoff, some operations are simpler on UTF-32 but they have additional memory (and therefore cache) footprint and since you typically don't want to use UTF-32 externally you have to convert back and forth which i
85.
▲
by
simias
4y ago
He mentions that "The amount of actual change isn't too great, so I think this might be ok" so I wonder if part of the equation has more to do with avoiding messing with legacy code rather than raw performance. If the current
86.
▲
by
simias
4y ago
Am I supposed to find that this https://upload.wikimedia.org/wikipedia/commons/e/e9/Sucralos... looks like this https://upload.wikimedia.org/wikipedia/commons/0/0b/P%2
87.
▲
by
simias
4y ago
If you manage to model the "noise" and make it somewhat deterministic then it's not noise any more. If genetic variations really are the reason for these variations and some people are indeed measurably harmed by these compou
88.
▲
by
simias
4y ago
Complaining about hacking being used correctly on Hacker News? Now I've seen everything.
89.
▲
by
simias
4y ago
I'm usually very much a skeptic when it comes to "revolutionary" tech. I think the blockchain is crap. I think fully self-driving cars are still a long way away. I think that VR and the metaverse are going to remain gimmicks
90.
▲
by
simias
4y ago
But if we convert a lot of solar energy into electricity instead of letting it turn into heat that could usher a new ice age. That's about as reasonable as your point about tapping enough heat from Earth's core to disturb the magn
More ›