Archive for June, 2008

Installing Geo IP PurePerl

June 30th, 2008 | Computers and Internet

I process logs on my webservers using AWStats, and use the GeoIP plugin to translate IP addresses into country codes. This article looks at how to install the Geo I PurePerl plugin, which is used by AWStats, and also how to download and install the Geo IP database files which are required by this plugin. The server I installed this onto was a CentOS 5 server, but the instructions here should work equally well on other Linux distributions.

You should be able to install the Geo IP PurePerl package using cpan like so, but it never seemed to work for me:

$ cpan
cpan# install Geo::IP::PurePerl

So instead I needed to do it manually. Download and install Geo-IP-PurePerl, making sure you get the most recent version, using the following instructions. Below this initial set of instructions are a breakdown of the outputs of each command, and also how to install the GeoIP database if it is not already loaded.

wget http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/Geo-IP-PurePerl-1.18.tar.gz
tar -zxf Geo-IP-PurePerl-1.18.tar.gz
cd Geo-IP-PurePerl-1.18
perl Makefile.PL
make
make test
sudo make install

The output of perl Makefile.PL should look something like this:

chris@www ~/temp/Geo-IP-PurePerl-1.18 $ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Geo::IP::PurePerl

The output of make should look something like this:

chris@www ~/temp/Geo-IP-PurePerl-1.18 $ make
cp lib/Geo/IP/PurePerl.pm blib/lib/Geo/IP/PurePerl.pm
cp geoip-lookup blib/script/geoip-lookup
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/geoip-lookup
Manifying blib/man1/geoip-lookup.1
Manifying blib/man3/Geo::IP::PurePerl.3pm

If you don't actually have the GeoIP database installed, make test will fail, and the resulting output will look something like this. Note the errors in bold.

chris@www ~/temp/Geo-IP-PurePerl-1.18 $ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0_base..........ok
t/1_lookup........skipped
        all skipped: No GeoIP.dat found
t/2_namelookup….skipped
        all skipped: No GeoIP.dat found
All tests successful, 2 tests skipped.
Files=3, Tests=1,  1 wallclock secs ( 0.03 cusr +  0.25 csys =  0.28 CPU)

If this happens then you need to download and install the GeoIP database like so, either logged in as root or using sudo for each command (you may or may not need the GeoLiteCity database):

mkdir /usr/local/share/GeoIP
cd /usr/local/share/GeoIP
wget http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz
wget http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
gunzip *

Now when you return to your Geo-IP-PurePerl-1.18 and run make test it should succeed, and the resulting output will look something like this:

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0_base..........ok
t/1_lookup........ok
t/2_namelookup....ok
All tests successful.
Files=3, Tests=31,  1 wallclock secs ( 0.09 cusr +  0.03 csys =  0.12 CPU)

Running sudo make install will output something like this:

sudo make install
Password:
Installing /usr/lib/perl5/site_perl/5.8.8/Geo/IP/PurePerl.pm
Installing /usr/share/man/man1/geoip-lookup.1
Installing /usr/share/man/man3/Geo::IP::PurePerl.3pm
Installing /usr/bin/geoip-lookup
Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Geo/IP/PurePerl/.packlist
Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod

The Geo IP PurePerl package will now be installed.

Source: www.electrictoolbox.com
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Building a New Computer - Part 4: Installing Windows and Loading Drivers

June 30th, 2008 | Computers and Internet

Now that we've put the computer together and setup the BIOS options, we need to get down to business: Installing the operating system. For the purposes of this article we'll be focusing on Windows Vista, but we'll try and briefly cover XP as well.

What You Need to Know Before Installing

It's very important to stop and read these items, even if you don't read the rest:

  • If you are going to be dual-booting Windows XP and Windows Vista, you should always install XP first, then Vista.
  • In a dual-boot scenario, make sure that you leave plenty of room for either operating system. Don't try to get away with a tiny partition for one operating system just because you think you won't use it as much. Also, buy a big hard drive, they are cheap.
  • Windows XP does not have SATA drivers included. You'll either need to create a slipstreamed install cd, or set SATA to IDE mode in the BIOS.
  • If you want to use Linux instead, then great… unfortunately there are too many varieties to cover them here. I recommend Ubuntu, and for installation support you should check out the Ubuntu Forums.

Installing Windows Vista

I'm not going to cover every single step of installing Windows, but I would like to highlight a couple of very important options during the setup that can make a big difference. For the most part, installing Vista is a simple and easy task.

