Line

Running Flash projector in kiosk mode

0 December 11th, 2009

Recently I created a work using Flash to play video file to create a computer-generated narrative by playing the files in certain orders. When done writing the ActionScript for the project and sure that it was going to work as designed, I came across another problem: how to install it in the gallery space so that it can be running by just turning the projector on and booting the computer. Due to the fact that the space in which the work is installed is run by mostly non-techies, the ability to make the work run just by turning it on is a requirement.

The problem that emerged later during installation was that to make the Flash projector run fullscreen on boot up was quite difficult. I tried using task scheduler to make the application run at full screen after the auto-logon feature of Windows XP, but the taskbar always appeared in front of the projector. I even tried to tweak the registry to hide the the taskbar on startup without success. In the end, I managed to run the projector fullscreen on bootup by putting a shortcut to the projector in the startup folder in the start menu.

With the shortcut installed in the startup folder of the start menu, Windows XP will boot and the computer will automatically logon to the desktop and then when the sequence is completed, the projector will be started at fullscreen.

As it turned out, running the projector at fullscreen in a fully-automated sequence was the least of my problems. I also had to deal with the memory leak issue in Flash player 9 and 10, especially with the use of the timer object. The whole installation would grind to a halt after a couple of hours due to these problems.

Browsing sweetly with Google Chrome on Mac OS X

0 November 28th, 2009

Since I have been having some performance issues with Firefox 3.1.2 on my Windows XP laptop, I switched to using Google Chrome experimentally, to see if it was some issues with my hardware or just something I picked up from upgrading to a newer version of Firefox. During the experiment, I grew to love the snappy performance of Google Chrome on my Centrino Dell laptop. It seemed to just start without much hesitation and it would quickly chew through my browsing history as I am typing a URL, without the hiccup that Firefox seems to go through at startup.

Naturally when I went back to using my MacBook running Leopard 10.5.8 I felt that I was missing something. Even though browsing the net with Firefox on the MacBook was generally pretty snappy, I felt a longing for something similar to the Chrome experience on Windows XP. Since I heard that the Chromium team was releasing experimental builds for Chrome on Mac OS X, I thought I would download it and check it out.

I went to the Chromium website and downloaded a zip file containing the latest build of Chromium (version 4.0.223.4 (29381)). I unzipped the file and run it from the folder on the desktop and it asked to be the default browser, so I let it be the default browser. After that, I decided to move it from the desktop to the Application folder and just put a link in the Dock so I can run it without having to search through the folder.

Keeping in mind that this was an experimental build, I was prepared to encounter some bugs and crashes, but so far I have not found any serious ones. The only thing I have noticed is that it makes my MacBook spin the fan hard whenever Flash content was encountered. While this could be a bug in Chromium for Mac OS X, having worked with the Flash player for a while and having witnessed its voracious appetite for system resources on OS X, I am not at all surprised if the bug is in the Flash player itself rather than in the Chromium browser.

All I can say is that this build of Chromium is almost ready for prime time and I have been using it daily for the last four weeks without any major issues. It kind of makes me forget to use Firefox and Stainless for a while. It would be really nice, though, to be able to import all your settings (cookies, bookmarks and all) from Firefox into Chromium.

Photoshop on Atom 330 Dual Core machine

0 October 1st, 2009

In the interest of being green, I have been looking at the idea of building a lightweight machine with a reasonably low power consumption to do simple tasks computing tasks, like updating a blog, writing documents and simple editing of multimedia projects and occasionally running software for art exhibitions. When I first looked around the market, the obvious choice was a computer built around Intel’s Atom processor. It has all the right lows, such as low price and low wattage, but unfortunately it also has a low in performance as well. There are also solutions available from vendors such as VIA, but having owned an HP 2133 that was built around the Via Nanobook platform, I am not convinced that it will be one that can easily run multiple operating systems without a major effort to find drivers, etc.

For the sake of simplicity, I decided to just build around a motherboard from Foxconn with an Intel Atom processor 330 (dual core) built-in, or rather soldered onto the board. The model number for the board is 45CSX and it has 1 slot for DDR2 RAM with a 2GB ceiling. To house the board I also bought a Foxconn RS-338 case which comes with a 150W PSU and enough space for a 3.5″ HDD and a DVDRW drive. Since RAM is so cheap these days, I bought the maximum 2GB size for $40. All up, the rig cost a little under $300 and I decided to mate it to a 24″ widescreen 1920×1080  LCD from ViewSonic.

