Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
a1369209993
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
a1369209993
3y ago
The phrase "that you take a limited amount " implies that the amount taken is the primary determining factor. For example, that (at least approximately) taking four tiles is always safe, regardless of which four, and taking fou
62.
▲
by
a1369209993
3y ago
> "error, can't take square root of -4" That has nothing to do whether the user knows better than to trust such a answer; it's because they (likely implicitly, which is admittedly unfortunate) asked for a real-valued
63.
▲
by
a1369209993
3y ago
To be scrupulously fair, that seems to fall under > just being a local idiosyncracy albeit a stupid one; whereas Racket actively targets beginners in particular. Also, this is ISO we're talking about here; we probably shouldn't
64.
▲
by
a1369209993
3y ago
> Or are there specific aspects of Racket that in your view repel [competent programmers]? This is anecdotal and over a decade ago, but quite specific: my first exposure to Racket was with a version of the language (I think it was some p
65.
▲
by
a1369209993
3y ago
> Clowns only ask that you take a limited amount of cotton candy Actually, this is wrong. Rather, there are 'safe' candy tiles and 'unsafe' ones. You can take a unlimited[0] amount of safe candy, but taking even a sin
66.
▲
by
a1369209993
3y ago
Like with most things, the problem is usually that we can't find peripherals that are actually nice, rather than overpriced (and endorsed by shills). If the options are paying 40$ for a shitty keyboard, versus paying 400$ for a still
67.
▲
by
a1369209993
3y ago
> Without the original server, there's no way to discover the destination URLs for the rest of the site. Try $ wget http://web.archive.org/cdx/search/cdx?url=http://example.com/* for a
68.
▲
by
a1369209993
3y ago
> the MD5 is clearly in the plaintext here Alright, I'll bite: at what byte offset in the binary file contents does a trivial encoding[0] of the MD5 hash occur? > the NES ROM is only the first 40k of the file. It is not able to s
69.
▲
by
a1369209993
3y ago
> a PDF file that can be also run in a NES emulator, and will display its own MD5 hash. The MD5 hash is also shown in the pdf document itself. By that logic, SHA 256 is also broken: $ cat >sha256.py from hashlib import sha256
70.
▲
by
a1369209993
3y ago
No, just butcher all but one of the female cats to make *cat meat roasts*, and stick the spare in a cage. (Keep the males for vermin control.) See also [0]. 0: http://dwarffortresswiki.org/index.php/Catsplosion
71.
▲
by
a1369209993
3y ago
> People don't have the same understanding for software. To be fair, with houses, once you've actually built a 4,000 square foot house, you can just copy-paste it onto another person's plot of land, and maybe tweak it a
72.
▲
by
a1369209993
3y ago
> And it's not always a reactionary act. It's sometimes for pragmatic reasons - to prevent or curtail a non-ideological issue. Literally all of the examples in #Cold_War_era_and_1990s either were explicitly ideological, or seem
73.
▲
by
a1369209993
3y ago
To be fair, Comcast's database software is probably crap made by Oracle or something. It's not totally implausible that it crashed partway through printing the results of "SELECT * FROM customers" so the last X% was neve
74.
▲
by
a1369209993
3y ago
For a arbitrary Apter Tree, a linear scan is unordered. You can impose additional constraints to get a ordered traversal (in the same way that, eg, you can sort a assoc-list/JSON-style key-value table by keys to get a key-order trave
75.
▲
by
a1369209993
3y ago
> Feels like an O(n) scan every time you need to query the children of a node is a nonstarter for most applications (the readme is strangely optimistic about this point). The trick is that querying the children of N different nodes is us
76.
▲
by
a1369209993
3y ago
... `if`, `then`, `else`, `while`, `return` vs `goto`, `comefrom` ... Well, it's arguably superficially a better argument than Dijkstra's, but it doesn't account for `for`, so I'm not convinced.
77.
▲
by
a1369209993
3y ago
> 1/999999999999999999999998999999999999999999999999 For anyone who only has floating-point handy, try `1.0/9899` for a faster-to-break-down but still illustrative example.
78.
▲
by
a1369209993
3y ago
More to the point, try `[len,exit,repr]`. Consider what would happen if `exit.__repr__()` did terminate the program.
79.
▲
by
a1369209993
3y ago
> might involve learning something new about the problem I think that's almost literally what sfink said though: > > they're creating a whole new form of proof that will almost certainly allow further decreases
80.
▲
by
a1369209993
3y ago
True, but my parenthetical was covering the opposite issue: it's possible to not realise DUAL_EC_DRBG is broken (rather than impossible to realise it) if your only knowledge of cryptography is, say, hash functions and stream cipher
81.
▲
by
a1369209993
3y ago
And yet became a official standard anyway, and was occasionally actually used, despite the fact that is was obviously backdoored to anyone who knew anything about (elliptic-curve) cryptography. (It's literally a textbook-exercise leaky
82.
▲
by
a1369209993
3y ago
Reminds me of the bit in Jekyll and Hyde where it turns out the doctor's alchemical formula only worked in the first place not because of the salt he using, but because of a unknown trace contaminant in the salt. Also, of course: &qu
83.
▲
by
a1369209993
3y ago
> When you look into details like 911 calls over Wifi shouldn't actually share priority with 4k VR porn. That's irrelevant, because sane people don't try to stream 4k VR porn and make 911 calls simultaneously on the same d
84.
▲
by
a1369209993
3y ago
> There's a fixed, rapidly vanishing probability distribution on bin occupancies, Pretty much; my mistake was underestimating just how rapidly it vanishes. In actuality any sorting algorithm that isn't pathologically horrible
85.
▲
by
a1369209993
3y ago
> Bins would have an average occupancy of 1, so it didn't matter what sort you used. That's not quite right, though - you only care about the average occupancy if your sorting algorithm is O(b) for b elements. If you're us
86.
▲
by
a1369209993
3y ago
> But my experience is that it raises the floor by a large amount and lowers the ceiling only a little. I mean, I agree that that's true at least in relative terms, but in my experience that's because it raises the floor from &
87.
▲
by
a1369209993
3y ago
It (presumably) would; the problem is that it could be considered more dignified and academically respectable than a random forum comment.
88.
▲
by
a1369209993
3y ago
Yes. Do this (make sure it's not a top-level submission) and cite the HN comment specifically. Stupid rules deserve stupid compliance.
89.
▲
by
a1369209993
3y ago
> Sadly it seems HN does not accept these things. Huh? ╷ ╒╗ ╓╖╔╤╕ ╼┭┬┮┯┳┱┰┲╸ # ╞╦╡╟─╢╠╩╧╛ ┽┼┾┿╉╂╊╋━ # │╚╪╬═╣║▲▼◀▶ ┏╅╁╆╈╇╃╀╄╾ # ╵ ╘╝╶╨╫╥╴┌┐┎┒┍┓┏┑╹┃┃┃╿╽│││╻ # ┌┬┐╷ ╙╜ ├┤┞┨┢┩┠┧╺┹┸┺┷┻┵┴┶┛ # ├┼┤│╶─╴ ┝┥┟┦┡┪┣┫ # └
90.
▲
by
a1369209993
3y ago
> when you put the scope probes on, some of the ringing energy goes into the scope and it tends to improve the situation as long as the probe is there. The software equivalent is so-called "load-bearing printf"s, where for exam
More ›