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
while I'm resting, a new tragedy happened in the Rust family lol.

The serde_derive macro now comes as a precompiled binary, which literally means you’ll need to run a 3rd party program with full access to your machine environment (see supply chain attack).

btw I make money and pretend to be a dev thanks to this library 🌝
😱2🤔1🌚1
do not rush to upgrade to 1.72 fellaz

“the project is a web server using actix_web. Both local and CI builds appear to be taking all available memory and never finishing.”

and even more

https://github.com/rust-lang/rust/issues/115216
https://github.com/rust-lang/rust/issues/115283
https://github.com/rust-lang/rust/issues/115297
👍2
make php great again!

now you can use async rust libraries from PHP asynchronously

https://github.com/danog/php-tokio

#programming #rust #php #async #useful_repositories
💩8🤯2🙈1
love these poop reactions, appeared a second after posting above ❤️
💩54
🙈1
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