Live data from Hacker News

Show HN: GitBattle – Battle two Github accounts

gitbattle.com

11–20 of 45 posts

Re: Show HN: GitBattle – Battle two Github accounts

#11

Earlier quoted context omitted.

Unlocking the secret of life, apparently. At least, that's what it says it's doing now, after complaining that nobody else had got this far. It's been about 5 minutes... ...maybe it would have been wise to start with a table of existing entries that could be resolved quickly. I don't use Git and couldn't think of any accounts off the top of my head, so I just set 'abc' against 'xyz' on the theory that those usernames…

Hmmm...it shouldn't be taking that long? Would you mind checking your console?

Sure:

  Failed to load resource https://platform.twitter.com/widgets.js
  Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:236
  chromeHidden.Port.dispatchOnDisconnect miscellaneous_bindings:236
  Uncaught ReferenceError: twttr is not defined app.js:190
¯\(°_o)/¯

Re: Show HN: GitBattle – Battle two Github accounts

#12

Earlier quoted context omitted.

Hmmm...it shouldn't be taking that long? Would you mind checking your console?

Sure: Failed to load resource https://platform.twitter.com/widgets.js Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:236 chromeHidden.Port.dispatchOnDisconnect miscellaneous_bindings:236 Uncaught ReferenceError: twttr is not defined app.js:190 ¯\(°_o)/¯

:/ twitter's javascript api seems to have broken...weird. refresh and try again?

Re: Show HN: GitBattle – Battle two Github accounts

#13
post #2

It's definitely fun to mess around with. Nicely, done! Quick question: why do repo and gist counts cap at 100? I haven't looked at Github's API myself yet, so there might be a technical limitation here that I'm unaware of.

Yeah, there are a lot of technical limitations that we had to work around. Mainly, everything is paginated with a max per_page of 100. We decided to only analyze the 100 most recent gists and repos to not have to worry about that. For commits, however, we couldn't not analyze them, so we do a ton of processing. Basically, we loop over every one of your repos and loop over all of the pages of commits for that repo. Fo…

It makes sense that you're analyzing only the first 100, but it would probably be cool to add the raw quantities of these things as a metric. Perhaps they shouldn't count towards the score, but it would be cool to display them, and the info's readily available from https://api.github.com/users/:uname

Re: Show HN: GitBattle – Battle two Github accounts

#16

Earlier quoted context omitted.

Sure: Failed to load resource https://platform.twitter.com/widgets.js Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:236 chromeHidden.Port.dispatchOnDisconnect miscellaneous_bindings:236 Uncaught ReferenceError: twttr is not defined app.js:190 ¯\(°_o)/¯

:/ twitter's javascript api seems to have broken...weird. refresh and try again?

Maybe it's me...I have adblock, Ghstery, and Disconnect running.

Re: Show HN: GitBattle – Battle two Github accounts

#20
post #7

Looks like everyone else has discovered this too. I'm getting back messages that I've discovered the secret of life and still no results...

are there still repos left under the processing box? if so, would you mind checking your console?

Uncaught ReferenceError: twttr is not defined

EDIT: My cookie-blocking plugin apparently was blocking something critical.

Post reply on HN