Categories
Uncategorized

Firefox 4 is Fast

I’ve been running the Firefox 4 betas, and I’ve been trying to keep an eye on speed, as that seems to be one of the main reasons cited for switching to Google Chrome by Firefox users I talked to.

Firefox

Now, don’t get me wrong, Chrome is fast, that much is true, but I think what a lot of people forget about is the cruft. For many users, it could be a few years since they’ve done a fresh install of Firefox. I mean fresh as in “starting with a new profile” so that all your old preferences, add-ons, plug-ins, bookmarks, and other bits weren’t there.

Right now if you download Google Chrome for the first time, and launch it, there is no cruft. It launches fast. If you’ve been upgrading Firefox over the years and not starting fresh with a new profile… well, there’s cruft.

Here’s what I did, and you can try it at home. Create a new user account (if you’re running Mac OS X, just log into the “Guest Account” that wipes itself after every logout) and launch the Firefox 4 beta. For fun launch Google Chome as well. Both will be cruft-free as they won’t have any previous preferences/profile to worry about, and will be starting fresh.

In my tests, Firefox 4 launched pretty damn fast. If Chrome launches faster, it’s probably by such a small amount that most people could never tell.

Now jump back and forth between Firefox and Chrome and load various pages. Again, don’t use any magical timers, just experience it, and see if you think they are pretty close. They look pretty close to me.

As I’ve mentioned, speed isn’t everything, but it’s nice to see the Mozilla folks stepping up their game and realizing that speed is important to a lot of people. I’ve also read some comments about finding ways to “cleanse” old profile data, to help the folks who have been using the same Firefox profile for years and years, hoping for a bit better performance.

Disclaimer: This is not scientific! I did not run any benchmarks, I didn’t test Javascript engines, or anything too crazy or stressful, I just compared the experience of launching/browsing using completely fresh installs of (the latest beta of) Mozilla Firefox and Google Chrome. I’d love to hear some comments from a Chrome convert willing to do the same tests.

Categories
Uncategorized

Google Account Password Recovery

Google

I got the following screen when logging in to Google (to use a third-party service) and I was glad to see it. I can’t remember the last time I saw this, but I think it’s something Google should show more often.

If you want to deal with this information right now, you can log into Google, go to My Account, and then Personal Settings, and then click on Change password recovery options. Make sure you’ve got at least one recovery email listed there (more would be better) and if you trust Google with your phone number, provide that as well, for SMS recovery.

While you’re in there, why not look at the data Google is storing with your account, as well as any websites you’ve authorized to access your information. These are probably things people don’t check very often, but should. Also, take a look at your dashboard now to get an idea of how much of your data Google has…

See Also: The Ultimate Guide to Gmail Account Recovery for Password and Security Issues and Account recovery via SMS.

Categories
Uncategorized

Google Reader Subscription List backup shell script

If you’re interested in exporting (or backing up) your Google Reader Subscription List you can log into Google Reader, go to Manage Subscriptions, and then Import/Export and then export your subscription as an OPML file (which is basically an XML file.)

Google Reader - Export Subscription List OPML

If you want to automate this process, there are a few steps involved… I used curl, which is easy, but other tools can also work.

The first thing you need to do is get an Auth code:


curl -daccountType=GOOGLE -d Email=[USERNAME]@gmail.com -d Passwd=[PASSWORD] -d service=reader https://www.google.com/accounts/ClientLogin 

Substitute your own Google username for [USERNAME].

Substitute your own Google password[PASSWORD].

Once you do this, you’ll get 3 lines returned, that look something like this:


SID=HFDY49j4ljlkfgdg4tfh03fdkjgldkhfl945840598djglkjh40hi5h... 
LSID=HFDY49j9ljlkfh03fhgfh565dkjgldkhfl945840598djglkjhhi5h... 
Auth=HFDY49j7ljlkfh03fdkjgldkhfl945840598djglkjhjgh6640hi5h... 

Note: I’ve shortened these (and made them up) but it’s but it’s basically 3 keys SID, LSID, and Auth and their associated values. You’ll need the value for the one labeled Auth.

Now, use curl to request the following:


curl -H "Authorization:GoogleLogin auth=HFDY49j7ljlkfh03fdkjgldkhfl945840598djglkjhjgh6640hi5h..."  http://www.google.com/reader/subscriptions/export 

Again, I’ve shortened the Auth code (it’s really long!) You’re basically passing the authorization in the header of the request. It should go without saying that the SID, LSID, and Auth should be kept private. (Which is why I just made up a random string in the example above.)

OK, if it all worked, curl returned your subscription list as OPML. Hooray! Also, you just used OAuth, so Double Hooray!

And here’s our shell script, which will download/backup your subscription list as OPML file. (It’s similar to our mysql backup schell script.)


#!/bin/bash

DT=`date +"%Y%m%d"`

curl -s -o /home/backups/SubscriptionList-$DT.opml -H "Authorization:GoogleLogin auth=HFDY49j7ljlkfh03fdkjgldkhfl945840598djglkjhjgh6640hi5h..."  http://www.google.com/reader/subscriptions/export 

