sad dev diary – Telegram
sad dev diary
343 subscribers
1.66K photos
30 videos
104 links
tech trauma with a twist of shitty memes

i use rust btw
Download Telegram
😁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
😁5
ok my feelings on Rover EAP so far:
∙ datagrip (db plugin) is constantly broken
∙ update check is constantly broken (UPD: fixed in the last version)
∙ syntax highlighter is a crap and doesn't split function calls from struct names and so on
∙ auto complete suggests you a lot of rubbish and ignores existing functions, like push for Vec
∙ "jump into" doesn't work in half the places

left 1 thousand reports and switched back to VS code

too raw to start using it, unfortunately
😢2👍1
😁51