Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
o11c
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
631.
▲
by
o11c
1y ago
Well, I know it's pretty easy in Debian. (It's not completely pain-free if you need unpackaged third-party libraries and/or if you are cross-compiling from one uncommon architecture to another.)
632.
▲
by
o11c
1y ago
To be fair, enums represent a different and incompatible concept in every language I know. It's possible to support everybody's needs in a single language, but I'm not aware of any language that has done it yet.
633.
▲
by
o11c
1y ago
To be fair, it remains the most useful AI for programming. When it's wrong, it's obvious immediately when you look at it!
634.
▲
by
o11c
1y ago
No, it has a "full network" permission. It's not at all difficult to bypass it if you control both ends.
635.
▲
by
o11c
1y ago
I find `nextup/`nextdown` useful for when you want to calculate `{f(nextdown(x)), f(x), f(nextup(x))}` and see if some property holds (or to what degree it holds) for both `x` and its surrounding values. It's annoying that one suc
636.
▲
by
o11c
1y ago
Supporting variable-width fonts is pretty easy on its own (if bit-packing, you might wish to store them vertically), but does complicate combining characters (remember, they go in different places and may need to make the new character larg
637.
▲
by
o11c
1y ago
Note that there are a lot of exciting new float-related functions in C23, many related to NaN handling, signed zeros, or precision in edge cases. Some have been in glibc for years; others not yet. The API for `getpayload`/`setpayload`&
638.
▲
by
o11c
2y ago
The problem is that the various `__has_foo` aren't actually reliable in practice - they don't tell you if the attribute, builtin, include, etc. actually works the way it's supposed to without bugs, or if it includes a parti
639.
▲
by
o11c
2y ago
Note that there are numerous versions and forks of Colossal Cave Adventure, several of which are called "the original". For the most complete known family tree (actually a DAG in a few places), with links, see: https:/
640.
▲
by
o11c
2y ago
The fact that there are still octal-supporting parsers in the wild means that it is a security bug to accept 0-prefixed addresses as decimal, since they will produce a different valid value. All the other questions are much safer since th
641.
▲
by
o11c
2y ago
It says "screenshots of themselves". The application is responsible for rendering the screen in the first place so it fundamentally doesn't need a permission. Now, what could reasonably be a permission is "access the i
642.
▲
by
o11c
2y ago
Keep in mind that the build intentionally depends on environment variables, people often install non-packaged dependencies in bad ways, and cross-compiling is a thing, so it's not that simple.
643.
▲
by
o11c
2y ago
Unfortunately it forgets to HTML-escape the <wchar.h> etc.
644.
▲
by
o11c
2y ago
There is the `-C` option of course. It's supposedly good for the standard tests that waste all the time, but not so much for the ad-hoc tests various projects use, which have an unfortunate chance of being buggy or varying across time.
645.
▲
by
o11c
2y ago
I can't agree with this at all. There's something deeply wrong with the world if any form of opposition is considered problematic. Some variant of "the customer is always right" applies in the marketplace of ideas as wel
646.
▲
by
o11c
2y ago
And let's not underestimate the influence of "died" on statistics. People with autism tend to die either before age 40 or before age 60 (it is strongly bimodal, depending on comorbidities).
647.
▲
by
o11c
2y ago
And if anyone is like me and thinking "wait, there are more Marys than that", the above comment specifies "in the gospels". Mary mother of [John] Mark is in Acts, and Mary of Rome is in Romans. It's generally assume
648.
▲
by
o11c
2y ago
Prior to 1850, there's no evidence my alleged ancestors even existed.
649.
▲
by
o11c
2y ago
In other words, it sounds like the subgoal of "subsidize the news" is partially being reached. The open question is whether "subsidize the news" is sufficient for society's real goal, "trustworthy news".
650.
▲
by
o11c
2y ago
I recently did a bit of programming exploration using tau exclusively instead of pi (and `sintau` instead of the new `sinpi` function etc.) In almost every aspect this was far simpler, but there was the curious case of the constant `M_2_SQR
651.
▲
by
o11c
2y ago
Yes, there's a difference. Slot machines are regulated.
652.
▲
by
o11c
2y ago
Well, it's not the only message. But it's important to remember that practically all Jewish scholarship as we know it came into being as an explicit refutation of Christianity, and was a fairly radical shift compared to what r
653.
▲
by
o11c
2y ago
It's almost like the message of Genesis is "y'all need Jesus" or something.
654.
▲
by
o11c
2y ago
This probably isn't relevant anymore, but for now-old (4.x I think) versions of GCC, there are a couple of caveats: * Some versions can only change compiler options at top level, not within a function. * I had problems with trying to p
655.
▲
by
o11c
2y ago
Semi-related: given an expression which is an integer constant, convert it to a statically-allocated char array. With appropriate sigils this can be extracted via `strings(1)`, even when cross-compiling. If you don't know what type of
656.
▲
by
o11c
2y ago
That depends on how you're counting. About 2/3 of star systems have only one star. About 2/3 of stars exist in a system with multiple stars. However, the higher the mass, the more likely it is to be in a multiple-star sys
657.
▲
by
o11c
2y ago
That's not exactly true. The main thing that is popularized by Dante is "demons are performing the punishment" (rather than being punished as in scripture ... but the general idea goes back to Gnosticism) ... and I guess &quo
658.
▲
by
o11c
2y ago
I'm pretty sure nobody commenting here actually wants Mein Kampf in particular. It's just a well-known example of a book that most people would agree to restrict. (The Anarchist Cookbook would probably be better if we need to pick
659.
▲
by
o11c
2y ago
It has never really been about "information wants to be free". Librarians (and hackers, etc.) have always restricted the flow of information. It's just called "curation" when you agree with it rather than "ce
660.
▲
by
o11c
2y ago
Respelling using only the 26 letters works pretty well for the General American dialect. The most unintuitive specific respellings (otherwise pretty easy) are: uu for 'oo' in "book". A relatively rare vowel but some
More ›