HNHacker News
TopNewBestAskShowJobs

OmarShehata

1,448 karma · joined March 23, 2012

Graphics programmer. I like telling stories.

https://omarshehata.me/

submissionscomments
OmarShehata··on Show HN: Live map of “good morning/night” tweets
This is pretty amazing, I'm surprised there's enough tweets with the exact time but I guess "It's X time and I'm Y" is a pretty common phrase
OmarShehata··on Show HN: Live map of “good morning/night” tweets
Yeah I'd love to see if you build off this!

FYI all you gotta do to switch to 2D in this viewer is type this in the console:

``` viewer.scene.morphTo2D() ```

It might be fun to regenerate this timelapse I did with the 2D view since you can see the whole world at once: https://twitter.com/Omar4ur/status/1315325135990202369

OmarShehata··on Show HN: Live map of “good morning/night” tweets
I'm surprised adblocker is breaking this. Any idea what component/library it's blocking here? This is using socket.io to get tweets from the server.
OmarShehata··on Show HN: Live map of “good morning/night” tweets
I have this in the about page in the app, but this is actually based on a 2D version: http://wakingandsleeping.glitch.me

I just wanted to be able to see the day/night part (which now that I think about you can do with Cesium).

OmarShehata··on Show HN: Heyhi – Real-time video calls with website visitors (JavaScript widget)
This is pretty cool - I hope more people adopt this. My initial reaction was "It's kind of weird to just hop into a video call not knowing what to expect on the other end" but it's no weirder really than...walking into a store (the "door bell ringing" metaphor is what it made it click for me).

But also it would just be great to replace the generic sales meeting that currently happens over Zoom/Meet with this - you could do a lot of fun things with this, like a customized lobby that lets you play with the product while you wait/talk for example.

OmarShehata··on Show HN: Live map of “good morning/night” tweets
Oh cool - tweets from that account show up 28 times in my timelapse I made of tweets since last night (out of 13,976 tweets): https://twitter.com/Omar4ur/status/1315325135990202369
OmarShehata··on Show HN: Live map of “good morning/night” tweets
Tweet thread with timelapse from running it over night: https://twitter.com/Omar4ur/status/1315325135990202369
OmarShehata··on Social-media platforms are destroying evidence of war crimes
This seems like a good thing. The article does explain how you probably shouldn't use what you see on Facebook as evidence in court.
OmarShehata··on MapKnitter can make maps from any image source
This is cool because there's already a lot of tools to do this for images from drone/satellite which are georeferenced.

This just gives you a nice interface so you can position/stretch the image on a 2D map even without that metadata. Seems to be a manual process.

OmarShehata··on How to build a 3D flight tracker in the browser
TL;DR of how it works:

- Collect some radar samples of aircraft (latitude/longitude/height).

- Here we're using samples of a particular flight from SF to Copenhagen from FlightRadar24.

- Use CesiumJS to reconstruct the path on 3D globe.

- Add satellite imagery, global 3D terrain, and 3D buildings for context.

- These can be from any source/standard format. This tutorial is loading these from Cesium ion.

You can get the raw radar samples from FlightRadar24 in step 3 if you want to try your hand at visualizing this in other ways.

OmarShehata··on Ask HN: What is a better approach to interviewing?
I also love this attitude but I disagree about this negative effect you're talking about in reusing problems.

What happens in practice is the interviewer compares candidates answers to each other, not to his/her own way of solving it. It doesn't matter what whether the solution is "obvious" to the interviewer. If I hired someone who only did OK on this question and they ended up being a great engineer (and that happened multiple times) that lowers the bar for the test (or tells me it's not a very good test etc)

OmarShehata··on JSON
Inability to write comments has been a big driver to YAML instead.
OmarShehata··on Stack Overflow is buying reviews for Teams
It's common practice, their justification sounds legit:

> We sent an email to admins of the Basic tier of our paid product, Stack Overflow for Teams, asking them to review their experience. At the guidance of G2 Crowd, we offered an incentive to our customers in exchange for an honest review. It's common practice to offer an incentive for a review on G2 Crowd, similar to participating in a panel or survey.

OmarShehata··on GitHub Won’t Help You with Hiring
Do you actually scroll through and asses the code quality though? The only thing I can tell at a glance is "they bothered to clean this up and document it" which is one useful sign.

The more useful signal for me is GitHub as a portfolio piece, if they got some concrete relevant work done that I can ask them about in the interview but I don't need to see the source code for that.

OmarShehata··on How to Fix Gimbal Lock in N-Dimensions
Everything you said is correct. We've described two ways to apply these rotations, one of which will gimbal lock.

And Quaternions of course have several advantages and you should use them for those reasons.

The goal of the article was simply to explain that avoiding gimbal lock isn't the main reason you should consider Quaternions, which most people commenting here seem to have already been aware of.

OmarShehata··on How to Fix Gimbal Lock in N-Dimensions
It can be applied in a way that will gimbal lock, just like any other method of representing and applying rotations.

In this case if I understand isoclinic rotations right, what you would do every time you want to rotate your vector is construct this pair and multiply by the left and by the right to your vector.