Step 1: Put the install disc in the drive, and boot up the computer.

image

You may or may not get this next screen, depending on your install disc. If you do, make sure that you select the version of Windows that you purchased, cause otherwise you'll have to reinstall later. (I'm not sure that retail editions show this screen, and I'm using an MSDN copy)

image

You'll be prompted to select whether you want to do an Upgrade or Custom install. If you selected an Upgrade edition, you'll need to have a previous version of Windows. My install disc only allows for a clean install, so there's not really a choice for me anyway.

image

Now comes the most important screen…. where do you want to install Windows? If you have previously installed XP, you will need to create a new partition in the space that you left open for Vista, which should say "Unallocated Space". (Whatever you do, install XP first in a dual-boot scenario)

image

You should be done with the install options at this point, and you'll see the install screen…

image

Your computer should reboot and you'll have to go through a couple of simple screens to create a user account, none of which are difficult. The interesting part comes later, when we need to start getting all the drivers updated and tweaked.

Installing Windows XP

If you are going to install XP in a dual-boot scenario, you should absolutely install XP first so you don't have to deal with the Vista boot loader being wiped out if you install XP second. I'm not going to go through the entire installation, but here's the highlights.

Here's what you need to know:

Once you get to the screen where you can choose the partition, you have a couple of options. If you want to only install XP, you could just hit the Enter key and be done with it. If you are planning on doing a dual boot, however, you need to use "C" to create a new partition.

Note: If you get the message "Setup did not find any hard disk drives", then you need to create a slipstreamed install cd.

image

Choose the size for the partition, and I recommend leaving plenty of space for both Vista and XP. There's nothing more annoying than running out of space on one of the partitions in a dual boot.

image

You could create a second partition at this point if you want, or just install on the new C: partition.

image

The rest of the install is more or less painless, and since XP has been around for nearly a decade I'm sure you are familiar with it, but here's your next steps:

  • Install the Network Card Drivers (usually from the motherboard driver cd)
  • Install the Graphics Card Drivers
  • Install the rest of the drivers (motherboard, sound, etc)
  • Use Windows Update to patch the system. (Make sure you are patched through SP2 at least)

After Vista is Installed: Updates!

Now that you have Vista successfully installed, the first thing you should do is use Windows Update to get your system completely patched. This process will take… a long while. The annoying thing is that you'll need to run Windows Update a bunch of times… that "Check for Updates" link is your friend. (Sometimes it will return with no updates, but if you check again they'll show up.)

image

I would advise updating your system all the way through Service Pack 1 before you do anything else. It might take a lot of updates and a number of reboots to get to that point, but it will be worth it.

Note: if you don't have internet access at this point, you need to install the network card drivers from the motherboard drivers disc.

Updating Your Drivers

Having a system that works well depends greatly on the drivers, which are the pieces of software that tells the hardware what to do. If the driver you are using has a flaw in it… bad things are going to happen. That's why it's important to use updated drivers.

You will also get the best performance out of your video card by using the drivers provided by the manufacturer rather than the built-in Vista drivers.

What you need to know:

  • The cd that comes with your motherboard likely has driver versions that are already old. If you can get online with the built-in Vista drivers, just put that cd to the side.
  • You should always grab the latest drivers from the manufacturer's site for at least your motherboard chipset, video card, sound card and network card. Even better, get updates for all of them.

The first thing you can do is open up Device Manager through the start menu search box, and look for any items with question marks or exclamation points next to them. You'll notice in the screenshot below that there's an "Other devices" section with "Unknown device" in it, because I haven't loaded the chipset drivers yet. If you look even closer you'll see that the video card driver is the default Microsoft version, which is significantly slower than the latest manufacturer one.

image

Here's a couple of download links to get you started, but depending on your system you might need to do some research. For instance, if your motherboard has integrated sound, you will need to head to the manufacturer's site to get the latest driver for that.

Motherboard Chipset Drivers

Graphics Drivers

Usually the chipset drivers have a simple installer that handles it all for you, no need to do the right-click and update thing in Device Manager.

image

The graphics card drivers usually work very similarly, you can just run through a quick wizard and be done with it, after the obligatory 49th reboot or so.

Once you've installed the various drivers, you should be able to open up Device Manager and see that all the devices are functioning properly… no exclamation points or unknown devices, and you'll notice my NVIDIA driver has been updated:

image

You can verify the version that you've installed for a component by going into the properties \ Drivers tab.

image

