Archive for the 'News' Category

Amazon launches CloudFront

I was going through my cluttered mailbox when I came across that amazon had launched CloudFront! This is a new web service that can distribute content using a worldwide network of edge locations that provide low latency and high data transfer speeds. It works with S3 out of the box!

This is awesome news because I had been fretting over the issue of slow content delivery in different geographical locations for an upcoming project. Traditional methods would have required the content to be mirrored across geographically targetted locations and then code had to be written to take advantage of these servers in different locations.

The server distribution is as follows currently, which I guess basically serves the major markets in the world today.

United States

  • Ashburn, VA
  • Dallas/Fort Worth, TX
  • Los Angeles, CA
  • Miami, FL
  • Newark, NJ
  • Palo Alto, CA
  • Seattle, WA
  • St. Louis, MO

Europe

  • Amsterdam
  • Dublin
  • Frankfurt
  • London

Asia

  • Hong Kong
  • Tokyo
I will be playing with the service very soon once I find time and I’ll post my findings.

Hmailserver version 5 adds support for SSL!

This is awesome news, I just found out that Hmailserver version 5, which is currently in beta, adds support for SSL. I guess that is pretty awesome news to server administrators running hmailserver (I am one of them). In case you haven’t heard of hmailserver, it is a pretty solid free mail server that runs on windows servers. I have been running it for years now and it has served me very well so far. There is even API support that you could tap on for your applications.

The Actionscript Conference: Singapore!

Alright! Its finally here! The Singapore Flex Usergroup has gotten down to organising the first locally produced (can anyone verify this?) Actionscript conference right here in this lovely island. For the past year, the FUG had the honour of inviting several wonderful speakers and we continue to appreciate such knowledge sharing and networking sessions.

If you are dropping by Singapore in the month of October around the 19th, do visit us at the conference!

The Actionscript Conference

Firefox 3

Just tried out Firefox 3 today on Windows Vista and overall the browsing experience feels faster. The app crashed on me within 1 hour of usage while watching a quicktime video once, but didn’t repeat the crash later on. Another issue is that I can’t seem to use the Zazzle website with Firefox 3, I wonder if its Zazzle’s fault or Firefox, but for now I have to use IE7 to do my stuff on Zazzle.

Have not taken the opportunity to test the wmode=”transparent” bug that existed in FF2. But I’ll try it out later and post the results here.

Many plugins like FlashTracer and the RealPlayer Browser Record Plugin are also incompatible with FF3 so hopefully these can be resolved soon.

Support PhotoAid for the Myanmar victims

This post is totally unrelated to RIA and stuff but i figured that it was important to be aware of happenings around the world and for developers like us to do our part to help these people (:D)

If you happen to be in Singapore or are in Singapore, head down to the merlion park opposite the Fullerton hotel to take a photo by the photoaid photographers against the merlion and the proceeds will all go to the Salvation Army who will then relay the funds to the Myanmar victims.

*I had just realised after a long time that the comments functionality in my blog was broken, will fix it and change this theme away

Update: My comments are working! I’d love to hear from my visitors! (I have a sudden nostalgia for the web 1.0 guestbook :D )

FUG Facebook Presentation and Flash Player 10 availability on Adobe Labs!

The presentation yesterday was wonderful, thanks to FUG for the invitation to speak on facebook applications. It was great to catch up with some of the guys in the UG especially Ryan whom I have not met for quite some time. Ryan runs flashmove.com and they have a pretty awesome community there in the forums.

My slides and a recording of the presentation are available on fug.sg and the Memory Leak/GC demo is available at http://alvinzhang.com/gctest/index.html

I have made the source available on that page as well. Also took some time to file the online bug report to Adobe, hopefully they can resolve it asap, especially when we have first glimpses of flash player 10.

Flash Player 10
The new flash player 10 is off the hook. Im very impressed with its new features like the support for hydra filters (custom filters) and 3D support coupled with hardware support for rendering graphics, so for guys who have that ever powerful Geforce 9800 in your system, it can finally work its engines on this new version of flash player.

Unfortunately, some quick tests reveals that the new flash player 10 suffers from the same memory leak that flash player 9 suffers from (that is demonstrated in the GC demo above, you can test it against FP10 as well). Hopefully the guys over at Adobe fix this ASAP in time for the release of the flash player 10.

I have not tested the connection bug where downloads persist after the unload of a loader object. Will do it when I have the time.

Lastly those cool demos on http://labs.adobe.com/technologies/flashplayer10/demos are crippled by the inability to download the sources :( Please fix this please!

You can get Flash player 10 at Adobe labs: http://labs.adobe.com/technologies/flashplayer10/

Exciting times lie ahead for the RIA scene.

Support the Turbanizer!

