Older blog entries for jlbec (starting at number 25)

Mad props to uzi, yosh, Doris, Sunil, and Jane. Amy and I are moving to SF proper, and they helped us run six carloads of stuff up to the new place. Thank &deity for good people.

Well, I've turned on all the electrical things I can think of in my apartment. I've seen the light. The use of power is our birthright, and we should feel free to use energy at the level we want to.

Imagine, I'd been stumbling about in the dark before this revelation.

Fecking Useless Bryce

13 Dec 2000 (updated 13 Dec 2000 at 17:30 UTC) »

It is confidence in the men and women who admin-ister the judicial system that is the true backbone of the rule of law. Time will one day heal the wound to that confidence that will be inflicted by today s decision. One thing, however, is certain. Although we may never know with complete certainty the identity of the winner of this year s Presidential election, the identity of the loser is perfectly clear. It is the Nation s confidence in the judge as an impartial guardian of the rule of law.

JUSTICE STEVENS, with whom JUSTICE GINSBURG AND JUSTICE BREYER join, dissenting.

[December 12, 2000]

13 Dec 2000 (updated 13 Dec 2000 at 04:00 UTC) »

Long time, no diary.

Finally got off my arse to complete my CipherSaber. Being a masochistic fool, I did my version in PostScript. It isn't quite good at bookkeeping, so I'll have to clean it up, and it relies on /dev/urandom. Oh well, noone's perfect.

For all you true PostScript masters out there, I know that I didn't handle the errors as well as the language allows, and I'm sure it can be done in half the code, but I used this as a way to learn the language, so cut me some slack :-)

graydon:

A couple things. First off, crypto++ does look nice after a quick glance. I couldn't see a C binding on the site. Does the package include C-callable prototypes?

Don't worry, I'm not an anti-C++ bigot, but I do use a lot of C, and a high-quality library that I can't use is, well, not useful :-)

On the subject of single Makefiles, I find that liberal Makefile including is even easier to read/handle. Rather than one large Makefile, which is kind of cluttered, I have a toplevel Makefile that is clean, and sublevel Makefiles that are clean, and no recursive make/missing deps to confuse things.

That's just a personal style, of course, but I offer it as a suggestion.

dhd:

First off, I want to say how much I feel for you. Knowing only what you've posted, I cannot say I know exactly your situation, but I believe I know similarly, and I can only hope it gets better for you.

I don't think it is location. I spent the past three years in Research Triangle Park, NC, where the law mandates 1/3 of the property is trees and the buildings are no higher than the treetops. It is, bluntly, gorgeous. It didn't stop the corporate bullshit. It didn't keep me from being fed up. I was still making a lot less than kids fresh out of college and years my junior. In some ways the lack of "city" kept me more bored and frustrated than if I'd been in a larger area.

Now I live in Belmont, CA. It's Silly Valley alright, if not the Valley proper. You know what? Amy and I find it beautiful. There's some gorgeous views and walks just outside my door. Over the hills is the ocean, and I can't begin to tell you how I love the ocean. I spent three years in Miami with the same affection.

You can avoid the overgrown suburbia. You can hack free software or closed software. You can have great coworkers, great projects, and still be unhappy. If I knew the answer, I'd make a billion writing the book. Had I less morals, I'd write a book anyway, and maybe make those billions with no real answer :-)

I'd guess a change is in order. The move out here did wonders for me. The new job and new location are making me very happy. I can only hope something does the same for you.

Wow.

squiggy: I too know where you are at. I was there. Lucky for me, my girlfriend Amy saw what needed to be done and basically forced me to make the change. I couldn't be happier for it. Take that time to get yourself ready, find that place you want to be, and go for it. The challenge is there, and you can have it without sacrificing everything else.

raph mentions the trip from Half Moon Bay to Pacifica. I love that stretch. I often just drive it for the sheer beauty, maybe stopping at the North State Beach in Pacifica for some time by the waves. I've only once driven from CA84 to Pacifica, though I suspect I will do it again.

I can imagine how beautiful walking it would be. I don't know that I'd ever find the time myself, but I wish raph all the luck and good mental state he can get.

Weekend

Amy's parents and sister were in town, and we spent Saturday in San Francisco walking about. We then spent Sunday on the coast. I love this area, and let me tell you, I keep finding more to interest me.

What is it with Italian restaurants in Belmont/San Carlos? Near where we live there are a bunch of such restaurants, and every single one is rather pricey. Not $30 a plate, but more than I'd expect for a small place.

However, in the North Beach district of San Francisco are a ton of excellent cafes/restaurants with prices more like you'd expect. I guess we'll be going into town for Italian. The after-dinner options are better anyway.

Scripting

raph posted a diary entry discussing the slipshod way many people use scripting languages. He makes many good points, some I've been bitching about for years.

My favorite is the error checking. I've spent a lot of time doing sh scripts for dummies. I've been doing sh scripts in m4 for a long time now, so that I don't have to type out

/bin/foo -bar
if [ "$?" = "0" ]
then
    do something good
else
    do something because we broke
fi

every single time. People usually don't check errors because it is tedious. But those errors need to be caught.

My case was a fun one, because it was root-level sysadmin scripts that performed complex tasks. Some of the people I worked with didn't understand or know all the implications, and I had to have my scripts cover those cases. Lots and lots and lots of precondition testing and error handling. I'd have a 400-line script to handle 5 actual command calls.

My scripts never created untenable situations from bad user input or bad conditions. They just printed a nice error and said "try again when it's fixed". This is what a good script should do.

Why sh? Why not perl/python/name-your-own-religion? Because these admin scripts only called system commands. The semantics of Perl's system() or the equivalent are annoying when you just want to run mkdir(1). More complex items may find me in Perl, but these days I'm quicker to C.

As far as quoting goes, spend some time running commands via dsh(1), and you'll get your quoting right. Very right. Quoting isn't hard, you just have to learn the rules.

It occurs to me that the theme for the modern San Francisco nightlife has already been written. By some of the city's residents, no less.

Nothing's shaking on Shakedown Street
Used to be the heart of town

16 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!