Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eMSF
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
eMSF
8mo ago
Using a plug-in hybrid as an EV can and will wear out the drive battery over the lifetime of the car. It doesn't even matter if you don't intend to keep the car for very long as a rational market will price this in. The cost ($10k
2.
▲
by
eMSF
1y ago
Related to this, GNU's libstdc++ shared_ptr implementation actually opts not to use atomic arithmetic when it infers that the program is not using threads.
3.
▲
by
eMSF
1y ago
Even with a 5" screen, it was bigger than for example iPhone 17 in every single dimension due to its hefty bezels (and not insignificantly so; iPhone 17 is closer in width to iPhone 13 Mini than a Dell Streak). Screen diameter is in ge
4.
▲
by
eMSF
1y ago
While it is true that only class types have member functions in C++, that does not mean that objects of other types demand the use of macros. C++ also supports non-member functions, and the standard library contains a fair amount of these;
5.
▲
by
eMSF
2y ago
How could you ever continue after the second statement without checking if you actually read an integer or not? How would you know what you can do with a?
6.
▲
by
eMSF
2y ago
from_chars_result closely matches the strtol line of functions we've had for decades. Not returning the end position would be weird here!
7.
▲
by
eMSF
2y ago
Well, obviously it doesn't have parentheses. It's not like this is the only instance where adding parentheses affects the end result. You could write even more complex declarators (but don't have to), but that would not prove
8.
▲
by
eMSF
2y ago
ABP was initially released almost a full decade before UBO was a thing (although I don't know if the Chrome version is related), so I wouldn't judge someone for just using it...
9.
▲
by
eMSF
2y ago
It will eventually not matter, but I didn't suggest using a single file.
10.
▲
by
eMSF
2y ago
Why does everything have to fit in the memory all of a sudden? Open files, there's your infinite tape.
11.
▲
by
eMSF
3y ago
The Finnish caption is quite a bit worse than "all your base are belong to us" type of invalid grammar. Translating it back, even with best intentions (ignoring the naive attempt of translating "from" in place) it reads
12.
▲
by
eMSF
3y ago
A lot of folks write char const * (and T const& in C++), and the "rule of thumb" is to read the declaration right to left. In this case, pointer (to) const char. Works also with multiple consts or levels of indirection.
13.
▲
by
eMSF
3y ago
Block heaters can be used to heat the engine coolant (and afterwards the cabin) with or without running the engine. I doubt any cars have special batteries for these (even a drive battery of a non-plugin hybrid is somewhat small to be usefu
14.
▲
by
eMSF
3y ago
While writing a fancy word counter I learnt that glibc iswspace (or the glibc locale data) actually does not consider non-breaking spaces as, well, spaces even when using a Unicode locale. This apparently conforms to ISO 30112. (For example
15.
▲
by
eMSF
3y ago
This thread stinks of cabbage to high heaven. Can you actually fool even yourselves anymore? Russians have lost the war a long time ago, it's barely a nasty procession that's left.
16.
▲
by
eMSF
3y ago
The type of the expression 'x' is int, not char (in C). The type of an expression consisting of a variable name is the type of the variable (as far as sizeof is concerned).
17.
▲
by
eMSF
3y ago
The 2000 kcal reference (which I assume you're referring to) isn't for "an average man", but for an average person. For an average man, the reference value would be somewhere between 2.5k to 3k.
18.
▲
by
eMSF
3y ago
>They are demonstrably and objectively not “fine” Aka "my opinions are the objective viewpoint". >They are the primary destructive force in society Hyperbolic nonsense. Today's mobile society with cars is better than an
19.
▲
by
eMSF
4y ago
That may have been the case sometime between the World Wars, but the only reason you'd do that these days is if you particularly enjoy visiting the shop. Modern oils can easily last 20000 km (if you'd want, you could only change t
20.
▲
by
eMSF
4y ago
A local community had a rather similar programming challenge years ago (although it was limited to digits-only/letters-only and pi-digits categories). I revisited the challenge some years later, and managed to achieve a little over 200
21.
▲
by
eMSF
4y ago
Fuel-type block heaters heat the cabin as well (they turn on ventilation once the coolant has warmed enough). Electric heaters are meant to be used with a cabin heater that uses the same external power source.
22.
▲
by
eMSF
4y ago
You only have one life. If you want to spend it using public transport, going through places you aren't visiting and stopping at stops you are not leaving at, then go right ahead (by the way, these are the main reasons why using public
23.
▲
by
eMSF
4y ago
Wonder no more: at least clang does, since around v3.5. https://godbolt.org/z/jEq5xbMna
24.
▲
by
eMSF
4y ago
From what I have seen, VAG DCT models tend to be invariably less efficient than their MT counterparts (and I don't know why ZF-8 would be more efficient than a DCT).
25.
▲
by
eMSF
4y ago
Agreed. I can't even tell if the circle is the worst thing, but it doesn't behave like a cursor as it moves off the screen while scrolling, but jumps back (with visual noise) when the mouse if moved even 1px. Anyway, this grabbed
26.
▲
by
eMSF
4y ago
You'd gave to be quite lucky to buy a high-power GPU like that which, under load, wouldn't have coil whine significantly louder than quiet case fans. (GPU fans usually aren't that quiet even at lowest operating speeds but the
27.
▲
by
eMSF
4y ago
PCs usually aren't completely silent under load anyway (at least none that I've owned). No fan is silent at nominal voltage (and unmodulated) but when slowed down to a low enough RPM they can easily be less audible than GPU coils,
28.
▲
by
eMSF
4y ago
I can't believe physical exhaustion is not at least as important a part in this. Personally, I skip a night's sleep every now and then to readjust my sleeping patterns, and I've never experienced anything strange after someth
29.
▲
by
eMSF
4y ago
Not as much as you'd think. While someone may always have wind or sun, at times that someone is unfeasibly far from Northern Europe. (Low wind conditions in all of Nordics, and to some extent even all over Europe are quite possible.) P
30.
▲
by
eMSF
4y ago
It only seems bonkers to you because you're so wildly off the mark. Finland currently has over 4GW of installed wind power capacity, but there have been not just hours but entire days where wind power production has been less than one
More ›