Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eMSF
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
eMSF
5y ago
Also you can use readarray to store the found filenames in a bash array (to use with a for loop).
62.
▲
by
eMSF
5y ago
Android users don't like iOS, and iPhone users don't dig Android. Are they both right, or wrong? "What on Earth are you talking about?" ... The point is, whether you like change or not is utterly uninteresting; most peop
63.
▲
by
eMSF
5y ago
If I found the correct lyrics, it's a "cover" version of a folk song and the lyrics refer to the 1877 Russo-Turkish war.
64.
▲
by
eMSF
5y ago
Vyborg was annexed by the Soviet Union in WW2. That had nothing to do with the Finnish Civil War.
65.
▲
by
eMSF
5y ago
Unless I'm mistaken, this is almost, but not quite correct. (Firstly, what's being cast is `p` which is a `void-pointer`.) More importantly, the latter cast says to treat p as a `pointer to an array of int-pointers`, which means t
66.
▲
by
eMSF
5y ago
Java bytes are signed. They aren't useful when working with unsigned 8-bit values (say, a scaling factor or an index in whatever binary format you are trying to parse). You need a larger integer type, and indeed that bitwise and oper
67.
▲
by
eMSF
5y ago
I've actually read through this rant some years past. It's mostly low-SNR opinionated junk mixed with some valid observations. In general, I could not recommend it.
68.
▲
by
eMSF
5y ago
12900K has 8 high performance cores (with 2 hardware threads each, look up hyperthreading), and 8 efficiency cores for a total sum of 24 hardware threads. Previous Intel generations have only had so called high performance cores (except, ma
69.
▲
by
eMSF
5y ago
The compiler cannot assume that much, because the argument is a signed integer (negative integers will not overflow and do have well-defined behaviour).
70.
▲
by
eMSF
5y ago
That Intel CPU (12900K) has 8 performance cores, i.e. as many as M1 Max.
71.
▲
by
eMSF
5y ago
M1 Max has 10 cores.
72.
▲
by
eMSF
5y ago
Arrays are a separate type.
73.
▲
by
eMSF
5y ago
I use a cheese slicer for cold butter :-) Unrelated to this, there's something weird going on on with the comment dates in this thread – or at least something I haven't noticed before. On some pages (for example, the top level thr
74.
▲
by
eMSF
5y ago
Is a typical new car buyer currently driving a 15-year-old car? You could say that's plausible. In a way it even makes sense, that people buy cars and then drive them for as long as they reasonably last. But if you had to, would you gu
75.
▲
by
eMSF
5y ago
Why are you writing this to me? You already commented on (another) comment of mine which explained what is meant by indentation with tabs and alignment with spaces. A function call has an indentation level (depending on where it resides in
76.
▲
by
eMSF
5y ago
None of your examples pose a fundamental problem for tab-indentation; here's the basics how it should (always) be done, and works, and never breaks anything regardless of the width of the tab character as long as you don't break t
77.
▲
by
eMSF
5y ago
Well, in some sense what happens with “smart“ indentation features in editors is anything but consistent (I know I'm not talking about the same consistency here), because they only ever make an exception for the backspace key to remove
78.
▲
by
eMSF
5y ago
So that anyone viewing the code can choose the indentation width according to their own preference? It really can't be that hard to grasp... It can still be argued that it's not worth the trouble, especially with the poor tooling
79.
▲
by
eMSF
5y ago
Unfortunately, most editors support that “workflow“ very poorly.
80.
▲
by
eMSF
5y ago
The underlines mean gentle (and very gentle) as explained in the table at the top (see TEXTILE CARE SYMBOL COMBINING BAR BELOW etc.)
81.
▲
by
eMSF
5y ago
AFAIK not anything below 8 hours qualifies as “under-sleeping”; instead, the need of sleep typically varies between 6 to 9 hours for healthy adults.
82.
▲
by
eMSF
6y ago
How could an AV possibly know that a program is supposed to be a “simplistic image viewer”? Besides, there are several legitimate reasons for even simple apps to fetch data from the net (including simply checking for updates). I'm beyo
83.
▲
by
eMSF
6y ago
The reason you're not supposed to parse ls output doesn't have to do with the default formatting; I'm quite sure all widely used implementations of ls have always printed the equivalent of "ls -1" when the output is
84.
▲
by
eMSF
6y ago
For several years now it has seemed like every notable change in Firefox has been about removing a reason to use Firefox instead of Chrome. (There are certainly reasons for the opposite case, including but not limited to the fact that every
85.
▲
by
eMSF
6y ago
I hope you don't assume that sun rises everywhere every day.
86.
▲
by
eMSF
6y ago
Just so I understand what you're saying: we should first move the clocks an hour ahead (permanently), then delay our schedules an hour, then ???, and then, I guess, profit? How exactly does this differ from not moving the clocks an hou
87.
▲
by
eMSF
6y ago
Using NULL for the integer 0 requires a cast in C (because NULL may have a pointer type). That doesn't break the GP's rule, however neither does `!I` or `I-I`.
88.
▲
by
eMSF
6y ago
It is very misleading to draw a link between the Sami people and the prehistoric peoples that first ventured into Northern Scandinavia at the end of the last Ice Age. No such link exists. The ancestors of Sami people arrived from east aroun
89.
▲
by
eMSF
6y ago
IIRC immediate operands have to be the same size as the destination, so to zero a 32-bit register you need a 32-bit constant, and it simply makes the whole instruction larger than a simple xor.
90.
▲
by
eMSF
6y ago
>The hard part of an oil change is getting to the oil filter. There's no standard oil filter location; in my car it's at the front of the engine and accessible just by popping the hood and removing the engine cover – no tools r
More ›