Welcome to James Brown's blagoblag! This contains various thoughts and opinions, mostly wrong, going back a couple of decades. All of the opinions are my own, and probably not my employer's. Feel free to visit the about page for more useless interesting facts about me.

Some Good Stuff in 2024

It's January 2025, which means it's time to reflect a little about 2024. Last year, I wrote about some video games I liked in 2023, and I thought that for this year, I might expand and just talk about a few things I liked. After all, the world is currently a burning hellscape looking forward to a fascist overthrow of government and a series of apocalyptic wars on a planet no longer suitable to human life and we don't even have the best president in the last 50 years around to help out any more — seems like a perfect time for some consumerist escapism.

this is fine read more

Firefox userChrome Update

If anyone is using the style from my Firefox post a couple of years ago, you may have noted that the userChrome styling broke in Firefox 132; here's the correct new style for the same visual effect:

/* hide the native tabs */
#TabsToolbar .toolbar-items {
	visibility: collapse;
}

/* fix the titlebar color and padding */
.browser-titlebar {
	background-color: var(--toolbar-bgcolor) !important;
	justify-content: space-between !important;
	padding: 8px 0 !important;
	--inactive-titlebar-opacity: 1.0;
}

/* hide the sidebar header so Tree-Style Tabs looks native */
#sidebar-header {
	visibility: collapse;
}

/* Hide the border under where native tabs would be, to get the "unified toolbar" appearance of modern macOS */
#navigator-toolbox {
	--tabs-border-color: transparent !important;
}

/* the coloration of the titlebar to look like a toolbar */
#titlebar {
	background: var(--toolbar-bgcolor);
}

/* hide a single stray vertical line that creeps in if you have tabs hidden */
#titlebar .titlebar-spacer[type="pre-tabs"] {
	border-inline-end: 0 !important;
}

Cheers!

Oh, the humanity

Today was the keynote for Apple's World-Wide Developer Conference 2024, and, as all the pundits predicted, they announced "Apple Intelligence", a new suite of tools building on the current "Artificial Intelligence" hype bubble1. I started out feeling tentatively optimistic that they would continue to use machine learning systems to provide niceties and augmentation — replacing the two-line summary of new mail in Mail.app with auto-summarization, doing automatic segmentation to recolor app icons, improving suggestions of photos from your library that might be fun to look at, better speech-to-text transcription — all of these seemed like totally reasonable features that can be improved by things like vector embeddings, diffusion models, and deep learning transformers.

Then, of course, we actually got to the Apple Intelligence portion of the presentation. In particular, this scene:

Screenshot from WWDC24 of the new text rewriting engine making an email 'Read like a poem'
Fuck. No.

Everybody knows the Steve Jobs line:

Technology alone is not enough. It’s technology married with the liberal arts, married with the humanities, that yields the results that makes our hearts sing.

Well, someone took all of the liberal arts people out of the room when they built this feature and let the Wall Street AI hype-men steer the ship. This isn't a bicycle for the mind, this is a steamroller for the mind. It's a bulldozer that's ready to roll right over any remaining trust you have in the written word; it's taking the tools of disinformation and putting them front and center in our friendships and our personal lives.

Imagine the scene: You're sitting down and you open your email client2. You have a swath of machine-generated spam emails in your inbox warning you that you haven't yet donated enough money to the Biden campaign, that you need to ACT NOW, that a Brand™ you purchased from before is having a sale; somehow, you filter through them all to get an email from your good friend Sole and it's got a quirky poem in it inviting you to a barbecue at his house where you can hang out with your friends. Feels good right? Isn't it heartwarming to have that little touch of humanity, to know that Sole spent a few minutes wordsmithing a fun little poem for this invite? Later, you're talking to Sole and you compliment him on the poem; sheepishly, he responds with "Actually, AI wrote that".

How do you feel in this moment? Is there any scenario where you don't feel cheated? Maybe even lied to? You thought you were getting a personal note from a friend, and it's just more stochastic computer-generated spam. Would you ever read Sole's emails again? I know I wouldn't.

I'm sure this feature got a product manager somewhere a big promotion. Heck, I'm sure there are people who have become so inured to everything being algorithmically-generated spam that they won't even notice or mind that their friends are now sending them messages like this. But, Apple's ethos3 has always been about building tools to empower users to make art, to create, to be original. I don't know what this is, but it sure as hell isn't human creativity.

