Readit News logoReadit News
virgoerns commented on I love the work of the ArchWiki maintainers   k7r.eu/i-love-the-work-of... · Posted by u/panic
Ferret7446 · a month ago
Because installing a man page requires root and a writeable root fs for that matter
virgoerns · a month ago
It doesn't need root if you set MANPATH.
virgoerns commented on Oh My Zsh adds bloat   rushter.com/blog/zsh-shel... · Posted by u/fla
mezyt · 2 months ago
Plus, how many shell can one individual open in a day ? I'm doing that once per day on a good day, maybe twenty if I have a lot of unplanned work on subprojects that needs to be done concurrently with my main task.
virgoerns · 2 months ago
The problem with long startups is that they break the flow. I live in CLI. I open and close terminal windows all day long, sometimes just for quick 2-3 commands to check something. 100 new interactive shells a day is my guess. I already know commands to run, my fingers are ready to type, they already pressed the keys ti spawn a new shell and now they have to stop for 500 ms. Repeat these 100 interruptions every day and you get the death by 1000 spoons.

I don't use oh my zsh, but on one laptop zsh took 600ms to start. I narrowed it down to a strange "bug": adding even a single empty file to the custom fpath caused the slowdown. It bugged me so bad that I decided to try fish again, but this time for real. And this time it stuck with me. I like its architecture (defining functions to change its look-and-feel - great idea!) and of course its 32 ms startup time.

virgoerns commented on Bring bathroom doors back to hotels   bringbackdoors.com/... · Posted by u/bariumbitmap
throitallaway · 4 months ago
"To sex" is to determine sex (gender.)
virgoerns · 4 months ago
We're buying mice and we want 2 or 3 females. So yesterday I was searching "how to check mouse gender". Imagine my confusion when search engine recommended me a bunch of "how to sex mice" youtube videos!
virgoerns commented on Scripts I wrote that I use all the time   evanhahn.com/scripts-i-wr... · Posted by u/speckx
hackeraccount · 5 months ago
I'm terrible about remembering shortcuts (edit a bash line in an editor? Can never remember it) but clear (CTRL-l) is one that really stuck.

That and exit (CTRL-d). A guy I used to work with just mentioned it casually and someone it just seared itself into my brain.

virgoerns · 5 months ago
FYI, ctrl-d isn't a shortcut to exit terminal. It sends EOF (end of file) character which, when reaches shell, closes stdinput file of shell. It generally closes any active interactive input, like all repls, interactive input to sed etc. When interactive shell loses possibility to get more input, it closes as soon as possible and then its parent, the terminal window, also closes. More-less :)
virgoerns commented on Scripts I wrote that I use all the time   evanhahn.com/scripts-i-wr... · Posted by u/speckx
o11c · 5 months ago
I keep meaning to generalize this (directory target, multiple sources, flags), but I get quite a bit of mileage out of this `unmv` script even as it is:

  #!/bin/sh
  if test "$#" != 2
  then
      echo 'Error: unmv must have exactly 2 arguments'
      exit 1
  fi
  exec mv "$2" "$1"

virgoerns · 5 months ago
How do you use it so it's more ergonimic than typing arguments manually reversed? `unmv !$` ?
virgoerns commented on I ditched Docker for Podman   codesmash.dev/why-i-ditch... · Posted by u/codesmash
daitangio · 6 months ago
I do not know: the lack of proper docker compose support it is a problem for me. About security: gVistor adoption failure in Google is a proof that containerization cannot be enforced easily and container will always be less secure than a VM.

If you want proper security go to firecracker [^1]. Podman is the "RedHat/IBM docker-way" but I see very little benefit overall; never less if it works for you great and go with it!

[^1]: https://firecracker-microvm.github.io

virgoerns · 6 months ago
Podman 4.7 supports both the ordinary compose (Go implementation) and older Python podman-compose. But personally I moved to quadlets and didn't look back.
virgoerns commented on Local-first software (2019)   inkandswitch.com/essay/lo... · Posted by u/gasull
ibizaman · 8 months ago
That’s essentially what I’m trying to make widely available through my projects https://github.com/ibizaman/selfhostblocks and https://github.com/ibizaman/skarabox. Their shared goal is to make self-hosting more approachable to the masses.

It’s based on NixOS to provide as much as possible out of the box and declaratively: https, SSO, LDAP, backups, ZFS w/ snapshots, etc.

It’s a competitor to cloud hosting because it packages Vaultwarden and Nextcloud to store most of your data. It does provide more services than that though, home assistant for example.

It’s a competitor to YUNoHost but IMO better (or aims to be) because you can use the building blocks provided by SelfHostBlocks to self-host any packages you want. It’s more of a library than a framework.

It’s a competitor to NAS but better because everything is open source.

It still requires the user to be technical but I’m working on removing that caveat. One of my goals is to allow to install it on your hardware without needing nix or touching the command line.

virgoerns · 8 months ago
I love that you include hledger! It's amazing piece of software, even if a little obscure for people unfamiliar with plaintext accounting!
virgoerns commented on Introducing tmux-rs   richardscollin.github.io/... · Posted by u/Jtsummers
juped · 8 months ago
> zoxide for cd

i'm sorry WHAT

virgoerns · 8 months ago
Zoxide isn't a replacement for cd, but it is a wrapper for cd. It's the alternative for OG "z" (written in Bash I believe) and autojump (python) that were here for 20 years or so.

Basically, when tou type "cd some/subdir", these tools remember the frequency/recency of durectories you cd into, so at some point you can type "z sub" and they teleport you to "some/subdir" no matter what's your current working dir.

I love it and use it daily. Zoxide just has some nicer features than the alternatives (and maybe it's faster).

virgoerns commented on Apple violated antitrust ruling, judge finds   wsj.com/tech/apple-violat... · Posted by u/shayneo
Wowfunhappy · 10 months ago
...wait, there is? It's not in the archive.is link!
virgoerns · 10 months ago
WSJ probably updated the article. Here's the newer link: https://archive.is/20250501040217/https://www.wsj.com/tech/a...
virgoerns commented on iTerm2 critical security release   iterm2.com/downloads/stab... · Posted by u/tjwds
cdeevgtg · a year ago
They are just not convenient to use since they are per repo and not shared via clone
virgoerns · a year ago
They can be configured globally with core.hooksPath or init.templatedir git config options.

u/virgoerns

KarmaCake day37March 24, 2014
About
meet.hn/city/pl-Wrocław
View Original