Note: I had lots of problems with this particular NVIDIA card under 64-bit Vista, so I switched it out with an 8800 GS during the middle of the build. Another reason why running benchmarks is useful (detailed below)

If you click the Update Driver button, you can either let Windows search for updated drivers (although this happens with Windows Update)…

image

Or you can choose the driver manually by clicking "Browse my computer for driver software". On this screen you can either choose a location, such as the folder you extracted some drivers to, or you can pick from the list of installed drivers.

image

On this screen you can choose the actual version if there are multiple drivers installed (or you could use the Roll Back Driver button you might have noticed on the driver details screen).

image

For the most part, you can simply install the latest drivers and Vista should have no problems detecting and using the devices. If you have a problem, then try updating or rolling back.

Note: The only exception I've found to the "no fuss" rule is that NVIDIA drivers are just awful, especially under 64-bit Vista. They install easy enough, but they also crash really easily too.

Using Burn-In and Testing Tools

Now that we have all the drivers loaded, it's time to give the machine some tests, to make sure everything is working properly… and also because you likely want to show off your Windows Experience Score, which we'll start off with.

Open up Control Panel and navigate down to System and then "Check your computer's Windows Experience Index base score"

image

At this point you are thinking… but it has a score, didn't the installation do that for me? You'd be right, but that was before you loaded all the drivers… just click on the score:

image

And you'll likely see "New hardware detected", so you'll need to click the Refresh Now button, which will immediately start running the tests (you should close other applications before doing this)

image

If you have a problem during this very simple test, then there's probably something wrong with your drivers or hardware. If it all runs successfully, you'll see your new score, which may or may not be better than the first one.

image

Note: You'll notice my memory score increased quite a bit… this is because when running the first test I had installed the memory in single channel mode since I was waiting for the other two pieces. Make sure to read your manual when installing the memory.

Next, we'll move on to some better benchmark tools… there are a lot of them out there, but some of the standards are the Futuremark tests with their two well-known utilities:

When you download these utilities, you'll be prompted a few times to purchase it, which will give you additional tests. If you simply want to run a regular benchmark for free, you can wait a few seconds for the Continue button to become active.

image

Once there, you can run the benchmarks and see how your system performed.

image

Unfortunately the free version doesn't give you much else besides a score via their website, and in my case it didn't give me a very useful comparison, since the machine they compared it to was a quad core overclocked to 5GHz:

image

The real point of running these tests is to make sure your system can handle a load without dying. In my case, my machine locked up during the initial run because the old video card I started out with had serious video card/driver problems, so I replaced the video card with a better one and was able to successfully run the test.

Run a CPU Stress Test to Check Temperatures

If you got through the PCMark test, your system is no doubt running perfectly fine. This test is just to make sure that your processor isn't going to overheat if you are maxing it out for a long time.

There's a couple of tools you can use to max out the CPU, but the simplest one is called Max CPU by Kenny Kerr. All you have to do is move the slider to the number of CPUs you want to max out.

If you open up Task Manager and Core Temp at the same time, you can see that all the CPUs are running at 100%, and the cores are only running at 55 degrees or less, even after a couple of minutes.

image

If your temperatures are way out of range, you know that you either didn't install the CPU cooler correctly, or you need to get a better aftermarket cooler.

The famous programming blogger Jeff Atwood even recommends taking some temperatures of the inside of the computer, and I can't argue with him… if the motherboard and CPU are generating so much heat that you can't touch them, then there's likely a cooling problem.

Final Status

At this point, you should have a fully working system, and you can start loading all of your software on the machine. Don't forget to load anti-virus and anti-spyware software before you start downloading random applications.

From the perspective of building the computer, we're done… but I'm going to add one final article in the series and tell you about my favorite config tweaks that I apply to any new machine, so stay tuned for updates.

For those of you that missed the rest of the series, here you go:

If you've got any other tips for other readers, be sure to leave them in the comments.

Source: www.howtogeek.com
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Weekly Roundup - November 5th 2007

June 29th, 2008 | Computers and Internet

This is my weekly roundup for the week of October 29th to November 4th, where I look back at the articles I posted over the last seven days, and other interesting articles and blog posts I have read online. One of the purposes of this blog is to have a reference point for myself so I can easily find how to do stuff I've done in the past, or fix errors I might have had in the past, and a number of posts this week relate to this.

Articles posted on my blog

On Monday, I looked at the Yum sqlite database disk image is malformed error after having received this error myself on one of my CentOS 5 servers.

