Avatar scuti

Formerly at scuti@teknik.io.

Read the blogroll.

I keep notes on git.

51 notes

I built a longhouse in Minetest which is used as a barn-themed shop for the town it's in. I used a Fachhallenhaus for reference.

#minetest

[reply]

pic: a group of unripe tomato growing. I had no idea suckers could sprout from fruit stems.

#gardening

[reply]

Around last election season, someone showed me "Simulating alternate voting systems" by Primer on YouTube.

https://yewtu.be/watch?v=yhO6jfHPFQU

The video content parallels this online book.

https://math.libretexts.org/Courses/College_of_the_Canyons/Math_100%3A_Liberal_Arts_Mathematics_(Saburo_Matsumoto)/08%3A_Mathematics_and_Politics/8.03%3A_Voting_Theory

I had assumed compared to plurality voting, the electoral method in the US, approval voting would be harder to verify because each voter can cast an n number of votes for candidates.

#bookmark

[reply]

This is a commit from the repo for my guestbook script. I had told myself that this is a remarkable example.

https://notabug.org/scuti/sitescripts/commit/c67575291b49074fcd80d05a03bcb6bdf0d878ec#diff-48aeb99446addbe345f69f4fa5883ca587d0e81R108

I wrote it late at night; I was tired; I was frustrated; it didn't work as I intended; and I was constantly hitting the Up Arrow key in my terminal. It was more confusing than it had to be, and I took a break. Just because I took a break, I was able to write a much simpler version of the function (right above).

#programming

[reply]

I tried starting strawberries from seed a few months ago, but I had given up expecting seedlings from this batch of soil and reused it to grow a tomato. Now, I have more strawberry seedlings than I anticipated sprouting.

#gardening

[reply]

Notes on using git so I don't have to use a search engine every time.

#git

In most cases, I want to undo the commit and leave everything intact, so I can re-do the commit message or (un)set my name or e-mail:

git reset --soft HEAD^

I can see a use for undoing the commit and unstaging the changes.

git reset HEAD^

I seldom want to throw out everything and reset to the previous commit:

git reset --hard HEAD^

The above is described in...

git reset --help

It even includes readily understandable examples.

[reply]
[reply]

Touch some grass (in Minetest) then sell it to this vending machine.

scuti.neocities.org

Minetest: Digilines Vending Machine

scuti made a vending machine in Minetest with the Digilines mod and programmed it in Lua.

#blogroll #minetest

[reply]
[reply]
[reply]
[microblog.py]