After installing Windows XP SP3 (yes, I know I should have installed Linux, but I wanted to test the performance of the CS3 suite on this rig), I installed the Adobe CS3 suite to test the machine and see how it performs. Upon running Photoshop CS3 and even together with AfterEffects CS3, I came to the conclusion that this machine is not as bad as it’s been cracked up to be. Photoshop launch seems to be quite snappy and AfterEffects seems to run just fine (takes just as long to launch on my MacBook).

Everything seems to work fine and yes, there was a performance difference compared to my MacBook with a C2D 2.16Ghz processor, but for something that costs a little over a quarter the price I think it is a quite acceptable trade off. So unless you work with Photoshop and AfterEffects in a heavy-duty production, I can recommend this setup as a secondary machine.

In case you are interested, I tested Photoshop on this machine with a file that has 134 layers, each with a mask of its own. AfterEffects was tested with a six layer 1:30:00 length animation.

Update your Wordpress installation before it gets hacked

0 September 17th, 2009

A couple of friends have got their Wordpress blogs hacked over the past week. If you are running an older version of Wordpress, you should update it to the latest immediately.

Working with mod mpeg2 streams

0 September 4th, 2009

Earlier this year, I purchased my first tapeless camera, the Canon FS11. I purchased it to be able to keep an ultra compact video camera with me that will not weigh my shoulders down too much and at the same time I wanted something that would not lighten my wallet a whole lot. The FS11 seems like an ideal candidate because it is reasonably priced and has the expanded built in storage with a possibility for expansion via SDHC cards. It is also nice and compact in size. As a nice bonus, it also has a microphone input.

The problem with these types of cameras is, as I later discovered, was that it encodes the video into an mpeg2 stream, which is then stored inside .mod files. After a few trials and errors to find a good process, I finally settled with using VLC to process the files. Here’s the process that I use:

  1. Download the files to the computer’s HDD and then manually change the extension to .mpg. If you try to play the files without changing the extension, VLC won’t play the files because the extension is associated with an entirely different file format which is to do with audio. So, if you double-click the file to open in VLC, it will not show you anything. By renaming the extension to mpg, VLC will try to read them as mpeg streams.
  2. Because in the .mod files the audio is encoded in AC3 codec, some video players and editors will not recognise the audio in the mpeg stream. To alleviate this problem, I use VLC to encode the audio from the mpeg stream into separate wav files.
  3. In the video editor, the mpeg gives the visual and the wav file will give the audio.

If you are shooting straight for DVD, then most of DVD authoring software will be able to handle the AC3 audio inside the mpeg stream, so step 2 above is not necessary (tested with Adobe Encore CS3).

Google Chrome OS will open new doors (and close windows)

0 July 10th, 2009

With the recent announcement of the development of the Google Chrome OS, the possibilities for the end user has opened even wider in terms of choice of operating system for desktops, notebooks and especially netbooks. An OS with the Chrome browser as its centrepiece will certainly open interesting possibilities for the holy grail of ubiquitous availability of data which is the central tenet in the concept of cloud computing. No longer will the user need to carry their data with them, but the data will come to them wherever they could have an internet connection. This will certainly change how we work, in much the same way as working with Microsoft Word compared to working with Google Documents.

I suspect the new OS will be based on one of the pre-existing Linux distro (Ubuntu?) with the Google layer built on top to enable constant synchronising of data when online and caching mode when offline (ala Google Gears?). When it is released, hopefully it will free us all from having to worry what or which computer we are working on at any given time. To a certain extent, I have already implemented some of the ideas of cloud computing by using Google services to synchronise my calendar on my notebooks and phones. I guess the only other thing that I would like with the Google Chrome OS is cheaper data rates. This issue of data charges is what prevent a lot of people from utlising cloud-based services more often on their wireless devices (phones).

My first online art project searching Flickr using words from Twitter public timeline

0 June 25th, 2009

Lately, my obsession with ActionScript, combined with my activities on Twitter and Flickr made me create an art project. Since it pulls data from both Flickr and Twitter, it is naturally suited to being posted online.

The work basically plays around with the idea of the association that we form between words and images. Putting words next to an image can suddenly shift the meaning of the image, since meaning in an image is quite subjective in a lot of ways. My idea was to create something that is constantly changing according to the data that it can gather. It is by no means some form of AI application. Quite the opposite. The application itself is really quite simple.