Had just done up the beta for Turbanizer.com :D It is an application that allows you to turbanize your friends. Theres a range of turbans to choose from and you can grab photos from Facebook or Flickr :)   Do let me know what do you all think after using it!

Turbanize your friends here!

Wordpress 2.5 + K2 upgrade successful!

Have just successfully upgraded wordpress to the latest and greatest 2.5 and I think they have done a really good job. Wordpress boasts a very powerful blogging engine and most importantly, it is very user friendly and easy to install.

For those who have K2 on the previous version of wordpress, you might encounter a fatal error after upgading. Simply upgade to K2 RC5 from the SVN nightly release while Steve from K2 is working hard to push out a release.

I am currently using this SVN that appears to be working fine except for some quirks with the layout:
k2-RC5-revision-652-2008-04-02.zip

Adobe Photoshop Express

Adobe launched Photoshop Express today, I think its pretty cool considering that they did the thing on Flex, gonna head over and try out their new service. Only gripe I have is the 2gB limit on photos, nowadays, its easy to fill up 2gB easily. But currently it looks pretty good, in-line with the growing web applications that are served over the Internet. Go over and try out this new service:

Link to Adobe Photoshop Express: https://www.photoshop.com/express/

capture.JPG

Installing PHP5 on IIS7 in Windows Vista

Server Crash
For the past week or so, the server hosting the blog crashed bad and had to be sent in for repairs and the recovery process was a very tedious one. Kudos to the people over at 8toinfinity for working throughout the week to bring the server back into shape. The fortunate thing was that we didn’t lose data thanks to RAID mirroring and everything was more or less preserved.

Setting up PHP5 on IIS7 in Vista – My journey of exploration and discoveries
In the meantime I had attempted to set up PHP on IIS7 on my local machine to do some testing and ran into some issues with the latest version of PHP 5.25 Win32 installer while setting it up with IIS7 on Windows Vista. Apparently after using the installer, IIS7 on Windows Vista actually does not get modified properly to support PHP out of the box. A bit of disappointment there but I proceeded to remove PHP5 via the uninstaller and downloaded the zip package to do manual set up. That was where the problems set in. I kept getting an error where my IIS Worker Process kept crashing resulting in the Default App Pool to get shut off after repeated failures to launch a dll or exe. (Take note that im setting up FastCGI for PHP on IIS7).

Somehow after removal of PHP5 via the uninstaller and using the zipped version, PHP was still trying to use the php5isapi module although I had removed it from IIS completely (or so i thought). Here is the error you might see although php5isapi had been seemingly removed: (IMPORTANT: The following are NOT steps to be followed for a clean installation of PHP on IIS7)

Here is what you need to check:

Start >Run > “cmd” (Bring up your command prompt on Vista)

Navigate to your <Windows Directory>\System32\inetsrv folder (e.g. C:\windows\system32\inetsrv)

Then execute the following command: “appcmd list config -section:globalmodules

You should see an XML list being shown that shows the installed modules in your IIS.

Look for this:

<add name=”php5isapi” image=”C:\php\php5isapi.dll” />

If it exists, it means php5 was NOT uninstalled properly. So we need to remove this entry before FastCGI will work.

Use the following commands:
C:\Windows\System32\inetsrv>appcmd set config -section:globalmodules /-[name='php5isapi']

If successful, you will get the following message:
Applied configuration changes to section “system.webServer/globalModules” for “MACHINE/WEBROOT/APPHOST” at configuration commit path “MACHINE/WEBROOT/APPHOST”

Try listing the modules again and the php5isapi node should be removed.
C:\Windows\System32\inetsrv>appcmd list config -section:globalmodules

With all these done, you can then proceed to set up FastCGI for PHP on IIS7 by

Running: fcgisetup.exe /install /add c:\php\php-cgi.exe php

from the directory on which you downloaded the FastCGI package.

This should set up PHP FastCGI on IIS7 automatically.

If your app pool was stopped (e.g. defaultAppPool), simply restart it in IIS7 and try to load the php page again. It should work.

You should see the following handler mappings in IIS7:

You should see that php-iisfgi is in the list, this means the PHP FastCGI module for  IIS7 is installed properly.

Lastly, just a few quick notes (this is nothing related to the above, but just a reminder just in case you were as silly as I were):

  1. For those who are unable to locate your php.ini and are about to bang your head (or have already banged your head on the desk)
    You have to add the path to your php.ini in an environmental variable called PHPRC not in the TEMP variable
  2. ISAPI and CGI support modules are not installed by default when you install IIS by just checking IIS in the program and features.
    Go back to Program and Features > Click on Turn Windows features on or off on the left sidebar and follow the following diagram making sure that ISAPI and CGI support is on. ( You can choose either depending on what PHP executable you are using )

Yep thats all I have for this post, hope this helps for  people trying to set up PHP5 using FastCGI on IIS7 :)

Cheers!