no-espam | 14 years ago | on: Mark Zuckerberg married
no-espam's comments
no-espam | 14 years ago | on: Twitter Open Sourced Reputation System Gem for ActiveRecord
no-espam | 14 years ago | on: Why we moved from NodeJS to Ruby on Rails
it("should wait for socket", function(done) { socket.write("asdfadf", function(err, response) { assert.ok(response.indexOf('token') >= ); done() ); });
#4 If you need a new event loop then write the tests in another module, then simply run your test utility. `mocha` will run all tests in test/*test.js.
RSpec is DOG SLOW! I can run 100s of test in a couple of seconds. Can RSpec even startup in that time?
no-espam | 14 years ago | on: HTML9 Responsive Boilerstrap JS
no-espam | 14 years ago | on: Goodbye, CouchDB
Riak looks interesting but its overkill. They recommend at least three nodes. We went back to PostgreSQL.
no-espam | 14 years ago | on: Dell Announces A Linux Laptop Designed For Developers
I do agree the ThinkPad keyboards were the best in its class.
no-espam | 14 years ago | on: MongoDB Driver Now Includes Hadoop MapReduce & Node.js Support
My point is the inconsistency of the driver API vs the syntax used in the `mongo` utility. I don't know how many times I've looked at the MongoDB docs and then have to figure how to do the same thing with this driver.
no-espam | 14 years ago | on: MongoDB Driver Now Includes Hadoop MapReduce & Node.js Support
no-espam | 14 years ago | on: IOS app success is a lottery: 60% (or more) of developers don't break even
no-espam | 14 years ago | on: Node.js - Convincing the boss guide
Yes Rails does all that for you automagically but you can use a lightweight ORM like FastLegS. A model is as simple as this:
UserDao = FastLegs.Base.extend({ tableName: "users", primaryKey: "id" });
To expose it:
app.get("/user/:id", function(req, res) { UserDao.find(req.params.id, function(err, result) { res.json(result.rows[0]); }); });
Let's not forget about unit tests. I can run well over 100 test cases in just over ONE second! Rails is PAINFULLY slow at this.
I've done enough Rails to know how productive it is, and there are many things I miss. I'll argue though I'm more productive with node.js since we do most GUI with Backbone on the client. I can share code between client and server, for example validations.
no-espam | 14 years ago | on: Secure Shell chrome (killer) app
no-espam | 14 years ago | on: Secure Shell chrome (killer) app
no-espam | 14 years ago | on: Secure Shell chrome (killer) app
no-espam | 14 years ago | on: Google Drive
no-espam | 14 years ago | on: Google Drive
no-espam | 14 years ago | on: Apple to discontinue 17'' Macbook Pro?
no-espam | 14 years ago | on: Apple to discontinue 17'' Macbook Pro?
no-espam | 14 years ago | on: University of Florida shutting down research in Computer Science department
no-espam | 14 years ago | on: Reform Revolution, a Pinterest clone?
no-espam | 14 years ago | on: How to Divide any number By 9, 90, 900 and so on in just 5 seconds