Archive for May, 2012

Thursday, May 31st, 2012

JavaScript Math Methods and Properties

This page lists all of the properties and methods of the JavaScript Math static object. The methods allow you to round numbers in the desired direction as well as providing a selection of trigonometric functions. The properties allow you to reference such numbers as pi and e to the best precision that JavaScript supports without [...]

Wednesday, May 30th, 2012

Antiquated Code

Looking at the code in a PHP script recently trying to figure out the cause of a security hole, I observed that the script used many deprecated commands from PHP 4 that are not going to work in the next version of PHP. I’ll take this opportunity therefore to remind those writing code that they [...]

Tuesday, May 29th, 2012

The Importance of Validation

Leaving out the validation makes it easier to demonstrate the part of the code that is being taught without it adversely affecting the way the code works provided that only valid values are input. Since the person learning to code can be relied on to enter valid values this makes teaching the code constructs easier [...]

Monday, May 28th, 2012

What is Validation?

While I put this page in the PHP section, it is equally applicable to all languages since validation generally makes up the bigger part of all programs and you need to know what it is to be able to write useful code. That some people who have already taken a course to learn a specific [...]

Sunday, May 27th, 2012

Adding, Replacing, and Deleting Records

All relational databases support the same basic structured query language commands to access and update the database. Of course some of them also have custom extensions to the SQL as well. In this article I look at the basic SQL required for adding, updating, and deleting records in any relational database. Adding, Replacing, and Deleting [...]

Saturday, May 26th, 2012

Choosing a Graphics Format

There are hundreds of different graphics formats out there used by one computer program or another. Many are exclusive to the one program and can’t be read by any other. There are a few formats though that are supported by many different graphics programs. In this article I discuss the formats suitable for both internet [...]

Friday, May 25th, 2012

NTFS Clusters

I was asked how big clusters are for NTFS partitions and so here is the answer. NTFS Clusters

Thursday, May 24th, 2012

Using Alert to Debug your Script

While all browsers (except Firefox) now come with a built-in JavaScript debugger (and Firefox has several debugger extensions available you can install), sometimes it is just simpler to debug your script the old fashioned way by commenting out parts of the script and by adding alert statements at various points in the code. Some browsers [...]

Wednesday, May 23rd, 2012

This Week’s Updates

The following pages have undergone a rewrite this week and now contain more information than they did before. Nested Styles What is an Operating System Cleaning up Cookies WCreating PDFs from Wordperfect

Tuesday, May 22nd, 2012

VIP Help Desk

Uninstall it Immediately. I was going to give the owners more time to respond since I reported security issues with this script but the more I think about the security issues the more I realise could be done using the script – leaving the owner of the site running the script to take the blame [...]

Tuesday, May 22nd, 2012

Vertical Scroller

A few minor changes to the new version of the marquee script I finished a few weeks ago provides a new version of my vertical scroller script. Now you can even use both scripts on the same web page. Vertical Scroller

Monday, May 21st, 2012

“Security andPrivacy for Microsoft Office 2010 Users”

Only a small book but covering some very important topics. The significance of this book is so great that despite it being one of the smallest books I have reviewed it has ended up with one of my longest reviews. “Security and Privacy for Microsoft Office 2010 Users”