Sputnik: ECMAScript 3 conformance test suite

Today, The Chromium Blog has officially released their ECMAScript 3 conformance test suite in a form that is more friendly to test in your browser. The test contains over 5,000 tests (currently 5,246) and continues to grow!

The Chromium Blog has also posted some initial results among the top web browsers for Windows (emphasis is mine).

In this example, when running Sputnik on a Windows machine, we saw the following results: Opera 10.50: 78 failures, Safari 4: 159 failures, Chrome 4: 218 failures, Firefox 3.6: 259 failures and Internet Explorer 8: 463 failures.

An experimental plot to illustrate how the latest stable browsers compare.

Putting that into terms of 100% conformance rates: Opera 10.50: 98.5% successful, Safari 4: 97.0% successful, Chrome 4: 95.9% successful, Firefox 3.6: 95.1% successful and Internet Explorer 8: 91.2% successful.

Running the test myself in the latest Opera 10.50 snapshot for Linux (Build 6242) I’m seeing a solid 77, proof that Opera 10.50 is progressing still!

As explained in their post, the goal of this test is not related to Javascript performance in terms of speed, but in terms of conformance to the spec. Ideally all browsers would be in the center of the bullseye, meaning they all conform and behave (nearly) identically.

The Sputnik tests have been released as an open source project, so if you’re interested in providing conformance test cases to improve the future web..now is a perfect chance to get involved. ;)

To run the test yourself or learn more about it, visit: http://sputnik.googlelabs.com/

Ubuntu 10.04 Wallpaper – Dual Screen

Ubuntu 10.04 Dual Screen Wallpaper (2560x1024)

Ubuntu 10.04 Dual Screen Wallpaper (2560x1024)

If anyone is interested, I’ve uploaded a modified Ubuntu 10.04 Wallpaper to fit Dual Screen displays a little better. I got tired of using the default wallpaper, one per monitor, and prefer to stretch the same continuously wallpaper across both. Feel free to grab the wallpaper and use it yourself.

Ubuntu 10.04’s Themes…

If you’re a regular to the world of Linux news then you’ve surely heard the news of Ubuntu 10.04’s new “theme shakeup” and probably seen screenshots of the two new themes that are still in the process of being tweaked and finalized.

I’ve been using the new wallpaper and themes since they were first introduced and I’ve began to love and hate them at the same time. I’ll try to explain why.

<rant>

The theme that I’m using of the two is called Ambiance (the other is Radiance, which is brighter) and it seems to be the best based on appearance in my opinion.

Ubuntu 10.04 Ambiance

As you can see from the screenshot above (click to view a larger image) the title bars have a smooth gradient touch that even works well with transparency (seen in the windows that aren’t focused).

The window controls have moved to the left-hand side by default and have also been reorganized, which can be task to get used to as I’ve only finally began to feel comfortable with the controls on the left-hand side.

Side note: If you’re interested in easily moving these controls around and re-arranging them, you’re in luck!

I can only imagine that the thought process behind the brainstorming session for the window controls position and layout was something like the following poorly executed logic.

Windows is obviously very popular and people relate to their traditional window controls. We can use alternatives to these so we are “different”: “x” for close, “/\” for maximize, “[]” for restore, and “\/” for minimize. Now we can move the controls to the left side of the window to please all of the apple fans. Save. Commit.

The window controls are probably one of the most important design points to any theme. While it appears that Ubuntu is going for a more polished and professional appearance, its going to be near impossible get the polished feel of Mac OS X and the traditional simplistic controls from Windows to integrate together using the new colors that Mark Shuttleworth and his team have chosen.

Many people across the Ubuntu forums and blogosphere are repeatedly comparing Ubuntu’s new theme designs to Mac OS X. While they are correct in identifying the similarities, they are missing the fact that Mac OS X is a continually highly polished operating system with the user interface being one of the main attractions. Rounded window controls and gradient windows aren’t going to be enough to attract users the way OS X does.

The Ubuntu 10.04 Ambiance window controls don’t even have decent hover effects for the current window (window with the red/orange close button).

I for one want to see uniform and consistent icons for all applications as well as attention to folders, drives/devices and thumbnails on the desktop and in other folders. The default orange folder icons have been around for far too long and are in desperate need of some updates.

Moving on, the scrollbars have very little hover attention. While its generally a good idea to be subtle with interface hovers and interactions, the current implementation seems to harm more than help. Rather than fading darker on hover or introducing a bolder border (as XP does), it simply brightens by minimal amount. This isn’t enough visual confirmation to assure the user that they are indeed interacting with the scrollbar.

