ProgrammerHumor

stillBetterThanARaceConditionIGuess

stillBetterThanARaceConditionIGuess
https://i.redd.it/9gt5002xypcf1.png
Reddit

Discussion

Ireeb
:ts:

For me it's more like "Hello from Thread 19 out of 4"

9 hours ago
ChaosPLus

I had a brief internship at my town hall IT department, I got to see them reinstalling the government software they use for handling people's personal data.

I kid you not, the manual for fixing its issues hundreds of pages long, with half of the pages being custom made by the people in the IT department and their predecessors.

When installing it, it just went progress 4/15... 8/15.... 16/15

3 hours ago
Alexander_The_Wolf
:c:

Damn if this ain't the truth.

9 hours ago
Frinckles

Too real. ADHD meds don't magically fix executive function they just make you hyper-focused on the wrong thread instead of scattered across all of them.

5 hours ago
malexj93
:kt::sc::rust:

At least there's a chance something gets done.

4 hours ago
Mojert OP

Yes but personally I still prefer that. Maybe I'm not getting the right thing done but at least I'm getting something done

3 hours ago
chilfang
:s:

Still better than being unmedicated

2 hours ago
fantastiskelars

Exactly! Lifes better when you can wake up and do amphetamine

2 hours ago
RiceBroad4552
:s:

And when it kicks too hard just smoke some weed additionally. 😂

2 minutes ago
DaHorst

That's why I learned it is so important to start your work while they kick in. Otherwise its pet project/ porn addiction whole day long...

2 hours ago
powerofnope

Well you can kind of choose which thread you want to follow by trying to get into things before the vyvanse hits you,

35 minutes ago
kuschelig69

I thought ADHD looks like this: https://i.imgur.com/3uyRWGJ.jpeg

8 hours ago
sheptaurus

That’s when you are in “undocumented feature” territory. You never know how you got there, and sometimes don’t know how to leave. And you’re still there at 4am in bed

7 hours ago
EngineerDoge00
:cs::js::msl:

As a Software Engineer and someone with ADD, this shit happens wayyyy to often. Soul reason as to why I have to tell everyone to stop pinging me directly about every small and insignificant question/problem.

7 hours ago
NicroHobak

Soul reason as to why I have to tell everyone...

I believe the normal phrase would be "sole", but I feel this enough that I am just going to upvote with this minor footnote.  It usually feels like a "soul reason", I hear you...lol.

4 hours ago
Neuro-Byte

More or less except it never stays on the same topic. Like you’d think I’m in a blackhole about the existential necessity of the c==‘,’ statement, but nah I’m in a blackhole of tangents and now thinking about the nature of language and the origin of the “c” sound.

I probably figured out the original problem somewhere in the tangents, but now it’s too late. I kept taking tangents, it got overwritten in my short term memory, and now it’s lost forever. At least until the blackhole of tangents somehow leads me back to that specific tangent lol

7 hours ago
gbot1234

Some people say that “c” doesn’t really have a definitive sound though—is it just a quantum superposition of “k” and “s”?

5 hours ago
Widmo206
:gd::py:

is it just a quantum superposition of “k” and “s”?

and ts

3 hours ago
RiceBroad4552
:s:

Depends on language.

20 seconds ago
GoldenShackles

To me that's more what extreme focus looks like, until interrupted.

8 hours ago
Mojert OP

A little bit. But you don't need help to get distracted, you do it on your own like a professionalTM

3 hours ago
Tiranus58

Only sometimes

24 minutes ago
MoonliitSoul

sounds like a bug's life

9 hours ago
JotaRata
:py:

Pixar in 1998:

Say that again

6 hours ago
Harmonic_Gear
:cs::m::py:

i really need to get diagnosed

6 hours ago
Mojert OP

If you feel like you might have it, I can only recommend it.

3 hours ago
Saragon4005
:py::g:

Under this administration? I don't need to be put on a list.

1 hour ago
AnonomousWolf

I have it, and quite badly 😅 never been diagnosed.

It really fucks with my life, but some how I function well enough, I'm scared to try meds

1 hour ago
Mojert OP

What scares you about them?

1 hour ago
swagaunaut

I'm on the same boat. I have done well with building coping mechanisms like writing,g taking lots of notes, and using apps like Todoist. But I'm scared of using meds and having the meds fuck me up even more.

1 hour ago
RagsZa

The meds have been such a game changer for me. It basically removed 95% of my anxiety. For the first time I could do work when I wanted, not only when overwhelming pressure allowed me to focus before medication. And that was from day 1. It also improved my relationship as I'm much more calm and able to context switch after being interrupted.

