On the 1st of December Tristan, Rowan and I released the first version of Cr1ckt, a tricky platformer where you need to jump to avoid water and get to the fruit. It’s our submission for the GitHub Game Off 2021 game jam, an annual challenge to make a game based on a secret theme within the month of November. The theme this year is “BUG” so apart from playing as a cricket it also has some fun, intentional bugs.
It’s got downloads for major desktop platforms Windows, Linux & Mac, as well as Android. They’re quite small so you should be able to download and play quite fast. You can get the downloads or play online in your browser on the game page at sinisterstuf.itch.io/cr1ckt.
When I attached our children’s swing to the ground there was still a significant piece of sharp-ish threaded metal sticking out above the bolt head and I was worried about them falling on it. Grinding the end off might still leave some sharp parts, so I thought it safer to print plastic covers for them.
The Hungarian coat of arms features an iconic cross with two horizontal beams. In Hungarian it’s called “Kettős Kereszt” which translates to “Double Cross”, usually called the Patriarchal cross in English. This cross is present on other emblems around the area of Central and Eastern Europe too and has been featured on the Hungarian coat of arms at least since the reign of King Saint Stephen of Hungary.
3D model of the patriarchal cross as shown on the Hungarian coat of arms
Seeing as it’s a Hungarian national holiday today, in memory of the heroes and martyrs of the Hungarian revolution of 1956, everyone has their Hungarian flags out. I decided to do something Hungarian too, while trying out some tools for preparing models for 3D printing. So far I’ve been using Blender, because I have some experience with it, but it’s for creating 3D scenes and although you can use it to design 3D models for printing, it’s not CAD software. This time I tried Autodesk’s web-based program Tinkercad, which although lacking many of the features you’d get in a full-blown CAD program, is plenty enough for me to design simple things like this. Not being a mechanical engineer, I probably wouldn’t even know what features I’m missing!
3D printed “Kettős Kereszt” painted in the colours of the Hungarian flag
The program is very intuitive to use. I put a few cubes on the workplane, stretched them out into intersecting rectangular boxes and exported an STL file for printing within minutes. You can see a screenshot of the result above. I also made a version with a hole cut out of the top so you could hang it on a key chain. That turned out to be as easy as putting a cylinder in one of the boxes, stretching it out of the top and bottom box faces and marking it as a “hole” in the model.
After scaling the model down to 30% so it fits on my print bed, the final print came out as shown in this photo. It took less than 10 minutes to print at 30% in-fill and seems pretty rigid. I’ve painted on the red, white and green of the Hungarian flag and will hang this up somewhere, who knows, maybe it’ll even be good for a Christmas decoration. If you’d like to print your own Hungarian cross you can download both of my STL files here:
Now that I’ve got steam, I get to be constantly pestered by e-mails sending me keys with which to identify that I am myself. To save a few steps in this annoying, repetitive process I wrote a tiny bash script which finds the key in an e-mail from steam and uses zenity to pop it up on my screen, then added a filter in Evolution Mail to mark these “steam verification” messages as read and pipe them to the pop-up script. This allows me to copy the key with a double-click and paste it into steam with a middle-click, without having to poke around in my mail client for the e-mail and the place where the key is mentioned in it.
In the hope that it saves someone else from this irksomeness, here’s the code for the script:
# Displays a pop-up showing a Steam activation key piped to it by a MUA.
# In the e-mail the steam key is wrapped in <h2> tags
# Author: Sion Le Roux <email@example.com>
# read e-mail from pipe
while read -r line; do
# find <h2>
buffer=$(echo $line | grep 'h2')
if [[ ! -z $buffer ]]; then
#strip surrounding <h2> tags
steamkey=$(echo $buffer | sed -e 's/<\/\?h2>//g')
# display the steam code in a pop-up
zenity --info --title="Steam Key" \
My brother (Civilian) and I recently recorded this rap song, Venom, which you can listen to on soundcloud. We also made a music video which you can watch below or on youtube. This is the first song + music video we’ve released to the public and we’re trying to promote it as much as possible, I hope you enjoy it and will support us in this!
Something you always want to do on a computer, even if only once, is to check its hardware specifications, that is:
how much RAM do I have?
how much hard disk space do I have?
how “fast” is my CPU?
how much RAM does my graphics card have?
Of course most modern GNU/Linux desktop environments like Ubuntu usually come with some kind of graphical tool to find this information. GNOME’s System Monitor program should provide at least some of what you’re looking for. The information here is more for when you’re staring at a blinking cursor on a black screen trying to remember what the command was to show information about the CPU, RAM or Graphics Card.
This is the third time I’ve had to go on an internet search quest to remind myself how to do this in a Linux terminal. To save myself the trouble in the future, I’m writing down the commands here and if anyone else finds it useful then that’s great, and a second bird is figuratively killed! Continue reading →
My brother’s doing his International Baccalaureate Diploma right now and for one of his Geography assignments he had to make these graphs -cross sections of rivers- he called them geographs because… they’re for geography and because it has fewer words, so that’s what I’ll call them here. He drew them by hand but they got smudged and I thought it would be nice if he could make them digitally, but that’s a lot of work. I then thought it would be good if there was an easy way to do this, and, having found one, I’ve decided to share it with the world so that other IB students can benefit from this too!
What is a GeoGraph?
It’s a bunch of points on a graph that shows the depth at different points of a river the class studies.
A graph looks like this one:
And as I understand, it works like this:
there is one graph for each transect measured at different points on the river
the width of the transect is shown
the width of the graph is scaled to the width of the transect
the depth of the river is shown for different points along these transects
the depth is measured at 5 points along the transect:
at the start of the transect
at the end of the transect
halfway between the start and the end
halfway between the midpoint and the start
halfway between the midpoint and the end
the depth is measured as a negative number
because depth is negative the graph is drawn below the x-axis
the graph is shown as an irregular polygon connecting all points on the graph
there is a line along the bottom of the polygon connecting the first and last points
this line is as low as the lowest point on the graph
That’s a lot of points to consider, and it’s why this graph is not easily done using the graphing functions of your spreadsheet application (for most of you that’s probably MS Excel). A lot of people might get frustrated, or resort to just drawing it in Paint or some other simple drawing program, which is much too much work! Don’t worry there’s a much easier way of doing it, and it’s all described below. Continue reading →