frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Treating anxiety as a bug in legacy code (engineering approach)

3•bitkin_dev•3h ago
Hi HN,

I'm a software engineer. About a year ago I hit a severe burnout phase. Traditional advice ("just relax", "inner child", etc.) didn’t work for me because it felt non-operational and hard to test.

I started thinking about my cognition as an operating system running on legacy evolutionary drivers. These drivers were optimized for survival in unpredictable environments, not for modern high-load cognitive work.

Instead of asking “how do I feel?”, I reframed the problem in engineering terms:

what specific inputs reliably trigger failure states?

what minimal interventions consistently exit those loops?

I treated anxiety and procrastination as recurring system errors rather than emotional problems. Instead of relying on willpower, I experimented with small, mechanical actions that reliably altered attention or physiological state — similar to forcing an interrupt or resetting a stuck process.

Most experiments failed. The ones that worked were surprisingly boring, simple, and repeatable — which made them reliable.

Over time, I documented the working approaches into a technical manual for myself, structured as a set of protocols rather than advice.

I’m curious whether anyone here has approached burnout, anxiety, or habit loops using systems thinking or engineering-style models. What frameworks worked for you, and what didn’t?

Comments

mackatsol•2h ago
Can you share some of these protocols? I’m curious as to how I should approach these same issues!

I like to think of it as “we didn’t fall out of the trees all that long ago, in evolutionary terms!”

L0in•1h ago
Can you share your findings?
asukachikaru•1h ago
I tried many tricks (pomodoro, meditation, atom habit, you name it) to fight lack of discipline. TLDR: non really worked, to the point that I’ve accepted that it’s part of my character.

The one that kind of worked, at least for a while, was external reward. I set point for each task or habit I want to achieve, and the longer the streak goes the more point I earn. Point can be used as currency for rewards. I monitored my motivation against the tasks to iterate on the point distribution design. It worked great for six months in which I regularly slept and waked up early, did spanish vocabulary anki sessions, and no phone during remote work (“no phone for two hours” task,) etc., until I used all my point for a M2 IPad Pro which was the ultimate reward I set for myself from the very start.

Jtsummers•16m ago
You're getting at the ideas behind cognitive behavioral therapy.

https://en.wikipedia.org/wiki/Cognitive_behavioral_therapy

Ask HN: Which common map projections make Greenland look smaller?

2•jimnotgym•2h ago•6 comments

Treating anxiety as a bug in legacy code (engineering approach)

3•bitkin_dev•3h ago•4 comments

Ask HN: COBOL devs, how are AI coding affecting your work?

161•zkid18•1d ago•178 comments

Ask HN: Share your personal website

942•susam•6d ago•2375 comments

Ask HN: Burned out from tech, what else is there?

64•bleosh•1h ago•66 comments

Ask HN: What non-fiction do you read?

8•yanis_t•7h ago•12 comments

Ask HN: Is it still worth pursuing a software startup?

190•newbebee•3d ago•226 comments

Ask HN: How can we solve the loneliness epidemic?

797•publicdebates•5d ago•1233 comments

Ask HN: What did you find out or explore today?

220•blahaj•6d ago•431 comments

Ask HN: When has humanities/history knowledge helped you in tech?

6•amadeuswoo•23h ago•7 comments

YC Events

8•obedvega•23h ago•1 comments

Ask HN: Claude Opus performance affected by time of day?

39•scaredreally•4d ago•39 comments

Ask HN: One IP, multiple unrealistic locations worldwide hitting my website

43•nacho-daddy•5d ago•26 comments

Tell HN: YouTube gave my username switzerland to a half government organization

38•faebi•4d ago•9 comments

Tell HN: The way I do simple data management for new prototypes

15•AndreyK1984•4d ago•8 comments

Ask HN: How to bullet proof yourself from AI?

20•max_•2d ago•23 comments

Ask HN: How do you safely give LLMs SSH/DB access?

84•nico•6d ago•106 comments

Ask HN: How many local logins do you have on your computer?

8•bahmboo•1d ago•15 comments

Ask HN: Do you have any evidence that agentic coding works?

73•terabytest•7h ago•77 comments

Ask HN: How have you or your firm made money with LLMs?

12•bwestergard•4d ago•11 comments

Ask HN: Browser extension vs. native app for structured form filling?

6•livrasand•3d ago•5 comments

Ask HN: Where to find VC fund or investor for project in Europe?

8•nicksbg•1d ago•5 comments

Ask HN: What non-LLM tools have meaningfully improved your dev productivity?

4•primaprashant•1d ago•5 comments

Ask your Slack bot what the dev team shipped

2•inferno22•1d ago•0 comments

Ask HN: How to get a job after a career break?

11•shivajikobardan•2d ago•4 comments

Ask HN: How to make spamming us uncomfortable for LinkedIn and friends?

14•zx8080•5d ago•8 comments

Ask HN: What are your best purchases under $100?

90•krishadi•4d ago•245 comments

Ask HN: Distributed SQL engine for ultra-wide tables

23•synsqlbythesea•5d ago•20 comments

Ask HN: Are cross-platform UI frameworks suitable for camera apps?

4•Austin_Conlon•2d ago•3 comments

Tell HN: Poshmark instantly leaked my email to scammers

8•hardenedmetapod•2d ago•8 comments