The Most Sexiest Park in Korea

Click on the image to enlarge the photos

   

   

  

Are you interested to visit Korea now? Let’s propose to our government to build one in Malaysia. We replace all the female actors with Tudung / Womens Scarf on their head.

How come our tourism ministry never think of such good idea to generate more income for our country. I guess, they spend too much money to build cracking Bridge. Let’s sing a song for our government and dedicated to Mr.Sammy Velu

Kepong Bridge is falling down,
Falling down, falling down.
Kepong Bridge is falling down,
My fair Samy.

Take a gag and shut us up,
Shut us up, shut us up.
Take a gag and shut us up,
My fair Samy.

How will we build it up,
Build it up, build it up?
How will we build it up again,
My fair Samy?

Build it up with tax and toll,
Tax and toll, tax and toll.
Build it up with tax and toll,
My fair Samy.

Roads and bridges bend and break,
Bend and break, bend and break.
Roads and bridges bend and break,
My fair Samy.

Blame it on an Act of God,
Act of God, Act of God.
Blame it on an Act of God,
My fair Samy.

Rocks and blames will wash away,
Wash away, wash away.
Rocks and blames will wash away,
My fair Samy.

Parody sing along to “London Bridge Is Falling Down”

Tagged Under ( )

HTTP Compression in ASP.NET 2.0

These two days, I was looking for a way to enable HTTP Compression in ASP.NET 2.0 for my project - AquariumFishExporter.com.

Last time, I tried to enable to http compression in IIS6 for ASP.NET 1.1. Here is a good guide to follow - IIS Compression in IIS6.0. Currently, I am using a shared web hosting with no access to the server configuration. So, I have to find a way to enable the compression without touching the IIS settings.

At first I tried the Mads Kristensen’s way of compression.


The new System.IO.Compression namespace in .NET 2.0 makes it easy to implement HTTP compression without having to touch IIS. The best thing about it is that you no longer need any third party compression components, it’s all build directly into .NET Framework.

There are different ways to implement the compression but I think an HttpModule is the right choice for this feature. Let’s create one and call it CompressionModule.

The CompressionModule must adhere to the following rules:

  • Support both GZip and Deflate compression
  • Only compress if the browser supports it
  • Simplest possible implementation

These rules are important to make sure that the compression will run smoothly in every situation.

Implementation

Download the CompressionModule.cs file below and add it to the App_Code folder in the root of your website. Then add these lines to the web.config’s <system.web> section.

<httpModules>
    <add type="CompressionModule" name="CompressionModule" />
</httpModules>

That’s all you have to do to enable HTTP compression on an ASP.NET 2.0 website.

Download

 

CompressionModule.zip (0,75 KB)

Unfortunately, the compression is activated but all the javascript validation doesn’t work as expected. It caused by the compression on the WebResource.axd.

The .NET 2.0 framework changed the way clientside JavaScript is delivered to the browser. Previously, ASP.NET 1.1 used the aspnet_client directory whereas now 2.0 uses WebResource.axd.

The only solution to solve this problem is exclude the compression on WebResource.axd. But, I couldn’t find a way to do it.

Then, I tried a another famous Http Compression engine for ASP.NET 2.0 - Blowery.

Blowery - This is a pretty simple recompile of the version 6 source, targetting the 2.0 version of the .NET Framework. It now uses the built-in deflate and gzip streams found in System.IO.Compression instead of #ziplib. I consider this a beta release; please test it thoroughly before releasing it onto any production systems. [Binary Only, Source Only]

Here is the implementation plan:

  1. Download the Binary DLL.
  2. Extract the package and copy the extracted files into the bin folder of your .Net application.
    blowery.Web.HttpCompress.dll
    blowery.Web.HttpCompress.dll.xml
    ICSharpCode.SharpZipLib.dll
    ICSharpCode.SharpZipLib.dll.xml
  3. Modify your Web.config
    1. Add to the configSections
      <sectionGroup name="blowery.web">
       <section name="httpCompress" type="blowery.Web.HttpCompress.SectionHandler, blowery.Web.HttpCompress"/>
      </sectionGroup>
    2. Add to the httpModules section inside system.web (if httpModules section does not exist, create it)
      <httpModules>
      <add name="CompressionModule" type="blowery.Web.HttpCompress.HttpModule, blowery.web.HttpCompress"/>
      </ httpModules>
    3. Add to the configuration section
      <blowery.web>
      <httpCompress preferredAlgorithm="deflate" compressionLevel="high">
          <excludedMimeTypes>
          <add type="image/jpeg"/>
          <add type="image/gif"/>
          </excludedMimeTypes>
          <excludedPaths></excludedPaths>
      </httpCompress>
      </blowery.web>

