Live data from Hacker News

How We Built the GitHub Globe

github.blog

71–80 of 107 posts

Re: How We Built the GitHub Globe

#71
post #65

Pretty clever using the timezone offset to approximate the user's location without using GeoIP. I hadn't noticed that but sure enough, my (approximate) location is in view first.

Eh. I'm in the southern hemisphere, and the Github Globe first appears in the middle of the Philippines Sea. They're just assuming everyone is in the northern hemisphere.

That shouldn't matter for the timezone, though, no?

Re: How We Built the GitHub Globe

#73
post #65

Earlier quoted context omitted.

Eh. I'm in the southern hemisphere, and the Github Globe first appears in the middle of the Philippines Sea. They're just assuming everyone is in the northern hemisphere.

That shouldn't matter for the timezone, though, no?

Using the timezone was Github's way of easily getting the right orientation of the globe for the viewer's location. In my case (and I'm guessing everyone in the southern hemisphere) that doesn't work.

Re: How We Built the GitHub Globe

#75

Pretty clever using the timezone offset to approximate the user's location without using GeoIP. I hadn't noticed that but sure enough, my (approximate) location is in view first.

Clever but a bit lame given the fact that I guarantee your IP address is already analyzed from a bazillion angles (incl. GeoIP) way before it hits the frontend process. Not sure why they can't use that information.

Re: How We Built the GitHub Globe

#76
post #73

Earlier quoted context omitted.

That shouldn't matter for the timezone, though, no?

Using the timezone was Github's way of easily getting the right orientation of the globe for the viewer's location. In my case (and I'm guessing everyone in the southern hemisphere) that doesn't work.

Aren't most globes oriented that way for display though? They copied the normal angle used for physical globes so it's instantly recognizable I suspect.

Re: How We Built the GitHub Globe

#77
post #74
post #72

Earlier quoted context omitted.

FWIW, this only works for me in Chrome, not Firefox.

What doesn't work? Link, page, CSS? Everything seems to work for me. Firefox latest stable release

I get a static image in firefox - https://github.githubassets.com/images/modules/site/home/glo...

I get terribly jittery rendering in chrome (despite being on a powerful desktop that is doing nothing else).

Re: How We Built the GitHub Globe

#78
post #65

Pretty clever using the timezone offset to approximate the user's location without using GeoIP. I hadn't noticed that but sure enough, my (approximate) location is in view first.

Eh. I'm in the southern hemisphere, and the Github Globe first appears in the middle of the Philippines Sea. They're just assuming everyone is in the northern hemisphere.

Hemispherism is pretty common in tech, kind of surprising to see it in a project to produce a globe though :)

Re: How We Built the GitHub Globe

#79
post #55
post #3

Looks a lot like the globe on Stripe's homepage: https://stripe.com They even had a post about it, too: https://stripe.com/blog/globe

Perhaps it's just me but both seem to convey absolutely zero useful information ...

I don't think they are intended to
Post reply on HN