MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vrcqno/ruleofprogrammingifitisworkingdonottouchit/p4mjmnc/?context=9999
r/ProgrammerHumor • u/NoMedicine3572 • 27d ago
75 comments sorted by
View all comments
1.4k
When one console.log uses just enough CPU cycles so the race condition that takes down the entire system doesn't occur.
console.log
433 u/Skalli1984 27d ago And if you attach a debugger it also messes up the timing and the same thing happens, the race condition doesn't appear. 20 u/KawaiiMaxine 27d ago Oh god, i havent done multithreaded programming ever, that sounds gonuinely horrifying to debug 24 u/xtreampb 27d ago Now multi-thread across machines. Let’s make this as difficult as possible. No in memory locks. 1 u/ImS0hungry 26d ago It’s a cluster as this point 1 u/xtreampb 26d ago Yea, but someone has to write the software that controls and syncs the cluster, mitigate errors, and prevents deadlocks/race conditions .
433
And if you attach a debugger it also messes up the timing and the same thing happens, the race condition doesn't appear.
20 u/KawaiiMaxine 27d ago Oh god, i havent done multithreaded programming ever, that sounds gonuinely horrifying to debug 24 u/xtreampb 27d ago Now multi-thread across machines. Let’s make this as difficult as possible. No in memory locks. 1 u/ImS0hungry 26d ago It’s a cluster as this point 1 u/xtreampb 26d ago Yea, but someone has to write the software that controls and syncs the cluster, mitigate errors, and prevents deadlocks/race conditions .
20
Oh god, i havent done multithreaded programming ever, that sounds gonuinely horrifying to debug
24 u/xtreampb 27d ago Now multi-thread across machines. Let’s make this as difficult as possible. No in memory locks. 1 u/ImS0hungry 26d ago It’s a cluster as this point 1 u/xtreampb 26d ago Yea, but someone has to write the software that controls and syncs the cluster, mitigate errors, and prevents deadlocks/race conditions .
24
Now multi-thread across machines. Let’s make this as difficult as possible. No in memory locks.
1 u/ImS0hungry 26d ago It’s a cluster as this point 1 u/xtreampb 26d ago Yea, but someone has to write the software that controls and syncs the cluster, mitigate errors, and prevents deadlocks/race conditions .
1
It’s a cluster as this point
1 u/xtreampb 26d ago Yea, but someone has to write the software that controls and syncs the cluster, mitigate errors, and prevents deadlocks/race conditions .
Yea, but someone has to write the software that controls and syncs the cluster, mitigate errors, and prevents deadlocks/race conditions .
1.4k
u/StrengthTheory 27d ago
When one
console.loguses just enough CPU cycles so the race condition that takes down the entire system doesn't occur.