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 🌝
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
sad dev diary
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).…
ok serde removed precompiled binaries, evil is defeated (this time)
https://github.com/serde-rs/serde/releases/tag/v1.0.184
https://github.com/serde-rs/serde/releases/tag/v1.0.184
GitHub
Release v1.0.184 · serde-rs/serde
Restore from-source serde_derive build on all platforms — eventually we'd like to use a first-class precompiled macro if such a thing becomes supported by cargo / crates.io
❤3🔥1
so Zoom CEO literally says that the main idea behind their own product is
to make people less innovative 😏
https://www.businessinsider.com/zoom-ceo-employees-return-to-office-2023-8
to make people less innovative 😏
https://www.businessinsider.com/zoom-ceo-employees-return-to-office-2023-8
Business Insider
Leaked Zoom all-hands: CEO says employees must return to offices because they can't be as innovative or get to know each other…
Zoom CEO Eric Yuan discussed the benefits of in-person work in a leaked meeting.
😁4
ratatui new version is released. amazing crate for building TUIs.
more on that here
https://github.com/ratatui-org/ratatui
#programming #rust #useful_repositories #data_visualization
more on that here
https://github.com/ratatui-org/ratatui
#programming #rust #useful_repositories #data_visualization
blog.orhun.dev
From tui-rs to Ratatui: 6 Months of Cooking Up Rust TUIs - Orhun's Blog
FOSS • Linux • Programming
❤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
“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
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 ❤️
💩5❤4
rust is safe until homie brings shit to da hood
https://blog.rust-lang.org/inside-rust/2023/09/01/crates-io-malware-postmortem.html
https://blog.rust-lang.org/inside-rust/2023/09/01/crates-io-malware-postmortem.html
🙈1
https://kobzol.github.io/rust/rustc/2023/07/30/optimizing-rust-ci-2023.html
solid post about rustc CI optimizations from Kobzol, a member of the rust infra team
#programming #rust #compiler #optimizations #useful_posts
solid post about rustc CI optimizations from Kobzol, a member of the rust infra team
#programming #rust #compiler #optimizations #useful_posts
Kobzol’s blog
How to improve Rust compiler’s CI in 2023
During the first half of 2023, I have continued my quest for optimizing the build, test and performance monitoring infrastructure of the Rust compiler. This post describes what has been done in this area, and serves a follow-up to my previous post on this…
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
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
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
sad dev diary
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…
This media is not supported in your browser
VIEW IN TELEGRAM
also you can see the amazing result, I know it is quite impressive
❤3👍1🔥1🥰1