frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Discuss – Do AI agents deserve all the hype they are getting?

4•MicroWagie•2h ago•0 comments

Ask HN: Anyone Using a Mac Studio for Local AI/LLM?

48•UmYeahNo•1d ago•30 comments

LLMs are powerful, but enterprises are deterministic by nature

3•prateekdalal•6h ago•3 comments

Ask HN: Non AI-obsessed tech forums

28•nanocat•17h ago•25 comments

Ask HN: Ideas for small ways to make the world a better place

16•jlmcgraw•19h ago•20 comments

Ask HN: 10 months since the Llama-4 release: what happened to Meta AI?

44•Invictus0•1d ago•11 comments

Ask HN: Who wants to be hired? (February 2026)

139•whoishiring•5d ago•519 comments

Ask HN: Who is hiring? (February 2026)

313•whoishiring•5d ago•513 comments

Ask HN: Non-profit, volunteers run org needs CRM. Is Odoo Community a good sol.?

2•netfortius•14h ago•1 comments

AI Regex Scientist: A self-improving regex solver

7•PranoyP•21h ago•1 comments

Tell HN: Another round of Zendesk email spam

104•Philpax•2d ago•54 comments

Ask HN: Is Connecting via SSH Risky?

19•atrevbot•2d ago•37 comments

Ask HN: Has your whole engineering team gone big into AI coding? How's it going?

18•jchung•2d ago•13 comments

Ask HN: Why LLM providers sell access instead of consulting services?

5•pera•1d ago•13 comments

Ask HN: How does ChatGPT decide which websites to recommend?

5•nworley•1d ago•11 comments

Ask HN: What is the most complicated Algorithm you came up with yourself?

3•meffmadd•1d ago•7 comments

Ask HN: Is it just me or are most businesses insane?

8•justenough•1d ago•7 comments

Ask HN: Mem0 stores memories, but doesn't learn user patterns

9•fliellerjulian•2d ago•6 comments

Ask HN: Is there anyone here who still uses slide rules?

123•blenderob•4d ago•122 comments

Kernighan on Programming

170•chrisjj•5d ago•61 comments

Ask HN: Anyone Seeing YT ads related to chats on ChatGPT?

2•guhsnamih•1d ago•4 comments

Ask HN: Any International Job Boards for International Workers?

2•15charslong•17h ago•2 comments

Ask HN: Does global decoupling from the USA signal comeback of the desktop app?

5•wewewedxfgdf•1d ago•3 comments

We built a serverless GPU inference platform with predictable latency

5•QubridAI•2d ago•1 comments

Ask HN: Does a good "read it later" app exist?

8•buchanae•3d ago•18 comments

Ask HN: Have you been fired because of AI?

17•s-stude•4d ago•15 comments

Ask HN: How Did You Validate?

4•haute_cuisine•1d ago•6 comments

Ask HN: Anyone have a "sovereign" solution for phone calls?

12•kldg•4d ago•1 comments

Ask HN: Cheap laptop for Linux without GUI (for writing)

15•locusofself•3d ago•16 comments

Ask HN: OpenClaw users, what is your token spend?

14•8cvor6j844qw_d6•4d ago•6 comments
Open in hackernews

Ask HN: How do you force yourself to take breaks while coding?

6•glidea•1w ago
I'm a dev with zero self-control. "One more function" turns into 3 hours.

Tried Apple Screen Time – I just click "Ignore" every time. Tried Pomodoro apps – closed them when they got annoying.

What actually works for you? Hardware timers? Standing desks? Blocking software?

I'm building a macOS tool that uses full-screen overlays with a 30s cooldown to bypass, but curious what approaches others have found effective.

Comments

al_borland•1w ago
Drink a lot of water. The bladder can only be ignored for so long.
glidea•1w ago
Honestly, this is probably the most reliable method. Biology > willpower.

I've tried the water trick but then I just hold it until I "finish this one thing"... which is the same problem.

