| Bracing against the wind | |
| www.documentroot.com |
|
Sunday, December 19, 2010
Uncuddled Else
[View/Post Comments] [Digg] [Del.icio.us] [Stumble] Thursday, December 09, 2010
Migrate from Flickr to Picasa
Of course... you'll need to have python installed on your machine. But the advantage is that it uses almost no space... downloading and uploading at the same time, so it doesn't chew up your drive with "yet another copy" of those pictures. I thought of giving people access to it as a service... but really, his instructions aren't too hard [View/Post Comments] [Digg] [Del.icio.us] [Stumble] Wednesday, December 08, 2010
HOWTO: Condor on an Intranet
Here's what I had to do to make it work. So far it's fine. ADMIN: 2. Lots of machines mounted to the same share? This one was useful: LOCAL_CONFIG_FILE = /mnt/blah/condor/$(HOSTNAME).local Now I can keep configs for each machine, without having to worry about condor_config -set. I use symbolic links to create "machine classes" that I add machines to when I bring up new nodes. 3. condor_config_val -set ... seems nice, but don't bother. You really need to keep your configs well groomed. I wasted time getting it to work... and then deleted everything I set. Must be nice on heterogeneous public networks where the config file isn't on some shared mount. (In fact I just disabled it). 4. Trust everyone... let the firewall protect you. TRUST_UID_DOMAIN = True. This is good for getting started, so you're not bumping into roadblocks all the time. Afterwards, tinker with password auth. Kerberos and the like are a bit much, basic password encryption is fine, IMO, and will work everywhere. 5. GET RID of stuff that the RPM stuffs in your local config. Things like "Suspend=False" and "Start=True" are in there... and they are bad. Since your machines don't have a keyboard, ditch the Keyboard stuff and go with "START=$CPUIdle". Since you don't want your jobs to get randomly killed, go with "SUSPEND=$CPUBusy". (You can just delete the stuff in the local config and go with the UWCS defaults... they are really good enough for most things.). Your global config should be the SAME on all boxes. Your local config should be minimal... just the stuff for that machine. USING 1. condor_run has to be run *from a shared directory* or it won't work. It says that in the docs, but I didn't read it. 2. Likewise, for vanilla jobs, make sure the paths to all your files are the same on every machine you run on. Trying to sort it out in a script is a mess. Fix paths first. Then run. [View/Post Comments] [Digg] [Del.icio.us] [Stumble]
Better than Textpad
Notepad++ wasn't even a contender years ago, but it has cought up... and passed with flying colors: Switched all my scripts over today. Not looking back. [View/Post Comments] [Digg] [Del.icio.us] [Stumble] Sunday, December 05, 2010
Perl don't run this script more than once
The IPC and mutex stuff is cute, but not portable... or transparent. Plus, it's nice to have a pidfile out there for other reasons. (When I forget how I solved a problem, I post it here. That way, I can google and get an answer.) [View/Post Comments] [Digg] [Del.icio.us] [Stumble]
Julian Assange, Julian Assange, Julian Assange
Exposing the truth will always harm liars and help honest people. (And the U.S. is not the worst liar on the Wikileaks chopping block , by far. Looks like Yemen and Aghanistan are the title holders there. ) Perhaps the people who oppose Wikileaks the loudest are probably just the ones with the most secrets and the most lies. Our news organizations have castrated themselves, and now do nothing more but parrot state press releases. Ethical, investigative reporting is a dying profession. It seems to me that Wikileaks is some sort of "last bastion", where the truth is freed. Do we dare to live in a new age where "stat secrets" are not necessary - where we operate as a powerful nation who is proud of what it's leaders, diplomats and citizens are doing? [View/Post Comments] [Digg] [Del.icio.us] [Stumble] Saturday, December 04, 2010
Runaway Inflation Time
This is a delayed reaction since existing stocks are being depleted. Expect everything to get a LOT more expensive. The US dollar will continue weaken in response to low interest rates, and exacerbate the problem. The Fed won't raise rates because of the stupid stock market ... damn the rest of the economy. [View/Post Comments] [Digg] [Del.icio.us] [Stumble] |
|
Bloghop:
|
Blogarama
|
Technorati
|
Blogwise