HNHacker News
TopNewBestAskShowJobs

ninepoints

880 karma · joined August 7, 2019

submissionscomments
ninepoints··on Atree: A simple and efficient pointer-free tree implementation
Yes but that is not what is presented (a B+ tree is not a B tree even with minor modifications) and it changes the complexity of your other update operations drastically. The thing that grates me (as someone that has written a dozen or so different tree structures) is that this one is presented as a particularly good one, and I think it excels at almost nothing, hence its obscurity.
ninepoints··on Atree: A simple and efficient pointer-free tree implementation
I would hazard a guess that a regular n-ary tree would outperform the OP tree in many usage scenarios with no extra effort, and with a number of B+ tree variants being strictly better at the cost of more effort.
ninepoints··on Atree: A simple and efficient pointer-free tree implementation
The linear scan you are talking about I don't think gives you any sort of ordered traversal right? Unless I'm missing something.
ninepoints··on Atree: A simple and efficient pointer-free tree implementation
You are using N in a different sense than I am. Unless I'm reading the tree description incorrectly, N is the size of the tree itself, not the number of children.
ninepoints··on Atree: A simple and efficient pointer-free tree implementation
I do lots of simd and shader programming, but regardless of register width, O(n) is not O(1)
ninepoints··on Atree: A simple and efficient pointer-free tree implementation
It does? 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). Plenty of cache friendly tree implementations out there, and this one seems actually cache hostile with few benefits in my mind aside from ease of implementation.

Also, I write a lot of code that runs on a gpu, and the claim that this tree is somehow gpu friendly I find particularly dubious.

ninepoints··on Clang now makes binaries an original Pi B+ can't run
You think most clang devs test on pre arm7 architectures? (And I don't mean in a cross-compiling sense)
ninepoints··on OpenAI staff threaten to quit unless board resigns
Imagine putting all your energy behind the person who thinks worldcoin is a good idea...
ninepoints··on std::source_location doesn't work if you need strings to be types
I understand OP but I haven't seen a single logging implementation that would inline the entire implementation in a macro and I suspect the author of the blog post hasn't either.
ninepoints··on std::source_location doesn't work if you need strings to be types
If you expose a macro that then calls your function, what's the difference between what OP is saying?
ninepoints··on Goodbye, Node.js Buffer
This isn't an argument against buffer though. Raw memory is raw memory
ninepoints··on How to self study pure math – a step-by-step guide [video]
When something is advertised as a guide to "study pure math," why is everyone's kneejerk reaction to recommend that the guide include resources that aren't "pure math."
ninepoints··on BitVM: Compute Anything on Bitcoin [pdf]
You're splitting hairs. If the energy is needed to stave away a 51% attack, that's the energy needed to support the single digit tps monstrosity you have. As for the 500 billion in value, I doubt if everyone liquidated their positions today it'd amount to a figure remotely close to that.
ninepoints··on BitVM: Compute Anything on Bitcoin [pdf]
Less than .1 % for embarrassingly little volume
ninepoints··on Extracting Hacker News book recommendations with the ChatGPT API
Atlas Shrugged at #8? Give me a break
ninepoints··on Detroit man steals 800 gallons using Bluetooth to hack gas pumps at station
What a terrible take. We should also make it legal to throw rocks in people's windows to ensure all glass is tempered. We should also make it legal to steal so that all stores have sufficient security presence. What kind of silly logic is that?
ninepoints··on Add extra stuff to a “standard” encoding? Sure, why not
If you read the post, the conclusion is:

> you skip the "helper" function that's breaking things.

Yea ok, I'm just going to assume this helper function added framing unless told otherwise. Where in this post did you even read that framing and payload data were conflated (not to mention that there are better protocols that include framing metadata).

ninepoints··on Add extra stuff to a “standard” encoding? Sure, why not
Folks, if you send raw PB over the wire in a protocol without framing, it _needs_ to be length prefixed somehow. This type of "bug" isn't an unreasonable thing to do, nor uncommon even. If I had a gripe, it's that I hate varints. Lots of wasted cycles to save not that many bytes in the grand scheme of things, especially when you consider other forms of compression layered on top, MTU, etc.
ninepoints··on Game Development Post-Unity
I have casually evaluated Godot so I am moderately aware of its capabilities. The thing I did not evaluate well though is how well structured its data and asset pipelines are. The big thing a AAA engine needs (aside from rendering, console support, and perf and all that) is the ability to scale production to hundreds or thousands of programmers and artists. The ability of an engine to scale in this way is generally learned painfully by doing, and I'm looking forward to see how Godot fares on larger scale projects over time.
ninepoints··on Game Development Post-Unity
As someone in the industry, those games don't actually fit my traditional mental model of what "AAA" means. AAA doesn't directly correlate with revenue for example. The general rule of thumb I kind of go by is that a game is likely to be "AAA" if it uses motion captured skeletal and facial animation sequences.
ninepoints··on Game Development Post-Unity
AAA quality? No it's not there, but it's certainly been improving on a number of fronts.
ninepoints··on Proofs based on diagonalization help reveal the limits of algorithms
I would probably refer to this as "Cantor's diagonalization" to avoid the ambiguity with "matrix diagonalization" using the matrix eigendecomposition.
ninepoints··on SEC charges Impact Theory for unregistered offering of NFTs
The Zimbabwe dollar was a currency. An awful one but it was a currency nonetheless. Did it "win" by your metric I wonder.
ninepoints··on C++ Papercuts
IMO read the damn header file and abide by the api contract. A const pointer type suggests nullability, and possibly even pointer arithmetic is permissible.
ninepoints··on A scalar triple product identity
(should be M <= N but HN isn't letting me edit the comment at this point)
ninepoints··on A scalar triple product identity
The simplest counterexample is just to consider vectors in 2D. It is not possible in general to construct a third vector perpendicular to two other vectors unless those other vectors are collinear or anitcollinear. The notion of an exterior product, represented as a signed area subtended by the two vector arguments of the operator sits in 2 space nicely however. In general, signed areas and M dimensional signed volumes are embeddable in N dimensional subspaces for M < N. The notion of a signed volume is directly tied to both the exterior product and the determinant. In higher dimensions, the cross product is equally unhelpful, given that for two vectors, the set of mutually orthogonal vectors abiding by the right hand rule is often infinite.
ninepoints··on A scalar triple product identity
The exterior aka wedge product generalizes, as do determinants. Cross products absolutely do not
ninepoints··on Algebraic Topology for Data Scientists
I forget who it was, but I think it was Ghrist that mentioned in his TDA book that expectations were to be extremely tempered before trying to apply TDA to a given problem domain.
ninepoints··on Bun v0.8
Sync IO is probably fine on Windows with the exception of CloseHandle, in which case Windows Defender or other AV will invoke a file filter in the kernel's file I/O filter stack to scan changes for data recently written to the file. A common approach used in Rust, version control software, and other runtimes is to defer file closing to a different thread to keep other I/O and user-facing threads responsive. All that said, I think IOCP on Win32 is a far superior asynchronous programming model to the equivalent APIs on Linux which feel far less usable (with more footguns).
ninepoints··on Server-side rendering is a better choice for many applications (2020)
My point is that this site is not a good example to use for showing SSR in a good light. Logically, this doesn't mean the converse of the statement is implied (that if this site didn't use SSR, it would be good).
← PreviousPage 2 of 8Next →