I've been in the process of setting up a new mail server and moving domains across from the old mail server to the new one. This saw a couple of posts relating to email and email applications: Mozilla Thunderbird exceeded maximum number of connections to IMAP server on Tuesday, and the Postfix SMTP Auth Error "no SASL authentication mechanisms" error on Saturday.

On Friday I was having trouble remembering how to get code completion working in Zend Studio for the PEAR DB database object, so posted how to do this as a reminder for myself in the PHP PEAR DB Code Completion in Zend Studio post.

The rest of the week I covered some things I'd done a few weeks ago, but had not yet posted my notes up as blog posts: Configuring VMWare Tools stops the network on Wednesday, using PHP to generate unique URLs for Javascript and CSS files on Thursday, and installing the MSSQL module for PHP on CentOS 5 on Sunday.

Interesting articles found offsite

PC World looked at the 10 Biggest Web Annoyances, looking at things the web still doesn't get right.

Whois is the tool for looking up information about who owns a domain and how to get in contact with them. Unfortunately it is used by spammers to harvest email addresses and it's been reported that whois may be scrapped for privacy reasons.

Web Designer World posted a useful article about creating CSS menus using a single image for both the mouseover and mouseout images.

SEOmoz changed a site's domain with 301 redirects from the old version to the new version. Their 301 experiment shows what they did to make the transition as smooth as possible, and what the results were.

The Blog Herald offers some tips about how to get people to read your blog. These are all pretty straight forward but it's good to have a reference list like this.

The MySQL Performance Blog looked at Innodb Performance Optimization Basics. The article itself looks at a pretty hefty database server, but the hints offered are good for any sized MySQL database server.

If you're creating Ajax applications and need a nice loading image, Ajaxload offers a service for creating on the fly, free of charge, images to display while the Ajax function is running. I found this site from a Google search.

And finally for this week, I found KeywordSpy from referrer information in my log files. This is a rather interesting looking service which helps you work out what keywords your competitors are bidding on in the pay per click services by Google and Overture.

Source: www.electrictoolbox.com
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Weekly Roundup - November 12th 2007

June 29th, 2008 | Computers and Internet

This is my weekly roundup for the week of November 5th to November 11th 2007, where I look back at the posts I made over the past week as well as useful and interesting articles on other websites and blogs that I might have read.

Articles posted on my blog

Fedora 8 was released on November 8th (the early hours of November 9th in New Zealand), so I posted a few screenshots of the Gnome Live CD and the KDE live CD on Friday and Saturday. The Fedora 8 desktop looks nice and I'd like to have more of a play around with it.

While doing some development and moving sites between servers, I needed to work out how to compress files on Apache with mod_deflate, enable HTTP_POST_VARS on PHP and change the colour of the BASH shell prompt

And on Thursday I had some issues with my openSUSE 10.3 install: after installing YUM and doing some upgrades to YAST I started getting error messages like SUSE Yast No such client module sw_single when trying to run YAST modules. Thursday's article looks at the solution.

Interesting articles found offsite

I read a lot of interesting articles and there were some new releases of a number of software products, so I'll keep each one brief:

How to run multiple versions of Safari on Mac OS/X

11 tips for getting your comments noticed on a popular blog

Opera Mini 4 was released. Read the press release, the official website and a basic review

The Javascript libraries prototype 1.6 and script.aculo.us 1.8 were released.

Red Hat Enterprise Linux 5.1 (RHEL 5.1) was released Presumably CentOS 5.1 will follow shortly.

Hints on how to become a digg power user

Peter Griffin's rant about the iPhone not being able to plug in normal 3.5mm headphone jacks

A not particuarly postive review of Linux Mint 3.1 by Linux.com. You can buy Linux Mint from the Linux CD Mall.

5 items your blog must have

Using setlocale() in php to set currency symbols

10 things to do after installing ubuntu 7.10 which covers things like additional useful software repositaries to add, installing additional fonts, Java and more.

And finally, phpmyadmin 2.11.2.1 was released yesterday.

Source: www.electrictoolbox.com
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Weekly Roundup - November 19th 2007

June 29th, 2008 | Computers and Internet

This is my weekly roundup for the week of November 12th to November 18th 2007, where I look back at the posts I made over the past week as well as useful and interesting articles on other websites and blogs that I might have read.

Articles posted on my blog

