frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I built a smart blocker after destroying my dopamine baseline

https://chromewebstore.google.com/detail/memento-mori/fhpkanfhfplcfpmklplbbenimajbahim
17•Rahul07oii•20h ago
I'm a solo dev. A few years ago, I got addicted to Reddit. Spent months in that loop.

Being a programmer, I thought I'd be clever. Redirected Reddit's domain to nowhere in my DNS file. Worked great until I'd just... open the file and undo it 20 minutes later.

So I made it irreversible. Locked the DNS file so it can't be edited unless I boot my Mac in safe mode. And if I do that, there's a script that instantly locks it again. Haven't used Reddit since last year.

Problem solved, right?

Wrong. I just replaced Reddit with Twitch and YouTube. Started keeping streams running in the background while I coded. This went on for almost a year.

It killed my ability to focus. If you know about dopamine, you know your brain releases it when it wants you to repeat an activity. The constant background streams destroyed my dopamine baseline. When I tried to code without anything running one day, it felt genuinely weird. Hard problems that used to be interesting just felt like grinding.

I tried blocking Twitch and YouTube the same way I blocked Reddit. But I actually need YouTube for learning. I watch programmers on Twitch I learn from. I couldn't just nuke them entirely.

So I built something smarter.

The first version was terrible. Blocked things it shouldn't, let through things it should've blocked. Really buggy and annoying.

Then I added AI. I tell it what I'm working on, and it blocks anything unrelated to that task. This was the breakthrough. I need YouTube for tutorials, but I don't need 3-hour video essay rabbit holes. The extension knows the difference now.

It reminds me in the moment. Not after I've already wasted an hour. Right when I'm about to click into the distraction, it stops me and makes me think: "Is this what I'm supposed to be doing right now?"

The result: I actually enjoy hard problems again. Turns out I wasn't burned out, I'd just wrecked my brain's reward system.

Then I had to market this thing, so I started using Twitter. And oh boy, Twitter is addicting. You post something and wait for the notification to light up. I had to install my own extension on my Twitter Chrome profile. It's wild how effective it is when something reminds you "you're here to market, not scroll" right as you're about to fall into the feed.

It's still hard sometimes. Your brain will try to disable it. But having something that catches you in the moment before you lose an hour makes all the difference.

It's a Chrome extension, currently at beta v1.0.43: https://chromewebstore.google.com/detail/memento-mori/fhpkan...

It's free, no signup, no payment. Just install it.

Fair warning: it's still in beta. There will be bugs. But it works well enough that I use it daily, and it's helped me get my focus back.

Built this to fix my own problem. Figured other devs might be in the same boat.

Question for HN: Anyone else dealt with this? The programming with streams thing destroyed my focus for almost a year before I realized what was happening. What worked for you?

Comments

netsharc•18h ago
Geez, the (LLM-generated) description, and this whole thing reads like "frequency alignment device for living water" (1)

Dare I ask for scientific studies (and not just pseudo-ones) about why "dopamine bad"...

(1) https://soundhealingcenter.com/store/frequency-infused-water...

ccallanan•18h ago
From the site guidelines:

> Be kind. Don't be snarky. Converse curiously; don't cross-examine. Edit out swipes.

georgefrowny•15h ago
> Hard problems that used to be interesting just felt like grinding.

AI-flavoured emoji-heavy copy notwithstanding, this really does resonate as someone who recently has allowed YouTube to get in behind my braincells.

anon7000•15h ago
I mean this is pretty well understood at this point. I linked some further reading below. Addiction happens because doing X activity produces a lot of dopamine in your brain, enough that you can’t replicate that dopamine surge by doing healthy things.

For things like hard drugs, your dopamine receptors are stimulated to a huge degree more than “normal life.” Since dopamine is essentially a physical “reward” mechanism for your body, and you can’t get that level of reward through normal life, you end up chasing the high through whatever it is you’re addicted to.

Lots of things trigger dopamine, including scrolling social media. You train your brain to physically desire high levels of dopamine from short-term sources. Since the dopamine given by completing a long, complicated task is a lot harder to get, you have a physical tendency to just get the easy source of dopamine, social media, instead.

Dopamine isn’t bad. The problem is addiction. When you’re addicted to something, any task that takes a lot of effort and doesn’t have much payoff will be very difficult to accomplish when you can simply turn to a quick dopamine source.

People experience this differently — for example, dopamine is a big part of why ADHD is hard to deal with on a physical level.

- https://www.yalemedicine.org/news/how-an-addicted-brain-work...

- https://pubmed.ncbi.nlm.nih.gov/31905114/

recursivegirth•16h ago
I’ve thought about this too. As an unmedicated ADHDer, context switching is a big struggle. I often check Reddit while researching or coding, but end up doomscrolling.

I use LeechBlock with limited overrides (15 minutes max) for when I actually need access, and add a 15-second delay for certain domains. That combo keeps me from disabling it while still annoying enough to curb mindless browsing.

