Feed

Thinking about codegen

In recent LLM model experiments I've been thinking a lot about how to get codegen into the workflow. For a lot of tasks, conventional (javascript) code would be faster, cheaper and less prone to error than an LLM call. I'd like to have the LLM generate that code once -- then the game becomes how to encapsulate, verify and sometimes modify the code it generates.

Some inspiration:

Future of Coding: Pygmalion

The Pygmalion podcast episode of Future of Coding. This keeps turning over in my head. Particularly the 'code by example' bits, and the partial execution. Feels to me like there's some loop for an LLM to try generating a call, and then if the result doesn't parse or pass some verification process, it opens up a teach-by-example workflow.

Parameter tweaking

Silicon Jungle exploring parsing generated code for parameters. This has ties to parametric UI like dat.gui. I also see people generating things like this with Claude artifacts. Maybe parametric tweakability is another piece of the puzzle.

Reactive flows

Orion Reed on stitching elements reactively together. This is a slightly different path, I think, but lots of great patterns.

Starting point

I need to pick some simple-but-not-too-simple task, and start working through the workflow.

It varies a lot day-to-day but I think it's safe to say I'm mildly stressed about the overall impact of AI. I've worked with machine learning for a long time now -- falling into with Fast Forward Labs ten years ago.

At their best, I think current developments encourage me to think about what I want -- out of work, out of computers. There's parts of some of my past work where I think the idea was part of what made it interesting to others, but also a big part was that I put in more work (as the Penn and Teller quote goes) than a reasonable person was willing too. The need to put in work in that specific way seems to be going away (the code could be generated instead).

There's still places to put in the work: carving the joints is partly me trying to work that out. In figuring out how to put systems together, and the experience of that past work will aid in that... but it does feel like it will be different.

Maybe part of it is just more career-based. Somewhere in my head I think I had software developer as relatively interesting work I could always fall back on. I don't think it's going away, but I don't think it will continue as it has been either.

Stopping for tonight but I want to keep exploring and drilling into this.

Riding home on the train. The repo on my work computer isn't up-to-date, but since these are all markdown files I can write and trust it will work when I upload later.

A bit of a dip in my new writing habit, mostly because my parents were in town for the weekend. Also maybe have some sort of lingering illness. Hoping it's just a temporary blip. I'm still enjoying the idea of this blog.

Been trying to take some stock of where my work and projects are at. The pace of AI experimentation feels a bit exhausting, and a lot of it feels like hype. At the same time there do appear to be some movements towards steerability, to interaction at a more feature-based and interpretable level that are interesting to me. I'm still looking to carve at the joints and put the right pieces together in the right order to make something that feels empowering and extended, rather than a replacement. But it varies day-to-day how achievable and likely I think that is.

One thing I'd like to explore more is how I should treat AI advancements in relation to kind of daily programming. I think Maggie Appleton mentioned feeling like focusing on craft in web engineering now feels a bit like you're working in the twilight of an era.

That fits with something I heard at the Infinite Wonderland event with Google. One of the artists, I think it was Shawna X, talked about an issue with AI speeding up the creation process too much. Where you didn't have this kind of ramp up time with an idea, where you're doing something like sketching or picking colors (or in my case I feel like the equivalent is kind of getting a project repo ready, getting everything structured, etc.). Your brain is often processing the larger project in the background during this period. There's this nice feeling of kinding of sharpening your tools as the shape of the thing hopefully starts to untangle a bit in your head.

If you can go from idea to prototype (or even artifact) too fast do you lose that valuable processing time?

Of course, as was brought up at the event, there's nothing stopping you from doing things the old way, from spinning up just how you want to. And the perspective that emerges from that may be even more valuable if others are skipping it. Everything should shake out. But it's hard to trust in the sort of deluge of things created (but that could make it all the more valuable to do).

Knowing how to do things

Two comedy clips I think about surprising often. Tim Robinson on how not everyone knows everything:

Harris Wittels on not being impressed by juggling:

If you know how to do something it is because you learned how to do it. If you don't know how to do something it's because you haven't learned how to do it.

Kind of comforting.

(Clips from I Think You Should Leave driving sketch and Comedy Bang Bang Farts and Procreation 4.)

Now writing this on the porch with the AR glasses. I think I finally got Network Manager set up so I feel more confident I can take these and connect to wifi outside of my own. Maybe I'll take them on their first train ride tomorrow.