I continued to set up a new server last week on a VPS using CentOS 5, and a number of posts reflected things I was setting up and/or issues I was having. As is often the case with my posts, they give me a reference point for the next time I need to set these things up and I have a central repository for information.

On Friday I looked at something other than server set up stuff, when a Linux CD Mall customer was having issues trying to get printing working with the MandrivaOne Live CD. I couldn't get it to work either initially until I worked out that you need to have the software repositories set up first, something which wasn't done at the time of install. I'm still blown away that the necessary packages aren't installed by default for printing on Mandriva. You can read more about this, along with screenshots, on the post titled CUPS printing not working on MandrivaOne 2008.0

Interesting articles found offsite

DamnSmall Linux 4.0 was released on October 23rd, and it was reviewed this week by Linux.com. Read the review and buy DamnSmall Linux from my other site Linux CD Mall.

Unfortunately the blogosphere is full of screen scrapers who steal your content and republish it, often changing the text slightly. Daily Blog Tips suggests complaining to Google and getting their Adsense accounts shut down rather than waste time chasing them down by other means.

I've noticed live.com is spamming my sites and have been meaning to write a post about this. In the meantime, I found this ppost which talks about it.

Recently there has been a lot of publicity about a new Linux distribution called gOS. This powers the Walmart $199 PC which apparently sold out in a matter of days. You can read reviews of gOS at eweek.com and linux.com, download gOS for free or buy gOS from the Linux CD Mall.

Red Hat released version 4.6 of Red Hat Enterprise Linux; this is the latest in the 4.x branch of RHEL and 5.1 was released last week. Read the release notes on the Red Hat website. Presumably CentOS 4.6 will follow soon.

Linux Mint 4.0 was released on November 15th 2007. It is an Ubuntu derived Linux distribution with comes with most media codecs installed "out of the box" which saves a lot of messing around when installing it. You can download Linux Mint for free, or buy it from the Linux CD Mall.

The next article has a whole bunch of AJAX, DHTML and JavaScript Libraries listed. I haven't used many of these but it's a good starting point for looking at various libraries and frameworks.

And finally this week, Linux.com reviewed Vixta, a Linux distribution which looks and feels a lot like Windows Vista. I suspect Microsoft will challenge the Vixta project at some point and force them to change the name, as this is clearly a breach of trademark. It can be downloaded from sourceforge or you can buy Vixta from the Linux CD Mall.

Source: www.electrictoolbox.com
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Weekly Roundup - November 26th 2007

June 29th, 2008 | Computers and Internet

This is my weekly roundup for the week of November 19th to November 25th 2007, where I look back at the posts I made over the past week as well as useful and interesting articles on other websites and blogs that I might have read.

Articles posted on my blog

I recently moved my sites across from a dedicated server to a VPS server, and did the same for one of my customers. Earlier in the month I posted about change the hostname in CentOS but after a reboot the VPS reverted back to the old hostname. Tuesday's post was a reminded to myself to check into this again when we need to reboot the VPS next time.

Wednesday's post was how to fix the error message "C++ compiler cannot create executables on Ubuntu" when running Ubuntu or one of its derivitives.

On Thursday I had had enough of SUSE and had a bit of rant about it, and moved my primary Linux desktop into VMWare so it now runs as a Virtual Machine just like my Windows XP desktop. So now I'm running all my desktops in Virtual Machines on a Linux host.

openSUSE package management tool that is part of Yast is very slow, and I looked at how to install Yum with Yast on Friday and the Kyum Graphical Frontend for Yum on Saturday. These will probably be my last posts for a while featuring openSUSE as I have now moved to Kubuntu for my primary Linux desktop. Now instead, there's going to be a number of new posts about doing stuff in Kubuntu! I've already written several of these and will be posted them over the course of the next couple of weeks.

Finally the round off the week, I look at keyboard shortcuts to switch between running VMWare Virtual Machines now that I'm only doing desktop stuff inside VMWare.

Interesting articles found offsite

PayPal have launched "Secure Card&qupt; which lets you pay by PayPal on sites that don't accept PayPal, with a single-instance Secure Card transaction number. Secure Cards work on Windows computers running either Internet Explorer or Firefox, with partial access to the service for now for Apple's Safari browser. You can read more about this in the article on the New Zealand Herald website.

I don't personally use them, but Visual Studio 2008 and .NET 3.5 Released. I've only done a little .NET programming back in 2003 and 2004 when I was doing some work for Aim Proximity on their email tool.