The scrollbar up, down, left and right arrows have absolutely no hover or press affects. This is a major interface failure and I assume it will eventually be corrected before the theme is finalized. Until then, its a major bug in my opinion.

The buttons. If you look at the screenshot again (from above) you’ll notice how boring and unimpressive the new buttons are (apparently I’m not alone). One thing that I’m impressed with is the was they’ve created a common design between fixed combo boxes and buttons. While the general design of the buttons is just not impressive at all, the thought behind consistency here impresses me.

What doesn’t impress me is the choice of colors for selected and enabled controls..

Window controls (buttons, checkboxes, radio buttons, tabs, etc)

Highlighted button example

To me, this idea that purple and orange are going to be widely accepted among new and current users is just absurd.

I’m sure many people tend to just deal with skins and themes rather than trying to find alternatives that are more friendly. I find that I never need to adjust themes in Windows or Mac, but Linux themes seem to have a history of being poorly designed or poorly executed.

I can see how making the Terminal transparent can be attractive to users who know how to even open it, but what were they thinking when they decided to make it purple?

Seriously? A Purple Terminal Window? WTF?

Anyone serious about Linux is going to be using the terminal. Even those who are not so serious about Linux will be subject to opening the terminal to enter obscure commands as solutions to problems that they don’t remotely understand.

I just don’t see purple being as commonly accepted among the male user-group as I do among the female user-group for integration into the default theme. The point in that being that the themes should be more gender neutral with the purple coloring. Especially in the tooltips, OMG! ;)

Another common complaint that I’ve seen among fellow Ubuntu users (and a recent blog post) is the default title bar font which is very bold and not very attractive. One thing I wish they would adopt from Mac is the use of text shadow. In CSS this would simply be something like “text-shadow: 2px 2px 2px #ccc;“. Mac OS X uses a brighter shadow to enhance the appearance of the title bar font in a very slight and elegant way.

While this is a major change from the previous default Human theme, Ubuntu still presents itself as unpolished and unprofessional. Developing a truly unique and efficient interface is without a doubt a difficult task. The previous interface promises that were abandoned are proof of that. However, the importance of introducing a polished interface can’t be stressed enough.

Developing a truly polished interface takes time. This is one thing that is not on Ubuntu’s side with the release of Ubuntu 10.04, which is to include the new theme, scheduled for April 29, 2010 (less than 2 months away).

What they should have done is start this new theme back in the developmental process of Karmic and only installed it through the community-themes package. This would allow people to easily test the theme and provide a fair amount of time to turn feedback into progress. If they had followed this model, the new themes would be very matured by now and especially by the final release of Lucid.

While the final release may produce a polished set of new themes for Lucid, just remember that they could have been (read: should have been) more polished and thought out. ;)

</rant>

In case you were interested in seeing the Radiance theme..

Ubuntu 10.04 Radiance

While there are many other flaws that I’ve encountered in the new themes, the ones mentioned above are in my opinion the ones that are most important. If you’ve got opinions about the new themes, voice your opinions and share your ideas!

Making My.Opera more social

I recently posted an idea in the “Idea Mill” for Gwibber which is a social client for GNOME developed with Python and GTK+.

My idea is to evolve My.Opera from a traditional web browser based social community to a client based community so that users can quickly and effortlessly update their status, reply and receive private messages, follow community updates and more.

This project will require a large effort to get going from the start, but would help the My.Opera community grow by making the service available to a larger crowd.

The current problem with My.Opera is that it depends on a community of Opera enthusiasts. Lets face it, Opera has a very small market share when compared to the current leading browsers. If the community is to truly succeed it would make more sense to remove the requirement of being an “Opera fan” and focus more on making the service a social success such as Facebook or Twitter.

With my idea, My.Opera could integrate with applications such as Gwibber and TweetDeck to allow users of the online service to easily follow others, review and update their private messages, keep track of community updates and stay updated in general with the activities available at My.Opera.com.

Here is my mockup for Gwibber:

As you can see, My.Opera would be able to attract users in a fashion nearly identical to that of Twitter with features that already exist and have existed for some time now.

The only current setback….My.Opera doesn’t offer an extensive API to make this idea possible. While they do have some API support in place, they lack what is needed (AFAIK) to make this support possible without fetching and parsing pages designed for a web browser.

The inclusion of this support would be very beneficial to My.Opera, especially when Ubuntu 10.04 is release with default integration with the social client Gwibber.

