@5422m4n@zeddotdev Offtopic, but I'm interested in your setup: Everything I do with git I do in the terminal except merge conflicts and when I checked Zed a few weeks ago it's lacking any git integration, so I went back to vscode. How do you work?
@ChromiumDev There is no error. It's just an overcomplicated way to say:
setTimeout(() => {console.log(5); console.log(5); console.log(5); console.log(5); console.log(5); }, 1000)
you're welcome.
@5422m4n At first I thought "cool", but I'm not a big fan of asymmetry. cargo run and running the binary directly should both do the same. I guess it's more for build scripts and rustc variables.
It is with great excitement that we announce the Bevy Foundation: a non-profit that exists to develop Bevy and educate people about its usage!
Know that the Bevy Foundation exists for YOU and we wouldn't be where we are today without your support!
https://t.co/gRzW3TagcH
Oh cool, Rust for Rustaceans is in the latest "Learn You Some Code" @humble Bundle! That means you can get it discounted together with a bunch of other tech books from @nostarch *and* support the Python Software Foundation in the process!
https://t.co/upvv03RyiH
๐คฆ What a successful day. Took me 6h to find out that MacOS sucks for embedded programming an #esp32.
๐ 2h later from scratch on Ubuntu I wrote a 20LOC programm that makes a LED blink.
Guess my stack, hint: 'cargo run' and it's done.
#rustlang#embedded
@hmemcpy In Rust 'unsafe' has a different meaning. '.unwrap' in comparison is very safe. At some point you will write unwrap because you know it will not fail and also you don't want to implement error handling.
@Legend_Ori I started @chunklands about 10yrs ago as a C++ exercise. The main reason is probably that I was missing game concepts and started somehow and ended somewhere ๐. Nevertheless I learned #rustlang and #vulkan so I don't regret anything and I made progress in every iteration ๐.
@techsavvytravvy@typescript At some point it's enough TS typing magic. I don't want it. Just get it and check it with "if" ๐. Also juniors will understand ...
Did the #blender Donut beginner tutorial by @andrewpprice, but just placed them on my kitchen's table instead of the plate. Incredible how things get realistic with just a few clicks.
@mattpocockuk I think we tried this for an opaque date type which is a number and the value itself was a utility class with static methods for it. But in the end we decided to use 2 names.
@mattpocockuk@GhosteTheDev correct. It shows horrible code that is 100x easier to write as simple stupid if-statements. If your type system needs such crazy constructs probably also that sucks kind of ๐.
@JoseMedina724@hollylawly @LinggBomb Yes! ๐ write a book "how to make 200K in one day" and print it 20K times. Do as much as advertising as possible and give a very short timeslot to buy for $10. In the book you only print: "It's already happening, thank you."