#100daysofcode Day 100:
#obfuscated #sh #script!🤔🐚📜
set `head -1 $0|cut -c2-` fosstodon.org/ johanv/ 100.html \< iframe \> embed script
q=$4@$5tagged/$1;v=echo;b=;f=2;z=1
$v "$7pre$9`cat $0`$7/pre$9$7$11 src=$4$10.js$9$7/$11$9">$6
while [ $f != 1 ]||[ $z -lt 3 ];do
q=`curl -sL $q`
b=$b\ `$v "$q"|grep $4@$5[0-9]|cut -d\" -f6`
q=`$v "$q"|grep ad-m|cut -d\" -f4`
f=`$v "$q"|wc -l`;q=`$v "$q"|tail -1`
z=$((z+1));done;for l in $b;do
$v $7$8 height=650 src=$l/$10$9$7/$8$9
done|uniq>>$6;xdg-open $6
#100daysofcode Day 99: I added a chat feature to https://live.johanv.xyz and cleaned up the html page. I also connected it to youtube livestreaming, so now I can stream on my own site, twitch, and youtube all at the same time 👍
#100daysofcode Day 98: Inspired by @amolith ( https://secluded.site/custom-streaming-setup/ https://secluded.site/live ), I created a custom streaming setup so I can stream #OBS to my website https://live.johanv.xyz/ and also forward it to twitch. I'll be announcing on here when/what I'm #streaming!
#100daysofcode Day 97: I worked on some more stuff with a php photo gallery, including adding the ability to upload multiple files at once.
#100daysofcode Day 96: To try to get group texts working on my #pinephone, I build vgmms ( https://git.sr.ht/~anteater/vgmms ), but encountered an error when running it: https://todo.sr.ht/~anteater/mms-stack-bugs/16
#100daysofcode Day 95: I played around with the NetHack Learning Environment, a new project by facebook's research group (as much as I dislike them as a social media I was intrigued). https://github.com/facebookresearch/nle
#100daysofcode Day 94: I looked into the https://near.org/ blockchain for an online hackathon. I'm trying to make a shared pixel art whiteboard just for fun. I started with their guestbook example: https://examples.near.org/guest-book
#100daysofcode Day 93: I found s3fs-fuse, which lets you mount your storage to the filesystem. It's a bit slow since it is going through the extra step of being a filesystem, so I might try rewriting the site to talk to the s3 gateway instead.
#100daysofcode Day 92: Today I played around with tardigrade.io, the client site of #storj.io, an awesome distributed, end-to-end encrypted (and cheap!) file storage system. (I also run a server node.) I was able to set up an S3-compatible gateway running inside docker as a subdomain on my site but I had issues with the uplink connector libraries for python, go, and nodejs. Here's a link (expires in a week) to a file hosted there: https://minio.johanv.xyz/xyz/f/hello-storj.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=johanv%2F20200623%2F%2Fs3%2Faws4_request&X-Amz-Date=20200623T041940Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=1ac0561dc0d84b8bb143c502a9bee237c43be70b9758780d157a4bacb8e6d4d9
#100daysofcode Day 90 & 91: I added a message system to the game, both for in-game messages "You hit the goblin!" and debug messages "Oops, this statement was never supposed to be executed..."
#100daysofcode Day 89 (yesterday): I got back into the development of ruegolike, my #golang #roguelike, by tweaking how things are displayed and the movement keys, and updating the roadmap.
#100daysofcode Day 88 (yeterday): I tested the new database and pushed the changes to the site, which you can play at https://games.johanv.xyz/boggle Then my family and I played a few rounds. It's much faster and less buggy, and wasn't that hard to convert over to #mongodb!
#100daysofcode Day 87 (yesterday): We finished the walking animation, which is the end of the lego man #blender tutorial series! Here's the playlist if you are interested: https://invidio.us/playlist?list=PLda3VoSoc_TR6TsTotr32bkJRISY_GnfG
#100daysofcode Day 86 (yesterday): We worked on some more blender animations, this time trying to make the lego guy walk. It's difficult to avoid the feet sliding across the ground...
#100daysofcode Day 85: I finally migrated my boggle game to MongoDB! (also, mongodb.live was today) This was long overdue since I was previously just storing everything in a file, which would slow down and break the app when it got too large. Surprisingly, everything seemed to work first try, but tomorrow I'll do more testing locally before pushing it to the server.
#100daysofcode Day 84: My friend and I rendered an animation of the #lego #blender man and... well, I'll let you see for yourself ;) #wednesday
#100daysofcode bonus: I finally fixed the rendering in the #golang #roguelike! It was a matter of keeping track of which floor tiles have been discovered within rooms, to decide what a corner should be displayed as. (red tiles are ones that have not been discovered yet, for debugging)
#100daysofcode Day 83: We finished another #blender #lego tutorial to create the face with different expressions. Turns out there are 2 more videos after this instead of this being the last one.
#100daysofcode Day 82: I fixed the rendering of some of the rooms in the #golang #roguelike, but there are still some edge cases, such as when a corner gives away another room. This happens when there is a wall you have seen, but is hidden because the room has not been entered. Then the corner still counts that wall and connects to it, giving away the room.
https://keyoxide.org/CB274A4B4E0B24B79A86FB98121A0B83683707DB
Tinkering is Johan’s main token
From this there’s a proverb he’s spoken
For in work or playing
He lives by the saying
If you can’t fix it, it ain’t broken.