Monthly Archives: June 2011

Why Does Google Chrome Dev Channel Show a Cupcake?

Google Chrome Cupcake

Google Chrome Cupcake

My browsing experience depends on cutting edge, possibly unstable code from the Google Chrome dev channel. While I’ve had very few issues, today I woke up to a cupcake in my browser toolbar. Seriously? My first thought was that someone had hacked the Chrome auto-installer with poisoned bits.

I’ll post more info as I find out why there’s a cupcake, but until then – does anyone know why Google Chrome dev channel shows a cupcake?

CloudFlare – Bad timing, great service, and a hack discovered

CloudFlare - Performance and Security

CloudFlare - Performance and Security

Update: I spent the morning debugging the issues I mentioned below with CloudFlare, and was stunned by two things:

Firstly, the service from CloudFlare was amazing! As I was leaving the service I sent them a note to let them know what had happened. Less than an hour later I got a thoughtful and thorough response. I replied, and while waiting for a reply I dug into the Internet Explorer issue I was seeing.

This was my second shock – I’ll post full details soon, but the short version is – my site was hacked. It was only a coincidence that I noticed it the day I made the switch to CloudFlare, but my site breaking in Internet Explorer was what tipped me off. This likely had something to do with both the lower click through rate for ads, as well as the Russian showing up in my Google ads.

So kudos to CloudFlare for the great customer service (Seriously, I was blown away by the responsive and thoughtful answers!), I’ll give them another try, and post a review that isn’t plagued with the unfortunate coincidence of my site being hacked.

Old thoughts on CloudFlare – Please see update above

There are days when I regret my propensity to try out the latest new service with my production web sites. Yet I still do it. I jumped into EC2 before I’d fully solved the performance issues I was seeing with the Micro instance, and then got too frustrated to continue tinkering and upgraded to the small size instance. And yesterday I tried out CloudFlare - the service is full of tantalizing promise, yet in my very brief experience has some really big problems for any blog running AdSense – that’s just about all blogs, right?

I first stumbled upon CloudFlare when I noticed a new setting in the W3 Total Cache plugin that I use on many of my websites. I could choose to integrate with a service called CloudFlare. Intrigued, I took a look at their website (and somewhat cheesy videos describing what their service does). In a nutshell, when you configure your DNS name servers to point to CloudFlare, it sits between your users and your website, doing a host of interesting things. Firstly it acts like a CDN, caching copies of your website and distributing to edge nodes. For this to work I can only imagine that they regularly update their cache, but I didn’t try the service long enough to find out. It also allows you to see traffic from bots, web crawlers and anywhere else that Google Analytics won’t pick up on because it requires javascript to load. And finally, CloudFlare helps prevent bad traffic from consuming resources by throttling traffic from bots while letting legitimate traffic through.

The CDN functionality itself wasn’t that intriguing for me, since I use Amazon CloudFront with many sites already – but I can see the strong appeal for someone who isn’t already setup with a CDN. It’s WAY easier to setup CloudFlare than CloudFront, in my opinion. What was most interesting for me, was some visibility into traffic coming from non-user sources. I could probably find a tool that did this with my site logs, but … I haven’t really had the time or inclination to go hunting for this set of tools. And CloudFlare seemed like an easy way to try it out.

Boy, was I wrong. Checking on my website stats the next day I noticed two things: The speed hadn’t improved at all according to Google Analytics, and the click through rate for AdSense ads had dropped dramatically. It appears that CloudFlare does something to AdSense ads that removes their contextual relevance and makes Google think the website is Russian – at least the text Google shows in the ad block indicated this when it said ‘Реклама от Google’ instead of ‘Ads by Google’.

Even as promising as the security and performance features appeared, I’m not willing to accept a 50%+ reduction in AdSense revenue for this. And switching back has been an absolute nightmare. Stale DNS entries prevent the page from loading sometimes, and IE seems to have a new, yet to be determined issue that prevents it from correctly rendering half of the page. It also appears that now when I activate the W3 Total Cache plugin I get ‘website temporarily unavailable’ errors – the only thing I can think of is that there are some lingering effects of integrating with CloudFlare from W3 Total Cache. ARG!

While I struggle to understand the IE issue, the biggest lesson I learnt from all of this – Set a short TTL on your domain name servers before changing them. Today as I was returning everything back to how it was it took hours for the DNS changes to propagate. This can be decidedly frustrating when trying to debug issues.

So all in all – CloudFlare was an interesting experiment, but proceed with caution if you use AdSense on your website.

Microsoft shows a bad case of iPad envy with Windows 8

Today at the All Things Digital Conference Microsoft shared a first look at Windows 8. As you can see from the demo below, it’s a decidedly different experience for Windows. An apt description would be Windows meets Windows Phone. Though I get a distinct sense that Redmond has finally got their photocopiers back up and running in an almost desperate attempt to prove that Windows is still relevant in the post-PC era. If you squint it’s not hard to imagine it’s an iPad with another software skin (and hardware that’s probably going to be twice as thick and heavy too)

They showed some nice touches, to be sure – the ability to snap in an app to view it beside an already existing app opens up some very interesting possibilities for 3rd party developers. As a blogger a tablet is not useful for much more than jotting down a few short notes – it’s too painful to switch back and forth between the browser and blogging app to copy links, research stories, share pictures and so on. Windows 8 will make that, and many other scenarios a lot easier.

I appreciated the rich start screen as well. As much as I love my iPad 2, I miss the ability to customize the lock screen and use multiple live widgets that my Nexus S provides. Windows 8 would be a step forward in that regard.

I can definitely appreciate the ability to run legacy applications on Windows 8, but the demo showing Excel was a bit sorry. Compared with the Keynote experience Apple demo’d for the iPad it’s clear that Microsoft hasn’t thought of – or isn’t willing to disclose – deep touch integration with Office. Office is arguably one of the few remaining killer apps for Windows, and Microsoft has huge potential to make this experience best in class. Unfortunately it will probably come with a few hundred dollar price tag to get up and running, which will rule out all but the most fortunate enterprise users for years to come.

Can’t not touch this

Clearly it was Microsoft’s intent to showcase the touch functionality of Windows 8, with barely a nod given to the mouse+keyboard interface. The throwaway line that ‘whatever you can do with touch you can do with the mouse and keyboard’ loses sight of the complex differences between that and touch interaction. I’m sure there are many great innovations coming in Windows 8, in my opinion the first public unveiling of Windows 8 fell flat because they focused so heavily on touch, where the experience was only slightly better than the shipping iPad today.

How would Windows 8 impress me?

Windows 8 would blow me away if it did three things:

  1. Ship this year. Truly I would be amazed and pleasantly surprised, and likely move my laptop upgrade ahead a year.
  2. Support Tablet+Phone+Desktop+Web apps. Take Apple’s iPad+iPhone to the next level and provide a platform that makes it easy for developers to build apps that cross the suite of devices. And let people use apps they’ve purchased/downloaded on any device just by signing in.
  3. Ship on beautiful hardware – that works.

Regardless, I’ll buy Windows 8 when it comes out – because, well, I’m just like that. I seem to have avoided the Mac gene that the rest of my family and coworkers inherited, and there aren’t any good alternatives to Windows or Mac out there right now. I’m looking forward to the actual release – a date sometime in 2012 was what I heard Steven Sinofsky trying diligently to avoid mentioning.