Nathan Reid     About     Archive     Feed

Life, Software, and the Pursuit of Everything

CSS Modules for Meteor

CSS Modules for Meteor

tl;dr: CSS modules are awesome - get the package here: nathantreid:css-modules.

CSS is great. It is a very powerful tool for styling web pages, but it has some big issues, such as global scope. This wasn't such a big deal when CSS was created and websites were much smaller and less complex, but now that we have experienced the joy of maintaining large, complex web applications, the trend is towards further separation of components and more modular building blocks.

Continue Reading

This Automated Life Unlock Door With Voice And Arduino

This automated life: unlocking a door with your voice and Arduino

Home automation is another long-time interest of mine. A few months ago, I decided to automate the locking/unlocking of our apartment door. I'd been looking for a good reason to get an Arduino, and this settled it. A quick search online turned up some other peoples experiences doing this, and away I went.

Continue Reading

Ratling Trader - developing a rogue-like game in JavaScript

Ratling Trader - developing a rogue-like game in JavaScript

I love rogue-like games. In my youth, I spent innumerable hours delving in the dungeons of ADOM and NetHack, and for a long time have wanted to create my own rogue-like game. Naturally, the game I have in my head is very expansive, so I've put it off in favor of other projects. However, recently my desire has resurged, and I decided to start with a less ambitious rogue-like.

Continue Reading

Pubsync Client / Server alpha released

Pubsync Client / Server alpha released

In 2012 I created PubSync, an application designed to enable simple, powerful, and efficient publishing of files from one computer to the next. This was driven by issues with Visual Studio's publishing feature, especially the inability to ignore a single sub-directory in both the source and destination as well as performance issues. Pubsync worked well, but had a few limitations I wanted to do away with:

Continue Reading

Why I ditched Entity Framework for NPoco

Why I ditched Entity Framework for NPoco

I used to be a big proponent of the Entity Framework. It made working with databases so easy! I was tired of using DataReaders and DataTables and doing the extra legwork to convert these into strongly-typed objects. Entity Framework solved this so simply by allowing me to create a model from the database that I could then keep in sync. Much of my database work these days is with MySQL, so perhaps the Entity Framework is more reliable with MSSQL, but I found it very frustrating and more difficult to work with than NPoco.

Continue Reading

Setting up this blog

Getting Started

I've been meaning to start a blog for a while now, if for no other reason than to have a place to collect my thoughts. Last night, with my wife's encouragement, I decided to go for it. I was already pretty sure I wanted to run Jekyll - I run Wordpress for my wife, and although it runs well it's a bit too heavy for my tastes. A little more digging into Jekyll and I was sold - simple, speedy sites, written in the text editor of my choice (Sublime!) or even online (Dillinger). The clincher was that I could easily host the site on GitHub for free.

Continue Reading