Archive for January, 2009

Valid characters in attribute names in HTML/XML

This has been bugging me for a while, because I do a fair bit of HTML and XML custom parsing code, and kind of wondered what would be the valid characters for an attribute name in a HTML tag, e.g.

<a href="..." name="...">thing</a>

So, what are the valid characters in HTML (or XML) for “href” and “name”, the attribute names in an HTML tag? » Continue reading “Valid characters in attribute names in HTML/XML”

Comments (4)

At first I thought Google was being hacked

Server Down?Ever seen Google down? Me neither. Sure, I’ve seen the “Gmail not available” message, and “Service unavailable” once or twice, but it was only for a few seconds, really.

That said, last month for about 15 minutes, it appeared that Google was down. At first I did what’s called a Domain Name lookup in DNS which normally looks like » Continue reading “At first I thought Google was being hacked”

Comments (2)

Praise for PHP Arrays

I have to give credit to the PHP team for creating what is one of the most flexible, easy to use, and powerful data structures I have used. That is the array.

To be completely accurate, the manual describes it as » Continue reading “Praise for PHP Arrays”

Comments (1)

The death of the email link

AddressLock Logo

You can contact me at “kent -at- no spam marketruler dot no spam com”, and remove the term “no spam” from that address.

And I kid you not, you see this on a lot of sites, even ones which » Continue reading “The death of the email link”

Leave a Comment

Why people like ConversionRuler

They like me ... they really like me

In full disclosure, I work for Market Ruler, LLC which makes a Marketing Tracking Tool for Marketing Agencies called ConversionRuler, and have a vested interest in the success of aforementioned company.

That said, I recently had the pleasure of working with a new sales consultant, who asked a rather benign question: Why do your customers like ConversionRuler?

In all honesty, about a year ago, I wasn’t completely sure. I mean, I know people liked the real-time reporting, the details we provide, and the ease of use of our interface, but in all honesty, the core reporting we offer hasn’t changed dramatically in a while. » Continue reading “Why people like ConversionRuler”

Leave a Comment

Time is hard

ClockI’m talking about time as represented by, say, your watch, and I’m talking about it in context of internationally agreeing on time.

You think about time and it’s no big deal, right? Twice a year we have to change our clocks for some insane reason which has to do with farmers milking their cows or » Continue reading “Time is hard”

Leave a Comment

Kent’s Life Lessons on Selling Your Home By Owner

The following is a summary of tips originally posted to a mailing list about For Sale By Owner and Buying/Selling your Home.

Working with Realtors

Leave a Comment

Google, Yahoo! and everyone is tracking you!

You. I am talking to you.

When you receive an email which says “Forward this to everyone you know,” you forward it, right? I know it’s you. You want to. It’s a little shout-out to everyone you know that says “Hey, I’m here! I have the scoop on this … email that was just forwarded to me by my friend in Boise, Idaho.”

I finally convinced my mother to stop sending these to me, knowing that » Continue reading “Google, Yahoo! and everyone is tracking you!”

Leave a Comment

RAID 5 and MySQL is NOT recommended

First:

Formatting a drive using RAID 5 is a very big mistake when setting up a MySQL database server.

In case you missed that:

Unless you are running mission-critical banking transactions that can not for any circumstance be lost or else a whole bunch of people are going to die and RAID 5 is the only solution that works, then do not use RAID 5 for any database server where you wish to continue to get a modicum of performance in the long term.

Really. I work on a, shall we say, very high-transaction marketing tracking service which processes over 242 million transactions a month. And when I say “transactions”, I mean hits. And while the hits are not, say, as intense as downloading an image file, it adds up.

Some of it is discarded traffic from inactive sites, or refresh pages, but most of the data ends up being pumped into the database, constantly.

I have considered myself somewhat of a MySQL aficionado up until recently when » Continue reading “RAID 5 and MySQL is NOT recommended”

Leave a Comment

Top 5 Most Useful non-native PHP functions

Since I’ve been working within PHP for almost 8 years now, I’ve developed some tools which would be nice if included in the core of PHP but I find it hard to do without.

As I have forked off various stand-alone projects which don’t have my usual library of PHP code attached to them, I’ve found myself copying these functions around as they are truly essential to coding almost anything.

You’ll note that a few principles of programming in the following examples:

  • Sensible defaults for values are always allowed to be provided by the caller
  • Handle multiple input values (arrays) seamlessly when it makes sense
  • Support functional programming such that return values generally allow further execution without if statements

And awaaaaaaay we go … » Continue reading “Top 5 Most Useful non-native PHP functions”

Leave a Comment