apothegm•6d ago
You also have to remember to pause to drink…
WheelsAtLarge•1w ago
I wrote a script that set an X countdown time to shutdown. The script gave a warning at five minutes and 1 minute until shutdown. Once I set it I could not stop it. It would load automatically at boot time. It worked rather well until I decided to stop using it. I don't have a solution for giving up. :)
glidea•1w ago
Yeah I don't think any tool can fully solve this – it's ultimately a willpower thing.

the tool's job is to add friction, not to be unbreakable. Even if you bypass it sometimes, if it stops you from staying up late a few more times per month, that's a win

Curious – what made you stop using your script?

WheelsAtLarge•1w ago
I had a deadline to meet. I took it off "for a bit" but never put it back.
glidea•6d ago
Haha, obviously this needs a "skip today only" option.
abstractspoon•1w ago
I have a cat
glidea•1w ago
The ultimate interrupt-driven system. No snooze button. LoL..
JohnFen•1w ago
I don't do this to force me to take breaks, but it does that as a side-effect. I am constantly drinking plain water while I'm working, which makes me get up to relieve myself every couple of hours.
glidea•6d ago
Drinking more water has been mentioned many times, and it seems to really work.
dyingkneepad•1w ago
I have the opposite problem: I have to force myself to not take so many breaks!
glidea•6d ago
Haha, sometimes I'm like that too, but sometimes it's the opposite
6510•6d ago
For me programming is the break.
dennisjoseph•1w ago
I cook meals and do work in parallel.. you'll be forced to take breaks, to check on the steam, oven, air frier, marination etc.
glidea•6d ago
Oh, time management master, bro
vmt-man•1w ago
I use classic pomodoro technique :) It helps even for my back.
glidea•6d ago
Same, except I need to be more forceful.
hxugufjfjf•1w ago
A dog actually works for me
apothegm•6d ago
Relatable.

I’d use a tool like that if it could detect video calls in progress and not lock the computer while that’s happening.

Current plan is to acquire a loud and obnoxious physical timer and place it somewhere I have to get out of the chair to turn off.

glidea•6d ago
Haha, I thought of that too, setting a timer and placing it by the bed.

But later I either got too lazy to turn it on, or I'd just turn it off and continue.

If you're interested, you can also follow the software I'm building. https://forcebreak.zenfeed.xyz

gethly•6d ago
This happens only if i am in the zone or working on something exciting. If that is the case, i absolutely do not want to break that streak for any reason whatsoever. Maybe you're a junior dev, but in time, these periods will become more rare and hard to come by. So enjoy it while you can.
glidea•6d ago
The feeling of flow is indeed wonderful, but sometimes I get caught in the anxiety of not being able to complete a task.
gethly•6d ago
I just had one of those. Though it is very rare.

I was making a layouting library in Go based on Clay. Took me three weeks. I often woke up at 4 AM because I wanted to work on it. After two weeks I got worried whether it is worth it. Luckily I finished it. It was not a smooth sailing but I got it done. I'd say - don't worry about it and just plough trough. If the excitement and eagerness to get it done dissipates, it will happen naturally. No reason to force it.

Rembertir•5d ago
been there “just one more function” is devspeak for disappearing into the void.

what helped me wasn’t forcing myself to shutdown, but giving my brain a clear signal that it’s time to switch gears. One simple trick that actually worked: before each coding block, I write down the last line I want to write before I stop. It gives me a natural off ramp and weirdly, my brain starts to anticipate that pause instead of resisting it.

On top of that, I use an app that’s built around nervous system regulation, not just timers or blocks. It actually changes how focused I feel while working. I don’t need to fight myself it gets me into flow and keeps me there longer, without the crash, music is pretty awesome too

glidea•4d ago
Thank you. I understand that this is like setting a small, quantifiable goal; once you achieve it, there's not much to be anxious about.
jryan49•4d ago
Work on something you don't want to be working on. :)