Upgrading Max Allowed Packet 12/1

This post won’t apply to everyone. If you’re a web developer like me and you have a local MySQL database on your Snow Leopard Mac, you’ll have noticed that every time you upgrade your OS it breaks MySQL, and the specific nagging error I get after it’s up and running again is that a transfer has “exceeded MAX_ALLOWED_PACKET bytes.”

Here’s the incredibly simple way of dealing with this:

  1. open terminal
  2. sudo cp /usr/local/mysql/support-files/my-medium.cnf /etc/my.cnf
  3. edit /etc/my.cnf (this step assumes you’re using textwrangler, use whatever you like)
  4. max_allowed_packet is on line 31, change it from 1M to something more respectable, such as 12M
  5. save and restart mysql

No more packet errors!

Asamov: Supa Dynamite 11/8

asamov

In case you were thinking that Jay-Z’s awful new single Empire State of Mind is ripping off Asamov’s Supa Dynamite you’d be correct. But em *technically* not, because they both sampled and sped up The Moments’ Love on a Two-Way Street. To Jay-Z’s credit, his producers obviously did go back to the source material, because they’re using more of it than Asamov did.

Asamov’s song is 1,000 times better, but they didn’t sell any records probably because they’re from Jacksonville, and then they got sued by the estate of Isaac Asamov, and now they’re gone.

Magic moment #1: Mr. Lif’s rap (you’re six strokes on par four)
Magic moment #2: Giving a shoutout to everything in the world
Magic moment #3: No Alicia Keys

Via Boombox.

Asamov – Supa Dynamite (Feat. Mr Lif)

The Politics of Ecstasy 10/22

yippies

Image via Corbis

Had coffee this morning with former members of the Youth International Party, who were reminiscing on this spring-like day in New York about how, in April of 1968, they ceremonially removed the hands of the clock in Grand Central Station.

They poured into the vast main concourse of Manhattan’s Grand Central Station 3,000 strong, wearing their customary capes, gowns, feathers and beads. They tossed hot cross buns and firecrackers, and floated balloons up toward the celestial blue ceiling. They hummed the cosmic “Ommm,” snake-danced to the tune of Have a Marijuana, and proudly unfurled a huge banner emblazoned with a lazy “Y.”

The Yippies—1968′s version of the hippies—were celebrating spring. Hardly had the equinoctial orgy begun, when it turned as bleak as a midwinter blizzard. A dozen youths scaled the information booth, ripped off the clock hands, scribbled graffiti and defiantly passed around lighted marijuana “joints” in full view of the Tactical Patrol Force. The fuzz charged, billy clubs flailing, and arrested 61 demonstrators. Battered but unbowed, the celebrants coursed off to the Central Park Sheep Meadow to “yip up the sun.”

Time Magazine

David Peel & the Lower East Side – I Like Marijuana

The Cutters: Swing Set 10/4

the-cutters

I was listening to Boy Wonder’s excellent set last night on KSHU in northern California and was blown away by this song from local Arcata band The Cutters.

They sound like The Hollis Wake or Dressy Bessy. Lots more mp3s at their site above. No good pictures though! That’s their tour van pictured. Note the reversed Cutters bumpersticker—it’s the little things.

The Cutters Swing Set

Drum & Bass 9/20

My man Inkee in Chicago has posted a righteous old-school IDM-style drum & bass mix — really takes you back. Or me, at least! To underground bars and windswept avenues.

Rollin’ by inkee

Paul Newell for District Leader 9/14

newell

Now’s as good a time as any to promote a small site I did for a local NYC politician who narrowly lost to Sheldon Silver last year for NYC State Assembly, which is no small feat in my neighborhood.

Actually, it’s a better time than most, because you can vote tomorrow (Tuesday, September 15th) in the Democratic Primaries. Here’s your polling place. While you’re at it, I also recommend voting for Pete Gleason for City Council, Richard Aborn for District Attorney, and Bill Thompson for Mayor (although come election day I hope you consider switching to the Reverend Billy Talen).

NYC can be a dispiriting place to follow local politics because of the corrupt elections and ridiculous term limits, but if you support these candidates everything will be better and you will get a pony1.

Update 9/17: Gleason and Aborn lost, but Newell won! With 66% of the vote, winning 29 out of 30 election districts. We’re going to put up some kind of community resource website soon.

  1. offer not actually valid []

AdSense 8/11

So, it’s been almost a year since I signed up for Google advertising on the right side of this humble blog. Year One earnings statement below:

adsense

No one told me you have to actually click on the ads to make money! I’m going to take that as a sign of the intelligence of my readership.

Look for the ads to be disappeared in a future update.

Personal Lolcat 7/29

lol-coda

I’ve never had a lolcat made for me! Until today that is.

Marina & the Diamonds: Mowgli’s Road 7/8

marina2

From her I am Not a Robot video

The song below is the B Side on her Obsessions single which appears only to be available on 7″ vinyl in the US. I think it is for sale on CD in the UK though, so I recommend you fly there and get it.

Anyway, I love this song—reminds me of Lene Lovich kinda—but I was reading her blog and was v disappointed to learn that she must be colorblind or something because how could she be so wrong about the colors of the numbers? I must set the record straight and prevent this misinformation from spreading.

Three- Green (SO fucking green) ORANGEY BROWN
Four- Purple [CORRECT]
Five- Red [CORRECT]
Six- Blue SILVER
Seven- Gold/ Yellow WHAT?! BLUE
Eight- Deep Purple BROWN
Nine- Brown GOLD
Ten- Black YELLOW
Eleven- Silver NO COLOR

Also, she didn’t cover these, but

One- BLACK
Two- WHITE

Marina & the Diamonds – Mowgli’s Road

(via Georgia)

Little Web Victory 6/13

Prize Ribbon

If you search the phrase prize ribbons on Google, Jessica Grindstaff’s prize ribbons page is #9 — on the first page of results!

This probably has more to do with the excellence of the ribbons themselves than my coding, but hopefully with some more attention it can go even higher on the page!