Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
heroic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
heroic
14y ago
actually, you can not predict crimes of passion, but planned crimes, well, you definitely can, cant you?
92.
▲
by
heroic
14y ago
this reminds me of person of interest
93.
▲
by
heroic
14y ago
yes i am! the post wasn't done by me though, so "they"
94.
▲
by
heroic
14y ago
just curious, what browser and on what OS are you using? I was able to see the action they say...
95.
▲
by
heroic
14y ago
that is only for olark, this is more of a framework. You get to choose the action you want to take.
96.
▲
When and how to use node.js
(blog.targeterapp.com)
3 points
by
heroic
14y ago
|
0 comments
97.
▲
by
heroic
14y ago
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.
98.
▲
by
heroic
14y ago
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 request
99.
▲
by
heroic
14y ago
you can simply check for the accepts header.
100.
▲
by
heroic
14y ago
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
101.
▲
Apple fined $2.29 million over '4G iPad'
(engadget.com)
2 points
by
heroic
14y ago
|
0 comments
102.
▲
Twitter launches series of web commercials
(youtube.com)
3 points
by
heroic
14y ago
|
0 comments
103.
▲
Twitter hash tags and UTF8
6 points
by
heroic
14y ago
|
2 comments
104.
▲
by
heroic
14y ago
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 elimi
105.
▲
Isoblocks : JS library to create isometric text
(kushagragour.in)
9 points
by
heroic
14y ago
|
1 comments
106.
▲
by
heroic
14y ago
What java service?
107.
▲
by
heroic
14y ago
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,
108.
▲
by
heroic
14y ago
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.
109.
▲
by
heroic
14y ago
There is a project coming up - railwayjs. I hope it changes the way people use nodejs!
110.
▲
by
heroic
14y ago
"Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications." From nodejs.org
111.
▲
by
heroic
14y ago
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.
112.
▲
by
heroic
14y ago
Exactly the point being raised i'd say!
113.
▲
by
heroic
14y ago
The point is that the rack middleware would be called for everything, which is very heavy for something so trivial
114.
▲
by
heroic
14y ago
Shopify is using rails. The thing is rails is bad when there are a whole lot of short life requests. This is what twitter had. The entire rack middleware being loaded for every tweet.
115.
▲
by
heroic
14y ago
I presume it would be something related to capybara, rspec and factory girl.
116.
▲
Why we moved from NodeJS to Ruby on Rails
(blog.targeterapp.com)
239 points
by
heroic
14y ago
|
159 comments
117.
▲
The merits of personalizing Conversion Rate Optimization
(uxready.com)
7 points
by
heroic
14y ago
|
0 comments
118.
▲
by
heroic
14y ago
This is a great task. The world needs more people with the feeling of giving back to society.
119.
▲
Indian drug company slashes crucial medicine prices by 76%
(medicalxpress.com)
170 points
by
heroic
14y ago
|
77 comments
120.
▲
QR codes in art
(yiyinglu.com)
2 points
by
heroic
14y ago
|
1 comments
More ›