Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Joker_vD
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
271.
▲
by
Joker_vD
5mo ago
"Do not ever give up your guns", har-har. In the guerilla stage of the Second Chechen War one of the ways to deal with the insurgents who would barricade in a building was to drive a T-72 to it and fire a couple of HE shells at it
272.
▲
by
Joker_vD
5mo ago
> a similar type, but whose size and capacity are fixed on construction and never change. There is std::array for that. Also, for a type with fixed capacity but variable (up to that capacity) size, we're getting std::inplace_vector
273.
▲
by
Joker_vD
5mo ago
Who do you think invented operator overloading?
274.
▲
by
Joker_vD
5mo ago
Uh, what standards, exactly? Neither login nor su are part of POSIX.
275.
▲
by
Joker_vD
5mo ago
Okay, so basically something like Windows's "Anonymous Logon" SID, which doesn't belong to the Authenticated Users group: it's the group that's normally associated with the default Write permissions; the Users
276.
▲
by
Joker_vD
5mo ago
> One started a session with no user credentials And what would the effective permissions be? The access to any file would be done according to the "other" permissions bits or?.. Because if yes, then that'd be an interesti
277.
▲
by
Joker_vD
5mo ago
Pfft, those are wrong sort of Christians, y'know.
278.
▲
by
Joker_vD
5mo ago
You know, it always rubs me wrong when I'm reading an ISA manual and it tells me how I am supposed to use general-purpose registers. Why do ISA designers even believe they're in a place to design the user-level ABIs? Like, sure, y
279.
▲
by
Joker_vD
5mo ago
Heh. Reminds me of one of Lewis Carroll's sylogisms: Premise A: "No one, who means to go by the train and cannot get a conveyance, and has not enough time to walk to the station, can do without running"; Premise B:
280.
▲
by
Joker_vD
5mo ago
> Branchless (left == FIXNUM_MIN && right == -1): (left ^ MIN) | (right ^ -1) == 0. > I didn’t understand why those were equivalent. Well, it's, uh, the same reason why "xor eax, eax" zeros eax. So "a ^ b&q
281.
▲
by
Joker_vD
5mo ago
The tools have different ranges of uses. A knife can be used to cut things. But while humans are among the things you can cut with it, there is a staggering array of other options which are genuinely useful in everyday life. A gun can be us
282.
▲
by
Joker_vD
5mo ago
We're actually putting it on tracked treads, those give us superior reach and ensure delivery even to the most unwilling customers.
283.
▲
by
Joker_vD
5mo ago
You still need some way to make the kernel to send those signals to the processes of your choosing. If the kernel decides to send SIGLOWMEM to xlock instead of firefox, the xlock will get killed because it really doesn't have any memor
284.
▲
by
Joker_vD
5mo ago
You do realize that your line of examples can easily be extended with e.g. "A negro may be nigh indistinguishable from a normal human, and yet..."? > The consequences of treating an information construct as an entity with rig
285.
▲
by
Joker_vD
5mo ago
Descartes famously thought that no, animals did not have feelings and sensations, and their reactions were purely mechanistic in nature. You see, he believed that humans and animals had fundamentally different substrate i.e. immortal soul&#
286.
▲
by
Joker_vD
5mo ago
> Some mistake this unpredictability for “free will”, assuming that because a BI can’t explain why it did something, the decision must be the result of a magical process, a “soul”. And conversely, I've seen some debates about "
287.
▲
by
Joker_vD
5mo ago
And the peasants' revolt of 1381, with John Ball's memorable "When Adam delved and Eve span, who was then the gentleman?" But it's a perennial question, really, and it won't go away any time soon.
288.
▲
by
Joker_vD
5mo ago
Not a true democracy, then /s
289.
▲
by
Joker_vD
5mo ago
Welcome to the New (fifth, I believe) Industrial Revolution! It will not quite as brutal as the first and the second ones were, but it still won't be gentle.
290.
▲
by
Joker_vD
5mo ago
Ah, yeah, he almost strangled Britain with his Continental Blockade. Would probably have been his greatest gift to the world, if he actually managed to pull this off. Oh well.
291.
▲
by
Joker_vD
5mo ago
Well, for most "someplace else", the choice is =$0 too.
292.
▲
by
Joker_vD
5mo ago
> The synthesis position is what I call here the “mediocre man” theory of history. The idea of this mediocre man theory is that history is not just shaped by great men or by mass sociological forces that make individual irrelevant. Inste
293.
▲
by
Joker_vD
5mo ago
The historical setting at the moment of time matters a lot. Had the French Revolution not happened, he would've been yet another artillery lieutenant in the French army. In 1789 Jean Lannes was a dyer, Laurent de Gouvion Saint-Cyr was
294.
▲
by
Joker_vD
5mo ago
Also, I am deeply suspicious if they can properly support searching with Ctrl+F... And yes, browsers should be just able to render the diffs, if the styling is somewhat minimal and there is no JS: I have a 6.3-MiB large HTML file with com
295.
▲
by
Joker_vD
5mo ago
Um, there is user-level implementation of TCP/IPv4+IPv6 stack in Go [0], developed and used by Google as part of its gVisor. [0] https://github.com/google/netstack
296.
▲
by
Joker_vD
5mo ago
Could esteemed commenters please read the words the Go language team actually wrote? > Or, we could decide that parameterized methods do not, in fact, implement interfaces, but then it's much less clear why we need metho
297.
▲
by
Joker_vD
5mo ago
> I really hope it is more ergonomic error handling. They've publicly said no more language changes specifically for better error handling are coming, it will at most be the library-level improvements.
298.
▲
by
Joker_vD
5mo ago
> we are transferring value from our current standard of living to pay for retirement checks for our old folks Well, yes, that's how any retirement (or any social benefit, really) system works: people who actually do work support
299.
▲
by
Joker_vD
5mo ago
Yep, none of them are suitable for this use case; you need to validate the Host header first and reconstruct the URI first before parsing it.
300.
▲
by
Joker_vD
5mo ago
> that is always going to be on the stack. Unless your C implementation doesn't use a stack for data storage. Which existed, you know: IIRC the C compilers for Cray machines used linked lists to hold activation frames. And of course
More ›