Christopher Swenson (Cupcake)'s Avatar

Christopher Swenson (Cupcake)

@swenson.io.bsky.social

I like cats, sorting, cryptography, math, and programming. Software engineer usually. Wrote a cryptography book and a sorting library. he/him

60 Followers  |  73 Following  |  36 Posts  |  Joined: 13.08.2023  |  2.5388

Latest posts by swenson.io on Bluesky

Reading this now and... wow

19.08.2025 03:01 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I almost suggested RISV-V yesterday when I saw the mugs but thought they would be less fun since RISC-V cheated and just aliased them a0, a1, etc. :D

18.08.2025 19:57 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Itโ€™s a bit of a mess right now. Iโ€™m slowly cleaning it but can post pics eventually.

17.08.2025 20:19 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

One of my greatest achievements in life will always be that I was on a 1-1 call with a billionaire and my home office was way nicer than theirs.

17.08.2025 16:40 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Having a week off work spent largely around folks at WorldCon has the problem of giving me lots of writing ideas (fiction as well as tech) and the illusion that I have time to work on any of them.

I might start by making a few zines for my next tech conference.

16.08.2025 22:26 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Iโ€™d consider myself on the skeptical side of AI realist, but as you point out, itโ€™s extremely polarizing and a lot of people donโ€™t listen to reason or fail to understand the abilities and limitations on both sides.

16.08.2025 20:44 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Git along now Look around you. Do you feel like maybe it would be nice to be able to have relational databases in your nice safe DCVS? What about streaming releases? What about coders who might be scared about screwing up? Do you actually roll all your code libraries up into the version control, or do you reference them? Does that feel like a safe way to operate?

Git along now

Look around you. Do you feel like maybe it would be nice to be able to have relational databases in your nice safe DCVS? What about streaming releases? What about coders who might be scared about screwing up? Do you actually roll all your code libraries up into the version control,โ€ฆ

11.08.2025 22:28 โ€” ๐Ÿ‘ 22    ๐Ÿ” 9    ๐Ÿ’ฌ 6    ๐Ÿ“Œ 2

Weโ€™re absolutely in a sunk-cost fallacy now that git has won, and itโ€™s super hard to break out. jj is trying (and Iโ€™m seeing more traction on it than anything else new), but even it is kind papering over problems rather than something fundamentally new.

Wish I had time to work on this problem :)

12.08.2025 19:54 โ€” ๐Ÿ‘ 1    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

32 cores really helps chew through big compiles and test suites. It has really paid for itself in terms of giving me time back in my life so I donโ€™t have to wait as much. :)

03.08.2025 15:12 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

4m17s on my 6-year-old Threadripper 3970X (bare metal Linux).

The link time at the end really levels the playing field.

Those Apple chips are amazing thanks to a bunch of factors, not the least of which is their monstrously oversized L1 cache.

