Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eMSF
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
31.
▲
by
eMSF
4y ago
Whether evaluating that expression results in undefined behaviour also depends on the basic execution character set and the bit width of the machine byte.
32.
▲
by
eMSF
4y ago
On the contrary: the sizeof operator is the only way to generally get the size of an arbitrary array (with e.g. no known sentinel to mark its last element) in C. You couldn't use a function instead even if you wanted to. Many other lan
33.
▲
by
eMSF
4y ago
Many languages with distinct boolean types do not require that the condition expression in an if statement evaluates to that type, and hence do nothing to prevent that error.
34.
▲
by
eMSF
4y ago
Which opening could you pour gasoline in a Tesla Model 3 to achieve anything else than a fire hazard? Any amount of those "33.7 kWh" gallons will get you exactly zero miles – how is that more efficient?
35.
▲
by
eMSF
4y ago
You are very mistaken. The ones covering the bill are the ones paying for the EU recovery fund, of which Spain was the biggest recipient.
36.
▲
by
eMSF
4y ago
It's tax payer funded all right, just not by Spanish tax payers (if there are any). Spain was the biggest recipient of the (obviously unnecessarily large) EU COVID recovery fund, and with all those billions burning in their pockets, th
37.
▲
by
eMSF
4y ago
Most countries don't expect publicly funded transportation to turn a profit, or even break even. The reason Spain has to find new avenues to waste money is due to the unnecessarily large EU recovery fund, of which Spain was the biggest
38.
▲
by
eMSF
4y ago
Probably not. You'd need a lot more than a petty switch to grammar regarding indentation to convince people to switch to an unproven alternative, though.
39.
▲
by
eMSF
4y ago
AVX-512 in consumer chips was not new to Alder Lake, though; the previous generation did support it without any workarounds (there were no E-cores to disable to begin with). Intel may have changed course regarding AVX-512 but I wouldn'
40.
▲
by
eMSF
4y ago
>"I'll give you $100 if you punch the polar bear." Instead of me saying I don't believe anything about this story, let's have a thought experiment: how badly would you have to need $100 right here and now to punc
41.
▲
by
eMSF
4y ago
I guess that would be a no-brainer if someone considered anything that made Windows more like Linux an improvement, but they probably don't. People in general feel most comfortable with the Desktop shell they are used to (the little di
42.
▲
by
eMSF
5y ago
A condition which would affect 6e-6%, or 0.000006% of the US population (330M) would affect 20 persons. 200000/330M = 0.0006 = 0.06%.
43.
▲
by
eMSF
5y ago
For me, what you're referring to is one of the reasons I don't like to use Windows as a desktop OS (because you need to hunt for these relatively small target areas to organise multiple windows). The alternative which I greatly pr
44.
▲
by
eMSF
5y ago
What exactly has happened in the last couple of years? And how would installing those newer Microsoft fonts affect font rendering elsewhere than where they are used (not at all by the desktop environment by default, and as to web sites, it
45.
▲
by
eMSF
5y ago
Yeah, I agree. :-)
46.
▲
by
eMSF
5y ago
GP's snippet was in Rust (not that I know if it's valid Rust code). However, in C++ std::thread is a class and it does not have a static member function sleep_until. (However, std::this_thread, which is a namespace, does have such
47.
▲
by
eMSF
5y ago
Has artificial intelligence gone too far? (j/k)
48.
▲
by
eMSF
5y ago
Isn't that just a great way to ensure kids have that precious sunlight for after-school activities... wait, what? Should we do double-DST also?
49.
▲
by
eMSF
5y ago
I must've read too much into you mentioning that particular year (being of course the one with the Blaster's infamous if unintentional countdown to reboot due to XP's RPC service crashing). For me, it might've well been
50.
▲
by
eMSF
5y ago
You're referring to Blaster (worm), right?
51.
▲
by
eMSF
5y ago
That comparison is slightly misleading because the German price includes the local VAT. Tax-free price (unless I'm mistaken) would be approximately 436 euros, so more than in the US, but not 150 dollars more.
52.
▲
by
eMSF
5y ago
The syntax highlighting in Fx dev tools has the same mistake as the article in that they only recognize the "close comment" token if it's at the beginning of the line, even though the spec clearly states that it may be preced
53.
▲
by
eMSF
5y ago
The two are certainly not always equivalent (for example if f is an object). `<!-f' might be always equivalent to `<!+f', though.
54.
▲
by
eMSF
5y ago
I have a ~110 PPI monitor (the currently ever so popular 2560×1440 at 27"), and the first thing I'd change about this would be to have it be around 90-95 PPI like all the monitors I've had since the 90s. There's not a si
55.
▲
by
eMSF
5y ago
What I also noticed was one of the problems the author claims that "imperative" style loops have: >Off-by-one bugs are more probable. For example, you might write i<22 instead, and then the loop would end at 21, not 22. Iron
56.
▲
by
eMSF
5y ago
> Pure talc is also a carcinogen [citation needed]
57.
▲
by
eMSF
5y ago
If you go back and re-read the subsection Statements (and perhaps other sections of the README as well), I'm pretty sure you'll find a use case you might have not yet understood.
58.
▲
by
eMSF
5y ago
> They just haul more Not really, they are just longer. For example the US interstates have a rather strict total weight limit (even by European standards) of 36 tonnes. Where I live, the general legal limit is 76 tonnes, and there are s
59.
▲
by
eMSF
5y ago
C++ has no finally blocks.
60.
▲
by
eMSF
5y ago
No you do not. Also, unless I'm mistaken, git uses the system pager for pagination and that happens to be less on almost all modern Linux systems (and many others).
More ›