dmesg --follow
[ 70396140.000 ] posts.x: "Can I have the code that solved the CAPTCHAs?" Since my talk at @aiDotEngineer World's Fair, that's the question I get most. I've got something…  |   [ 70396200.000 ] posts.x: The talk this comes from, The Dark Arts of Web Automation, at AI Engineer World's Fair:  |   [ 70390020.000 ] posts.x: ↻ @htmx_org: some big news! after a long & intensive search process i am very happy to announce @JensenHuang as the next CEO of htmx ve…  |   [ 70241940.000 ] posts.x: ↻ @JayNagy: I’ve worked that heatshield my entire adult life. Peak career moment today To go from little 7 tile patches to a full reusabl…  |   [ 69798180.000 ] posts.x: ↻ @atlantajug: Maintainers are drowning in AI-generated slop. How do you make sure your PR isn't part of the problem? 🤖 @CoreyGallon shar…  |   [ 69798120.000 ] posts.x: ↻ @devnexus: Maintainers are drowning in AI-generated slop. How do you make sure your PR isn't part of the problem? 🤖 At #Devnexus2027, @…  |   [ 69626580.000 ] posts.x: @sentinelwayne Not following … ticketing systems are typically async, nay?  |   [ 69483540.000 ] posts.x: @sentinelwayne The chat dropped a couple of times, due to timeout. It’s just the same as if I was distracted on another screen and didn’t respond in…  |   [ 69435300.000 ] posts.x: Happy V for Vendetta Day!  |   [ 69435120.000 ] posts.x: Happy V for Vendetta Day!  |   [ 69346140.000 ] posts.x: This is a *chef’s kiss* salutation from the app in the morning. Nicely done, Claude team! 👌  |   [ 69303240.000 ] posts.x: @markfenner Nyope! It all went off perfectly, as though I had engaged in the chat myself.  |   [ 69303180.000 ] posts.x: @noelkimx Happy to share more — what are you after?  |   [ 69285720.000 ] posts.x: @noelkimx It doesn't have the password -- I logged in myself, then handed the browser session over. It's dodgy practice to ask for a customer…  |  
corey@gallon.me:~/til$

Ubuntu Snaps in WSL & zsh

FIGURE 1 ⋅ Ubuntu Snaps in WSL & zsh

What on earth are “Snaps”?

These are fully containerized versions of applications that can be easily “installed” from the Snap Store. This store is run by canonical, but it looks like they support other distributions of Linux.

From the link above:

Introduction to snaps

Snaps are a secure and scalable way to embed applications on Linux devices. A snap is an application containerised with all its dependencies. A snap can be installed using a single command on any device running Linux. With snaps, software updates are automatic and resilient. Applications run fully isolated in their own sandbox, thus minimising security risks.

Snaps are hosted in the global Snap Store, an application repository hosted and managed by Canonical, and are free for anyone to download. Snaps can be created by anyone - existing software can be packaged as a snap or new software can be built from scratch using snap packaging. There is also an active, vibrant community of developers and users, with a forum where anyone can ask questions.

Packaging IoT applications as snaps bring the following benefits:

Reliable Snaps use transactional updates, meaning that if for any reason an update you push to your snap fails, the snap will roll back to its last stable state
Modular Snaps are reusable, they enable a loosely-coupled software architecture for embedded software and are compatible across architectures
Robust With snaps, software updates are automatic and over-the-air (OTA), meaning your software is never out-of-date
Optimised Snaps harness delta updates, minimising the storage and bandwidth needed when updating software. Read more about differential updates here

I wanted to install the great DBeaver database tool, but it isn’t in the mainline apt repos (and I don’t trust third-party apt repos). It is available as a Snap, though.

sudo snap install dbeaver-ce

Now, though … how to run it, as it wasn’t found in my $PATH.

export PATH=$PATH:/snap/bin

That did the trick! I added the above to my .zshrc file also, for persistence.

corey@gallon.me:~$ tail -f /writing Attach to the stream. An email when I have something worth sending. Replies encouraged!
corey@gallon.me:~$ ls -lt /til ↑2024-08-31 Uninstalling Poetry Completions for zsh
▸2024-08-26 Ubuntu Snaps in WSL & zsh ⋅ you are here
↓2024-08-25 Running Google Chrome GUI in WSL