@cms@social.lol
@cms@social.lol avatar

cms

@cms@social.lol

Aging minor internet wizard. I built the IMDb message boards. I ran the last.fm databases. I rendered the picturebooks at Wonderbly. I survived Makeshift. Core engineer at Platform.sh. Many others lost to time. Currently, back on my startup bullshit. Good at naming things.

I used to be cms@mastodon.social but that place was getting crowded.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

hotdogsladies, to random
@hotdogsladies@mastodon.social avatar
  1. Ca. 2006, eBoy made this gorgeous poster about stuff associated with Web 2.0

  2. I totally forgot I have a copy of this.

  3. I feel very confident saying this was a huge influence on the opening credits for "Silicon Valley"

  4. While we live 15 minutes away from each other IRL, it's an honor to have been situated as a computer neighbor with my hero, Kevin Kelly.

cms,
@cms@social.lol avatar

@hotdogsladies we had one of these framed in the entrance hall at last.fm.

cms, to random
@cms@social.lol avatar

Shogun was enormously satisfying as a viewer. I hope it inspires more people to seek out and watch "Counterpart".

cms, to guix
@cms@social.lol avatar

Well I ran out of battery halfway through the hand install, so several hours of recovery later I can boot into fsvo. Where are all my other bootable partitions though, and will I be able to tolerate long enough to learn to live with it? These are the questions. Stay tuned, rat-fans.

cms,
@cms@social.lol avatar

My windows 11 is now bootable too! 🎉 why do I have to open the LUKS container twice? is easy on the eye and quite nice until you try and make it do something...

cms,
@cms@social.lol avatar

Spent about an hour trying to get encrypted /boot to be a thing to little success

cms,
@cms@social.lol avatar

Fixed the double decryption.

The trick is to use the extra-initrd option in the boot loader configuration and then build an initrd image with a decryption key in it.

You then use a device map type of 'luks-device-mapping-with-options' and pass the path of the key file inside the initrd. All of this is explained in the bootloader configuration documentation.

Thanks to everyone who replied helpfully.

cms,
@cms@social.lol avatar

The problem I was having was in trying to use the same encryption key from the volume that is protected by my passphrase. In extracting and formatting that I was mangling it.

My solution was to stop doing that and instead use a specifically generated key file , I did not realise LUKS has multiple slots.

Next challenge - suspend and hibernate...

cms,
@cms@social.lol avatar

Biggest surprise so far, web is quite an endearing little thing. I've not tried to configure it any, or use extensions, (does it even?) but it's a few days in and I've not yet installed Firefox

cms,
@cms@social.lol avatar

This morning I mostly thought about swap, as a precursor to hibernate. I've got a small partition reserved. My thinking is I can make a LUKS on this, assign the mapped device to swap, using the same initrd with a key file trick to open it at boot.

cms,
@cms@social.lol avatar

The plan worked! I now have a dedicated swap partition, 2xRAM (that's how old I am), and it's present after boot.

Everything is encrypted save for the UEFI partition, which contains no credentials

I probably could have done this with a single LUKS volume and logical partitioning inside that I expect, or just used a swap file in the root partition, but I had already set up the partitions i'm using, and some sunk cost.

next suspend + hibernate

first, get s0ix states working

cms,
@cms@social.lol avatar

Actually, this morning I went straight to test raw hibernate, having set up swap. Just as a sanity check.

No bother at all. I just added the mapped device path "/dev/mapper/my-swap" to the default kernel parameters as a resume target.

After a rebuild and a reboot I was able to hibernate and restore using "/sys/power/state" in a root shell. Everything worked first time 🎉

I still need to tune suspend and figure out how to automate all this (without systemd)

cms,
@cms@social.lol avatar

So, apparently power management in is handled by the login manager, which is 'elogind'. What is elogind? Elogind is pretty interesting actually.

"The systemd project's 'logind', extracted to a standalone package"

So in theory, power management logic should be basically the same. Which is great news if so.

I want suspend, then hibernate, ideally, or at least hybrid sleep, and it would be great if I don't have to build a bunch of scripts and timers myself to get there...

cms,
@cms@social.lol avatar

Well, "loginctl suspend-then-hibernate" appears to exist. I think I have figured out how to inject configuration to configure it, however I can't test it because I also thought "while I'm here I'll just install Firefox", that was two hours ago and I'm still compiling Firefox and won't be able to test before that completes. 😕

cms,
@cms@social.lol avatar

firefox built! and it works. Now I have bitwarden and can lazily log into things, this is my first post from inside guix 🎉

(Next i set up subsititions for nonguix, to minimize further "surprise" recompilations)

I also fixed my keyboard layout, which was still stuck on US because I'd not got around to that yet. So today I will continue to experiment with power management, and see if my suspend+hibernate plan is working out.

cms,
@cms@social.lol avatar

Well it appears that has an extensive service definition built around for power management.

added this to my default services and a quick check powertop shows an estimated draw of 6.21W on battery, which is ... not too shabby.

I feel confident I can tune that down more.

This machine is already looking workable, and I haven't even installed yet 🤣

(a latitude 7320 btw, which I endorse as a linux small notebook choice - cheap used, fairly modern, uncomplicated HW)

cms,
@cms@social.lol avatar

Disappointing result in my first organic test of suspend then hibernate, lid close all day resulted in an all-day suspend, with quite a lot of power drain. 🤔

"loginctl suspend-then-hibernate"does the job perfectly though, so I'm left wondering if the desktop environment is assuming complete responsibility and overriding the base settings, or maybe my configuration spec isn't quite working... How to debug this though?

Better read more docs.

cms,
@cms@social.lol avatar

Counting brackets in my config.scm, i fix some nesting and discover that 'suspend-then-hibernate is not a supported option. I've swapped it for 'hibernate for now, I guess I'll have to figure out how to plumb it in myself.

cms,
@cms@social.lol avatar

After a few days break, I'm back on my

So, is resolutely ignoring the login session setting, and just doing it's own suspend thing, quelle suprise. (It doesn't even offer a plain hibernate action)

