Mukesh Soni's Avatar

Mukesh Soni

@unstack

Trying to relax. And learn rust πŸ¦€ when the relaxing gets too boring. http://github.com/mukeshsoni

36
Followers
91
Following
56
Posts
01.04.2024
Joined
Posts Following

Latest posts by Mukesh Soni @unstack

Video thumbnail

A simple image converter desktop app written in rust @tauri.app

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

#builtwithtauri #rustlang

24.05.2025 10:09 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Viroop - Photo management app with conversational search

Viroop - Photo management app with conversational search

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

14.05.2025 05:18 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Bundling external libraries in Tauri App - for MacOS How to bundle dynamically linked libraries in a Tauri app. On macOS.

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.

25.04.2025 09:52 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I think i am going to us uv for all future python work. At the very least it feels familiar to cargo and npm.

05.02.2025 12:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
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.

Wrote an article on embeddings. Tried giving an intuitive understanding of how to think about embeddings.

www.linkedin.com/pulse/embedd...

04.02.2025 08:53 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Someone having a combination of traditional programming (full stack), AI programming, 3D printing and hardware programming will be the new age full stack developer

24.01.2025 04:55 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

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

16.01.2025 06:56 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Rust Playground A browser interface to the Rust compiler to experiment with the language

Implementing a binary tree iterator for in order traversal in rust
play.rust-lang.org?version=stab...

#rustlang

14.01.2025 05:35 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

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

11.01.2025 13:14 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
GitHub - mukeshsoni/excalidraw-organizer Contribute to mukeshsoni/excalidraw-organizer development by creating an account on GitHub.

Link to github repo - github.com/mukeshsoni/e...

09.01.2025 12:24 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

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

09.01.2025 12:23 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

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.

08.01.2025 04:49 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

One way i can find those use cases is by searching GitHub repos for these keywords, say Asref, and try to understand how a particular rust library or app is using these esoteric traits

07.01.2025 08:24 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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

07.01.2025 08:18 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

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

06.01.2025 13:12 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Looks like magnets are the secret sauce behind most 3d printed tools or tool oraganizers

06.01.2025 06:08 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

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

03.01.2025 18:14 πŸ‘ 5 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

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...

03.01.2025 14:58 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

29.12.2024 07:05 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

28.12.2024 12:04 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Difference between &String and &str in rust

Difference between &String and &str in rust

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

20.12.2024 03:57 πŸ‘ 11 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1
Glow - photo management app - built with tauri. Lightroom replacement.
Glow - photo management app - built with tauri. Lightroom replacement. YouTube video by Mukesh Soni

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

18.12.2024 12:57 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
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.

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

17.12.2024 12:51 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

17.12.2024 06:39 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
dlib C++ Library

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

15.12.2024 06:15 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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 πŸ€”

14.12.2024 10:19 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
How to retrieve embedded jpeg from a camera raw using rawler in rust

How to retrieve embedded jpeg from a camera raw using rawler in rust

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

12.12.2024 13:46 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
https://www.youtube.com/watch?v=LWxu4rkZBLw

Some video resources on whatever i wrote above

t.co/DNM3YMbQrR
t.co/5aUd12TGR0

12.12.2024 13:41 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

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

12.12.2024 13:40 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Used AI to help me understand 3rd party library code. Asked it to write docs for a function first. And then kept on asking it to elaborate on parts i didn't understand.

Was extremely effective. I was always scared of reading 3rd party library code. Now i have a friend to help.

#aiassistant

11.12.2024 12:13 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0