Weekly Shaarli

All links of one week in a single page.

Week 29 (July 15, 2024)

Note: DB Tools, Deutsche Bahn/German railway tools
  • https://bahn.expert -- The DB Navigator tool as it should be, simple design but amazing functionality for actually current information (routing/station departures)
  • https://strecken-info.de/ -- 'internal' tool between EIU and EVU, shows current issues along tracks which are often not shown on official apps, esp. w/ start/end-times if they are known (construction/obstructions/...)
  • https://trassenfinder.de -- made for booking 'tracks' in stations but has some nice additional station/track information
Note: Interesting niche Linux distros
  • ChimeraLinux: https://chimera-linux.org/
    A kind of hybrid BSD (userland) and Linux (kernel) distro, trying out new things. Uses apk, runs on a wide variety (x64, arm, riscv, rpi, ..) of arches, uses dinit as service manager.
  • VoidLinux: https://voidlinux.org/
    Rolling but stable, tries to be low-maintenance (once set up) and unix-like, i.e. simple and file-based; nice custom pkg manager (xbps) and AUR-like 'template' system to build wide variety of software
  • Artix: https://artixlinux.org/
    Arch without systemd is its primary claim to fame, provides a variety of service managers (dinit, s6, runit, openrc)
  • EasyOS: https://easyos.org/
    taking puppy linux as a spirit animal and packaging it for usb-stick use.
  • ChimeraOS: https://chimeraos.org/
    purely gaming focused and made to be installed on handheld consoles. Install, boot into Steam and start playing is the idea.
  • KISSLinux: http://kisscommunity.org/ | https://kisslinux.github.io/
    focusing on providing a simple base to build off of, a nice kiss package management, sane packaged software (meta-distro)
  • QubesOS: https://www.qubes-os.org/
    run everything in a virtual environment (hypervisors) -- each application, whole other OSes, USB devices, networking and even system management and the display manager
  • SnowflakeOS: https://snowflakeos.org/
    Early development version atm but aims to be NixOS with easier installation, sane gov structure and grokkable documentation afaik
BadWolf — lanodan’s cyber-home

"BadWolf is a minimalist and privacy-oriented WebKitGTK+ browser.

Privacy-oriented
No browser-level tracking, multiple ephemeral isolated sessions per new unrelated tabs, JavaScript off by default
Minimalist
Small codebase (~1 500 LoC), reuses existing components when available or makes them available
Customizable
WebKitGTK native extensions, Interface customizable through CSS
Powerful & Usable
Stable User-Interface; The common shortcuts are available, no vi-modal edition or single-key shortcuts are used
No annoyances
Dialogs are only used when required (save file, print, …), javascript popups open in a background tab"

Seems surprisingly mature for its young (4ish years?) age.

GitHub - sfermigier/awesome-functional-python: A curated list of awesome things related to functional programming in Python.

Large list of resources for accomplishing various degrees of functional programming in python.

Books, tutorials, talks, libraries.

Plymouth - stable boot display

Quickly set a resolution and stick to it when booting.
Enables display of sleek bootup animations (giant theme repository here) and equally sleek dm-crypt decryption screens.

atm works with dracut and mkinitcpio but not boost (issue here).

GitHub - sergiocorreia/panflute: An Pythonic alternative to John MacFarlane's pandocfilters, with extra helper functions

Allows creating pandoc filters in python instead of lua.

GitHub - AdnanHodzic/auto-cpufreq: Automatic CPU speed & power optimizer for Linux

Tell the program to favor performance or powersaving and it will do all the CPU auto scaling for you, depending on usage, temperature, load, battery.

Simple, nice and useful for laptops (or desktops/servers depending on you energy bill ;)

Ananicy Cpp / Ananicy Cpp · GitLab

Ananicy rewritten in C++ for much lower CPU and memory usage.

Auto-nices your linux processes depending on custom rules. Can use all the community-provided default rules from Ananicy (since it's drop-in, just faster and less memory-hungry).

Wokwi - Online ESP32, STM32, Arduino Simulator

IoT and Embedded System Simulator: ESP32, STM32, Arduino, Raspberry Pi Pico, displays, sensors, motors and WiFi simulation.

Program your code, don't brick your device and test out whatever in the simulator before 'deploying' to the actual ESP32, Arduino, etc.

GitHub - Ferdi265/wl-mirror: a simple Wayland output mirror client

Mirror your screen output (for projector work, presentations and similar) in wayland.
Basically just creates a window into which whatever output you select will be copied.

Nice, amazingly easy and useful cli software!

Use it like wl-mirror DP-5 (or whatever output).

To find out your current output names, you can use e.g. wlopm

What is the equivalent to df.to_markdown() for a Polars Dataframe?

Or, as the polars docs recommend:

df = pl.DataFrame(
    {"abc": [-2.5, 5.0], "mno": ["hello", "world"], "xyz": [True, False]}
)
with pl.Config(
    tbl_formatting="ASCII_MARKDOWN",
    tbl_hide_column_data_types=True,
    tbl_hide_dataframe_shape=True,
):