upgrading my shell server from nixos 20.09 to 21.05 what could possibly go wrong
"why is it trying to build all of qemu's dependencies? did I accidentally ask for a host package not a build package? nope ... hmm"
"ah, it's pointing at the wrong nixpkgs directory"
A person shall not, after warning by a library officer, persist in sleeping in the library.
Byelaws made under Section 19 of the Public Libraries and Museums Act 1964 by the London Borough of Waltham Forest. https://www.walthamforest.gov.uk/content/library-terms-and-conditions
"Boost" seems to have stopped working on my fediverse server (it's long past time I migrated to something that's not abandonware) so here is an old-style link to https://floss.social/@alcinnz/107110027414280772 - "HTMLite"
Can't claim to have actually repaired anything for #InternationalRepairDay, but I have bondged a magnetic GoPro mount using epoxy resin and a magnet from an old hard disk drive, and I will later be fixing the broken bezel on my old thinkpad
Oh, but I did manage to make the believed-broken Sky remote work again. Etymologically I guess that counts as a re-pair
OK, it's admission time: I spent this week under the illusion that my Sky Q...10SECOND.TECH>>
Picture a Venn diagram of (things I like doing, things I'm good at doing, things that capitalists will pay well for having done) and observe the lack of intersection at the centre
creating a new wayland protocol involves how much boilerplate?
I have succeeded at https://github.com/q66/cffi-lua , subtask "callbacks without random crashes", and the answer is "assign the callback to a local variable, otherwise the gc collects it". yes it's logical that the gc doesn't scan C address space looking for roots, I suppose, but it took an awful long time before I realised this was the problem
A portable C FFI for Lua 5.1+. Contribute to q66/cffi-lua development by...GitHub
foo.lua:16: cannot convert 'int ()()' to 'int ()()'
o ... k?
added labwc support for "input inhibitor" (needed to make screen locking work) and fixed a bug with the window cycling, but now it's doing something extremely weird with blanking the portions of screen not covered by the active window (the wallpaper disappears and reappears when I move the mouse) and I can't for the life of me think what's causing it.
Reverting my changes hasn't fixed it either
Think I now have working support for primary selection (a.k.a middle-button click to paste) in labwc and am approaching the point where it doesn't have any really horrible gaps in as a works-for-me GNOME replacement.
A screen lock would be a good next thing to add before I next take my laptop out of the house
This makes primary selections work at least with wayland-native Emacs (using...GitHub
the great thing about unix is that everything is text and you can easily chain programs together using pipes
I want to read out the volume level I can set with pactl set-sink-volume...Unix & Linux Stack Exchange
Switched from gnome to labwc (wlroots-based wayland compositor) and kitty (terminal) and it has not been plain sailing: so far spent most of the evening trying to find out why the mouse pointer in kitty windows is teeny tiny. Changing the mouse pointer theme - apparently this is a thing - seems to have fixed it
https://github.com/telent/moss/ - command line password manager
A small ruby script that works like "pass" but uses age instead of gpg. Written mostly because there seems to be no clear winner among the other previous attempts at doing similar, and partly because it was a nice simple exercise
I like to say WIBSNM ("was invented by someone not me") because I wasn't the first to think of "NIH"
Maybe-OK Secrets Store. Contribute to telent/moss development by creating an...GitHub
why did they call it "Blue Lives Matter" instead of "Assigned Cop At Birth"?
#nixos tip : when
rsyncing build products (disk images etc) around the place, remember the
-I flag. Otherwise rsync looks at date (1-1-1970) and file size (probably the same size as last time) and skips the transfer
Using emacs tramp with remote nixos hosts: add to your .emacs
(require 'tramp) (add-to-list 'tramp-remote-path 'tramp-own-remote-path)
to make it use $PATH instead of resetting to include only
/run/current-system/sw/bin and nothing else useful (doesn't include packages in your profile that you added with
nix-env nor anything in