Fix Slow Firefox 3 on Vista with localhost
I’ve noticed that Firefox 3 is insanely slow loading web pages on localhost when using the ASP.NET Development Server (based on Cassini). Today something snapped in my head and I felt compelled to figure out what was wrong.
Everything was fine in IE7 and when connecting to the production web server from FF3. A few seconds plus a search engine revealed a simple solution:
- In in the Firefox address bar, type about:config and hit Enter.
- Click the "I’ll be careful, I promise!" button.
- In the Filter box, type network.dns.disableIPv6.
- Toggle the value of the network.dns.disableIPv6 setting to true.
That fixed the problem instantly for me. Hooray!
(photo courtesy of larry&flo)
Video Show on What’s New in Visual Studio 10
There’s a new show on Channel 9 called 10-4 that looks at what’s new in .NET Framework 4 and Visual Studio 10.
The first episode is a pretty introductory walkthrough showing you how to download and run the Virtual PC image with the CTP build. Host Brian Keller even takes you through the process of hacking the virtual machine’s clock so the CTP won’t expire on January 1, 2009.
(Based on comments so far, I’d say I’m not the only one who found the 10-4 music a bit loud / distracting and a bit sucky. Hopefully they’ll fade it out next time.)
If Programming Languages were Religions
An awesome post over at www.aegisub.net comparing programming languages to world religions. A fun Friday afternoon read.
C would be Judaism – it’s old and restrictive, but most of the world is familiar with its laws and respects them. The catch is, you can’t convert into it – you’re either into it from the start, or you will think that it’s insanity. Also, when things go wrong, many people are willing to blame the problems of the world on it.
Java would be Fundamentalist Christianity – it’s theoretically based on C, but it voids so many of the old laws that it doesn’t feel like the original at all. Instead, it adds its own set of rigid rules, which its followers believe to be far superior to the original. Not only are they certain that it’s the best language in the world, but they’re willing to burn those who disagree at the stake.
PHP would be Cafeteria Christianity – Fights with Java for the web market. It draws a few concepts from C and Java, but only those that it really likes. Maybe it’s not as coherent as other languages, but at least it leaves you with much more freedom and ostensibly keeps the core idea of the whole thing. Also, the whole concept of "goto hell" was abandoned.
It goes on from there. The comments are piling up with a few funny ones but I’d say this content ain’t worth spelunking through troll dung – it spoils the fun.
2008 Web Performance Year in Review
Steve Souders from Google (web performance and open source initiatives) has a nice post summarizing his end of term lecture at Stanford entitled "State of Performance".
Nice to see the highly awesome Strangeloop Networks get some link love in the post.
Steve also mentions the O’Reilly Velocity conference that I was tempted to attend last year. I probably won’t attend this year either but you never know. :)
Free ASP.NET to Silverlight 2 Book
Jumping from ASP.NET to Silverlight 2
Not sure how long this will last… The publisher published the whole mini-book as the "excerpt chapter." Oops. They’ll probably correct that fairly soon so grab a "preview copy" while you can.
If you find the book useful, you really should give Wrox its $7. At least send the author some link love if you download it: http://www.dimebrain.com/. Dimebrain is a good read (Dimebrain blogger Daniel Crenna was a guest on Devcasting in September).