• 0 Posts
  • 7 Comments
Joined 3 years ago
cake
Cake day: March 25th, 2022

help-circle
  • With NixOS you can upgrade your entire OS and if you don’t like it roll it back like nothing ever happened. You can also replicate your entire machine by copying your configs over to another computer, running the install, and then copying over any files you have in your home folder and you will have reproduced your desktop.

    You can also very easily use a different version of a packaged app by adding an override in your config. This is useful if you want bleeding-edge features or if something is broken. Also every package is also a development environment, so you don’t have to worry about setting up a dev environment to hack on stuff.


  • I love my Xmonad. I haven’t customized it except for one thing for fullscreen windows. I have no widgets or toolbars or desktop icons or anything besides dmenu as a launcher and xterm for everything else. And I love it. However I have some subtle graphics issues like screen tearing when watching certain 4k content, hidpi scaling issues that I could never resolve for all applications and sometimes my GPU doesn’t like my TV (which is my main monitor). These are likely the fault of nouveau, but I wonder if Wayland will fix them.

    I really wish XMonad would support Wayland. I don’t need it to, but gnome on wayland was just really really smooth. Maybe I can set up another window manager with the exact same key bindings on wayland, since like I said I don’t customize it at all.






  • Yesterday I was writing a git commit message. I have my terminal configured to use vim to do this. I wrote half of a lengthy explanation with a very long chain of thought and paused for a second to proofread. Then I turned around and accidentally mashed a button which pasted my clipboard all over my nice message. I was like fuck I’ll just undo, but I guess I hit more than one key because after hitting undo i was left with a blank message.

    I thought I had to start writing from scratch and then remembered that vim has time travel. I’m not joking. You just say :earlier 2m and it goes back to the state two minutes ago. But here’s the thing it actually has branched history, kind of like git. If you undo and then make some modifications you have made an alternate branch in the history. I hit g- (or g+ I forget) and got my message back.

    Having flipping time travel with every possible history is an absolutely batshit insane thing to implement into a “simple” editor, and I seldom use this feature, but it actually saved my ass and I’m glad people like Bram spent what was probably an eternity on implementing stuff like that.