{"meta"=>"Living Code is Dethe's blog about code, life, etc.", "subtitle"=>"Living Code is Dethe's blog for talking about code, life, and all the rest. Black Lives Matter. Defund the police. Free Gaza. End all Genocides. "}
Today’s rewrite (I will get to other things soon) is of J.J. Cale’s song “Cocaine.” Usually attributed to Eric Clapton, who had a hit with it. We were having a BBQ at my housing co-op to celebrate signing a new lease with the city for the land under our building. Now, the city does not own the land, it being land stolen and unceded from the hən̓q̓əmin̓əm̓ and Sḵwx̱wú7mesh speaking peoples, the…
Eight years ago, two little balls of fur entered my life. I have had pets before in my life, but none have been as life-changing as these two, so I wanted to make a post to appreciate them. After rejecting my attempts to name them, my younger kid named them Red and Paperclip after a famous red paperclip . Red is black and white and Red all over. Paperclip is long, thin, grey, and could probably be…
Yesterday’s poem rewrite was actually triggered by this song rewrite that happened earlier in the day, and this rewrite was triggered by my brain randomly deciding that L.A. (as in Los Angeles) should be pronounced “la” like the note between “so” and “ti” in the song from Sound of Music. Why my brain thought that would be a good idea is beyond my ability to explain, but once I’d thought it,…
I have been writing some new songs lately, and also writing new words to other people’s songs. Today’s is not a song, but a poem. Monday’s child will mask their face, Tuesday’s child leaves no trace, Wednesday’s child defeats their foe, Thursday’s child fights status quo, Friday’s child supports mutual aid, Saturday’s child unionizes to get paid, And the child that is born on the Sabbath day Is…
Alright, I’m getting tired of trying to read (and write) what ought to be blog posts in long Twitter threads, so I’m dusting off my old blog. Also retiring my roll-your-own blogging tool which was basically a poorly coded version of Jekyll anyway (in my defence, Jekyll didn’t exist when I first wrote it). I did spend some time trying to bring the old beast forward into Python 3 idioms, but it was…
When the zombies came, we were ready for them. Well, kind of ready. My friends and I were in the SCA, the Society for Creative Anachronism, and we all had broadswords, and Eddie had a crossbow. We took over St. Monadnock’s, the local high school, right away because it had an auto body shop, a wood shop, a metal shop, an industrial scale kitchen, and let’s face it, it was built like a prison, so we…
“Gha,” Greeble threw the gizmo against his desk, “what an anachron! No description, no lifecycle, no bill of materials, not even a website. How can I recycle it if I don’t know what’s in it?”
I’ve been thinking a lot about generic methods, aka multimethods, aka multiple dispatch. The idea, as I understand it, is that instead of dispatching a method on the type of it’s class, to dispatch it on the arguments passed at runtime. I could use this while I’m rewriting Waterbear , to help simplify both the runtime code for blocks and to avoid having many blocks that only vary on the types of…