Sign in

Risto Viitanen

@dilaz.bsky.social
95 followers 120 following 36 posts

My super powers include writing AND reading regex. Into software hacks, being lazy and Information security. Uses tabs when coding. Creator of the original Norppalivebot ❤️ our future AI overlords

PostsRepliesMedia
Risto Viitanen @dilaz.bsky.social · 07/09/2026
Huh, olipas #Tracon ja nyt ihan poikki. Erityisesti jäi mieleen @jonezi.bsky.social #PeliLeffat luento, josta jäi käteen muutama leffasuositus ja puolisolle tuli hyvä mieli Fire Emblem -cosplayn tunnistamisesta
010
Risto Viitanen @dilaz.bsky.social · 03/05/2026
2 ekaa liittyy lähinnä siihen, et mun koulutusdata on roskaa ja koska teen tätä huvikseni vapaa-ajallani, en oo saanu kerättyä kummosta datasettiä. Tokasta tunnistuksesta tosin ei ois pitäny ees tulla ilmotusta liveen vaan se oli ihan conffibugi. Suora linkki streamiin on youtu.be/xMEI4-DVIB8
youtu.be
Saimaannorppa - WWF:n Luontolive
YouTube video by WWF Suomi
000
Risto Viitanen @dilaz.bsky.social · 03/05/2026
Ruma ankanpoikanen jne
000
Reposted by Risto Viitanen
Disobey_Fi @disobeyfi.bsky.social · 12/03/2026
We had a ton of awesome presentations and talks at Disobey 2026 – and we want to share them (all that were approved for filming that is) with you! Please find them in YouTube: www.youtube.com/watch?v=2uA3...
083
Risto Viitanen @dilaz.bsky.social · 23/12/2025
But I do hecking love wobbly windows
000
Risto Viitanen @dilaz.bsky.social · 23/12/2025
Day 2 of using (Manjaro) Linux in (almost) 2026. Still wouldn't recommend it to a non-technical person. Main issues I've fixed so far: - Widevine DRM support for a browser - Keyboard lights - Finding out how to install your every day software, like Slack & Discord
100
Risto Viitanen @dilaz.bsky.social · 13/05/2025
Jep, just avasin ton pääsivun ja huomasin 😅
020
Risto Viitanen @dilaz.bsky.social · 13/05/2025
#norppalive­ssä näköjään tapahtuu tänää jotain, näyttäis 5min välein tulevan joku kuva ruutuun­­­
Lumilapio-piirros norppalivessäLumilapio-piirros norppalivessäRuksi norppalivessäLumilapio-piirros norppalivessä
130
Risto Viitanen @dilaz.bsky.social · 02/05/2025
Miten joka #norppalive­ssä on tommonen norpan muotonen kivi?!
Norppaliven kivikko, missä yksi kivi on merkattu "Norppa (88%)"
041
Risto Viitanen @dilaz.bsky.social · 01/02/2025
Bonus Norb
Picture of a cat cleaning himself with a label "norppa 0.93"
050
Risto Viitanen @dilaz.bsky.social · 01/02/2025
First test run of this newly trained YOLOv11n-model detecting norppas (or saimaa ringed seals) seems to be working pretty well #norppalive
151
Risto Viitanen @dilaz.bsky.social · 25/01/2025
Uutta norppabottia kouluttaessa, kun tutkii vanhoja hakemistoja, löytyy välillä aarteita
Taulu, jossa on norppa kivellä ja norpan ympärillä punainen laatikko, jonka päällä lukee "norppa 0.87"
010
Risto Viitanen @dilaz.bsky.social · 17/12/2024
#AdventOfCode day 16 done and it was pretty quick with the help of pathfinding-crate, which felt a bit like cheating For some reason the last test fails, but I still got the correct solution github.com/Dilaz/advent...
github.com
020
Risto Viitanen @dilaz.bsky.social · 17/12/2024
Day 15 of #adventofcode done. Starting to take a bit too long to solve these puzzles so I might have to give up soon 😅 github.com/Dilaz/advent...
github.com
020
Risto Viitanen @dilaz.bsky.social · 15/12/2024
Day 14 of #AdventOfCode was pretty.. different. I think I got a bit lucky and guessed how the part 2 works, but it's not super fast solution, takes about 75ms to run github.com/Dilaz/advent...
github.com
010
Risto Viitanen @dilaz.bsky.social · 15/12/2024
Oh, totally forgot about Rayon again; day 12 part 2 is now 7.5ms
000
Risto Viitanen @dilaz.bsky.social · 15/12/2024
Had a few busy days, but here are solutions for day 12 & 13 of #adventofcode Day 12 part 2 is my slowest solution, it takes around 17ms to run but I think day 13 part 2 is one of the faster ones (51µs) if you don't count parsing the data (47µs) github.com/Dilaz/advent... github.com/Dilaz/advent...
github.com
120
Risto Viitanen @dilaz.bsky.social · 13/12/2024
I have to admit that copilot did the most of the "manual" work 😅
000
Risto Viitanen @dilaz.bsky.social · 11/12/2024
I've completed "Plutonian Pebbles" - Day 11 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/11 I tried "cached" crate, but it messed up my benchmarks, so I made my own cache. github.com/Dilaz/advent...
adventofcode.com
Day 11 - Advent of Code 2024
140
Risto Viitanen @dilaz.bsky.social · 10/12/2024
Another busy year, apparently I've been watching Twitch about 52 hours per day on average! #twitchrecap
Hours watched: 18000, distinct days visited: 347
010
Risto Viitanen @dilaz.bsky.social · 10/12/2024
If you want a fun exercise with day 5 part 2, you can actually use quick select instead and just find out what is the middle number without sorting the whole list en.wikipedia.org/wiki/Quickse...
en.wikipedia.org
Quickselect - Wikipedia
110
Risto Viitanen @dilaz.bsky.social · 10/12/2024
Day 10 of #adventofcode was easier than 9. Actually due to my lazy solution, part 2 is faster than part 1. The only difference is that part 1 needs to get the unique routes and part 2 just counts them all (261µs vs. 187µs) github.com/Dilaz/advent...
github.com
050
Risto Viitanen @dilaz.bsky.social · 10/12/2024
Finally got #adventofcode day 9 part 2 working, I have no idea why it was so hard for my brain. Also changed things a bit in the project and I'll try to fix up the rest of the days to the same format to have a separate lib, main & benchmarks for each day github.com/Dilaz/advent...
github.com
010
Risto Viitanen @dilaz.bsky.social · 08/12/2024
Back to microseconds in #adventofcode day 8 Spent way too many hours debugging too low result on part 1 and the issue was, that I needed '0'..='9' instead '0'..'9', which left out 9. You get a warning for that by adding: `"rust-analyzer.check.command": "clippy"` to VSCode github.com/Dilaz/advent...
github.com
030
Risto Viitanen @dilaz.bsky.social · 07/12/2024
Turns out my silly little optimization which caused so much trouble only skips 16/850 lines, which makes pretty much no difference
000
Risto Viitanen @dilaz.bsky.social · 07/12/2024
Pretty happy with #adventofcode day 7 solution. Had some issues getting the correct answer due to a premature optimization, which I didn't think through: Who would have known that x + 1 is larger than x * 1? But now part 1 runs in 1.8ms and part 2 in 5.8ms github.com/Dilaz/advent...
github.com
120
Risto Viitanen @dilaz.bsky.social · 06/12/2024
#adventofcode day 6 done! Managed to optimize part 2 from 2.5s runtime to 125ms with the help of Rayon lib & other stuff, but I'm sure there's still something I could do to make it faster github.com/Dilaz/advent...
github.com
010
Risto Viitanen @dilaz.bsky.social · 05/12/2024
Day 5 of #adventofcode done and it's at least less hacky than they day4 solution github.com/Dilaz/advent...
github.com
010
Risto Viitanen @dilaz.bsky.social · 04/12/2024
Day 4 of #adventofcode is my laziest solution so far since I really dislike these kind of tasks, but at least it works and it is ⚡Blazingly fast⚡ github.com/Dilaz/advent...
github.com
130
Risto Viitanen @dilaz.bsky.social · 03/12/2024
Made a lazy regex solution for #adventofcode day 3 and then a faster/more optimized one with nom. It's not like the regex solution was slow or anything, but the run time dropped from 0.004s to 0.001s github.com/Dilaz/advent... github.com/Dilaz/advent...
github.com
010
Risto Viitanen @dilaz.bsky.social · 02/12/2024
Never mind, it's 7x faster when I added Rayon optimization to the higher level loop
000
Risto Viitanen @dilaz.bsky.social · 02/12/2024
#adventofcode day 2 done and almost got to use the Rayon lib, but it just got slower with that 😅 github.com/Dilaz/advent...
github.com
110
Risto Viitanen @dilaz.bsky.social · 01/12/2024
Day 1 done in Advent of Code, let's see if I can manage to solve the first 10 puzzles this year github.com/Dilaz/advent...
github.com
000
Risto Viitanen @dilaz.bsky.social · 14/05/2024
Jos oisit Dyykkis, sul ois kasa ilmasia poppareita
110
Risto Viitanen @dilaz.bsky.social · 29/11/2023
Tarkotit varmaan Näässtadia tai Meri-Mansee
100
Risto Viitanen @dilaz.bsky.social · 28/11/2023
I guess I'll try to move all my bots (@norppalivebot.bsky.social and others) to Bluesky and in the future, some new bots I've been thinking about doing
000
Risto Viitanen @dilaz.bsky.social · 17/11/2023
Hello, world!
171