Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "deadlock"
-
Professor : Explain deadlock and I will give you full marks.
Me:- You give me full marks and I'll explain deadlock.20 -
So my friend has two-step authentication for his smartphone.
Now he is not able to find his phone.
So, he tried to find his phone by logging into his google account via Android Device Manager.
Now, it is asking for the authentication pin which is in his phone.😂
He just got deadlocked.12 -
I kid you not, this was in some of our official corporate training.
Unfortunately, this often is how our business area "functions"6 -
1. Fucking MySQL database clusters.
There's nothing fun about MySQL clusters. Sometimes they start producing deadlock errors for no apparent reason... well, there's probably a reason, but it's never a transparent easy to find reason.
What was even less fun is that those errors took down a Sentry server. When your error log server goes down through ddos from your database messages, it's time to rethink your setup.
2. Wiring up a large factory with $2 arduino clones, each with a $2 esp8266 wifi chip, with various sensors for measuring flow of chemical solutions (I wanted cheap real time monitoring as an early warning system next to periodic sampling).
The scaling issue was getting over 500 streaming wifi signals to work in a 55c moist slightly corrosive atmosphere with concrete and steel everywhere, and getting it all into a single InfluxDB instance for analysis.12 -
Interviewer: Explain Deadlock and I'll hire you.
Le programmer: Hire me and I'll explain it to you.3 -
God damnit, I have this too often. Something works in my mind no matter how often I run through it again and again but I've got no clue how to test it for real which brings me into a "mental deadlock" state aaaand then I lose all my programming motivation at once.
Having this right now, fucking annoying.10 -
When I was in college I used to think deadlock is just a theory concept. First c++ project on my job and I already have one now. 🙃
-
Oh boy some mutex deadlocks inside the 16 year old, unmaintained, company application framework.
Time to look at the stack traces of 24 different threads and try and guess which one fucks it up
(Send help)5 -
I can't focus on my task and get motivated because I want to change my position in the company I'm in.
I can't change my position in the company I'm in because I can't focus on my task and get motivated.1 -
"Racing condition, meet deadlock"
"Deadlock, meet racing condition"
And they were never heard from again -
I don't like when client decide which tech use in the project. I got some weird tech request like:
1. Move existing database from postgresql to Hadoop because hadoop is Big Data (is kinda move from amazon rds to amazon s3 just why? have you index, cluster your postgresql table?)
2. Move from mysql to postgresql because mysql cause deadlock (maybe their previous developer just fucking moron)
In this situation we just explain why we don't use that and propose alternative solution. If they insist with their solution either ignore it or decide not continuing the project.5 -
That moment when the app is finally deployed onto production and soon afterwards you hear some dev calling "guys, we've got a deadlock".
-
they say i was a natural at programming. i like it, i understand problems easily and im able to find a solution for it. but so was math, and chemistry. basically anything that has problem solving so i wasn't into programming that much.
until i joined my first competition. man that was an eye opener. we had a deadlock tie with the other team, and there was this one problem that was a tie breaker. sure enough we both was able to solve it. but the judges ruled in our favor because of one thing, i used recursion! man that was fun. the looks on their faces.
and i was hooked on that euphoric feeling. that was my drug. now , a decade or so later, im still addicted to that drug -
I am currently on module has already the passed the sprint and current burnout chart is way far that my CTO will likely burn the chart and I my ass is burning as that module is required by other fellow developers.
Fucking Terraform examples and documentation.
I have been working on it for almost 2 weeks now finally made 80% progress and still 20% burn needed. Kind of deadlock.
I am not sure what to do. Just sit and watch my CTO burns over me. (Definately going to be remark in future engagement with HR) -
Did an assignment where we had to emulate deadlock using C and openMPI, I wanted to make a generalised resource manager process and create deadlock by locking some resources using the other processes, but my teammate said that would be too hard and instead the resource manager was hardcode with for loops for the number of transactions we were gonna make cause it was just a proof of concept.
Then my marker literally leads with, let me tell you the story of a good programmer, and a better programmer. The good programmer writes a function called destroy_earth(), but the better programmer writes a function called destroy_planet(earth) and passes in earth. I sighed so fuckin hard, I should have spoken up. -
My experience was very recent. I was working on my game engine, Pillar3D, and realized that the setup allowed it to be automatically multithreaded with little to no concern about deadlock or race conditions. All based on the assumption that individual levels don't talk to each other, and that moving entities between levels could be done between frames. I can even track about how much work each thread has to do and use that to distribute levels among the threads. Now I can do things like force UI trees to exist in their own level and get fantastic multithreading.
-
...when your project TODO list is growing exponentially and you just give up tracking new ideas/feature requests
;(1 -
After the release of Visual Studio for Mac, the last thing to make a deadlock between Microsoft and Apple is Xcode for Windows.
-
Fuck this shit... how hard can it be to build a fucking Thread safe tree with links to parent??? This is madness. Deadlock hell... aaaaaaaargh
I am close to switching languages for this project3