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"

18 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

12 hours ago
EmuChance4523
:g::py::j::c::js::ts:

Hey, they learned from windows! Such fun times.

7 hours ago
helloHarr0w

I hear from thread 18 ever six months or so

5 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.

14 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

11 hours ago
malexj93
:kt::sc::rust:

At least there's a chance something gets done.

13 hours ago
chilfang
:s:

Still better than being unmedicated

11 hours ago
fantastiskelars

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

11 hours ago
RiceBroad4552
:s:

And when it kicks too hard just smoke some weed additionally. šŸ˜‚

8 hours 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...

11 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,

9 hours ago
Ashankura

Can't say i agree with that. It allows me to at least focus on actually doing my job (which I struggled with after i moved to full home office during/after covid. I started taking my meds again and can most of the time hyperfocus on work

7 hours ago
itijara
:g::j::py::r:

Being married to someone medicated for ADHD is fun because she will start cleaning the closet at 11PM on a work night.

4 hours ago
cylordcenturion

I found different meds do it differently, vyvanse basically just locked my brain on whatever I was doing when it kicked in, while Dex gave more control over what I focused on but didnt help with the executive function as much.

5 hours ago
kuschelig69

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

17 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

16 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.

15 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.

13 hours ago
Elementaal

It's actually better if they interrupt you, now you get extra repetition.

What you really have to do is mark down a few important points in your thinking process, and you'll be right back to where you were.

2 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

15 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ā€?

14 hours ago
Widmo206
:gd::py:

is it just a quantum superposition of ā€œkā€ and ā€œsā€?

and ts

12 hours ago
RiceBroad4552
:s:

Depends on language.

8 hours ago
DoNotMakeEmpty
:c::lua:

Yeah, in many languages it is either k or s or in Turkic languages it is j.

5 hours ago
GoldenShackles

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

17 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

11 hours ago
RiceBroad4552
:s:

That's extreme focus and flow destroyed by events in the outside world.

With ADHD you don't need anybody to distract you, it happens the whole time on its own.

8 hours ago
Tiranus58

Only sometimes

9 hours ago
Specialist-Bit-7746

that's just average programming experience nothing adhd about that.

5 hours ago
Alexander_The_Wolf
:c:

Damn if this ain't the truth.

18 hours ago
Harmonic_Gear
:cs::m::py:

i really need to get diagnosed

14 hours ago
Mojert OP

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

11 hours ago
Saragon4005
:py::g:

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

10 hours 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

10 hours 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.

10 hours 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.

9 hours ago
Mojert OP

What scares you about them?

10 hours ago
AnonomousWolf

I have friends who say the side effects for them were hectic and had bad consequences.

I'm scared I like the meds a lot, and keep using them despite the benefits not outweighing the side effects.

It might be an irrational fear, but yea I have it

7 hours ago
MoonliitSoul

sounds like a bug's life

17 hours ago
JotaRata
:py:

Pixar in 1998:

Say that again

15 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

11 hours ago
Agreeable_Reaction11

Funny how its exactly 30 minutes eh? I could use it as a cooking timer.

8 hours ago
OnixST
:j::kt:

I feel like unmedicated adhd should have more threads racing

17 hours ago
Mojert OP

To be fair it had to fit on a phone screen

11 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.

13 hours ago
AndreLinoge55
:sw:

This post reduced the efficacy of my Adderall

14 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.

11 hours ago
ivanrj7j

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

14 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

14 hours ago
secret_green_link

Is JavaScript the ultimate ADHD programming language then?

12 hours ago
Mojert OP

Badly written Javascript is

11 hours ago
RagsZa

Oh shit

9 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.

11 hours 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.

12 hours ago
RiceBroad4552
:s:

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,

What?

Context switching is happening all the time on computers with run an operating system. Even if only one use-land process would run. You need to switch from and to the kernel.

But there is nothing like a normal computer which runs only one user-land task. Also the kernel runs usually multi-threaded.

Also even if you had only exactly as much thread + processes as (v)CPU cores (there is also HW backed hyper-threading) you would have constant context switches as processes or threads aren't usually pined to a core. If you want that, this needs extra setup.

8 hours ago
Sibula97

The total number of threads includes all system threads, yes. The only case where this wouldn't happen is if your "computer" would be a very simple chip with no OS or user/kernel space or any of that complexity and abstraction.

5 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 :(

12 hours ago
Mojert OP

Feels bad man

11 hours ago
RiceBroad4552
:s:

Concerta and Ritalin are the exact same thing, namely: https://en.wikipedia.org/wiki/Methylphenidate

8 hours ago
lunarsythe

They were the only ones that came to mind at the time haha, recently I've tried this one called lyberdia, it's a lisdexafetamine like Vyvanse and others, it's like the third brand I try, hope I can find a good solution soon.

1 hour ago
ProjectCleverWeb

Speaking from a similar experience, sometimes these medications change effectiveness from childhood to adulthood. So if you tried something as a kid/teenager, it may work better as an adult. I am pretty sure it is something to do with puberty and having more hormone stability.

For me, It also helps that #1 as an adult I actually wanted to take the medicine, whereas as a kid I hated it and would often lie about taking it, and #2 I have also developed habits that work for me to remember to take the medicine. (Alarms, calendar reminders, and a satisfying checkbox system)

3 hours ago
lunarsythe

Oh I'll talk to my psychiatrist about it, thank you for pointing that out!

1 hour ago
fantastiskelars

Dextroamf worked wonders for me

11 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?

10 hours ago
[deleted]

[deleted]

9 hours ago
RiceBroad4552
:s:

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.

That's what Speed does to anybody.

It's called Speed for a reason. It makes you want to go on and on and on…

8 hours ago
[deleted]

[deleted]

6 hours ago
RiceBroad4552
:s:

https://en.wikipedia.org/wiki/Speed_(drug))

šŸ˜‚

5 hours ago
Zeznon

me_irl

16 hours ago
AkrinorNoname

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

13 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

9 hours ago
lonelyroom-eklaghor
:c::j::py::re:

That's so damn sad

16 hours ago
pinktieoptional

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

14 hours ago
Agreeable_Reaction11

I take the retarded version (Medikinet) and it works in 2 stages...4 hours, then a short drop off and then 4 more hours. THe first 4 hours make very motivated to work on stuff but also a bit too "over the top" and sometimes it increases the hyperactivity for a bit. The dropoff SUCKS, I get depressed for like 30 minutes and then the second, much much milder phase begins where I get calm and concentrated and can really work on stuff.

8 hours ago
Kad1942

I'm in this image and I don't like it.

3 hours ago
Ma7hew

I’m in this picture and I don’t like it.

38 minutes ago
Emotional-Top-8284

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

14 hours ago
NyxSpies

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

16 hours ago
kohuept

least obvious bot account

14 hours ago
Sibula97

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

11 hours ago