Wednesday, December 31, 2008

Goodbye 2008, Welcome 2009!

Ugh. 2008 has been bad for me. I know it has been bad for a lot of people because of the financial crisis and all that. But it has also been bad for me personally.

I never had a worst year in my life like 2008. And now 2009 has begun. Thank God. Like every year a lot of psychics and Feing Shui expert are saying it will be the year of the Ox. And it's going to be bad for people born on certain years.

But I don't subscribe to that. When a year begins it will neither be good or bad. It depends on our behavior and the choices we make throughout the year. If we slack off and constantly make poor decisions as the year progresses then it's going to be a bad year. But if we are constantly industrious and wise, it will turn out to be a good year.

So here is to you all making good decisions and working hard this 2009. Happy New Year!

Monday, December 29, 2008

Cloud Computing in the Year 2009

One of the hottest topic in 2009 is Cloud Computing. What it essentially means is running an application that is hosted somewhere on the internet. Yep it basically SaaS (Software as a Service) renamed.

I have a notion that they renamed it to Cloud Computing to put less emphasis that you are going to rent the software and more on how the system would operate. But anyway I think Cloud Computing would be good for companies to adopt. One of the advantages is that you don't have to maintain a large IT department since your software applications are hosted somewhere else. And also somebody else is maintaining it for you. And with Broadband becoming the standard internet connection, it is certainly feasible.

However, Cloud Computing does present new sets of challenges. If you're internet connection is down, you won't be able to access your software.

Right now I'm pretty annoyed with my ISP (Internet Service Provider). Because I'm getting a request timeout every few seconds. But this can be solved by having a backup ISP. Which is still cheaper than having a large IT department.

And then there is the issue of entrusting your data to a third party. This issue has to be resolve by way of written contracts to make sure that the Cloud Computing service provider will not use the data without the company's consent.

I believe we will see a stronger effort for Cloud Computing in 2009. There are already a lot of technologies in place that would allow people to take advantage of this concept. You got the Iphone, Android, Google Chrome, Windows Live, and many others. Well see.

And with that I bid you Happy New Year everyone!

Tuesday, December 23, 2008

I Hardly Listen to the Radio, I Hardly Watch TV

I used to know the top ten most popular songs in Metro Manila. I used to watch a lot of TV. But now I hardly take a peek. But that does not mean I don't listen to music or I don't watch TV Shows. The difference really is I'm doing everything over the internet. I wonder how long traditional broadcast will last. Maybe 5 to 10 more years and then after that everything will be broadcast using the internet



Nothing Else Matters And Christma... - Metallica
More at MP3-Codes.com

Saturday, December 20, 2008

A Spammer in Google News

I wonder what Google is going to do about this. Go to news.google.com. Then type in the keywords "making money online". You would come across several links from PWO France. But when you come to the site you wont find a news organization but a directory for advertisements. I have always liked Google News because it frees me from having to remember news website. Unfortunately, someone seem to have manage to exploit it.

Thursday, December 18, 2008

Four Things You Can Do To Make Money on the Internet

I stated earlier that there are a lot of possibilities on the Internet. Here are the four things you can do:

1. Provide a service - Do web design. Be a freelance programmer. Do transcription. Be a virtual tutor. Be a remote help desk.

2. Sell a Product - Sell on Ebay. Sell using your own website/blog. Post your product through classified ads.

3. Be an Affiliate Marketer - Chitika, Amazon Associates, and Commission Junction are some of the networks you can join.

4. Start a New Kind of Business that no one has ever done before - There used to be no online bookstore like Amazon. Call centers did not exist. There were no online auction sites like Ebay.

Maybe you have an idea that could start a new kind of business.

Related Link: The World is Yours

Wednesday, December 17, 2008

The World is Yours

If you were ever a fan of Scarface, the 1983 film starring Al Pacino, you would remember the last scene. Tony was shot on the back by an assassin. He falls down from the balcony into a small pool in the lobby below. He floated face down in the water. Beside him a statue was shown carrying the inscription "The World is Yours".

I'm sure most of you find that humorous inspite of the tragic ending. But why did I mention it?

Today I was thinking about eCommerce and I can't help but be amazed at the possibilities available to us today. The world is truly ours but only if we got the imagination to seize it. I'm talking about how any individual can be in their pajamas in the comfort of their bedroom and yet be able to sell a product or a service to practically anyone anywhere in the world. All you need really is just a computer and an internet connection and then you are good to go.

