Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kibwen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
181.
▲
by
kibwen
3mo ago
The difference between an arena allocator and RAII deallocation is that the latter is eager. This is the whole point: the problem that an arena allocator attempts to solve is to presume that fine-grained freeing is slow and thereby solve th
182.
▲
by
kibwen
3mo ago
What tialaramex is saying is that, in the Java code, there will be a separate allocation for every `a_goose` that gets added to the ArrayList, whereas the Rust code only has a single allocation for the backing storage for the Vec (not count
183.
▲
by
kibwen
3mo ago
There are several libraries for doing arena allocation in Rust, e.g. bumpalo: https://crates.io/crates/bumpalo , see the documentation for examples (it's quite easy to use and fits the borrow checker very well). T
184.
▲
by
kibwen
3mo ago
> My angle is systems programming, and there, it absolutely matter. If you are performance sensitive, then you try to avoid crossing the user-space -> kernel boundary more than you have to. Eg, ask for lots of memory, manage with are
185.
▲
by
kibwen
3mo ago
Costs get passed on to the consumer. You're paying for it in higher ticket prices, which is where the race to the bottom comes in.
186.
▲
by
kibwen
3mo ago
Ships and jets are different segments from residential. Planes are definitely a textbook use case for satellite internet, but just like airlines are in a race-to-the-bottom for everything from in-flight snacks to legroom, they're not g
187.
▲
by
kibwen
3mo ago
I don't think of vim as a puzzle, but I do use it because I find it fun to use in some ineffable way. Note that I also don't claim that it makes me more productive; I use it because it sparks joy, regardless of however productive
188.
▲
by
kibwen
3mo ago
If by "children" you mean self-replicating viral robot swarms, then maybe. Nothing biologically descended from humans will ever leave the heliosphere in any form that could be considered living.
189.
▲
by
kibwen
3mo ago
And you wouldn't need to, because the Rust compiler is "slow" relative to compilers like Go. Relative to Clang and g++, the Rust compiler is fast.
190.
▲
by
kibwen
3mo ago
> There are so many language features that there's memes about it. Like many memes, these are misleading. Rust is a solidly medium-sized language; smaller than Python, certainly, though with a perilously steeper learning curve tha
191.
▲
by
kibwen
3mo ago
> The best way to speed it up appears to be organizing a codebase in many crates. A "crate" in Rust is the unit of compilation. In C, a file is the unit of compilation. Rust just lets you have a compilation unit that's c
192.
▲
by
kibwen
4mo ago
Yes, and those usage stats show that the overwhelming majority are playing the game without having bought it. One can't argue that these studios should be shut down for poor sales when Microsoft themselves are sabotaging the ability fo
193.
▲
by
kibwen
4mo ago
> It's like saying "every novel written with a typewriter tends to produce stories with a certain theme and dialog" Rather, it's like saying that every academic paper typeset in Latex using the stock Computer Modern
194.
▲
by
kibwen
4mo ago
Except that the obvious reason their recent games see lackluster sales is because they're on Gamepass, which precludes needing to buy the game to play it.
195.
▲
by
kibwen
4mo ago
What we know so far is just that id is "cutting a "significant number of staff": https://bsky.app/profile/jasonschreier.bsky.social/post/3mpy... https://www.reddit.com/r/Do
196.
▲
by
kibwen
4mo ago
It's even dumber than that. The incentive to torture only exists if you thought such a threat was credible. Anyone aware of the concept of Roko's Basilisk yet who (rightfully) thinks that it's bollocks is immune from any of i
197.
▲
by
kibwen
4mo ago
What the article describes here is not social engineering by any known definition. Calling up a Verizon rep and giving them a fabricated sob story in order to convince them to waive proper authentication and reassign your phone number to a
198.
▲
by
kibwen
4mo ago
Maybe everyone else is too young to remember left-pad, but in the wake of left-pad everyone learned that one of the primary selling points of dedicated dependency repositories is that they can refuse to support "unpublishing" a de
199.
▲
by
kibwen
4mo ago
> These kinds of caps have for years been a dampener on human flourishing. My observation has been that those in stagnation or decline tend to attach themselves to these desires to hold the status quo. Anti-energy, anti-housing, anti-in
200.
▲
by
kibwen
4mo ago
By definition, externalizing a cost is less expensive than internalizing it; the only recourse for the rest of us is forcing them to properly internalize their costs.
201.
▲
by
kibwen
4mo ago
The point is that urban/rural is irrelevant to this discussion. Every urban area that I've ever lived in has had better air quality than the rural area I grew up in.
202.
▲
by
kibwen
4mo ago
Living in the countryside won't save you. I spent my childhood in a rural area and our house had the misfortune of being situated on a steep hill, so at all hours of the day and night you'd have cars and motorcycles and tractor tr
203.
▲
by
kibwen
4mo ago
> Combine this with a big rural population, and Starlink has a great opportunity, if they can find customers who can afford it. This is the rub. The primary market here are people whose communities aren't wealthy enough to afford
204.
▲
by
kibwen
4mo ago
No. By that logic, PVC pipes wouldn't be safe from thieves, because thieves wouldn't be able to understand the difference from copper pipes. Anyone who's ever touched a fiber cable before immediately understands the differenc
205.
▲
by
kibwen
4mo ago
The classic example is that nobody can remember the basic shape of a bicycle: https://www.booooooom.com/2016/05/09/bicycles-built-based-on...
206.
▲
by
kibwen
4mo ago
Keeping in mind the mistake in the HN title (should be "P != NP"), the interesting part of the abstract is this: > Combined with Maymin (2011), who proved that market efficiency requires P = NP, this yields a fundamental impos
207.
▲
by
kibwen
4mo ago
It's not innacurate to say that AI code becomes legacy code the instant it's merged.
208.
▲
by
kibwen
4mo ago
One point in Steam's favor (not to suggest that Valve is above reproach) is that it doesn't impose any DRM. If games have DRM, that's the publisher's decision.
209.
▲
by
kibwen
4mo ago
Likewise, I've avoided all Sony products since the rootkit scandal: https://en.wikipedia.org/wiki/Sony_BMG_copy_protection_rootk...
210.
▲
by
kibwen
4mo ago
I leave my phone off for most of the day, and 100% of the time that it's on it's in battery saver mode. In any case, it's an irrelevant comparison, because a phone's thermals have nothing in common with a laptop's t
More ›