Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mananaysiempre
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
mananaysiempre
2mo ago
Could be a number of things depending on context. In this case it’s a short function that adjusts some things and jumps to the actual functions (a “thunk” is another term for this). Specifically, if in GCC you write int f(int x) {
32.
▲
by
mananaysiempre
2mo ago
What about your older patch where -fno-trampolines meant a function pointer could either be a code pointer or a closure (descriptor) pointer, distinguished by a tag?
33.
▲
by
mananaysiempre
2mo ago
To continue GP’s point, in Moscow a “database of outstanding wanted suspects” was enough to get a well-known science writer[1] who publicly expressed her opposition to the war systematically harrassed by the police because she (a then-pregn
34.
▲
by
mananaysiempre
2mo ago
Right, that’s the problem: for most people this works, but those it doesn’t work for, it can really fuck up. So what this amounts to in expected utility is you need guardrails before forcing things this way.
35.
▲
by
mananaysiempre
2mo ago
When the GDPR came into force https://npr.org started redirecting to https://text.npr.org with an explanation that sounded like that fact was supposed to annoy you, but I honestly find the latter superior especially
36.
▲
by
mananaysiempre
2mo ago
> If anything, the word STRASSE is a great example why case-folding followed by string comparison is not the same as a case-independent string comparison s/case-folding/lowercasing/ Proper Unicode case-folding absolutely
37.
▲
by
mananaysiempre
3mo ago
Which makes sense, games have a much smaller area of contact with the host platform. This sounds strange given how much modern GPUs can do, but consider that a typical Windows machine ca. 2005 will have Access/JET Red, Active Directory
38.
▲
Why Were the Dabaos Late?
(crowdsupply.com)
8 points
by
mananaysiempre
3mo ago
|
1 comments
39.
▲
by
mananaysiempre
3mo ago
> there are some weird AI generated comments by new[] accounts on this thread When you have showdead on (as I’m guessing you do), there are weird AI-generated comments by new accounts on every front-page thread, so I wouldn’t ascribe too
40.
▲
by
mananaysiempre
3mo ago
> This might be the best case of the Torment Nexus meme in action. At least the author seems to think[1] it is one, if in not so many words: > And don't ever let anyone tell you that Accelerando is techno-optimistic or pro-AI
41.
▲
by
mananaysiempre
3mo ago
I mean, yes, you’ve given a correct algorithm for parsing this simple precedence grammar, but it still leaves the impression that there’s something new to learn in addition to C expressions, whereas the whole point of the declaration syntax
42.
▲
by
mananaysiempre
3mo ago
Why would you do that? Ignoring for the moment arguments of prototypes and sizes of arrays, read C declarations the way they were designed: “char *a[<whatever>]” means that the expression *a[<whatever>] has type char; “char (*a(
43.
▲
by
mananaysiempre
3mo ago
GP’s point is that many keyboards these days come with a Mac/Windows switch, and one of the things that switch does is swap the keycodes sent by the Alt and Win keys—the “Mac” behaviour is exactly what you’re describing. (The other thi
44.
▲
by
mananaysiempre
3mo ago
Error handling in Dylan[1] worked mostly the same way, if syntax is truly the issue. I posted a toy implementation in Lua a few years ago as well[2]. In general there’s nothing Lisp-specific about the idea, you just need dynamic scoping, cl
45.
▲
by
mananaysiempre
3mo ago
> Once I had the design [of the enclosure], I tried to 3D print it on my brand new 3D printer, which turned out to be a disaster. Took me some time to learn more about designing for manufacturing, especially for 3D printing. Would have b
46.
▲
by
mananaysiempre
3mo ago
TL;DR: The old-school empty branch preserves $?, while logical negation doesn’t. Sure I guess, but this is not always relevant.
47.
▲
by
mananaysiempre
3mo ago
The battery life’s reportedly kind of garbage, though, isn’t it? As it seems to be on all these devices. I understand this is partly due to overpowered output amplifiers (to support obscure headphones) and software decoding (to support obsc
48.
▲
by
mananaysiempre
3mo ago
> Not sure about Linux, too many stacks involved. Wayland: wl_shm and that’s it for the “stack”.
49.
▲
by
mananaysiempre
3mo ago
There are indeed precomputed LUTs, but apparently you need to be a bit more sophisticated than that if you want your sun angle to be dynamic, and they also did clouds: https://www.ea.com/news/physically-based-sky-atmosp
50.
▲
by
mananaysiempre
3mo ago
I once tried to ask it for an example of a particular twisty situation in Latin grammar, and try what I might it kept hallucinating false citations while ignoring my instructions for longer quotes that would likely have prevented the proble
51.
▲
by
mananaysiempre
3mo ago
Yup. I once came across a (picture of a) test print made by one of the old black-and-white street photography greats, and it was all marked up with development adjustments for better lighting, contrast, and subject separation. Those were al
52.
▲
by
mananaysiempre
3mo ago
I recall a GDC presentation about a physically-based atmospheric model developed for a (good) AAA game released sometime in the last decade, and it reportedly took up a noticeable part of the frame budget, so evidently you’re not alone in t
53.
▲
by
mananaysiempre
3mo ago
I’m guessing GP’s point is that Google also has the locations of all the people not in cars, so Google Maps could take the hint if it wanted. But thus far nobody appears to care enough to fix this. (And apparently in e.g. India cars and p
54.
▲
by
mananaysiempre
3mo ago
Sadly, after the 2024 anti-E2E-messaging piece[1] I do in fact think he’s pretty anti-privacy overall. Perhaps calling that pro-regulation is more correct, but my (non-American) experience over the last, say, twenty years does not include l
55.
▲
by
mananaysiempre
3mo ago
That one’s cache-oblivious so nominally the right answer if you don’t know how your cache works or have to deal with several of them at once, but the constants are bad enough to make it impractical[1,2]. Personally I’ve been on the lookout
56.
▲
by
mananaysiempre
3mo ago
A hanko is specifically a stamp (for dipping into ink) not a seal (for pressing into wax) so it is a different thing than the ones diplomats still use. I assume the Chinese one mentioned in the ancestor post is a mistranslation and shou
57.
▲
by
mananaysiempre
3mo ago
> My impression is, all browsers are holding back on everything HTML-native and JavaScript-free. Somewhat tangentially, the official response to a request for WebAuthn without JavaScript[1] was that the big websites don’t care and thus n
58.
▲
by
mananaysiempre
3mo ago
Or as Andreas Kling (jokingly) put it[1]: “STOP INTERLEAVING STYLE CHANGES AND LAYOUT METRIC QUERIES ASSHOLE”. [1] https://nitter.net/awesomekling/status/2021932080742142056
59.
▲
by
mananaysiempre
3mo ago
I was a bit puzzled by your second sentence, so I searched around a bit and... do I have this right? - There’s a well-known way (“Ziv’s rounding”) to get (among other things) a correctly rounded double-precision pow(), but in bad cases it c
60.
▲
by
mananaysiempre
3mo ago
Fixed-point arithmetic provides uniform absolute precision; floating-point arithmetic provides almost-uniform relative precision, as used by scientists and engineers for literally centuries (“significant digits” except the binary version is
More ›