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
0 days without cancellations
today it’s time to haterust 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
today it’s time to hate
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
Unity
Unity is Canceling the Runtime Fee
After deep consultation with our community, customers, and partners, we’ve made the decision to cancel the Runtime Fee, effective immediately.
👀2🔥1😭1
OH GOD FINALLY. JetBrains announced brand new Rust IDE
hope now we’ll forget about this crap calledvscode fleet
https://blog.jetbrains.com/rust/2023/09/13/introducing-rustrover-a-standalone-rust-ide-by-jetbrains/
hope now we’ll forget about this crap called
https://blog.jetbrains.com/rust/2023/09/13/introducing-rustrover-a-standalone-rust-ide-by-jetbrains/
The JetBrains Blog
Introducing RustRover – A Standalone Rust IDE by JetBrains | The RustRover Blog
“When will there be a Rust IDE?” We get this question from our users quite frequently, and today we’re happy to announce that the day has arrived. Please welcome RustRover, our standalone IDE for R
👏5
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
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
Bloomberg.com
Video-Game Company Unity Closes Offices Following Death Threat
Management announced a controversial pricing decision two days ago
😁1🤯1
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
∙ "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
∙ 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
This media is not supported in your browser
VIEW IN TELEGRAM
⚡️⚡️⚡️ BREAKING NEWS ⚡️⚡️⚡️
I reinvented Flappy Bird 🌝
I reinvented Flappy Bird 🌝
❤3🔥1😱1