HNHacker News
TopNewBestAskShowJobs

z8000

513 karma · joined March 23, 2009

submissionscomments
z8000··on Chatroulette + GeoIP + screengrabs = Chatroulette Map
It would quite funny to replace the pins on the map with d*cks for those users showing off their wares.
z8000··on Chatroulette + GeoIP + screengrabs = Chatroulette Map
It would quite funny to replace the pins on the map with d*cks for those users showing off their wares.
z8000··on Ask HN: Using Cassandra instead of MySQL from the start?
You should probably ask this on stackoverflow.com.
z8000··on Jeff Bridges' totally different website
Oh, so that's what became of _why.
z8000··on Inverse graphing calculator
The empty string does not.

http://www.xamuel.com/inverse-graphing-calculator.php?phrase...

But, I have no idea. Perhaps it is a bug wherein a CRLF is being added to the internal string? However, I highly doubt that.

z8000··on Why PuSH (or PubSubHubbub) Could Threaten Twitter
"Blogging Pro"? Right. My unborn child has a better grasp of basic grammar rules. What an annoying thing to read!
z8000··on How MySpace test with 1 Million concurrent users
Isn't 1300 users per box extremely low for a load test?
z8000··on It’s going to take five years - six words that can save your startup
I was going to say "We should hang out" but we would probably tear each other's eyes out.
z8000··on Twitter Drops MySQL For Cassandra
As I write this comment I just know that in 5 years I will look at it and chuckle at myself but... it boggles my mind to consider a pure-RAM system that relies on at least one copy of the dataset being available forever in some system's "memory grid".

http://highscalability.com/are-cloud-based-memory-architectu...

z8000··on Twitter Drops MySQL For Cassandra
Not being snarky here but how can anyone seriously consider Scalaris for any data that's even remotely important?

http://code.google.com/p/scalaris/wiki/FAQ#Is_the_store_pers...?

z8000··on Cherokee Web Server
Cherokee also tries to use HTTP 1.1 keepalive to upstream processes. NGiNX uses HTTP 1.0. I doubt this matters in most use cases however.
z8000··on Node.js, redis, and resque
I thought of this idea the other day and got stuck on how to best push messages to hanging clients in a generic way instead of the simple requestNumber request-response correlation here. I ended up just making it app specific and either generating a unique client ID per hanging connection (a UUID) or using the username of the logged-in human using the hanging client.

Anyway, this is a nice architecture indeed.

However, as a pure proxy, I would think nginx would be more appropriate for its (albeit poor but swappable) load balancing, rate limiting (a 3rd-party module), caching (memcache, redis), and general volume of usage.

In fact, there's the beginnings of a nginx upstream based redis module that supports redis' GET that could be made to RPUSH and BLPOP the result.

FWIW, I'm the author of redis-node-client. It should be noted that Promises were removed in favor of continuations in the latest Node.js on Github and I've updated redis-node-client appropriately. Thus, the sample code in the article is outdated by 2 days or so.

Using LPOP in a polling loop to wait for the response is not that great of an idea. It would be better to use BLPOP or "blocking left pop" which blocks the client connection (think "long polling") until there's something in the given list to pop. It does not waste resources and the results are returned in much less than the worst case (e.g. 100ms here). I haven't added BLPOP to redis-node-client yet though but it should be simple to patch.

To scale this beyond a single frontend, popFromQueue could potentially put the response back via LPUSH when the queuedRes[requestNumber] is nil... "Oops, this wasn't for me, let me put that back." Or, it could/should use something more formal.

Why does the Ruby worker shell out to redis-cli instead of using Ezra's client library?

Finally, "The previous spike..." What does "spike" mean here?

z8000··on Nginx, the little Russian web server taking on the giants
I'm curious why haproxy is in the mix. There's a couple of better balancers for nginx if that's why.
z8000··on The 10 Most Addictive Sounds in the World

    10. Late Night with David Letterman Theme