Each time you run it, it will get the date with the year, month, and day and use it in the name. So %Y%m%d would produce something like 20100816. This should work fine if you run just one backup per day. (And of course you can store it somewhere besides /home/backups/ if you like. cron is your friend here.)

I know that most people believe that Google will not lose their data, or if the day comes they want to export this data, they’ll just go to the site and export it, but this lets you prepare for the day you can’t get to the site and export your data… or the day Google loses it, or deletes it, or whatever.

By the way… I found most of this information in the Google Reader API wiki. It’s nice that Google is providing an API for things, I just wish some of the info was easier to find… as of this post, that’s the only damn page in that entire wiki!

This is all part of my renewed interest in putting my own data into my own hands, and I may be bugging Jason (@plural) a bit more in the future. ;)

Update: Jason reminded us of dataliberation.org, which I’ll discuss in another post. :)

And just for fun: This gem from 2007: Data Loss At Google Reader.

Categories
Uncategorized

Visitor Stats

I’m typically not one to obsess over statistics related to the visitors of this web site, but I figured I’d take a look and see what the numbers might tell me.

Stats by Browser

Firefox is the winner here, which wasn’t too surprising to me. I was surprised to see Chrome ahead of Safari though, even if by a small percentage. Of course I’m saddened that Internet Explorer even shows up at all. At least Chrome beat IE. Also, welcome SeaMonkey user!

Stats by Operating System

Too many Windows users! I’m kidding… sort of. I mean, I tend to write about things related to Macs, Linux, and open source… none of which are Windows. My assumption is that the people with corporate jobs who are forced to use Windows machines at work (but use Macs and Linux machines at home) tend to browse this site while on the job. Yeah, that makes sense. Also, welcome to both Android users, and that lone Playstation Portable user!

Stats by Browser / Operating System

Firefox / Windows users take the lead! So at least some Windows users are smart enough to install Firefox. Not surprising, as I think it’s been at least a few years since even die-hard Microsoft fans realized that Firefox is a better/safer browsing experience than Internet Explorer. As for IE being second? Those are obviously the corporate drones who do not have privs to install Firefox. At least Safari made it into the list once… Also, welcome Mozilla Compatible Agent / iPhone (what is that exactly!?) and your friend using Mozilla / Linux!

Stats by Screen Resolution

Hooray for more pixels! Is no one visiting this site on their shiny new Netbook? I spent so much time optimizing for 800×600 when I got my Eee PC.. all for naught! Those 1920×1080 screens must be all the designers I know. And that 320×396? That’d be the iPhone.

So join me in welcoming all visitors to the site… be they Chrome / Windows users, or iPad users, 1024×600 screen resolution users. Welcome!

Categories
Uncategorized

Twitter-Free Friday Explained

Maybe I did a poor job of explaining Twitter-Free Friday. See, it all goes back to 2001 when Dave Winer suggested Microsoft-Free Fridays, and was followed up by my idea for Google-Free Friday (which was resurrected last year by Danny Sullivan of Search Engine Land.)

It’s not so much a boycott of Twitter, or a condemnation of Twitter. I like Twitter. I’ve been using it since late 2006 when there were less than 6200 users. I’ve convinced other people to use it, I’ve written code that uses it, and I was even interviewed about Twitter a few weeks ago.

Twitter is a monopoly. Just like Microsoft was and Google is. And any time you rely on one single entity for something, that’s bad news. Even worse news if it’s something you need or really want, because at some point, after you are hooked, they will screw it up, and you’ll have no alternative. As much as I am a fan of Apple, they got problems, and I’m glad Microsoft (and the Linux folks) are there to keep Apple on their toes, and keep them honest, and keep them innovating. Competition drives innovation, and we need innovation in this MicroBlogging world.

But… Twitter is this proprietary thing, owned by one company, and in the end, I am still a big fan of a decentralized system, and open source software, and standards… and that’s when identi.ca (and Laconica, the software behind identi.ca) comes it.

It took Twitter 9 months to add the ability to search for people. identi.ca got the feature in a week. And while identi.ca still does not match all the features of Twitter, I believe it will, and it will surpass it. Things are moving fast, and not because of dollar signs, or the future hope of dollar signs, but because people are excited about the possibilities. With Twitter you see the fail whale and we all go “oh well, try later!” and that’s not good enough. Laconica, in a free and open environment offers the ability for us to do better, and to have some control over such things.

When I find blog posts from people about identi.ca/Laconica they are often from people I know and respect as visionaries of the web, people who have had good ideas in the past, and put those ideas into code… Those are the kind of people I trust to build an open system for the future.

So join us tomorrow for Twitter-Free Friday. Go a day without using Twitter and see how it goes. Maybe it will suck, and you’ll appreciate Twitter even more, or maybe you’ll find an alternative. I know, it’s all about the network right? If you’re friends stick with Twitter and you leave, you will be lonely, and sad, and cry… but the idea behind a federated system is that your friends could use a different system than you do, and that’s ok, cuz it all hooks together. Yeah, that’s the idea.

So while other came along (Jaiku, Plurk, etc.) none of them made me (and so many others) say “Damn! This could be it… what we are after! An open source, distributed system like Twitter” that, you know… isn’t Twitter.

I am raster on identi.ca. See ya there tomorrow!