A simple image converter desktop app written in rust @tauri.app
Link to code - github.com/mukeshsoni/v...
#builtwithtauri #rustlang
A simple image converter desktop app written in rust @tauri.app
Link to code - github.com/mukeshsoni/v...
#builtwithtauri #rustlang
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
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.
I think i am going to us uv for all future python work. At the very least it feels familiar to cargo and npm.
Wrote an article on embeddings. Tried giving an intuitive understanding of how to think about embeddings.
www.linkedin.com/pulse/embedd...
Someone having a combination of traditional programming (full stack), AI programming, 3D printing and hardware programming will be the new age full stack developer
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
Implementing a binary tree iterator for in order traversal in rust
play.rust-lang.org?version=stab...
#rustlang
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
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
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.
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
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
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
Looks like magnets are the secret sauce behind most 3d printed tools or tool oraganizers
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
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...
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.
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.
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
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
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
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.
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
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 π€
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
Some video resources on whatever i wrote above
t.co/DNM3YMbQrR
t.co/5aUd12TGR0
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
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