sad dev diary – Telegram
sad dev diary
330 subscribers
1.65K photos
28 videos
104 links
tech trauma with a twist of shitty memes

i use rust btw
Download Telegram
5
🗿5
🤯
😁1
😁4
🥰6😁1
I spent an hour solving this challenge, trying to find the best algorithm, and then it turned out that the authors' solution is just hard-coded values lol

const PIXELS: [(usize, usize); 16] = [
(0,0), (0,1), (0,2), (0,3), (0,4), (1,4), (2,4), (3,4), (4,4),
(4,3), (4,2), (4,1), (4,0), (3,0), (2,0), (1,0)
];


yes, I know, my approach (see pic above) doesn’t look perfect, but in defense I’d say that I wrote it at midnight (after 12h coding session) and it at least supports a matrix of any size (which gives you zero advantages in the context of programming for a specific microcontroller 🌝)

also his binary is 46kb smaller

https://docs.rust-embedded.org/discovery/microbit/05-led-roulette/the-challenge.html
😁3
💅6😁1
😁3💯1
0 days without cancellations

today it’s time to hate rust foundation Unity Engine
Unity changed their business model and that pissed off the community since such approach could kill the indie studios

original: https://blog.unity.com/news/plan-pricing-and-packaging-updates
more on that here
👀2🔥1😭1
I don’t see “blazingly fast” there..
🤩3😁1
today's reason for my unproductivity is new google's emoji kitchen

that’s enough internet for today
😁3
the situation is getting out of control 👀

Unity (temporarily?) closes offices due to death threats after pricing model changes.

as a reminder: developers will soon need to pay a fee every time a game is installed after meeting certain thresholds.

https://www.bloomberg.com/news/articles/2023-09-14/video-game-company-unity-closes-offices-following-death-threat
😁1🤯1
👍3
😁4😢3
as a rust dev, I totally agree
😁1
👌1