Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mananaysiempre
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
mananaysiempre
4mo ago
You then get the advantage of the OS’s package manager accounting for everything, however. It’s quite nice to not wonder whether there’s random stateful detritus throughout your system and what it might be affecting. (OK, to be honest there
92.
▲
by
mananaysiempre
4mo ago
Restoring it only needs one additional bit of storage, however (whether the buffer is currently 2⌊n/2⌋ or 4⌊n/2⌋ elements in size), which we can probably squeeze in somewhere. More disappointing is that libc still forces us to use
93.
▲
by
mananaysiempre
4mo ago
> Flex is one of the commonly used tools as a lexical analyzer. [...] Bison is a syntax analyzer. A valid choice; one might also find re2c[1] or Ragel [2] + Lemon[3] a friendlier if less well-established implementation of essentially the
94.
▲
by
mananaysiempre
4mo ago
I’d say that has been true since we started using spectrometers (of all kinds). Those things are preposterously sensitive and pretty damn routine. Nowadays of course there are also other, more narrowly scoped detection methods as well, such
95.
▲
Unix GC Remastered
(mohandacherir.github.io)
42 points
by
mananaysiempre
4mo ago
|
4 comments
96.
▲
by
mananaysiempre
4mo ago
To be honest, at this point I’d take any group at all willing to usefully and non-hypocritically push for free speech (as a general societal value, not just a US-specific legal notion).
97.
▲
by
mananaysiempre
5mo ago
It’s not exclusively an IPv6 feature: RFC 3927 defines link-local IPv4 addresses, to be assigned randomly from 169.254.0.0/16 after a bit of ceremony to detect collisions. Ideally, you’d be able to connect a PC and a printer with an Et
98.
▲
by
mananaysiempre
5mo ago
I’m guessing GP means a participant of the Recurse Center[1]. [1] https://www.recurse.com/
99.
▲
by
mananaysiempre
5mo ago
Pedantically, yes VLAs are a mandatory part of C99 (only). Practically, there has been some resistance so they were reverted to optional in later standards (in C11/17, the whole thing is optional; in C23, variably modified array types
100.
▲
by
mananaysiempre
5mo ago
> CPU processing of denormals tends to be extremely slow - I vaguely recall running into something like a 10x slowdown a decade ago Intel CPU processing, where slowdowns can be as bad as couple hundred cycles. AMD CPUs penalize them mu
101.
▲
by
mananaysiempre
5mo ago
On the other hand, they (unexpectedly to the inventor, who intended them to be a debugging tool) underpin a few foundational results in correctly rounded computation, such as https://en.wikipedia.org/wiki/Sterbenz_lemma
102.
▲
by
mananaysiempre
5mo ago
> emojises I don’t protest the coinage here (goodness knows my native language did worse things to English words), but I can’t stop saying it in Gollum’s voice.
103.
▲
by
mananaysiempre
5mo ago
Not quite. As GP mentions, a[i][j] might mean either, depending on what the type of a is: (a) If the type of a is “array of length N of pointer to (say) char” (declaration: char *a[N]), then a[i][j] means the j th char in the contiguous bl
104.
▲
by
mananaysiempre
5mo ago
Funnily enough, Windows 98 is the first OS I remember with a sharing menu (“Send To”, which is memorable to me because the official Russian localization of it was suggestive of an obscenity). It seemed so pointless back then.
105.
▲
by
mananaysiempre
5mo ago
> Your first paragraph makes it sound as if the compiler will actually generate two reads of the value of some register, which might lead to unexpected effects at runtime for certain special registers. I don’t see how. I was trying to ex
106.
▲
by
mananaysiempre
5mo ago
And it makes sense as long as you allow the concept of unsequenced operations at all (admittedly it’s somewhat rare; e.g. in Scheme such things are defined to still occur in sequence, but which specific sequence is unspecified and potential
107.
▲
by
mananaysiempre
5mo ago
Not from the standard’s point of view. The traditional (in some circles) use of volatile for atomic variables was not sanctioned by the C11/C++11 thread model; if you want an atomic, write atomic, not volatile, or be aware of your de
108.
▲
by
mananaysiempre
5mo ago
Flashbacks of /OPT:NOWIN98 [1]. (That said, why not.) [1] http://web.archive.org/web/20031018072659/http://msdn.micros...
109.
▲
by
mananaysiempre
5mo ago
> a different one whose results embarrass a typographer whose results won’t embarrass (of course; sorry)
110.
▲
by
mananaysiempre
5mo ago
> A normal reboot always [forces the TPM pin entry screen], even a 'hot' reboot. In TPM-only mode, I only see the screen—which asks for an recovery key that serves an alternative to the TPM-borne secret, not for whatever you ar
111.
▲
by
mananaysiempre
5mo ago
> just to render Markdown Rendering text beyond ASCII is famously difficult to do; rendering formatted text is sometimes difficult to even make sense of (e.g. what should a style change in the middle of an Arabic word do? how about a sel
112.
▲
by
mananaysiempre
5mo ago
> The secret here seems to be that Microsoft caches the key somewhere even when it's supposed to be only in the TPM! Not what happened here (I reserve my judgment wrt the promised TPM+PIN exploit). In the default TPM-only mode of Bi
113.
▲
by
mananaysiempre
5mo ago
> Indeed, Linux allows anything but "/" and "\0" in filenames. For what it’s worth, NT allows any 16-bit quantity but L'\\' (0x005C) in filenames (even nulls); it’s the Win32 layer on top of it that imp
114.
▲
by
mananaysiempre
5mo ago
Fascinating in more than one way: I don’t think I’ve ever seen mail delivered on the same day within the same city even when my place of residence had a well-functioning postal service by modern standards. (What I have seen in a particularl
115.
▲
by
mananaysiempre
5mo ago
For the same reason the V8 team bothered to set up a 32-bit addressing scheme for the GC heap even on 64-bit platforms, I imagine? The bytes add up when there’s enough of them.
116.
▲
by
mananaysiempre
5mo ago
Should, yes. Will, perhaps, but better be aware of the potential problem and check. Just yesterday I encountered people complaining about a VM not connecting to a cloud service when they neglected to put their DNS server’s address in the co
117.
▲
by
mananaysiempre
5mo ago
> Might be different for exotic platforms, I guess. Short-lived isolated VMs (like might be used for CI) are one place where entropy can be a problem. The relevant definition of “platform” here is less about the CPU architecture and more
118.
▲
by
mananaysiempre
5mo ago
Linux can decrypt BitLocker-encrypted drives. The cryptography is known and solid. The issue is that, as 'aiscoming says, its surroundings in Windows make the quality of the cryptography irrelevant. In the default BitLocker configurati
119.
▲
by
mananaysiempre
5mo ago
It’s a way of saying that I consider the demand for post-2020 evidence to be cherry picking when there’s evidence from 2018 and little objective (cultural or economic) reason for things to have improved since then. A competent modern busine
120.
▲
by
mananaysiempre
5mo ago
I don’t think manufacturers with deliberately undocumented, nigh-impossible-to-inspect crypto get to claim their bugs are shallow and thus that the absence of evidence for bugs implies the absence of bugs. Less emotionally but mostly equiva
More ›