I was trying to explain to someone how multi threading doesn’t magically make programs complete work faster. This was like 1 year ago but I don’t think they got it.
Imagine you have one million rows of a CSV file. You want all this is a SQLite db.
You load all of it in memory. Wrap it in thread safety Data types like Arc then Mutex to allow mutability they deploy all the threads in the computer. You’d think all the 12 cores will be busy right?
Well, introducing deadlocks. To avoid race conditions, the data has to be accessed by one thread at a time. So the other 11 threads will be waiting for their turn. You will basically have a serial program running in multiple cores.
Of course there are better ways to avoid this like using DashMap instead of HashMap. DashMaps shard the data so locks will not be global. Or simple chunk the data, do stuff in parallel then join later.
The main point here is that multi threading is not a silver bullet for program efficiency.
I have grown to know everything is possible. The problem is not money it's the individual. I have been blessed and all along I have been in the shadows thinking this is so obvious. I have been looking for a hero to show me the way. I now know I am not a priority in anyone's list
Expectations are influenced by numbers, movie ratings, music streams, and similar metrics. I’m not complaining, just reminding you that you might be missing out on music from upcoming artists and even series with ratings as low as 3.0.
You found things in this world, so did people who came before you. You have your own way of seeing things, treating situations and parenting yourself is hard but you have to. So take accountability and be soft on yourself. Treat yourself with love. Laugh authentically.
Let's rooollllllll.
The fear of loosing brings me to my knees everytime.
When I sign a contract, I paralyzed by imagining that all this will be gone . Is this a scarcity mindset or a normal feeling? I don't know.
Hope is masked under different perspective in the current society. We are buying it from motivation speeches and also religion. Okay, when you are in the rock bottom it's the only thing that keeps you alive. It's the only thing you can afford.
I have been using Augment code for 2 months Rn, and it's pretty reliable. Few outages for sure but they always compensate
In 4 days, they'll be dropping in new features. Guess the most outrageous feature they're launching and win 4 months free of Augment Max
Link 👇👇