Making this giant step into the micro-blogging and “friending” era via clients would also be very beneficial to Opera Software ASA’s business model. With more people joining the My.Opera community (after seeing the service support in Gwibber and other clients) the number of people exposed to the Opera browser would be fantastic!

This could potentially be a game changing move for Opera and it would be wise to take advantage of it as soon as possible with the current popularity and high demand for social micro-blogging services today!

If you’re a frequent My.Opera user and you’re interested in this idea for Gwibber and potentially other social clients, please cast your vote to show support and let the My.Opera community developers know that you’re interested!

Gwibber + U.NU

I’ve been using Gwibber on and off for a while now, but recently I’ve started using Ubuntu 10.04 full time and Gwibber has now been directly integrated.

Back when I used Gwibber before, it was a half-developed Twitter client. Its much more than that now and its progressing nicely!

Gwibber 2.29.90.1

Some people might compare it to TweetDeck for Windows, but it has a little ways to go before its as feature complete as TweetDeck.

I’ve decided to start making contributions to the client via user interface improvements and improving service reliability among other things. However, I’ve started with a simple contribution that is one requirement for me…the use of my favorite url shortener service: U.NU

U.NU is your basic url shortening service, but it lacks a great deal of features that other services typically offer such as detailed statistics for each link. This doesn’t bother me, as the most important thing to me is a short url. ;)

Now that I’ve submitted a (very) simple python script that enables a new url service in Gwibber, I’ve marked a point where I’ve actively began contributing to the open source community (to applications that are not my own).

Gwibber is now a part of Gnome so I’m hoping that when Gwibber 2.30 is released, along side Gnome 2.30, they will include my little patch/contribution so I can use my favorite url shortener in my tweets. This is the beauty of open source. :D

If you’re curious about the theme I’m using, it’s the Homosapien Metacity theme. I used the online Homosapien Metacity Customizer to get the blue theme though. You can make your own remix of this theme there if you wish or you can just download the exact one that I’m using.

Ubuntu 10.04 and LifeCam VX-1000

If you’re using the same web cam that I’m using, the Microsoft LifeCam VX-1000, then you may already be familiar with the difficulties involved in the process of getting this web cam to work in Ubuntu…or rather, the difficulties that were involved.

After countless days spent and hours wasted over the past 4 months that I’ve owned this web cam, I had not been able to find a solution to see it work even once.

The problems I ran into were that the few solutions for this camera were specifically for 32-bit Ubuntu, while I’m using 64-bit Ubuntu.

Typically these days, this type of problem isn’t architecture specific in Linux, which means that fewer people have to battle the problems that are unique to x86_64 platforms. In my experience with Ubuntu, x86_64 application/firmware support 4 years ago was a joke. Today, x86_64 support is commonplace and practically a standard.

After upgrading to Ubuntu 10.04, I was able to see this support change yet again! Without configuring anything in Ubuntu 10.04 x86_64 the video feed from my web cam was working flawlessly (I tested using Cheese 2.29.90)!

There is the small matter of getting the mic on the web cam to work, but for now I’ve got an old mic that plugs into the ports from the motherboard. So I will have sound, just not through the web cam just yet. Hopefully I can find a solution to this as well, in which case I will be sure to link you to. ;)

In the future, I’d also like to submit a patch or hack to enable the LifeCam Call Button like I did previously in Windows 7 so that you can configure what the button should do…take a picture, video, start a call or chat, etc.

Google Buzz

Now that news has spread about a potential “Twitter-Killer” coming from Google as early as 10:00am tomorrow (according to trending topics on Twitter), its time for my own dish of speculation.

Around a week ago, I read a blog post mentioning that Google’s Gmail has restricted the use of the label “Buzz”. Reading this, I immediately attempted to create a label named “Buzz”in my own Gmail account and the rumor was confirmed.

Playing off of this small find, I wonder if Google will release a product named “Google Buzz” that integrates into Gmail so you can follow “Twitter-like” updates by simply clicking on the Buzz label.

According to TechCrunch, the new product will be integrating at least two existing Google products, while one is highly speculated to be Gmail. This is where my theory with the Buzz label comes into play. ;)

What do you think this new Google product will be? Any speculation? We’ve all got until 10am Feb. 9, 2010 to guess!

UPDATE (2009-02-09):
It looks like my speculations were correct. TechCrunch has a short write up regarding Google Buzz.

