
Last week, I discovered a remarkably efficient way to harm myself without meeting with an accident, lifting a heavy load or doing anything conventionally dangerous.
All I had to do was start coding at 3:00 a.m.
Then I continued until 9:00 p.m.
After a few hours of sleep, I returned to the computer at 3:00 a.m. again.
It initially felt like commitment. It looked like productivity. In reality, I was steadily withdrawing sleep, recovery and peace from my body while depositing stress into it without limit.
The Illusion of Productive Coding
Intensive coding can produce a peculiar mental state. One problem appears to be just one correction away from being solved.
Fix the compile error.
Correct the file path.
Repair the parser.
Change the input format.
Wait for the AI session limit to reset.
Move from ChatGPT to Claude.
Transfer the partially completed work from the home laptop to the desktop, then to the office internet machine and finally to the rig computer.
At every stage, the mind says, “Just ten more minutes.”
But ten minutes becomes an hour. One error produces another error. The program works on one machine but fails on another. A file that parsed correctly yesterday suddenly refuses to load today. Meanwhile, the human operating all these machines receives no restart, no cooling period and no preventive maintenance.
We monitor CPU temperature but ignore body temperature.
We check memory utilisation but ignore mental exhaustion.
We protect our files with backups but run our bodies without redundancy.
When the Body Sends Its Error Messages
After several days of this schedule, I started experiencing dizziness, fatigue, frustration and a strange sense of physical uneasiness. Then came tightness in the centre of my chest and pain in my upper right jaw.
My blood pressure, which was already elevated, climbed further. After only two hours of sleep, it reached approximately 170/110 mmHg.
At that point, the debugging session ended and the hospital visit began.
The doctors performed the necessary initial investigations, gave treatment and recommended an echocardiogram. A muscle relaxant reduced the discomfort, but improvement after a medicine does not prove that the original symptom was harmless. Chest discomfort and jaw pain deserve proper medical evaluation, particularly when they occur with dizziness, fatigue or high blood pressure.
The body does not display a blue screen saying:
“Critical cardiovascular warning. Save your work and shut down immediately.”
Instead, it communicates through pain, exhaustion, palpitations, headaches, dizziness, irritability and poor concentration. We often dismiss these messages as inconvenience because they interrupt our work.
Was All This Work Really Necessary?
The honest answer is complicated.
The work may have been important. The deadline may have been real. The technical problem may have demanded sustained concentration.
But no task requires eighteen hours of uninterrupted cognitive strain followed by two hours of sleep and another immediate restart.
That is not disciplined effort. It is uncontrolled effort.
The distinction matters.
Discipline includes knowing when to continue and when to stop. It includes protecting tomorrow’s ability to think. Exhaustion may create the feeling of heroic commitment, but it usually reduces judgement, increases programming mistakes and makes simple problems appear more difficult.
Past a certain point, additional hours do not produce additional quality. They produce repeated errors, emotional frustration and dangerous physiological stress.
Stress Is Not Only in the Mind
Coding stress is often described as if it were merely an emotional problem. But the body participates fully.
Every unresolved error creates tension.
Every failed compilation increases impatience.
Every switch between machines consumes mental context.
Every AI usage limit interrupts momentum.
Every incompatible file format forces the brain to rebuild its understanding of the problem.
Under prolonged stress, the body can remain in a state of heightened alertness. Heart rate and blood pressure may rise. Muscles around the neck, shoulders, jaw and chest can remain tense. Sleep becomes shallow or disappears altogether. Caffeine may keep the eyes open while making the underlying strain worse.
Sleep is not wasted time between productive sessions. It is part of the engineering process. During sleep, the brain consolidates learning, regulates emotion and restores attention. Adults who repeatedly sleep fewer than seven hours are more likely to experience several health problems, including conditions associated with cardiovascular disease.
A Safer Protocol for Intensive Technical Work
The solution is not to stop being passionate. The solution is to place boundaries around that passion.
1. Define a hard shutdown time
Choose the time before beginning the session. Do not negotiate with yourself after reaching it.
A shutdown time is not a suggestion. It is a safety interlock.
2. Protect a continuous sleep window
Do not treat two or three hours of sleep as a temporary optimisation. Aim for a regular, adequate sleep period, especially when blood pressure is already elevated.
Lost sleep cannot be reliably repaired by determination, coffee or weekend recovery.
3. Work in controlled blocks
After approximately 50–90 minutes of concentrated work, leave the screen briefly. Stand, walk, stretch, drink water and allow your eyes and mind to change focus.
A break is not an interruption to the solution. It is part of the solution.
4. Reduce context switching
Moving repeatedly between five computers, two AI systems and several versions of the same files creates avoidable cognitive load.
Maintain one master project folder, one change log and one clearly identified latest version. Record:
- what was changed;
- which machine was used;
- which error remains;
- what should be attempted next.
This prevents the brain from carrying the entire project state continuously.
5. Stop when error density increases
Repeated typographical mistakes, forgotten commands, circular debugging and emotional reactions to minor errors are indicators of cognitive fatigue.
When mistakes begin multiplying, additional work is usually negative work.
6. Do not medicate yourself based on assumptions
Chest pain is not a software bug that should be patched with whatever medicine is available at home. Emergency “loading doses” can have serious consequences and should be taken only according to an established medical plan or direct professional advice.
7. Measure blood pressure correctly
Sit quietly for several minutes. Keep the arm supported, feet flat and back supported. Avoid measuring immediately after walking, arguing, consuming caffeine or experiencing severe stress.
Record both the reading and the circumstances surrounding it. A single number is useful, but a properly maintained pattern is more informative to the doctor.
8. Treat warning symptoms as priority-one faults
Chest pressure, pain extending to the jaw or arm, breathlessness, faintness, sweating, severe weakness, neurological symptoms or very high blood pressure require immediate medical attention.
Do not finish the compilation first.
Do not wait for the AI response.
Do not drive yourself if you feel seriously unwell.
Passion Must Be Sustainable
There is satisfaction in solving a problem that resisted us for hours. There is pride in building a program, repairing a system or completing an engineering task that others considered difficult.
But passion without boundaries can become self-punishment.
A machine is stopped when its vibration exceeds the limit. A gearbox is inspected when its temperature rises. A rig is shut down when abnormal pressure appears. We do not praise the machine for continuing until catastrophic failure.
The human operator deserves at least the same protection.
The objective is not merely to complete today’s program. The objective is to remain healthy enough to solve tomorrow’s problem as well.
So, how do we hurt ourselves voluntarily?
We ignore sleep.
We disregard warning signs.
We confuse exhaustion with dedication.
We allow every machine to have a safety limit except ourselves.
And how do we prevent it?
We stop before the body is forced to stop us.