Mandar Vaze reposted
Mandar Vaze
Mandar Vaze reposted
Mandar Vaze reposted
After learning (and I’m still learning) basics of #rust , I decided that I need to work on real world project to get better understanding of the language and face real problems Introducing snb- Superfast notes from the terminal Originally published here: microblog.desipenguin.com/post/announc...
Mandar Vaze reposted
Mandar Vaze reposted
Mandar Vaze reposted
Have just released dynosaur v0.2.0, dynosaur is a Rust crate that lets you use dynamic dispatch on traits with async fn and methods returning impl Trait. Try it out, report errors and give us feedback. github.com/spastorino/d...
Mandar Vaze reposted
> Scientist's Definition of Success Common definition of success: reaching a desired outcome. Scientist's definition: *Learning something new*. If you learn something, you haven't failed. Great quote by @neuranne.bsky.social on How I Think with @nickmilo.bsky.social.
Mandar Vaze reposted
Mandar Vaze reposted
Mandar Vaze reposted
Mandar Vaze reposted
Mandar Vaze reposted
Replying to @ssp.sh
Vim is based on shortcuts. When I discovered that and played around, I felt numb and a little stupid, having not learned the shortcuts much earlier. I realized there was a keystroke to get to any specific position I wanted. It felt liberating, moving my cursor with the precision of a surgeon.
Installed #linux #mint on my laptop I’ve been using Linux on my old MBP since November of last year. I started with OpenSUSE After using it for a month or so, I switched to Tuxedo OS 4 Originally published here : microblog.desipenguin.com/post/linux-m...
Mandar Vaze reposted
Mandar Vaze reposted
@zicon.no blog.zicon.no/marmite.html here you mentioned that your Art blog (still) runs on Hugo What theme do you use for your Art blog ? (With Hugo) I also want to publish my art (Nowhere near as cool as yours, still..) but not able to find good option (Hugo theme, or otherwise)
Mandar Vaze reposted
Mandar Vaze reposted
There was a post on #linkedin about how asking #deepseek to list states of India is not answered. But it is not entirely accurate Read the details here: microblog.desipenguin.com/post/deepsee...
Mandar Vaze reposted
Mandar Vaze reposted
Mandar Vaze reposted
Recently, I re-listened to a podcast episode where they discussed about constraints. Everyone thinks that constraints are bad. But having some constraints may be good. Originally published here : microblog.desipenguin.com/post/constra...
Mandar Vaze reposted
#rust script may be better than rustc because one can define the dependencies in the “script” itself Originally microblog.desipenguin.com/post/rust-sc...
Mandar Vaze reposted
Mandar Vaze reposted
💡 #firstworldproblem
An incredible copywriting moment. My friend @steeber.bsky.social knows I love a good packaging redesign, and spotted this unusual label revision. Why are they switching the wording to the version in the second photo? What happened?!? Well. When you're ready for the answer, open the second post…
#rust: When `rustc` Beats Cargo for quick trial code Recently, I needed to try some functionality (of getting user’s home directory) Setting up a throw away project via `cargo new` is certainly possible but seemed overkill. Originally published here : microblog.desipenguin.com/post/rustc-o...
Mandar Vaze reposted
Mandar Vaze reposted
Mandar Vaze reposted
Mandar Vaze reposted
Mandar Vaze reposted
Mandar Vaze reposted
If you have gone thru @lernerpython.com 's `Local Vs Global` module (Just like I did recently) then you would know this already 😀 store.lerner.co.il/view/courses...
Consider this #Python code: x = 100 for i in range(10): x = i ** 2 print(x) What is printed? Answer: 81. Wait, isn't x local, inside of the loop? Shouldn't it be 100? Nope — indentation ≠ scope. Inside of a loop, without a function, you're still in the global scope. Questions?
If you have gone thru @lernerpython.com 's `Local Vs Global` module (Just like I did recently) then you would know this already 😀 store.lerner.co.il/view/courses...
Consider this #Python code: x = 100 for i in range(10): x = i ** 2 print(x) What is printed? Answer: 81. Wait, isn't x local, inside of the loop? Shouldn't it be 100? Nope — indentation ≠ scope. Inside of a loop, without a function, you're still in the global scope. Questions?
Mandar Vaze reposted
Need help putting together a format string in #Python #Pandas? Check out the site strfti.me, an interactive tool that makes it easy. (It works with a variety of other programming languages, too.)
Mandar Vaze reposted
Mandar Vaze reposted
Mandar Vaze reposted
I have been using Helix as an editor, not as an IDE. Recently, I’ve been programming in #rust Helix is also written in rust. So it is natural that it supports rust LSP rust-analyzer But I wasn’t getting auto completions. What was the issue ? read -> microblog.desipenguin.com/post/auto-co...
Mandar Vaze reposted
Mandar Vaze reposted
Mandar Vaze reposted