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
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
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
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
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
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
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
I was very confused with how some libraries were processing raw camera images and so started looking at how the camera stores info about an image in the raw format.

I have been photographing for a long time but had no idea that that's how the sensor captured color information.

#imageprocessing
December 12, 2024 at 1:40 PM
Picked this book from a bookstore a year back. Had no idea what it was about. I think I wouldn’t have bought it if I knew it was fiction about artificial intelligence. Glad I didn’t look into it when I got it.
December 3, 2024 at 10:16 AM
Equivalent css solution would look something like this. Which is good but doesn't go well with css-in-js solutions.
November 28, 2024 at 3:17 AM
I wanted to show an child element when the parent element was hovered over with mouse. In mantine ui. I could have used classes on parent and child elements and used css to do it.

mantine solved it with useHover hook - mantine.dev/hooks/use-ho...
I wonder if there's a perf penalty.
November 28, 2024 at 3:15 AM