What?! I watch that show somewhat regularly and doubt that I would recognize it unnamed.
z8000··on Scaling python webapps from 0 to 50 million users - A top-down approach
Wow. I was not expecting to read "paster" nor "mysql" in that presentation!
z8000··on The Right Way to do Wireframes
"Maybe Santa doesn't need help doing Santa's job!"

You are assuming a lot here buddy. Save your preaching for Sunday school.

z8000··on I need to find out how to finish anything I start. Help me. Please.
FWIW I am an INFP and I could have written the same comment as the OP. Last I looked I have over 50 unfinished projects in my personal repository. I tend to be ever watchful of new technologies that might help me finish any one of the projects but all I end up with is a pile of bookmarks and 600+ notes in EverNote. sigh

I have been working on my latest project for over a year, part-time. I tend to fall into the research trap as mentioned by some other posters. That is, once I learn how some giant puzzle of a project would come together I lose interest in the project. I suppose I like figuring out things instead of doing things. I am tired of this.

z8000··on Diesel: Asynchronous I/O library in Python
http://news.ycombinator.com/item?id=839288
z8000··on Show HN: Meet the new Ajax IM (with Node.js)
Have you tried stressing the server with thousands of clients? I'm curious how Node.js holds up and how much RAM it uses per connection without (or with?) major TCP/IP tuning of buffer sizes, Nagle, etc.

I ask because you have no scale-out capability given that all the users are stored in a simple JS object (great for a demo of course). Any plans on this front?

z8000··on Please, Evernote, wake up. I wanted you to win.
Great, thanks for sharing this.
z8000··on Video: Notion Ink Adam, iPad alternative
I didn't think that the MacBook was actually in direct light. In fact from the angles it actually seemed to be shilouetted. The one time I did try to use a MacBook in direct sunlight, I found that turning the brightness off completely sort of worked ok. But then I just got up and moved somewhere else in the shadows.
z8000··on Treasure Map: Rare Coin Dealer Sues Google over Directions to Home
How about this? Don't do business out of your house. Move the precious coins to a safe place instead.

Rule 1 about being pissed off that someone told someone else something about you that you didn't want disclosed: do NOT make a big deal out of it. It just draws more unwanted attention.

z8000··on Video: Notion Ink Adam, iPad alternative
The swivel camera is a good idea.

It's tough to really love the thing without more information.

Oh, I love the comparison in sunlight to a macbook ... whose brightness was clearly turned down quite a bit.

z8000··on Please, Evernote, wake up. I wanted you to win.
I use Notational Velocity and store the notes as markdown-formatted text files in a Dropbox folder. I can render them to HTML as needed for "pretty" viewing.
z8000··on Please, Evernote, wake up. I wanted you to win.
A first-year CS undergrad student can write an editor with better formatting than Evernote on OS X. I don't mean to be snarky but it's terrible to see EN have so much potential only to be excruciating to use.
z8000··on Please, Evernote, wake up. I wanted you to win.
From someone knee-deep in the iPhone world but with zero experience in the Android world, could you perhaps let me/us know how many downloads and/or unique users a "#1 note app on Android" equates to? I'm genuinely quite curious if it is worth my time to get into Android and well, the more data points on usage numbers the better! Thanks.
z8000··on Glitch: Flickr’s Stewart Butterfield Explains His Ambitious Online Game
How would Unity integrate with Facebook, and send SMS messages?
z8000··on Ask HN: Gmail alternatives?
It would be great if you created a Linode StackScript. This would allow anyone to replicate your configuration on their own Linode easily.
z8000··on Why nobody talks about Lua
Sounds great. I can help if you want help. Is your project hosted somewhere?
z8000··on Why MongoDB thinks single server durability is overvalued
I have some concerns about MongoDB and since it gets such good reviews from a lot of people, I think I am either making a big deal out of nothing or everyone else is crazy.

I wrote up some comments elsewhere but this thread is more populated with people _using_ mongo in production.

Elsewhere = http://news.ycombinator.com/item?id=1110366

Page 1 of 7Next →