Categories
Apple Mozilla

Virtualization For Mac OS X?

Virtualization is a great way to improve reliability, take advantage of hardware and scale. For example Mozilla’s build team uses it to manage all the build instances that used to be on individual machines. These servers essentially compile code all day long. One problem with virtualization and cross platform building is that Mac OS X doesn’t run in any virtualization environment (because of Apple’s interest in selling hardware). This means while you can run Windows and Linux on the same boxes, you still need to have and maintain separate Xserve’s for the purpose of compiling for Mac OS X. Looks like Mac OS X Server 10.5 (and only server edition) now has a license that permits running virtual. While great, this makes it pretty expensive to do things like a build farm. You can’t just buy a Mac OS X client, even though that’s all you really need. You need to buy server.

Currently, there’s nothing other than PearPC that can run it (and PearPC is worthlessly slow). Hopefully VMWare will update at some point to support it. At that point, things can get interesting.

Categories
Mozilla

Mozilla Prism

Mozilla Prism is an interesting product. What I really like is that it requires no real extra work for your app to run in it. With some additional effort you can potentially add some great stuff (offline support for example). It’s too early to develop applications for it just yet, but it does show off some serious potential. I did two tests as an example:

Google Calendar

Url: http://calendar.google.com (SSL doesn't seem to work at this time)
Name: Calendar
[ ] Show location bar
[ ] Show status messages and progress
[x] Enable navigation keys

Create Shortcuts
[x] Desktop
[ ] Start Menu
[ ] Quick Launch Menu

CBSNews.com Video Player

Disclosure: My employer.

Url: http://www.cbsnews.com/sections/i_video/main500251.shtml
Name: CBSNews.com Video
[ ] Show location bar
[ ] Show status messages and progress
[x] Enable navigation keys

Create Shortcuts
[x] Desktop
[ ] Start Menu
[ ] Quick Launch Menu

Both worked nicely. It gave me a way to keep the app open independently of my browser. The second test proves the next thing I wanted to mention. Plugins are supported. No reason why you can’t use a Flash player for example. Of course you could also use <video/>. I wonder if Google Gears could be installed on it? You can use about:plugins as an application url to see what plugins are installed (I believe it should be the same as Firefox). There doesn’t seem to be an about:prism just yet.

There are however some security aspects that an application like this must take into account.

Improvements

There are a bunch of things I’d love to see. For example:

  • API for Interactions – For certain events such as minimized/maximized (or user-visible/user-hidden to make it more neutral in terms of meaning). Also one for for opening a file so that the OS could map a file to be handled by an Mozilla Prism Application. The event could be handled similar to that of an upload. Haven’t looked to see what WHATWG offers in regards to these two things.
  • Extensions Support – Think of this as an interface/vehicle for XULRunner. Full window apps like Calendar could be run in Prism. This provides a common runtime shared across multiple applications.
  • Install Mechanism – To share the two things I did I had to document my settings up above. The ability to pass those perhaps using a protocol would be really nice. For example:
    prism://url=calendar.google.com/&name=calendar&enableNavigationKeys=true&createShortcuts=prompt

    would then open prism who would then ask you if you want to “install” this application. Bonus points if it accepted a base64 encoded icon similar to a data:url and used it. Using an technique similar to what Apple does for iTunes and having a landing page would give the user the option to install Prism if they didn’t have it already.

Great stuff. I can’t wait to see where it goes from here.

Edit [10/29/07 @ 11:45 PM EST]: Fixed bad url in example.

Categories
Mozilla Personal

Broken

That sprained wrist… turns out it’s broken. So now (again) 100% one handed typing for the moment.

Speaking of broken… Bug 389131 could use a hand (pun intended). Same for 389128. Anyone want to assist? Both have patches, may need tweaks/cleanup still. I just can’t manage extra coding until I get patched myself.

Categories
Apple Mozilla

iPhone/iPod touch SDK On The Way

Readers know I’ve been big on Apple opening up the iPhone/iTouch to developers since the beginning. Apple finally came through announcing a SDK will be made available, though not until early next year. It specifically noted Apps will work on the iPod touch as well. About time. All of a sudden these devices went from being cool, but not really worthwhile to having massive potential. Still missing on the iPhone is 3G, but that’s coming, and likely in an ’08 refresh of the product line.

Gizmodo has an interesting banner on top of their coverage of the announcement. Notice the positioning of the Firefox logo. This comes pretty soon after the announcement of the Firefox Mobile effort. Provided the SDK provided is good enough, I think there’s a pretty good chance we will see a Gecko product on the iPhone in the not too distant future. For quite some time it will likely be Minimo based and very simple, not the more robust plans which require Mozilla 2.

On a side note, I’m surprised nobody has managed to get Linux running on the iPod touch yet. I thought that would have happened by now. The iPhone would be somewhat pointless since getting the phone functionality to work would be a real battle.

Some sort of simulator/emulator to aid development would also be interesting, though I don’t think that’s very likely.

Overall it’s great news. Lets see that SDK already!

Below is what was posted on Apple’s site today

Categories
Mozilla

Blocking Firefox

There’s recently been a lot of buzz about a list of sites that make Firefox sad. Having written reporter, I’ve done a fair amount of monitoring in this area over the past few years. Overall I think the scope of sites that still block certain browsers/OS is declining. By scope I mean quantity of sites/popularity of sites. More and more often the sites are less and less popular sites. Often they are either financial institutions (known for being the last to update their tech) or media related (and dependent on Microsoft Windows Media DRM). That’s not to say the landscape doesn’t need to improve. From where I sit, it says the landscape is improving. More and more websites are realizing the need to work anywhere. No site is happy with a 5% drop in traffic. That means they can’t afford to ignore a browser with even more market share.

Things are looking a little brighter. While it’s still not good for the web, Silverlight and Flash seem to encourage much more compatibility across browsers/platforms than Windows Media Player ever has. Flash has been a major win for Firefox. Flash is rather consistent across browsers making it a popular choice for media (think YouTube). It’s leveled the playing field, since lets face it, Windows Media historically has been lacking in Firefox, though recently improving. On Mac OS X it is awful at best. h.264 support will make Flash even more attractive to content providers in the near future who are still holding out because of quality.

An interesting point made by that list is a lot of sites are “IE only” because of buggy navigation menu’s, typically due to flyout and drop down menu’s. It really is too bad. Most of those implementations aren’t even search engine friendly (they often store the entire navigation in a JS array). You’d think that would be incentive enough to change.

So those are my somewhat random thoughts on the topic for the moment.

On a sidenote, other content of the site includes a how to on Firefox pencils that look pretty cool.

Categories
Funny

Chimpanzee On A Skateboard

Chimp on a Skateboard

Can he be any cooler? I think not. Click the thumbnail for the video.

On a sidenote: I may have to put together a category on this blog for just linking to the best monkey content on the web. Could be fun.

Categories
Open Source Web Development

Snoopy’s Relative Redirect Bug