It is simply amazing especially if you can remember back in the early 1990's that hardly anyone ever heard about a thing called the internet.

And lastly, yeah. I think Scarface is cool.

Related Link: Four Things You Can Do to Make Money on the Internet

Monday, December 15, 2008

Map of Metro Manila Philippines

A few months ago I tried to apply for a job but I am not very familiar with the company's place.

All my life I have lived here in Metro Manila and yet I can still get lost.

Good thing there are now online maps of Metro Manila.

Here are some of the maps that you can use :

1. www.kabeet.com

2. or you can try Google Maps or Google Earth Free Version. In the past these two map programs were only useful if you are looking up places in the US. But recently they have also become pretty accurate guide for Metro Manila.

Friday, December 12, 2008

Google Chrome Take Two

To be honest I did not stick for long to Google Chrome when it was first released.

Some of the things that turned me off about it are:
1. Flash Player Crashes
2. It steathly installed Google Update service and without asking permission (similar to what malwares would do).
3. It promised that it won't crash our PC when a Tab hangs but it frequently did.
Today it Google Chrome just graduated from beta stage and I decided to give it another try.
And so far so good.
1. It now plays online videos beautifully
2. Doesn't eat too much memory even though I launched many tabs (which is a problem common with Firefox)
3. Renders web page pretty fast.
4. No frequent crashes so far.
One thing is still miss though are plugins, no built in spell checker, and dictionary.
For me spell checking and a dictionary plugin is very important. Especially when you are writing an email or blogging.
But it is just at version 1.0 so hopefully they will add these things in their future releases.
And then the stealth GoogleUpdate.exe is still there. I'm sure a lot of users will still be uncomfortable knowing that a program is running in the background which they have no control.

Thursday, December 11, 2008

Regular Expression Testing

Aside from looking cryptic, it takes some experimentation to get the correct regular expression you need for a job. This is the kind of tasks that a testing tool would be of great help. Luckily there are a lot of tools available on the web. Here is one that I use: http://www.quanetic.com/regex.php

Sunday, December 7, 2008

Halite: Opensource Torrent Client

As much as I want to discourage anyone from using torrent servers, there are legitimate companies who uses it to distribute their files, like the publisher for the current MMORPG I'm playing, Cabal. For that I would recommend Halite. It's an opensource torrent client. Again the beauty of opensource software is that you can inspect the code to check if for any security risk.

Saturday, December 6, 2008

Opensource Compression/Decompression Program

Windows XP comes with a built in Zip program. But what if you need to handle RAR, TAR, and other compression algorithms. Fortunately, there is a powerful opensource archiving program at http://peazip.sourceforge.net/ I personally use this program and it's completely free.

Comodo: Free Firewall

One of the things you can do to keep your PC secure is to use a software firewall. You could download a free firewall with a built in antivirus software from Comodo. What it does is allow you to prevent unauthorized network traffic from going in and out of your PC. Personally this is how I use Comodo, I like to leave it at Proactive mode. What it does is popup a prompt whenever a program or service tries to run on my PC. So if ever I visit a malicious website and it tries to slip in a trojan, a message would pop telling me that the website is trying to write a program to a particular directory in my hard disk. This enables me to inspect and research whether the software it is trying to write is legal or not before I allow or block it.

Thursday, November 20, 2008

How to remove popup.adv.net and mtn5.goole.ws - Final Solution

I usually have no problem dealing with trojans and malwares but this one proved to be the hardest one yet. Because it operates in ways we don't expect. Usually trojans operate within your PC but what if the exploit is hosted somewhere else on the web.

Woah! This took a week. Thanks to the people who commented on this blog. I could not figure out this solution without all of you who bounced your ideas here.  

Anyway, lets get rid of it.

1. In the Windows menu go to Start>Run

2. Type cmd

3. This will fire up the command window

4. Type ipconfig /all

5. This will display the actual configuration of your LAN card. Pay particular attention to the DNS entry. In my PC I got three entries: 0.255.122.15 85.255.112.156 1.2.3.4 Two of these entries are not correctly formed while 85.255.112.156 is the DNS address of the exploiter. A proper DNS entry given by your ISP should look something like - 58.69.254.143

6. Type ipconfig /release

7. Then type ipconfig /renew

8. Then do an ipconfig /all again to check that your DNS settings have been corrected.

