Lying in your job description? You may be our Drug Czar.

The deeper you dig into the history of the Drug War the more craziness you uncover. You’d think an office in charge of drug policy on a national level would monitor science and policy outcomes and work to refine those policies over time, or in the very least not break laws spreading misinformation about drugs.

You’d be wrong! In 2003 Congressman Ron Paul found this out when he pointed out that it’s illegal for the ONDCP to propagandize untruths about marijuana, especially in attempt to lobby against legislation (typically for its medicinal use). The General Accounting Office’s response a year later? Sure it’s illegal, but technically not against state legislation! And since the drug czar’s job description includes doing “such actions as necessary” to oppose legalization attempts of any kind, why look into the misinformation claim at all.

If you’re curious to know what kind of lies come out of this office, I covered those of drug czar John Walters in detail on StopTheDrugWar.org. His writing is practically a guide for constructing logical fallacies.

Avoiding the replay bug in EA Skate 1

Depending on how you navigate through the menus to get to the video replays, the game (and entire Xbox360) will tend to lock up in the waiting screens, requiring a manual reset on the console. Usually this is before you can view even 3 or 4 replays.

Now that I’m capturing a ton of replays on my PC I had to figure away around this, and here it is:

Do NOT choose the Media menu from the front menu.

  1. Enter Freeskate with any options and any starting location.
  2. Use the white back button [left-facing triangle] to pull up the backpack.
  3. Enter the Live option (the sidekick).
  4. Use the triggers to move to the Media section and load your replay.
  5. After leaving a replay with the B button, use the triggers to return to the media section (don’t back out all the way to the game or the front menu).

BTW, latest EA skate video hotness: Attack! (password: “attack”).

‘Phlox’ Menace Could Abet Future Enemies

The latest example of law enforcement solutions to reducing drug use.

Police raided the home of a couple in the hunt for a drug factory because a [moss phlox] plant in their garden smelled like cannabis. … the couple, both in their late 70s, returned home to find that the drugs squad had battered down their front door. … No drugs were found…

At least they didn’t have dogs at home.

Retired engineer Mr Wiltshire, 77, who, ironically, has no sense of smell following an operation on his nose, has now pulled up the plant. … [The couple has] lodged a complaint with the Independent Police Complaints Commission.

This plant could aid marijuana criminals by deterring detection and investigation. Begin the countdown to its restriction near U.K. homes.

Meanwhile the black market contributes to public safety:

The couple’s next-door neighbour was even threatened by a drugs gang who demanded: “Give us the weed, man.”

Chili enzyme for .htaccess

Here’s a chili (javascript syntax highlighter) enzyme for highlighting .htaccess code snippets. This is for the 1.x series (I’m using 1.8b here) so this will likely not work for the latest 2.0 release without some modification. Also the highlighting is pretty basic, but at least you get comments and the first directive on a line.

place in recipes.js

