Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Veedrac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
85 ms
·
901.
▲
by
Veedrac
7y ago
I recommend ignoring transducers unless you know you really need push-based iteration, which probably isn't the case. Generators are generally a superior approach otherwise.
902.
▲
by
Veedrac
7y ago
Why should the majority have to bother with ‘radically new’ when ‘same old’ is still chugging along with superlinear growth?
903.
▲
by
Veedrac
7y ago
Medium lets writers opt-in to a paywall. It is not the default, but does come with some perks for authors.
904.
▲
by
Veedrac
7y ago
What GOFAI technique got even close to 80% of the way? Maybe pathfinding, if I'm being particularly generous?
905.
▲
by
Veedrac
7y ago
> If you can use a runtime with gazillions of man-hours invested into making it better, and get easy access to bazillions of native libraries, why not? Note that this same comment argues for Electron.
906.
▲
by
Veedrac
7y ago
I've been a proponent of radix sort since long before I'd heard of this package, but I think you've completely missed my point.
907.
▲
by
Veedrac
7y ago
> a lot of benefit in the composition of pure functions, e.g. `take 10 . sort` At the risk of catching HN's ire... this is not a good thing. Haskell's type signature tells you almost nothing about whether this use-case is suppo
908.
▲
by
Veedrac
7y ago
lru_cache doesn't support unhashable types.
909.
▲
by
Veedrac
7y ago
Sure, I think the point of measuring CPU speed is not to say that it suffices for a fast boot, but to say that whatever it takes to boot, the CPU should not be a limiting factor. When I think of all the things necessary to booting; discover
910.
▲
by
Veedrac
7y ago
Even ‘perf stat libreoffice ./somedocument.odt’ give an IPC of almost 2, and that's hardly a well-tuned computational workload. > And mostly software doesn't utilize multiple cores well. Most software sucks, that's th
911.
▲
by
Veedrac
7y ago
That was my point, yes. Being unnormalized is a good thing. IEEE does the same thing for their decimals. > (In fairness, for small integers, the operators over normalized values are closed — they always return normalized values) Normally
912.
▲
by
Veedrac
7y ago
10⁹ ops/s is an incredible underestimate; CPUs tend to have an IPC around 4, and at least two cores, even on mobile. Which means at 3GHz, you should have closer to 10¹¹ ops/s. The real question is not whether a computer can boot i
913.
▲
by
Veedrac
7y ago
This is true, but hardly important. Multiple representations hurt because they waste space, not because they're transiently evil. If you're scared of normalizing before comparisons, or somesuch, nothing stops you normalizing aroun
914.
▲
by
Veedrac
7y ago
No, most numbers have only a single representation. A tenth have two, a hundredth have three, etc.
915.
▲
by
Veedrac
7y ago
That's not what the quote means, really. They have best-in-class performance on both single- and multi-threaded workloads. It is just saying that the allocator supports a deferred_free callback, which is zero-overhead in the fast path
916.
▲
by
Veedrac
7y ago
There are a lot of ways to write the same story; Mimalloc has a few innovations of its own, has good benchmarks to justify them, and the paper is a very good read. In particular, Mimalloc works to increase data locality, by using per-‘page’
917.
▲
by
Veedrac
7y ago
> this would seem to be a common occurrence and Science would have to decide whether to devote equal attention to every failed reproduction I think the answer to this is a rather blatant “of course!” If Science has the time to support fa
918.
▲
by
Veedrac
7y ago
Unless I've understood you poorly, this is confused. The issue with CMOV is primarily that it's a three operand instruction. If it was a two-instruction operation, it would just be arithmetic, and nobody would care. A minor, secon
919.
▲
by
Veedrac
7y ago
A Lua REPL is hardly worse than a Lisp one. > something like `eval` which is not compilation thus inferior I honestly don't know what that means. Turning text into code is compilation; there is no difference between the two in tha
920.
▲
by
Veedrac
7y ago
The point my first comment made is that you don't need to analyse a query at runtime, you just need to provide functions. I will agree again that Lisp makes REPLs easier to write than does C++, but a CL with Lua syntax could still, jus
921.
▲
by
Veedrac
7y ago
That doesn't support the post's argument, that it's not about aesthetics, but about qualitatively simpler solutions. > Often times I hear the claim that (programming language) syntax doesn't matter or if it does, it
922.
▲
by
Veedrac
7y ago
https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCa... https://caniuse.com/#feat=offscreencanvas
923.
▲
by
Veedrac
7y ago
I'm not sure if I'm missing something, or if this is meant to be allegorical for some other, more difficult problem, but the argument here seems very strange. For sure, C++'s string handling is an awful sight, but the jump to
924.
▲
by
Veedrac
7y ago
Generally, precision is pulled on-demand, as it is needed. If you compare two values as x < y, x and y will be evaluated to higher and higher precision until the answer is unambiguous. This can be an issue if the values are equal, since
925.
▲
by
Veedrac
7y ago
Could you be more specific? What are you doing on a RISC-V board where emulated popcnt loses more than 10-20% of your performance?
926.
▲
by
Veedrac
7y ago
What's the rush? The instructions can be emulated in the meantime at a passable speed.
927.
▲
by
Veedrac
7y ago
If it was just one thing or the other, perhaps he wouldn't have been so critical of it. People are going to understand if you require a few paths to be changed or some files to be downloaded manually into specific relative locations. T
928.
▲
by
Veedrac
7y ago
> our latest figures showing that 11.8% of video playback in Firefox Beta used AV1 It seems remarkably popular already.
929.
▲
by
Veedrac
7y ago
I'd recommend a Gameboy Advance SP, because the older, non-backlit, screens were genuinely poor under some non-ideal lighting situations, and you still get support for older generation games. But a standard Gameboy Advance or even Game
930.
▲
by
Veedrac
7y ago
Then buy different games? There are so many games out there, you don't have to buy from the sleaziest, profit-whoring of them. N++, Papers Please, Geometry Dash, Return of the Obra Dinn, Ori and the Blind Forest, 1001 Spikes, Hollow Kn
More ›