Posted September 21, 2011 | | File under: , ,

The more I learn and understand about the Unix/Linux culture, the more I want to participate in it and to (one day) contribute to it.

Posted September 16, 2011 | | File under: , ,

Finally PASSED the second course in my Unix/Linux program. I had the zone files right and I was running the named service ok without errors in my log files, but I was not including localhost when I ran nslookup so I was getting “host not found”. Needed to run “nslookup fakezone.net localhost”. But I’m done with that now.

Now I get to move on to Unix services which includes Apache. Stoked.

Posted September 7, 2011 | | File under: , ,

Just completed my first real deployment to Heroku. Stoked! Was having trouble with switching from SQLite while in development and PosgreSQL in production. Got that tackled. And then got the rake commands and pg commands on a shared database figured out.

So now I have the source posted in a private repo on GitHub and the app working on Heroku. Heroku really is so simple to deploy once you know even a little about what you’re doing.

Stoked.

Posted August 27, 2011 | | File under: , ,

Posted August 12, 2011 | | File under: ,

Ok. So I have Mongoose and Express.js working together nicely. I can read from, and write to, my little the MongoDB database. Pedro Teixeira at Nodetuts.com is a big help.

The key is to fire up your mongo daemon with the correct –dbpath BEFORE you run “node app.js”. (And when you write “var myModel = new Article();” don’t refer to it later as “mymodel”. They’re not the same variable, dummy.)

Is very fun stuff.

Posted August 9, 2011 | | File under: ,

Had a great time playing Sword & Sworcery EP on the iPhone on the train this morning. I highly recommend it.

Sword & Sworcery EP

Posted July 27, 2011 | | File under:

Without tests or error checking, writing a web application would be much easier and faster. It might be broken and useless, but the actual writing of the thing would be so fast and easy.

Posted July 20, 2011 | | File under: , ,

I love the open source community. Was sitting here thinking “I need my strings in titlecase, it’s a pain to do it myself. I wish underscore had more functions for strings.” And after about 5 seconds of wishing upon a search engine, I find underscore.string for tons of amazing string methods.

“npm install underscore.string”, then “require(‘underscore’)” and “_.mixin(‘underscore.string’)”, and w00t! I’m off and running with a ton of methods on strings like _.titleize(name), which is what I needed initially. Thank you, Esa, Eduard, and team.

Posted July 3, 2011 | | File under: , ,

Installed Node.js, npm, and Express last night and fired up my first Node.js server last night. Was super awesome.

Posted June 30, 2011 | | File under: , ,

bionicbrian.com | About

Creative Commons License