In Firefox’s search box, I typed "Mysql error no. 1130" and almost as fast as I typed the individual letters, the drop down box was recommending potential searches. It does this incredibly accurately and quickly for bizarre terms that under normal circumstances would never be put together. How are they doing this?! Programmaticly I can conjecture at how they’ve pulled this off. It’s a very impressive feature! (particularly if it really is using mind reading)
Why didn’t you just do that in the first place?
Years ago I ripped all the paneling out of the downstairs, tore out cabinetry, plumbing, a sink, and a wall. I waterproofed the concrete block wall first by filling any cracks with a mortar then painting the block with a thick waterproofing sealing primer. The wife asked, "why is this taking so long?" I then created studs for the new wall which included a walk-in closet and a nook that the previous setup did not include. The wife asked, "why is this taking so long?" I pre-drilled the studs for wiring and ran electric, cable (to multiple drops), and ethernet (to multiple drops). The wife asked, "why is this taking so long?" Next I insulated the walls and hung the drywall. The wife asked, "why is this taking so long?" Finally I was able to do the tedious step of applying joint compound (spackling) to fill the gaps and cover the drywall screws. If you mess up the joint compound, the mistake will be clearly seen when paint is applyed. I sanded and sanded and reapplied compound and sanded and sanded. The wife asked, "why is this taking so long?" Finally I was able to put a coat of paint on. The wife asked, "why didn’t you do that in the first place?"
Often my programming is very similar. A lot of detail goes into the framework of the site, that is the behind the scenes stuff that nobody ever sees. As a matter of fact, if I have done my job well, anything complex should be hidden from the user and the website should leave them with a "wow that’s easy! I could do this!" feeling.
My current project involves using ColdFusion to fetch a large amount of data from a data provider (some other company that has a really big database which frequently updates) in an xml format then parse it to save the results in my client’s database. I have made it over a huge challenge! But all my work is invisible to the frustrated client. I’ll put up the visible side shortly and I fear the client will ask, "why didn’t you do that in the first place?"
Programmer Tip of the Day
It doesn’t always have to be elegant. It just has to work!
Remember, we create function before art.
When coders dream
Apparently I wrote the solution to this problem in my web application while I slept. It certainly is not in the code and I really remember putting it in the code. It was some slick programming too!
Learn to Speak Programmer
Phrases to add to your vernacular:
"Hehe. That was stupid."
How to get into programming mode
Have a ritual! Some morning I just want to stare at the computer and bemoan, "I’d rather be blogging." Today I have a video I want to make and other fun stuff like painting the kitchen but responsibility has to come first. How do you kickstart yourself? My ritual to start programming:
- Pour a cup of coffee
- Read a few blogs (get it out of the way) then CLOSE the feedreader
- Write a blog post
- Refill the coffee
- Light a stick of incense
- Get some music going
- Wear some ear plugs (kills the white noise and seems to make me focus better)
- Determine a milestone which will be my next break
- Begin typing like mad.
What am I doing to my brain?
The mental exercise of jumping from one project to another at a rapid pace with breakneck deadlines is like making a bootleggers turn at interstate speeds particularly when the environment of each project changes slightly or even drastically such as CF with MS SQL to CF with MySQL to ASP with MS Access. I’m sure this either good for me or the seed for a tumor.