HNHacker News
TopNewBestAskShowJobs

gr4vityWall

930 karma · joined March 5, 2024

submissionscomments
gr4vityWall··on NPM to implement staged publishing after turbulent shift off classic tokens
Last time I checked, the only way to publish to it was through a GitHub account. I hope support for other providers got/will get added.
gr4vityWall··on NPM to implement staged publishing after turbulent shift off classic tokens
In other words, it didn't hit any people running Stable distros, only users on Beta versions or rolling releases.

Sounds like an improvement - having beta builds for people to catch those before they arrive in a stable GNU distribution seems the ideal workflow at glance.

gr4vityWall··on NPM to implement staged publishing after turbulent shift off classic tokens
Agreed on the "this needs to be Debian" part. If some of the most popular JS packages were available through the system package manager as normal *.deb packages, I think people would be more likely to build on top of stable versions/releases.

Stability (in the "it doesn't change" sense) is underrated.

gr4vityWall··on Monads in C# (Part 2): Result
I had a similar impression with using those constructs on TypeScript.

IMO it's hard to justify creating Option<T>/Result<T,E> wrappers when T|null and T|E will work well enough for the majority of use cases.

effect specifically feels like a different programming language altogether. And maybe going that path and compiling down to TS/JS could've been a better path for them. I'm not on the ecosystem though, so it's an uninformed thought.

gr4vityWall··on Databases in 2025: A Year in Review
Didn't know MongoDB was suing the company behind FerretDB. That's disgusting.
gr4vityWall··on Approachable Swift Concurrency
Not the person you replied to, but:

- Performance on game servers

- Thoughts on concurrency in general, including whether you'd use the same primitives to achieve what you did back then

- Areas where you felt the tooling was lacking, or if the language could have constructs that would make that problem easier

That's it on a surface level! Your experience seems really interesting, and I'd love to read more and learn from it.

gr4vityWall··on Approachable Swift Concurrency
> If the runtime thread pool is heavily loaded and only one core is available, they will only be concurrent, not parallel

Isn't that always true for thread pool-backed parallelism? If only one core is available for whatever reason, then you may have concurrency, but not parallelism.

gr4vityWall··on Unity's Mono problem: C# code runs slower than it should
I wonder what those benchmarks would look like with .NET 10 and an AVX512-capable CPU.
gr4vityWall··on Is Mozilla trying hard to kill itself?
> Mozilla believes in the value of an open and free (and thus ad-supported) web.

> and thus ad-supported

What a sad view of the web. Advertisement is a net-negative for society.

gr4vityWall··on Is Mozilla trying hard to kill itself?
People seem to forget the non-commercial web ever existed.
gr4vityWall··on Is Mozilla trying hard to kill itself?
> You wouldn't calculate the expected RoI of killing adblockers if killing adblockers was never considered.

I agree, although if someone isn't the kind of person who would calculate that, they're probably not the person who will become the CEO of a company that size in the first place. I don't think organizations have the right incentives in place to push people with those values to the top.

gr4vityWall··on I tried Gleam for Advent of Code
Thanks for the clarification. I've read about Gleam here and there, and played with it a bit, and thought there was no way to directly access OTP through the Erlang libraries.

This can be just my lack of familiarity with the ecosystem though.

Gleam looks lovely and IMO is the most readable language that runs on the BEAM VM. Good job!

gr4vityWall··on Booting Linux in QEMU and Writing PID 1 in Go to Illustrate Kernel as Program
The writing is really succinct and easy to follow.

One thing that could be improved is that the author could break down some of the commands, and explain what their arguments mean. For example:

> mknod rootfs/dev/console c 5 1

Depending on the reader's background, the args 'c', '5', and '1' can look arbitrary and not mean much. Of course, we can just look those up, and it doesn't make the article worse.

gr4vityWall··on I wasted years of my life in crypto
> an insane number of 'illegal' immigrants

Immigrants can request a CPF (the 'national ID'). I don't think being in the country 'legally' is a requirement, that isn't enforced the way it is in the US.

> people living in Favela who essentially don't even recognize the state

Most people get assigned an ID at birth. And people who live in a favela often have to work outside it, and they interact with most companies/state services that aren't utilities as usual.

Utilities OTOH often get MITM'd by militia/narcos these days though.

> I assume it's something like the US where 10 illegals work under one social security number or a tax ID

No need for anything fancy like that. The poorest people are willing to work based on verbal agreements, as the alternative is either starving, or hoping the public social security network has your back. And in case your employer requires one, that's a non-issue because, except for rare circumstances, everyone has one.

Digital banking, install payments and general smartphone usage is widely popular, including favelas.