However, it still giving the same problem on the javascript validation. Luckily, I managed to find Ross Hawkins’s Troubleshooting WebResource.axd. He suggested to download the source code from Browely and change a small code in Line 85, httpCompress.cs:

From

string realPath = app.Request.Path.Remove(0, app.Request.ApplicationPath.Length+1);

To

string realPath = Path.GetFileName(app.Request.Path);

Then, I recompile the library and add it into my project. Finally, it works.

Here is the statictic of enabling http compression:

 

Thanks to Port80 - Http compression Checker

Now, my page load 4.5 times faster. The compression rate is 79%.

Tagged Under ( )

DHL - We deliver.Whatever

Are you looking for a reliable courier service provider? Perhaps, I voted  DHL as the best global courier.

Why? Because We Deliver-Whatever

 

Tagged Under ( )

Why the clock/watch advertisement always show 10:10 ?

I was curious on finding out why the clock/watch in advertisement always show 10:10?

Here is two suggested answers :

  • It looks the cleanest and most symmetrical and shows the brand name, or logo, which is usually just below the center of the face. Some companies have started using 10:08 or 10:12 as the time in an advert because it will keep the longer minute hand from blocking the numeral.
  • It is one of the better ways to view both hands on the watch. Consider that you view things top to bottom so by having it at 10:10 you get a clear view of the hands when glancing at a watch in a photo - versus having to find them if set at 5:40 for example.

Do you have any other answer?

Tagged Under ( )

How to create a good Affiliate Banner?

Nowadays, I was researching on internet marketing. I read tons of blogs and articles. They keep talking about TRAFFIC (not traffic jam :))- it is Web Traffic. One of the most common way to achieve a high volume of traffic is create your own affiliate program. One of the key component of the program is Affiliate Banner. Then, try to place your banner everyway such as forum, blogs and websites. Your banner must be attractive and meaningful. Here is some tips to create a Effective Affiliate Banner

  • Small file size
    • Ideal size is between 10K and 15K.
    • Why? because People have no time to wait. A large .gif or .jpg file takes a few seconds to download, wherein the visitor may have either left the page or just scrolled down the page without seeing the banner.
    • Conclusion: Big File Size = No See = No Click
  • A clear call to Action on your banner.
    • Most common message for the call are ‘click here’ or ‘sign up now’, where you guide the user to click on the banner.
    • The main reason this has to be included is that people are so used to off-line advertising where people just see banners, without having to do anything. Frankly speaking, I am one of those :) They are usually not aware that they have to click on the banner to find out more! So make it a point to have a call to action on your banner ad to improve the effectiveness of the banner.
    • Conclusion: People are stupid. Give them an instruction to CLICK.
  • Small Animation
    • People are always more attracted by moving elements in a banner.
    • As the whole idea of banner advertising is to grab the attention of the reader, using small animation in the banner is sure to achieve this.
    • However, make it small because if the file for the animation is large, then its downloading time will be long.
    • Conclusion: (Small Animation with small file size) = Attraction and Efficient
  • Color
    • Use bright colors like blue, green and yellow. This is proven as it have a higher CTR than black and white banners. The color red should be used sparingly.
    • Conclusion: Bright Color = Comfortable + higher CTR
  • FREE
    • Do you like the word "FREE". I guess everybody like it. Thus, It is quite advisable using the word “free” in the banner as you are bound to get more clicks this way.
    • Of course, you should decide on this free offer, according to the object of the banner ad. Show the reader that clicking on the banner will prove to be beneficial to him or her.
    • Conclusion: People is CHEAP. Like to look for FREE things. FREE = CATCH.
  • Ask a Question
    • People will pay more attention when looking at question compare to normal fact text.
    • You could place questions like ‘do you want more traffic’ or ‘need help with taxes’ in the banner, wherein the answer is found on your website.
    • People don’t have the patience to read long banners; so keep them short. When people click on a banner, they want to go directly to the web page to find the information they want. They don’t have the patience to end up on the home page to go hunting for the required information.
    • Once they enter your homepage, then it is the time to kill them!
    • Conclusion: Question = more attention.

Tagged Under ( )