- Unprecedented Corruption: A guide to conflict of interest in the U.S. government
TODO: compile ongoing web services of stats, graph generation of economic factors, related news; list of issues/differences
random($foo) is the occassionally still updated blog of Leonard Lin. My pics are on Flickr, code is on Github. @lhl on Twitter. More »
TODO: compile ongoing web services of stats, graph generation of economic factors, related news; list of issues/differences
Daily dose of Bush lysenkoism:
The Bush administration has ordered that government scientists must be approved by a senior political appointee before they can participate in meetings convened by the World Health Organization, the leading international health and science agency.
Working on this got me to clear out my inbox.
I’ve started working on my own JS general purpose stack-based parser/mogrifier, but perhaps I should take a closer look at what’s out there.
See also: PHP Markdown
The Bush campaign has been running a bizarre web video entitled Kerry’s Coalition of the Wild-eyed [4.7MiB QT] (local mirror). It really is a strange mess with a very muddled message (and a very strange ending coda – very propecia). The campaign manager explains its about Democrat fear-mongering. There’s some irony to this negative ad attacking a much less negative campaign for being negative. Also, an attack on fear-mongering from an administration who has mastered and whose entire strategy the past four years has been exactly that.
Hey Bush Campaign, while you’re having a mental meltdown, why not try this campaign slogan on for size: Vote Bush! Don’t change horsemen in the middle of an apocalypse
This movie blasts them and they are in full defensive mode. People come out wondering why the holy fuck haven’t they been told what’s in this movie. Bush’s dad was with a member of the bin Laden family on the morning of 9/11? Bush and his family have taken 1.4 billion dollars in Saudi money? Bush spent 7 minutes reading “My Pet Goat” after he was told “America is under attack?” Planes took bin Ladens and other Saudis out of the country while other Arabs were being held for months as material witnesses? And on and on. It’s no news to us, but it sure is to lots of other people who get their news from TV. You’d think stories like that would command some investigation and attention. You’d be wrong if thought so, apparently the news directors think you don’t need to know this or you’d be too fucking dumb to understand the complex world of international finance that makes it OK for ex-presidents to get rich serving the interests of a foreign government that teaches its citizens to hate us.
Quick and dirty current inbox stats:
Inbox: ($unread)/$total messages “; print ‘Size: ‘ . sprintf(‘%.1f’, $size/1024) . ‘ MiB
‘;
?>
Here’s the code that generates the text file which I simply read with file() and then split:
#!/bin/sh echo time,`date +%s`; echo inbox.total,`ls /home/lhl/Maildir/cur/ | wc -l` echo inbox.unread,`ls /home/lhl/Maildir/cur/ | grep -v 'S' | wc -l` echo inbox.size,`du -s /home/lhl/Maildir/cur/ | cut -f1`
Alternatives for keeping detailed mail stats:
Ideally, I’d want to be able to do minute-by-minute graphing of individual mailboxes to see trends. Would be interesting to generate a Filelight-like display as well as to try to map time-based changes (perhaps in 3D?).
What I’ll probably do I’ve done:
Getting totals should be as easy as running a SUM() on the mail_daily table. The mail_folders is currently only watching the inbox, but could easily be expanded. (These tables should really be called mail_incoming and mail_totals to better describe how their different, but whatever).
Spam followup:
This has gotten me interested in mucking around a bit more w/ my mail again. I think I’ll be trying out CRM’s new OSB-Winnow mode w/ some better counting to get exact numbers.