Let's not even talk about these hallucinogenic "Image Playground" results and the real artists whose work was surely purloined to generate them...4

Apple Image Playground
Apple Image Playground (shudder...)

Maybe I'm alone. Maybe nobody else feels the deep and primal outrage at the thought of parents outsourcing their kids' bedtime stories to artificial stupidity, and at the thought of our friends messages to us being mediated by fancy autocomplete. But, damn! The resounding "who cares" from the tech industry over the last few months, the openness to never being able to tell if written text is actually someone's true thoughts or is just adjacent to their thoughts in a 1536-dimensional vector space... it feels a bit like a betrayal. If you decide you want to use these tools, feel free to leave me off your barbecue invite lists, because I don't think we have compatible values.

1

If you're lucky enough to be out of the loop, this is currently focused on the use of very large neural networks trained on truly enormous volumes of text which are able to do essentially sophisticated autocomplete -- sophisticated enough that people with a really depressing theory-of-mind sometimes believe it's intelligent, even though all it's doing is picking the most statistically-likely next word given the previous words. It's been a real eye-opened watching a lot of business executives give up on the idea that consciousness exists and embrace the idea that a totally deterministic word-picking automaton can replace their workforces.

2

Assuming you're not one of the many folks who has given up on email entirely and just has a counter of hundreds of thousands of unread missives.

3

At least, the ethos that their careful marketing team tries to portray. But, I do know people who work at Apple and do more than pay lip service to it!

4

Let's also not talk about Apple 2030, Apple's pledge to be zero-net-carbon in a scant 6 years, and how this is going to be affected by sending these queries out to OpenAI et al to burn some megawatts on.

2024 GPG Key Update

My GPG key (24F8AA354990F3F562EC014BC6496DEB3DA8E9B5) was set to expire on Tuesday. Rather than generate a new one, I've decided to just extend the lifetime of this one. I've added new EC25519 subkeys if you'd prefer to use more modern encryption, and bumped the expiration by another two years.

Over the last two years, the only thing this key has been used for is as a root of trust for keyoxide; nobody has sent me any mail. Even Facebook dropped support for PGP. Anyhow, the key is still alive if you need to reach me that way. You can also contact me on Signal if you want something more modern!

read more

One of my favorite Ruby snippets

This is one of my favorite Ruby snippets, which I wrote many years ago and tend to sneak into codebases:

class Object
  def if_apply(cond, &block)
    unless cond.is_a?(TrueClass) || cond.is_a?(FalseClass)
      cond = cond.present?
    end
    if cond
      block.call(self)
    else
      self
    end
  end
end

It's super-helpful for cleaning up long method chains when writing in a "pipelined" style. Imagine the following pseudo-Rails code:

class FooController < ApplicationController
  def index
    items = Item.all.order(id: :asc)
    if params[:only_squares]
      items = items.where(square: true)
    end
    if params[:owner].present?
      items = items.where(owner: params[:owner])
    end
    @items = items.paginate(page: params[:page], per_page: 25)
  end
end

This is really noisy. The word items is repeated everywhere. Can we make this look a little closer-to a point-free style? With the .if_apply helper, you can rewrite this as the following:

class FooController < ApplicationController
  def index
    @items = Item
      .all
      .if_apply(params[:only_squares]) { _1.where(square: true) }
      .if_apply(params[:owner]) { _1.where(owner: params[:owner]) }
      .order(id: :asc)
      .paginate(page: params[:page], per_page: 25)
  end
end

If you prefer to avoid the _1 everwhere, you can replace block.call(self) with instance_exec(&block) to avoid that argument... but then you can't reference class variables from the enclosing scope, and you run the risk of calling private methods in the subject, so I try to avoid instance_exec when possible.

Also, .if_apply is a terrible method name, but there are two hard problems in computer science: naming things, cache invalidation, and off-by-terminated by signal SIGSEGV (Address boundary error)...

Apple Vision Pro Demo Thoughts

