Side note: ADHD is more than just dopamine, too. The stimulant medications used for ADHD have strong norepinephrine activity. There are non-stimulant ADHD medications that act on norepinephrine primarily. There are even studies where some non-dopaminergic ADHD medications outperform stimulants in certain measures like memory by modulating adrenergic circuits.
The unpopular take is that you need to realize that "dopamine" is an abstraction for higher level behaviors. It's not "dopamine" leading you to be distracted or focus, it's a behavior that you need to train and develop over time. There's also a big emotional regulation component where it helps to understand why you're seeking distractions instead of doing the work. Is it to provide comfort? Avoid uncomfortable feelings that the work brings up? Perfectionism? Are you trying to recharge during working hours because you're not recharging outside of work properly? There are many angles that need to be pursued.
I would recommend starting with small steps. Look up Screen Time settings or plugins that will limit your time spent on HN if that's a problem. Start with a generous setting and lower it over time. If you slip, start again the next time.
Treat it like something you train. Start small, make a deliberate effort, and work on getting better slowly. If you expect to flip a switch and turn into the most diligent coder you can imagine, you're unlikely to succeed. If you set a goal to do 10 more minutes of work and 10 fewer minutes of HN before lunch, that's doable. Little wins will compound.
"all happy families are alike; every unhappy family is unhappy in its own way".
Like with any complex system, there are a lot of ways for the system to fail, and the number of states considered "working properly" is much smaller.
2. Exercise - short-term: increases dopamine, serotonin, and a bunch of other good stuff; long-term: increases dopamine receptor density.
3. Caffeine - while doesn't technically increase dopamine, it blocks adenosine receptors which indirectly increases dopamine signalling. But habitual use blunts the effect.
Other less acute things are: good sleep and lots of sunlight esp early in the day.
One other “light” supplement that can dampen addictive behaviors or cravings is l-theanine.
Also personally, it doesn’t even help me with focus, in part because administering it is too distracting. I wonder whether there’s a place for an extended release nicotine pill, although that would probably be pretty rough on the gut.
It's hard to focus on the here and now when the here and now is the soul-deadening sensory-less experience of sitting motionless staring at a flat rectangle of pixels.
Go out in the woods. Get your hands dirty. Meet friends at a bar and laugh until your stomach hurts.
It's so much easier to be present in the moment when the moment is actually high fidelity and nourishing.
I was surprised how different it felt to consciously see and touch things. It's not like I'm walking around my house with my eyes closed normally, but most of the time things aren't really registering. Stopping to intentionally focus for a second on an actual object or a sound I'm currently hearing seems to sort of wake me up, bring me out of a trance a little. Not as well as digging in the garden, but not bad for a few seconds in the middle of the work day.
Outside, right now, people stay on screens all the time. It's the same stuff. Why even bother?
Humans plan ahead. We look towards the future and the past. Not all the time, but a lot of the time.
This carpe diem stuff doesn't seem like the right way to approach the problem given our current technological society.
Also, I'm not gonna party just because someone told me to.
Suffice to say parent is correct, and you are not.
Sounds like planning ahead. Exactly like I said.
> literally everybody
It lacks a further explanation. I don't know if you see that if you can't put it in your own words.
Don't do highly dopaminergic activities like using electronic devices that provide entertainment or communications
My preferred steady state suffering machine is the Concept2 rower. I can keep an eye on stroke/min and cal/hr to stay within a very narrow band of exertion. HIIT and weightlifting are great too, but these are not as strenuous on the brain's "focus for time" circuitry. Lots of downtime and opportunities to get on the cellular device. A straight hour on the rower with the cruise control locked @ 850cal/hr is a totally different kind of animal.
Make an electroshock gizmo that hits you when your browser visits certain domains?
But just because they are the best doesn’t mean their help actually helps.
If you want to get rid of an addiction, stay away from addicts and everything they produce. Stay away from their artistic creations, stay away from their complicated explanations of the world, and stay away from their gossip. Also, please don't study to become any kind of "drug counselor," get regular person jobs and normal hobbies. You're dying of romance, and you need to figure out how to love the world as it is.
I guess you can think of this as my retirement from Hacker News. Thank you kind stranger.
Maybe it's not obvious to you, but many of your real-world colleagues and role models don't visit HN or anything comparable. And they're still working at the desk next to you, and in the office you aspire to have some day. For all that stuff like this might feel justified or even necessary, it's not. And if you're finding that it introduces difficulties into your life or psyche, you are entitled to and capable of quitting altogether. You don't need to try to moderate it.
(And frankly, I personally don't even know what you're doing on GitHub so compulsively. I didn't even realize that was a thing, if that helps speak to how irrelevant it can be.)
Advice: love stress. Enjoy it. Feel it. Just don’t ask for it.
Also always go for a walk, touch grass, hug a tree. Pleasant physical experiences are truly effective at getting you into the “here and now”.