UPDATE 2:
If you want to start using Google Buzz right away and its not integrated into your Gmail account yet (it should appear between the Inbox and Starred tabs once its been integrated, but it will take some time for most people to receive the update) you can use it on your mobile (iPhone/iPod Touch/Android device) by opening your browser and navigating to “buzz.google.com“. That’s it! Hope your busy buzzing!

My Guide to Jailbreak the iPod Touch

I recently made a quick list of steps that I followed a while back to jailbreak my iPod Touch as I usually do to keep as a reminder guide in case I have to go back and do it again. You can use this on your iPod Touch and/or iPhone, however, the iPhone is a little more risky as you could potentially brick your device if you don’t create a proper restore point or backup prior to jailbreaking it.

I thought I would post it here so others can find it and use it as I most likely will again in the future. So…below is my “quick and simple” guide (copy/pasted from my bbPress forum post) as well as a few things you can do with your device after you’ve jailbroken it.

Index:
I… Preparation
II.. Jailbreak
III. Securing your jailbroken device
IV. Installing apps and customization
V.. iPod/iPhone with Ubuntu
VI. Previews of my iPod

Notes: It is no longer required to Jailbreak your iPod/iPhone in order to use it with Ubuntu. If you only wish to use your device in Ubuntu, simply follow the link in Step #10 and ignore the steps to Jailbreak your device.

Preparation
1. Update your iPod via iTunes to the latest firmware available.
2. Backup your iPod to allow future system restores (in case of an error).

Jailbreak – (more detailed guide)
3. Download “Blackra1n” http://www.blackra1n.com/
4. Open “Blackra1n” and click “make it ra1n”
5. Wait until you are prompted with a message similar to the following:
“Your jailbreak is done once the phone reboots.
If this was the simplest jailbreak ever, …”
6. Now simply wait for your device to reboot on its own. It can take a minute or two to reboot. (If you ever reboot or turn off your device in the future, you will simply need to connect it to a computer and click “make it ra1n” to reboot it after its been jailbroken. Also, iTunes must be installed for “Blackra1n” to work correctly.)

Installing apps and customization
7. Download the “Cydia” application from the new “Blackra1n” app that should now be on your device.
8. Download the following apps from Cydia (some require a reboot so don’t go too far from a computer…as noted above).
—1. Categories – This enables you to create folders on your springboard and better organize your icons.
—2. WinterBoard – This allows you to install (seperate) themes to further change the appearance of your springboard, unlock screen, icons and panels.
—3. MIM (Make It Mine) – This allows you to change the carrier name (iPod, iPhone or whatever it may be) to something more personalized. Mine is “kyPod”. You can also change the banner (where the time is usually displayed) to anything you’d like as well. I left my banner default (time).
—4. Install themes, navigate to the Winterboard app to find and activate them.

Securing your jailbroken device
As with any hack, there are risks. One of those risks is that your device can become infested with a few nasty viruses that have recently made news headlines. To avoid this, simply follow the steps to change your devices default SSH password. Steps are also provided in your Cydia application towards the bottom of the home screen labeled “Change Root Password”.

9.  Open the Cydia app. Scroll down to find the guide labeled ”Change Root Password”. Scroll down to Step #4 in the Cydia guide labeled “Change the mobile Password”. If you connect to your device via a terminal window (Mac or Linux will work or you can download the “Terminal” application via Cydia and use it) you can connect via SSH using the “su root” as the root user and “alpine” as the default password. You want to change “alpine” to something different so the typical virus won’t have your default password. After logging in via root, type “passwd”. You will now need to enter your new password twice (it will not appear as you type it as a security measure). After you’ve entered your new password, exit the terminal…you’re done! You may also change your mobile password if you wish by starting the password change with “passwd mobile”. This may or may not be beneficial to you.

iPod/iPhone with Ubuntu
10. Following the directions that I discuss and point to at the following location:
http://kyleabaker.com/2010/01/17/ubuntu-ipod-touchiphone/
It is no longer required to Jailbreak your iPod/iPhone in order to use it with Ubuntu. If you only wish to use your device in Ubuntu, simply follow the above link and ignore the steps to Jailbreak your device.

Previews of my iPod

Ubuntu + iPod Touch/iPhone

Updated Information at End of Article

After spending a great deal of time researching Ubuntu and iPod Touch/iPhone sync issues, I’ve finally found a solution that isn’t a dreadful experience.

There is currently a project in the alpha/beta stages that, when completed, will provide sync support for the iPod Touch and iPhones that are using Firmware 3.

If you’re not using Firmware 3 on your iPod Touch or iPhone, then I’m not sure how much this guide will apply to you. You can try looking here for more information.

