Want to get where you're going? Don't wait, start now!
Clinton is rooted in PHP, MySQL, jQuery and web development standards. He is a rare bread of web development professional that focuses on back end and front end development; specializing in dynamic content such as internal pipeline (intranet) tools and user driven content.
He has experience with performance optimization, scalablity, accessibly semantic code and utilizes PHP/MySQL server side technology complimented by non-obtrusive DOM manipulation with jQuery to make the magic happen.
Coming back
Published:
I left Tumblr almost a year ago, when they refused to offer extended RSS feeds. Mostly because I have a surf blog here with 5 years worth of content that I couldn’t get to. It pissed me off and I left. I also got tired if thinking I would write more tech tutorials to share. Truth is that I’d love to write more tech tutorials, but I like to surf and program more. Look for more stories on those two topics from here on out.
5 minutes really isn’t too long to wait when you’re frustrated. If/when you feel your blood pressure start to rise just go grab a cup of coffee or do 20 jumping jacks.
Jason Fried’s recent article hit home for me today, and I’ve been waiting for a good chance to talk about his well written article. It’s easy to take a defensive stance on a subject, especially when you consider yourself to be an “expert” in the area. When someone challenges your stance, a true “expert” will take the opportunity to absorb the argument, digest the content, and formulate an intelligent response. Snapping back with the first “you’re wrong” response you can think of not only makes you look like the bad guy, but it doesn’t provide you the opportunity to admit you’re wrong.
Being wrong isn’t such a bad thing, and neither is taking five minutes to admit it!
Montana State University satellite surpasses goal; NASA taps MSU to queue up for another launch
Published:
10 years ago I had the opportunity to work on the MEROPE project, the VERY first satellite designed, built, and tested in Montana. Good to see that the project is still rolling and is actually very successful! Here’s hoping they keep up many years of continued awesomeness.
javascript - setTimeout with zero delay used often in web pages, why?
Published:
Do you need to do live polling on events for your site on a time interval? For example, pull a new set of results from a twitter feed every 10 seconds. If the call/calculation takes awhile to complete, your user might be left with the feeling that the action they performed (clicking a button) didn’t do anything.
The crux of the problem is that the browser places all its “TODO” tasks resulting from events into a single queue. And unfortunately, re-drawing the “Status” DIV with the new “Calculating…” value is a separate TODO which goes to the end of the queue!
So, to fix your problem, you modify your onClick handler to be TWO statements (in a new function or just a block within onClick):
Populate the status “Calculating… may take ~3 minutes” into status DIV
Execute setTimeout with 0 timeout which calls “LongCalc” function. LongCalc function is almost the same as last time but obviously doesn’t have “Calculating…” Status DIV update as first step, and instead starts the calculation right away.
I stumbled onto this link on stackoverflow.com, it gives a full breakdown on the problem, the solution, and why you would want to do this. Read up, it’s a nugget of knowledge that can really save your bacon (and make you look like a much smarter developer than you really are)