Updated DIY LED Lights with Node.js and Backbone.js!

author image
By Ben Radler

Update!

When I originally open sourced Colorpicker, it was a beautiful MVP based on some really nasty legacy code.

I haven't had the time to focus on this project extensively, but over the last year I've made a lot of important improvements and wanted to discuss them briefly in this forum.

I still have several longer term goals for this project, such as eliminating the need for the Arduino entirely so that anyone can run the client on any computer (with an emphasis on low-memory and disk space cases for usage with a Raspberry Pi, Beaglebone, or other cheap computer).

I'm going to cover six new features added, but there are many more improvements I've made that you can see more about on Github.

Gratuitous Video Demo

 

Continue Reading

Sensible Development Dotfiles

author image
By Ben Radler

My Dotfiles repo contains a sensible set of vim, fish, zsh, git, and tmux configuration files that work well for my development workflow (thanks mdp!).

These are a wonderful way to keep track of the plethora of configuration files that you'll undoubtedly set up while working as a developer, and quickly install them on another machine. Nothing like having your environments on your home and work boxes be the same!

Continue Reading

Where I've Been Since November 2014 (aka Breaking Your Femur 101)

author image
By Ben Radler

The Accident

On November 17, 2014 at around 9:30AM, I was involved in a bicycle accident at the intersection of 3rd Street and Market Street in San Francisco. I was traveling northbound on Market Street at around 10 miles per hour as I entered the intersection on a solid green light.

There was a man standing in the middle of market street, and at the very last moment, he stepped directly in front me. I collided with him handlebars-to-chest, and immediately fell to my right side. Despite over 20 years of bicycling, I went against my instinct and stiffened up and put my hand down to my side. My hand and wrist broke much of my fall, and I put a hairline fracture in the scaphoid bone in my right wrist.

Continue Reading

NPM and Nodemon install errors

author image
By Ben Radler

Having trouble getting packages installed in NPM? Getting an error that looks like this??

~ npm install -g nodemon
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "nodemon"
npm ERR! node v0.10.32
npm ERR! npm  v2.0.0
npm ERR! path /Users/me/.nvm/v0.10.32/lib/node_modules/nodemon/node_modules/update-notifier/node_modules/configstore/node_modules/mkdirp/package.json
npm ERR! code ENOENT
npm ERR! errno 34

npm ERR! ENOENT, open '/Users/me/.nvm/v0.10.32/lib/node_modules/nodemon/node_modules/update-notifier/node_modules/configstore/node_modules/mkdirp/package.json'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <http://github.com/npm/npm/issues>
~ which npm
/usr/local/bin/npm
~ node -v
v0.10.32
~ which node
/Users/me/.nvm/v0.10.32/bin/node
~ cd ~/Code/onelogin/search

The solution is simple.

Continue Reading

Awesome Git Configuration, Shortcuts, and Aliases

author image
By Ben Radler

Introduction

When working with Git, and software in general, the most important thing for me is that the act of using the application blends seamlessly into my workflow. It should feel natural, simple, and shouldn't slow you down.

I've worked with Git for a few years now, and like all things, I've kept track of my favorite tweaks and configurations. I'd like to share a few of the most awesome Git shortcuts I use on a daily basis.

Continue Reading

© 2024 benradler.com. I love you.