mitali (@kayleecodez) 's Twitter Profile
mitali

@kayleecodez

writes code. talks shit. drinks chai.

ID: 1492116735683559426

linkhttps://mitalibuilds.vercel.app/ calendar_today11-02-2022 12:42:14

2,2K Tweet

738 Followers

228 Following

mitali (@kayleecodez) 's Twitter Profile Photo

been trying out dashmap for a rate limiter and it's honestly pretty clean it's basically a concurrent HashMap that handles locking internally so you don't have to deal with Arc<Mutex<HashMap>> nonsense perfect for stuff like API rate limiting where multiple threads need to

been trying out dashmap for a rate limiter and it's honestly pretty clean

it's basically a concurrent HashMap that handles locking internally so you don't have to deal with Arc&lt;Mutex&lt;HashMap&gt;&gt; nonsense

perfect for stuff like API rate limiting where multiple threads need to
mitali (@kayleecodez) 's Twitter Profile Photo

everyone’s doing their winter arc but do y’all only grow when it’s cold?? or is it just a trend... and what about summer, spring and autumn arcs? peak seasonal discrimination 😔

mitali (@kayleecodez) 's Twitter Profile Photo

ykw, you can build a rust (or use any language) tool that watches what apps you open and logs the timestamps. after a few days it spots patterns, like if you always end up on twitter around 3pm when you're supposed to be working. then it just blocks twitter at 2:55, right before

mitali (@kayleecodez) 's Twitter Profile Photo

indian parents will ask 'beta coding mein kya banaya' then zone out the second you start explaining. they just want to know if you're employed and eating properly

mitali (@kayleecodez) 's Twitter Profile Photo

wild that we spend hours optimizing code that runs in milliseconds but waste years not optimizing our own lives. the real O(n^2) is how we live

mitali (@kayleecodez) 's Twitter Profile Photo

was messing around with rust's arboard crate and realized you could watch clipboard changes in real-time pretty easily. made a quick tool that detects screenshots specifically and auto-saves them yeah clipboard managers exist but this was more about learning how clipboard APIs

was messing around with rust's arboard crate and realized you could watch clipboard changes in real-time pretty easily. made a quick tool that detects screenshots specifically and auto-saves them

yeah clipboard managers exist but this was more about learning how clipboard APIs
DEV Community (@thepracticaldev) 's Twitter Profile Photo

Congrats to the Top 7 featured authors on this week! 🏆 Fantastic posts from mitali, Dayvster, Denis Stetskov, @interstelios, and others. Some really great pieces on building Git in Rust, the reflections on "software as a service," and lots more! Read the articles here:

mitali (@kayleecodez) 's Twitter Profile Photo

best code i write is when i have zero fucking clue what i'm doing but keep going anyway. like yesterday, i saw clipboard APIs in some docs and just started building. 3 hours later it works. no plan, just fucking around. stop waiting for tutorials to hold your hand. that

Ruben Veidt (@rubenveidt) 's Twitter Profile Photo

custom font, custom widget, windows and directx12 graphics api support in my c++ gui framework, fuck this was a nightmare to get it working, now on to android , wasm support😊

mitali (@kayleecodez) 's Twitter Profile Photo

alright. imma try something cool. gonna be messing with yrs to see if i can build something that handles real-time shared state. this whole CRDT thing is pretty complex but super powerful piece. let's see if this actually works lol

alright. imma try something cool.

gonna be messing with yrs to see if i can build something that handles real-time shared state. this whole CRDT thing is pretty complex but super powerful piece. 

let's see if this actually works lol
mitali (@kayleecodez) 's Twitter Profile Photo

while working on that conflux thing, i'm using tokio::broadcast to send live updates. but if one person's wifi is trash, their client can't keep up and just errors out. basically, it "lagged" and missed a bunch of messages. first thought was to just kick 'em, lol. but the right

while working on that conflux thing, i'm using tokio::broadcast to send live updates. but if one person's wifi is trash, their client can't keep up and just errors out. basically, it "lagged" and missed a bunch of messages.

first thought was to just kick 'em, lol.

but the right
Neel (@neelshetty6) 's Twitter Profile Photo

here’s my git implementation from scratch in Go, called senpai. has the main loop of add, commit and checkout working. I’m currently working on ssh and the network protocol so it can push to GitHub. fun stuff, thank you mitali for the inspiration🤝

mitali (@kayleecodez) 's Twitter Profile Photo

you’re allowed to suck today. you’re allowed to delete half your codebase out of spite. but before you delete hope, maybe just alt+f4 yourself for a bit. go touch air, flirt with the void (or maybe pull some bitches), romanticize existing. tomorrow we git commit our redemption

mitali (@kayleecodez) 's Twitter Profile Photo

trynna implement this cuz making real-time collaborative apps is still way too hard. most of the time you're just fighting race conditions or trying to figure out how to merge changes from ten different users at once without the whole thing blowing up. so, conflux is a

trynna implement this cuz making real-time collaborative apps is still way too hard. most of the time you're just fighting race conditions or trying to figure out how to merge changes from ten different users at once without the whole thing blowing up.

so, conflux is a