Better HN
topnewbestaskshowjobs
Log inSign up

jbalogh

50 karma · joined Jul 8, 2007 (19y ago) · 21 submissions

Submissions

comment 12y ago · link · parent

That's a great idea! Let me see what we can do.

Feel free to email jbalogh@stripe.com (or post here) if you have any other feedback.

2.

How to Add Push Notifcations to your Website(jbalogh.me ↗)

2 points · by jbalogh · 14y ago · discuss

comment 14y ago · link · parent

They have some pubsubhubbub support (http://developer.github.com/v3/repos/hooks/#pubsubhubbub), but you still need write access to create a web hook on the account.

comment 14y ago · link · parent

Yes, it'll be part of the Gecko platform.

comment 14y ago · link · parent

It's a limitation of the Github API. The app sends notifications after receiving a web hook from Github, and you can only add web hooks for repos you own.

comment 14y ago · link · parent

I don't have any Chrome plans (I work for Mozilla), but I've heard rumors that the Chrome team is working on their own push notifications.

Eventually I want to get these APIs standardized and in other browsers, not just Firefox and Boot to Gecko.

comment 14y ago · link · parent

Thanks Julien!

comment 14y ago · link · parent

It looks good to me. What are you seeing? What browser?

9.

Try Push Notifications for Github in Firefox(github-notifications.herokuapp.com ↗)

30 points · by jbalogh · 14y ago · 16 comments

10.

Optimizing browser handling of Facebook Timeline scrolling (groups.google.com ↗)

1 points · by jbalogh · 14y ago · discuss

comment 14y ago · link · parent

Right, one of the goals of the design is to not lock in any one aggregator. We just need to standardize the server API so other apps don't have to care who they're talking to.

comment 14y ago · link · parent

Like all wikis, that document was way out of date.

comment 14y ago · link · parent

I think notifications will be useful in all our browsers, not just B2G. I'm targeting Firefox Mobile for the initial release since mobile is where notifications fit in the best.

I don't see notifications supplanting Server Sent Events. SSE gives developers a lot more control over the stream since it's connected directly to your server, and you don't have to bother the users with permission dialogs. You'd use push notifications if the user doesn't have your site open, but otherwise SSE gives you more power.

(I'm working on push notifications.)

comment 15y ago · link · parent

The logs showed all the downloads in Alfred were from curl. They've been removed from our stats.

comment 15y ago · link · parent

The names of regions and cities come directly from MaxMind[1], our GeoIP service. Some of our localizers provided localized names to replace the phonetic translations, so Russia, France, and Ireland see the real city names.

All of our localization is done by volunteers, so please feel free to contact me if you'd like to get involved.

[1]: http://www.maxmind.com/app/fips10_4

comment 15y ago · link · parent

I don't know exactly what was going on, but we noticed that we were getting as much as 2,000 hits per minute from Alfred, NY. That IP is getting blocked by the load balancer now and I'm working on a way to remove that aberration from our stats.

comment 15y ago · link · parent

We worked hard to make it fast in Chrome. Their profiling tools were great at finding some bottlenecks that improved perf in all browsers.

My guess is that we're pushing up against the limits of Chrome's repaint rate when the map canvas starts cranking. That's not as much of a bottleneck in Firefox since there's not a separate rendering process.

comment 15y ago · link · parent

I've probably seen that picture before, but it wasn't a direct inspiration. We had a map like this for Firefox 3.6, so glow is a mix of that plus a little WarGames and Tron.

comment 15y ago · link · parent

The svg was generated from the shapefiles here: https://github.com/potch/glow/tree/master/shapefile. I need to ask potch where the shapefiles come from.

Inner regions like lakes weren't included since they would complicate the svg without a lot of benefit.

comment 15y ago · link · parent

The geo data comes from MaxMind. They give us latitude/longitude and country:region:city info.

comment 17y ago · link · parent

Reported at https://bugzilla.mozilla.org/show_bug.cgi?id=520569