For the first time ever, I am launching a product I could easily devote the next ten years of my life to. It honestly feels amazing https://abs.twimg.com/emoji/v2/... draggable="false" alt="😁" title="Grinning face with smiling eyes" aria-label="Emoji: Grinning face with smiling eyes">

I love what it stands for and what it represents, it& #39;s called "Epilepsy Blocker"

It took two months all-day coding to build, thread below https://abs.twimg.com/emoji/v2/... draggable="false" alt="👇" title="Down pointing backhand index" aria-label="Emoji: Down pointing backhand index">
I built a chrome extension that automatically blocks flashing GIFs that may cause an epileptic seizure to people with photosensitive epilepsy, kinda like an AdBlockerhttps://abs.twimg.com/emoji/v2/... draggable="false" alt="🛑" title="Stop sign" aria-label="Emoji: Stop sign">

It& #39;s called & #39;Epilepsy Blocker’https://abs.twimg.com/emoji/v2/... draggable="false" alt="♥️" title="Heart suit" aria-label="Emoji: Heart suit">
http://www.epilepsyblocker.com"> http://www.epilepsyblocker.com 

cc @kurteichenwald
#epilepsy #photosensitiveepilepsy
I remember reading articles online about how people with photosensitive epilepsy are having seizures from media content

Things that can make content dangerous:
https://abs.twimg.com/emoji/v2/... draggable="false" alt="💥" title="Collision symbol" aria-label="Emoji: Collision symbol"> Flashing
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🔴" title="Red circle" aria-label="Emoji: Red circle"> Transitions involving red colors
https://abs.twimg.com/emoji/v2/... draggable="false" alt="‼️" title="Double exclamation mark" aria-label="Emoji: Double exclamation mark"> Some geometrical patterns, like stripes
I started building it in the "24hr startup challenge", but it was far more difficult than I expected

Even after the challenge and one month in, I quit because I thought it was not feasible. I wanted to analyze GIFs in real time but the it was taking about four minutes per GIF https://abs.twimg.com/emoji/v2/... draggable="false" alt="🐌" title="Snail" aria-label="Emoji: Snail">
After that, luckily, I stumbled upon one of @andreyazimov ’s articles, where he talked about going through a similar phase with & #39;MacBook Alarm& #39;. Eventually, he pushed through and managed to finish the project

That inspired me, so I decided to give it another go https://abs.twimg.com/emoji/v2/... draggable="false" alt="🌥️" title="Sun behind large cloud" aria-label="Emoji: Sun behind large cloud">
I started studying about photosensitive epilepsy in depth https://abs.twimg.com/emoji/v2/... draggable="false" alt="📚" title="Books" aria-label="Emoji: Books">

What I found was that the UK is the leader in this field, having the most established scientists in the field and the strictest guidelines for TV broadcasting https://abs.twimg.com/emoji/v2/... draggable="false" alt="📺" title="Television" aria-label="Emoji: Television">

This where I found established guidelines and papers
I started reading numerous scientific papers and studied linear algebra for the first time after Uni https://abs.twimg.com/emoji/v2/... draggable="false" alt="🎓" title="Graduation cap" aria-label="Emoji: Graduation cap">

By using Python, linear algebra and optimized Python packages written in C, I managed to speed up analysis from four minutes per GIF to just under one second! https://abs.twimg.com/emoji/v2/... draggable="false" alt="🤯" title="Exploding head" aria-label="Emoji: Exploding head">
Initially, I was looping through every single pixel of the GIF, which is time consuming https://abs.twimg.com/emoji/v2/... draggable="false" alt="⌚️" title="Wristwatch" aria-label="Emoji: Wristwatch">

Food for thought https://abs.twimg.com/emoji/v2/... draggable="false" alt="🧠" title="Brain" aria-label="Emoji: Brain">
Imagine a simple GIF, 600x600 pixels with 200 frames. That makes for 600x600 pixels x 200 frames = 72 million pixels to analyze, crazy
The way I managed to overcome this was by:

Specialized algorithm https://abs.twimg.com/emoji/v2/... draggable="false" alt="👨‍🔬" title="Man scientist" aria-label="Emoji: Man scientist">
Switching to Python and Python packages written in optimized C code and using specific matrix functions https://abs.twimg.com/emoji/v2/... draggable="false" alt="🐍" title="Snake" aria-label="Emoji: Snake">

I will write a large blog post sometime in the future where I will write all the details
So far I had launched Epilepsy Blocker on Reddit but was taken down very quickly due to "self promotion"

However, while it was still up, someone subscribed for $10/mo https://abs.twimg.com/emoji/v2/... draggable="false" alt="💳" title="Credit card" aria-label="Emoji: Credit card">

That means that Epilepsy Blocker is officially helping someone stay safe online https://abs.twimg.com/emoji/v2/... draggable="false" alt="💙" title="Blue heart" aria-label="Emoji: Blue heart">
Today I am launching on @ProductHunt, some Facebook Groups and generally trying to get the word out

Below is the PH link, feel free to check it out https://abs.twimg.com/emoji/v2/... draggable="false" alt="♥️" title="Heart suit" aria-label="Emoji: Heart suit"> https://www.producthunt.com/posts/epilepsy-blocker">https://www.producthunt.com/posts/epi...
You can follow @alexsideris_.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: