MaisonBisson

a bunch of stuff I would have emailed you about

Learning: MySQL Optimization

I have over 1000 posts here at MaisonBisson, but even so, the table with all those posts is under 3MB. Now I’ve got a project with 150,000 posts — yes, 150,000 posts! — and the table is about 500MB. An associated table, structured sort of like WP’s postsmeta, has over 1.5 million records and weighs in at over 100MB (not including the 150MB of indexes).

Up to now I’ve been a “throw more hardware at it” sort of guy — and in a server with only 1GB of RAM, that’s probably the best solution — but I also think it’s time I learned some MySQL optimization tricks. Zach‘s been pushing me to get mytop installed for quite a while, and I finally got around to it.

mytop is a console-based (non-gui) tool for monitoring the threads and overall performance of a MySQL 3.22.x, 3.23.x, and 4.x server. It runs on most Unix systems (including Mac OS X) which have Perl, DBI, and Term::ReadKey installed. And with Term::ANSIColor installed you even get color. If you install Time::HiRes, you’ll get good real-time queries/second stats.

Radical, Militant Librarian

The ALA’s Intellectual Freedom folks came up with this Radical, Militant Librarian button (which I found in Library Mistress’ photostream): In recognition of the efforts of librarians to help raise awareness of the overreaching aspects of the USA PATRIOT Act, the American Library Association (ALA) Office for Intellectual Freedom (OIF) is offering librarians an opportunity […] » about 200 words

WordPress Plugin: Add To del.icio.us

I’m not running it here (only because I’m too lazy), but I was happy to find Arne Brachold’s Del.icio.us – Bookmark this! WordPress Plugin. It puts a sweet Bookmark on del.icio.us link whereever you call this function: <?php dbt_getLinkTag(“Bookmark on del.icio.us”); ?>

Arne also wrote the Google sitemap plugin I use (though it turns out I’m a few versions behind).

US Census on Internet Access and Computing

Rebecca Lieb reports for ClickZ Stats that, based on US Census data (report), most Americans have PCs and web access: Sixty-two million U.S. households, or 55 percent of American homes, had a Web-connected computer in 2003, according to just-released U.S. Census data. That’s up from 50 percent in 2001, and more than triple 1997’s 18 […] » about 400 words

Highways

Think now of the US interstate highway system. Like the internet that followed, the highway system was the subject of much hype and conjecture. Most notably, Norman Bel Geddes’ -designed General Motors Futurama exhibit at the 1939 New York Word’s Fair. In it we saw magical highways connecting our cities, and whisking motorists from New […] » about 300 words

The Library vs. Search Engine Debate, Redux

A while ago I reported on the Pew Internet Project‘s November 2005 report on increased use of search engines. Here’s what I had to say at the time: On an average day, about 94 million American adults use the internet; 77% will use email, 63% will use a search engine. Among all the online activities […] » about 1000 words

More Trends In Online Behavior From Pew Internet

It turns out that the Pew Internet and American Life Project sort of keeps a blog. Here are some points from a November 2004 post by project director Lee Rainie regarding “surprising, strange, and wonderful data:” The vast majority of most Internet users (80%) and many non-users (about 40%) expect that they will be able […] » about 400 words

Joel Friesen’s Misuse of PowerPoint

Joel Friesen‘s PowerPoint-esque presentation on why his girlfriend should continue to date him didn’t win her back, but it entertained folks. Yes, the diagram above shows Joel’s position at the intersection of those who are graphic designers, awesome people, and people who’ve played a zombie in a low-budget horror flick, yes the other slides are […] » about 100 words

code4lib Program Proposal

I’d be excited just to be a fly on the wall at code4lib, but I’m on a bit of a mission to change the architecture of our library software — to make it more hackable, and make those hacks more sharable — so I had to propose a talk. Title: What Blog Applications Can Teach […] » about 300 words

Looking At Controversy Through The Eyes Of Britannica and Wikipedia

The argument about Wikipedia versus Britannica continues to rage in libraryland. The questions are about authority and the likelihood of outright deception, of course, and a recent round brought up the limitations of peer review as exemplified in the 1989 cold fusion controversy, where two scientists claimed to have achieved a nuclear fusion reaction at […] » about 700 words