This should be okay if you are directly connected to the DSL modem but what if you are connected to a router. Then you have to correct the settings in your DSL router first before you correct the settings in your LAN card. In my case I have a Linksys router. What I did was fireup the browser based administration module of Linksys. And then I had to set all the static DNS settings to 0.0.0.0. Then I also did a DHCP release and DCHP renew there. And then I corrected the entries in my LAN card. After that you can use your browser normally. You won't be needing the NoScript add on anymore.  

So how did the attack happen?
I must have gotten a trojan from one of the websites I visited. That trojan then modified the DNS settings of my LAN card and even my DSL router. When the advertisements started popping up I did malware and trojans scans. I was able to remove them but it was already too late. My DNS settings have already been modified which was the last thing I expected a trojan would do. What happens then is that whenever I visit a website. The exploit DNS entry will direct me to popup.adv.net and mtn5.goole.ws server first before it redirects me to the website I wanted to visit originally. It then fires advertisements at random times. It is solved now.

But we all got one big problem. During the exploits we were using hosted email clients and some of you probably visited your bank or credit card sites. And during that time our traffic were being filtered by an exploit server. Ouch! Atleast now you know and you can start taking the necessary steps incase someone would try to abuse your important accounts.

Related Links:
How to Block Adwares using Firefox NoScript extension
How to Block popup.adv.net and mtn5.goole.ws

Thursday, November 13, 2008

Blocking Adware with Firefox NoScript Add On

Last time we talked about blocking popups from popup.adv.net and wtn5.goole.ws. Thankfully Firefox has already solved this problem. Update your browser to 3.0.4 version to make it go away.

But in case another malware is irritating you. You can use the NoScript add on for Firefox.

To Install:
1. Go to https://addons.mozilla.org/en-US/firefox
2. Right now NoScript is the first add on you will find there.
3. Simply click on "Add to Firefox" button to install.
4. In case you did not find it, simply do a search for "NoScript".
5 . After installing it you will need to restart your browser.

What this Add on does is to strictly block Javascript, Flash, Java, and other plugin on all web sites. You will have to right click on the NoScript bar to find several options to unblock the site you are viewing. You can find more information from NoScript's official website.

However I don't recommend this solution because - you may have blocked the adware does not mean that it is no longer there. The best solution is still to remove the problem.

Related Links:
How to Remove popup.adv.net and mtn5.goole.ws - Final Solution
How to Block popup.adv.net and mtn5.goole.ws

Sunday, November 9, 2008

How to Block popup.adv.net and wtn5.goole.ws

Hello everyone. I have finally found a way to stop this adware/malware without using any third party browser add on. You can find the article I wrote here -> The Final Solution. Please be sure to read it so you can finally rid yourself of this problem. Read also the comments on this post where others have generously shared their solutions. - Temujin

There is something terrible happening on the web today and it has gotten more rampant this week. Unfortunately Microsoft, Mozilla, Google, Opera, Apple, and Adobe has no permanent solution for it at the moment.

If you visited several legitimate website and an ad from popup.adv.net and wtn5.goole.ws keeps popping up when you click on a link or image, then you have been a victim of "Clickjacking".

No anti-adware or malware program can remove this strain because it appears that it isn't actually in your computer. In fact, I have tried using a newly formatted computer and still this illegal advertisements keep popping up. Somehow this strain exploits DHTML and CSS. What It does is inject an illegal website into a perfectly legitimate website you are visiting. And then it renders this illegal website invisible so that when you click a link in the legitimate website, you are actually clicking a link in the illegal website.  

Severity This is a very serious threat because it could make you click a link that executes a code that can steal important information from your computer or install a software without your permission or worse yet a virus. Here is an article that may explain it better.

How to Block The only way to block this exploit right now is to use the NoScript add on in Firefox 3. But the process could appear tedious to casual computer users.
On my next post, I will explain how to install and use this add on.

Related Links:

How to Remove popup.adv.net and mtn5.goole.ws - Final Solution
How to Block Adwares using Firefox NoScript extension

Saturday, October 11, 2008

To Begin Again

A week ago this blog mysteriously disappeared along with the entries I made here for the past several months. I did not know if I accidentally deleted it or what. I reported it but until now Blogger has not replied. Somehow this make me think twice about hosting my blog here. But it is a rare case since my other blogs are okay. Anyway, there is not much to do but to begin again and hope for the best. Related Link: How to Backup your Blogspot Blog

