Wednesday, May 14, 2008

Blogger: Most visited posts widget script...

This script finds your most visited posts and gives you back theresult in html.I found this from bloggerbuster and it uses pipes.yahoo.com to get the ratings.
So now you don't need to put your features post links.Just put the script in new widget,change the url,change the number of posts you want to show, and done!
<script type="text/javascript">
function pipeCallback(obj) {
document.write('<font ><ol style="text-transform: capitalize;">');
var i;
for (i = 0; i < obj.count ; i++)
{
var href = "'" + obj.value.items[i].link + "'";
var item = "<li>" + "<a href=" + href + ">" + obj.value.items[i].title + "</a> </li>";
document.write(item);
}
document.write('</ol></font>');
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?_render=json&_callback=pipeCallback
&_id=1cf38ae68efbe859c4ba1ee239cec099&url=http%3A%2F%2Fwww.techlads.com&num=10" type="text/javascript"></script>

In the url, only below part is important. Change the url to your one and change the num param to what you want.I made it only top 10 posts.
url=http://www.techlads.com&num=10

Asustek and Gigabyte - Intel P45 chipset launch

In an attempt to gain an edge in the competitive motherboard market, Asustek Computer and Gigabyte Technology have already unveiled motherboards featuring the new Intel P45 chipset for media review, as they gear up for the official June 2008 launch of the P45.Intel reportedly will officially launch its 4-series chipsets at Computex 2008, while motherboard makers will start shipping products later that month. However, Gigabyte's good sales performance in motherboard equipped with Intel 965 and P35 chipsets have brought significant competitive pressure on Asustek and both companies are circulating P45 boards for media reviews. As the P45 will have a long product life cycle of 18-24 months, the product is expected to be a crucial revenue driver for leading Taiwan-based makers of motherboards, the sources indicated.

via: DigiTimes

Nexuiz 2.4.2 released

The opensource deathmatch game Nexuiz has been updated to version 2.4.2 !

New features include:
* New gamemode Onslaught new available in the menu
* Added map for the onslaught gamemode (ons-reborn)
* Completely new announcer sounds/voices
* Fixed several problems with lagging gameplay/crashes/wrong display of effects
* The teammessage binds are available in the menu (if you do not see them delete or rename your config.cfg)
* New server tools for rcon and an irc gateway, updated server documentation
* Fixed the rotating textures/hud bug on Mac OSX with r_glsl 1
* New crylink primary attack and tweaked some other weapons
* Implemented uint16 element array support, this hopefully improves performance on Radeon 9500-X300 cards and GeForce1/2 cards

Nexuiz is a 3d deathmatch game that has been in development since the summer of 2002. The goal of the project is to create a high quality first person shooter that can be played freely across all platforms in one package: PC, Mac, and can be even included in Linux distributions. The game is entirely open source, with the sources of the engine, gamecode, map files, and compiling tools, all included with the download, all under the GPL license.

The gameplay is deathmatch with the most excessive possible speeds and weapons, giving incredibly intense fast paced action. Along with deathmatch, there are muitple gamemodes such as team deathmatch, capture the flag, domination, and many mutators and weapon options like rocket arena and instagib. The user can fight through the single player campaign, going through over 20 levels, or play online with our server browser.

Nexuiz is based on the Darkplaces engine, built on OpenGL technology. The darkplaces engine is an advanced Quake1 based engine developed mainly by Forest "LordHavoc" Hale, who has been working with the Quake1 engine for many years. A few of Darkplaces main features are Quake3bsp support, realtime lighting and shadowing, new particle effects, advanced menu system, and Md3 model support.

Nexuiz website

Debian and Ubuntu flaw - private SSL/SSH keys guessable


The Debian Security Advisory posted up DSA-1571-1 openssl -- predictable random number generator issue today and strongly advised its users to take steps to avoid possible compromising of any systems running on Debian, such as Ubuntu.

The researcher Luciano Bello discovered a security flaw in Debian's random number generator that allows to predict a random generated number. This is caused by an incorrect Debian change to the openssl package. As a result, cryptographic key material may be guessable.

This problem not only affects Debian, but also all its derivatives, such as Ubuntu.

It is strongly recommended that all cryptographic key material which has been generated by OpenSSL versions starting with 0.9.8c-1 on affected systems is recreated from scratch. Furthermore, all DSA keys ever used on affected systems for signing or authentication purposes should be considered compromised.

Via: debian.org

Tuesday, May 13, 2008

Domain names - Everything you wanted to know :)

