Fun with DCOP and compositing in X

Want to set your terminal window’s opacity from the command line? Ok, here’s a X11/KDE one-liner to do it.. If you have your compositing set up in X11 (too lazy to link to a howto)…, do this:
$ alias tz='dcop kwin KWinInterface setOpacity $WINDOWID'
then
$ tz 75
will bring your terminal to 75% opacity. 100 will do 100% and so on. Throw it in your .bashrc for fun.

I’d like to figure out a way to do this for the current focused window (ie get that window’s id), but that may be a bit too much work. That is a 5 line script… :)

Clearly ‘Laundry’ is on an upswing.

Hot on the heels of my post about doing laundry, comes the fact that Cheryl Mendelson has written (or self excerpted) the laundry section of Home Comforts into its own book, Laundry (reviewed here).

My new place actually has its own washer and dryer that I will be sharing with 3 other dudes. That rocks… meagerly I suppose, but it rocks. The music studio in the back actually rocks for real.

Getting crazy with Woolite

In a move that will clearly bring jeers from certain members of the viewing audience, I am going to detail a fast way to clean the hell out of clothing. This works best for shirts.

  1. Get some dirty shirts, some Woolite (or something tougher but you’d probably want rubber gloves then), and some bleach if necessary. Pretreating with Zout can do some wonders too.
  2. Fill up your (clean) sink with some cold water and a capful or two of Woolite (as per instructions)
  3. Wash. Optional fill with hot water and bleach.
  4. Rinse like crazy
  5. Hang them up in your bathtub (maybe tie something from the showerhead to the curtain rod) and point a fan at them. Go to sleep.

This is the sort of thing that someone would only do if they didn’t really have access to a washing machine. For some reason my current place shuts off the machine at ten at night. That’s obviously just wrong, hopefully my new place will be more permissive on that. The use of the fan is key to the whole technique. The book on this ‘Home Comforts : The Art and Science of Keeping House was consulted as well.

Up at 2:50, but a job well done…

Much talk of productivity on the silver wavelengths of the internet. It so often seems like people chatting at a bar or coffeeshop about the things they would be doing. That is the things they would be doing if they weren’t at the bar or coffeeshop. But sometimes, you are a bartender or a barista and you are really about to just go wild producing some fantastic beveridges. So that’s how it was with me and the web today.

I pushed a lot of things to the side knowing that I would work on them come Thursday night. Thursday night arrived and there they were lined up like little ducks. I pretty much just shot them down like ducks in a row in reverse cronological order. I used the method of tagging things as todo using the 12345 keys in thunderbird (outlined here@43f). There are some major flaws with the views and saved searches, but I will get into that some other time. Bugs are filed and I’ve voted for them.