The Tech Republic article get familiar with alternative Linux desktops looks at Fluxbox and AfterStep as alternatives to the popular KDE and Gnome desktops.

I posted some reviews of the gOS Linux distribution in last weeks roundup, and here's another from Extreme Tech. It's a shame they feel they need to spread the review over multiple pages but I guess they're trying to get a) their pageviews up and b) expose people to as much advertising as possible.

I have completed the Linux Foundation Survey before, and spotted it this year on Slashdot. You can complete the survey until the end of November and the results are already posted online.

Smashing Magazine published several useful articles over the past week: 30 nice blog designs to draw inspiration from, nice examples of pagination, and an article about designing for screen resolution on today's computers.

The next article looks at how to cut an MP3 into multiple pieces. It's specific to Ubuntu, but the utility is probably available for other distros too in their package management repositories.

PHPTAL 1.1.9 was released. This is a templating engine for PHP. I am not currently using this but am currently evaluating it and may use it in some future projects.

Source: www.electrictoolbox.com
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Weekly Roundup - December 3rd 2007

June 29th, 2008 | Computers and Internet

This is my weekly roundup for the week of November 26 to December 2nd 2007, where I look back at the posts I made over the past week as well as useful and interesting articles on other websites and blogs that I might have read.

Articles posted on my blog

A couple of weeks ago I got sick of using openSUSE after some mail issues pushed me over the edge, but couldn't afford the downtime of having my main desktop not running while I got everything going again in a fresh install. So I installed a nice fresh Kubuntu desktop in a VMWare Workstation virtual machine. Naturally there's always a lot of things to configure "just right" so a number of posts over the past few days have looked at configuring things in Kubuntu and Ubuntu, as follows:.

Other, non Kubuntu related, posts for the week included looking at the Yum error message Metadata file does not match, noting that CentOS 5.1 was released yesterday, and a monthly roundup for November which looked at the most read posts and visitor numbers to my blog over the past four months.

Interesting articles found offsite

pixelspread.com posted an article about CSS menus without any Javascript, with an example. I haven't yet had a chance to have a go at this myself but it looks pretty interesting.

Slashdot reviewed the book the PHP Anthology, 2nd Edition which you can buy from Amazon

CrystalXP.net posted how to make XP look like Vista if you really wanted to.

Three weeks ago I linked to a PHP post about setting up a basic currency converter. There was a follow up article this week adding to the tutorial.

12 common programming mistakes to avoid, including improper or no comments, not reviewing your code and so on.

8 Bad Decisions When Starting a New Website, including using free or cheap web hosting, not buying a domain name, and so on.

What to do when the domain name you want is gone, including look for alternate extensions, mis-spell it, and so on.

The How To Geek looked at how to access GMail via IMAP with Outlook and Thunderbird

Blogging Tips listed 75 websites you can submit your blog to

The in-browser HTML editor, FCKEditor 2.5 was released. I've used this on a number of websites.

6 CHM viewers for Linux. CHM is a compiled HTML format used in Windows help files. There are a number of sets of documentation available (eg MySQL and PHP) in CHM format; if you're using Windows this is no problem as the format can be read by default, but on Linux you need to install special CHM viewing software. This article looks at 6 of them.

The Register reported that Dell has shipped 40,000 Linux PCs

Source: www.electrictoolbox.com
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Weekly Roundup - December 10th 2007

June 29th, 2008 | Computers and Internet

This is my weekly roundup for the week of December 3rd to December 9th 2007, where I look back at the posts I made over the past week as well as useful and interesting articles on other websites and blogs that I might have read.

Articles posted on my blog

Tuesday marked the 50th day in a row that I actually posted new content to my blog, so I thought I should write a post about it, and a little history about this blog. Then on Wednesday I finally added an RSS feed to this site, using Technorati's service so I can see roughly how many people are subscribed to it. I was surprised after the first day that there were already 14 subscribers but then something like half of them were me testing it in various online and offline readers… the numbers have since dropped but I'll be interested to see what happens over time.

The rest of week saw me actually getting back to posting about LAMP stuff…:

Minor navigation layout changes

After setting up the RSS feed I made a couple of minor navigational changes to the right navigation, moving my sites from the top to the bottom (and re-titling them "My other sites"), re-ordering and splitting up the categories a little, and adding in an RSS fedd subscribe link. I still need to promote the RSS feed more by having a subscribe link at the end of each post, and will get to that soon.

Interesting articles found offsite

