HNHacker News
TopNewBestAskShowJobs

ericz

2,093 karma · joined May 7, 2010

submissionscomments
ericz··on Hacker holds alleged Romney tax returns ransom for $1M in Bitcoins
Well, this is one way to make bitcoins look seedy and give a negative impression to politicians and the mainstream.

But on the other hand, kind of bad ass.

ericz··on Once a somebody, now a nobody: Starcraft 2 has destroyed my life
Guys this is obviously fake.
ericz··on Show HN: SendRail - Easy P2P File Transfer From The Desktop
I love seeing apps that replace what we misuse email for -- e.g. sending files to a friend -- and looks like you guys have that spot on. The biggest issue with other solutions is that they grow to a point where it's no longer easier than just emailing the file. Hopefully you guys don't outgrow the ease of use!
ericz··on Browserver: a node.js HTTP server, in your browser
I find this title rather misleading. There is no node.js HTTP server in your browser. Meaning, you cannot do anything that is part of Node.js in the browser "server"

The browser is still running its original js engine with none of the Node goodies. It merely receives proxied requests, does some stuff to it, then sends it back to the proxy, which returns it to the client.

ericz··on Scaling node.js to 100k concurrent connections
Before everyone gets excited about these big numbers, I would like to remind you that even higher concurrency can be achieved with even lower CPU and memory usage using Erlang. These numbers are good for Node, but don't use this as evidence that Node is magical and much better at handling large numbers of connections than other systems.
ericz··on BinaryJS, Streaming realtime binary data to your web browser
I'm glad you asked! BinaryPack is actually a extended version of msgpack. Specifically msgpack doesn't differentiate between binary and string types. This is fine for most dynamic languages as "strings" can hold both string and binary data. However Javascript has very distinct binary types and thus we need separate types within the serialization format.
ericz··on BinaryJS, Streaming realtime binary data to your web browser
My bad! Added to all the repos.
ericz··on BinaryJS, Streaming realtime binary data to your web browser
It was a problem with feature detection method. Fixed, tested, committed, tagged, pushed, deployed!
ericz··on BinaryJS, Streaming realtime binary data to your web browser
I felt that it'd be helpful to allow people to send any JSON type rather than just binary data. You can actually write Javascript objects, arrays, strings, and numbers to any stream or stream metadata in addition to binary. By using it as part of wire protocol it only adds exactly one byte to each message, so why not.
ericz··on Announcing K9 Ventures II – A $40M technology-focused micro-VC fund
Congrats Manu!
ericz··on Show HN: Realtime collaborative heatmap hack for you to click
Quick notes:

When there is a lot of realtime clicking it'll get laggy because the heatmap redraws with new data. Sorry about that!

If the page in the Iframe has some kind of redirect, it'll redirect the entire page so just wait 60 seconds for the page to change.

Other than that, have fun!

ericz··on PSA: Everyone on Google+ now has unlimited invites
If you don't have a friend on + yet, email me and I'll invite you.
ericz··on SVG vs Canvas, what format to choose?
What a pleasant and unbiased article
ericz··on What happens to all the Asian-American overachievers when the test-taking ends?
"Asian populations at the Ivy League are ~25%+ (nearly or more than 30% at Stanford and MIT)"

This is simply not correct. If you find yourself saying something like "nearly or more than" after a number with as little precision as 30%, then please don't use it as evidence

ericz··on Waterbear - a visual language for Javacript
Try adding

     -webkit-user-select: none;
     -khtml-user-select: none;
     -moz-user-select: none;
     -o-user-select: none;
     user-select: none;
So text in the blocks can't be selected
ericz··on Try Node.js for 2¢ or less in ~2 minutes
The posts targets users not familiar with nix systems as well. Often times, it's not as simple as ./configure && make. There are dependencies that need to be satisfied and PATHs that need to be configured (depending on your distro). That was a huge headache for us when we first setup production servers on EC2.

I understand that it may seem silly to setup an EC2 account when the accustomed nix user can install Node much more easily, but hey, who doesn't like a year of free dedicated hosting thanks to Amazon?

ericz··on Try Node.js for 2¢ or less in ~2 minutes
For me the reason is two fold. Sharing the hacks I build is easier when I don't have to deal with NAT. Secondly, for some environments, like the default Amazon Linux AMI the default packages and PATH makes it a huge hassle to compile/install Node. This AMI was born out of our own frustration with that process which I'm sure affects Linux distros other than just the Amazon Linux one.

EDIT: Removed lingo abuse.

ericz··on At work? Try this Hacker News homepage inspired by Node [SFW]
Fixed =]
ericz··on At work? Try this Hacker News homepage inspired by Node [SFW]
Here's the Github: https://github.com/ericz/CodeHN
ericz··on Looking to master Node.js? We are hiring for three paid Node.js internships
Hey thiagofm, if you're interested, I also have an opportunity for you. Email me @ eric/nowjs.com
ericz··on Amazon EC2 Dedicated Instances
I don't see how this makes sense for Amazon.

The $10/hr charge seems to be a flat rate no matter how many dedicated instances you have in the region. Thus I can start 10000 "small" instances and pay pennies per hour + $10/10000. Surely a small instance does not cover the cost of an entire physical machine.

This seems like an economical way to DoS EC2

ericz··on [dead]
This is a completely useless article. The only evidence presented is that YouTube is altering view counts is "One CNS News reader reported the likes to be at 838 on March 23." The rest of the article just describes what the rest of the internet already knows: View counts are not updated in real-time and are subject to scrutiny by spam checkers.

Seriously, there is no evidence from anywhere in this article. Their quote from YouTube offers a clear explanation of what is going on. Followed by: "Both CNS News and Alex Jones' Infowars.com suspects that there is more to it then just “standard policy”. Neither what it is that they suspect, nor why they suspect it (other than trying to make it look like they're being censored) is mentioned.

ericz··on Chat Room In 10 Lines of JavaScript
http://apps.ycombinator.com/item?id=2316005
ericz··on How To: Native iOS apps in Javascript
Also, webkit's multitouch gesture support is rather terrible compared to the iOS SDK's. Rotation and zoom with multi-touch worked, but was obviously not native to anyone who used iOS devices on a regular basis. Expect jumpiness, rotation about incorrect axis and similar hair pulling bugs.
ericz··on How To: Native iOS apps in Javascript
Bad title but the article is incredibly important for anyone building a mobile website targeted at iOS. The included techniques are inexplicably difficult to find, and even in Apple's own documentation.
ericz··on Introducing NowJS or "How to make a chat server in 12 lines of code"
In the typical node pattern, errors should be sent as part of the callback for asynchronous IO. For exceptions, a "throw" statement will not be automatically propagated to the other client, best practice is to catch the errors and call a client side function in that case. Exception handling will be improved in the future.
ericz··on Introducing NowJS or "How to make a chat server in 12 lines of code"
Awesome. I'm looking into this for next release
ericz··on Introducing NowJS or "How to make a chat server in 12 lines of code"
Hey substack,

The implicit callback is definitely my least favorite part in building NowJS. You can still pass in an additional callback to do any asynchronous I/O. We're trying to find ways to make this experience better for the next version

ericz··on Video: 24 year-old Steve Jobs prepping for his first TV appearance (1978)
I am not used to seeing Jobs express so much emotion
ericz··on Woot's take on affiliate marketing
The cool landing page really gets killed by the unfortunately drab commission junction page
← PreviousPage 2 of 5Next →