Skip to content

Instantly share code, notes, and snippets.

acme==0.31.0
asgiref==3.3.0
asn1crypto==0.24.0
attrs==17.4.0
Automat==0.6.0
blinker==1.4
certbot==0.31.0
certbot-nginx==0.31.0
certifi==2018.1.18
chardet==3.0.4
@toraritte
toraritte / upgrade-your-realities.md
Created November 13, 2022 23:14
game idea: Upgrade your realities

Players can choose what their worlds look like and what the basic principles of their realities are - or everyone starts with the same general space (e.g., 2D geometric forms) and they are free to evolve (cartoon-like world, highly realistic, going in an abstract mathematical direction, etc.). When players interact, they only percieve the others world as much as the rules of their realities allow it.

There are different on-screen examples of alternate worlds, such as Into the Spiderverse, Doctor Strange and the Multiverse of Madness, Inside Out, but my favourite is the one described in the 3rd book of Liu Cixin's Three Body Problem trilogy, when the protagonists stumble into a "4D bubble", and they try to make sense of it (and later we learn that, in the beginning, the universe had 11 dimensions)

@toraritte
toraritte / become-the-protagonist.md
Created November 13, 2022 23:06
game idea: Become the protagonist!

If you die mid-heist, you are clearly not the protagonist.

Watched Solo, in which the four-armed pilot gets killed during a job. I bet that guy thought that they are the hero. Another example is Pratchett's Guards! Guards!.

As in a regular role-playing game there would be plots with characters of varying importance (e.g., in Solo, Beckett was the leader of the gang and Solo just tagged along; if the film wasn't about him, he could've been an expendable extra), and players are vying to become the protagonist. Not sure what they would need to do, but the closer they get to the goal, they would get better criticals and other perks. Taking Solo again as an example, during the final firefight on Kessel, the pilot droid gets shot to pieces, Lando gets one in the arm, and Solo is completely untouched, even though he is in the middle of every single action in that heist. (Or when no one gets hurt on the train during the train heist, and there are gravity, speed, multiple factions of enemies, etc against Solo, Che

@toraritte
toraritte / store-flyer-categories.graphviz
Last active October 31, 2022 16:49
(The extension should probably be `.dot` or `.gv`, but this is clearer.
// https://medium.com/scientific-breakthrough-of-the-afternoon/using-graphviz-to-visualize-property-graphs-9e0c343515cc
digraph G {
rankdir = LR;
node [ shape = record ];
splines = polyline;
// https://graphviz.org/doc/info/shapes.html#html
fc [ label = <flyer<BR/>categories> ];
@toraritte
toraritte / whatever.md
Created October 2, 2022 18:17
whatever

I was sitting at the kitchen table (with a terrible posture) looking out the window, my hands resting on the keys of the laptop, when suddenly I found myself here. Bright whiteness replaced the window and the park I was staring at, while everything that supported my body vanished. Sprained a couple of things while on my way hitting the floor while scrambling to avoid the inevitable. (Or strained? Always get confused about this one; nevertheless, the pain is real, but manageable.)

(limping around, dead guy with partially missing head - not a clean wound either; messy, one could say.)

@toraritte
toraritte / overrideAttrs-notes.md
Created September 30, 2022 10:03
Progress notes on trying to figure out `overrideAttrs`

Wanted to use the latest TreeSheets, so updated its Nix expression, and ran

nix-shell -I nixpkgs=~/clones/nixpkgs/ -v -p treesheets

Worked like a charm. Then asked if there is a better way (see post), and overrideAttrs was suggested.

@toraritte
toraritte / format-blogspot-posts-for-printing.js
Last active September 7, 2022 14:10
Format Blogspost for printing them into annotatable PDFs
// Takes the post's date header, title, and content
// body, dumps it into `document.body`, and removes all
// formatting. A file name is also created in the
// format of `YYYY-MM-DD_tile-with-hyphens` that can be
// pasted when printing (CTRL+P) the page. (Print
// margins that work for me: vertical - 0.4, horizontal
// - 3.)
let title = document.querySelector(".post-title");
let content = document.querySelector(".entry-content");

Nix Learning Journeys

1. Participant #1

Created: June 1, 2022 10:57 PM

1.1 Bio / persona

Learned computational linguistics at grad school with Haskell, but had no relevant experience with building software and dealing with dependencies. Never used Nix before, but has to get acquainted with it for a Haskell project that uses it. Only has a vague idea what it might be for, and how to use it on MacOS.