About Nicholas C. Zakas

Recent Posts

Kind Words

As many of you know, I’ve had some reviewers signed up to take a look at Professional JavaScript before it came out. I was blown away by when I saw this posted on Jeremy’s site, who has been reviewing a pre-release version of the book: I started up the reading of Nicholas Zakas’ book Professional... […]

Pre-Order Professional JavaScript for Web Developers

I was just talking to my mom, who had just talked to my aunt, who apparently went into Borders and asked someone to look up my book. Apparently, she saw the cover of the book, which led to me wonder if it would be up online. Sure enough, it’s available for pre-order at Amazon.com now!... […]

Create Favicons

Saw this little blurb posted in the comments over at ForgetFoo, so I thought I’d post it here…mostly for safe keeping. So here it is, a tool that can create a favicon for your Web site: png2ico. This little tool takes a 16×16 PNG image and a 32×32 PNG image and creates a .ico file... […]

JavaScript Compilers

My last blog got me thinking…I thought I had seen a JavaScript compiler available from Mozilla, and it turns out I was correct. Mozilla does have a JavaScript Compiler as part of the Rhino JavaScript interpreter. The Rhino compiler creates Java source files from JavaScript files, which then can be used by any Java program.... […]

Thunderbird + Sunbird = ?

As an avid user of Thunderbird, my only serious complaint is it’s lack of a calendaring solution, which forces me to still use Outlook for my appointments and such. Now it appears that Mozilla is getting ready to roll in features from Sunbird, the Mozilla calendaring application, with the hopes of being able to battle... […]

Autonomous Requests a Bad Idea

Every once in a while I browse through my access logs to see what sort of traffic I’ve been getting. More and more, the number of Firefox and generic Mozilla users has been increasing. And that’s when I noticed something else increasing as well…the number of requests for files that don’t exist. Examining all of... […]

Fixing Duff’s Device

While researching for my book, I came across Jeff Greenburg’s JavaScript port of Duff’s Device, a generic way to unroll loops for optimization. Jeff’s original algorithm looks like this: var iLoopCount = iIterations / 8; var iTestValue = iIterations % 8; do { switch (iTestValue) { case 0: [execute statement]; case 7: [execute statement]; case... […]

Fighting Blog Spam

The subject of blog comment spam has been talked about a lot recently…I haven’t had to worry since I don’t really seem to illicit many comments (::shrugs::), but I have actually received spam through my Contact page. Simon Willison has an interesting approach to block comment spam in which he redirects all posted links to... […]

Penn State Kicks Out IE

Even with 10 million downloads, Firefox could gain another 80,000 downloads the next few weeks as Penn State has asked all students and staff to switch from IE to an alternative browser such as Firefox, Mozilla, Opera, or Safari for security reasons. Who knows, if this type of negative publicity continues, Microsoft may be forced... […]

Wrox Blog

I was asked today to start writing a blog over at Wrox’s P2P site. The hits just keep on coming, I was honored when I was allowed to re-write Professional JavaScript, one of the first JavaScript books I ever owned, but now to be asked to be an official blogger over there, I’m completely overwhelmed.... […]