Omar Shehata
omarshehata.bsky.social
Omar Shehata
@omarshehata.bsky.social
Math, art, epistemology??

Ithaca, NY.

https://omarshehata.me/
wait, I thought crypto in general was not very friendly with banks (due to little regulation/widespread fraud etc). I can't actually find much about it though

www.fastcompany.com/91246294/why...
December 20, 2024 at 8:56 PM
I hated this, and it seemed kind of petty, so I built the dumbest workaround: a tool that copies the <meta> tags from the HTML of a substack article, and re-hosts that. So Twitter can't tell that it's a substack links, and that fixes the preview card!
July 6, 2024 at 8:59 PM
what's the problem? In addition to downranking any posts that mention "substack", they also just have it hard-coded to NOT display a preview picture for substack links??
July 6, 2024 at 8:57 PM
February 22, 2024 at 3:07 AM
Did you know Google Earth released an API this year to fetch any piece of the earth as a standard glTF you can render in any engine? I built a little viewer app with simple example code: (1) Get an API key (2) run the script and get a 3D model of anywhere on earth!

github.com/OmarShehata/...
December 17, 2023 at 4:21 PM
Since the app doesn't give you an easy way to see this (my bad 😅) here's the titles of all the advice 🌈 internet strangers 🌈 left in the app!
December 9, 2023 at 1:51 PM
Working on something kinda weird/experimental, for Glitch's "self portrait" code jam

I'm usually terrible at design so I'm just putting in all the content first & gonna style it later, working out well so far!
November 19, 2023 at 9:05 PM
When you see purple, your brain is receiving:

✅ Light signal for short wavelength (blue)
✅ Signal for long wavelength (red)
❌ NO signal at all for medium (green)

Your brain gets data that says the color SHOULD be in the middle wavelength...and yet that sensor isn't picking up anything.
October 15, 2023 at 12:55 PM
The answer is a bit trick, it's NOT possible to get these sensor readings with 1 mouse.

The answer is...two mice!

This is *exactly* what happens to your brain when you see purple
October 15, 2023 at 12:53 PM
HOWEVER if you look at the middle sensor, it says -1!!! No mouse there!!!

How can this be??? (think hard about this, because this is what purple is)
October 15, 2023 at 12:52 PM
Ok now here's the tricky one, where is the mouse in this one?

I'm not telling you the reading of the middle sensor yet. But according to the right & left sensor readings, it's not super close to either, but detectable by both.

So that means the mouse MUST be in the middle, right?
October 15, 2023 at 12:51 PM
This one should be easy, the mouse is right next to the leftmost sensor! It's still detected by the middle one but it's far from it. And it's NOT detected by the right one, so that is what tells us it's not on that side of the box
October 15, 2023 at 12:50 PM
Let's do a practice round. Given these 3 sensor readings, where is the mouse?

(the sensors are arranged in this way in physical space in the box, but the distances between them are not to scale)
October 15, 2023 at 12:49 PM
When the mouse is close, you get a distance measurement (like 10cm). If the mouse is too far, you get -1 (no mouse detected)

And so the game is, given 3 sensors in the box, you have to figure out where the mouse is
October 15, 2023 at 12:47 PM
I've been wanting to write this article for a while but it's not "good enough" so let me just draft it out here:

"Why do some people say purple is not a real color?"

To explain this, let's do a little thought experiment.

Imagine a mouse in a box. You can't see it, but you have a proximity sensor
October 15, 2023 at 12:45 PM