HNHacker News
TopNewBestAskShowJobs

V1

128 karma · joined April 11, 2011

submissionscomments
V1··on Multitun – Tunnel arbitrary traffic through an innocuous WebSocket
To bad that networks/proxies usually block websocket connections causing this solution to fail.
V1··on Introducing Socket.io 1.0
You could also just use Primus which exposes a Stream compatible wrapper by default for the client and server.

https://github.com/primus/primus

(Primus uses engine.io,sockjs,browserchannel,websockets internally so you're no longer locked into a specific framework)

V1··on Balancer Battle – Load testing HAproxy, Nginx and HTTP-Proxy's WebSocket support
Even Google is using it ;)
V1··on Balancer Battle – Load testing HAproxy, Nginx and HTTP-Proxy's WebSocket support
Thanks for you feedback, I did do some testing with multiple backends (4 different servers) but it didn't show any substantial changes. I'll see if I can do some in depth in a while.
V1··on Balancer Battle – Load testing HAproxy, Nginx and HTTP-Proxy's WebSocket support
I'll be more then happy to see if my configurations can be tweaked. And I was surprised as well, but it seems that it always boils down to the configuration files a small change can sometimes yield great results as seen with a specifying ciphers for SSL.
V1··on Balancer Battle – Load testing HAproxy, Nginx and HTTP-Proxy's WebSocket support
It's not a `local` server. The proxy, websocket server and the benchmark utility are all on different servers.
V1··on Balancer Battle – Load testing HAproxy, Nginx and HTTP-Proxy's WebSocket support
The `http-server-close` option did not change anything. But by adding the ciphers it was able to squeeze out the same performance as Nginx. I'll update the tests accordingly. Thanks for the heads up!.
V1··on Balancer Battle – Load testing HAproxy, Nginx and HTTP-Proxy's WebSocket support
hipache is build on top of http-proxy. That's why I haven't included it in the tests. They have seem to have switched to a fork of http-proxy but there aren't big (if any) performance modifications as far as i've seen from the commits.
V1··on Balancer Battle – Load testing HAproxy, Nginx and HTTP-Proxy's WebSocket support
I'll re-run the test with the advised changes and see if the performance improves.
V1··on Balancer Battle – Load testing HAproxy, Nginx and HTTP-Proxy's WebSocket support
Because we people obviously don't have a datacenter in our own basement. And the common mistake people make when benchmarking is running the servers on their own machine and then use the same machine to benchmark the server it's running.

You need to have multiple (powerful) machines for this. And also, spinning up machines in the cloud is quite easy to do and allows people to reproduce the same test results because you have access to exactly the same environment.

V1··on Balancer Battle – Load testing HAproxy, Nginx and HTTP-Proxy's WebSocket support
Are you referring to the cipher verification? I used:

  openssl s_client -host localhost -port 8082
Which is a openssl command. These settings were used for testing SSL: https://github.com/observing/balancerbattle/blob/master/ngin...

See https://gist.github.com/3rd-Eden/5345018 for the output of the openssl s_client for those ciphers. You'll see that `cipher : RC4-SHA` is used here. Which is one of the fastest if not the fastest cipher available.

V1··on Tern – Intelligent JavaScript editing
Backed. Like everybody who touches JavaScript should do. Also. mmmm finally decent vim bindings for javascript?

I do wonder how it will compare to Eclipse Orion's JavaScript content assist which is using Esprima as parser.

http://contraptionsforprogramming.blogspot.nl/2012/02/better...

V1··on All Node.js servers are vulnerable to DoS
you can just as easily spawn multiple node.js servers and kill off the unresponsive one's
V1··on Node.js has a new website
Great! Now everybody who wants to have information about Node.js has to scroll a shit load down and search for an oddly placed menubar on the right side..

Because who would expect a menubar with vital information such as docs above the fold?

But at least it's more visually attractive then the last version.

V1··on CouchDB, package managers, and npm
Socketpuppet #13242 reporting for duty sir.

