HNHacker News
TopNewBestAskShowJobs

dafelst

1,346 karma · joined December 28, 2020

submissionscomments
dafelst··on The Garbage Collection Handbook
Unreal Engine has a GC for its internal object graph, so GC is already in use in a ton of games.
dafelst··on Bikeshedding, or why I want to build a laptop
Yes! I had a Vizio laptop (the thin one ala a macbook air) and it was absolutely fantastic, probably the best PC laptop I have ever had. It was lightweight, powerful, had a good screen (for the time) plus some things that few other laptops had at the time, like a TPM.
dafelst··on Stop Telling Us XMPP Should Use JSON
Your argument was that XML compresses really well, which indicates that compression ratio is your evaluation metric. I just suggested a simple way to improve your metric.

My position is that compression ratio is a largely meaningless metric in this instance, so using it as a method for justifying the use of XML (as inferred from "XML compresses really well") is also meaningless. That does not translate to "XML is bad for XMPP", I actually think it is fine, it means "XML compresses really well" doesn't add anything much in the way of justification.

I've spent way too much time on this thread already, so take what you will from it, it is all you from here on out, I am done here.

dafelst··on Stop Telling Us XMPP Should Use JSON
Your argument was initially stated as "XML compresses really well", not "there is little benefit to a more concise format".

However, on your latter point, I am in full agreement.

dafelst··on Stop Telling Us XMPP Should Use JSON
If it were a more compact format, it is likely both the uncompressed AND compressed sizes would be smaller.

By your logic, if you 10x'd the length of the XML tags in XMPP then it would be even better since you you would get an even further improved compression ratio.

To be clear, I don't have a problem with XML in XMPP since it is negligible overhead, but "it compresses well because it is full of redundancy" is not the argument that should be used to justify it.

dafelst··on Stop Telling Us XMPP Should Use JSON
Because it contains a ton of redundancy
dafelst··on In a U.S. First, New Mexico Opens Doors to Free Child Care for All
Often programs like this are subsidized based on income such that if they can afford it, it is subsidized less, or you do not qualify past a certain income. That is one method of managing the program's costs, while still benefitting those who are most heavily affected. This program doesn't appear to do that, but many do.

I am not sure what point you are trying to make though.

dafelst··on In a U.S. First, New Mexico Opens Doors to Free Child Care for All
In some places (esp those with low access to birth control and sub-par sexual health education), there are too many unplanned children being born to people who do not have the means to comfortably raise a child without being in poverty.

Free/low-cost birth control and better sex ed are proven to reduce these instances substantially.

dafelst··on Cloudflare outage on November 18, 2025 post mortem
panics are safe, what are you talking about? It is nothing like a null pointer.
dafelst··on Show HN: A subtly obvious e-paper room air monitor
Germans sure love their Lüften
dafelst··on Building a Simple Search Engine That Works
What do you mean by a non-internet search engine, and what might be one that is bigger than Google/Bing?
dafelst··on AI Slop vs. OSS Security
I agree wholeheartedly, and this is the core problem - many of the people evangelizing LLMs for a particular task (especially investors and AI gold rush "entrepreneurs") do not have enough expertise in that particular field to effectively evaluate the quality of the output. It sure looks the part though, and for those with a shallow understanding, it is often enough.
dafelst··on Tiny electric motor can produce more than 1,000 horsepower
And believe it or not, a good proportion of us are not happy about that either.
dafelst··on TigerBeetle and Synadia pledge $512k to the Zig Software Foundation
Can you elaborate a little more on what structures and patterns those are? I have built some database like things in rust (lots of zero copy and slice shenanigans, and heavily multi-threaded) and while it was tricky in some spots I haven't run into anything I have had to substantially compromise on.

Your use cases are likely more complex, so I'm curious what I should be looking out for.

dafelst··on I see a future in jj
I am the last person to ever promote perforce, but as of last yearish it has the option for binary delta transfer using fastCDC.

Even without that, it is a just straight up a lot faster than git lfs. I know this because I benchmark it against git pretty frequently as I am creating my own large file capable VCS.

