Addictedtonew - addictedtonew.com
General Information:
Latest News:
JavaScript Array Max and Equal Height Columns 13 Feb 2009 | 12:00 am
JavaScript has a Math.max function that allows you get the maximum between two numbers. That is cool, and all, but I rarely want to compare two numbers. More often, I’m looking for the maximum number ...
Logging for the Lazy 12 Feb 2009 | 11:24 am
They say that laziness is a virtue in programmers. That is a good sign for me as I am the laziest of them all. When debugging JavaScript in Firefox or Safari, I use console.log all the time. There are...
Creating a Network Bar with jQuery 24 Jan 2009 | 05:17 am
Network bars are making the rounds on a lot of sites. If you aren’t familiar with the term, it is usually a bar at the top of a site with links to other sites that are in the same network. Brandon, on...
New Blog about Blogging 13 Jan 2009 | 04:12 am
I have spent a lot of time over the past few months growing RailsTips, one of my other blogs. From October to December, I doubled my traffic and almost doubled my feed subscribers (16k to 30k and 2.5k...
Refactoring Tip: Move Functions into Objects 16 Dec 2008 | 05:22 pm
On the last project that I worked on, we were spending a lot of time learning and the code started to get out of control. Towards the end, I made a few passes through and started moving stuff around. ...
Refactoring Tip: Introduce Explaning Variables 25 Nov 2008 | 06:38 am
I am not one to latch on to fancily named patterns, nor have I read the book on it (I did give it a skim). That said, I have managed to learn a few and today I’ll share one of my favorites. You often ...
Creating A jQuery Plugin From Scratch 21 Nov 2008 | 07:19 am
The first few jQuery plugins I created were basically my attempt at doing prototype in jQuery. They were not idiomatic jQuery. I did a bit of googling and found some good examples and decided to write...
An Idea Idea 12 Nov 2008 | 11:08 am
I have a lot of ideas lately. I think the main reason I have had so many is because I have been trying to come up with ideas. Contrary to popular belief, ideas do not spring out of nowhere. Idea gener...
4 Weight Lifting Tips 1 Nov 2008 | 03:05 pm
I started lifting weights again and it feels great. I have lifted weights off and on since college and have picked up a few things that I thought I would share. 1. Negative Can Be Positive In order ...
Do It For Mom 31 Oct 2008 | 04:02 pm
Mom. Mom. Mom. Moooom. Mooooooooom. Mom, mom, mom. Remember those days? Remember when you only cared what mom thought of what you were doing? Those were the good days. Then, out of nowhere, you are no...