Download Firefox 3 Today!

You will probably hear this elsewhere also. But, considering how indespensible Firefox has come to be to me as a Web Developer, I couldn't not tell you about this.

Get Firebug Now! (Because Debuggers Are Awesome)

If you already know Firebug inside and out, feel free to move along. You already know how awesome it is.

OK, now that the know-it-alls are gone... I have to tell you that the other week I had another one of those "giant step ahead" moments in my development career. I used a step-through debugger for the first time (Firebug). I wouldn't admit this in public if it weren't for the fact that I think admitting it will help other people to take that step too.

I was having a hell-of-a time with a particular page. There was a lot of JavaScript going on on this page including validation and chained AJAX calls. Anyway, the page was, in some circumstances, throwing a JS slow-running script error across browsers. I actually tried for some time to put in alerts, comment out portions, etc. like I normally do. This was not working.

So, I said, "I think now is the time to check out the Firebug break-point thing". I went over to http://www.getfirebug.com and scanned the portion about the debugger. I set a break-point in a method above where I knew the slowness was occurring. Firebug, having paused the JS execution at that point, also showed me what data was being passed into the method. With the ability to see the data and step through line-by-line, it wasn't long until I found what was wrong. (Some records in our db have a guid for their email. And the regex for our email validation choked on them).

Here' my point: It is so much easier to debug JS with the proper tool that I am looking forward to the next tricky JS error!

Firebug is an amazing tool! I've been using it for a while for testing and debugging AJAX calls. I also use it to help figure out CSS issues quickly. If you don't know that you can edit your html and CSS, debug JS, monitor network activity and much more with Firebug, then you owe it to yourself to go read about it. I know now that not having done this earlier was penny-wise and dollar foolish on my part.

You can come back and thank me for the kick in the pants later. :-)

Fixing Firefox Slowness On Linux

Read this if you just want to fix it and don't care about my story. (Don't worry, I have thick skin.)

I just did a fresh install of PCLinuxOS 2007 final. I was having some trouble backing things up before installing. So, I figured, "screw it", I'll just install everything from scratch again. I'm new to Linux, so, I need the practice. :-)

The first thing I ran into is that Firefox was so slow that it was unusable. I fixed this last time. But, I totally forgot what it was. Turns out that IPv6 support is turned on by default in Firefox in most Linux distros (and slow as hell).

Here is a link to the article I found to remind me how to fix this. If you don't want to read it, here is how to fix it. Type "about:config" in the Firefox address bar. Hit enter. Type "network.d" in the "filter" input box. Right click the "network.dns.disableIPv6" option and toggle it (you want it to be true). Restart Firefox. It should be much faster now.

BlogCFC was created by Raymond Camden. This blog is running version 5.6.002.