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.
HN user
leonheld
I write here https://leonardoheld.ovh/ and here.
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!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.
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.
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.
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?
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.
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!
Has been done: https://youtu.be/Z1Nf8KcG4ro?t=1107
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.
I... did not know that! Yep yep that should do the trick for me. Thanks a lot, actually!
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 ;-)
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.
I was like 4 years old when git was released, so I'm unaware of any of this. Sorry.
Sadly my only experience with Pijul was this https://github.com/Eugeny/russh/issues/151.
When one of the key guys behind the VCS says things like "especially when the alternative is something as broken as Git" about other control systems I really don't feel like using said tool.
Oh God, this is such an astute observation. I think it worked so well on me that I didn't even think about the "deep" portion initially. Goes to show how effective these things are psychologically.
I think we should give priority to the people who are no inside multi-ton metal boxes, pollute less, can get on average healthier due to walking etc etc... At least inside our cities.
RISC-V is an open-source instruction set architecture (ISA) poised to make personal computing more, well, personal
Eerrr, how exactly? RISC-V is poised to make companies not pay the ARM fee. That's it.
I come from quite a small town and to my surprise there are still shops that develop film for roughly the same price point as twenty years ago. I guess they have a lot of those older people who never "got on with the times" and were able to always make a living out of it. Travelling 200km to the big town and prices to develop film more than quadrupled in the same time.