End of Posse Comitatus?
I don’t know whether to be surprised that it took so long or that it didn’t take longer. Yahoo!: U.S. Mulls Military’s Domestic Role. BBC:US plays down domestic army use.
Shit.
22 Jul 2002 Sam comments off
I don’t know whether to be surprised that it took so long or that it didn’t take longer. Yahoo!: U.S. Mulls Military’s Domestic Role. BBC:US plays down domestic army use.
Shit.
22 Jul 2002 Sam comments off
The first day of tutorials has passed. I’m still plugging away on that overdue project, but after tonight I should be set.
The “Mastering Data Structures and References in Perl” tutorial was everything I’d hoped it to be. As I wrote earlier, I’ve used references and complex data structures in the past, but especially with OOP it never quite seemed natural, I didn’t grok them. Almost every time, I have to slowly think through how to dereference a complex hash of hashes of arrays or whatever. Paul Grassie’s session helped to clarify some things for me, especially the dereferencing syntax, so I am not more confident in what I’m doing. Good.
I wonder if the advent of the Schwartzian Transform was a eureka moment.
That, by the way, is another one of those things that I’ve read numerous explanations of without ever really feeling like I got it, until sometime in the past year. I think I’ve used a Schwartzian Transform exactly once. The explanation in Effective Perl Programming is what finally did it for me.
I’ve set some goals for myself, some of which I’ll discuss in the coming days. One of them is to become more familiar with the modules in the standard distribution of Perl, as well as some of the more popular and useful ones from the CPAN. Things like Data::Dumper and File::Find. I’m not very good about taking the time to go find modules that will help me solve a problem because someone else already has. I don’t mean stuff like XML parsing or FTP or LDAP connections, for which I obviously turn to CPAN. I mean “everyday” stuff like disk I/O or data structure interaction, for which there are some nifty modules. I must get better about using those. It will make me a better programmer.
It also occurred to me during the session that no matter how much I use other languages because they’re better suited to a particular problem, at heart I just so much prefer Perl.
The next tutorial, Jeremy Zawodny‘s MySQL Optimization, was also excellent. His is a practical approach. He didn’t just cover server or query optimization, he hit a number of different areas where bottlenecks can occur, including database and application design, hardware & operating system tuning, etc. I like his attitude: don’t overdesign, do what works to get your job done. Don’t, for instance, index columns until you need to. Start with MyISAM tables for most things, convert to new table types if you need to. (This is reminiscent of the idea that when coding, one shouldn’t spend huge amounts of time optimizing a particular algorithm if it will end up having negligible impact on the overall code efficiency. Algorithms are not often where the bottlenecks are.) Even beyond his practical advice, this was a very informative session.
A few disjointed thoughts:
So I’m liking it here. Tomorrow, “Migrating to Apache 2.0” and “Transitioning to mod_perl Handlers”. And the State of the Onion, and maybe some exploration of San Diego. I’ve still gotta hit the beach, or my coworker Stacy will have my head.
22 Jul 2002 Sam comments off
Two things.
First, this spring’s WebAIM accessibility training is now available for purchase on CD.
Second, Mark Pilgrim’s much-and-deservedly-vaunted “30 Days To A More Accessible Weblog” series is now accessible as Dive Into Accessibility.
Both super resources.
22 Jul 2002 Sam comments off
A vulnerability in PHP means you should upgrade now. Uh, now. Either that or disable POST entirely.
22 Jul 2002 Sam comments off
Well, I made it. O’reilly’s Open Source Convention. Cool. There is, as expected, a wireless connection in the meeting areas, so I look forward to scanning the blogs to see how others feel about the thing.
Travel tips for the untravelled: curb-side luggage check-in is a service for which one should tip. Make sure the airline staff give you the right boarding pass. And yes, I’m proud that you remembered to bring a toothbrush. Now for the kicker: toothpaste? I hereby apologize to the fella who sat at breakfast with me before I had a chance to buy some. At least I wasn’t too talktative. As if I ever would be that early in the morning.
The weather here is great, and it’s clouded up a bit today, something with which I’m more comfortable than sunny, clear, blinding skies. I got out a little bit yesterday, for a walk along the bay (unless it’s called something else), but otherwise I was kinda wiped out all day. I don’t know why, maybe cuz I hardly slept this past week. Pity, too, since I had some work to do, something that will have to wait until later today after the tutorials. Damn. I had very much hoped to have that done by now so I could enjoy all my evenings more. At least I can sit on my room’s balcony and code.
There’s a couple here with an infant, pushed around in a little Jeep stroller. Cute as the dickens. And makes me all the more aware that I’ve left my pregnant wife at home. But Kiara would be bored silly here unless she had someone to hang around with. Maybe next time.
I’m excited for my first tutorial, which starts pretty soon, Mastering Data Structures and References in Perl. This is something that I feel like I understand pretty well, but I don’t really grok. Many of my tutorial and session choices were made with just that in mind,
I do plan to write more about the conference as I go, but I need to set up a better way of doing so. That something else that I’d hoped to do last night instead of sleep. ‘Til later, then.
22 Jul 2002 Sam comments off
You probably won’t hear from me again here for a couple days, until I’m able to get hooked up at OSCON. That’s right, I’m goin’ to California. If you’re in San Diego over the next week, drop me a line, maybe we can get together for a beer or coffee or a conference or something.
I’ll be blogging the conference, just cuz. Seems like a better way to take notes than I usually do. It also strikes me as a good excuse to finally play around with blosxom.
19 Jul 2002 Sam comments off
Cirque du Soleil are coming to Minneapolis. Theirs is a truly phenomenal show. If you ever have the opportunity to see them live, do go. It’s expensive but it’s worth it.
17 Jul 2002 Sam comments off
Day 27: Using Real Headers. In all the training I’ve done, accessibility and otherwise, for some reason this is one of the hardest things to get people to understand: using markup for structure. For example, using headers to identify, well, headers.
I’m not sure why. I think that at first it may be a fear of the default style in most browsers for the <h1> and <h2> elements, but demonstrating how easy it is to use CSS to control the appearance of headers does little to alleviate the hesitation to use those elements.
I think it also has to do with a lack of understanding of how documents — writing — can be structured, period. Years of experience using word processors as little more than typewriters hasn’t helped. Neither have the increasingly powerful desktop publishing and layout features in word processors, emphasizing how a page looks rather than how the content is organized.
Until I learned HTML, I never used the outline features in MS Word, or even the headers or styles. I saw them there, but they never seemed useful or even interesting. Every paper I wrote was an unstructured document. If I decided to change the appearance of the headers, I had to painstakingly change each one and hope that I was consistent. Ugh. HTML opened my eyes, and now every Word doc I create is in outline form.
(I had never used tables in a word processor, either, until I discovered them in HTML. I’m a better word processor user because of my work on the web.)
I’ve found that this has improved my writing, too: structuring a document’s content encourages me to structure my ideas more coherently. In academic papers, in documentation, in white papers . . . in all these things I write, coherent thought and communication are essential. They’re the whole point.
None of this, I’m afraid, helps people understand what seems to me a rather basic concept: using markup for structure. What will it take?
Teaching people to write clearly, I suppose. That’s a good start. I’m not sure how much I agree with what Brendan O’Neill has to say about blog writing, but it is worth consideration. I’ll try to post something more on this soon.
In the meantime, back to the point: use markup for structure. Structure everything you write. The two are intertwined.
16 Jul 2002 Sam comments off
For those who have been asking (and even those who haven’t — sorry about that, Paul), I’ve posted ultrasound pictures. For those who don’t know: yes, Kiara’s pregnant.
15 Jul 2002 Sam comments off
There’s a new look for perl.apache.org, the home for mod_perl. Should be much easier to find what you’re looking for now. I never did find information about mod_perl 2.0 on the old site, but it’s just a click or two from the home page now.
Congratulations and thanks to all involved.
14 Jul 2002 Sam comments off