gr4vityWall··on I wasted years of my life in crypto
> which web shops demand governmental ID?

Basically all web shops in Brazil require you to give a government ID to buy anything (usually your CPF number).

gr4vityWall··on The unexpected effectiveness of one-shot decompilation with Claude
It doesn't need to be written by a human only, but I think generating it once and distributing it with source code is more efficient. Developers can correct errors in the generated documentation, which then can be used by humans and LLMs.
gr4vityWall··on RAM is so expensive, Samsung won't even sell it to Samsung
> maybe $250/month (...) which you can then use to go and earn 100x that.

25k/month? Most people will never come close to earn that much. Most developers in the third world don't make that in a full year, but are affected by raises in PC parts' prices.

I agree with the general principle of having savings for emergencies. For a Software Engineer, that should probably include buying a good enough computer for them, in case they need a new one. But the figures themselves seem skewed towards the reality of very well-paid SV engineers.

gr4vityWall··on Anthropic acquires Bun
That's fair, but the word 'biased' felt unusual to describe how they perceive the runtime.
gr4vityWall··on Anthropic acquires Bun
> I'll admit I'm somewhat biased against Bun?

Why? Genuine question, sorry if it was said/implied in your original message and I missed it.

gr4vityWall··on Shai-Hulud Returns: Over 300 NPM Packages Infected
I agree with your general idea. I'd add it also looks very similar to what typical GNU/Linux have in practice: blessed packages from the distros' repositories, and third-party repos for those who want them.

Debian also has something 'in the middle' with additional repositories that aren't part of the main distribution and/or contain proprietary software.

gr4vityWall··on Several core problems with Rust
I fully believe you, I don't know what the solution would be either.
gr4vityWall··on Several core problems with Rust
The author would probably find joy in using Zig.

Personally my biggest complain from Rust is that I wish it was more readable. I've seen function signatures that seemed straight out of C++.

gr4vityWall··on We should all be using dependency cooldowns
> there are ways to make it work but it's not automatic like it used to be

Out of curiosity, what would you recommend? And what would be needed to make them work automatically?

gr4vityWall··on We should all be using dependency cooldowns
> The point of javascript is to display websites in the browser.

I don't follow. JavaScript is a dynamic general purpose programming language. It is certainly not limited to displaying websites, nor it's a requirement for that. The improvements I mentioned in the previous post aren't things you'd get the benefit of inside a web browser.

gr4vityWall··on We should all be using dependency cooldowns
> No one can think that js has progressed substantially in the last three years

Are we talking about the language, or the wider ecosystem?

If the latter, I think a lot of people would disagree. Bun is about three years old.

Other significant changes are Node.js being able to run TypeScript files without any optional flags, or being able to use require on ES Modules. I see positive changes in the ecosystem in recent years.

gr4vityWall··on We should all be using dependency cooldowns
The Debian stable model of having a distro handle common dependencies with a full system upgrade every few years looks more and more sane as years pass.

It's a shame some ecosystems move waaay too fast, or don't have a good story for having distro-specific packages. For example, I don't think there are Node.js libraries packaged for Debian that allow you to install them from apt and use it in projects. I might be wrong.

gr4vityWall··on Free interactive tool that shows you how PCIe lanes work on motherboards
> Has the value improved in the last year and a half?

I'd say yes, my reasoning being:

1. DDR5 got more expensive;

2. 16 cores AM4 CPUs are cheaper, partially due to the release of the 5900XT (16C/32T CPU, basically a rebranded 5950X with 100mhz lower single-core boost clock);

3. Lots of gamers selling their used AM4 kits for good prices as they migrate to the 9800X3D.

gr4vityWall··on WebTransport is almost here to allow UDP-like exchange in the browser
Agreed. WebSocket works perfectly when someone wants a lightweight message-based protocol on top of TCP and doesn't want to implement it themselves, potentially in multiple languages. It being originally browser tech became a minor detail.
gr4vityWall··on Ned: ImGui Text Editor with GL Shaders
Wouldn't it look stuttery if the user tried to drag windows or other widgets with a limited framerate?

> What you actually want is low latency

High frame rates directly contribute to lowering latency.

I guess I'm the polar opposite of you here, I heavily prefer low latency/high refresh rates over low CPU/GPU usage, as long as the machine is plugged in to a power source.

gr4vityWall··on Boa: A standard-conforming embeddable JavaScript engine written in Rust
It's an embedded engine for scripting a bigger application. Its main "competitor" would be QuickJS.

Though they aren't really competing on anything as far as I can tell, so maybe calling it a "similar project" is more fitting.

← PreviousPage 2 of 10Next →