Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nneonneo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
271.
▲
by
nneonneo
2y ago
Now I have a very evil idea: what about registering a binfmt handler for the header bytes “#include”? Sure, it doesn’t handle all C/C++ programs (notably any program that dares to start with a comment), but it would not require modif
272.
▲
by
nneonneo
2y ago
What you really should do is have floating point subpages for giggles, like /LAB/0.317482834/0.8474728828/0.172737838. Then you can have a literally infinite number of pages!
273.
▲
by
nneonneo
2y ago
Correction: in China the regulation burden is none until they disappear your CEO .
274.
▲
by
nneonneo
2y ago
It claims to be a scripting language but you still have to compile the programs. Boo! Add CINT ( https://root.cern.ch/root/html534/guides/users-guide/CINT.ht... ) and you can have instantaneous execution a
275.
▲
by
nneonneo
2y ago
I mean, don’t say the repo didn’t warn you! > The goals for Pretty C are: Provide so much syntactic sugar as to cause any C developer a diabetes-induced heart attack.
276.
▲
by
nneonneo
2y ago
Meh...not immune, just resistant. There's unfortunately a big difference. LLM slop is coming in at the corners, typically on articles that are less well-patrolled.
277.
▲
by
nneonneo
2y ago
The original Slate article: https://slate.com/human-interest/2013/06/voting-rights-and-t... The follow-up, in which the author chronicles their (unsuccessful) search for an original: https://slate.
278.
▲
by
nneonneo
2y ago
Note: there are questions about this test's authenticity. Per a note on https://www.crmvet.org/info/la-test.htm : > [NOTE: At one time we also displayed a "brain-twister" type literacy test with questi
279.
▲
by
nneonneo
2y ago
If I had to guess, they’re probably just expanding the Scheme code into C code during compilation. Also: it isn’t an endless C loop; do{/ statements /}while(0) is a common macro idiom for a block of code that requires a trailing
280.
▲
by
nneonneo
2y ago
His pet project, a garbage-collected variant of C++: https://2024.splashcon.org/details/splash-2024-rebase/3/Fil-...
281.
▲
by
nneonneo
2y ago
Rust does support a form of overloading via custom traits. It’s true that you can’t overload e.g. different numbers of arguments (and the lack of default/keyword arguments is especially annoying here), but you can overload a function b
282.
▲
by
nneonneo
2y ago
Pretty sure the OP was referring to UNIX and its “Finnish clone” Linux.
283.
▲
by
nneonneo
2y ago
I don’t even think it’s a “wealthier clientele” thing. Some routes are literally subsidized - for example, the Essential Air Service program pays airlines to run flights to places that would otherwise be unprofitable to fly to, and due to t
284.
▲
by
nneonneo
2y ago
The former is more common than you might think: hub-and-spoke airlines compete on route pricing, but if an airline doesn’t offer a particular direct flight, then it has to offer an indirect one for a comparable price. This is why you get th
285.
▲
by
nneonneo
2y ago
The extra randomness really only buys you a couple extra bits of entropy, but makes it more annoying to remember which format your password is in. It’s much more effective (entropy-wise and memory-wise) to tack on an extra word.
286.
▲
by
nneonneo
2y ago
Nit, 160 bits of entropy would be if you could get 8 bits per character, but that’s highly unrealistic. 6.0~6.3 bits is more feasible based on what most websites will tend to accept, which lands you at around 120-126 bits of entropy for a f
287.
▲
by
nneonneo
2y ago
Fully random: 62^18 in that format, or about 107 bits of entropy. Their approach: ~71 bits per the article (I counted ~73 bits but I’m not using their exact algorithm) I’d say it’s not too bad. With a good password hashing algorithm you’re
288.
▲
by
nneonneo
2y ago
Goody, let’s just drive out all the human creators who actually interview real experts and go in depth on a subject, with AI-generated voices and summaries. If AI ends up destroying humanity, it isn’t going to be through weapons and death r
289.
▲
by
nneonneo
2y ago
On mobile, so I can’t try this - what does this do?
290.
▲
by
nneonneo
2y ago
The Pied Piper, in robot form.
291.
▲
by
nneonneo
2y ago
You put those safety comments in two places: when you declare an API as being unsafe, and when you use an unsafe API. Not coincidentally, those are the two places in the language that force you to use the “unsafe” keyword. If you declare a
292.
▲
by
nneonneo
2y ago
Only four of the twenty counts were dismissed (motion to dismiss granted), and only half of one claim was dismissed with prejudice. The remaining three dismissed claims can be amended and resubmitted to the court. All the federal claims sta
293.
▲
by
nneonneo
2y ago
Reminds me of a Google search I did yesterday: “Hezbollah” yields a little info box with headings “Overview”, “History”, “Apps” and “Return policy”. I’m guessing that the association between “pagers” and “Hezbollah” ended up creating the la
294.
▲
by
nneonneo
2y ago
That repo is only nine hours old, so I’m assuming you wrote this tool yourself. If so, I think the lack of a disclaimer (that you’re promoting your own tool) is somewhat dishonest.
295.
▲
by
nneonneo
2y ago
The St. Petersburg "paradox" is not a paradox if we consider any real-world implementation of it. The EV accumulates at the rate of $1 per flip. So, if we want to make the EV at least $1,000,000, we must find a counterparty that i
296.
▲
by
nneonneo
2y ago
This has historically been a pretty fun challenge to do. Earlier levels are quite easy, but later levels can be quite challenging and require specialized skills (e.g. reverse engineering, binary exploitation, cryptography). There’s a decent
297.
▲
by
nneonneo
2y ago
Of course, typing this on my phone, I didn't get the syntax exactly right. Sorry! The actual strace argument should be -e fault=clone:error=ENOMEM:when=1+2 First, modern glibc doesn't use the `fork` syscall directly; it u
298.
▲
by
nneonneo
2y ago
This is cute! It’s worth pointing out that strace ships a similar feature (-e fault) which works for any syscall, even if the binary is statically linked. It works using ptrace, which is lower level than LD_PRELOAD. Although -e fault doesn’
299.
▲
by
nneonneo
2y ago
Deobfuscated, for the curious: https://pastebin.com/091KB37u
300.
▲
by
nneonneo
2y ago
This would also have the advantage of being cheaper to list out; instead of rw-r----- (0640), it would just be “gu-” (-, u, g, a for the four levels).
More ›