HNHacker News
TopNewBestAskShowJobs

embeng4096

351 karma · joined February 18, 2020

Electrical/computer engineer by training and trade
submissionscomments
embeng4096··on Practical Guide to Bare Metal C++
I took a brief skim through so apologies if I missed that it was mentioned, but wanted to bring up the Embedded Template Library[0]. The (over)simplified concept is: it provides a statically-allocated subset (but large subset) of the C++ standard library for use in embedded systems. I used it recently in a C++ embedded project for statically-allocated container/list types, and for parsing strings, and the experience was nice.

[0]: https://www.etlcpp.com/

embeng4096··on Practical Guide to Bare Metal C++
+1 to this and your above points (the embedded team I'm on has started using C++ over the last year or so).

I've definitely learned a lot, and I like the portability of CMake for cross-platform use (our team uses all 3 of Windows, Mac, and Linux). My experience sounds much like yours: there've been a lot of times where using the vendor's flavor of Eclipse-based IDE (STM32CubeIDE, Renesas e2studio, etc) would have saved us a lot of discovered work, or extra work adapting the "happy path" to CMake and/or C++.

Using C++ and/or CMake is fine when it's part of the happy path and for simpler things e.g. STM32CubeMX-generated CMake project + simple usage of HAL. For more complex things like including MCUboot or SBSFU, etc, it's forced me to really dig in. Or even just including FreeRTOS/ThreadX, we've created abstractions like a Thread class on top -- sometimes it's nice and convenient, others it feels like unnecessary complexity, but maybe I'm just not used to C++ yet.

One clear, simple example is needing to figure out CMake and Ninja install. In an Eclipse-based IDE, you install the platform and everything Just Works(tm). I eventually landed on using scoop to install CMake and Ninja, which was an easy solution and didn't require editing my PATH, etc, but that wasn't the first thing I tried.

embeng4096··on Smartphone market forecast to decline this year due to memory shortage
AO3 also allows downloads of different formats including epub. I often download the epub (or use fichub for other sites) and read on the Epub Reader app. If I want to read on my Kindle app or my physical Kindle, I'll send the epub to my Amazon library via email.
embeng4096··on Show HN: I made a memory game to teach you to play piano by ear
Former band kid who also just got a digital keyboard. Ime learning to read the staff just came from putting in the time on the instrument, but I’m also looking for ways to speed that up. I had the idea of making flashcards and even putting it into an SRS like Anki to see if I can make the process of (re-)learning the staff faster and make it stick. If you come across anything that would help I’m interested too!
embeng4096··on Ask HN: How to do a Personal Cybersecurity audit
I just came across this checklist the other day: https://andrew-quinn.me/digital-resiliency-2025-checklist/

In addition to the short checklist, the author has a lengthy blog post describing its implementation in his life: https://andrew-quinn.me/digital-resiliency-2025/

embeng4096··on The long wait is over, Ganymede has arrived
I just switched to EndeavourOS for 95% of my home computer needs last week (I left my Windows install on a separate drive for gaming and especially those that require super invasive anticheat, e.g. AAA multiplayer FPS) and it has been a wonderful experience so far.
embeng4096··on Uv is the best thing to happen to the Python ecosystem in a decade
Would creating a `main.py` with the dependencies installed either as a uv project or inline work for you?

One thing I did recently was create a one-off script with functions to exercise a piece of equipment connected to the PC via USB, and pass that to my coworkers. I created a `main.py` and uv add'ed the library. Then when I wanted to use the script in the REPL, I just did `uv run python -i main.py`.

This let me just call functions I defined in there, like `set_led_on_equipment(led='green', on=True)` directly in the REPL, rather than having to modify the script body and re-run it every time.

Edit: another idea that I just had is to use just[0] and modify your justfile accordingly, e.g. `just pything` and in your justfile, `pything` target is actually `uv run --with x,y,z ipython`

Edit edit: I guess the above doesn't even require just, it could be a command alias or something, I probably am overengineering that lol.

[0]: https://github.com/casey/just

embeng4096··on Always Invite Anna
I also feel similarly about owing people things. I think it does tend to bind people together to have a history of giving to each other and receiving but like you mention, it can be anxiety-inducing as well.

Thanks for the advice, I know there's not really a "perfect" solution, I was just curious about how you've approached it in your own life so I appreciate you sharing.

embeng4096··on Always Invite Anna
Wow, I really relate to this. It got to the point where I was reading self-help about social skills and such, and tried to follow the "always say yes" like you did and "never eat alone" type fluff advice. People had lots of good things to say about me, and I even tried doing things like writing those things down in a gratitude journal or taking screenshots of the texts, etc, to help shift my mindset (unsuccessfully). I still have the low self-confidence and people-pleasing you talk about to this day.

To your last point, I'm feeling much better when not pushing myself so hard to be social but the question I'm grappling with now is somewhat selfish but about how to make sure I have support? E.g. I had a friend who just went through a cancer diagnosis and a lot of us friends and his community rallied for him. It also made me wonder about what happens if I get very sick, or lose my job and don't have a professional network to reach out to or personal/friendship support, or just if my car breaks down at 1am or something, or just being very lonely without real close friends.

How are you reconciling this sort of thing in your own life?

embeng4096··on J-Link RTT for the Masses using Semihosting on ARM
This is really cool to see posted! Today I learned. I’ve used uart and RTT both but this is taking things a step further. Always love to see useful embedded content like this online and on hacker news
embeng4096··on Children and young people's reading in 2025
Humans are irrational. I haven’t fully made my peace with this either but I hope you find some release from suffering against that hypocrisy as well
embeng4096··on Children and young people's reading in 2025
Note the phrase “sweet and steamy” from the subtitle of the very book you link. Tyrant had sexual content, yes - sweetness, steaminess and romance? Not really

Edit: the subtext I’m speaking of is of submission and domination through implicit or explicit coercion. I’m not speaking of sub/dom with connotations of mutual enjoyment and consent, as can be the case in real or fictional situations of romance in general or even specific kinks like BDSM. I may be called sexist for this but my perception is that women can and do enjoy the latter (as the popularity of books like you linked imply) and greatly dislike the former

embeng4096··on Children and young people's reading in 2025
It's funny you say that, because the Tyrant of Jupiter series was written by Piers Anthony, whom I understand to be considered nowadays as problematic and misogynistic. The misogyny shows through, especially in a scene where the main male protagonist is making back room military deals with a woman, and the method of negotiation is, to be rather explicit, a martial grappling match, in the nude, in a zero-G bubble, where the protagonist wins the rounds by physically subduing his woman counterpart and achieving PIV penetration before they separate and go again.

Like I said, I can't recommend that series now that I have a more mature perspective. But I can't imagine that a book written by a misogynistic author with explicit themes of female submission to male authority obtained by use or threats of physical and sexual violence would be particularly appealing to women in general, let alone women who have grown up in a culture that has in recent times had much more acknowledgement of such things, e.g. MeToo, more widespread conversations about toxic masculinity, the oppression of women by physical force and the male-dominated hierarchy that projects that force.

If you disagree and think that young women (and enby people) would find such books appealing though, I'm interested to hear why.

embeng4096··on Children and young people's reading in 2025
+1 to your point about the type of books being popularized.

I grew up obsessively rereading Redwall, Pendragon, RA Salvatore’s stuff, Ranger’s Apprentice, Enders Game, Tyrant of Jupiter, Maze Runner. Like you said, the me of now can’t recommend things like Tyrant, but still I can’t imagine that would have appealed to any of the girls I knew at that time, let alone the young women of today.

By the same token, although I read Twilight and Hunger Games, I never was obsessed like the girls in my classes were. I can’t imagine that boys today are particularly interested in A Court Of Thorns and Roses and the other spiritual successors of Hunger Games, Divergent, Twilight, etc.

embeng4096··on Linux Foundation's updated inclusive language guide
To me as well, either arrogant or obsequious like a waiter at a restaurant saying “alright folks I’ll be your server tonight”. Edit: or as a sibling comment said, pretentious or inauthentic

To GP’s point, “guys” is interesting to me; it feels like a U-shape where people who don’t “get it” think it’s non-gendered, as do people who are very tuned in online (streamers, gaming spaces -which lean heavy male anyway -, highly online twitter types, etc) where cultural trends move and spread quickly. Then there’s kind of the middle I see, think HR activist types (acknowledging that HR does not always mean activist and vice versa) - clued in enough to follow the ideological trends, not quite enough to sense the ongoing shifts in real time. To be a bit reductive, I’d sum it up as something like people carrying the cultural context with them of the 2000s, the 2010s, or the 2020s

embeng4096··on Linux Foundation's updated inclusive language guide
While my feelings are not as strong as yours here, I felt a big relief and resonance reading your closing remarks.

I also have sympathy as, if this thread gets bigger, I bet you get more of the same reactions you’ve already described. Feels to me like this is less screaming into the void for nobody to hear and more into a hurricane where, for your troubles opening your mouth, it gives you back a metaphorical lungful of water to choke on and a metaphorical cloud of debris to batter you with.

Thanks for trying anyway

Edit:

> Thanks a lot, really. I certainly feel more included now.

Sadly, I believe that to them, this is a feature, not a bug

embeng4096··on Building the mouse Logitech won't make
You might be looking for the USB-C version of the Logi Bolt receiver? It's sold out on their website but I'm assuming there's availability on Amazon/Best Buy/eBay, etc. https://www.logitech.com/en-us/shop/p/logi-bolt-usb-receiver...
embeng4096··on Ask HN: Changing Developer Career Specialty
You could try transitioning more gradually by using your full-stack skills to create a website that you send data to via an embedded device (e.g. Pico or bare-metal system), either over Ethernet or WiFi. Even a simple dashboard with a table that shows e.g. HTTP or MQTT updates. For example, hook a temperature sensor up to a Pico or ESP32 (built-in WiFi/BT support), code it to periodically HTTP POST a JSON body with a timestamp, temperature value. Display the data on your website, maybe add tables and sorting, a graph(s) even, etc. That would make use of your existing skills, let you dabble in C and bare-metal programming, and combine the two to have something easily shown to prospective employers. (And show a product that is similar to existing real-world embedded applications)

I'm an embedded guy, the advice above is a reverse of what I've done in the past for clients: I wrote the embedded device firmware and dabbled a little in using .NET to create a portal for the customer to view and manage data from a fleet of devices reporting things like timestamp, battery level, temperature, etc.

embeng4096··on Multiple status ladders are better than a monoculture
The author very briefly mentions "bigtech employees" and "famous bloggers" - I think that's a small part of something larger which is worth talking more about: the internet creates a giant monoculture. I think it takes at least a little more passion and grit to create e.g. YouTube content than it used to 10-15 years ago. Now, you post videos, then see massive influencers (whether you like them or not) such as Mr. Beast and the like, and it's hard not to compare yourself to them. That's just one example but I think it applies to a lot of things: music, visual art, writing, etc. How hard is it now to be #1 rising on RoyalRoad, for example, compared to a year or two after the site started. You start playing guitar and the TikTok/Reels/Shorts algorithm feeds you video after video of pretty darn good amateur guitarists. It can be both inspiring and discouraging to see how big the skill gap is.

Related link: Gwern's "The Melancholy of Subculture Society" https://gwern.net/subculture

embeng4096··on Trump temporarily drops tariffs to 10% for most countries
From CNBC: https://www.cnbc.com/2025/04/09/us-treasury-yields-investors...

> "Perhaps even more alarmingly, U.S. Treasury markets are also experiencing an incredibly aggressive selloff..."

> The largest holders of Treasurys are Japan, China and the U.K.,...

embeng4096··on PySimpleGUI shutting down
The PySimpleGUI repository has updated their readme to announce that the project is shutting down after 7 years. The commit making this announcement is from a day ago: https://github.com/PySimpleGUI/PySimpleGUI/commit/cde2b94f71...

The announcement is not currently reflected on their website (https://pysimplegui.com/).

embeng4096··on Ask HN: How Do You Bookmark?
I have seen on HN suggestions for raindrop.io which another commenter suggested. You may also be interested in notado.app (https://notado.app/) -- I'm not a user, just have seen other HNers mention it alongside raindrop.
embeng4096··on How do non-software engineers feel upon reflection, about their degrees?
I think your university may have fallen short of its goals for the EE or robotics programs.

My EE major started with circuit theory, had labs with Arduinos and advanced to digital logic (embedded software) theory along with labs using professional-grade microcontrollers (TI MSP430, I think). Senior design capstone took us through schematic capture + PCB layout and getting a board fabbed. We did the soldering and populating components on the custom boards ourselves. Granted that was using Mentor Graphics and not Altium, which seems to be industry-standard, but it was still relevant and practical coursework.

embeng4096··on Do It in Jeans First
Maybe the Prana Brion pants? They look and feel like athleisure to me, and I wear them for hiking or under my ski gear.
embeng4096··on Ask HN: What are some (weird) ways you're using ChatGPT?
I have a spreadsheet in which I track various habits: time slept, rise/bed time, yes/no for things I want to do every day, screen time, etc. I took a screenshot and pasted it into chatgpt and asked for feedback and suggestions. It gave me (depending on prompt) suggestions for streamlining it to make it more likely I fill it out, and for writing API/Python code to extract data and visualize it.

I also have a text file where I list various activities that reward points or cost points, which I'm trying to use as motivational scaffolding for being more productive/healthy in my daily activities. I pasted that file into chatgpt and it gave me suggestions for rebalancing various point values and suggestions for other rewards/costs, as well as a structure for bonuses with intent for boosting motivation at certain point thresholds. I found the reasoning for the suggestions to be compelling enough I did actually incorporate a lot of the feedback from chatgpt.

embeng4096··on Siyuan: Privacy-first, self-hosted personal knowledge management software
When I was on Android, I used Markor for text editing and Termux for command line git.

For iOS, I now use Working Copy for git commit/push/pull, and Obsidian to edit text, and I like Obsidian's interface a lot for making quick Markdown edits.

I believe Obsidian has an Android version as well, but I have not used it. I'm not sure if there is an Android version for Working Copy but there may be similar GUI git apps.

embeng4096··on Ask HN: Which blog platform is suitable for personal blogging?
Blot.im - you can write your posts in Markdown, Microsoft Word, Pages, Google Docs, OpenOffice. Your documents can be stored in Git, or a folder in Dropbox, or a folder in Google Drive, and the service publishes them from there. $5/month

(not affiliated, just used and liked it back when I had a public facing blog)

https://blot.im/

embeng4096··on Ask HN: What kind of personal software improved your life?
This looks amazingly good. I had a similar idea I wanted to make (since my spreadsheet is getting big and unwieldy) but no idea of where to start and how to collate/present the data, which it seems like you've figured out; much respect.
embeng4096··on Only 5.3% of US welders are women. After years as a professor, I became one
It's not about the social actions, it's the traits they represent. Are you quick-witted? Do you freeze or overreact and lash out, behave erratically? Do you stay calm? Can you think fast enough under pressure to choose to say and do things that result in laughter or de-escalation, or escalate in a way that shows you're communicating on the same level (i.e. tease back, but not overdo it and insult the other person)?

If I can't stay calm and think rapidly under mild social pressure without threat of bodily harm or lost lives, I personally wouldn't feel honest in telling my teammates, "yes, if you or I are in a situation with risk to life or limb, you should trust that I'll handle it appropriately and protect myself and/or you."

embeng4096··on Notepad++ is 21 years old
Vim keybind for jumping to the definition of the symbol under your cursor, I believe
← PreviousPage 2 of 4Next →