I just did my free 30-minute demo of Apple Vision Pro at the Apple Store in Emeryville and figured I'd write down my initial reactions:

  1. This is the worst Apple Store experience I've ever had. Apparently the connection between the supervisory iPad and the demo AVP unit is very flaky, and their solution is just to have a lot of iPads. The salesperson doing my demo went through five iPads before getting one connected.
  2. Apple Vision Pro is surprisingly... not that heavy. I expected to really feel it, but it feels subjectively lighter on my head than the AirPods Max that I wear at work every day, despite the Vision Pro weighing 50% more than the AirPods Max (600g vs 384g).
  3. In general, this product feels heavily inspired by the AirPods Max. Same color1, same Digital Crown and button, etc.
  4. The IPD alignment wasn't perfect and I still had some doubled vision in the bottom-middle. Easy enough to avoid during the demo by moving my head down when looking at that area, but would be awful if I were using this device every day. I'd want to retry the demo a couple of times and see if it recurs before spending any money on this product.
  5. For some reason, a small green checkmark appeared in the center of my vision roughly every 60 seconds. Was this some artifact of the remote-viewing iPad?
  6. The window resize controls disappeared while watching the Avatar: The Way of Water demo and I couldn't get them back until the video fininshed. Not sure if there's some gesture I was missing to bring them up or if this was a bug.
  7. The Alicia Keys demo is deeply uncomfortable2; all of the other "Immersive Experience" demos are amazing.
  8. Text was more-legible than I expected given the relatively-low angular resolution of the displays (34ppd, compared to 98ppd on the Studio Display I use all day every day). Definitely could see some color fringing on black text on a white background from subpixel anti-aliasing, but it was more comfortable to read than macOS is on a non-Retina monitor with similar angular resolution. I caught the foveated rendering happening a few times but it was pretty unobtrusive.
  9. I experienced no nausea at all during the demo, even the high-motion parts. I have always felt a little queasy when trying other headsets.
  10. The sound was remarkably good. I didn't listen to anything serious, but it had surprising nuance for something that's more open than the most open-backed of headphones.

I'm not going to buy one of these things, but ask me again in a couple of years when a second version. I do, however, think that Apple could make a whole boatload of money charging people $100 to rent one for a few hours to watch a movie. If you have an Apple Store near you, you should definitely do the free demo just for the entertainment value. Heck, we used to pay $25/pop to go see the M.O.M. at the Jordan's Furniture in Avon, and nobody tries to sell you a new couch while you're playing with a Vision Pro.

1

Silver aluminium, which seems to be getting phased out by Apple in favor of their warmer "starlight" aluminium

2

Does anyone want to have someone singing at them from 3 feet away? What was this like for Ms. Cook? Singing at max intensity at a featureless white obelisk?

2023 Game Reviews

It's January 21, 2024, which means it's the perfect time to do a wrap up of some of the content I enjoyed in 20231. I'm going to start off with video games, because they're on my mind. I don't really play a ton of games, and when I do, I have some perhaps unusual things I look for:

  • Xbox or Switch strongly preferred. I don't have or want a PC in the house, and I don't currently have a PlayStation. Once in a while I'll play games on a Mac laptop (either natively or via NVIDIA GeForce NOW), but usually it's console or bust.
  • Single-player only. No interest in interacting with other people while playing video games. Been there, done that, had enough trolls, cheats, and "gamerz" for a lifetime.
  • Story matters at least as much as gameplay
  • Short is better than long; most days I have 0 hours to play video games, and even when I can eke out some time, it's usually only measured in minutes. A 40-hour game is a huge investment, and a competitive grind-fest that takes hundreds of hours to get to the "good part" isn't even an option.

With that being said, I think I might've played more games in 2023 than any time in the previous 5 or so years! Neat! Let's talk about them!

As always, all trademarks and copyrights are the property of their respective owners.

Cocoon

Geometric Interactive, played on Xbox. A

Cocoon is the newest game from director Jeppe Carlsen, who previously created Limbo and Inside. Fun fact: the reason I own an Xbox is because I played Limbo at my friend Brett's house and it was the most incredible game I'd ever played. So much emotion in so little! Anyhow, Cocoon shares a lot with its predecessors: silent protagonist, mind-bending mechanics, horrifying and mostly-unexplained world, tricky puzzles. You play as a... bug person? who has to solve puzzles using magic orbs. Also, the orbs each contain entire universes, and sometimes contain themselves.

