News for hackers. Stuff that matters.
Re:Song of GitHub by ajacksified on Friday February 22, 2013 @12:28PM (#5265381)
Author here. Thanks for the wonderful comments! I also fixed the https issues.

This was really taken to the next level thanks to a couple of pull requests from some really talented developers; rpflorence, phuu, and everyone else with issues and pull requests. This is what makes open source so cool. https://github.com/ajacksified/song-of-github/contributors

Also, Midi.js is really fun to play with. http://mudcu.be/midi-js/

Obligatory song link: http://song-of-github.herokuapp.com/?username=ajacksified

Re:Song of GitHub by RyanMcGreal on Friday February 22, 2013 @07:13AM (#5263858)
A lament: https://song-of-github.herokuapp.com/?username=aaronsw

How fitting that it ends on a discordant note.

Re:Song of GitHub by Mahn on Friday February 22, 2013 @07:24AM (#5263884)
Doesn't seem to work anymore, I guess the autor removed it?
Re:Song of GitHub by glitchdout on Friday February 22, 2013 @09:43AM (#5264360)
It works if you use http instead of https. I don't know why RyanMcGreal linked it that way. jQuery isn't getting loaded over https so that's why it's not working.

Here's the correct link: http://song-of-github.herokuapp.com/?username=aaronsw

Re:Song of GitHub by JBerlinsky on Friday February 22, 2013 @11:22AM (#5265026)
Re:Song of GitHub by glitchdout on Friday February 22, 2013 @11:45AM (#5265145)
This is only my second post so I don't know if this goes against the community guidelines but...

Hell yeah!, I love open source!

Re:Song of GitHub by ajacksified on Friday February 22, 2013 @12:25PM (#5265357)
Thanks for the pull request! On it.

edit: aaand fixed. also, had to switch to google; code.jquery.com doesn't provide https :(

Re:Song of GitHub by RyanMcGreal on Friday February 22, 2013 @10:15AM (#5264542)
It looks like my HTTPSEverywhere add-on automatically redirects from http to https on Heroku apps.

Funny - the https link works for me.

Re:Song of GitHub by calebegg on Friday February 22, 2013 @10:22AM (#5264578)
You're (probably) either not on Chrome (which blocks mixed content by default), or HTTPSEverywhere changes that feature (since blocking mixed content breaks a lot of websites' https version)
Re:Song of GitHub by RyanMcGreal on Friday February 22, 2013 @11:17AM (#5264988)
Firefox 19.0 - and you're right, I just confirmed that the https link doesn't work on Chrome.
Re:Song of GitHub by RyanMcGreal on Friday February 22, 2013 @07:31AM (#5263905)
I just tried it again - it's working for me.
Re:Song of GitHub by leftnode on Friday February 22, 2013 @06:31AM (#5263775)
This is great, I love small hacks like these!

I would love to be able to authorize it with my Github account so it can read my contributions to my private repository. All around great work.

Re:Song of GitHub by ajacksified on Friday February 22, 2013 @12:43PM (#5265462)
Great idea; I've heard it a few times. I actually built this against an undocumented API call; if you watch the network tab when you open up GitHub, it makes an ajax request for JSON. I replicated that request with https.get on the server, then dump that json out on the page (to get around CORS problems.)

I think they're using sessions to determine if you're logged in / authenticated; so I'd need to either see if I can just pass in an oauth token and see what happens, wait for them to build an API around it, or just do the work of combing the repositories and build the data manually.

Re:Song of GitHub by stevelaz on Friday February 22, 2013 @10:43AM (#5264723)
I second that :)
Re:Song of GitHub by sunils34 on Friday February 22, 2013 @10:08AM (#5264503)
Re:Song of GitHub by deanclatworthy on Friday February 22, 2013 @05:02AM (#5263571)
The song of bootstrap: http://song-of-github.herokuapp.com/?username=mdo

Very nice :)

Re:Song of GitHub by xentronium on Friday February 22, 2013 @05:23AM (#5263618)
Re:Song of GitHub by charonn0 on Friday February 22, 2013 @12:52PM (#5265510)
Melancholy; melodic but listless; in turns sporadic and frenetic; all too brief, and all too incomplete.

http://song-of-github.herokuapp.com/?username=charonn0

Re:Song of GitHub by Mahn on Friday February 22, 2013 @07:24AM (#5263889)
http://song-of-github.herokuapp.com/?username=antirez <- best one I heard so far :-) this thing is fun.
Re:Song of GitHub by Mahn on Friday February 22, 2013 @07:31AM (#5263907)
Also, it's just me or does MIDI.js have the potential to lead the renaissance of midi music on the internet? I had almost forgotten midi files existed if it weren't for this lib.
Re:Song of GitHub by pavel_lishin on Friday February 22, 2013 @11:24AM (#5265040)
It's going to lead to someone writing a MIDIBlock extension for Chrome, which I will happily install alongside FlashBlock and AdBlock.
Re:Song of GitHub by irok on Friday February 22, 2013 @05:34AM (#5263648)
Re:Song of GitHub by afshinmeh on Friday February 22, 2013 @12:38PM (#5265424)
LOL!
Re:Song of GitHub by wyuenho on Friday February 22, 2013 @11:47AM (#5265153)
I like how mind sounds. Sounds like a lone explorer searching for programming nirvana for a year, got disappointed for a little bit, and then eventually rediscovered the joy of programming again.

http://song-of-github.herokuapp.com/?username=wyuenho

This is really really nicely done. Thanks for this. This made my day.

Re:Song of GitHub by fmax30 on Saturday February 23, 2013 @01:29AM (#5268781)
Woah , the music generated is beautiful looks like some sort of computational creativity. Trovalds's song is depressing , http://song-of-github.herokuapp.com/?username=torvalds
Re:Song of GitHub by burkemw3 on Friday February 22, 2013 @06:20PM (#5267581)
My public github is pretty sad, so I wired this up for GitHub Enterprise (https://github.com/burkemw3/song-of-github) and like my song much better now.
Re:Song of GitHub by cpfohl on Friday February 22, 2013 @07:56AM (#5264002)
Mine was disappointing, but here's a pretty one:

http://song-of-github.herokuapp.com/?username=jashkenas

Re:Song of GitHub by chinchang on Friday February 22, 2013 @02:40PM (#5266250)
Awesome stuff man! mine is very boring: http://song-of-github.herokuapp.com/?username=chinchang :P
Re:Song of GitHub by DanKnox on Friday February 22, 2013 @09:49AM (#5264389)
Re:Song of GitHub by damncabbage on Friday February 22, 2013 @08:28AM (#5264104)
Re:Song of GitHub by seleucia on Friday February 22, 2013 @04:51AM (#5263535)
Congratulations, Just a musician can think that :)
Re:Song of GitHub by joeblau on Friday February 22, 2013 @12:14PM (#5265286)
LOL, my song is the saddest song I've ever heard. It sounds like the score to a point a play where the protagonist loses everything.
Re:Song of GitHub by basicallydan on Friday February 22, 2013 @03:32AM (#5263319)
This is absolutely brilliant, well done.
Re:Song of GitHub by sdoering on Friday February 22, 2013 @05:21AM (#5263615)
Great idea, great thing to have fun with. And a great motivation, to contribute more in the future... ;-)
Re:Song of GitHub by varunrau on Friday February 22, 2013 @04:02AM (#5263406)
I love it. So simple. So creative!
Re:Song of GitHub by yayitswei on Friday February 22, 2013 @01:49PM (#5265871)
Great idea! Try using a pentatonic scale, or sharp the 4th (F) to avoid some dissonance.
Re:Song of GitHub by ajacksified on Friday February 22, 2013 @01:54PM (#5265910)
Oh, good idea. I may add in the ability to select scale (or select it based on frequency of contributions / username checksum or something).
Re:Song of GitHub by whage on Friday February 22, 2013 @07:42AM (#5263955)
This is the best thing I've seen on the web in 2013 so far. Amazing amazing job
Re:Song of GitHub by deanclatworthy on Friday February 22, 2013 @05:20AM (#5263608)
I would suggest that for those people who don't contribute quite as often as big contributors, to change the pace inbetween large gaps so the song isn't just a note followed by 30s of nothing. But this is great!
Re:Song of GitHub by xentronium on Friday February 22, 2013 @06:43AM (#5263799)
This is not a bug! Contribute more! :)
Re:Song of GitHub by entropy_ on Friday February 22, 2013 @07:03AM (#5263831)
At least the gap at the beginning should be shortened. As that's not something you have any control over now.
Re:Song of GitHub by m4tthumphrey on Friday February 22, 2013 @05:35AM (#5263651)
This. I thought my headphones weren't working then suddenly a random note on its own!
Re:Song of GitHub by josebalius on Friday February 22, 2013 @09:20AM (#5264273)
It doesn't seem to work on chrome canary in OSX Lion.
Re:Song of GitHub by murftown on Friday February 22, 2013 @06:06AM (#5263719)
Nice, some MIDI.js magic! I like.
Re:Song of GitHub by afshinmeh on Friday February 22, 2013 @12:36PM (#5265420)
What a cool idea, awesome!
Re:Song of GitHub by lpinca on Friday February 22, 2013 @06:05AM (#5263716)
Cool idea!