It's great preso btw, did it get recorded?

V1··on Startup Ideas We'd Be Willing To Pay For
Hi,

Could you describe was buggy about the demo? Did it load really slow or was it something else :)?

I'm currently working really hard on the commercial version of Observer which will be much more speedy less hacked up. So any feedback is still more than welcome at this point :D

Thanks,

Arnout (developer of Observer :D)

V1··on Hiding the web, one page at a time
Lazy load it.

It's not the thing that users will be doing when they first load you page anyways.

V1··on "Hello World" in Dart, compiled to JavaScript
Google Dart was designed to build large scale web applications, yet all their demos and example code only includes small applications. That still require quite a lot of code to build.

I don't see any profit of building a application in dart, if you have to create more code your self than you would with a regular HTML5 based application.

As this "Hello World" demo shows, the only thing It's good at is creating bloat and this will probably stay this way until native parsers are implemented.

V1··on Second Dutch HN Meetup Thursday 2011-09-29 Utrecht, The Netherlands
\o/
V1··on Node Knockout Leaderboard
Thanks, glad you liked it! I managed to pull it off thanks to a lot of planning.

Btw I won solo / overall (and also became first in utility) :)!

V1··on Node Knockout Winners
Hi,

I am going to continue working on it, the service still needs a lot of polish and tests (didn't have time to write those yet). It's most likely going to be paid service based on the amount recorded sessions. Or I'm going for a amazon based pricing module where you only pay for the sessions you record. I haven't decided on that yet, both models have it's pro's and cons.

If for some reason my attempt fails, I'll be open sourcing the complete service but I hope that never has to happen. But all the modules that I will be building during the development of the service will be open sourced, the glue that sticks it together won't ;)

V1··on Node Knockout Winners
It's probably because Chromium is shipping with a different WebSocket specification which isn't supported on some hosting providers yet.
V1··on Node Knockout Winners
Thanks, Glad you liked my entry. I personally think that Node's sweet spot is more real time than analytics. Analytics is just one of the things people want, in real time ;D
V1··on Observer (Node.js KO 2011) - Observe and learn from your visitors in real time
Yes I noticed that as well, but I found that the name observer really suited this service. But I'm still searching for alternate names to avoid potential confusion.
V1··on Observer (Node.js KO 2011) - Observe and learn from your visitors in real time
Yes I plan to continue development of this application after the competition, there are still some rough edges that needs to be fixed. So I see this a great working prototype to iterate on.

I still have some amazing ideas planned :)

V1··on Observer (Node.js KO 2011) - Observe and learn from your visitors in real time
My apologies for that, My Node Knock Out entry wasn't really expecting that much traffic :p
V1··on Observer (Node.js KO 2011) - Observe and learn from your visitors in real time
Hey,

Thanks for pointing out my grammer mistakes. English isn't my native language so I was hoping that vim's build in spelling check would fix most of the issues.

I have corrected the spelling mistakes and they should appear online soon when the cache expires. (luckily I decided to build in a small mongodb driven cms during the contest so I could fix these silly mistakes)

V1··on Observer (Node.js KO 2011) - Observe and learn from your visitors in real time
Thanks a lot for the information.
V1··on Observer (Node.js KO 2011) - Observe and learn from your visitors in real time
I'm currently experiencing some scalability issues as you might have noticed. The machine I deployed on is limited to 128mb. But Joyent is actively resolving it.

You can try going to http://observer.no.de/sign-in to sign in again and see if that resolves your issues.

If not just create a new account :p

V1··on Node Knockout Leaderboard
I created http://observer.no.de/ as solo entry for NodeKnockout. It allows you to follow your site's users in real time (or watch a automatically generated recording of it). You can see the mouse movements, scrolls, clicks , JavaScript errors and much more (if you are following them in real time you can also start chat conversation with them :))

See demo: http://observer.no.de/demo Votes: http://nodeknockout.com/teams/speedo

<3 It was an epic competition