It took about 5 hours to beat this, and I know there are more hidden details. Definitely worth picking up.

Dead Space (Remastered)

Motive, played on Xbox. B-

I never played the original Dead Space, but I've been known to enjoy atmospheric horror entertainment. The remaster is extremely high-quality (I find it hard to believe that they were able to reuse anything from the original game other than the plot and the audio), but it definitly suffers from being a remake of a 2008 video game. The combat is plodding when it should be fast and fast when it should be intentional; the RNG controls way too much; the plot has been referenced by a million other games (such as 2022's the Callisto Protocol). I'll play the remakes of Dead Space 2 and Dead Space 3 when they come out, but this game didn't inspire too much in me.

Indeed, I didn't even take a single screenshot when playing.

Star Wars Jedi Survivor

Respawn Entertainment, played on Xbox. B+

Star Wars Jedi: Survivor is the sequel to 2019's STAR WARS Jedi: Fallen Order2. It's a moderately-hard lightsaber combat game set in the Star Wars universe in the time period between Revenge of The Sith and A New Hope, starring Cameron Monaghan as traumatized Jedi Cal Kestis. The combat is supposedly inspired by Dark Souls, which I've never played. It's definitely hard — there are a lot of one-hit kills, and some fights took me quite a few attempts3.

I did 100% this game, and it was fun, but also sometimes had that "feels like work" slog. Took 53 hours to 100%4, which is past my comfort level for how much I want to invest in a game. I mostly played with the crossguard and double-bladed stances. I stuck with it because the plot hit all the right emotional notes, and, while it was still written for children, was still better than almost everything Disney has turned out recently5.

The Talos Principle 2

Croteam, played on Xbox. A+

Without a doubt, The Talos Principle 2 was my favorite game of 2023. It follow directly from 2014's The Talos Principle and is a puzzle game about robots and philosophy. It mixes extremely difficult puzzles (some of which took me hours to figure out) with philosophy lectures and long digressions about the nature of consciousness. The writing is snappy and infuses humor and melodrama appropriately; you'll come to care deeply for these characters, even (especially?) those you disagree with.

The game is also gorgeous to look at; all of Croteam's games have a hyper-real quality to them, and this one is no exception.

I didn't 100% this, but I did play about 27 hours and finished all of the primary content. You do yourself a disservice by not reading every terminal, listening to every audio log, and talking to every character.

I also went back and replayed the entire Talos Principle and Road to Gehenna after finishing TTP2, and was reminded that those are excellent games.

Starfield

Bethesda Games, played on Xbox. D+

Bethesda has been promising a sprawling new game since 2015's Fallout 4, and released the first trailer video five years ago. What we got was... Starfield. I played through all the main questlines for each faction and most of the sidequests and the main emotion I felt was... boredom. It feels like they had a lot of great ideas on what to do with this game, but somehow weren't able to implement any of them for some reason. There are a bunch of mechanics around weight and fuel and stealth and base-building that don't do anything at all. The combat is somewhat better than Fallout 4 but at the end of the day, all the guns feel pretty much the same and it's mosly just a matter of having a bigger number.

The plot is sort of interesting, but also every single twist is predictable if you've ever watched any science fiction television or movies or read a single book. The characters are mostly dull and lifeless, and those that aren't (like Andreja) never get a chance to really explain their backstories.

Space combat is extremely dull once you get a Class B ship. Building spaceships is fun, but also stupid because you can't control basic things like where the ladders are going to be between rooms. Making a ship that doesn't look butt-ugly takes hours and costs hundreds of thousands of credits, which are easy but boring to get more of due to the low sell prices of everything and the trademark awful inventory management.

And, of course, everything is buggy. Everything! I can't finish the game because the last mission of the main questline is totally broken. There are hundreds of other reports of this online. Bethesda hasn't addressed it in any of their patches. I have two or three other side-quests that are similarly broken.

I've played dozens of hours of Skyrim over the last 12 years, but I really don't see Starfield holding up. Maybe I'll re-examine if a plot-heavy expansion pack comes out, but no promises.

Nova Drift

Chimeric, played on Mac. B+

