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
"In a way, Ikea is kind of like the Bitcoin of furniture: the company uses universal designs, meaning its hardware and measurements are uniform across most of the developed world." I'd like to propise this for Worst Analogy This Week, where do I send it?
A growing number of companies are offering design tweaks for old Ikea...The Hustle
https://gist.github.com/telent/dcbcccf06d0b044823a214b1be43ee48 gradually working towards NixElec, a.k.a "just enough nixos for Kodi"
GitHub Gist: instantly share code, notes, and snippets.Gist
Aperiodic reminder: clean the dust out of your PC fans, if you have them and there is any. My CPU temps under load have dropped from 80° to 35°
creative use of xargs -0 flag:
$ cat /proc/41262/environ |xargs -0 -n1 echo
(the "environ" files in proc directories show the process environment with ASCII NUL (\0) characters between each entry. We can use xargs -0 to break it into lines)
I read recently that they'd discovered ancient waterproof trousers near Mount Ararat, thought to have been worn by Noah. If this is true, they'll be Waders of the Lost Ark
"age is just a number," said nobody for whom it's a low number