Archive for July, 2010

File Under: HTML5

Play Pac-Man in HTML5

Programmer Dale Harvey has created a playable version of Pac-Man using only web standards.

To rebuild the same gameplay found in the arcade classic using browser-native code, he’s relying on local storage, HTML5 audio, Canvas and @font-face. Harvey is sharing all the code on Github as well, so you can run it locally.

Reminiscent of Google’s recent Pac-Man port, Harvey’s attempt is yet another example of web standards being used instead of Flash to create animated, interactive experiences in the browser.

The Flash plug-in is still the most popular platform choice for browser-based games, and it has some advantages over HTML5. Most notably, a Flash game would work in any browser that allows the plug-in, but to play Harvey’s game, you’ll need to use a browser that supports the elements he’s using — Firefox, Opera and Chrome work just fine, but IE8 is a no-go.

On his blog post about the project, he notes some of the other stumbling blocks he encountered when porting the game. For instance, there’s no easy way to loop HTML5 audio, there isn’t a convenient tool for drawing Canvas shapes, and using Canvas/HTML5 for a game even this simple still puts more strain on your CPU than using Flash.

[via Hacker News]

See Also:

File Under: Browsers

Next Beta of Firefox 4 Delayed a Few Days

The second beta release of Firefox 4 won’t arrive until the middle of this week at the earliest, Mozilla says.

We were expecting Firefox 4 beta 2 last Thursday or Friday. But the Mozilla Wiki page for the browser has been updated with this statement: “Hi! We’re glad you’re interested in Firefox 4 Beta 2 – it’s not quite ready yet. Our candidate builds are still going through quality assurance tests.”

The new proposed release dates are July 27-29.

As we’ve pointed out many times before, Mozilla’s release dates are only targets and not hard-and-fast deadlines. No worries, we can wait.

The final version of Firefox 4 is still expected in October or November. It will ship with increased support for emerging web standards like HTML5 and CSS 3, a new look, and the usual speed improvements. We reviewed the first beta and gave a rundown of the new features. You can always download the most current beta release from Mozilla’s Firefox Beta page.

See Also:

File Under: Browsers

Early Birds Will Dig Chrome Canary

People who like to run pre-release versions of browsers in order to access the latest features have a new choice: Google Chrome Canary.

Canary has all the bleeding-edge features found in the developer and beta releases of Google Chrome. But unlike the other channel releases, Chrome Canary allows you to run the pre-release browser without overwriting other installations of Chrome on the same system. So, you can now run a regular version of Chrome and a pre-release, auto-updating version of Chrome on the same computer at the same time.

You can download Chrome Canary today, but it is a Windows-only release for now. We expect Google to follow with canaries for other operating systems soon.

Early adopters — mostly curious geeks and developers working with the latest web standards — prefer to run beta versions of browsers. Beta testing allows them to gain intimate first-hand knowledge of the new capabilities that will be found in the next versions of each browser. But beta versions and regular versions of the same browsers both access the same file resources on your computer, a restriction that prevents you from running two different versions side-by-side. Try launching a Firefox 4 beta while Firefox 3.x is open. You’ll see an error: “Only one copy of Firefox can be open at a time.”

On the fence about running an unstable pre-release browser? Canary can help you take the plunge safely.

Chrome Canary side-steps this issue. As Google engineer Huan Ren explains on the Chromium-dev list, “the installer will install Google Chrome canary build to a separate directory with different default user profile, short cuts, and icons, i.e. everything should be separate from existing Google Chrome installation.”

With this release, there are now four versions of Chrome available. The others are “dev,” the least stable build intended for developers, “beta,” which is more stable than dev but not fully baked, and the regular Chrome release, the rigorously-tested version that’s the default option for the public.

On the same developer’s e-mail list, Google’s Mark Larson says Canary will be the most bleeding-edge of all Chrome builds. It will auto-update more frequently than any of the other versions available to developers.

“The canary usually updates more frequently than the Dev channel (higher risk of bustage), and we’re working on making it update as often as we have successful nightly builds. When something doesn’t work on the canary, I can just fall back to my Beta Google Chrome,” he writes.

Hence the name “Canary” — a reference to the canary in the coal mine. Google recently announced it would be speeding up the Chrome development cycle to push major milestone releases more often. This increased velocity means it will need to begin testing new features in the wild sooner and collecting feedback more quickly.

“The data we get back from canary users — especially crash statistics — helps us find and fix regressions faster,” Larson says.

Chrome Canary running on 64-bit Windows 7

Giving users the option to run a more advanced version of Chrome without having to fully commit to the dangerous lifestyle of an alpha tester should help increase the number of people willing to test the new browser.

Chrome Canary also has a different, all-yellow icon — instead of the multi-colored Chrome icon or the all-blue Chromium icon — so it’s easy to spot on your desktop. The beta, dev and stable channel builds of Chrome all use the same familiar rainbow icon. Also, the skin of the browser is blue, helping you tell it apart from other versions of Chrome, which use the same gray skin.

Canary photo: Haplochromis/Wikimedia/CC

See Also:

File Under: Databases, Other

Big Data in the Deep Freeze: John Jacobsen of IceCube

John Jacobsen works for the IceCube telescope project, the world’s largest neutrino detector, located at the South Pole. The project’s mission is to search for the radioactive sub-atomic particles that have been generated by violent astrophysical events: “exploding stars, gamma ray bursts, and cataclysmic phenomena involving black holes and neutron stars,” according to the project website.

Jacobsen is one of the people in charge of handling the massive amounts of data collected by IceCube. In the video, shot this week at the O’Reilly OSCON 2010 conference in Portland, Oregon, John explains how they collect a terabyte of raw data per hour, then send everything to IceCube’s remote research and backup facilities using a finicky satellite hook-up.

Antarctica is one of the least accommodating places on Earth to perform scientific research with computers. It’s the driest spot on the planet — atmospheric humidity hovers around zero — and bursts of static electricity threaten the integrity of IceCube’s data stores. The lack of humidity causes the server clusters’ cooling systems to break down. And if something fails, a spare might take six months to arrive.

File Under: Browsers

Firefox Offers a Taste of Tab Candy

Are you one of those hyper-multitaskers (aka insane weirdos) who keeps a bazillion browser tabs open at once?

Here’s something for you, and for the tab-curious: Tab Candy, a new experimental feature in Firefox that groups tabs into topical clusters to improve your workflow. It’s made entirely with JavaScript and HTML.

Firefox creative lead Aza Raskin offers this synopsis:

With one keystroke Tab Candy shows an overview of all tabs to allow you to quickly locate and switch between them. Tab Candy also lets you group tabs to organize your work flow. You can create a group for your vacation, work, recipes, games and social sites, however it makes sense to you to group tabs. When you switch to a grouped tab only the relevant tabs are shown in the tab bar, which helps you focus on what you want.

Here’s a video of Tab Candy in action.

An Introduction to Firefox’s Tab Candy from Aza Raskin on Vimeo.

Tab Candy has been kicking around as a pre-release for a while, but it’s just now getting to the point where the Mozilla folks feel it’s ready to be tested by a wider audience.

If you want to try it out, head to Raskin’s site where you can download a TabCandy-enabled build of Firefox. Note that this isn’t an extension, it’s a bleeding-edge build of Firefox with Tab Candy built in, so plan accordingly.

There’s also an FAQ, and a feedback forum you can use to get answers or submit requests.

See Also: