TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: I get headaches. What sensors can I get to collect data about them?

19 pointsby Ian999over 7 years ago
Hi, I work in quant finance and spend a lot of time with data. I also get headaches 3-4 times a week. I would like to collect data on myself with various sensors. I know there are simple things like a fitbit to collect data but how can I discover what other data I can collect?

7 comments

oblibover 7 years ago
I used to get headaches too. I finally figured out it was three things that would get me. Being dehydrated, exposure to perfumes, colognes and other scented household stuff like cleaner solutions, and the 3rd was industrial and household solvents like lacquer thinner and acetone (fingernail polish remover).<p>It took me years to figure that out. Perfumes and scents are so pervasive they&#x27;re easy to ignore as a trigger for headaches but they get to me fast and the headaches last a long time.<p>I avoid that stuff like poison now. I will leave the area if I detect it.<p>Getting outside and breathing fresh air always cured the headaches from perfumes and solvents. It was the only thing that did get rid of them. Over the counter meds did nothing for me.<p>I use an activated charcoal filter on my tap water now and that makes drinking water a pleasure again. And I pay closer attention to not letting myself get dehydrated. It&#x27;s easy to tell, I just press a fingertip and if it leaves a dent I need water even if I don&#x27;t &quot;feel&quot; thirsty.<p>So, if these are what&#x27;s causing your headaches you need to be proactive to prevent them and to get rid of them, and a &quot;fitbit&quot; won&#x27;t help much with figuring out the cause.
vinchucoover 7 years ago
Instead of logging data, I&#x27;d suggest debugging for root causes. Regardless of approach, items:<p>Hydration. Eye-strain. Sleep. Exercise. Stress. Etc. <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Migraine#Cause" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Migraine#Cause</a><p>Meta: we seem obsessed about data and we have standard techniques for exploring relationships between them, but what is the equivalent source of techniques for first-principle root-cause search? (In the more practical, not the philosophical* sense)<p>* <a href="https:&#x2F;&#x2F;plato.stanford.edu&#x2F;entries&#x2F;causation-metaphysics&#x2F;" rel="nofollow">https:&#x2F;&#x2F;plato.stanford.edu&#x2F;entries&#x2F;causation-metaphysics&#x2F;</a>
Broken_Hippoover 7 years ago
I don&#x27;t personally get headaches that often, but my mother and sister both do. My mother gets cluster headaches - tension headaches plus migraines, normal headaches, and sinus headaches on top of it. My sister gets migraines. Extended family has also been plagued. I fully urge you to figure out the root cause and seek medical help. I don&#x27;t know if sensors will help with some (most) of these.<p>I fully suggest keeping track of when you get headaches, including what you were doing when you noticed it. Might keep track of daily activities as well.<p>The following are things that I know can trigger headaches. Obviously not all-inclusive:<p>1. Poor eyesight or other eye strain. Normal folks will get eye strain reading too-small text or staring at a computer screen. 2. Stress, anxiety, or depression: The muscles tense up, causing headaches. Massages help my mother, as do muscle relaxers and&#x2F;or anti-anxiety medicine. 3. Sinus problems and&#x2F;or allergies. 4. Dental problems. 5. Scents from various things or chemicals 6. Lack of sleep, sleep apnea, or other sleeping issues 7. High blood pressure (pharmacies and wal-marts often have machines to test, and I&#x27;d test often for a few weeks) 8. Food sensitivities 9. Neck strain (posture or medical). 10. Dehydration (easy to check) 11. Changes in weather. 12. Random viral or bacterial infections. 13. Low vitamin D. I personally had this happen, among other things. 14. Smoking or living with a smoker 15. Dry nasal cavities. You can use a saline nasal spray for this. I recommend disposables since they are sterile each time you open them (less chance of mold, etc). 16. Hormones. This might be more for women, especially with PMS and&#x2F;or menopause. I&#x27;m not sure how it happens in men.
cryptozover 7 years ago
A lot of phones have a barometer in them. New iPhones do and most Androids do. Log the data on a 1-minute interval, understand that the data is noisy and the noise comes from moving elevation. Watch the graphs over 1-hour, 6-hours, 12-hour, 2-day timeframes. You&#x27;ll see rises and peaks and you might note headache timing with a peak or a trough. Migraines happen to a lot of people and can be triggered by sudden changes in pressure. Not sure about your headaches but it&#x27;s a start.
评论 #16523938 未加载
godotover 7 years ago
I&#x27;m very prone to headaches and migraines as well and after a couple of decades of observations, I&#x27;ve nailed down the root causes pretty well for myself. This doesn&#x27;t answer your question for logging data but it&#x27;s some things you could look into.<p>1. Hydration - a main contributing factor in almost every episode of migraine I get. If I go for prolonged periods without water (as in, a couple of hours), it can start. This has really only gotten worse&#x2F;more prone as I got older. I need to keep drinking water more frequently than when I was younger to keep off migraines. The funny thing is, if I want to sleep in on the weekends, I have to make sure to drink some water when I wake up at 7~8, before I go back to sleep. Otherwise, I wake up after sleeping for 10 hours with a migraine.<p>2. Sleep time - as I got older, I became intolerant of &quot;elastic&quot; sleep hours. I pretty much have to keep to a fairly consistent sleep schedule daily (varying no more than an hour off a day). If I go to bed an hour or 1.5 hours late for a day, my chances of getting a migraine the next day is very high. (could be reduced if I drink even more water than usual that night; see previous point)<p>3. Screen color - Use an automatic blue light reducer software like f.lux for your OS, whichever you use. Even better, install it on mobile too. This made a noticeable difference when I first started using it.<p>4. Screen use when unfocused - this one is funny and might be unique to myself. I find that when I&#x27;m bored and just surfing the web (like reading HN right now), I start getting migraines after a longer period of it (an hour or two). If I&#x27;m actually working, writing code, etc. I have no problems looking at the screen for hours on end. I don&#x27;t really know why this is, but I have pretty much confirmed this to be the case myself.<p>5. Gaming - less of a factor nowadays simply because I don&#x27;t game much anymore. I used to play games like SC Brood War, Diablo 2, WoW for hours on end and be OK when I was younger. Now, if I play Starcraft 2 or HotS for more than an hour, the migraines start.
mathieubordereover 7 years ago
I too get headaches. I&#x27;m only certain about two causes in my case.<p>- Alcohol: If I drink even 1 glass of alcohol there&#x27;s a good chance I&#x27;ll wake up with a nasty migraine. In my case this means pretty much banning alcohol out of my life except for special occasions (to let some steam off ...)<p>- Exercise: This one is a bit nasty, I feel great just after exercising, but 12h later there&#x27;s a good chance I&#x27;ll have a migraine.
bb88over 7 years ago
Caffeine is the number one cause of headaches. It causes the arteries to constrict, lowering blood flow to the brain.<p>Other than that, there&#x27;s lots of things that can be measured.<p>1. Sleep.<p>Fit bit will work, but more importantly is a pulse oximiter that measures oxygen intake through the night. If you&#x27;re not sleeping well, apnea may be causing your headaches. You would see this by an oxygen drop below 88. This will cause your heart to race as well throughout the night as it has to work harder to push oxygen through your body.<p>Also, it&#x27;s worth noting that it&#x27;s not heavyweight people that experience apnea. It can happen with anyone and with any weight.<p>Some watches have oximeters built in I believe. This really needs to be done for one night, and if something is wrong, you should go see a sleep doctor anyway.<p>2. Caffiene &#x2F; Sugar intake<p>This can be simple script that when you drink caffiene&#x2F;sugar you just run a script that logs the time&#x2F;date and amount to a google doc. Also you can use this to track your headaches. If you get headaches during a particular time of day, then it could be intake related.<p>3. Exercise<p>Your cellphone&#x2F;smart watch can measure steps, as can a fit&#x2F;bit, etc. 10,000 steps a day is the recommended amount of exercise for people that don&#x27;t get a lot of exercise in.<p>4. Feelings &#x2F; Stress<p>So seratonin regulates your feelings. Ideally, if you&#x27;re feeling sad, angry, or stressed, or down, you should feel those for a while and then your feelings should return to normal over time. If you&#x27;re feeling emotionally bad all the time, you can get your seratonin level checked through a blood test.<p>5. Eye strain<p>60 hertz flickering lights, bad eyesight, are all causes of eye strain.<p>Here&#x27;s an article which talks about detecting flicker.<p><a href="https:&#x2F;&#x2F;www.graybar.com&#x2F;applications&#x2F;lighting&#x2F;blog&#x2F;the-flicker-checker-on-smartphone" rel="nofollow">https:&#x2F;&#x2F;www.graybar.com&#x2F;applications&#x2F;lighting&#x2F;blog&#x2F;the-flick...</a><p>If you have a friend with a D850 camera, that camera can detect flicker and report it through the viewfinder.<p>6. Blood pressure.<p>A blood pressure cuff is a good thing here. $30 or so. Take your blood pressure once a day and record the readings. And take your blood pressure when the headaches arrive.<p>7. Salt intake.<p>So salt increases blood pressure, so one option is to watch how much salt you eat in your diet, and if you&#x27;re salting food constantly, cut back. Or drink more water to help flush the salt out of your system.<p>There&#x27;s a sodium tracker here in a pdf, but you could just as well make a google doc out of it:<p><a href="http:&#x2F;&#x2F;www.heart.org&#x2F;idc&#x2F;groups&#x2F;heart-public&#x2F;@wcm&#x2F;@fc&#x2F;documents&#x2F;downloadable&#x2F;ucm_448279.pdf" rel="nofollow">http:&#x2F;&#x2F;www.heart.org&#x2F;idc&#x2F;groups&#x2F;heart-public&#x2F;@wcm&#x2F;@fc&#x2F;docume...</a><p>8. Energy Drinks.<p>These should probably be avoided at all costs. But if you&#x27;re hooked and feel like you need them, just record when you drink one. The key is not to make you feel bad about drinking them if your hooked, but making you aware that when you&#x27;re drinking them.
评论 #16526960 未加载