News for hackers. Stuff that matters.

leonheld

Re:Ask HN: Can we please limit the AI news flood? on Friday September 11, 2026 @10:00AM (#49658583)
To be clear: I'm not the author. I just use the service.
Re:Ask HN: Can we please limit the AI news flood? on Friday September 11, 2026 @09:15AM (#49657887)
HN is a reflection of the industry and we're at peak hype-cycle at the moment. I use this when I need a break https://elijahpotter.dev/hnsansai.
Re:Run OpenBSD on DigitalOcean for $4/month on Tuesday August 25, 2026 @02:48PM (#49438735)
Man I always look at this project with nothing by awe. I'd love to start something like this... if you're in central Switzerland and would like to copy their model, hit me up.
Re:Fixing a Bricked Framework Laptop on Tuesday August 18, 2026 @06:48PM (#49353908)
> Or some DFU mode you can boot into.

Ironically, Macs do have that, no?

Re:modernish on Friday July 25, 2025 @09:31AM (#44682933)
It's all written in shell, no other dependencies. This is what so many shells that tried to "revitalize" sh missed! I'll definitely adopt this.
My experience with HackerNews would be significantly improved if I could exclude the LLM-related stuff... it's overwhelming.
My apologies: "mydependencies" are packages from PyPI (https://pypi.org/), as if you did "pip install ...".
I adore the

  uv add <mydependencies> --script mycoolscript.py
And then shoving

  #!/usr/bin/env -S uv run
on top so I can run Python scripts easily. It's great!
Re:Cosmoe: BeOS Class Library on Top of Wayland on Saturday June 21, 2025 @07:40AM (#44336741)
Haiku/BeOS to me is simply peak computer design. This is beautiful!
We use it for testing binary embedded Linux distros where tricking the OS to think there's a display connected introduces a new variable that is not present in the user's deployment - and it's a cheap hardware solution. Buying and installing them is probably more cost-effective than having an engineer writing the `echo on > /sys/whatever` and the logic around it.
Re:Launch HN: Nomi (YC X25) – Cursor for Sales on Monday May 26, 2025 @01:55PM (#44099825)
I get nomi.ai, which is a service to:

"... build a meaningful friendship, develop a passionate relationship, or learn from an insightful mentor."

Jesus Christ.

Re:Don't Guess My Language on Monday May 19, 2025 @08:33AM (#44029160)
While others have expressed sentiments about YouTube and Google, let me tell you what I really hate - translated reddit posts.

They're polluting search results and it's the ultimate disrespect against multi-lingual users... it's made my life hell when trying to find localized information (for example, in Portuguese), when my computer is set to Portuguese but I'm searching in English.

Good point. I did not scroll to the rules.
What are you talking about? 25~30k is almost a year's salaries for a dev in Eastern Europe/South America.
If we're talking numbers, there are many, many more embedded systems than general purpose computers. And these are mostly built on ancient process nodes compared to the cutting edge we have today; the shiny octa-cores on our phones are supported by a myriad of ancilliary chips that are definitely not cutting edge.
Re:Spade Hardware Description Language on Monday May 12, 2025 @09:27AM (#43962657)
> Honestly my sense is that it's just time to rip the bandaid off and generate synthesizable hardware from Python or Rust or whatnot.

I worked a bit with VHDL and the parallelism aspect is - to me - so fundamentally different than what our sequential programming languages can express that I'm not sure I a layer of abstraction between this and that. How would that work?

Re:Matt Godbolt sold me on Rust by showing me C++ on Tuesday May 06, 2025 @02:58PM (#43908498)
I love Rust, but I after doing it for a little while, I completely understand the "brain drain" aspect... yes, I get significantly better programs, but it is tiring to fight the borrow-checker sometimes. Heck, I currently am procrastinating instead of going into the ring.

Anyhow, I won't go back to C++ land. Better this than whatever arcane, 1000-line, template-hell error message that kept me fed when I was there.

Re:The True Size Of on Wednesday April 30, 2025 @08:42AM (#43844391)
It's about half of my state in Brazil (which is one of the smallest in the country). However, I've been to Belgium many times and it feels bigger. I think the key is the population density: 388/km^2 in Belgium vs 70/km^2 here. Like, yes, it's big, but empty space is truly boring.
I profoundly do not understand why one needs Hugo or Jekyll or whatever other generator. Why not write HTML in the first place? It's so absurdly easy and it makes you not depend on external infrastructure at all.

I tried some generators but it was so much more complicated than writing a style sheet and some pages. Maybe for some more complex use-case, okay, I get it, but the author's blog is so minimal and simple.

edit: today I learned people have very strong opinions about static site generators. Good valid reasons, y'all. Maybe my use case really is too simplistic!

Ask HN: Where are people sharing their blogs these days?

I really like blogs, and I've started blogging again like this past week. I want to share what I write but get some nice reading lists going to.Today I basically use HN as my blog curator, but I yearn for more.Where do you find a blogging community nowadays? How to discover new blogs and how to share your content?

( Read More... | 24 comments | 2 points | on HN )
Re:Any program can be a GitHub Actions shell on Tuesday April 08, 2025 @10:18AM (#43622080)
It's obvious to you becase you seem like a decent human being, judging from this comment.
The response here would be significantly different if this was about measuring the performance of software engineers in wealthy countries.
Re:How Core Git Developers Configure Git on Tuesday February 25, 2025 @06:59AM (#43170820)
I... did not know that! Yep yep that should do the trick for me. Thanks a lot, actually!
Re:How Core Git Developers Configure Git on Tuesday February 25, 2025 @06:58AM (#43170816)
Nobody is stopping you from using master, you can do whatever you want. The author even recognizes that very clearly in the text.

You can name all your default branches `megazord`. Hell, you can fork git, call it "gitzord" and enforce your `megazord` branch as The Correct Main Branch Name for every user. Feels good to be free, doesn't it?

And PS: I'm not from the USA ;-)

Re:How Core Git Developers Configure Git on Tuesday February 25, 2025 @06:28AM (#43170600)
After using delta for a while, I'm going back to the regular diff view... it's not that it isn't good, but I'm constantly copying diffs (yes, I know I can generate patches) and the pretty output breaks that workflow.

Also, when your terminal is a bit small it's a bit hard to see things. But it's really good software, I recommend anyone who's reading to give it a try.

> I guess some older or more closer to the metal parts will stay in C

I suppose the biggest reason is that C programmers are more likely than not trained to kinda know what the assembly will look like in many cases, or have a very good idea of how an optimizer compiler will optimize things.

This reminds me I need to do some non-trivial embedded project with Rust to see how it behaves in that regard. I'm not sure if the abstraction gets in the way.

> have not yet found a hardware independent Linux distro that can be reliably updated in an IOT context

I'm part of the team that builds an immutable distro based on OSTree (https://www.torizon.io) that does exactly that.

Docker/Podman support is first-class as the distro is just a binary, Yocto-based one that we maintain so users don't have to. You can try our cloud for free with the "maker" tier. To update a device you just drop a compose file with the web ui and massively update a fleet. You can even use hardware acceleration from the containers using our reference OCI images.

The layer is open (https://github.com/torizon/meta-toradex-torizon) and will get Raspberry Pi support soon but you can integrate already easily with meta-raspberrypi (we can also do this for you very quickly ;-)).

Happy to answer any questions.

This comment makes zero sense. It's a meta-distribution: it builds a custom one for you. Professional custom embedded distros are a different beast altogether from the vanilla distros.

Older »