Mukesh Soni
unstack.bsky.social
Mukesh Soni
@unstack.bsky.social
Trying to relax. And learn rust 🦀 when the relaxing gets too boring.

http://github.com/mukeshsoni
Pinned
Wrote and published a chrome extension to organize your excalidraw drawings - chromewebstore.google.com/detail/excli...

Here's a quick video on how it works
A simple image converter desktop app written in rust @tauri.app

Link to code - github.com/mukeshsoni/v...

#builtwithtauri #rustlang
May 24, 2025 at 10:09 AM
Building a photo management app with conversational search using @tauri.app. Using CLIP model for conversational search. Results are really good.

You can download the app for free here viroop.com
May 14, 2025 at 5:18 AM
In case you are wondering how to bundle external libraries in your @tauri.app
app, i wrote a post to help you - unstack.in/blog/post-20...

Only for MacOS though.
Bundling external libraries in Tauri App - for MacOS
How to bundle dynamically linked libraries in a Tauri app. On macOS.
unstack.in
April 25, 2025 at 9:52 AM
I think i am going to us uv for all future python work. At the very least it feels familiar to cargo and npm.
February 5, 2025 at 12:00 PM
Wrote an article on embeddings. Tried giving an intuitive understanding of how to think about embeddings.

www.linkedin.com/pulse/embedd...
Embeddings
If you want to learn about how LLMs works, there's no getting around embeddings. You have to nail your understanding of embeddings to understand any literature on LLMs.
www.linkedin.com
February 4, 2025 at 8:53 AM
Someone having a combination of traditional programming (full stack), AI programming, 3D printing and hardware programming will be the new age full stack developer
January 24, 2025 at 4:55 AM
For the past 15 years I have been telling anyone i meet, who's thinking of doing an MBA, not to do it. . This is the most shallow degree in the world of higher education. You don't just waste 2 years of your life, you lose many more because of sunk cost fallacy.

P. S. - I have an MBA degree
January 16, 2025 at 6:56 AM
Implementing a binary tree iterator for in order traversal in rust
play.rust-lang.org?version=stab...

#rustlang
Rust Playground
A browser interface to the Rust compiler to experiment with the language
play.rust-lang.org
January 14, 2025 at 5:35 AM
Wrote my thoughts on the difference between Rc (or Arc) and shared reference in rust.

If lifetimes are kicking your butt, you can use an Rc (or Arc) instead of a shared reference for now. There a slight cost, but it’s still cheaper than a clone.

#rustlang
January 11, 2025 at 1:14 PM
Wrote and published a chrome extension to organize your excalidraw drawings - chromewebstore.google.com/detail/excli...

Here's a quick video on how it works
January 9, 2025 at 12:23 PM
Creativity is the act of not being happy with something and trying very hard to come up with a better way of doing the same thing. Most people don't want to do the 'trying hard' part and think they are not creative.
January 8, 2025 at 4:49 AM
Most explanations on complex rust traits like Deref or Asref or Cow etc. miss real life use cases. And it’s very hard to connect the dots and use them yourselves by just remembering the concept explanations.

I guess i should write those use cases and publish 🤔

#rustlang
January 7, 2025 at 8:18 AM
C++ chooses clear ownership and bears the cost of deep copying
Python enables multiple owners and cheap copy but at the cost of garbage collector
Rust allows fast ownership change without the cost of garbage collector. But at the cost of a stricter compiler.

#rustlang
January 6, 2025 at 1:12 PM
Looks like magnets are the secret sauce behind most 3d printed tools or tool oraganizers
January 6, 2025 at 6:08 AM
Finally at a stage where I can read third party rust library code and not feel like a toddler trying to read a book. Compounding at work 💪

#rustlang
January 3, 2025 at 6:14 PM
Chrome extension to organize your excalidraw drawings

- create folders
- create canvases inside folders
- move canvases across folders
- Rename/delete folders or canvases
- sort canvases by date or name

Things are stored in indexeddb locally

Link to repo - github.com/mukeshsoni/e...
January 3, 2025 at 2:58 PM
If you want to reduce general anxiety, don’t wear a watch. Have as few clocks near you as possible. The ideal number is zero.
December 29, 2024 at 7:05 AM
When someone says that reading a particular book finally unlocked something for them, beware that they might have already read 10 other books on the same topic.

It's like hammering on a stone for 5 minutes and then saying the last blow was the one which did it.
December 28, 2024 at 12:04 PM
For a long time i was confused about the difference between &String and &str

&String is a pointer to a String, which itself points a to heap buffer.

&str is a fat pointer which "directly" points to the heap buffer and not to the String. It also stores size.

#rustlang #rust
December 20, 2024 at 3:57 AM
Photo management app built with @tauri.app

youtu.be/crYJdxDRh4A

Once i add editing features to the app, i will cancel my Lightroom subscription :)

#rustlang
Glow - photo management app - built with tauri. Lightroom replacement.
YouTube video by Mukesh Soni
youtu.be
December 18, 2024 at 12:57 PM
Finally learning about something i wanted to learn for a long time - docker. And found the documentation/tutorials on docker.com surprisingly helpful docs.docker.com/get-started/...

Can't believe how much i procrastinated something which needed an hour to learn 🤦🏼‍♂️

#docker #til
Home
Docker is a platform designed to help developers build, share, and run container applications. We handle the tedious setup, so you can focus on the code.
docker.com
December 17, 2024 at 12:51 PM
I would see the word "sota" in a lot of places which talked about some AI model. And i was lazy enough to look into what it meant.
It stands for "State of the art" 🤦🏼‍♂️

Everything is sota in the AI world.
December 17, 2024 at 6:39 AM
If you want to get deep into deep learning, learn C/C++. Looks like all the python libraries are wrappers around C or C++ libraries, which do the heavy lifting. E.g. dlib.net
dlib C++ Library
dlib.net
December 15, 2024 at 6:15 AM
How about a drone which recognizes some faces and then you just ask it to follow the bride and groom and take some artistic shots. Or we can tell it to follow the parents and take “emotional” shots. Or follow your dog and take playful shots. Not my worst idea 🤔
December 14, 2024 at 10:19 AM
If you are trying to render camera raw image using rust and are finding it difficult to authentically convert raw images to jpegs, use rawler and then use decoder.full_image to get the embedded jpeg image. Good enough for even large screens.

Raw image processing is hard.

#rustlang #imageprocessing
December 12, 2024 at 1:46 PM