What if Asteroids were a bullet hell roguelite? That's the fundamental idea behind Nova Drift, a game from solo developer Jeffrey Nielson available on Windows/Linux/Mac. Gain points to get randomized unlocks; reach new high scores to unlock progression upgrades that apply between runs. Blow up thousands and thousands of little shapes. Bright colors! Fun electronic music! It's an ideal arcade game.

It's also a little buggy (I've gotten some really annoying crashes late in a long run), and it's unfinished. I'm always a little skeptical of "Early Access" and paying to beta test something. However, this game is straightforward enough that I don't feel like I'm missing out on too much.

Fun fact: I originally found out about this game when people were talking about it on Mastodon!

The Last Campfire

Hello Games, played on Nintendo Switch. A-

Another great game that I played for the first time this year (but which came out 2020). You play as Ember, an adorable little blobby character who has to explore a metaphor for death to help lost souls recover a spark of hope and move on. The narrator (who also voices all the characters) really makes this game.

The puzzles are pretty easy and this game took about 7 hours to beat.

Transistor

Supergiant Games, played on Nintendo Switch. A

Speaking of games about death, Transistor actually came out in '14, but it never came out for Xbox, so I didn't play it. I do adore Supergiant Games and have played through Bastion many times, and still play Hades regularly. Transistor is an isometric hybrid between a hack-and-slash game and a turn-based RPG. Even if you hate the gameplay6, it's worth playing just because everything with Darren Korb and Ashley Lynn Barrett is worth listening to.

Only takes about 5 hours to beat, and smooth as silk on the Switch.

Cobalt Core

Brace Yourself Games, played on Nintendo Switch. B+

This is another great Switch game, and I'm cheating here because it came out at the very beginning of January 2024. Close enough! It's a "deck-building low-fi roguelite", and the closest comparison I have for it is 2012's FTL: Faster than Light. It's a turn-based space combat game, but the twist is that the actions you can perform are based on a deck of virtual "cards" that you acquire through the game. This is a great game to play while doing something else (like watching TV, if you've got as poor of an attention span as I do. It's also quite frustrating; like a lot of roguelikes/roguelites, the game is hugely dependent on the RNG, and it's frustrating to get 20 minutes into a run and realize that you have no change of success because the next boss is only survivable if you have a certain card.

Looking Forward

In 2024, we've got Hades 2, Homeworld 37, Star Wars Outlaws coming out that I'm interested in so far. Plus, the whole reason I got a Switch was to play Breath of the Wild, which I haven't done yet. Hopefully, it'll be as good of a year for games as 2023!

1

I know, I know, a lot of people do their yearly wrap-up review posts in December. But then what about the games I played in December, eh?

2

What the hell is going on with capitalization and colon placement at Electronic Arts? When is it STAR WARS and when is it Star Wars? Why is it "Jedi: Survivor" in promotional material, but "Jedi Survivor" in the menus? Who knows!?

3

TWO rancors!?

4

For comparison, STAR WARS Jedi: Fallen Order took about 39 hours to 100% a couple of years ago.

5

Except Andor, of course. Go watch Andor!

6

Which I did not, to be clear

7

Probably the most hyped game for me in many years? I've played hundreds of hours of Homeworld and Homeworld 2. I didn't love Deserts of Kharak, but I'm tentatively hopeful for Homeworld 3. Even though they were initially promising Mac support, they haven't mentioned anything about Macs in the last few years, so I'm really hoping this one runs on GeForce NOW.

January 2024 Editor Update

I decided to take some time over the holidays to redo my Neovim configuration, which I last spent any meaningful time on in 2019. I've been going back and forth on editors a lot for the last few years; last year, I spent the first six months of the year using Helix, which is a batteries-included editor based on the Kakoune editing model. I gave up on Helix after one too many crashes, and went back to Neovim.

The main goals of my recent config rewrite were:

  1. Move from init.vim to init.lua
  2. Get rid of unused/underused plugins
  3. Move to LSP + Tree-sitter, for real

All of these things were successful! My new init.lua is about the same size as the old init.vim, but has about 20% fewer plugins and a lot more comments. I also switched from vim-plug to lazy.vim, which slightly improved startup time and provided a slightly more ergonomic way to configure stuff.

Here's a quick screenshot showing my solution for Advent of Code 2023 Day 25, in Neovim in iTerm 2:

Neovim in iTerm 2

Read on for more fun and exciting details.

read more