And I had to report in with my psych on how it was going.

1 hour ago
OnixST
:j::kt:

I feel like unmedicated adhd should have more threads racing

9 hours ago
Mojert OP

To be fair it had to fit on a phone screen

3 hours ago
ProjectCleverWeb

For me, it more like this...

Unmedicated:

Hello from thread 1 of 4. You have gained 1 bonus thread.

Hello from thread 5 of 5. I cleared the other threads for you to make room for the threads I would like to spin off.

Medicated:

Hello from thread 1 of 4.

Hello from thread 3 of 4.

Hello from thread 2 of 4.

Hello from thread 4 of 4.

Hey it's your bonus thread again, I am g-- // SIGKILL from thread 1, it wants to finish first

// 30 min later

Hello from thread 1 of 4 - now lets REALLY focus on how to build the best Balatro deck

3 hours ago
AndreLinoge55
:sw:

This post reduced the efficacy of my Adderall

6 hours ago
Pdan4
:cp:

To anyone experiencing this - according to what friends have said about their experiences dealing with this, you may not be on the right medication if you're feeling bogged down and you might wanna try others. Best of luck.

4 hours ago
ivanrj7j

I get the threading part but can someone explain the adhd part of the joke?

5 hours ago
lonestar-rasbryjamco

The ADHD joke is the race condition on line 2.

Having ADHD often means random thoughts just invade and throw things off, disrupting your rhythm unless you apply significant effort and mindfulness to stay on track.

It’s a lot like a race condition in an asynchronous system: unexpected inputs disrupt the flow, and if you're not careful, the whole thing breaks down.

I’d also argue it’s not like multithreading, where multiple processes run in parallel. The human brain just doesn’t work that way. It’s more like a single-threaded asynchronous system with constant context switching

5 hours ago
secret_green_link

Is JavaScript the ultimate ADHD programming language then?

3 hours ago
Mojert OP

Badly written Javascript is

3 hours ago
RagsZa

Oh shit

1 hour ago
Sibula97

Multithreading (and all processing unless the total number of threads running on the whole machine is equal to or below the number of cores) does use context switching, but yes.

As for the allegory, I'd add that randomly some thread(s) will get its priority bumped way up and it'll prevent important system processes like "eating" and "sleeping" from happening on time.

3 hours ago
DaHorst

I's also say ADHD brain is more like a stack (with sometimes randomly discarding frames in between) while it should be a queue.

2 hours ago
Wicam
:cp:

dont forget the lock that is being held by one of the threads that has just gone to sleep, so nothing is happening.

or that your stack space (short term memory) is less than half the size of normal for some reason.

3 hours ago
Zeznon

me_irl

7 hours ago
AkrinorNoname

But at least you're able to push the button that starts the program.

4 hours ago
lunarsythe

You're lucky the meds work on you, am autistic with add, none them meds do shit for me, conserta, Ritalin, you name it, I've probably tried it :(

4 hours ago
Mojert OP

Feels bad man

3 hours ago
fantastiskelars

Dextroamf worked wonders for me

2 hours ago
swagaunaut

If you don't mind me asking, how did it help? Are you able to focus on whichever topic you want to focus on?

1 hour ago
fantastiskelars

Hmm kinda, but it also makes me kinda addicted to the current task im doing. It is very hard for me to stop working on my projects. And if im not working on it im usually thinking on what i want to do next on my project. I think i came further in life in the last 2 years than in the previous 10 years...

But compared to before where i was not able to work on something for more than 15 min without dying inside it is an improvement, but sometimes i wish i was better at putting down work and enjoy other things in life, such as touching grass

1 hour ago
lonelyroom-eklaghor
:c::j::py::re:

That's so damn sad

8 hours ago
pinktieoptional

Well.... aderall with a fastpaced job I'm passionate about might have single thread days. But others? More threads more fun.

5 hours ago
Vengeful111

Could be an overdose. When i have a dose too high i either hyperfocus on one thing or cant even focus on one thing.

The perfect dose for me lowers the threadcount from 24 to 4.

And kind of buffs my ram.

Without meds its like my gpu is running out of vram

36 minutes ago
Emotional-Top-8284

Maybe, but the timeout is set to 16 hours instead of 45 seconds

5 hours ago
NyxSpies

lol so accurate! My brain feels like it's trying to process 404 threads at once, not found 😂😂 #ProgrammerLife

8 hours ago
kohuept

least obvious bot account

5 hours ago
Sibula97

Unfortunately not. See this case for example: https://www.reddit.com/r/changemyview/comments/1k8b2hj/meta_unauthorized_experiment_on_cmv_involving/

3 hours ago