I'm happy I've gotten as far as I did on this blog but I'm not quite sure how to use threads and untitled posts yet. Untitled posts feel weird even though part of the goal was to normalize that. Threads feel weird to, like it feels like I'm really declaring something important for it to be a thread. I want it to feel lightweight.

Writing this from the backyard using the AR glasses plus the mini PC in the cross-body bag. Trying to get more of a feel for it. Definitely still a lot of wires to track, and I don't trust things like the bluetooth keyboard to work all the time. The transparent mode is pretty, though.

Meeting Mr. Kid Pix

I really enjoyed Meeting Mr. Kid Pix by jeffrey aka Whistlegraph on Twitter. I appreciated the sincerity of both him and Craig Hickman. So nice to see people putting effort to understand + be understood.

This does touch on something I've tried to nail down before in regard to creative tools and video games.

If Kid Pix is so delightful (it is) what does it mean that it is a delightful paint program? Rather than a delightful video game?

Even if the produced image isn't the point, that you're manipulating an image is some part of it. That you see images all around you and now you're enjoying making them. It's got to be (I think) something to do with feeling agency. Video games give you agency too, but with a closed world (that's oversimplifying).

I can't fully articulate it! But it seems useful to keep returning to.

It would be cool to make using the garden a fullscreen terminal experience. Fzf menu is already pretty close, maybe I just need like an ASCII art welcome message, and I should clear terminal history on menu open.

I added month section subheaders to the main page and changed the timestamp display. I think I am mostly happy with it though I'm a bit concerned I'm getting too fiddly.

Garden TODO

  • Sloth favicon (in green?)
  • Bash + fzf admin script
    • build
    • build with images
    • commit and push
    • deploy (really just subtree push)
    • pull rebase
    • new_post
    • dev (run local server)
  • Figure out partial/diffed rebuild
  • Figure out pagination (big topic)
  • Multiple image post styling (Twitter style)

It happened to me

I was writing a lot and then I decided I needed to redo the blog and then I thought I can't write more until I finish redoing the blog and so I wasn't writing.

So I pushed this version. It's more like Twitter, with individual entries and also the ability to thread. There are some unaswered questions (like pagination). I also can't decide if I should move all my feed posts in here. They might overwhelm the writing posts, but I think I'd like to figure out a way everything can live together.

I changed from bash scripts to typescript scripts, which has been helpful for organization. It's going well but I can also feel it in danger of sprawling out of what I can hold in my head -- and I feel like that is dangerous for solo projects, it's where it starts getting harder to jump back in and tinker. I should think about consolidating and carving up the pieces to make it easier to work on pieces at a time without feeling the stress that the whole thing might break.

Blog post gif slideshow

Seeing the OG images I generate for this blog has me thinking. If you split a blog post by paragraphs and generated PNGs, and then you stitched those into a GIF with the frame time based on text length... that would maybe be a portable / embeddable blog post? Not good for accessibility and not to replace the post, but maybe an interesting derivative.

How this works

This site is a bash build script that concats HTML together. I also put together a little start script using fzf that has some common task options new_post / build / commit. I really like the feel of the starting bash script - it makes it feel like writing in this blog is its own little dedicated computer program.

The source for this one is viewable on github.

I think I'm going to try a new blog concept (a continuation of the thread-focused blog idea), that combines what I do on feed.

Restarting is maybe a bit risky, since I think I have about three blog-like things I've made over the past few years, and this one I'm at least writing in. I resolved to keep writing in this one until the next one's real.

I'm hopeful the new one will get going though. I'd really like these kinds of posts to live next to lighter-weight screenshot + gif posts. I feel like I have good sense of how to keep the pieces relatively simple, and as long as I stick to well-trod ground for a lot of the pieces I can get decent AI generated code for a lot of it. Then I can hopefully splice and stitch that together into a lively little website.

So far I made an image uploader for s3, when some auto-resizing capabilities built-in. One of the downsides of when I used to have a static blog on github pages was how, over time, the images did come to dominate the repo size. I want to split out that chunk, wrap it up, and plug it in where I need it.

I (with ChatGPT assistance) got the uploader tool up on a password protected subdomain, being served through a droplet. Even did the nginx reverse proxy with SSL and feel like I pretty much understand how it's all working.

Basically want to put together a bunch of little web tool capabilities for myself and then start putting them together. Keeping the pieces big and blocky so they can be torn down or replaced or reconfigured.