In the end though, besides my worn Louisville slugger of an editor (Vim), a Fatburger Turkeyburger, and some water, what really carried me through were some fine tunes from the freeform station of the nation (WFMU. Tangentially, yet not, I must’ve listened to this MP3 approximately 10 times. Perhaps that’s not healthy, but man is that song good. It is a sonic duet between Laura Cantrell and Jason Forrest. Who they are is somewhat explained here but you should really listen to their respective shows.

“Most of us are quite pleased / with the same old song
And all of a sudden I’m relatively sane / with everything to lose and nothing to gain
Or something like that” — GBV Echos Myron

Sleepytime. Here is the preview of what I did (with a ton of help from a ton of people, thanks all).

Do something, anything.

Given that the President of the United States of America was playing an approximation of a G-chord one fret too high on his presidential cutaway acoustic while New Orleans flooded, its easy to see how procrastination gets the better of us. Well maybe not. Luckilly most procrastination doesn’t contribute to the death of innocent civilians. We can take some time now to look at how to stop procrastination in our own more down to earth lives. Somehow I managed to watch the movie Ghost Dog twice in the past week, from the Hagakure:

When meeting calamities or difficult situations, it is not enough to simply say that one is not at all flustered. When meeting difficult situations, one should dash forward bravely and with joy. It is the crossing of a single barrier and is like the saying, “The more the water, the higher the boat.”

Clearly the quote slips into cliche and BS at the end, but alas. According to some anti-procrastination gurus (overviewed here), the best way to get something done is to get started with a little step. Before you know it, you’ll be saying: “I think the progress we’re making is significant,” –Dick Cheney (No longer MIW (missing in Wyoming) 9 days after he should’ve gotten started with some small first steps)

Also, one should note the similarity between Clam Lynch and the 43 folders guy at least in terms of their post titles.

To do… think a bit more.

So, many are proclaiming this the absolute end of our president Bush’s masquerade as someone who knows what’s happening. I don’t really want to go into it in public. Donate to the Red Cross.

Hrm. Spent most of today hacking at some numerical recipes, which I got to work. Then I began to realize that something isn’t quite right with my code. I know it… but I don’t quite know how to fix it. Some cogitation must take place, with drawings.

The story of Cherry Blosxom.

Back in the day I wrote a blogging application. Well… more like a translated a short cgi script from perl to ruby. It sounds cooler the first way, though.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/39115

Sadly, I was running on a Sun Blade machine at work, hosting it on that machine. Sun Blades were the first Sun workstations as far as I know with IDE interfaces instead of SCSI. At any rate, the hard drive died. I wept silently to myself in the bathroom, returned to work replaced the hard drive and installed gentoo on it or some such nonsense.

Enter James Britt, Rubyist extraordinaire, who had astutely downloaded my code and begun working on it. Years later he now has Blogtari probably the most mature Ruby blogging software. Kind of neat. I looked at the code and thankfully it is a complete rewrite of its own and bares no resemblance to the junk I had hacked out in a few hours on a boring Friday at work. I think that’s sort of neat. I am just putting this up to boost my own ego. :) I still like the name Cherry Blosxom though.

$50M vs $60B…

Ripped from the pages of time (aka Lexis Nexis)… here is the stat… ~$50,000,000 to prevent ~$60,000,000,000 of damage, loss of world history, and the absolutely unquantifiable suffering. But boy were those tax cuts sure were awesome though… right… right?

As the Fat Boys once said on PBS’s Square One, one million isn’t even 1 percent of one billion.

What follows is the text verbatim.


SECTION: NATIONAL; Pg. 1

LENGTH: 1073 words

HEADLINE: Shifting federal budget erodes protection from levees;
Because of cuts, hurricane risk grows

BYLINE: By Sheila Grissett, East Jefferson bureau

BODY:

For the first time in 37 years, federal budget cuts have all but stopped major work on the New Orleans area’s east bank hurricane levees, a complex network of concrete walls, metal gates and giant earthen berms that won’t be finished for at least another decade.

“I guess people look around and think there’s a complete system in place, that we’re just out here trying to put icing on the cake,” said Mervin Morehiser, who manages the “Lake Pontchartrain and vicinity” levee project for the Army Corps of Engineers. “And we aren’t saying that the sky is falling, but people should know that this is a work in progress, and there’s more important work yet to do before there is a complete system in place.”

In reality, levee building is a long-term undertaking. Section by section, earth is piled into walls as high as 20 feet to protect land on the east bank of the Mississippi River from water that a slow-moving Category 3 hurricane could shove out of Lake Pontchartrain and Lake Borgne. But the levees gradually settle into southeast Louisiana’s mucky subsoil, and every few years, the corps comes back, section by section, to pile on more dirt in what insiders call a “lift.”

“It has always been part of our long-range plan to raise each section of the levee four or even five times,” said Al Naomi, the corps’ senior project manager. “After that, we think the levee might have stabilized and not need further raisings.”

Time for next lift

It’s time now for the next lifts in a number of places that have sunk 2 to 4 feet from their design elevations. These include in Kenner west of the Pontchartrain Center, Metairie between Causeway Boulevard and Clearview Parkway, Norco and St. Rose in St. Charles Parish, the Bayou Sauvage area of eastern New Orleans, and remote marshland areas of eastern St. Bernard Parish.

The subsidence is expected.