If you are using Firmware 3 (my iPod Touch is running OS 3.1.2), then I’d suggest you following the guide provided by A. Tres Finocchiaro (aka FatButtLarry) over on his blog.

Following his guide, which is comprised of two lines of terminal commands to copy-n-paste, I was able to have my iPod Touch sync’ing in no time!

While the transfer speed seems to be a bit slow, it is indeed working well! Cover art is transfered flawlessly, everything seems to be in order!

Remember that this project isn’t complete and you are likely to encounter bugs. My experience thus far has been positive, your mileage may vary. Good luck. ;)

Update (2010-02-24):
If you are using or plan to upgrade to Ubuntu 10.04, you will not need to manually install any of the software mentioned above. Ubuntu 10.04 brings support for the iPhone and iPod Touch by default. You should not have any problems with your device and Rhythmbox!

Solution To WordPress getimagesize() Error

If you’ve for whatever reason noticed that your WordPress website is generating errors similar to the following then I may have a solution for you.

Warning: getimagesize(/home/.some-dir/example.com/folder/httpd.www/wp-content/uploads/some-image.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/.some-dir/example.com/folder/httpd.www/wp-content/blah/blah/blah.php on line 123

I noticed that some pages that generated image information were printing errors out on my pages with private server file structures included. Generally you don’t want to see this printed out to the public. ;)

I’m not guaranteeing a fix for you, but rather what worked for me.

If you are getting an error link the one that I’ve listed above, more specifically the “failed to open stream: No such file or directory,” then you may be about to fix it in only a few minor steps.

Things you will need:

  • FTP (I use FileZilla)
  • phpMyAdmin
  • Ability to add a new plugin to your site
  • Patience

Procedure

Single quotes must be the normal ascii quotes. Chances are, if you copy and paste from my blog, they will be the wrong type so double check that as it could give you problems. ;)

  1. First and foremost, make sure to backup your entire database to a safe place. I’m not liable in the case that you don’t backup your database and this procedure borks your blog (or any other case for that matter). ;)
  2. Create a new file named “abstest.php” and upload it to your blog’s root directory after entering the following code into it:
    <?php define('ABSPATH', dirname(__FILE__).'/'); echo ABSPATH; ?>
  3. Open a new browser tab and navigate to “http://www.your-website.com/abstest.php“. You should find a short page with the printout of your servers absolute path.
  4. Check that the path provided by this test file matches the base path printed out by the getimagesize() error exactly. In my case, my server had changed slightly so the differences were similar to the following:
    /home/.some-dir/example.com/folder/httpd.www/
    /home/example.com/folder/httpd.www/
  5. If you find a mismatch, then you’ve found your problem and the rest is simple. If not, then my tips will most likely not solve your particular WordPress error(s).
  6. If you’ve found a mismatch, then continue: Open a new browser tab and navigate to your phpMyAdmin interface. Select your WordPress database, then click Search. I searched all tables for a match of the path that was different, in my case it was “.some-dir/“.
  7. If there are matches found then you need to click the SQL tab at the top (preferably in a new tab) and paste the following (making sure to edit it to match the table and fields you need) and run it to find and replace that changed part of the path.
    update TABLE_NAME set FIELD_NAME = replace(FIELD_NAME, ‘find this string’, ‘replace found string with this string’);
    For more information on SQL find and replace, either search Google or read this.
  8. After replacing all of the affected tables and strings, your images should be properly address. You’re not done yet though.
  9. Open WordPress Plugins and add/install a plugin named “Regenerate Thumbnails“. After installing it, make sure to activate it. ;)
  10. In your Admin panel, find the Tools menu and expand it. You should see a menu item labeled “Regen. Thumbnails”…click it. This will open a page with a start button. Clicking this button will begin the process of correcting your thumbnail dimensions as well as other metadata. It will take some time depending on the number of thumbnails you have accumulated.
  11. After the progress bar reaches 100% it will notify you that it is complete. You’re all done! You may need to clear your cache to refresh any pages that still generate the previous error message.

If you had any problems with the above mentioned procedure, I would suggest restoring your database using your backup copy and either trying again, paying someone to do it for you or just forgetting about it. ;)

If it works then great! If not then sorry you’ve wasted your time. It worked for me, so maybe it will work for you as well. :D



 

March 2010
S M T W T F S
« Feb    
 123456
78910111213
14151617181920
21222324252627
28293031  
The W3C validators rely on community support for hosting and development.
Donate and help us build better tools for a better web.