Thursday, June 5, 2008

Cannot Load php5apache2.dll Solution

The newer installation files of PHP for Apache in Windows throws an error.

Cannot Load phpapache2.dll

To solve this problem

1. Go to your Apache installation directory

2. then go to the conf subdirectory

3. Look for httpd.conf and open it with notepad.

4. Replace

LoadModule php5_module "c:\php5\php5apache2.dll" with
LoadModule php5_module "c:\php5\php5apache2_2.dll"


instead.


Then restart Apache.


Take note that my PHP installation directory maybe different with yours. My PHP installation in this case is C:\php5. Make sure to replace this with your own installation folder location.

Friday, May 16, 2008

Adobe Flex: Specifying Remote Object End Point

Update September 2009:  (In Adobe Flex SDK 3.3 and older, there is a difference between mx.rpc.remoting.RemoteObject and mx.rpc.remoting.mxml.RemoteObject.  The first one does not have an endpoint parameter that is why you can't dynamically specify the endpoint using Actionscript.

That is why I use mx.rpc.remoting.mxml.RemoteObject.

But as of Adobe Flex SDK 3.4, you can now use endpoint parameter with mx.rpc.remoting.RemoteObject. )


This is the sample code I use to call a Remote Object in Actionscript rather than the usual Adobe Flex MXML tag.

There are some advantages to doing your code this way. Like you can specify the endpoint dynamically.

You will need this import statements.


import mx.events.CloseEvent;
import mx.collections.ArrayCollection;
import mx.utils.ArrayUtil;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import mx.rpc.remoting.mxml.RemoteObject;

var clientrecs:ArrayCollection;
...


I use a one fault handler for all remote object calls in case a problem occurs.

private function faultHandler (event:FaultEvent):void {

      Alert.show(event.fault.faultString, 'Error');
} // faultHandler

This is a sample list function. In this case I am using AMFPHP. And of course my server side business objects are written in PHP.

private function listClients():void {

      var clientRO:RemoteObject = new RemoteObject();
     clientRO.endpoint = "amfphp/gateway.php";
     clientRO.source = "ClientObj" // PHP Object Name
    clientRO.destination = "amfphp";
    clientRO.listClients.addEventListener("result", listResult); // resutl handler
    clientRO.addEventListener("fault", faultHandler); // fault handler
    clientRO.listClients(cmbClientType.text); // call the service

}

A thing to remember. Your Remote Object source must be exactly the same as you have written in the Actionscript code. In this case its ClientObj. Remember this is case sensitive.

// Result Handlers
private function listResult(event:ResultEvent):void {

     clientrecs = new ArrayCollection(ArrayUtil.toArray(event.result));


}

Finally I pass the result to an Array Collection variable which I then bind to a DataGrid.

Goodluck.

Friday, March 28, 2008

Modeling in Blender

Something I modeled in Blender 3D.




Sorry. No texture yet.

Monday, March 3, 2008

Adobe Air Versus Java Write Once Run Anywhere

Java's original intent was to allow developers to write programs and it is supposed to run in any OS without the need to change your code. Hence, it's slogan "Write Once Run Anywhere".

Unfortunately, Java was not really able to fulfill this promise. It is widely known that the different JVMs (Java Virtual Machines) are incompatible with each other.

This is what Adobe AIR promises to solve. And so far if you run Adobe AIR applications like Klok, you will find that it will run exactly the same whether you are using Windows or Linux.

I cannot however answer with regards to Mac. Because right now it appears that Apple, Inc. is not very fond of Adobe, Inc.

Thursday, January 3, 2008

Maximum Execution Time Exceeded

This error occurs when we exceed the script execution time allocated in the php.ini file.

One solution to this is:

1. Open the php.ini file with in notepad.  The php.ini file is usually located in your PHP installation directory.

2. look for these lines

max_execution_time = 60     ; Maximum execution time of each script, in seconds
max_input_time = 60    ; Maximum amount of time each script may spend parsing request data
memory_limit = 32M      ; Maximum amount of memory a script may consume (16MB)


3. Set the max_execution_time to a higher number, say, 180 which is equivalent to 3 minutes.

4. Restart your Apache then try your script again.

If the error still occurs it means you need to set the execution time to a higher number. Otherwise, it means you need to optimize your script so and make it run faster.