Show HN: Alzheimer's Buddy: Use Flashing Light and Sound at 40Hz (alzheimersbuddy.com)
I wanted to try it myself, but was surprised how hard it was to find something free and easy to use to generate such pulses. Which is odd because I remember some freeware DOS program I tried back in the 90s which did all this kind of stuff (anyone know what I’m talking about? Google fails me…).
So anyway, I made this tool in a couple hours and put it up as a public service so that older people can try this treatment now without waiting years for FDA trials to finish and without getting a diagnosis and expensive piece of medical equipment. The code is available here:
https://github.com/Dicklesworthstone/anti_alzheimers_flasher
As an aside, I first tried making this in Rust, but gave up after finding it incredibly annoying to deal with the wgpu library with its ever changing and breaking API. This was a surprise because I generally find working in Rust to be quite pleasant.
In contrast, doing it in JS was a total breeze, and I was impressed how well canvas and webaudio works nowadays. It also makes it easy to add documentation right there on the page, to distribute it, and to get it working on mobile phones automatically. Web development is pretty awesome!
The best part is that, because I made it as a single html file on GitHub, I was able to deploy it without even setting up Nginx on a machine somewhere— I just used Cloudflare Pages and the whole thing took a couple minutes (getting the domain from Cloudflare made things even easier since they automatically handled everything with the certificate).
I realize that there are limitations in using a computer screen for precise flashing given hardware refresh rates. I’d certainly welcome any PRs if people have ideas about how to improve it or make it more efficient without breaking it on mobile. I tried to do the flashing in a way that can be easily hardware accelerated in modern browsers. The hardest part was getting rid of the disconcerting popping artifacts when starting and stopping the low frequency audio, but I resolved it by ramping up and down the volume beforehand.
84 comments
[ 3.2 ms ] story [ 146 ms ] threadThat's awesome that you created something free. You might want to add a standard license to your disclaimer for better liability protection (something that already stands up in case law).
Do you have any verification or adjustment mechanism to ensure the correct frequency across hardware variations? I assume this would be hard to do, but would be interesting if you were able to have something like that.
I don't know if browsers are capable of doing the flash reliably. I tried it out (non-epileptic and curious), and you can see that it's not a reliable 40Hz flash on either Chrome or Firefox.
I haven't looked to see what technique you are using for the timing, but there's quite a bit of jitter.
EDIT: it's using requestAnimationFrame.
Rather than using that, have you tried using CSS keyframes? They may have a more privileged timer, and they'll be immune to GC.
Think twice before sampling it if you have any sensitivity to flashing lights. Might seem obvious, but apparently needs saying!
[edit to add] 10 minutes later - the flicker has gone (or I can't perceive it)
Now what is causing it?
I wonder how hard it would be to output to a 4k video stream and atmos or something and then play on hi end home theaters?
tim
[1]: https://rawcdn.githack.com/Dicklesworthstone/anti_alzheimers...
Mynosie generally has a lot of neat noise generators in this brainhacking space
There is now some flickering over the whole screen (it's not my mind, I filmed and checked my mind with another screen)
It's not even a year old.
But to be clear: display was already having issues and i have a service appointment to get it replaced
I went to github and see that we are not alone
Second: if I've understood correctly, there's no idea about what causes Alzheimer, which would reduce the significance of finding reduced levels of tau.
Third: there was physical vibration at 40Hz. This cannot be reproduced with headphones or earplugs, let alone a computer speaker. The experiment used a 12 inch sub-woofer (at undocumented levels, but I assume that the levels for humans must exceed those for mice). 40Hz might not even be suitable for humans if the effect stems from oscillations in the physical brain matter rather than electrical.
Four: the number of subjects per condition is very low, and the variance is high. The individual data points can be seen on the graphs, and don't give me much confidence. E.g., 2 mice in the grid hang condition failed immediately, but the other 2 performed in the lower range of the other group. Don't get your hopes up.
FML please put a big disclaimer.
Also my slow-mo phone video confirms it.
That was my go to trick when I was a slot tech at a casino. The old $50K/each slot machines often went crazy with errors some due to EEPROM "chip creep" other errors possibly static. So I just unplugged and waited ten minutes or so.
I had severe ghosting in the shape of YouTube's home page and disconnecting it solved the issue.
Apparently the type of panel they use tends to do stuff like that.
My monitor has a built-in "LCD conditioning" thing, which just slowly flips through various solid color screens. That "fixed" it. I suspect a YouTube video doing the same would also work.
The research that might support the claim would be interesting, more so that Javascript that breaks LG monitors.
Although that's interesting for totally different reasons.
Using a microcontroller with a DAC and a LED array seems particularly well suited for this, while still being firmly a beginner level project.