Weekly Shaarli

All links of one week in a single page.

Week 03 (January 16, 2023)

GitHub - LibreSprite/LibreSprite: Animated sprite editor & pixel art tool -- Fork of the last GPLv2 commit of Aseprite

The forked (in 2016) version of Asesprite, kept with a copyleft license and updated continually.
Does not reach feature parity with the mother program as far as I know, but should be way enough for some simple/intermediate pixel art.

Data Version Control · DVC

Open-source version control system for Data Science and Machine Learning projects. Git-like experience to organize your data, models, and experiments.

A way to track data - even if it is in different locations - alongside code, mimicking its version control. Seems a little complicated but really useful, especially with additional features like data pipelines that are contained

GitHub - alexhallam/tv: 📺(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment.

A fantastic tool for the commandline to quickly get a single view of a csv file. Auto-spaces, auto-indents, automatically tries to find the right numeric scale to display one csv file. Quick, easy, sweet!

(Called tidy-viewer on Archlinux AUR and command)

Tilde Expansion (Bash Reference Manual)

Tilde (~) goes beyond just denoting the user's home directory in bash:

~fred/foo
# The subdirectory foo of the home directory of the user fred

~+/foo
# $PWD/foo

~-/foo
# ${OLDPWD-'~-'}/foo

~N
# The string that would be displayed by ‘dirs +N’

~+N
# The string that would be displayed by ‘dirs +N’

~-N
# The string that would be displayed by ‘dirs -N’
GitHub - joouha/euporie: Jupyter notebooks in the terminal

Jupyter notebooks in the terminal. Run complete notebooks from your commandline for exploratory data analysis, before you use something like quarto for more permanent rendering. Seems very neat.

stone kingdoms

An oprn source stronghold 1 -like made with LÖVE

Hydra | Hydra

A framework for elegantly configuring complex applications.

Configuration management for python projects, may be useful to store simple and repeatable configurations for data science projects as well.

bash printf with new line - Stack Overflow

To print e.g. newline characters with bash printf which interprets the characters EVEN FROM A VARIABLE, do printf "%b" "my\nnewline\nvariable".

printf's %b format specifier was meant specifically to replace echo -e (actually, the XSI extension to echo which calls for special interpretation of the arguments by default. -e was never specified and is disallowed by POSIX.), and is identical in virtually every way including a few differences from $'...' and the format string argument to printf.