Now that you have seen techdudes.blogspot.com has been awarded with a domain, thanks to you guys let me share some knowledge about domain names so that it can ease your process of selecting one.There are several important things to consider when deciding on a domain name for your website. Following are a few tips to keep in mind when selecting a new domain name:

If possible, opt for a domain name that is easily recognizable and describes your business. This will be helpful when you promote your site.

Keep your domain name as short, simple and easy to remember as possible. The shorter it is, the easier it will be to remember. Although a good number of the short and simple .com domains are likely already taken, you may have the option to purchase a domain with a different extension, like .net or .us.

Your domain name can be 2-63 characters long (excluding the extension), and can contain the characters a-z, 0-9 and ‘-’ (dash). However, domain names cannot begin or end with ‘-’ (dash).

If your first choice is not available, try to utilize synonyms, rearrange the words, add dashes, or use abbreviations or acronyms to find an alternative.

You now have several options to choose from for extensions as well. Following is some information about some of the extensions you can choose from:

.com denotes the word commercial, and it is an unrestricted global domain name extension. Many businesses prefer a .com domain name because it is a highly recognized symbol for having a business presence on the Internet. However, the number of available .com domain names is shrinking as more and more businesses go online.

.net represents the word network, and is an unrestricted global domain name extension most commonly used by Internet service providers, Web-hosting companies, or other businesses that are directly involved in the infrastructure of the Internet. Additionally, some businesses choose domain names with a .net extension for their intranet web sites.

.org represents the word organization, and is an unrestricted global domain name extension that is primarily used for non-commercial sites. However, many commercial entities register the .org extensions corresponding to their .com domain names in order to protect their brands.

.biz is a restricted-use global domain name extension used for business web sites. As a relatively new type of domain, .biz offers a company the opportunity to get the domain name it really wants and enhance its presence on the Web with a domain name that means business.

.info is an unrestricted domain name extension that creates an opportunity to reach a worldwide audience with information about your business and ideas. .info is growing in popularity, but still has many great names available.

.us is a restricted-use country code that may be used by any individual or organization with residence in the United States or its territories, including foreign organizations that do business in the US.

What about .TV, .WS, .FM and .CC?

Although often marketed as such, .TV does not mean television and .WS does not mean web-site or world-site. .TV is the country code extension for Tuvalu a small island country located in the Western Pacific Ocean with a population of approximately 11,000 that gained independence from the UK in 1978. .WS is the country code extension for Samoa. Samoa, also in the Pacific, gained independence from New Zealand in 1962 and has a population of around 180,000.

.FM masquerades as the TLD (top level domain) for radio stations, but is actually the country code for Federated States of Micronesia. .CC is the Internet country code TLD for Cocos (Keeling) Islands, an Australian territory, but has been promoted for international registration as the next .com


Who should use Ubuntu?

Since the the release of Ubuntu 8.04 a couple of weeks ago there has been a number of reviews done to show what is good or bad about Ubuntu. Reviews certainly have their place and we all like to know what is going to work and what we will have to tweak. However, I thought that perhaps a better question to asked is who should be using Ubuntu?

So after some serious thought, here is my list of 5 types of users that should be using Ubuntu.

1) The Basic Home Users
These are those people who do nothing more than turn on their computers, open their internet browsers and check email, surf the internet, listen to music and maybe balance the checkbook.

2) The SOHO Users
The Small Office Home Office crowd is really a perfect fit for Ubuntu. This user group generally needs a stable, easy to use, low cost solution to computing.

3) The Cost Conscious User
Let’s face it the economy isn’t exactly firing on all cylinders right now. For those that are looking to save a few bucks, Windows is not going to be your best friend.

4) The Socialist Users
This group can be defined a number of ways, but I like to think of them as the people who are interested in advancing society through common works. These are the people that realize the world can be better if we work together for that purpose.

5) The Blogger/Webmaster Users
This group of users is pretty strait forward. These are users that have a website or blog that is not hosted by WordPress, Blogger or TypePad (or other lesser known hosts). If you are in this group then you probably like to try out changes to your site before you actually go live.

Java optimization and performance

No new Exception if not needed

Many of us do this when we want to throw an error. But if you are throwing exception from another catch, then don't make new exception object. Keep throwing the same exception which you caught if possible. This will be better for performance. And also in new exception usually we change the description only to reflect the perfect error cause, but other ways are there to track it.

Avoid excessive synchronization

Yah threading can be a bit complex situation sometimes in java. And we all use synchronization to avoid dead locks. But it needs a more attention then we give it. Try to make a block of code synchronized rather then making the whole method synched. The whole method will stop all other threads, waiting to go inside it. It will generate more overhead. So keep the design like we need less sync code.

Read Full @ javaLibs