Do you have any data on how many credits someone typically uses per day, week, or month? I’m wondering if it’s worth installing on my work profile, or if it’d be more useful for personal use.

georgefrowny•15h ago
uBlock rules for recommendation elements is a good adjunct for things like YouTube where the URL doesn't allow address-based blocks.

AI seems like an appropriate tool (but not the only one) for this as it's fuzzy, stochastic, low-stakes processing of unstructured data. As usual my first impression is it seems like overkill but it probably genuinely is easier on the user than careful manual curation of blocklists.

Show HN: a Rust ray tracer that runs on any GPU – even in the browser

https://github.com/tchauffi/rust-rasterizer
6•tchauffi•49m ago•0 comments

Show HN: An agent for every website, for agentic visitors

https://web.ai/
2•kjok•47m ago•1 comments

Show HN: Centia.io – Open PostgreSQL/PostGIS back end for developers

https://centia.io/
16•mhoegh•1w ago•4 comments

Show HN: I built an AI that generates full-stack apps in 30 seconds

7•TulioKBR•2h ago•10 comments

Show HN: Serie – A rich Git commit graph in your terminal

https://github.com/lusingander/serie
4•lusingander•5h ago•0 comments

Show HN: Safebox: Open-source framework for managing self-hosted apps (Beta)

2•drebora•4h ago•0 comments

Show HN: Anki-LLM – Bulk process and generate Anki flashcards with LLMs

https://github.com/raine/anki-llm
52•rane•1d ago•21 comments

Show HN: Strange Attractors

https://blog.shashanktomar.com/posts/strange-attractors
779•shashanktomar•2d ago•75 comments

Show HN: Why write code if the LLM can just do the thing? (web app experiment)

https://github.com/samrolken/nokode
427•samrolken•1d ago•309 comments

Show HN: Give your coding agents the ability to message each other

https://github.com/Dicklesworthstone/mcp_agent_mail
11•eigenvalue•16h ago•1 comments

Show HN: Pipelex – Declarative language for repeatable AI workflows

https://github.com/Pipelex/pipelex
120•lchoquel•5d ago•26 comments

Show HN: DeepFake – Free AI Face Swap Online

https://deepfakefusion.com
3•epistemovault•10h ago•3 comments

Show HN: PyTogether, open-source lightweight real-time Python IDE for teachers

https://pytogether.org/
3•JawadR•11h ago•0 comments

Show HN: goilerplate – A SaaS boilerplate for Go and templ and Htmx

https://goilerplate.com/
3•axadrn•4h ago•0 comments

Show HN: In a single HTML file, an app to encourage my children to invest

https://roberdam.com/en/dinversiones.html
247•roberdam•4d ago•434 comments

Show HN: Duper – The Format That's Super

https://duper.dev.br/
30•epiceric•1d ago•14 comments

Show HN: I built a Raspberry Pi webcam to train my dog (using Claude)

https://github.com/harshibar/yogi-cam
5•hyerramreddy•14h ago•0 comments

Show HN: A simple drag and drop tool to document and label fuse boxes

https://github.com/alexadam/fuse-box-labels
25•eg312•3d ago•6 comments

Show HN: Quibbler – A critic for your coding agent that learns what you want

https://github.com/fulcrumresearch/quibbler
114•etherio•3d ago•27 comments

Show HN: GT: experimental multiplexed distributed tensor framework

https://github.com/bwasti/gt
3•brrrrrm•15h ago•0 comments

Show HN: Giving AI to your favorite whiteboard, Excalidraw

https://www.opencanvas.studio
5•winzamark12•16h ago•0 comments

Show HN: Learn German with Games

https://www.learngermanwithgames.com/
125•predictand•5d ago•106 comments

Show HN: KeyLeak Detector – Scan websites for exposed API keys and secrets

https://github.com/Amal-David/keyleak-detector
26•amaldavid•1d ago•7 comments

Show HN: Chatolia – create, train and deploy your own AI agents

https://www.chatolia.com
4•blurayfin•17h ago•1 comments

Show HN: Run a GitHub Actions step in a gVisor sandbox

https://github.com/geomys/sandboxed-step
85•FiloSottile•1w ago•3 comments

Show HN: UnisonDB – Log-native KV database that replicates like a message bus

https://unisondb.io
16•ankuranand•1d ago•0 comments

Show HN: I built a smart blocker after destroying my dopamine baseline

https://chromewebstore.google.com/detail/memento-mori/fhpkanfhfplcfpmklplbbenimajbahim
17•Rahul07oii•20h ago•6 comments

Show HN: Front End Fuzzy and Substring and Prefix Search

https://github.com/m31coding/fuzzy-search
56•kmschaal•5d ago•4 comments

Show HN: Auto-Adjust Keyboard and LCD Brightness via Ambient Light Sensor[Linux]

https://github.com/donjajo/als-led-backlight
3•donjajo•1d ago•0 comments

Show HN: I made a heatmap diff viewer for code reviews

https://0github.com
263•lawrencechen•4d ago•68 comments