dafelst··on Our modular, high-performance Merkle Tree library for Rust
Doesn't bitcoin use merkle-trees internally to create its blockchain?
dafelst··on Today is when the Amazon brain drain sent AWS down the spout
Given today is Diwali, perhaps the reason everything went down is because the best and brightest from India were all on vacation and weren't there to babysit/roll back the deployment that broke everything?
dafelst··on Your data model is your destiny
What does AI have to do with anything here?
dafelst··on A conspiracy to kill IE6 (2019)
I worked on the front end of Bing (then Live Search) back in 2007, and even within Microsoft, IE6 was hated and rallied against, at least by any team doing web development.

I remember that the former GM of the Internet Explorer 5 and 6 team transferred to my org about a year after I joined. In his intro email, he included a sheepish apology for IE6, which I printed and kept on my office wall for the rest of my time at Bing, it was a prized possession. Man that browser caused so many nightmares.

(to clarify, the GM was a good and smart guy, the apology was a little tongue-in-cheek since IE6 was arguably the best browser upon its release - the problem was Microsoft effectively abandoned it and let it languish and stagnate for years while the web moved on without it, which turned it and the IE org into well-deserved pariahs)

dafelst··on Ask HN: Open framework for generating thumbnails on untrusted files?
This is very cool, thank you. Spinning up a dedicated VM for this seems very heavyweight though, especially on client machines.
dafelst··on Ask HN: Which cross platform desktop GUI to use instead of Electron?
I am very impressed with Slint, especially once you jump through the hoops to enable the skia rendering backend.
dafelst··on Ideas on Glitching in Rust
I must be missing the point here, because this feels like bad advice. Calls like `panic` and `expect` and `assert` are there to uphold invariants, i.e. to deal with things that should never happen unless there is a logic error that invalidates the assumptions you hold about your program. It means "if you got here, I (the programmer) probably fucked up badly".

If an operation is fallible, it should return an error type and make it the job of the caller to deal with that. Silently returning default seems like a disaster waiting to happen, ala On Error Resume Next (which indeed was a disaster to deal with).

Now if this panic handler, instead of silently continuing in release mode, invoked some sort of "save your work and restart" handler such that the user doesn't lose anything and the program would restart in a known-good state, that seems like it would be a sensible way of doing things.

dafelst··on Figure 03, our 3rd generation humanoid robot
You are describing a fuel cell battery

https://en.wikipedia.org/wiki/Fuel_cell

Well established and even commercialized (Toyota sells fuel cell cars today IIRC), just not as cost effective in cars from a full infrastructure perspective (fueling specifically).

dafelst··on Stress test for parallel disk i/o using git and pnpm
More people need to know how this, it is absolutely bonkers how much perf you lose for each file open operation to defender and its kin.

Even excluding directories (like D:\MyProject) from defender isn't a full solution, the fs filter will still use the file handle to do lookup of the file path to see if it is in an excluded directory (at least on win10), but excluding an entire drive (like D:\) does solve this.

I have found that adding git.exe to the process exclusion list makes the biggest difference here, although git is still slow when dealing with lots of files, it goes from unbearable to bearable.

dafelst··on Beginner Guide to VPS Hetzner and Coolify
Your phrasing is a little confusing to me, but just to be clear for anyone else reading, VMs and containers are different things.
dafelst··on Slack has raised our charges by $195k per year
Slack's user experience for chat is leagues better than Teams, they're honestly not even close. I say this as someone who worked at a company that was heavily invested in Slack, and was then acquired and forced into the Teams ecosystem. It was a huge step down.
dafelst··on Launch HN: Ghostship (YC S25) – AI agents that find bugs in your web app
Genuinely curious, why does profanity put you off a product?
dafelst··on Bulletproof host Stark Industries evades EU sanctions
From TFA

> Materializing just two weeks before Russia invaded Ukraine in 2022, Stark Industries Solutions became a frequent source of massive DDoS attacks, Russian-language proxy and VPN services, malware tied to Russia-backed hacking groups, and fake news.

dafelst··on NPM debug and chalk packages compromised
I'm curious if anyone is tracking transactions against the wallet addresses in the malicious code - I assume that is essentially the attackers' return on investment here.
dafelst··on I'm absolutely right
I would call it a meme
← PreviousPage 2 of 8Next →