no-espam's comments

no-espam | 14 years ago | on: Mark Zuckerberg married

He's not too smart is he? Married in CA right when the money starts rolling in. HALF! I hope he has a good prenup.

no-espam | 14 years ago | on: Why we moved from NodeJS to Ruby on Rails

#3 I'm not undestanding. Are you doing async? I don't know the socket API but it should be something like this:

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: Goodbye, CouchDB

Being one of those idiots who went all in with MongoDB with our startup, I can relate. NoSQL should really be called NoDB. There will come a point where you ask, "Dude, where is my database?"

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

Sorry, I have to disagree about chiclet keyboards and I consider myself a keyboard Connoisseur and a touch typist. I own a couple of vintage IBM Model M keyboards, a Northgate, a Filco ... I've grown fond of the Apple Keyboards and my better halves and those who work around me thank me for it. Vim + Apple keyboard is coding heaven.

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

And I have used it in a previous project. I'm not questioning the quality of the driver.

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: Node.js - Convincing the boss guide

I use my own migration utility using `psql < 01-up.sql`. Too obvious really.

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

Setting unicode, changing backspace, setting xterm-256 as the TERM variable, etc ... PuTTy configuration is unintuitive when you first try to configure it. There's a well known page dedicated to configuring PuTTy properly on Windows.

no-espam | 14 years ago | on: Secure Shell chrome (killer) app

Windows! I spend most of my time coding in PuTTy + Vim when I'm on windows. In my limited testing this works as I expect with xterm-256, tmux, and Vim on my Ubuntu 12.04 Server without having to configure anything. PuTTy is a pain to configure on a new box.

no-espam | 14 years ago | on: Google Drive

But why? I'm not loyal to Dropbox. Competition is good for the rest of us. I get 25GB free from SkyDrive. I hope the others follow suit.

no-espam | 14 years ago | on: Google Drive

Confusing. It says upgrade to 25GB for less than $2.50/month then it says 20GB for $5.00/year. You would think with Google's budget they would have some person read the front page and the pricing page.

no-espam | 14 years ago | on: Apple to discontinue 17'' Macbook Pro?

I would be happy if they added high resolution/retina displays on the 13" MBP which I still prefer over the air for the simple reason I can replace the SSD and memory.

no-espam | 14 years ago | on: Reform Revolution, a Pinterest clone?

Interesting, I just did a grid layout in Twitter's Bootstrap framework and thumbnails look exactly like that. Looks like Bootstrap thumbnails is a Reform Revolution clone :) Oh wait, this reminds me of Polaroids ...
page 1