News for hackers. Stuff that matters.
Re:Show HN: A friend and my CMU Webapps final project by estenh on Sunday December 04, 2011 @01:34PM (#3311320)
We wrote a little game that should help with pitch recognition. Uses Couch for storing high scores, Redis for cache and Tornado for the server.

Makes use of Audiolib.js (https://github.com/jussi-kalliokoski/audiolib.js/) for audio that works in FF/Chrome. Bit weird in FF though, but at least it plays.

I did most of the JS and my friend did most of the backend. We were sorta on deadline, so the design isn't quite what I would call perfect (ha) and my JS is super-messy in places. Also, there are bits where I inexplicably use jQuery for stuff I had been doing without a framework and other weird inconsistencies like that, but hey, it works. Anyway, let me know what you think! Thanks.

Re:Show HN: A friend and my CMU Webapps final project by mushishi on Sunday December 04, 2011 @02:07PM (#3311429)
I don't use Facebook, sorry. (Was FB integration really needed?)
Re:Show HN: A friend and my CMU Webapps final project by estenh on Sunday December 04, 2011 @02:35PM (#3311522)
It probably wasn't, but we needed some way to save high scores, and "outsourcing" auth to FB was the simplest way. I've done other projects where that's optional, and that'll probably be the end goal for this as well.

If it's any consolation, I don't like sites that only use FB auth either... this is just a product of the time-constraint.

Re:Show HN: A friend and my CMU Webapps final project by throwaway16185 on Sunday December 04, 2011 @08:13PM (#3312518)
Any way to put a quick hack so we can play without using FB login? Would love to try it out...
Re:Show HN: A friend and my CMU Webapps final project by estenh on Monday December 05, 2011 @12:20AM (#3313239)
I'll do my best to hack in a non-Facebook version when I get some time. Definitely a necessity.
Re:Show HN: A friend and my CMU Webapps final project by antics on Sunday December 04, 2011 @02:17PM (#3311456)
I agree that they probably didn't need Facebook, but a generation ago, it would have been an email address that they required, and I would have just used a "junk" account. I'm honestly wondering, for people who don't like Facebook, what is the problem with just having a "junk" Facebook account?
Re:Show HN: A friend and my CMU Webapps final project by ntkachov on Sunday December 04, 2011 @02:32PM (#3311510)
Facebook doesn't really like "junk" accounts.
Re:Show HN: A friend and my CMU Webapps final project by antics on Sunday December 04, 2011 @02:54PM (#3311586)
And Hotmail et al did?
Re:Show HN: A friend and my CMU Webapps final project by middus on Sunday December 04, 2011 @06:23PM (#3312244)
Yes, you could have your 246th email account as [email protected] without any fuss?!
Re:Show HN: A friend and my CMU Webapps final project by veemjeem on Monday December 05, 2011 @12:16AM (#3313227)
you can still have junk facebook accounts, the sign up process is slightly longer than hotmail's, but not by much. I still have around 15 junk facebook accounts or so... I only remember the passwords for about 3 of them.
Re:Show HN: A friend and my CMU Webapps final project by redthrowaway on Sunday December 04, 2011 @06:40PM (#3312293)
I do, but any site that asks me to log in using it quickly gets closed. Sorry, but I'm not interested in using facebook outside of facebook.
Re:Show HN: A friend and my CMU Webapps final project by chrischen on Sunday December 04, 2011 @05:23PM (#3312067)
It's just facebook login. Think of it as a cookie.
Re:Show HN: A friend and my CMU Webapps final project by StavrosK on Sunday December 04, 2011 @02:58PM (#3311595)
I must be doing something wrong, because it just drops a bunch of notes/rectangles on me and I lose within half a second. What's the purpose?

Chrome on Ubuntu, by the way.

Re:Show HN: A friend and my CMU Webapps final project by estenh on Sunday December 04, 2011 @03:03PM (#3311613)
Interesting. Should start fairly slow... The idea is to catch notes that are in key (black ones) while avoiding those that are out of key (red ones). I'll try to slow down the blocks a bit to make it easier.
Re:Show HN: A friend and my CMU Webapps final project by StavrosK on Monday December 05, 2011 @07:38AM (#3314350)
I tried it again, but there's another problem: There's about a half second latency between hitting the brick and the sound playing. It makes any sort of association hard...
Re:Show HN: A friend and my CMU Webapps final project by estenh on Monday December 05, 2011 @07:45AM (#3314365)
Is this in Chrome? I've seen that happen in FF, and I'm pretty sure it's just due to the way the API works in that browser.

Not sure what's going on if it's in Chrome. Fairly minimal latency on both my Mac and Windows machine.

Re:Show HN: A friend and my CMU Webapps final project by StavrosK on Monday December 05, 2011 @07:56AM (#3314391)
Yep, Chrome on Ubuntu. Odd...
Re:Show HN: A friend and my CMU Webapps final project by estenh on Sunday December 04, 2011 @03:10PM (#3311638)
Should start a bit slower now, and speed up as you play.
Re:Show HN: A friend and my CMU Webapps final project by StavrosK on Sunday December 04, 2011 @03:23PM (#3311684)
Oh, right, I wasn't avoiding the red ones. It was still too fast, though, hopefully it's better now. I'll test in a bit, thanks!
Re:Show HN: A friend and my CMU Webapps final project by edge17 on Sunday December 04, 2011 @03:32PM (#3311711)
jeff eppinger's class?
Re:Show HN: A friend and my CMU Webapps final project by estenh on Sunday December 04, 2011 @03:41PM (#3311735)
Taught by Anthony Tomasic this semester, but yes.
Re:Show HN: A friend and my CMU Webapps final project by edge17 on Sunday December 04, 2011 @03:55PM (#3311784)
fun class. I took it a few years ago, i remember one team did a 'nethack' style game using photos they'd taken in wean hall (i think they'd done the whole thing the night before). It was pretty funny to sit there while they presented and politely not try to laugh. Of course they thought it'd be humorous, and it was, but at that time the humor for us students was more from sitting in the audience and trying to re-live what must have been going through their heads the night before.