Better HN
topnewbestaskshowjobs
Log inSign up

kahlonel

482 karma · joined Jan 11, 2017 (9y ago) · 225 submissions

Embedded Software Architect
Submissions

comment 9mo ago · link · parent

Wrong. I’m still doing it.

comment 10mo ago · link · parent

99% people in this thread have no idea what you mean. And that’s the reason projects like these make it to frontpage every other day and have hundreds of upvotes/comments.

comment 11mo ago · link · parent

Embedded software developer here, with very minimal professional hardware design experience. I mostly write nostdlib C, and never use malloc. I write peripheral drivers from scratch even if there’s an “SDK” for it. I spend almost 40% of my time reading documentation, 30% scribbling state machines, 15% writing code and 15% testing it on hardware. LLMs don’t help me much. I use them to write scripts for me to parse my stdout and find patterns. For breakfast, I fight EEs to prove their hardware doesn’t work. I have exploded hardware setups for the products I’m developing for on my desk. JLink is the favorite thing in my aresenal. Even the slightest latency on my text editor annoys the shit out of me, which is why I don’t use IDEs.

comment 11mo ago · link · parent

Now we have vulnerabilities in two different flavors.

5.

Security issues discovered in sudo-rs(lists.debian.org ↗)

24 points · by kahlonel · 1y ago · 15 comments

comment 1y ago · link · parent

That's a great example of how to write C in 2025. Congrats and well done.

comment 1y ago · link · parent

PuTTY was the first tool I ever used to SSH into a machine. My mind was blown when me and my friend wrote to the same file and could see each other’s sentences.

comment 1y ago · link · parent

Flash

comment 1y ago · link · parent

Awesome write up! Please don’t mind the hostile crowd here. They don’t like anything other than their favorite language on the front page. There’s a much bigger silent majority that still loves C and the things you can do with it.

comment 1y ago · link · parent

Imagine going out, calling someone the N-word, and only getting 0.0379% of your income as a fine.

comment 1y ago · link · parent

You mean the implementation is faster than the one in C. Because nothing is “faster than C”.

comment 1y ago · link · parent

Because it’s the only language that doesn’t get in my way / add another cognitive layer to deal with. My modules can be as simple or as complex (by combining simpler ones) as I want.

comment 2y ago · link · parent

It’s “undefined behavior” because on certain embedded systems NULL (i.e. 0) is a valid memory address that can be read/written to.

comment 2y ago · link · parent

Using setbuf(stdout,NULL) also disables the buffering.

15.

Virgin Orbit to lay off about 85% of staff(reuters.com ↗)

1 points · by kahlonel · 3y ago · discuss

comment 3y ago · link · parent

I’m fine with it if they decrease the subscription fee to a quarter. Nobody I know has 4 TVs in their house. Charging for “4 screens” while enforcing this new policy is a simple cue to unsub Netflix for good.

comment 3y ago · link · parent

There’s nothing unpopular about this. In fact this is the most popular opinion on HN.

comment 3y ago · link · parent

Remind me when this company goes bankrupt with millions of investment down the drain

comment 3y ago · link · parent

All the best! There are many _huge_ projects written in pure C. Don’t let people tell you C is bad for your project size.

comment 4y ago · link · parent

What a nightmare. I would never own a Tesla even if I get it for free.

comment 4y ago · link · parent

As someone who likes to keep in check what’s going on back home while being permanently away from it, I HATE how twitter trends are hijacked by political parties to shit on the other parties. There trends are purely dogshit and nothing more than memes. There is no value I get from the trending section. Anything important is lost in the noise. I tried to switch to Worldwide trends I remember twitter used to have but got rid of it for some reason.

comment 4y ago · link · parent

Finally someone said it. Terms like “realtime” and “baremetal” are used in such vague manners that they have lost their original meaning.
12345
8