dmesg --follow
[ 66153780.000 ] posts.x: @Mappletons The redesign isn’t live yet, BTW …  |   [ 66159420.000 ] posts.x: Full talk on why there's no single right chunk size and how multiscale indexing with RRF closes the gap:  |   [ 66159420.000 ] posts.x: A fixed chunk size is a bet on queries you haven't seen yet. @yuvalinthedeep, Sr. Developer Advocate at AI21, tests that bet in "Stop Chunking Like…  |   [ 66166140.000 ] posts.x: @hypeapps @toggl Is this because you’re straddling multiple agent sessions for multiple projects simultaneously?  |   [ 66166560.000 ] posts.x: @hypeapps @toggl You could still get pretty close. Agent sessions are stored on disk. Subtract the long gaps between your inputs to the session…  |   [ 66168660.000 ] posts.x: Full talk on why llms.txt isn't enough and what actually makes a website agent-ready:  |   [ 66168660.000 ] posts.x: Almost half of the websites in one study already publish an llms.txt file for agents to read, but almost none of the agents actually use it…  |   [ 66169620.000 ] posts.x: Full talk on why AI cluster networks need a receiver-driven, message-based protocol instead of TCP:  |   [ 66169620.000 ] posts.x: Most AI clusters still tune their networks for giant weight transfers, but the workloads pushing performance limits now are tiny messages: a KV cache…  |   [ 66179400.000 ] posts.x: Full talk on the harness layers, the files-vs-databases tradeoff, and context rot:  |   [ 66179400.000 ] posts.x: Most of what makes an AI agent reliable has nothing to do with the model itself. In "Total Recall: Agent Memory and Harness Engineering,"…  |   [ 66229440.000 ] posts.x: Astounding!  |   [ 66229560.000 ] posts.x: @lukebfox1 This was such a great game! We used to have all-night LAN parties on this one!  |   [ 66230100.000 ] posts.x: Curious what The Godfather thinks of this. @HamelHusain  |  
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