Magnetic Fields, Earworms, Fido

I can’t get Fido, Your Leash Is Too Long, from The Magnetic Fields69 Love Songs, out of my head. This entry is an attempt to kill this earworm by posting the lyrics. If this doesn’t work I’m checking out Maim That Tune.

Fido, your leash is too long

You go where you don’t belong

You’ve been digging in the rubble

Gettin’ bitches in trouble

Fido, your leash is too long

Fido, your leash is too long

I don’t know where I went wrong

You scare me out of my wits

When you do that Shitzhu

Fido, your leash is too long

Fido, you’ve gone far enough

I must have all of your love

You just run out of luck

I don’t care what you foxhounds

do, but your leash is too long

Tag Clouds…

“The tag cloud is the mullet of the internet.”

Found at phpFlickr. Look closely.

Casey Bisson

Gallery to Flickr Migration Tool

For those people still using Gallery, here’s the last straw: Rasmus Lerdorf got to playing with the Flickr API and quickly wrote up a script to migrate his photos from Gallery to Flickr. He’s didn’t post a script or anything, he’s just saying it’s easy to do.

A lot of things are easy to do, of course, but that doesn’t mean they get done. So it’s probably a great relief to somebody that Paul Baron got on the job. Paul didn’t do any coding, but he posted a rewarding challenge to a Flickr forum, a Flickr member responded (and took home 200 bones for his trouble), and now Paul is sharing the solution with you.

So what’s the holdup now?

DDOS’d

My hosting provider sent along the following message:

We have experienced a DDOS attack today January 4th, which resulted in latency across the entire network. During this time your domain, email, ftp and other services may have appeared to be offline, or intermittent. Our techs have been working as quickly as possible to block the attack and get the network back up to speed.

I was relieved to know that the unexpected downtime was the result of something I’d done. The problem, and I can feel for my hosting provider here, is that DDOS attacks aren’t so easy to block (while also leaving the network open enough to be usable), so I wouldn’t be surprised if performance here is rather variable for a while.

Political Blogging Protected By FEC

Way back near the end of 2005, Lot 49 reported that the Federal Election Commission had basically ruled that bloggers are journalists:

The Federal Election Commission today issued an advisory opinion that finds the Fired Up network of blogs qualifies for the “press exemption” to federal campaign finance laws. The press exemption, as defined by Congress, is meant to assure “the unfettered right of the newspapers, TV networks, and other media to cover and comment on political campaigns.” The full ruling is available at the FEC site. A noteworthy passage: “…an entity otherwise eligible for the press exception would not lose its eligibility merely because of a lack of objectivity…” (emphasis added)

So, yeah, it’s double-edged, I mean that last line is basically the Fox News Channel exemption, but it also gives those bloggers who consider themselves citizen journalists a leg to stand on.

And the folks in that camp should be happy to have the Electronic Frontier Foundation‘s help. As Donna Wentworth says, Bloggers: You Have a Right to Remain Vocal.

Social Software Works For Organizations Too

Ignore the politics for a moment. MoveOn‘s CTO, Patrick Michael Kane, remarked that the organization’s membership to Flickr, the photo sharing site, has paid off: “Flickr has got to be the best $24.95 we’ve ever spent.” Why? Micah Sifry explains in a story at AlterNet that MoveOn had been soliciting photos of events from members […] » about 400 words

WordPress 2.0 & bsuite

Update: bugfix release b2v6 available.

WordPress 2.0 is out and available for download now. I don’t know how the development team did it — I mean with the holidays and all — but here it is. And now I have to admit that I haven’t even played with the betas, so I’ve got no clue how bsuite works with the big 2.0. For all I know it works just fine, or it drops all your tables and sends your browser history to your mother, so please take caution.

But WP2 has a lot of things I want too, so I’ll be checking things out and making any necessary changes to bsuite as soon as possible.

Avenue Q

Steve Wynn could probably have had any show he wanted, but he chose Avenue Q, the Sesame Street and Muppets-inspired show that has to include a disclaimer denying its roots in the program and advertising. What the show’s creators don’t have to disclaim are the three Tony Awards the show won in 2004 for best […] » about 200 words