𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍

       🅸 🅰🅼 🆃🅷🅴 🅻🅰🆆. 
 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍 𝖋𝖊𝖆𝖙𝖍𝖊𝖗𝖘𝖙𝖔𝖓𝖊𝖍𝖆𝖚𝖌𝖍 

Ceterum Lemmi necessitates reactiones

  • 0 Posts
  • 89 Comments
Joined 3 years ago
cake
Cake day: August 26th, 2022

help-circle
  • I worked at a place once that had a system that was all bash that would take hours to run. I rewrote it in Ruby and got the run down to about 10 minutes.

    This was 2000; I don’t recall anymore how much of that was the runtime and got much was just refactoring and hindsight - god knows how old that jumble of bash scripts were. A lot must have been the interpreter; even just looping is far slower in bash than probably anything else.

    Not a comment on your script; just remembering that win.





  • That’s one I don’t remember, but I probably wouldn’t have: the config file is in Lisp. Not only is Lisp something I never use anymore, which gives it a high cognitive load, but I don’t particularly care for Lisp-like syntax.

    I’m certain there are several less common WMs that I haven’t tried. It’d probably be almost impossible to try every WM every written for X; it seems to be a common hobby project for folks interested in the X protocol.

    I did say “almost every”, but perhaps even that was exaggeration. I do think I’ve tried the majority, though.

    My differentiator for hlwm, the killer feature, shared by only two other projects that I’m aware of, is that hlwm has no configuration file. All configuration is performed through client commands. Every command interaction that can be performed by a user input - and much that can’t - can also be performed on the CLI. All (?) windowing events can also be monitored on the command line, and therefore scripted. The other two WMs that share at least some of these features are bspwm and river.








  • Every day?

    • Herbstluftwm, the window manager. I used i3 for a decade, then bspwm for a few months, then landed on hlwm which I’ve been happily using for over a year. I don’t foresee changing until I’m forced to switch to Wayland. I’ve used almost every window manager and DE available for Linux and Solaris. Hlwm has things I can no longer live without:
      • It’s entirely configuration-file-less, which means the CLI client is the first class citizen for C&C.
      • It’s tiled and keyboard controllable is, again, a first-class citizen
      • It has a sane tree model, with no weird exceptions
      • It’s stable
      • It’s fast and small. You never see it in top, sorting either by CPU or memory
    • Zsh, the shell, in which I run 90% of my applications (the regular exceptions being the Luakit browser and Factorio, the game. everything else is CLI or a TUI). Zsh is bash backwards compatible, and it has a bunch of extra convenience syntax that makes scripting more powerful, pushing out the border where switching to a real programming language is necessary. I have lived in sh, bash, and csh over my life, and I’ve tried fish and a number of others; the rich data model for process communication is compelling, but I’ve always discovered it lacking, so on zsh I remain.
    • Tmux, the terminal multiplexer, which is (almost) invariably the first child of every terminal (rio -e 'tmux attach -t#'). Because terminals crash, because it survives session restarts, because it lets me log in remotely and continue what I started in my desktop, and because it works over ssh and having a consistent multiplexer environment across machines is nice. I used sceen for years before discovering tmux, and have tried almost every other terminal multiplexer; and none add any significant value for me over tmux.
    • Helix, the editor in which I spend most of my time. Because I started with emacs and used it for years before switching to vim. Then I used vim for decades before switching to Kakoune. Then I used Kakoune for about 2 years before switching to helix. Kakoune was too much like Emacs for my taste: heavy on chording, light on modality. Helix is much more like vim: lighter on chording, more mode-driven. Chording aggravates my carpel tunnel, and I’m more comfortable in modal editors. I switched from vim because the plugins necessary to be a competent development environment got insane, and my vim was starting to take as long to start up as emacs, which was unacceptable. Also, LSP integration was super flaky and broke every six months; it’s what initially drove me to Kakoune.

    I’m currently using Rio as my terminal. It has bugs, but it’s actively developed and regularly releases will fix one more thing. It has both ligature and sixel support, and it’s wildly fast and far, far less memory intensive than either kitty or ghostty, which are both pretty fat. I am not including it in “the list” because some remaining bugs are pretty big, like randomly crashing when it gets resized or sees some sequence of asci escape codes. It’s not much of an issue because I run everything in tmux, and it crashes less with every release, but I hesitate to recommend it until it’s more stable.


  • This is, in my mind, one of the benefits of laptops over micro computers: integrated UPS. Even an old, degraded battery will probably get you a couple of hours with the screen off.

    IME, power consumption is going to be worse overall, for any laptop likely to be in the recycle bin, it’s probably double the consumption of an ARM SBC. The integrated UPS and usually decent power conditioning of the power supply saves you more money with a laptop. Plus, keyboard and screen for emergencies - I just generally expect that, over there life of a micro I’m going to have to drag out and plug in a spare keyboard, mouse, and monitor because something in a device, or an upgrade, or BIOS flash, is preventing a boot.

    There are a lot of good reasons to use laptops instead of SBCs, if you don’t mind the extra power draw and (as she says) don’t have size requirements.


  • This article is terrible.

    In less than three months’ time, almost no civil servant, police officer or judge in Schleswig-Holstein will be using any of Microsoft’s ubiquitous programs at work.

    Instead, the northern state will turn to [an unnamed, gaping information hole] open-source software to “take back control” over data storage and ensure “digital sovereignty”, its digitalisation minister, Dirk Schroedter, told AFP.

    “We’re done with Teams!” he said, referring to Microsoft’s messaging and collaboration tool and speaking on a video call – via an [unnamed, gaping information hole] open-source German program, of course.

    What will they use instead? Who the fuck knows! The article omits this crucial piece of information.

    And don’t say it’s TBD; they’re not going to say they’re “done with Teams” without knowing what they’re switching to. Or, even if they haven’t put the final nail in the decision, they have a short list.




  • (I’m replying to you twice b/c totally different topics)

    Tell me more about your Void experience. I’ve been meaning to give it a shot, except I don’t get as much enjoyment out of fussing with distros as I used to. What are the pain points? Under Artix, I used dinit which I really liked, but I tried s6 first and absolutely hated it. I didn’t try runit; how is it?

    What I’m most interested in is xbps, because IMO it’s the package manager that makes or breaks a system. I’m quite fond of pacman and have encountered far fewer dependency hell situations than I did with either rpm or deb, and rolling release is a must. xbps looks kind of like a rolling stable release?


  • I feel the same way about Artix. I had it on my laptop for a while, and it was a regular PITA. I think I may have made it harder on myself, because while getting rid of systemd was fine, I was also trying to do without NetworkManager and on a laptop that wasn’t a great idea. I never did find a good, reliable set-up that managed access point hopping as well as nm.

    Really, thinking back, Artix was fine; it really was just the roaming WiFi handling that gave me grief, and I did that to myself.