Most recent articles

PAGE: PREV 1 2 3 4 5 6 7 8 9 10 Archives NEXT

Pantone's 2008 colors

Saturday, February 23, 2008, 11:51 PM
Website Design by John (Article #188)

If there is one thing you find out about yourself as a geek very early on life, it is that you are color blind. Not necessarily literally color blind (double adverb score on that sentence). But, there is a reason why Google is a white page where one guy is assigned to do one spot of color. That's just who we geeks are as people.

In the interest of making us all a little less color blind, I wanted to pitch one of the better sources for colors, the Pantone Spring and Fall Fashion colors. While I don't encourage aping anyone's color styles, I am an advocate of at least pondering what works. We as geeks reverse engineer everything else, and there is no reason to not reverse engineer color schemes, too.

So, here are the links to the Spring 2008 and Fall 2008 fashion color schemes according to Pantone. Keep in mind, Pantone normally sells these color cards for something to the order $3,000 for a set. So, don't go sticking your nose up at some freebies.

READ MORE ...


Mail article to a friend

Thinking about size of various MySQL types

Friday, February 22, 2008, 4:32 PM
Thoughts by John (Article #187)

When designing a user-driven system, anticipating the type of storage types needed in MySQL to accommodate the project can be challenging. Of course, MySQL never helps anyone's cause by making sure their online manual is, ahem, not for beginners. Or intermediates. Or even low-level advanced skill folks.

But, the part of the manual that handle data types is surprisingly coherent if you have an intermediate level of skill with MySQL (that pretty much describes me).

I was fishing around because I'm debating the merits of the TEXT, MEDIUMTEXT and LONGTEXT functions. I really wish MySQL had an in-between function. TEXT allows a 64 kb string. If you go up just one level, you get a friggin 16 Mb string! And the next? Bigger than my first hard drive.

The project I'm doing will allow a large number of folks to convert a lot of data into a huge number of text fields. Since the general upload default size for my server is 8 Mb (I've upped it to 16 Mb), I figure a MEDIUMTEXT is just pushing things. Also, it will be free registration, and you have to eventually consider how much free space you're going to give away on a fairly small server.

But, it is an issue we all have to deal with. There are going to be folks who want more than a 64 kb block of data in those database fields. Should I give it to them?

Well, if I had Google's cash, sure, I would. Not with my cash, though.

Which is why I wish MySQL had something a bit more in-between. I know I can shoehorn this into the MEDIUMTEXT fields, but 90% of the fun of MySQL is letting it do the work for you.


Mail article to a friend

Some working code for the latitude-longitude conversion project

Thursday, February 21, 2008, 10:39 PM
Source Code by John (Article #186)

An email came in tonight that had some trouble applying the information from the post about building a system that converts latitudes and longitudes into X-Y co-ordinates for use with images generated by GD with PHP.

In the interest of promoting a little more applicability, I'm going to post the code that generates an actual PNG file from the map database.

This loads all the co-ordinates into three arrays. One for the rivers in the county. Another for the roads. A third for the county political boundaries.

Then it goes through the arrays, and draws the lines onto the image. The line colors and thicknesses are based on the type of river or stream listed from the original shapefiles.

This probably doesn't make things any clearer, but it at least gives you a look at proven production code.

And, for the critics... please refer to the post where I admit that I am very lazy about constructing anything into a usable object class. Yeah, I know the functions is significantly more recursive and could be done better with some OOP. I just don't care, because the code works.

Anyhow... I hope this gives some folks who were looking at the lat-long post something with a little more meat to chew on.


Mail article to a friend
Download getmap.zip

HD, the internet and the future of TV

Wednesday, February 20, 2008, 10:11 AM
Thoughts by John (Article #185)

I've often pondered why the television business is slow to fall in love with BitTorrent and peer-to-peer file sharing. Yes, it is hard to make an advertising model work. But, if file sharing is the future, it's the future. In ten years the BluRay victory over HD-DVD will be moot, because downloads will rule the internet.

I have also thought that HD offers an opportunity for the networks to place a poison pill into the equation. If the TV networks made HD copies of their shows on BitTorrent the defacto standard, and server them off so many of their own machines that no one could bounce them off the top of search results with a lower-quality copy, you could drown the entire internet in HD.

HD is bandwidth intensive. The ATSC standard used for over-the-air requires 19 MB per second. Could you imagine how badly the internet would choke on that?

I'd buy a TV network, Cisco stock and both Seagate and Western Digital stock. Because as people gagged the entire system with gigantic shows, it would all have to go somewhere.

Then, I would use the TV networks to promote a culture of promiscuous, rampant, unchecked HD file sharing.

Sit back and laugh as the cash rolled in from selling routing equipment and hard drives.


Mail article to a friend

Did Google Adsense finally figure out what my site is about?

Monday, February 18, 2008, 12:08 AM
Thoughts by John (Article #184)

The Adsense ads finally make sense!!! I wonder if Google upgraded its algorithm, because the Adsense ads for this website forever were being served as "website design for $299" and crap like that. Of course, this blog is aimed at people who already make their own websites. Soooo...

Suddenly, the ads are for stuff that might interest designer. Oh, and the click-thru rate has improved. Go figure.


Mail article to a friend

A novel solution to a big MySQL problem

Monday, February 18, 2008, 12:03 AM
Code by John (Article #183)

Every now and then you come across a blog that is really worth passing along. Jeremy Cole's blog falls squarely in this category. Cole is the kind of MySQL guru I can only dream of being.

I came across his blog while searching for a few different approaches to solving the great issue of blacklisting incoming IP addresses from countries that post a lot of spam into websites. The main problem isn't the database of IPs and countries itself. While large it isn't impossible. It is just cumbersome if your goal is to search for ranges.

The problem comes when you're trying to push through all of those IP addresses quickly to get a fast answer. Cole's solution is novel: form the IPs into polygons and use the MySQL polygon function to determine if an IP falls within the given range. It's pretty cool, when you think about. Speedy, too. That's nice, especially for a blacklisting function, since obviously the whitelisted folks still have to be passed through before they're served any content.

Cole has quite a few other hardcore MySQL guru tips on his website, too. it is worth a further look.


Mail article to a friend

There's a word in Spanish my server doesn't understand

Thursday, February 7, 2008, 11:18 PM
Other Stuff by John (Article #182)

Buscar... it's an interesting word. It's Mexicanese version of "Search". It is also an important word if your website has any significant amount of Spanish language content on it.

I was surprised to see that my web stats package, when processing search queries, no lo comprende que "buscar" es el mismo typo como "search". Of course I obfuscate that in Spanglish because... well, I have issues. My apologies for butchering a language that doesn't belong to me -- I've been listening to Molotov lately, and learning Spanish from them is about the same as learning carpentry from a monkey brandishing a chainsaw.

More on-topic... I don't know why, but it just strikes me that a web server built by GoDaddy, a company based in Scottsdale, Arizona, would have some kind of Spanish-language support in handling web stats. So, if a Spanish language search engine uses "buscar" in its choice of CGI queries, those go untallied by my web stats as searches.

Maybe I'm just being snotty, but I'd like to see what folks are buscando on my websites.

I know for most readers of this blog this will be a minor inconvenience not being able to tally Spanish language queries to their websites, but I still thought it was a bit limiting.

At some point I need to build my own log analyzer anyhow. Obviously, one more thing to toss in there would be Spanish language support. Of course, if I do that, how long will it be before people request I open source it and add support for Micronesian pidgin English?

Just a matter of time.


Mail article to a friend

Topicality plus nut and bolts

Friday, February 1, 2008, 3:48 AM
Website Design by John (Article #180)

Over the three years I've been in business for myself, I've tried to formulate some notion of what the best recipe for all this website stuff is.

Time and again, I've seen two critical drivers for page visits.

  1. Topicality.
  2. Nuts and bolts knowledge.

READ MORE ...


Mail article to a friend

A small search engine optimization experiment

Thursday, January 31, 2008, 12:27 PM
Website Design by John (Article #179)

I've been having a discussion about the merits of SEO with someone who was seeking a link on one of my websites. Now, this guy's history with websites has been nothing but carnage going back a long way. No success at all. Yet, we have a conversation that was ever slightly adversarial on the subject.

So, in the spirit of adversity, I offer this gem... Punxsutawney Hometown. Why do I offer it? To prove a a point about the value of doing your SEO right, and to do it white hat.

The goal of this experiment is to beat his existing website in Google PageRank and search results by doing all of the search engine optimization the right friggin way.

His website -- which you can go Google "Punxsutawney Hometown" if that turns you on (sorry, but linking to him sort of defeats the control of the experiment) -- is a study in ways to not do search engine optimization.

Consider it's numerous flaws:

  1. Poor title: one word, no descriptive.
  2. Keyword stuffing on a redirected index page!! Holy cow! There's doing SEO wrong, and then there's that.
  3. All main content is in Macromedia Flash. Google does not disassemble Flash and shows a particular disdain for formats other than HTML anyhow. Hell, I've had success converting PHP docs to appear as HTML docs. That tells you how snotty Google gets about formats, because there's way too much PHP-driven content out there to be too snooty about PHP. yet it is.
  4. No real HTML content ... at all. Period. Wow.
  5. What content there is is nested in an IFRAME on a remote server. Really.
There are more, but those are the mortal sins in the eyes of our Beloved God, Google.

So, I'm floating my experiment to show the value of white hat search engine optimization. I'm trying to help someone stubborn find the only religion there is to find on the internet: Google.

And of course the messenger of that religion, GoogleBot.

We'll see... Not that the entire lesson will have much value. The stubborn rarely learn. Especially if they work in the print industry.


Mail article to a friend

2008 presidential election issues, from a tech point of view

Monday, January 28, 2008, 12:03 PM
Business by John (Article #178)

2008 is the first election where the tech subculture represents a major constituency to both political parties in the United States. With the exception of John McCain, most of the major candidates are young enough to have a personal background with some experience with computers and the internet.

So, I wanted to take a look at where the top four candidates at this stage (McCain, Romney, Clinton and Obama) stand on key issues (H1-B visas, privacy, network neutrality, government transparency, piracy and internet taxes).

Not surprisingly, getting good solid answers about each candidate's position is tough. Generally candidates don't take firm positions unless those positions are known winners, a stance that usually amounts to "I like babies and America, too."

READ MORE ...


Mail article to a friend

PAGE: PREV 1 2 3 4 5 6 7 8 9 10 Archives NEXT

© 2010 Pro Content and Design. All rights reserved.


Tools

Check Google PageRank


Welcome!

Wonder where to start with your web design business?

This blog follows along with my efforts to build and grow a website design business, Pro Content and Design.

The goal of this blog is to fill in blanks that may be empty as you get your business rolling.

This blog, particularly the source code section, is not intended for beginners. If you are not comfortable with databases, Ajax, DOM objects and other advanced methods, I strongly suggest you go take a look over at W3 Schools before even reading -- let alone tinkering with -- any of the code here.

I hope this blog has some value to web designers as they attempt to get their businesses going.

Good luck, and happy reading.

Thank you,
John Crawford
Pro Content and Design

Books


I highly recommend Art of the Start if you have no idea where to start with marketing.

Links

Coding
W3 Schools
IBM's Mastering Ajax Series

Graphic Design
Worth 1000
Stock.XCHNG
Urban Fonts

Website Software
Apache Web Server
SquirrelMail
PHP/Zend

Website Design Issues
Non-Standard Character Guide
Google Trends
Search Engine Optimization Analyzer

Business
Guy Kawasaki's Blog
Seth Godin's Blog
Freakonomics

Computers
NewEgg

My Main Website
Pro Content and Design

Websites I have built
PunxsyPage: local free classifieds website

Farm N Land: low-cost real estate listing website

Groundhog Festival: for the local summer festival

Weather Discovery Center

My Webapps
TV Stations Transmitter Database

Google PageRank Checker