HackerTrans
TopNewTrendsCommentsPastAskShowJobs

leonheld

no profile record

Submissions

Static binaries and Homebrew as a channel for internal tools

leonardoheld.ovh
1 points·by leonheld·ปีที่แล้ว·0 comments

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

33 points·by leonheld·ปีที่แล้ว·24 comments

comments

leonheld
·12 เดือนที่ผ่านมา·discuss
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.
leonheld
·12 เดือนที่ผ่านมา·discuss
My experience with HackerNews would be significantly improved if I could exclude the LLM-related stuff... it's overwhelming.
leonheld
·ปีที่แล้ว·discuss
My apologies: "mydependencies" are packages from PyPI (https://pypi.org/), as if you did "pip install ...".
leonheld
·ปีที่แล้ว·discuss
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!
leonheld
·ปีที่แล้ว·discuss
Haiku/BeOS to me is simply peak computer design. This is beautiful!
leonheld
·ปีที่แล้ว·discuss
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.
leonheld
·ปีที่แล้ว·discuss
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.
leonheld
·ปีที่แล้ว·discuss
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.
leonheld
·ปีที่แล้ว·discuss
Good point. I did not scroll to the rules.
leonheld
·ปีที่แล้ว·discuss
What are you talking about? 25~30k is almost a year's salaries for a dev in Eastern Europe/South America.
leonheld
·ปีที่แล้ว·discuss
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.
leonheld
·ปีที่แล้ว·discuss
> 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?
leonheld
·ปีที่แล้ว·discuss
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.
leonheld
·ปีที่แล้ว·discuss
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.
leonheld
·ปีที่แล้ว·discuss
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!
leonheld
·ปีที่แล้ว·discuss
Has been done: https://youtu.be/Z1Nf8KcG4ro?t=1107
leonheld
·ปีที่แล้ว·discuss
It's obvious to you becase you seem like a decent human being, judging from this comment.
leonheld
·ปีที่แล้ว·discuss
The response here would be significantly different if this was about measuring the performance of software engineers in wealthy countries.
leonheld
·ปีที่แล้ว·discuss
I... did not know that! Yep yep that should do the trick for me. Thanks a lot, actually!
leonheld
·ปีที่แล้ว·discuss
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 ;-)