I seem to keep subscribing to more and more feeds and keep finding interesting stuff. There's a lot here this week and I'm now thinking about setting up another site which I post to with these everyday and file under particular categories. Kind of like an online bookmarking system for myself. Right, here goes:

Linux.com looked at Linux swap space, what it's for and how to modify it etc.

Google officially announced that it has been messing around with PageRank. Their webmaster guidelines have been modified to state "Buying or selling links that pass PageRank is in violation of Google's webmaster guidelines and can negatively impact a site's ranking in search results." More info at The Register's article

Talkphp.com looked at Auto Suggest Using PHP/MySQL & Ajax using the prototype and scriptaculous Javascript libraries.

Dailybits.com looked at 6 bizarre online gaming incidents

Linux.com looked at lftp, a useful command line FTP client with easy mirroring and backup capabilities.

Talkphp had a basic subscribe and unsubscribe newsletter script

And there were a number of posts at talkphp about creating graphs in PHP; pie chart with example, bar chart with example and line chart with example

Last week I posted links to articles which showed how to use GMail IMAP with Outlook and Thunderbird.This week, linux.com posted how to use Google IMAP with KMail/Kontact, the KDE default email client.

digital-web.com posted an introduction to the jQuery Javascript library. I haven't used this myself but it might pay to take a look sometime.

A List Apart gave us a preview of HTML 5

fundamentaldisaster.blogspot.com gave us a practical guide to numbers in Javascript

blamcast.net looked at how to block bots, and ban IP addresses with .htaccess and in an earlier article how to stop hotlinking of images on your webpages.

LinuxJournal.com looked at how to trap Shell-Script Errors when changing to a directory that may not exist

InformationWeek.com looked at how PayPal works in a 4000 box Linux cluster running a stripped down version of RHEL.

Some hints from the MySQL Performance Blog about being careful when rotating MySQL log files

Sébastien Wains had a how to for retraining DSPAM with Debian Etch

Microsoft published a detailed Vista SP1 changelog

Ruby on Rails 2.0 was released. I don't use this myself but have had a very brief look into it and the Ruby programming language. I may have a tinker with it one day.

phpMyAdmin 2.11.3 was released. This is a bugfix release only.

And finally for this week's list, how to generate photo mosacis with Metapixel on Linux

Source: www.electrictoolbox.com
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Weekly Roundup - December 17th 2007

June 29th, 2008 | Computers and Internet

This is my weekly roundup for the week of December 10th to December 16th 2007, where I look back at the posts I made over the past week as well as useful and interesting articles on other websites and blogs that I might have read.

Articles posted on my blog

This week turned out to be a MySQL week with 5 out of the 6 new regular posts being about MySQL. This started off with me talking about the SQL query I use to work out top selling categories on my Linux CD Mall website on Tuesday, and then using the MySQL Query Cache on Wednesday after the query was running just a little too slowly.

On Friday, Saturday and Sunday I wrote a series of posts looking at the MySQL command line tools for backing up and restoring data. I'm sure I'll write some more about this in the future, but initially this week we looked at backing up MySQL with mysqldump, using mysqldump to save data to CSV files, and finally restoring data from a tab delimited file to MySQL.

Thursday saw the only non-MySQL post for the week, which was about triggering errors with PHP, something I needed to do for a database class I had been working on.

Interesting articles found offsite

As usual, I read a lot of interesting stuff around the Internet and have bookmarked a selection here.

Last week I posted some links to some examples of drawing graphs with PHP. This week I found an even better example, creating a 3 dimensional pie graph with PHP and Google's chart API. It looks really great.

DailyBits posted about The Essential Website Usability Checklist; 13 points for making sure your website is usable.

Linux.com had a useful Linux command line script for customizing directory listings, by making patterns matching in filenames appear a different colour.

The Commodore 64 celebrated its 25th anniversary. I can still remember hacking BASIC games on the C64 to cheat and get better scores…

PC World NZ had a summary of the Vista SP1 changes.

Brainbell.com had an introductory tutorial to CSS

Reinhold Weber posted about 50+ CSS Best Practices and Coding Guidelines and 40 Tips for optimizing your php Code. These are both older posts; I'd come across the latter one before but found the former one when searching for something else this week. Both contain some interesting stuff.

Another older older article, which is linked to from 40 the tips post above, about optimizing PHP code.

Still on PHP, namespacing will be introduced in PHP6, and w3style had an example of its usage, and also an interesting example of a lightweight and flexible front controll for php5.

