21st Century Digital Boy

April 26, 2007

The man page for ‘logrotate’ is full of lies

Filed under: Unix — 21cdb @ 4:20 pm

The man page for ‘logrotate’ is full of lies. What it says is

extension ext
              Log  files  are given the final extension ext after rotation. If
              compression is used, the compression  extension  (normally  .gz)
              appears after ext.

What it means is (courtesy http://www.die.net/doc/linux/man/man8/logrotate.8.html)

extension ext
Log files with ext extension can keep it after the rotation. If compression is used, the compression extension (normally .gz) appears after ext. For example you have a logfile named mylog.foo and want to rotate it to mylog.1.foo.gz instead of mylog.foo.1.gz.

Note the subtle difference, namely, “keep it” versus “given” (passive versus active; the latter implies the file is renamed). This might not apply to anything other then CentOS 3.

April 24, 2007

More on Chocolate ….

Filed under: Fast Food Nation — 21cdb @ 9:42 am

Yeah, so, while you’re wolfing down that chocolate for all its awesome polyphenols, bear in mind, it’s probably not even actually chocolate

(Readers of “The Omnivore’s Dilemma” are presently nodding and muttering “goddamn corn” to themselves.)

About the only people who can honestly say where their food came from - and what it is - are hippies who grow their own wheatgrass, and Ted Nugent. Let that irony soak in a little.

April 18, 2007

Wine Notes

Filed under: Personal — 21cdb @ 9:50 am

1. Vintage Virginia 2007 tickets are on sale, June 2nd and 3rd. Always a good time. At least if you can manage to deal with a million freakin’ people and occasionally poor service.

2. Pearmund Cellars will be releasing a Riesling at the end of the month (some time next week?). I’m getting into Rieslings a lot - Yellow Tail, of all things, has a fan-fucking-tastic medium-dry Riesling - so I’m particularly excited that my favorite VA winemaker is going to be releasing one (the Viognier at Pearmund is easily one of my favorites of all time).

Omniweb crashes in WordPress.com and others

Filed under: The Web — 21cdb @ 9:21 am

Some time Monday, something changed on WordPress.com, causing OmniWeb - and for that matter, any WebKit browser based on the version of WebKit OmniWeb is using - to die horribly.

(It has also been noted that blogspot blogs cause the same problem)

I believe that it is something to do with the Snap preview. You can disable it by adding

http://shots\.snap\.com

to your adblock list.

See this thread for more info. In another thread, they claim to have fixed it for 5.6, but as I said in the thread, I hate the Snap shit anyway.

April 17, 2007

Let the media hyperbole begin

Filed under: The World — 21cdb @ 3:57 pm

CNN’s home page says:
Cho wrote plays containing “macabre violence,” student says

Dear Media:
Shut.
The.
Fuck.
Up.

By this logic, Bret Easton Ellis is going to shoot up a school any minute now. Don’t believe me?

“I start by skinning Torri a little, making incisions with a steak knife and ripping bits of flesh from her legs and stomach while she screams in vain, begging for mercy in a high thin voice. Finally I pour acid onto her belly and genitals, but none of this comes close to killing her, so I resort to stabbing her in the throat and eventually the blade of the knife breaks off in what’s left of her neck, stuck on bone, and I stop. While Tiffany watches, finally I saw the entire head off–torrents of blood splash against the walls, even the ceiling– and holding the head up, like a prize, I take my cock, purple with stiffness, and lowering Torri’s head to my lap I push it into her bloodied mouth and start fucking it, until I come, exploding into it.”

If that’s not “macabre”, I’m all ears as to what is. (actually, no, don’t tell me.) Other bits can be found here. No, er, pun intended.

And for the record, I loved both the book and the film.

Sometimes, you know, people just go off their meds and snap. But not in America - it’s video games and movies and TV. If he was just a poor screwed up kid who went off his meds, then no one else gets to put on their victim badge.

April 16, 2007

HOWTO: Make yourself feel like a complete wimp

Filed under: Personal — 21cdb @ 12:12 pm

http://joshsgarage.typepad.com/articles/2007/04/video_all_300_e.html

I almost managed a couple floor wipers the other day. That shit is hard, far harder than it looks. For some reason he omitted the ‘knees to elbows’ move that some posts show as part of the ‘300 set’. I almost did one of those the other day, too.

(It should be noted that, the ‘300 set’ is a test, not a routine. You’re not supposed to do this every morning. It’s intended as a right-of-passage, like a PFT in boot camp, not your usual morning workout. But if you’re looking for a goal, and ‘crack walnuts with my abs’ was too generic, this is a hell of a test ….)

Today, we sysadmin in Hades!

Filed under: Work Stuff — 21cdb @ 10:55 am

At semi-regular intervals, I take off my “web developer” hat, and put on my “sysadmin hat” for a day of totally awesome system administration.

This is the worst job in the world.

I basically spend my entire day - and usually a couple days afterwards - trying to figure out why the fuck I did what I did. Why the fuck would one box use an entirely different backup script, that, oh, doesn’t even work? When the fuck did someone change database dump script? Hey, why is that box so behind on updates? And so on, and so on.

These days are like penance for all my sins: fiddling with shell scripts that are by all rights a 5-minute quick hack, but became “production”.

And yes, I’m going to hell for using a ‘300′ cliche. I don’t care any more.

April 13, 2007

Soho Mail?

Filed under: Apple — 21cdb @ 3:28 pm

Webkit commit message today:
Soho Mail build fails because of renamed SPI

Soho Mail? Your search - “Soho Mail” WebKit - did not match any documents. It certainly isn’t this.

Could these guys be working on a mail app (part of this perhaps)?

The bug includes a radar problem number, which of course us regular folk can’t look at, so who knows. it could be nothing and I’m making a tempest in a teapot.

April 12, 2007

Dark chocolate is good for you! Sorta! If you’re not willing to read the whole study!

Filed under: Fast Food Nation — 21cdb @ 4:23 pm

Forbes: Cocoa-rich products such as dark chocolate may help lower high blood pressure

Other things good for your blood pressure include not smoking, exercise, and a healthy, well-rounded diet.

But hey, go right ahead and eat that candy bar and get a gastric bypass. Ignore the part where it says, “However, in the studies we reviewed, the blood pressure results occurred with cocoa doses above the habitual intake and were observed only in the setting of short-term interventions.”

Oh, Omniweb, how I love you so. Now, update, goddamnit.

Filed under: Apple — 21cdb @ 10:42 am

I love Omniweb. Love it, love it. There’s just one tiny thing wrong: it hasn’t been updated in, like, forever.

I know I’m supposed to love Firefox, but I really, really don’t: There is something about its extreme not-native-ness that bugs me, and for some people, native look-and-feel trumps nerd/poweruser stuff. (I use Firefox, of course, for web dev, since it’s basically an IDE.)

It has a version of WebKit somewhere ahead of shipping Safari but sadly way, way behind the awesomeness that is the more recent builds. So it sucks less than Safari but only mostly works with Gmail, Google Maps, and many AJAX-y sites (although it has built-in browser spoofing which usually mostly works).

Omnigroup has been cranking out the OmniPlan releases lately; the home page news box is entirely OmniPlan.

One can only hope the Omniweb silence is a result of feverish code-monkey pounding on the final Omniweb touches needed for a release ….

Older Posts »

Blog at WordPress.com.