Favorite Music of 2008

Thursday, January 01, 2009

Thinking back over all the new music I discovered this past year, I’ve compiled a list of my favorite albums (in no particular order). Not all of these were released in the past year, it’s just that I’ve discovered them in the past year.  They’re are amazing albums I can listen to over and over again.  If you haven’t heard anything on this list, go get it right now!

There’s links to download music after the jump, and there’s even some free stuff too!

Read more...
Posted by Chris Barr on 01/01 at 02:05 AM
Filed under General, Music0 Comments

How to use the YUI compressor

Saturday, December 13, 2008

Compressing your javascript and CSS is a easy way to save bandwidth and make a site’s download and performance feel a bit snappier. There’s lots of tools to allow you to do this, but from my research it seems that Yahoo!‘s YUI compressor is the overall best.  Sure there’s others out there like JSmin and Dean Edward’s packer, but YUI offers a higher compression ratio, it also works with CSS files, and it’ won’t obfuscate your code.

Compressors work by removing all comments and whitespace (line breaks), and in some cases they will actually analyze your code and shrink variable names.  Using compression can result in up to a 60% decrease in file size!  So lets get started in learning how to use the YUI compressor!

Read more...
Posted by Chris Barr on 12/13 at 11:52 PM
Filed under General, Web, Code, Javascript2 Comments

Textarea resizer for Mootools 1.2

Saturday, December 06, 2008

A long time ago I wrote a small plugin for Mootools to resize textareas on the fly, which I simply called Textarea resizer.  It was only compatible with Mootools 1.11, and since then Mootools 1.2 has been released and I’ve switched to jQuery for all the stuff I do.

Someone over at ljpilon.nl emailed me to let me know they re-wrote my plugin for Mootools 1.2 compatibility!  You can find it over at their site at: http://ljpilon.nl/mootools/2008/12/03/textarea-resizer-for-mootools-12/

Posted by Chris Barr on 12/06 at 03:32 PM
Filed under Web, Code, Javascript0 Comments

Broken Lens?

Wednesday, November 26, 2008

Broken Lens?

Last night I was asked to take some pictures fo a special music event at Seven22. Right before everything started I was setting up my equipment and the glass completely fell out of my Nikkor 18-135mm lens! I needed this lens to shoot with tonight, and everything was starting in about 5 minutes, so my quick fix was to just screw on my UV filter on top of the glass to hold it in place. That seemed to work fine as a temporary solution and the pictures turned out alright, but clearly this isn't a permanent solution!

I decided to inspect things closer, and it turns out that this glass is actually threaded inside the lens casing. Somehow from all kinds of screwing and unscrewing of lens filters and hoods, this must have loosened the threading on the glass. I carefully put everything back together and screwed it back in using a microfiber cloth. Everything seems to be back to normal. What a relief!

Posted by Chris Barr on 11/26 at 09:08 PM
Filed under General, Photography0 Comments

Adding Table Rows With jQuery

Saturday, November 22, 2008

Recently I needed a way to click a button and add a new row to a table with an animation using jQuery for people to add new data for a section. Simple right? Well I set up my table with a blank row at the bottom that I hid with CSS, and then when I press a button it clones that row it and puts it at the top with a .slideDown() animation. Here's the code I used:

$("#addRow").click(function(){
	$("#blankRow").clone().prependTo("#myTable tbody").removeAttr("id").slideDown(500);
});

Looks pretty straightforward right? Well it works, but it doesn't seem to render correctly. Here's a demo of this in action to see what I mean.

Turns out that for most jQuery animations when they complete, the display CSS property is set to display:block;. Normally that's all fine and good, but a table row has to be set to display:table-row;. I can't edit how that animation finishes since it's part of jQuery, so now what?

View a Demo

View the Code

Download It!

Well someone on the jQuery Google Group had the great idea to just fill each table cell with a <div>, put all the contents I needed in there, and simply apply the .slideDown() animations to that <div> since by default they are set to display:block; anyway. Brilliant! Basically we never animate the table row itself, only the elements inside it.

I put together a pretty full featured demo with some other cool jQuery tricks I've been learning recently, so take a look and I hope this will help someone else out.

Posted by Chris Barr on 11/22 at 06:24 PM
Filed under Projects, Web, Code, Javascript0 Comments

Pizza Dip

Sunday, October 19, 2008

I'm about to head out for a get together at church, and we're all supposed to bring something to eat. Before I go, I just wanted to share my recipe for pizza dip.

I signed up for yet one more social network, Open Source Food, which is basically a recipe sharing site. View my profile here.

Posted by Chris Barr on 10/19 at 04:40 PM
Filed under Food0 Comments

Things I’ve Grown to Like

Sunday, October 05, 2008

Wow, several months since my last entry, so it's about time I wrote something here.

I've moved to Pensacola and I've had lots of new things to do and try since my move. This is a list of those things and why I like them.
I'll be talking about:

  • jQuery
  • Podcasts & Audio Books
  • Twitter
  • Tea

Click the jump to read more.

Read more...
Posted by Chris Barr on 10/05 at 07:41 PM
Filed under General3 Comments

Checking out Evernote

Thursday, July 10, 2008

Today I decided to finally sign up for Evernote since it's finally out of private beta. Basically it's a way to organize and keep all kinds of things you come across all day. There's a desktop app as well as a web app that allows you to add a new note to evernote. The feature I'll probably use the most is mobile uploads where I can take a picture of soemthing and upload it right to the site via MMS on my phone. Evernote will even do some OCR on images and try and pull out text it see's in the images. Incredibly useful.

http://evernote.com

Check out this video with a demo:

Watch in high quality

Posted by Chris Barr on 07/10 at 08:30 PM
Filed under Web, Productivity0 Comments

Relocation

Thursday, July 03, 2008

It’s been a while since my last post, and that’s due to life being crazy!  Derek got married and I was in the wedding, and I quit my job at CYber SYtes because I got a better offer from AppRiver.  Taking this job unfortunately meant for me that I had to move to Pensacola!

I’m all moved into my apartment here finally, and I’ve got some photos of my new place up now.

Posted by Chris Barr on 07/03 at 08:10 AM
Filed under General, Photography

Science Machine

Tuesday, June 03, 2008

Check out this video from Chad Pugh. He spent 40 hours in Illustrator and took a screenshot every 5 seconds while creating this amazing drawing he calls "Science Machine."

You can view the full length 18 minute "director's cut", or buy the print online.

Music by Portishead.

Posted by Chris Barr on 06/03 at 10:20 PM
Filed under Design, Music, Video/Motion Graphics2 Comments
Page 1 of 5 pages  1 2 3 >  Last »