This is the cutest thing I’ve seen in a long time. (Via Boing Boing)
Mike Cohen
Polka Dot Plant
This is the first time I’ve seen this bloom.
Fixed!
I finally fixed a communication problem I’ve been working on for a few weeks caused by a timing issue. It’s lots of fun trying to debug something in which you can’t use a debugger. Since it’s timing dependent, the only way to debug is by putting in lots of debugging messages and watching the log carefully. It was really starting to wear on me, and finally fixing it is a huge relief.
Between Iraq and a hard place
Via Plastic: After the elections in Iraq, the new Prime Minister wants Islam to be the official religion, use the Koran as the basis for the Constitution, listen to Grand Ayatollah Ali al-Sistani when writing laws, and will be close to Iran. Um… oops.
It looks like we really improved things in the Middle East. Just what we needed, another Iran-style fundamentalist regime.
Opposing Alberto Gonzales
Once again the subject of Alberto Gonzales came up in WWDN. Isn’t it funny how the Republicans try to paint everything as a racial issue? They don’t see Gonzales as a man; they see him as a Hispanic and a representative of all Hispanics. Therefore, when anyone opposes him they oppose all Hispanics. The issue isn’t his race or nationality, but his advocacy of torture for prisoners. Of course the Republicans will never even let the real issue enter in the debate. The Republicans try to claim they’re inclusive, but they always insist on making race an issue and trumpeting every nomination of a token minority. The Democrats, on the other hand, ignore race and look at everyone as an individual, not as a representative of some group.
More comment spam
Since yesterday, I’ve been getting a lot of EARN MONEY ONLINE comment spam from India at MacMegasite. When I see more than one spam, I take a very heavy-handed approach of blocking that person’s entire ISP or even the entire IP address range of their country if it’s in Asia. I’m now blocking several ISPs from India. I’ve also added a hack that will prevent a comment from being posted by calling die() with a nasty message if it contains certain strings unique to spam.
Alan Keyes' daughter out of the closet
Maya Marcel Keyes, the daughter of Alan Keyes, a notoriously homophobic right-winger, is out of the closet. This is the same Alan Keyes who called Mary Cheney a “hedonist”, which her father found less offensive than Kerry simply acknowledging that she’s gay. It looks like he’s kicking Maya out of the house. Compassionate conservatism?
Fix for a long-standing bug
Due to the way permissions are set up on MacMegasite & WorldBeatPlanet, when a non-administrative user submits a story they’ll get an error ‘access denied’ even though the story is submitted properly. This happens because Drupal tries to display the newly submitted article, which is unpublished. However, non-administrative users can’t view unpublished items, so they get the error. With some digging in the forums at Drupal.org, I found this fix.
In node.module, look for the function node_submit and change the following two lines at the end of the function –
Original:
drupal_set_message($msg);
drupal_goto('node/'. $node->nid);
New:
if (node_access('view', $node)) {
drupal_set_message($msg);
drupal_goto('node/'. $node->nid);
}
else {
return $msg;
}
This verifies that the newly submitted article can be accessed before it attempts to display it.
Why does Windows still suck?
From sfgate.com:
Are you using a PC? You probably have spyware. The McAfee site claims a whopping 91 percent of PCs are infected. As every Windows user knows, PCs are ever waging a losing battle with a stunningly vicious array of malware and worms and viruses, all aimed at exploiting one of about ten thousand security flaws and holes in Microsoft Windows.
Here, then, is my big obvious question: Why the hell do people put up with this? Why is there not some massive revolt, some huge insurrection against Microsoft? Why is there not a huge contingent of furious users stomping up to Seattle with torches and scythes and crowbars, demanding the Windows Frankenstein monster be sacrificed at the altar of decent functionality and an elegant user interface?
There is nothing else like this phenomenon in the entire consumer culture. If anything else performed as horribly as Windows, and on such a global scale, consumers would scream bloody murder and demand their money back and there would be some sort of investigation, class-action litigation, a demand for Bill Gates’ cute little geeky head on a platter.
Living in the past
I just love Mac OS 9. Resource forks are SO much fun to deal with – NOT.
