Why A Web Site, And Why Web Hosting? Imagine having a filing system that could withstand a nuclear war. Hmm, I wouldn’t like to prove it, but in theory that is what the Internet could resist with its virtual existence. If you transfer files of information around the Internet, operating in virtual space, it would [...]
- Published: Nov 5th, 2011
- Category: Mysql
A Flexible Method of Storing Control Data
Introduction Where an application requires certain values at runtime, and where these values may be changed at irregular intervals, it is common practice to hold these on a database record rather than having them hard-coded into any program. This means that should any of these values ever change it is a simple matter of updating [...]
- Published: Nov 4th, 2011
- Category: Php
Floating Point Comparisons In PHP and Javascript
Beware Comparing Floating Point Values Can Be Hazardous! The curse of the .0000000001 and .9999999999!” Here’s the problem. Say you’re comparing two floating point numbers a (71.00) and b (71.00) to see if they are the same. The problem is if you’ve done any calculations to arrive at these numbers they might actually be stored [...]
- Published: Nov 3rd, 2011
- Category: Blogging
The Pros and Cons of Business Blogging (Part 1)
From Dell to Intel, companies have started to put up their own blogs as a new way to communicate with their customers. A lot of smaller businesses are trying to follow in their footsteps (with various levels of success). The question is: “Is it really worth it?” The Good Stuff 1. Getting Personal. Many businesses [...]
- Published: Nov 2nd, 2011
- Category: Javascript
A Simple Image/Link Rollover in Javascript
Image/Link Rollover in Javascript Your web site has been up and running for some time and while you are pleased with the results, you can’t help but think that it needs a little bit more “something”. Maybe a tweak or two to make it stand out a little more. Nothing flashy or too complicated. Maybe [...]
- Published: Nov 1st, 2011
- Category: Xml
Text Configuration Files and XML
Text Configuration files and XML Configuration files are a problem for both operating systems and applications. Where do you keep them, how are they structured? Traditionally, Unix systems used text files with wildly varying internal structures, and Windows used either binary data or “.ini” text files (in this sense, “binary” is used for anything that [...]
- Published: Oct 10th, 2011
- Category: Php
Writing A Simple Twitter Client Using the PHP Zend Framework’s OAuth Library (Zend_Oauth)
Introduction I finally got around to patching and finishing Zend_Oauth’s Consumer implementation for the OAuth Core 1.0 Revision A specification. Once I had it finished, I used it to write a quick and simple interface to post some Tweets on Twitter while I was testing it out. With some documentation and a few extra unit [...]
- Published: Oct 9th, 2011
- Category: Photoshop
Candy Coated Photoshop Tutorial
Candy Coated Effect In this tutorial I’ll teach you how to make a web 2.0 logo so damn sugary sweet it’ll give your website a cavity. Then I’ll give you the PSD, the font, and all the patterns used in the image so that you can play with it yourself. If you want to skip [...]
- Published: Oct 8th, 2011
- Category: Photoshop
Creating a Star Brush in Photoshop
Star Brush in Photoshop In this Tutorial, I will show you how to create your very own "Star Brush". 1.) Create a New file, 30 X 30 pixels, on a white background. 2.) Go to Edit > Preferences > Guides & Grid… (the dialog box will appear.) Now in the Grid panel [...]
- Published: Oct 7th, 2011
- Category: Linux
Mondo Math Libs
A look at some of the math libraries for Linux Programmers generally fall into two groups when it comes to using math. One group doesn’t use floating point much, if at all, and typically needs integers only for the usual mundane purposes like loop control variables, counters, address arithmetic, and other simple calculations. This group’s [...]