Skip to main content

All Articles

Docker Cheatsheet

Clear logs:

truncate -s 0 /var/lib/docker/containers/*/*-json.log

Login into a restarting container:

docker compose run --rm --entrypoint /bin/bash SERVICE

.

CSS SCSS Bootstrap Cheatsheet

(We prefer bootstrap.css for there is no other good option. We don't like tailgate. As for versions, we use both bootstrap 4 and 5, undecided as of yet.)

Breakpoints:

/* Bootstrap 4 */
@media (min-width: 576px)  {} /* xs */
@media (min-width: 768px)  {} /* sm */
@media (min-width: 992px)  {} /* lg */
@media (min-width: 1200px) {} /* xl */

.

Write Like It's 1866: LLMs Relearn Telegraphese

Image Thumb

Instructed to answer in cablese — the telegraph operators' compressed dialect (drop the articles and filler, keep every fact) — a single one-sentence instruction, no examples and no codebook, elicits 40–49% fewer billed output tokens on the API's own meter, and models across four families still recover the information at full fidelity. For machine-to-machine traffic, that is half the output bill at any major API, today. The Victorian economics of the cable, reborn as token economics: the Telegraph Test benchmark.

Tools: Automated social posting

These days, I believe you have to automate social posting, you always had to do marketing in a somewhat automated way, and today more especially so. Below are some ideas on how to achieve social posting automation.

Case Study: Ready Player Me

Image Thumb
RPM (Ready Player Me) used to be a character creation, or avatar creation, studio. You'd select properties (boy or girl, hair style, clothes, etc) of your character, click a button and download a reusable 3d asset.