Now what do you do when you're implementing the keyboard event to rotate by all 6 planes in 4D? Do you store 6 pairs of Quaternions, each pair changes when you press the corresponding key, and those are applied to your object every frame in a specific sequence?

If so, this will gimbal lock.

You can call this an "incorrect implemention", but Gimbal lock isn't a bug so much as a real phenomen that can be modelled with any rotation of representing rotations.

OmarShehata··on PlayCanvas, the Web-first game engine
Compiling from most major non-web game engines to the web leads to incredibly bloated products. See: https://blog.playcanvas.com/playcanvas-versus-unity-webgl/

The blog is 4 years old but I think it's still relevant.

OmarShehata··on Show HN: JavaScript-free personal bio hosting
I am suspicious at the lack of a "pricing" tab. It's free of ads, they won't sell my data, they're "here to help me" - so who's paying to maintain this? Should I use this if I don't know it will still be around in 3 months?
OmarShehata··on Companies made millions building unemployment websites that didn’t work
This doesn't make sense to me. You mention "reputation" as one of the things they care about. How does delivering a broken product not destroy that?
OmarShehata··on The company that sells lost airplane luggage
The premise doesn't make sense: these bags are not "lost", they're being sold in a specific store, why aren't the owners looking for them there?

The title is misleading but it's explained in the post, these are "unclaimed luggage". Most likely the owner decided to take the compensation option when it was taking too long for the airline to find it.

The article does mention a case of someone finding his own item in that store, more by accident than by intentionally looking for it.

OmarShehata··on [dead]
This may be how most money is made in trading, but it's not exclusively how the value of a stock is determined. The stock for a company that never grows isn't worthless. You still have dividends.
OmarShehata··on Ask HN: How do you learn new libraries without much documentation?
There's a lot of good advice in here about how to work around this situation but the best thing you can do here could just be: email this company and ask them.

If you are paying for this proprietary software, especially if you're still in the "evaluating whether we should spend a lot of money on this" phase, you should absolutely push back on them. Ask them all the questions you need, big or small. It's really on them to give you something well documented, and if they don't, they better be willing to answer all your questions about it.

I've seen this sort of customer behavior be the catalyst to get companies to actually document their stuff because all their engineers time was spent answering the same questions over and over.

OmarShehata··on Show HN: Map33.js – a library to build 3D maps with Three.js
You can do this with Ayvri: https://ayvri.com/

Built with CesiumJS: https://github.com/CesiumGS/cesium

Disclaimer, I work for Cesium.

OmarShehata··on 2+1=4, by quinoa
I initially found this curious too - of course the quinoa increases in volume, why am I reading a blog on this?

But if the quinoa absorbed all the water you'd get 3 cups total, not 4, so where is the extra volume coming from? (In this case the theory is gaps of air).

OmarShehata··on Openstreetmap, a global map for worldwide insight
Disclaimer, this is the company I work for: you should be able to do this pretty easily with Cesium Stories, it's basically PowerPoint for geospatial: https://cesium.com/docs/tutorials/stories-introduction/

Assuming your data is already in one of the formats we support (full list here: https://cesium.com/docs/tutorials/uploading/)

OmarShehata··on Openstreetmap, a global map for worldwide insight
(Disclaimer, I work at Cesium) we've been working on making this easier. If you have a bunch of GeoTIFFs of satellite imagery you can drag and drop them into our platform and get WMTS/TMS tiles you can stream into whatever client.

See: https://cesium.com/docs/tutorials/uploading/

Would love to hear your feedback.

OmarShehata··on Radio Garden – Explore live radio by rotating the globe
For anyone who's curious - this is built with CesiumJS (https://cesium.com/), same as: https://news.ycombinator.com/item?id=21037167

Disclaimer: I work for Cesium.

OmarShehata··on What you need to know about the Covid-19 vaccine
I didn't realize people were working on this new type of "RNA/DNA" vaccine - it sounds really fascinating that you can make the body develop the weakened disease, instead of injecting it, so creating the vaccine itself is a lot faster.

It also sounds kind of scary..making my body "grow" the disease. How do they control how long my body will keep producing this antigen for?

OmarShehata··on Mozilla’s plan to fix internet privacy
Why would that be better than current solutions, which at best users don't really notice when they work, and at worse dislike because they make many things less convenient?

> Making private browsing more private was a success, which is to say less data was collected and users didn't notice the difference.

> The same trackers, though, help users log into sites and pay for goods, and blocking them would break the internet for lots of users.

OmarShehata··on 1000 True Fans? Try 100
I used to agree this, but this leads to what I think is a pernicious belief stated differently: that you can only make "true art" if you're giving it away for free.

This comes up a lot when making indie games. That your work is somehow less pure or you had to compromise on your creative vision because you had to monetize it. As a creator you have to make a ton of tradeoffs all the time anyway, since you have a finite amount of time and resources. What if monetizing it actually allows you to achieve the vision you had in mind? Or it helped you understand what your audience cares about and make something more relatable or moving (or go the other direction, disturbing or meant to role them up etc) Why isn't monetizing just another trade-off? What's so special about it?

The answer to me: culturally monetizing/greed in art has been seen as making art impure and it's a stigma we need to get over.

← PreviousPage 6 of 7Next →