Hope you enjoy, here is the link http://www.agit8.org/the_association_of_meaning

Aptana under Ubuntu 9.04

0 June 24th, 2009

Everybody has a favourite HTML editor on a platform, but does anyone have a favourite on ALL platforms? Well at least on the personal computing platform, that is. Well, I must tell you that my favourite HTML editor has been Aptana, which has served me well since I stopped using Dreamweaver exclusively. For me the major attraction of Aptana is its cross-platform nature. I can start work on my Windows laptop, then continue it on my MacBook and then finish it off on my tiny little Linux laptop the HP 2133 Mini note.

At the completion of my install of Jaunty Jackalope (Ubuntu 9.04) on my netbook, I found that Aptana just would not load. It would show the logo for a couple of seconds then it would just come up with an error. After scratching my head for a little while, I tried to look up an answer on Google and I found this thread on the Aptana user forum.

So basically, the issue is the version of xulrunner that Jaunty comes with. Currently it is version 1.9, while Aptana needs version 1.8. To fix this issue you need to download xulrunner 1.8 and unzip it to /usr/lib, so its path would be something like /usr/lib/xulrunner/. Then you create a script which looks like this:

#!/bin/sh
MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.8.1.3
if [ $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME
fi
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
~/aptana/AptanaStudio -vm /usr/lib/jvm/ia32-java-6-sun/jre/bin/java

Make the script executable and then on your panel add an application shortcut to point to this script file, mine is called “aptanastart”. Oh, and you need to have Java installed, since Aptana requires it.

Jaunty Jackalope on the HP Mini-note 2133 part 2

0 June 23rd, 2009

I have found that using Jackalope on the HP 2133 Mini-note to be quite a good experience so far. Compared to installing Intrepid (8.10), the installation process was a complete breeze. There was no need to install using weird methods and there was no need for installing any drivers from VIA to get the display working in the correct setup.

The only issue that can be noted is with the wifi connection manager. It seems after a few hibernates that the connection is stuck at the “getting ip address…” stage. This can be quickly fixed with a reboot. Other than this issue, I have not found any major ones to mention. Sound works flawlessly, Bluetooth works normally and the webcam works with Cheese (I have not tested it to work with Skype or anything like that).

Recently, I also purchased the 6-cell battery for the Mini-note, which makes the notebook (or netbook, if you like) much more usable. Since I use this notebook mainly for writing text, coding and web browsing, I have found that having that extra amount of battery capacity makes the notebook a little easier to use. No longer staring at the battery icon every few minutes to see if I will have time to finish what I am doing. It puts the usability of this little notebook on par with my MacBook and my Dell Inspiron laptop. Using it with little power management and with wifi on seems to give around 3-3.5 hrs of uninterrupted use. What joy!

Had this notebook shipped with Jackalope instead of Windows Vista Basic (standard on all Mini-notes shipped in Australia), it would have been a winner from the start. A 6-cell battery, even though it adds a little to the price should have been standard on all models.

Ubuntu desktop 9.04 (Jaunty Jackalope) on HP Mini-note 2133

0 June 20th, 2009

Having worked on the Ubuntu 8.10 for a few months, when Jaunty Jackalope was released publicly it was a definite temptation to upgrade. Considering it was a real pain to install 8.10 last time around on my HP mini-note 2133 (Via C7 1.6Ghz, 1GB RAM with 120G HDD, originally was loaded with Windows Vista Basic), I was a little hesitant. However, since there were a few reports of success such as this article at bl1nk.com and the semester break is nearly upon me, I decided to bite the bullet.

Having upgraded the BIOS last time around, this time installation was quite sane and smooth. It was so smooth that it happened while I was watching TV without a single glitch. When install was done, I rebooted and voila! The screen worked OK, there was no need for funny hacks or even VIA’s driver to install and Wifi and Bluetooth worked out of the box! When I plugged in my USB modem from Three networks (Huawei E220), it was recognised straight away.

When I was done entering my wifi configuration, I was online surfing the net with a fresh install of Ubuntu 9.04 on my HP mini-note 2133. I have not tested everything so far, but everything that I need from a basic notebook perspective was working quite well.

UPDATE

I have now had sometime to test the webcam and bluetooth and they are both working fine. Webcam works fine through Cheese, but I have not tested through Skype.