997 karma · joined March 16, 2011
Looking for developers to join our team at Captain Up (https://captainup.com/). We do: Ruby, node.js, MongoDB, Redis, iOS, Android, among others. Our game mechanics and engagement platform serves millions of people. Interesting challenges and a good team. Ping me almog@captainup.com
Looking for developers to join our team at Captain Up (https://captainup.com/). We do: Ruby, node.js, MongoDB, Redis, iOS, Android, among others. Our game mechanics and engagement platform serves millions of users. Interesting challenges and a good team. Ping me almog@captainup.com
You got an array of your friends, an array of people who upvoted this post and an array of people who replied to this post. Filter all your friends who upvoted and replied to this post.
Now, before you write the code, how fast/slow will it run? for 1,000 friends? 1,000,000? will the runtime grow extremely fast? why?
Here's a Redis command that intersects two keys - http://redis.io/commands/sinter - the complexity is "O(N*M) worst case where N is the cardinality of the smallest set and M is the number of sets." - do you understand why? do you understand when it will be fast and when will it be slow?
They asked us this questions on our high school final exams, I'm sure you'll manage.
* Express - https://github.com/visionmedia/express - I don't like TJ's coding style, and general trolling of CoffeeScript, but this is a really great, clean and tiny codebase. (As well as all the connect middlewares - https://github.com/senchalabs/connect)
* Async - https://github.com/caolan/async - is very readable. Async is a great library for async ops handling in JS, and it's really neat seeing the implementation patterns.
* Ray - is a games DSL in Ruby - https://github.com/Mon-Ouie/ray - I love it, and it's a great read especially if you are interested in DSLs as much as I do.
* Jekyll - https://github.com/mojombo/jekyll - really helped me going forward with my ruby skills. It's nice, clean, commented, not too big, and useful.
* Redis - https://github.com/antirez/redis - lots of data structure implementations. Antirez just writes C so nicely. anet.c has networking, TCP bits, ae.c is an event loop. Lots of great code there.
"we were supposed to be sharing meaningful content" - What, who decided that's what we are supposed to do?
Edit: There's also an option to edit/disable the extended permissions during the authorization. Docs: https://developers.facebook.com/docs/opengraph/authenticatio... (Permissions section)
StackOverflow is a crazy good system for Q&A. Just like in Wikipedia, the problem is no longer trolls - but bureaucracy and pedanticism of the moderators. People are assholes who like power, and I don't think any q&a software can solve this.
array[i]++ for i in [-1..-array.length]
9gag is pretty popular in Israel[1]. My coworkers (20yo) still read it, but it was all the rage a few months ago, and in a family dinner my 13yo cousin asked me if I know the site. All this indicates the eternal cycle: 'knew them before it was cool' -> mainstream -> 'omg are you still into that?'
Dubstep (recent example) stopped being cool because it went mainstream. Memes will not stop being cool - image macros are the laziest way to get information - but 9gag (unless they do something crazy) will become just a site. Remember the esoteric tumblrs?