Woof
My main work machine didn’t POST today. After much research I have determined that RAM is not usually meant to be encased in a protective shroud of dog hair.
You’re still a good girl, Ellie.

Discoholic 🪩
Today's Document

shark vs the universe
No title available
No title available

Origami Around
will byers stan first human second
Misplaced Lens Cap
"I'm Dorothy Gale from Kansas"

Andulka
Noah Kahan
occasionally subtle
TVSTRANGERTHINGS
KIROKAZE
tumblr dot com
PUT YOUR BEARD IN MY MOUTH

Janaina Medeiros
Cosimo Galluzzi
Game of Thrones Daily
he wasn't even looking at me and he found me
seen from United States

seen from United States

seen from Russia

seen from United States

seen from Switzerland

seen from United Kingdom

seen from United Kingdom

seen from Singapore
seen from TĂĽrkiye
seen from Finland
seen from United States

seen from United States

seen from Switzerland
seen from China
seen from Malaysia
seen from Romania
seen from France

seen from South Africa
seen from Bangladesh

seen from Nepal
@chipaca
Woof
My main work machine didn’t POST today. After much research I have determined that RAM is not usually meant to be encased in a protective shroud of dog hair.
You’re still a good girl, Ellie.
When looking to purchase empanada-sized pastry cutters one should always double-check the units of the thing. While making 15cm diameter empanadas is common, 15mm ones are beyond most people's skill.
A philosophy webcomic about the inevitable anguish of living a brief life in an absurd world. Also Jokes
Walked the Thames Down Link down to the North Downs Way trailhead in Box Hill. It was overcast, and then it rained, and then it was sunny. Part of it was overgrown. All of it was glorious.
Picsa.
Today's a good day for this. (if it starts too weird for you, skip to the 1m mark)
In-snap tab completion
Yesterday we landed in-snap tab completion into snapd. This means that really soon (it's in the edge channel already, and should be part of the 2.26 release which should be in stable in a few weeks' time) you'll be able to add tab completion to apps you ship in snaps, and that this tab completion will be run inside the sandbox, confined to have the same view of your system as the app itself does.
Quoting myself:
For a snap app to tab complete, it needs to include a completer key, that points to the bash snippet that would usually live in /usr/share/bash-completion/completions. Completion is run confined, and marshalled out. There's an example snap, used in tests, under tests/lib/snaps/complexion.
Furthermore, at this stage to enable snap completions you need to source /usr/lib/snapd/complete.sh after sourcing /etc/bash_completion (or /usr/share/bash-completion/bash_completion). It adds a default completion handler that overrides and falls back to the usual one.
Note that while the snap-side support is for bash completion, if you want to add, say, zsh completion all you need to do is write something like complete.sh that works for bash. This is the unmarshaller.
Also note that because the completion is confined, if the snap can't reach it it can't complete it. If you need to complete hosts, for example, you'll have to override the usual hosts/known hosts file inside the snap. If you want to complete filenames, the snap needs to be able to access the directory path. This usually is what's wanted, as you don't want to complete things you can then not access.
Lastly, I expect there will be issues with this that need refining. The whole edifice of tab completion is a tower of toothpicks stood on end, and this work is about adding a pipe to the middle of it. In other words, please report bugs about this!
making the whole thing work feels a lot like black magic (and I'm not an arcane mage of bash, so I'm sure I missed some things), but it works :-)
future work
I still need to properly sync with Sergio to get support for this into snapcraft, so if you want to poke at it either play with the in-tree complexion snap that we use for testing, or manually add a completer key to your snap's app in the snap.yaml itself. That's the one snapcraft generates, not the snapcraft.yaml it takes as input.
I want to push the complete.sh script up into the bash-completion project itself, to make activating this just work (instead of a user having to edit their ~/.bashrc). Haven't spoken to them about this yet though, so we'll see.
I also need to figure out why it doesn't quite work properly when the input string to be completed has spaces in it. Outpupt, no problem. Input, no joy. Needs digging.
testable tab completion
I'll probably split this out to a separate post, but the really exciting thing that comes out of this work, for me at least, is the ability to intercept tab completion, and thus create testable and/or instrumentable tab completion. Imagine, unit tests for your tab completers! I don't think anybody's doing that without using kludgy things like expect. Yes, we also have integration tests for in-snap tab completion that use expect, but ... unit tests for your completion snippets! Whoa.
Culture shock.
Repasando truquitos para el pionono con la má.
Good morning! This photo of Cola with her new legs and owner should put a smile in your day.
Spring is here!
Some days I feel like I'm not enough. The things that I build, the things that I hope will make things a little bit better, the people I hope will carry on when I'm gone, are not enough. Macondo's wind is blowing, has always been blowing, tearing things down as I set them up. We are all doomed.
Those days, I make myself a toastie for breakfast.
Good morning.
An exhausting Saturday evening.
Tell NetworkManager to ignore bridges
Because I work with qemu and lxd and such quite a bit I have two bridges set up (thankfully automatically by the respective packages, otherwise I'd have ot learn their arcane magic instead of being productive), and if I don't do anything they'll confuse NetworkManager into thinking I'm always online, and even sometimes to prefer the bridge over the wifi because hey I'm already connected (or something, I'm not entirely sure). Things don't work properly, in any case.
You can check if you're in this situation by doing
nmcli c show --active
if it lists things with a TYPE of bridge, you're here.
So, drop this into /etc/NetworkManager/NetworkManager.conf:
[keyfile] unmanaged-devices=type:bridge
If you want to avoid filtering all bridges, well then read NetworkManager.conf(5).
If you're wanting to do this automatically you probably want to drop it in /etc/NetworkManager/conf.d/, before which you'll have to figure out whether putting this will stomp on other things like it, a subject which isn't immediately clear from the manpage itself.
From the «I'm just going to write this down here so I don't forget» dep't.
Thank you for clearing this up, internet.
klingons: okay we don’t get it
vulcan science academy: get what
klingons: you vulcans are a bunch of stuffy prisses but you’re also tougher, stronger, and smarter than humans in every single way
klingons: why do you let them run your federation
vulcan science academy: look
vulcan science academy: this is a species where if you give them two warp cores they don’t do experiments on one and save the other for if the first one blows up
vulcan science academy: this is a species where if you give them two warp cores, they will ask for a third one, immediately plug all three into each other, punch a hole into an alternate universe where humans subscribe to an even more destructive ideological system, fight everyone in it because they’re offended by that, steal their warp cores, plug those together, punch their way back here, then try to turn a nearby sun into a torus because that was what their initial scientific experiment was for and they didn’t want to waste a trip.
vulcan science academy: they did that last week. we have the write-up right here. it’s getting published in about six hundred scientific journals across two hundred different disciplines because of how many established theories their ridiculous little expedition has just called into question. also, they did turn that sun into a torus, and no one actually knows how.
vulcan science academy: this is why we let them do whatever the hell they want.
klingons: …. can we be a part of your federation
They're probably friendly snakes though.