ChiliBook.recipes[ "htaccess.js" ] = {
    steps: {
        com : { exp: /(?:^|\n)\s*\#.*/ }
        ,dir : { exp: /(?:^|\n)\s*\w+/ }
    }
};

place in recipes.css

.htaccess .com { color: green; }
.htaccess .dir { color: navy; }

Awesome Holiday boredom

88

I got: A, ABBR, ACRONYM, APPLET, AREA, B, BASE, BASEFONT, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DEL, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HR, HTML, I, IFRAME, INPUT, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LINK, MAP, MENU, META, NOFRAMES, NOSCRIPT, OBJECT, OL, OPTGROUP, OPTION, P, PARAM, PRE, Q, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, and VAR

I forgot: ADDRESS, BDO, and IMG. Yes, IMG.

To be fair, this was probably the 8th try. It helps to group them into forms, block/inline, quoting, embedding/linking, framing, lists, data/code display, etc.

Camden Park

Camden Park illustration
One of these days a West Virginia trip is in order and some of my favorite memories are from Camden Park. Originally opened in 1903, it still apparently has its original wooden coasters from the end of the 50’s. Check out the awesome train cars on the Big Dipper (1958). From the skyliner you can probably see what a dump the place is now compared to its heyday, but you can still ride the old chain pulled Haunted House. I loved riding the Spider all lit up at night. Nice overview pics.

Reorder WordPress Link Categories

Update 1/14/2011: According to Dustin Gurley, this still works in WP3 w/ minor modification. Thanks, Dustin.

Update 1/30/06: a plug-in now exists to handle this.

WordPress lacks the ability to specify the exact order that link categories appear in the sidebar. The get_links_list() function can only order categories by name or id, and this limitation becomes annoying when you create your categories out of order (you can no longer order by id) or want to rename your categories (“Junk” has to appear before “My Favorite Links”).

Here’s how to completely customize the order of your link categories:

  1. Open up your WP database with a database admin tool (eg. MySQL Query Browser or phpMyAdmin).
  2. Find the wp_linkcategories table and the row of the category you’d like to appear first.
  3. Update the cat_name field of that row, prefixing the existing name with the HTML comment: <!--01--> (eg. My Stuff becomes: <!--01-->My Stuff)
  4. Update the rest of the rows in the order you want those categories to appear, prefixing each name with <!--02-->, <!--03-->, et.al.

Now when get_links_list() orders categories by name, they’ll be in order by the numbers in the comments, which will be hidden by the browser.

Note that you can’t simply enter the comment within WP because it will escape the greater/less than characters, breaking the format of the comment. For the same reason you won’t be able to change the edited category names within WP without breaking the comments, though you can remove the comments and go back to ordering by name or id.

Maybe someone will make a plug-in to do this from within the WP interface.

What pop-ups?

Advertising.com revealed that people click on annoying pop-up ads 13 times as often as they do passive banner ads. This will surely translate to even more sites using pop-ups for generating ad revenue, but I’ll still never see them because the software developers of the web browsers Opera, Netscape, Mozilla and Safari care about user experience. They’ve integrated intelligent pop-up blockers as part of their feature-rich browsers. What I mean by intelligent is that these browsers will still allow pop-ups when you request them (by clicking a link) rather than indiscriminately blocking all pop-up windows (like the 3rd-party, parasitic add-ons to IE do).

I Heart Opera

Speaking of user experience, Opera7.1
is the most user-centric web browser I’ve used.

  • It loads in a heartbeat and uses very little memory.
  • I search google by typing “g [terms]” (similarly for Amazon, E-bay, etc.)
  • While I read, I open links in the background so I can look at them after finishing an article without having to wait as they load. Meanwhile they sit in a convenient, tabbed interface instead of in individual windows.
  • When researching something, I can create simple text notes that automatically remember where I was when I took them.
  • To go back I just hold the right mouse button and click the left (and vice-versa to go forward again).
  • If text is too big or small, I can zoom a whole page in 10% increments with [+/-].
  • I can “skin” the browser when I feel like a new look. (see pink_bunny or Azurino)
  • I can toggle images, javascript, java applets, plug-ins (like Flash), cookies, animated GIFs, embedded sounds.
  • It’s the most compliant browser with regards to modern web standards, letting me see sites as the designer fully intended.
  • If sloppy designers make broken web pages I can turn their style off with one click, giving me access to the unadulterated content of the site.
  • The latest version is only a 3MB download.

I could go on and on, but, basically, Opera innovates in ways that put me in control rather than leaving me at the mercy of the web. It’s all in their vision:

We believe in respect for our users.

Users have since the beginning shaped Opera’s features and spread the word to the uninitiated. Thanks to this interaction Opera Software exists today, both as an organization and as a technology leader. Opera Software will never forget that its main focus is the user.

You don’t win friends with salad

You can’t make this stuff up: “Sandra Garner and her husband, Darryl Garner, had invited a few guests over to their apartment on S Highland Avenue for a Memorial Day dinner. The menu was simple: A few drinks. A little chicken. And a whole lot of salad.” They argue over the salad, kick all their friends out, and both end up in jail for domestic battery, resisting arrest with violence, use of a firearm while under the influence, improper exhibition of a firearm and disorderly conduct. full story (St. Pete Times)