HNHacker News
TopNewBestAskShowJobs

heroic

764 karma · joined May 28, 2011

submissionscomments
heroic··on Are mobile web apps really slow?
A lot of your article goes on to talk about development time speed up. The original article discussed performance where it is critical, like a game. You can't have compensate on performance even if it comes at the price of higher development time.
heroic··on LinkedIn suffers DNS hijack
I guess because it's not twitter!
heroic··on Knapsack problem
I and a colleague used Knapsack algorithm for a very interesting use case. You can find it here https://github.com/heroic/Rucksack
heroic··on Tearable Cloth Simulation in JavaScript
it makes for a great stress buster, imo
heroic··on Reddit is currently experiencing a malicious DDoS attack
how is adding things like caches adding a CDN?
heroic··on Geocities Bootstrap Theme
This is what internet should look like again!
heroic··on Worst CAPTCHA Ever
Beats this! http://www.hmv-news.co.uk/register.php
heroic··on I Can Detect Your Facebook Username, Using W3C Standard
LOL, i entered my handle and it says I am not my handle!
heroic··on Aggressive negative advertising by Microsoft against Google.
What I dont get is, how is a software scanning my email creepy? As it everyone scans every bloody email to seek out spam. Spam filters already use "known" spam styles to check for potential spam messages.

In this case they are scanning to show you ads. Pardon me if I am missing something, but I really don't understand wtf is wrong with people calling this creepy.

heroic··on Ask HN: How are you dealing with scraping hits from EC2 machines?
Use this : http://wiki.nginx.org/HttpLimitReqModule
heroic··on How I confirm mobile numbers with Android
Thanks!
heroic··on How I confirm mobile numbers with Android
Hey! you can buy a toll free number, or a number in different countries for your users.
heroic··on Show HN: We got tired of asking 'What browser are you using?' and created this
Firefox on mac shows me this :P

https://dl.dropbox.com/u/14534468/Screen%20Shot%202012-09-10...

heroic··on [dead]
The 1 instead of ! in the title
heroic··on Sci-fi policing: L.A. police predicting crime before it occurs
actually, you can not predict crimes of passion, but planned crimes, well, you definitely can, cant you?
heroic··on Sci-fi policing: L.A. police predicting crime before it occurs
this reminds me of person of interest
heroic··on Behavioral Targeting 101
yes i am! the post wasn't done by me though, so "they"
heroic··on Behavioral Targeting 101
just curious, what browser and on what OS are you using? I was able to see the action they say...
heroic··on Behavioral Targeting 101
that is only for olark, this is more of a framework. You get to choose the action you want to take.
heroic··on Blazing fast node.js: performance tips from LinkedIn
It is because Java is like PHP. it is synchronous. If your app is doing a lot of non-cpu stuff, it makes complete sense to use an async programming model.
heroic··on Blazing fast node.js: performance tips from LinkedIn
The reason it is advised to not load static files via Node.js is that nodejs is a single thread process, and static files will hold up this thread. Nginx on the other hand, is multithreaded, and can continue serving other assets and requests while the statics are being served.
heroic··on Blazing fast node.js: performance tips from LinkedIn
you can simply check for the accepts header.
heroic··on Blazing fast node.js: performance tips from LinkedIn
Another tip for people using express is to not use middleware that is not needed in every request. You can specify special middleware for every path. So you can even split session usage only on pages that need it. Similarily, cookie parsing, etc can be avoided where not needed.
heroic··on Open Source Chat Server in Node.js with dynamic rooms
A very fine way is to have multiple processes and connect to any at random. Now, use a message queue, say like redis, or rabbit mq to read messages and delete from queue. Since a client is only connected to only one of the servers, it eliminates the chances of sending the same message more than once to the same client. This helps in splitting the incoming messages and the outgoing(which is usually far bigger, since one message is delivered to all others in a chat room).
heroic··on Why we moved from NodeJS to Ruby on Rails
What java service?
heroic··on Why we moved from NodeJS to Ruby on Rails
IMO, things like a good ORM(or ODM) are still way too far off in NodeJS. I am aware of mogooseJS, but it is very far from the power provided by ActiveRecord and Mongoid.

Also mocha is powerful, but if you have a look at capybara and rspec, they are much more powerful and friendly.

The final thing in my opinion is the speed of development. With rails you go to devise, and you have authentication. I am aware of the presence of a similar authentication system for nodeJS but I am not very sure if that works with mongoose js and is as extensible as devise is. And then there is the rails console, which makes trying out things real easy and fun.

heroic··on Why we moved from NodeJS to Ruby on Rails
Actually since the app was developed at startup weekend which gives you 54 hours to make a presentable demo, I'd say testing was not the first thing on their mind.
heroic··on Why we moved from NodeJS to Ruby on Rails
There is a project coming up - railwayjs. I hope it changes the way people use nodejs!
heroic··on Why we moved from NodeJS to Ruby on Rails
"Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications."

From nodejs.org

heroic··on Why we moved from NodeJS to Ruby on Rails
First thing is that NodeJS is not a JS engine, V8 is. Second, http://notinventedhe.re/on/2011-7-26. That is from http://nodejs.org/community/ which makes the terms quite right, i'd say.
← PreviousPage 3 of 4Next →