Life in code, apps and OS's

Archive for the ‘General’ Category

Yesterday I decided to download the Windows Essentials pack from, I’ve never really used Live Messenger as I don’t really like it, I hate having to talk to people when im busy working on stuff but anyway I’ve re-installed my PC and decided to give it ago.

This blog post is written using Windows Live – Live Writer and it is a really great idea, I am so impressed, I love using this tool and makes blogging so much more easier and quicker!

The live essentials pack in general has loads of great features such as the Outlook connector so you can read and send emails from your live account using Microsoft Outlook.

You also get the Windows Live Mail client which is a nice interface to the webmail (otherwise known as Hotmail).

Overall im really impressed with this 🙂


Now a few of my projects are getting much bigger and the need for having dedicated Database servers are now more appealing than ever.

With MySQL when setting it up I noticed that when trying to access a remote database from an application server, it would takes ages to respond/connect to it.

After searching around the web, I have found what appears to be the solution…

It appears to be that the MySQL server lookups hostnames for authentication EVEN IF you are using for example: remoteuser@ so to speed up remote connections to your remote database servers try adding the following line…


To your MySQL configuration file (my.ini/my.cnf) and then be sure to reload (restart) the MySQL database server.  The ‘[mysqld]’ section of the my.cnf file now looks like this:

port = 3306
socket = /tmp/mysql.sock

From Microsoft Windows this can be done from the ‘Services’ window in ‘Administrative tools’ or in Debian/Ubuntu entering this command:

/etc/init.d/mysql restart

The above addition will ONLY work if you are using IP Address or ‘%’ for the Database User accounts and will ofcourse disable the ability to use user accounts with the hostname eg.

The other day my hard drive was getting really bad, Usually I just rebuild the machine with an image stored on my NAS appliance however I thought I would actually repair the drive as it was ‘trashing’ alot! So I booted the PC and got check disk to repair the drive. – All is now working smoothly again.

 I just thought that I would share this with others on the net, I have been using this for years but thought some of you may benefit from this if your doing it for the first time. 

At the command prompt type CHKDSK without parameters to check the current disk.

Windows 2000 and Windows XP chkdsk syntax

Checks a disk and displays a status report.

CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]]

volume Specifies the drive letter (followed by a colon), mount point, or volume name.
filename  FAT only: Specifies the files to check for fragmentation.
/F Fixes errors on the disk.
/V On FAT/FAT32: Displays the full path and name of every file on the disk.
/R Locates bad sectors and recovers readable information (implies /F).
/L:size NTFS only: Changes the log file size to the specified number of kilobytes. If size is not specified, displays current size.
/X Forces the volume to dismount first if necessary. All opened handles to the volume would then be invalid (implies /F).
/I NTFS only: Performs a less vigorous check of index entries.
/C NTFS only: Skips checking of cycles within the folder structure.

The /I or /C switch reduces the amount of time required to run Chkdsk by skipping certain checks of the volume.

Microsoft Windows 2000 and Windows XP users who have NTFS should also consider using the CHKNTFS command.

Windows 2000 and Windows XP recovery console chkdsk syntax

Note: The below options are only available in the recovery console.

Checks a disk and displays a status report.

chkdsk [drive:] [/p] | [/r]

[drive:] Specifies the drive to check.
/p Check even if the drive is not flagged dirty, bad.
/r Locates bad sectors and recovers readable information (implies /p).

Chkdsk may be used without any parameters, in which case the current drive is checked with no switches. You can specify the listed switches.

Chkdsk requires the Autochk.exe file. Chkdsk automatically locates Autochk.exe in the startup (boot) directory. If it cannot be found in the startup directory, chkdsk attempts to locate the Windows 2000 Setup CD. If the installation CD cannot be found, chkdsk prompts for the location of Autochk.exe. 


chkdsk = Will display all information described above and also report any crossed linked files.
chkdsk /f = Will fix any crossed linked files; however, do not run this command while you are in Windows95 or Windows 3.x

Ok everyone, I want you to all check out my latest project, Its an online gaming community developed by me, my brother, and best mate Dave.  Please all be sure to go and check it out, Also if you could go and register on the forums and say hi 🙂

For those of you who like MMORPG’s (Online Role Playing Games) we are hosting a game called Battle for Pallentia, Its a free web-based MMORPG… its awesome, feel free to check that out also, it can be found at:-

BNA Online Gaming (

Also I would like to welcome any feedback too 🙂

Wow, last week I was looking around the net to see if I could find any cool XP themes apart from the standard ones and the ‘Energy Blue’ theme. I found this awesome theme for windows xp and is based on the new MP3 player from Microsoft… believe it or not, however the name slightly gives it away! lol

Anyway, if you want to download it you can download it from here!

I recently download Firefox 2, I must say I love it so much better that Firefox 1.x, The standard GUI is awesome, I think the Mozilla Development team have done a really awesome job with it.

I would like to just post a thank you!  So thank you Mozilla for this awesome browser!

It has such a clean interface design I think it is really awesome, I have also now installed Firefox 2 onto my PC at work (currently writing this entry on) and I just love it! Its such a great browser with an awesome GUI! 🙂

 Sorry I have not posted much on here recently I have been extremely busy getting my new network of web servers up and running (installing Linux, configuring, imaging, re-arranging exsisting network layout etc.)

However im back and have quite alot to report on which I will do in abit!

as im atwork today 😦

 Have just looked outside to see that its snowing!!!

its…  snow-joke!


  • How To Dyndns Ubuntu | Order Goods: […] DynDNS Client Setup on Ubuntu | Life in code, apps and OS’s – May 18, 2008  · 7 Responses to "DynDNS Client Setu
  • lizrandolph10886: Wonderful article! We are linking to this particularly great post on our website.nKeep up the great writing. Click
  • waseem Ahmad: Dear. i have a separate application server and a separate mysql database server. when i want to access the application server to login from the local