Tuesday, June 30, 2009

computers: Linux update (I'm stuck with it)

I trashed my Windows partition — long story, still haven't given up — so I'm typing this in Firefox in the Kubuntu (K Desktop Environment on Linux) free software I fortunately had installed earlier. Sound still screeches, but apart from that I don't really notice, since I found 64-bit nightly Firefox builds.

KDE is just a nice panel strip and Kickoff menu below my browser windows ;-). (And someday, the promise of KDE's Nepomuk/Strigi/whatever semantic technologies, should Kubuntu ever deign to turn it on and explain it to me.)

Apparently Firefox integrates better with other Linux distributions, so maybe I shouldn't have used this one.

Labels: , ,

Monday, December 1, 2008

software: desktop apps are hopelessly primitive

Against my better judgment I installed the free update to Norton 360 2.0. At one point it showed a dialog

What is a subscription?

You have 140 days of subscription remaining.

You can sign in to your Norton Account at any time by visiting www.myNortonAccount.com

Let's count the ways that this fails:
  • I can't hover over the "What is" link to see where it goes
  • I can't right-click on the link to get a context menu to copy the link location
  • So there's no way to determine if clicking that link will open a new window or replace the current one, and no way to control what happens
  • I can't zoom the text
  • I can't View > Source the text
  • I can't save the HTML of the dialog as a record of my subscription status
  • I can't select and copy the text to record my subscription status
I'd get all this for free if the application was a Web application, or Powered by Mozilla.

I cringe every time I run software that doesn't run in the browser.

Now's a good time to remind people you don't need MS Office. Write your next letter or presentation or spreadsheet on the web, in your browser, for free, using Google Docs or one of its competitors.

Labels: , ,

Friday, August 8, 2008

web: XULRunner means every app can be a Firefox app

The most excellent Firefox browser (see my tips) is built on Mozilla code. So is the Thunderbird e-mail client, and a bunch of other applications are “powered by Mozilla”. The name for the underlying code to talk to the network, render HTML, display controls, etc. is XULRunner.

An app powered by Mozilla is better than most Windows apps. As I've complained on the IntarWub
I wish my native apps worked as well as web apps in Firefox: ubiquitous text selection, spell-checking in every field, smart zooming, superb auto-update, user data cleanly separated in profiles, and powerful notions like bookmarking, caching, etc. But they don’t, they’re CRAP in comparison. I hate leaving the browser to screw around in native apps like iTunes, media players, and Norton Justshootme Virus. Then, to add insult to injury, these native apps are peppered with web links that don’t have Firefox’s context menu and so lack vital commands like “Bookmark this link” and “Copy link location”.
If native apps used the underlying code of Firefox, they'd work more like it and be better. However, Mozilla-based apps are heavier than they need to be:
  • another .exe installer
  • another copy of the XULRunner code on disk (18MB!) and in memory that you have to update.
There is a way to keep them lightweight, which is to run the application off the XULRunner code in Firefox. Firefox has an undocumented -app command line option to run a XULRunner application using the platform code that came with Firefox 3. (See my post about standalone ChatZilla for an example).

Strangely, Mozilla Corp and third-party vendors put no effort into promoting this. Mozilla folk seem to love extensions that improve Firefox, they have a Firefox extension called Prism that lets you turn Web sites that are sophisticated "Web applications" (like GMail) into icons on the desktop, and they tolerate Mozilla-based applications. But the idea of "use your Firefox code to run lightweight local applications" is well-hidden. Maybe they're afraid of tying other products to Firefox requirements and upgrade schedules, or they assume disk space and memory is "cheap"

The best future is one where Firefox and Thunderbird ship as just another relatively small application that runs off a "central" XULRunner binary, same as all other "powered by Mozilla" applications. That's how the Browse activity on my One Laptop Per Child XO machine works.

One platform to rule them all

I realize you have to pick your battles and Mozilla has to focus on making great products that give users a better Internet experience. But it would be a shame if the solid, coherent, Web-friendly XULRunner platform lost out because it didn't promote itself. Fortunately there's next to no money in platforms (just bragging rights, lock-in, and mindshare) so no one else is trying too hard. The competitors:
  • Every few years Microsoft promotes a different platform for building applications, currently it's Silverlight. No thanks, I keep declining it in Windows Update.
  • Macromedia/Adobe has spent years getting people to write Flash-based applications, first as lightweight gadgets in Macromedia Central, then as Adobe AIR. But text and scrollbars alone in Flash are so jarringly inconsistent that I find Flash apps uncomfortable.
  • Sun's Java is still around on the desktop, I think I have Eclipse and maybe BitTorrent apps using it.
One development that could quickly bring the promised land of all Mozilla-powered apps all the time are the coming low-cost 4PCs (power-performance-price-portability) and network tablets. Once you put Firefox or a Gecko-based browser on these, you've got that 18MB of code in memory, so reuse it to create the small fraction of your computing that isn't Web browsing. That's the vision behind this fantasy? Firefox web tablet.

Labels: , ,

Tuesday, August 5, 2008

web: Chat powered by Firefox's XULRunner

I want all my applications to work as well as Firefox by running off its core technology. Here's an example of running an application off the XULRunner code built into Firefox. I've started using ChatZilla more to interact with OLPC and MediaWiki developers on IRC. This is available as a Firefox extension, but then it closes down when Firefox shuts down. The developer also provides it as a standalone XULRunner app separate from the XULRunner runtime. Although it's undocumented you can run it using your Firefox 3 code:
  1. download the XULRunner version of chatzilla
  2. unzip it (only 2.5 MB)
  3. In a command window, enter \path\to\firefox.exe -app \path\to\unpacked_chatzilla\application.ini
  4. Cool! You're executing a second instance of the firefox code, but it's running a different set of files
  5. To create a shortcut for it (Windows)
    1. Explore your Firefox folder in the Start menu
    2. Copy the Firefox shortcut, rename it Chatzilla XULRunner on Firefox
    3. In the shortcut's Properties, change Target to \path\to\firefox.exe -app application.ini and Start in to \path\to\unpacked_chatzilla
    4. click Change Icon and navigate to \path\to\unpacked_chatzilla\chrome\icons\default and choose the chatzilla .ico as the icon
If this is too geeky, don't worry about it. (Just download and run those “powered by Mozilla” applications like Songbird music player, Miro, etc. Disk and memory are cheap.)

Labels: , ,

Friday, June 6, 2008

web: quick Firefox setup guide

Here's what I set up for friends and family so they can be more productive on the IntarWub.
  • Get Firefox at getfirefox.com
  • Make it your default browser: during setup there's a checkbox "[ ] Use Firefox as my default web browser", check this.
  • Install Adblock Plus and restart Firefox. After it restarts, go to http://adblockplus.org/en/subscriptions and click Subscribe: EasyList. A filter like this says "skip anything from http://adserv - adsnew - doubleclick - ..., they're all ads." Now visit a site like cnn.com: your browser no longer downloads all the irritating ads on web sites, so browsing becomes much faster!
  • Get a Google account. It's not necessary to customize your home page (below), but you're going to want it: gmail is probably better than your current e-mail, Google Docs is awesome (you don't need Microsoft Office), Blogger is pretty good, etc.
    • If you already have a gmail mail address, you have a Google account; otherwise, go to google.com, and on the right click Sign in then click Create an account now
  • Now sign in to igoogle.com, make it your default home page in the browser (Tools > Options > Main; and click [Use Current Page]
  • Add a few things to your iGoogle home page:
    • my blog (click "Add stuff", click "Add feed or gadget" on the left, enter http://www.skierpage.com/blog/ and add me to your home page.)
    • configure the weather applet
    • add news sites like BBC news
  • Set up keywords so you can jump directly to pages without going to a search box; I have keywords for Wikipedia, dictionary definitions, and various Google map shortcuts

Labels: ,

web: Firefox 3 and what stands behind it

The Mozilla project is a global community of people who believe that openness, innovation, and opportunity are key to the continued health of the Internet.
Makes it a no-brainer that I've used Mozilla since years before there was a Firefox web browser. The idea of the project was important before it made a decent browser, it's gratifying that the project has delivered the best current browser.

Firefox 3 is coming very soon, the improvements are real (here's a short Flash tutorial/intro). Release Candidate 2 is ready right now and is great. Or sign up now to grab it on download day.

Labels: , ,

Wednesday, August 22, 2007

web: instantly learn about anything

Whenever I see an acroynym or name new to me, I just go directly to its page on Wikipedia, which for abbreviations is usually a great disambiguation page. Only if that fails do I Google for term slang.

In Firefox, you can assign a keyword to this that makes it even faster.
  1. Go to http://en.wikipedia.org/wiki/%s (shows an error page)
  2. Bookmark this
  3. Right-click on the bookmark, choose properties and give it the keyword 'w' and the name "Go to Wikipedia page".
Thereafter, just press [Ctrl-L]w term[Enter] to learn about anything! ZOMG FTW! (If my brief explanation doesn't make sense, there's a good guide on Lifehacker.)

Firefox ships with several keyword bookmarks in the folder "Quick Searches", e.g. dict term. But this is not just for searches. For every site that you go to, then you type something in a box, then the site shows you the page you really wanted, you can make a keyword bookmark that eliminates the first page. It works for map addresses, zip code lookup, favorite section of a site, etc.

I want something similar on my phone's browser (if you have a recent phone, it can browse the web! You can and should read BBC news optimized for a phone at http://news.bbc.co.uk/2/low.html.) I want to permanently load a home page on my phone that has a drop-down list of all my bookmarks and a text field where I can laboriously type the term:
Then I can jump to the Wikipedia page for "ganache" or the IMDB page for "Play it Again, Sam" and impress my friends without 5 minutes of navigating huge home pages on a tiny screen.

I think it's simple JavaScript, but I don't know of a phone that can do this. And there's no money in it, think of all the search ads and home pages I skip.

Labels: , , ,