Top
Best
New

Posted by showmypost 16 hours ago

I let AI build a tool to help me figure out what was waking me up at night(martin.sh)
200 points | 211 commentspage 3
pvtmert 6 hours ago|
I opened the article thinking that it's about the on-call scenario (paging). Something like, I got paged in the middle of the night and let the remediation/mitigation to the agent...

Which makes a lot of sense. Especially non-Tier-1 services.

  Note: Having previously worked at Amazon, certain shifts can be really busy. Busy as in 30-40 pages/incidents over the course of the shift. I sometimes wake up to a "ghost" page, although I left my position earlier this year...
simondanisch 2 hours ago||
One observation: If you're often waking up around 3am, it is a strong indicator for histamine/MCAS issues. This is fairly new research, so most people dont know about it, I haven't had a single doctor yet who was familiar with this.

The mechanism: mast cells (the immune cells that release histamine among other things) have their own circadian clock. The CLOCK gene controls their IgE receptor expression in a time-of-day manner, and both plasma histamine and tryptase peak during the night. In healthy people this is fine. In MCAS or histamine intolerance, this nightly mediator release is excessive, and it happens right in the window where cortisol (which normally suppresses histamine release) bottoms out around 2-4am. Histamine is itself a wake-promoting neurotransmitter, so you get woken up, often by something minor like a noise, reflux, or a temperature shift that wouldn't otherwise register. Signs it might be worth looking into: 3am waking with a racing heart, sweating, flushing, itching, or reflux/throat tightness. A good in-depth resource: https://health.programmerlife.org/en/

ssgodderidge 12 hours ago||
Hey OP, would love to know more about your thoughts on Garmin you reference at the bottom? Why would they be any better/worse than Coros?

> *= I do not like Garmin, I think they're a fraudulent company systematically breaching consumer rights and I'm looking for alternatives. Already converted multiple people to Coros.

lloeki 4 hours ago||
Came to see if someone commented on that. I have generally seen Garmin as one of the good ones on several criteria:

- when hit by ransomware, disclosed publicly, bit on the data loss and told them to fsck off

- devices can very much operate without any account, app, or cloud connection (of course you don't get the more advanced "Connect" features)

- plug it in and you have rw access to .FIT files over MTP

- same mechanism to build and sideload apps made with Monkey C

- ANT+ is a fairly open ecosystem (progressively replaced by BLE, often in much less open ways)

I hear that some people are annoyed that devices stop receiving major feature updates after a year or two, and see that as predatory "you must upgrade every year", which is like, ridiculous?

Also in a sense I like that I buy the device and it's mostly "done". Like a mechanical watch it's a utility item I can rely on and it won't ever have a Liquid Ass pulled up on me.

ssgodderidge 3 hours ago||
Yeah I totally agree with this list. In contrast, Coros had a pretty nonchalant response to their security issues last year. Attackers could:

> Hijacking the vicitim’s COROS account and accessing all data

> – Eavesdropping sensitive data, e.g. notifications

> – Manipulating the device configuration

> – Factory resetting the device

> – Crashing the device

> – Interrupting a running activity and forcing the recorded data to be lost [0]

The security firm disclosed the vulnerability to Coros in Mar 2025. They planned to fix it by the end of 2025, and didn’t address it until the security firm publicly released the finding.

[0]:https://www.dcrainmaker.com/2025/06/coros-confirms-substanti...

deckplecksetter 9 hours ago||
I'm curious about this too. This is the first time I've heard of Garmin being a bad company.
tppiotrowski 15 hours ago||
Related project I did in 2014 tried to do this. I was a web developer so used the web audio APIs to trigger a recording when the decibel level exceeded a certain value. I was living in a big tent in my friends back yard in Sydney at the time and was convinced it was airplanes coming into SYD that were waking me up at 4am but never really captured conclusive evidence because my laptop battery couldn't make it through the night :)
vaulstein 7 hours ago||
Don't get me wrong but this seems like a first world problem which even I have experienced after my life has got easier. When I was younger, I used to live at a very noisy location and used to sleep like a baby. Also, would late workouts help to aid a better sleep? Tired body falls asleep?
thunfischtoast 7 hours ago|
Results may vary, but for most people the body takes multiple hours to calm down completely after a activating workout.
Sxubas 11 hours ago||
OP, I would encourage you to take a sleep test. While it seems to be correlated with sound, it sounds (pun not intended) way too similar to my OSA symptoms
dev360 15 hours ago||
My mom would love this one :) .. she told me recently about a long-running chat gpt session that she's had for over a week, where she was going back and forth trying to figure out the source of some strange sound in the building.
odshoifsdhfs 11 hours ago||
Maybe take your mother to brunch or something. I am pretty sure it will be better than any chatgpt session she has running for a week
toxik 7 hours ago||
I think that's the actual risk, that you're /not/ as comforting and less enjoyable to talk to. I know this is true for many people already.
fatata123 10 hours ago||
[dead]
bad_username 15 hours ago||
> I get the sleep data from my Garmin* watch. Every watch and ring calculates sleep slightly differently, and to be honest, I don't fully trust any of them on the exact sleep stage I was in at any given second.

I love my Garmin, but it's one of the worst smart watches to track sleep with. It consistently ranks poorly in tests that stack it up against pro sleep equipment, and from my experience it struggles to even detect sleep times properly. That 3:32 event that the watch said has pulled you out of deep sleep may not have been real.

showmypost 14 hours ago|
Totally agree with you, that’s why I wanted to check. I btw turned off the morning report long time ago, so it’s more about me checking the sleep stages after realizing that I feel without energy. Also my sleep outside the city is much better. In the end it turns out that most times it is real and an external noise woke me up. Not always, there are false positives and sometimes you just wake up (nightmare, stress, sickness, ..)
kmm 15 hours ago||
I like the temperate graph halfway down the page. It looks like two decaying exponentials alternating every ~40 minutes, with the downward one steeper than the upward one. It's a neat visualization of hysteresis, where the thermostat presumably has a different temperature threshold for turning off or turning on (or perhaps there's a minimum time between state switches). Without the scale it's hard to know for sure.
showmypost 14 hours ago|
Yes it’s the AC keeping the temperature. I have different targets set depending on season and time of night (cooler to fall asleep, warmer in the morning). Added this data because I already have it in Home Assistant and you never know what other crazy conclusions you can get from looking at the data :D
ElFitz 8 hours ago|
Sounds like "observability, for sleep".

It’s funny how many things can boil down to "rich distributed traces" and events / logs.

More comments...