Office/Visio/Project 2007 Service Pack 1 were released. You can download them here.

The blogging platform Movable Type is now open source.

A post on TalkPHP had some examples of using abstract classes in PHP5.

DailyBlogTips offered 10 tips for blogging in non technical industries, including offering email subscriptions prominently and explaining RSS somewhere on your blog. Although my blog is a technical one, I have been intending to do both of these, and will certainly do this on the non-technical blogs I will be setting up shortly. (More news on these early next year).

How to set up networking in FreeDOS, including a bit of a history of why networking wasn't in MS DOS originally and how it was added etc. Oh, and you can buy FreeDOS from the Linux CD Mall.

A site called cpanelconfig.com looked at how to identify slow MySQL queries using the slow queries log. Although the domain name makes it sound like it's cpanel oriented, the solution offered is generic to any Linux distribution, and not just hosts with cpanel.

Joost de Valk wrote a metrics plugin for Wordpress, which was reviewed, and with more screenshots, by Shoemoney.

phpBB 3.0 was released

ars technica looked at KDE 4.0 RC2, with a few screenshots. There is a Kubuntu live CD which runs KDE 4.0 RC2 (details here). I've tried it out and may post an article about it here. On the whole it seems pretty buggy at this stage.

10 tips to speed up your linux system (read the comments for useful insights into some of the suggestions). One of the things it looks at is "reducing swappiness".

And finally for this week, a tutorial about using CSS overflow

Source: www.electrictoolbox.com
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Weekly Roundup - December 24th 2007

June 29th, 2008 | Computers and Internet

This is my weekly roundup for the week of December 17th to December 23rd 2007, where I look back at the posts I made over the past week as well as useful and interesting articles on other websites and blogs that I might have read.

Articles posted on my blog

I started the week off posting about what RSS is on Tuesday, partly because I intend to link to this underneath the subscribe to the RSS feed in the site navigation, and also because on Wednesday I talked about Redirecting an existing RSS feed to Feedburner and felt I should do some background on what RSS is for any non-technical readers (although I doubt there are any of those on this blog…) I would like to follow the "what is RSS" post up at a later date with more posts about how to subscribe to RSS with various different RSS feed readers and use a variety of different websites as examples.

On Thursday and Friday I spent some time looking the PHP date() and strtotime() functions in the posts Formatting Dates with PHP and Using strtotime with PHP

And finally, on Saturday and Sunday I looked at some issues experienced with the CentOS 4.6 ISO images: MD5SUM errors with CentOS 4.6 when creating CDs and DVDs and CentOS 4.6 faulty ISO images

Interesting articles found offsite

Register Developer looked at Amazon's simpledb which has just been released as a limited public beta. You can read more information about Amazon's simpledb at Amazon.com.

The16art.com posted about how to use CSS to make links appear differently if they are onsite or offsite, without having to specify different classes: the CSS just works it out based on the URL.

Shoemoney posted about advanced Google search parameters, using dates and OR

OpenOffice.org 2.3.1 was released

Rounded corner with rounded borders in Photoshop; if you don't need to rounded borders, this is a quicker and easier way to do it, from an older post

This older post is about speeding up and improving performance of Kubuntu and Ubuntu. In particular it looks at preloading and changing the level of swappiness. I have personally used the preloading and swapiness recommdations myself on Kubuntu and they do seem to have made a difference.

Damn Small Linux 4.2 was released. As usual I'll plug myself and let you know that you can buy Damn Small Linux from the Linux CD Mall.

Ars Technica had a look at Firefox 3 beta 2

The HowTo Geek looked at using a combination of the command line tools "file" and "cut" to find images files whose pixels diminensions are greater than a specified amount.

Create drum beats on Linux with Hydrogen

Linux Directory Structure - explains what a lot of the common directories are for and what they store in them.

Mepis 7 was released just in time for Christmas. Buy Mepis 7 from the Linux CD Mall.

Kubuntu 8.04 will offer both KDE 3.5 and KDE 4, but not LTS (long term support), whereas Ubuntu 8.04 will include LTS.

Perl 5.10 was released

Silverstripe OpenSource CMS 2.2.1 was released

FCKEditor 2.5 and 2.5.1 were released. This is a Javascript library for editing HTML in your web browser, and works cross platform and cross browser. (Unfortunately it doesn't work in my browser of choice - Konqueror, so I have to edit stuff in Firefox instead).

Source: www.electrictoolbox.com
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Page 1 of 26712345»...Last »