Weekly Shaarli

All links of one week in a single page.

Week 07 (February 12, 2024)

good FreeCAD tutorial for beginners

Many good suggestions for freecad tutorials, including Joko Engineering and Ha Gei, thehardwareguy, dr vax, ..

GitHub - terrastruct/d2: D2 is a modern diagram scripting language that turns text to diagrams.

Alternative to mermaid, plantuml, graphviz. Can be used in quarto.

Is a single golang cli binary at the core which I much (much) prefer to the javascript-dependent client-side nature of mermaid.

Otherwise, the DSL looks competent and fairly descriptive.
Supports displaying markdown, code, images, icons, or latex formulas in the diagrams.
Could be a good choice for quick diagrams!

8 Most Important Elements of a Landing Page Framework

A surprisingly in-depth explanation fo landing page fundamentals, with tips on extent and makeup.

Can come in very useful as a reference material.

dvtm - dynamic virtual terminal manager

Provides the virtual windows management interface that tmux/screen do.

Does explicitly not do anything like session management, for that it recommends using abduco or similar programs like dtach.

Programming in D - Programming in D

D programming language tutorial from the ground up.

Really extensive documentation and guided tour of the D language. From simple hello world to parallelism, concurrency, and manual memory management.

GitHub - lmorg/murex: A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)

A smarter shell and scripting environment with advanced features designed for usability, safety and productivity.

Soomewhat like nushell in that it can easily open (i.e. wget/curl) APIs and web pages, parse structured data (e.g. TOML, YAML, JSON) and work with the variables.

But also somewhat different in that it does not want to take over the rest of the coreutils/shell builtins, and as far as I understand strives to work alongside the traditional shell (e.g. using it mostly for scripting while ignoring it for repl use or whatever your use case is). Also not taking a(n almost) strictly functional approach like nushell.

Not sure how mature it is yet, have not extensively tried it out.

GitHub - frida/frida: Dynamic instrumentation toolkit

Inject javascript into any running process (or python, or golang, or any of a bunch of other langauge bindings).

Can be used to hook into processes, run functions, send and receive messages, and a bunch more.
Essentially process injection on steroids - super cool.

It seems to even be able to inject itself to processes on other devices running connected to the machine? Not entirely sure how to implement but take a look at frida-ps ios example.

GitHub - alpinejs/alpine: A rugged, minimal framework for composing JavaScript behavior in your markup.

Much smaller than other vuejs/nuxt,angular,react frontends.

But has the essentials for most 'javascript-interactive' functionalities provided by many modern websites.
Seems interesting!

GitHub - facebook/watchman: Watches files and records, or triggers actions, when they change.

Same rough functionality as entr - watch for filechanges from the commandline. But with a server/client interface and afaik possibility to invoke programmatically.

bun shell - invoke shell scripts from javascript

Allows writing commandline arguments as if you're in a shell script, but from javascript.

Somewhat similar to execa, but afaik tries to implement its own cross-platform coreutil commands. Has quick $ based syntax by default:

import { $ } from "bun";

const response = await fetch("https://example.com");

// Use Response as stdin.
await $`echo < ${response} > wc -c`; // 120
GitHub - YS-L/csvlens: Command line csv viewer

Command line csv viewer. (Less but for csv files)

Cpu.land - Explaining CPUs for the rest of us

Curious exactly what happens when you run a program on your computer? Learn how multiprocessing works, what system calls really are, how computers manage memory with hardware interrupts, and how Linux loads executables.

A really nice delve into CPU inner workings, especially system calls and hardware interrupts are an interesting read.

Freelancing 101 - for frontend web development

A super in-depth and fairly personal guide to everything to get your freelance operation going.

I am amazed at the amount of concreteness and obvious labour poured into this for free.
If you have any inclination of freelancing - setting your own costs and choosing your own clients - this takes you through the billing, tools, clients, rates, tricks, and more.

It is strongly focused on web development but some parts can probably be adapted to other areas.

GitHub - crigler/dtach: A simple program that emulates the detach feature of screen

Simple session management allowing to detach from a current session.

Does explicitly not emulate the virtual window system of screen/tmux.

GitHub - sindresorhus/execa: Process execution for humans

Simple commandline process execution with javascript. Takes care of stdin/stdout/stderr transformations, termination, newlines, child processes and so on.

GitHub - uutils/coreutils: Cross-platform Rust rewrite of the GNU coreutils

Cross-platform Rust rewrite of the GNU coreutils.
Simply intends to have complete compatibility with original coreutils - strives to fully pass the GNU coreutils test suite.