ALAC

Lossless audio compression in format that Premiere Pro can open directly:

ffmpeg -i song.wav -c:a alac song.alac.m4a

3D tracking workflow

tutorial

https://www.youtube.com/watch?v=PhdEk_RxkGQ

keywords: COLMAP, GLOMAP, automated 3d tracking, ffmpeg, bat script, Blender Photogrammetry Importer, windows.

whatis

COLMAP is a general-purpose Structure-from-Motion (SfM) and Multi-View Stereo (MVS) pipeline with a graphical and command-line interface. It offers a wide range of features for reconstruction of ordered and unordered image collections. The software is licensed under the new BSD license.

GOLMAP = faster version of COLMAP

Space Invaders Generator

Generator
https://muffinman.io/invaders
Blog
https://muffinman.io/blog/invaders

UNIX

A History and a Memoir by Brian Kernighan:
https://www.youtube.com/watch?v=WEb_YL1K1Qg

What words can you make on a calculator if you hold it upside down? (31 minute of the video). On a modern Linux, command is the same:

grep '^[behilos]*$' /usr/share/dict/words | column

shall return around 190 words.

Copilot explanation of the grep command:

  • grep: Searches for lines matching a pattern.
  • ’^[behilos]*$’: This is the pattern being searched for.
  • ^: Anchors the match to the beginning of the line.
  • [behilos]*: Matches zero or more characters, each of which must be one of b, e, h, i, l, o, s.
  • $: Anchors the match to the end of the line.
  • /usr/share/dict/words: A file containing a list of English words (standard on many Unix-like systems).

More

Ken Thompson interviewed by Brian Kernighan at VCF East 2019:
https://www.youtube.com/watch?v=EY6q5dv_B-o

In the 1960s-1970s, Ken Thompson co-invented the UNIX operating system along with Dennis Ritchie at Bell Labs. He also worked on the language B, the operating system Plan 9, and the language Go. He and Ritchie won the Turing Award. He now works at Google. He’ll be interviewed by Brian Kernighan of “K&R” fame. 3 weeks away from an operating system

Brian Kernighan: UNIX, C, AWK, AMPL, and Go Programming | Lex Fridman Podcast:
https://www.youtube.com/watch?v=O9upVbGSBFo&t=265s

Nim

Debian Trixie, compile some nim code to windows exe

Install some stuff

sudo apt install mingw-w64 binutils-mingw-w64

Build for linux

nim c -d:release woot.nim

Build for windows

nim --os:windows --cpu:amd64 --gcc.exe:x86_64-w64-mingw32-gcc --gcc.linkerexe:x86_64-w64-mingw32-gcc -d:release c woot.nim

Omarchy

An opinionated Arch + Hyprland Setup by DHH

https://omarchy.org

Turn a fresh Arch installation into a fully-configured, beautiful, and modern web development system based on Hyprland by running a single command. That’s the one-line pitch for Omarchy (like it was for Omakub). No need to write bespoke configs for every essential tool just to get started or to be up on all the latest command-line tools. Omarchy is an opinionated take on what Linux can be at its best.

Alternatives

HyDe - https://github.com/HyDE-Project/HyDE, https://www.youtube.com/watch?v=K0-Hoy1ttvU

Presentation with Typst

Produce a simple presentation template with say 3-5 different layouts that can be chosen like:

  • Full page text
  • Left text, right image
  • Right text, left image

Main idea: Do Not use any online services, produce everything offline.

Install typst

https://github.com/typst/typst
Cargo install or whatever floats your boat.

Get test document to build

cd documents
code test.typ
# in new terminal pane
typst watch test.typ

Should rebuild any changes detected into test.pdf

Testing so far:

#set page(
  paper: "presentation-16-9",
  margin: (x: 2cm, y: 2cm),
  fill: rgb("#2e3c45ff"),
  header: align(center)[
  _Presentation_
  ],
  numbering: "1/1",

)
#set text(
  font: "Roboto",
  size: 13pt,
  fill: rgb("#96b0bfff"),
)
#set par(
  justify: true,
  leading: 0.52em,
)
#set heading(
  numbering: "1.",
)

#align(center, text(27pt)[
  *A fluid dynamic model
  for glacier flow*
])

#grid(
  columns: (1fr, 1fr),
  align(center)[
    Therese Tungsten \
    Artos Institute \
    #link("mailto:tung@artos.edu")
  ],
  align(center)[
    Dr. John Doe \
    Artos Institute \
    #link("mailto:doe@artos.edu")
  ]
)
#align(center)[
  #set par(justify: false)
  *Abstract* \
  #lorem(80)
]

= Introduction
#lorem(180)

#align(center + top)[
  #image("images/bronto.svg", width: 50%)

  _#lorem(5)_
]

Will produce something like:
vscode with some typst extension

Or in pdf form: typstTest.pdf

Docs: https://typst.app/docs/tutorial/writing-in-typst/

Install vscode extension

Tinymist Typst, to preview your document in the code editor.

Notes

This markdown gets complicated really fast.