What’s new, said Morehiser and Naomi, is that the agency has run out of money for the next round of lifts. Naomi said this is the first time a lack of money has stopped major corps work on the levees since the project began in 1967.

“I can’t tell you exactly what that could mean this hurricane season if we get a major storm,” Naomi said. “It would depend on the path and speed of the storm, the angle that it hits us.

“But I can tell you that we would be better off if the levees were raised, . . . and I think it’s important and only fair that those people who live behind the levee know the status of these projects.”

Levees on the east bank of New Orleans, as well as some in eastern St. Bernard Parish, are among the area’s oldest and have had several lifts. Corps engineers said the next lift might be the last they need.

But the levees on the east bank of St. Charles and Jefferson parishes are much younger, and most stretches have had only one or two lifts.

“This project isn’t expected to end for another 13 to 15 years,” Morehiser said. “They aren’t really finished levees at this point. We don’t even turn them over to their local sponsors until we consider them stable, which is years from now.”

The levees are designed to handle a storm surge of 11 feet, and every additional foot of levee above that is intended to contain waves that otherwise would top the levee. The height of individual levee segments vary.

“When levees are below grade, as ours are in many spots right now, they’re more vulnerable to waves pouring over them and degrading them,” Naomi said. “We’re not below storm-surge elevation yet, but we will be if we stop raising our levees as they subside.”

Bush budget falls short

The Bush administration’s proposed fiscal 2005 budget includes only $3.9 million for the east bank hurricane project. Congress likely will increase that amount, although last year it bumped up the administration’s $3 million proposal only to $5.5 million.

“I needed $11 million this year, and I got $5.5 million,” Naomi said. “I need $22.5 million next year to do everything that needs doing, and the first $4.5 million of that will go to pay four contractors who couldn’t get paid this year.”

Naomi said the corps already owes four contractors more than $2 million for hurricane protection work they’ve done this year without pay, and he expects the figure to climb to about $4.5 million by Sept. 30, the end of the federal fiscal year.

The challenge now, said emergency management chiefs Walter Maestri in Jefferson Parish and Terry Tullier in New Orleans, is for southeast Louisiana somehow to persuade those who control federal spending that protection from major storms and flooding are matters of homeland security.

“It appears that the money has been moved in the president’s budget to handle homeland security and the war in Iraq, and I suppose that’s the price we pay,” Maestri said. “Nobody locally is happy that the levees can’t be finished, and we are doing everything we can to make the case that this is a security issue for us.”

Tullier said, “There is no magic bullet or single key for us. It takes all the keys that we have, and our system of protection is only as strong as its weakest link.

“For us, this levee is part and parcel of homeland security because it helps protect us 365 days a year.”

Weak links elsewhere

Levee-raising is only part of the flood-related work that has stopped since the federal government began reducing Corps of Engineers appropriations in 2001, as more money was diverted to homeland security, the fight against terrorism and the war in Iraq.

Naomi said the local corps district has no money to close gaps in the hurricane levee on St. Charles Parish’s east bank. That levee is designed to protect St. Rose, Destrehan, New Sarpy and Norco, as well as keep floodwater from closing Airline Drive, a major evacuation route.

Nor does the corps have money to floodproof the Robert E. Lee Bridge over the London Canal in New Orleans, nor to build the concrete walls and gates to protect pump stations Nos. 3 and 7 from storm surges on the New Orleans lakefront.

All of these projects, along with periodic levee lifts, are part of the corps’ long-term $745 million hurricane protection project.

“The big danger here is that if we don’t get the money to award these contracts that are ready to go, the backlog will only increase as the levees continue to settle,” Naomi said. “We’ll end up so far behind that we can’t catch up. And the further behind we get, the more critical the safety of the city becomes.”

. . . . . . .

Sheila Grissett may be reached at xxxxxxx@timespicayune.com or (504) xxx-xxxx

LOAD-DATE: June 8, 2004



One word on copyright, this is clearly the property of The Times Picayune of New Orleans. They allow access to their old articles over the internet to LA residents. I hope they don’t mind me putting this here, but if they do, let me know. I took out the email address and phone number above.