RSS Amplifier

Blog

Wiredream - Dave Andersen's blog

Dave Andersen's (new) blog

wiredream.comRSS feed ↗5 posts

Latest posts

Boiling with Homeassistant

In some home fun, today I committed this minor atrocity: The wired-in hack before tidying up the wiring And you might rightfully ask, "but why?". And that takes a little bit of explanation. You see, that's a blower fan for a kickboard radiator in my kitchen. When we remodeled the kitchen in the way back days, we removed a big radiator against the wall in order to create room for a door to the back…

Optimizing a power display with Claude Code

I decided to take a more serious stab at using AI code gen for the last few months to understand it better. The experience has been net positive, though mixed, and yesterday's experience optimizing my (internal, personal-use) solar power display was a pretty good example. The system I wanted to play with solar, but can't put it on my 100 year old slate roof. So I DIY'd a teensy garden-top solar…

Learning to Bit Twiddle and Optimize

ENTER STUDENT: You're in 15-213 [1] (or learning that material online). It's time for the bit twiddling lab. Here's the thing about that lab: It can be fairly straightforward or quite difficult depending on your background in things like competitive math and competitive programming. At CMU, the distribution of people's backgrounds on these topics is wide. And if you haven't had an intro to it you…

On LLMs and Code Optimization

Prologue: Well, in the spirit of "own your own stuff", I've decided to claw back my blog onto self-ish hosted space (the blog is static, though I'm not hosting it on my own metal, so it's easy to migrate). Welcome to the new blog, same as the old blog. Max Woolf recently asked whether repeatedly prompting a large language model (LLM) to "write better code" would make it, well, write better code.…

About the Author

Hi - I'm Dave Andersen; I'm a computer science professor at Carnegie Mellon University. My page there has all the boring out of date professional stuff about me. I cook, I climb, I compute, I teach, I have two kids, I live in Pittsburgh. My old blog sits at https://da-data.blogspot.com/ ; it's a bit of an organizational mess. Some day... Social media: Mastodon Bluesky