And WSL file system performance is :(

03.08.2025 11:33 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I think my house has a better backup and continuity of operations plan than most small businesses.

28.07.2025 16:22 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Gotcha. Itโ€™s more about understanding and taking active ownership of your risks rather than saying โ€œif you canโ€™t operate without grid electricity you arenโ€™t a real business.โ€

28.07.2025 15:46 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Do you mean, cannot operate when grid power goes out because you donโ€™t have backup power or laptops, or cannot operate because you rely on electricity?

Either way, weird take, as it implies all heavy industry and manufacturing is a hobby and not a real business?

28.07.2025 15:32 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

My young parents (early to mid 20s) would watch Letterman most nights in the 80s, which I recall ended around 12:30am in our time zone? Then be up at 6:30 or 7 I think.

I have pretty bad insomnia these days so I could see myself watching those shows if they were something I enjoyed.

27.07.2025 22:10 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
The three nephew ducks in DuckTales saying โ€œquick, a human ladderโ€ when climbing on each othersโ€™ shoulders.

The three nephew ducks in DuckTales saying โ€œquick, a human ladderโ€ when climbing on each othersโ€™ shoulders.

Areโ€ฆ the ducks in DuckTales humans???

This opens up so many questions.

23.07.2025 22:20 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Most were flat out wrong and one was close but cheerfully gave me something like two hundred lines of code.

(The solution is about 2โ€“3 lines of code.)

But in the end I wasted way more time trying to coax AI into giving me something than it took to just remember or re-derive how to do this.

10.07.2025 19:57 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

For example, I wanted to replace a simple for-loop calculation for CRC8 to use carryless multiplies instead (which are single instructions in my CPU) to save time and space.

I asked a few AI tools to write a function to compute CRC8 with carryless multiplies, and all gave me wrong answers.

10.07.2025 19:57 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
AI slows down some experienced software developers, study finds Contrary to popular belief, using cutting-edge artificial intelligence tools slowed down experienced software developers when they were working in codebases familiar to them, rather than supercharging their work, a new study found.

Reading www.reuters.com/business/ai-..., and this mirrors some of my recent experiences.

10.07.2025 19:57 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Wait, that appears to be doing MAC separately from the encryption? So the ciphertext isnโ€™t protected by the MAC?

As to the other points, Iโ€™m much more worried about the weak sauce GCM auth tag, as Iโ€™ve seen systems where that can lead to problems.

08.07.2025 05:04 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

nah this guy is return code 0: perfection

27.06.2025 14:40 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
ChatGPT failing to render the letters MCU

ChatGPT failing to render the letters MCU

Post image

ChatGPT is really bad at making ASCII art

19.06.2025 01:24 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

๐Ÿ‘‹

07.06.2025 15:18 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

My worry is that a system that (for now) sits on top of git and requires interacting with the git ecosystem will mean that now you have to be an expert in both jj *and* git. But maybe that fear is unfounded as jj can make things easier, not harder.

07.06.2025 10:55 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I'm seeing a lot more talk about jj (version control system) lately. It seems potentially useful to me, but I'm very familiar with git.

Has jj been useful to people who are newer to git? Do you find it makes interacting with, say, GitHub and GitLab easier or harder?

07.06.2025 10:55 โ€” ๐Ÿ‘ 1    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Customers find the book well-written for the average reader and extremely interesting, with one review specifically highlighting the eye-opening insights into NecroSearch. They appreciate the forensic science content, with one customer noting how the author makes the process palpable. The book receives positive feedback for its case histories, with one review mentioning detailed breakdowns of crime scenes. The sex scenes receive mixed reactions from customers.

AI-generated from the text of customer reviews.

6 customers mention "Sex scenes"
3 positive
3 negative

Customers have mixed opinions about the book's content, with one finding the team members and volunteers interesting, while another finds the investigations tedious and draining.

"...The backgrounds of some of the team members are also interesting. They come from many professions with different skills and interests...." 

"...Investigations are tedious and draining, and crimes can take years, even decades, to solve, not 45 minutes as on "CSI.""

"...What kept me coming back was the human side of the researchers and the closure for the families."

"...What I didn't like was that too much space was giving to long, boring explanations of some of the techniques and how they were developed...."

Customers find the book well-written for the average reader and extremely interesting, with one review specifically highlighting the eye-opening insights into NecroSearch. They appreciate the forensic science content, with one customer noting how the author makes the process palpable. The book receives positive feedback for its case histories, with one review mentioning detailed breakdowns of crime scenes. The sex scenes receive mixed reactions from customers. AI-generated from the text of customer reviews. 6 customers mention "Sex scenes" 3 positive 3 negative Customers have mixed opinions about the book's content, with one finding the team members and volunteers interesting, while another finds the investigations tedious and draining. "...The backgrounds of some of the team members are also interesting. They come from many professions with different skills and interests...." "...Investigations are tedious and draining, and crimes can take years, even decades, to solve, not 45 minutes as on "CSI."" "...What kept me coming back was the human side of the researchers and the closure for the families." "...What I didn't like was that too much space was giving to long, boring explanations of some of the techniques and how they were developed...."

The AI generated review summary for "No Stone Unturned: The True Story of the World's Premier Forensic Investigators" says users had mixed reviews of the *sex* scenes. ๐Ÿซ 

30.05.2025 04:20 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I convinced my first publisher to dust off a LaTeX workflow but that was a while ago. Another used asciidoc, which was still preferable to Word.

22.05.2025 02:14 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Piranha 6DDDD

05.05.2025 15:36 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I've been rereading Soul of a New Machine while I've been doing a lot more hardware work (I've spent a lot of time learning Verilog and FPGAs lately). It's shining a different light on the book, almost like reading I'm reading a different book this time.

20.04.2025 04:05 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

there's a hoopy frood who knows where their towel is

23.03.2025 04:27 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

But that episode specifically tells you Donโ€™t Cry.

16.03.2025 18:25 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@swenson.io is following 20 prominent accounts