Adrian Winterstein

@awinterstein
3 Followers
21 Following
16 Posts
new tech warcrime

ppl always complain that the clock on my microwave never shows the right time bcs i cant be assed to set it manually

so now i have an unfuck-microwave.sh cronjob which briefly kills its power every day at midnight
it's truly amazing what LLMs can achieve. we now know it's possible to produce an html5 parsing library with nothing but the full source code of an existing html5 parsing library, all the source code of all other open source libraries ever, a meticulously maintained and extremely comprehensive test suite written by somebody else, 5 different models, a megawatt-hour of energy, a swimming pool full of water, and a month of spare time of an extremely senior engineer
Favorite songs by programming language:
- C: “Segmentation Fault in the USA” by Miley Cipher
- Java: “Pause! In the Name of GC” by The Stop-the-Worlds
- JS: “NaN NaN NaN” by My Undefined Romance
- Perl: “Oops!… I Did It Inline ” by Britney Syntax
- PHP: “Smells Like SQL Injection” by Nirvana Error
- Python: “White Space” by Taylor Slow
- Ruby: “Gems just want to have fun” by Cyndi Looper
- Rust: “Every Borrow You Take” by The Checker
- SQL: “Join Me Maybe” by Carly Rae Schema

I did some reversing/exploring on a widely used IoT product for fun this week, and here’s what I found:

- embedded Linux on an SD card
- SD card not encrypted
- developed by a third party on behalf of the end customer who makes the actual device this thing is connected too
- runs the code in docker containers from a private container repo
- docker credentials for private repo stored locally
- can use docker credentials to access containers for all of third parties customers, not just the one who makes the device
- GitHub creds in bash history
- can access source code for all customer projects using said creds

So things are going well over there.

C++ error handling without exceptions? Can be quite nice with std::system_error and std::expected nowadays!

https://www.winterstein.biz/blog/modern-error-handling-cpp/

#cpp #embedded

Modern Error Handling with C++23 | Adrian Winterstein

With the introduction of std::expected, it is finally possible to use error codes in C++ without the usual hassle. This post shows how.

Dear #OpenSource folks, I'd like to offer #UX help to your teams. I've tried "making a small PR" on projects and it turns out that's TERRIBLE advice for a UX designer. The PR is usually misunderstood or ignored. I don't fault the teams for this! It's just the wrong tool for the job.

So I'm trying something different. I'm offering free consulting time to any project that wants it. Sign up here: https://cal.com/scottjenson/exchange

Idea Exchange | Scott Jenson | Cal.com

Idea Exchange

Cal.com
What I like about this Date Due card in particular (from a deaccessioned book on the history of Vermont libraries which I took home) is that you can see that my library got a stronger privacy policy in 1982.

You’ve heard of Agile management

You’ve heard of test driven development

You’ve heard of pushing to prod on Friday before leaving for the weekend

You’ve even heard of vibe coding

But may I introduce you to “push driven Agile Vibe-based development”?

It takes the best parts of all these concepts and merges them into one seamless process, from starting development with no clear plan, to vibe coding, to no testing, with forced pushes to prod every Friday afternoon!

Extended my #SWUpdate #Yocto guides for automatically installing remote updates from an HTTP server:

https://www.winterstein.biz/blog/yocto-swupdate-remote-server/

Adrian Winterstein | Setting up Remote SWUpdate with Yocto

Guide for extending an SWUpdate Yocto layer configuration for automatic installation of update images provided by an HTTP server.

This response is just a test to show the Mastodon responses feature in my blog.