Nous cherchons des personnes #mal-voyantes ou #aveugles qui s'intéressent à la ligne de commande #bash, pour voir si elle seraient prêtes à essayer notre librairie pour son #accessibilite.
Il y a déjà 13 commandes à tester.
Au delà des problèmes de vue, cette librairie peut faciliter la vie d'un public plus large, puisqu'elle filtre les sorties de commandes pour les réduire à l'essentiel.
Talking to someone about git's UI, and they compared it to vim and GUI IDEs.
When replying with how vi was basically a GUI of its time over more CLI editing with ed/ex ...
it struck me that it is perhaps glaring that we don't have a "vgit": A more visual/TUI tool that supplanted and erased git from memory apart from the "git compatibility mode" still available in "vgit".
I may be off here, but is this emblematic of the cultish worship of unix tooling in the "linux" era?
TIL: You can ask GNU tar(1) to change the file names while extracting. (And you can limit tar to only extract specific files, but I knew that already.)
For example, I'm using this command to extract the static binary "resticprofile" from the release tarball, but give it a versioned file name (e.g. "resticprofile-0.26.0"):
VERSION=0.26.0
tar -xf resticprofile_$VERSION_linux_amd64.tar.gz --no-same-owner --transform "s,$,-$VERSION," resticprofile
🐍 aprxc — A #Python#CLI tool to approximate the number of distinct values in a file/iterable using the Chakraborty/Vinodchandran/Meel’s (‘coin flip’) #algorithm¹.
Did you know that you can have a #SQLite CLI config file? Pretty handy for changing the default memory limit, output format, or even print a nice banner.
It allows SQLite to use up to 1 GiB of page cache, uses nice Unicode box drawing characters, and tracks the runtime of queries by default. It also reminds me of how to turn these things off again.
(Pro tip: Set .timer on last, else it will print the stats for each of the start-up commands … 😬)
Also, if you have a look at https://sqlite.org/cli.html you'll see that you can customize the prompt using the .prompt "first line" "continuation" command.
And I've tried to create a fancy, colorful, nerd font prompt … and failed.
That's because both of the prompt strings are limited to 20 bytes by default (including a terminating null byte, I think). Also, even if you manage to cram ANSI codes into 20 bytes, the cursor positioning will have trouble with the non-printable characters. 😭
Watch out if you use iTerm2 on a mac. The latest version (3.5.x) integrates OpenAI/ChatGPT. It looks like you have to set keys to use it, but I don't want it even in the mix so I'm sticking with the 3.4.x release.
@TheIdOfAlan and that's why I've been using #kitty for the longest time now as my default terminal emulator... 😎
Still, it's good to spread awareness of this, as many end users may not even notice that change until it's installed and running as a new memory chugging daemon! 😅🫠
Pour cette 13ème édition de la journée mondiale de sensibilisation à l'accessibilité #a11y, ARN, @hackstub et le groupe a11y-libre, propose à toutes les personnes qui pratiquent la ligne de commande, un hackaton « asynchrone » sur le thème « ligne de commande et cécité » !
Vous avez jusqu'au 31 mai, pour envoyer vos contributions. Il y a de nombreux lots à gagner.
Notre #hackaton pour rendre les shells accessibles est en cours jusqu'au 31 mai, nous publierons ici quelques contributions chaque jour.
Xogium propose des alias #bash qui désactivent les barres de progressions sur les commandes #docker et #pipenv (#python) car ces 2 commandes détournent des caractères brailles pour l'affichage de la barre...
Voilà qui améliore effectivement l'accessibilité de ces 2 commandes. Il y en a probablement d'autres dans le même genre.