I presume this might be inhibition locks, and I'll have to figure out if elogind also implements these aspects of systemd-logind. Alternatively, I could find a desktop environment that offers a bit more configuration flex.

cms,
@cms@social.lol avatar

Because it's getting a bit annoying just hand hacking my config.scm with 'cp' and 'vim' I have also installed 'git' and, finally 'emacs' in the system packages.

But I also did a 'guix pull' earlier, to get more fresh updates, oops, so I also added an hour or so's compilation to the whole process, maybe my substitution config isn't quite in order, or maybe it just likes compiling emacs and kernels :-/

(I mean, so do I, if I'm honest...)

cms,
@cms@social.lol avatar

Now I have put my config.scm in a git controlled source directory under ~cms , and made /etc/config.scm a symlink to that

and I can edit the scheme using a (so far vanilla) , which is slightly easier on the brain for things like indents

ngl though % in is mad good for parens counting

all the icons are busted since the last generation though .

I think my next step is to replace GNOME with something I can drive a bit better.

cms,
@cms@social.lol avatar

Now we have version control, I can present my config file, so far for anyone playing along https://code.beatworm.co.uk/pub/guix-system/-/tree/trunk

adam, to random
@adam@social.lol avatar

For my upcoming website overhaul (which ties into the Neatnik Accounts stuff that I’m still working on), I’m going all-in on embracing the server-driven, stateless nature of the hypertext transfer protocol. You’ll see barely any JS, and things that would normally be done instantly with JS will be done with a regular web request in the browser. Will this feel weird? Probably. Does it go against every super-slick “modern” web trend? Absolutely. Will I do it anyway? Heck yeah! 😅

cms,
@cms@social.lol avatar

@adam this is the way

amoroso, to Lisp
@amoroso@fosstodon.org avatar

The July 1985 issue of Computer Language magazine reviewed a dozen Lisp implementations for MS-DOS.

It's a good overview of the state of Lisp on microcomputers in the mid 1980s, the years of the early work that led to ANSI Common Lisp. I knew only a few of these implementations. Interestingly, some of the Lisps were based on Interlisp and featured structure editors.

https://archive.org/details/Computer_Language_Issue_11_1985-07_CL_Publications_US/page/n86/mode/1up?view=theater

cms,
@cms@social.lol avatar

@amoroso amazing stuff. I was pretty struck with this advert for commercial CCA emacs, which has a trademark symbol against 'elisp' 🤯 which they say is 'common lisp based' - I've never used any of the emacs from this family, so no idea what their lisp was like in use.

sanityinc, to random
@sanityinc@hachyderm.io avatar

Anyone here using a saddle chair for desk work at a computer? I tried my dentist's and it was pretty awesome.

cms,
@cms@social.lol avatar

@sanityinc yes. I have a Hag capisco, it's great. You do need to sit a bit higher on them.

cms, to random
@cms@social.lol avatar

Maybe you're the kind of person who knows what Wizbit was. Maybe you're also the kind of person who knows who Lead Belly was. But are you the kind of person who knows that the fascinatingly terrible Wizbit theme is based on a Lead Belly deep cut? https://youtu.be/EdgEMSAZjrs

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • tacticalgear
  • mdbf
  • InstantRegret
  • magazineikmin
  • Youngstown
  • thenastyranch
  • rosin
  • slotface
  • Durango
  • cubers
  • ngwrru68w68
  • anitta
  • cisconetworking
  • GTA5RPClips
  • modclub
  • tester
  • khanakhh
  • everett
  • provamag3
  • osvaldo12
  • Leos
  • normalnudes
  • ethstaker
  • megavids
  • lostlight
  • All magazines