I previously introduced the way of blocking the ad pop up of Avira AntiVir Personal 8.0. However, this method can’t block the ad of version 9.0. Here is the solution:
I use Windows Vista Business to perform the following steps.
- Click Windows Icon (or Start) > Control Panel >Administrative Tools >Local Security Policy.
- After Local Security Policy MMC has opened, you can click Additional Rules under Software Restriction Policies.
- If you cannot find Additional Rules, you can right click Software Restriction Policies and click New Software Restriction Policies.
- Then, right click Additional Rules, and select New Path Rule. Then, you will see a new dialog box. Then, click Browse… to select C:\Program Files\Avira\AntiVir Desktop\avnotify.exe.
- Make sure the security level is set to Disallowed. Finally, you can click OK button.
I hope this screenshot would be helpful.

No Comments | Categories: Applications usage
Tags: anti-virus, AntiVir
Yesterday, I wrote three very simple programs in different programming languages including C++, C# and Java. These programs will use trial division method to find 200000 prime numbers that is starting from 2 orderly. Then, the found prime numbers will store in an array. I found that C++ has the best performance, and the next are Java and C#. However, you don’t need to take the test seriously. I know this test can’t represent the whole performance of C++, C# and Java. And it ’s just for fun.
Compilers:
C++
MS 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80×86 and
MS Incremental Linker Version 9.00.30729.01
compilation command: cl /EHsc /Ox primeN.cpp
C#
MS Visual C# 2008 Compiler version 3.5.30729.1 (.NET Framework 3.5)
compilation command: csc primeN.cs
Java
Java SE Development Kit 6 Update 11
compilation command: javac primeN.java
Environments:
OS: Windows Vista Business SP1 (32bit)
CPU: AMD Athlon 64 x2 5400+
RAM: 4GB
Result:

Download the source codes
No Comments | Categories: Performance related
Tags: C sharp, C++, Java
WordPress 2.7 build-in revision feature to save all backup articles (or you may call posts). However, the backup articles almost will not be used and a lot of database storage is wasted. Therefore, I disabled revision feature in my blog. Here is the solution to turn this feature off.
- Edit wp-config.php that is saved in WordPress root directory.
- Add the following red statement at wp-config.php. It’s suggested to add the red statement at the last 2 line (before ?>).
...........
require_once(ABSPATH . 'wp-settings.php');
define(’WP_POST_REVISIONS’, false);
?>
If you have wrote many articles previously, I believe your database has already stored many unnecessary articles. To release the storage, it is suggested to remove the existing revision articles.
- Go to phpMyAdmin
- Click SQL button:

- Enter and submit the following SQL statements:
DELETE FROM wp_posts WHERE post_type = "revision";
- Finally, phpMyAdmin will show you how many revision articles have been deleted:

- If error occurs, you should substitute wp_ to the table prefix of your WordPress
No Comments | Categories: Applications usage
Tags: WordPress
Komodo Edit is a free and open source text editor. I like using Komodo Edit to develop my PHP programs, XHTML and JavaScript. If you hate remember functions name, variables name and functions parameter and so on, Komodo Edit is a good choice because it offers autocomplete feature. If you like Visual Studio, I believe you will enjoy Komodo Edit as well.
By the way, NetBeans also provides this feature. If you want to try alternative PHP Editor, NetBeans seems also a good choice.
Autocomplete:

Call Tips:

Links:
Komodo Edit homepage
1 Comment | Categories: Applications usage
Tags: autocomplete, Komodo Edit, PHP Editor
Virustotal
This website builds-in 39 anti-virus scanners to scan your uploaded file. A lot of popular anti-virus software is included in this online scanner such as Kaspersky, Symantec, McAfee.
Jotti’s malware scan
This website is good as well. 20 anti-virus scanners are included.

No Comments | Categories: Nice Website
Tags: anti-virus, online scan
Avira AntiVir Personal is a free anti-virus software, but it always displays Ad banner when the virus definition is updating. I’m currently using Windows Vista Business and it works. However, I don’t know whether Windows Vista Home (Basic/Premium) or Windows XP Home Edition can do it by the following method.
- Click Windows Icon (or Start) > Control Panel >Administrative Tools >Local Security Policy.
- After Local Security Policy MMC has opened, you can click Additional Rules under Software Restriction Policies.
- If you cannot find Additional Rules, you can right click Software Restriction Policies and click New Software Restriction Policies.
- Then, right click Additional Rules, and select New Path Rule. Then, you will see a new dialog box. Then, click Browse… to select C:\Program Files\Avira\AntiVir PersonalEdition Classic\avnotify.exe.
- Make sure the security level is set to Disallowed. Finally, you can click OK button.
No Comments | Categories: Applications usage
Tags: anti-virus, AntiVir