Please note: This site is now an archive, visit Atomic Ninja Labs for the latest content and updates.
I think we have another candidate for Gruber’s Jackass of the Week:
Asked why he as a black man grew up during segregation could advocate discrimination, Mr Hutcherson said: “How many homosexuals have you ever seen had to ride on the back of a bus? I haven’t seen one. I know that many blacks have in the past.”
Whatever happened to “Love thy Neighbour” — in the “too hard” basket?
You know, there is so much one could say about this and so many colourful high-descriptive terms spring to mind, yet I cannot help but think to react extremely negatively is simply providing the exact response this type of behaviour is attempting to illicit.
There is nothing right or “good”, morally, religiously or otherwise to defend the position Mr Hutcherson is taking.
Jesper takes another cracking shot at why stuff keeps staying broke, despite constant development marching forward:
“Okay, stop. Guys working on larger capacity hard drives, flash drives, cheaper memory, better power supplies, fundamentally different CPUs and cures for cancer, you can keep going. The rest of you, spend five years fixing the fundamental issues.”
The problem is that fixing issues just isn’t sexy. Oh, sure, you can make debugging sound sudo pseudo-sexy, Joyent’s
constant
spruiking
of
dtrace to all who will listen is proof of that.
Fixing problems has always been the Achilles Heel of any software or hardware platform, because it’s often easier — both up-sell and manage — to build something new than fix the old one. The entire software and hardware industry is entirely geared up to consume and burn, not rebuild.
And that won’t change until the consumer and the market embrace the concept of “green” re-use and re-cycle concepts. Ironically it’s just as much our fault — for demanding change over improvement — as those controlling the product cycles. Makes you think, doesn’t it.
"Well Paul, frankly, if I was John Gruber I’d call you a Jack-ass." — amen. Thurrot is less relevant as each day passes. The solution was to (some time ago) remove his material from my RSS inbox, with no adverse affect as a result.
"There’s no reason to steal a calculator color scheme, which, as far as I can tell, is the only aspect the Braun and the iPhone Calc have in common." — Thurrott is losing his grip on reality; an equals key plus ‘barely similar’ colours is design theft!?
If you are a text-link-ads publisher and provide a canvas for the display of fine hypertext wares via the tla wordpress plugin, might I point out a small, but somewhat pivotal part of the process. Within the wp-options table is the row tla_last_update.
This little beasty stores the surprisingly boring yet none-the-less critical-for-functionality last update time — that is, the last time the publisher’s XML feed was fetched and ‘anything’ happened as a result.
Now, in the typical boring world we live in, this little dohicky will quietly update, in the background, every so often. But what might happen if the update time is wrong?
Well, obviously if the date and time was something like 2003-08-13 17:16:18, then obviously a check of the XML feed will happen pretty much as soon as the very next GET occurs for any template that carries the <?php tla_ads() > plugin hook. Because that date falls well outside the ~700 second update cycle, as of now.
“Ahh, but what happens if the date is in the future, yo?” — that’s a damn good question.. and here’s the answer.
Nothing. Nada. Zip. Zilch. Zero.
At least until well after the date rolls around. So if the date is incorrect, or the local server’s time is erroneous, such as 2009-08-13 17:16:18 then there will be no further updates until that date.
That’s a bit of a problem, particularly in this author’s instance, when TLA sent an email, indicating a newly minted sponsor’s listing hadn’t updated, thus they would immediately HOLD my account, for at least 24 hours, assuming the issue is cleared. If not, another 24 hours will roll past.
Thus the above was discovered after carefully inspecting the tla_last_update table and the discovery of the specific row and it’s erroneous content.
So the next question, obviously, is how can I prevent this from happening again? And that’s a little tricky, because how does one ‘know’ when the date is wrong? And how does one then fix the problem?
Well, from a SQL perspective, a way to touch the row and update it, might be expressed thus:
UPDATE `wp_options` SET `option_value` = '2007-08-13 19:05:01' WHERE `option_name` =tla_last_update AND `blog_id` =0 AND CONVERT( `option_name` USING utf8 ) = 'tla_last_update' LIMIT 1 ;
Obviously we want to ‘force’ an update - so setting the date and time to zero should do the job nicely. Creating a whole new db query seems a little overkill — indeed the task has already been done for us. So let’s take advantage of two get and update functions that already exist and simply updates the tla options in table wp_options:
< ?php
// reset tla options to enforce update
require("../wp-config.php");
echo 'Updating TLA table..'; // fetch date
$current = get_option('tla_last_update');
echo 'Last update time was: '.$current; // update date
update_option('tla_last_update', '0000-00-00 00:00:00');
$current = get_option('tla_last_update'); // echo results
echo 'New update time is: '.$current;
// add any further option updates as needed below
?>
In my case, I have dropped this in a php file, in a .htaccess protected directory, thus restricting the php to internal calls only. Create a weekly (or daily) cron job to access that via wget or some such other contrivance and you are done. Indeed this opens up a number of ‘options’ as far as automated option changes are concerned.
Indeed I have a small handful of db related cleanup jobs run weekly to help improve overall performance as it is, so this slotted right in. Or, you could simply drop the code into a suitable wp-cron accessed file if your web host does not provide cron access.
I’ve already sent feedback to text-link-ads suggesting they build in some date sanity checking to ensure a malformed future date (say > 3 days) is reset. So hopefully this will become redundant - but, well, until then.. I have it covered.
"See, we know you meant to say ‘near-sighted’, but it is these little mistakes that make us love you so much and why we will miss you." — in a rare display of childishness, Paul Scrivens decides the best defence, is depreciating offence, rather than explaining why 9rules is worth your time.
"[tylin] sent in this "DIY SCUBA" youtube video. These guys used a home shop air compressor with a particle filter so they could "SCUBA dive". This kid is lucky he didn’t die." — Will gives us a timely reminder that some hacks are just plain stupid.
Dear Sir or Madam,
I wish to inform you I no longer give a shit about the iPhone. At all.
I don’t want to have to read yet another Pulitzer Prize attempt in describing the iPhone, that EDGE isn’t all bad (hint, it is) that we should all go out and buy one, that it’s God’s gift […]
"Sydney company tickgreen has launched a service dedicated to helping Web site owners reduce the carbon footprint of their online offerings." — of course, tickgreen couldn’t possibly be profiteering from those concerned over global-warming, right?
"But now there’s a shadow hanging over Linux and other free software, and it’s being cast by Microsoft." — this all sounds very familiar.. it’s real easy to *claim* this Steve, but when the hell are you going to prove it?
"Allows you to create a link to yourblog.example.com/?random which will redirect someone to a random post on your blog, in a StumbleUpon-like fashion." — matt releases a plugin then suggest users on 2.0.x aren’t "serious" about their blogs. What?!






