Categories
Diversity Technology

Yes, where are the women

Eric Meyer had a recent request for CSS gurus for a potential book. I was getting down to the end of the list, thinking to myself, where are the women when I came across Molly Holzschlag asking the same question.

I don’t understand why women in CSS are so overlooked, and when the two of us that have been mentioned – at least in this case – it’s either far less than the guys or, in Holly’s case, always as a duo with Big John, and not on the merit of her own individuality. I want to understand this. Maybe you can help me.

Since this same question has been asked about Linux, PHP, MySQL, RSS, XML, Java, and about every other technology that puts in an appearance in weblogging, I wouldn’t mind hearing the answer to this one myself. I’ve been asking it for three years now – and I’m still waiting. Maybe if Molly asks the question, someone will come up with a good answer.

Now excuse me while I go back to spending a great deal of time documenting code that would most likely be given more respect, or notice, if it came from a guy. But what can you do?

Categories
Burningbird RDF

Cleaning House

Yesterday and today I’ve been cleaning out my server, including my weblog installation. I also brought Practical RDF back online, as a new WordPress weblog. I borrowed heavily from the Burningbird redesign for this new weblog; basically copying Deep Thoughts with the addition of the book cover and the muted background.

I used an old trick to try to eliminate seams when the pattern repeats with the new background image. However, if you scroll up and down, very fast, the words, “Paul is dead” show up. Very strange.

One reason for the code cleanup is that I’m documenting all the changes I’ve made to my WP installation for the new group of boys and girls coming over to the Force. I’m also providing a zipped file of the code and if anyone is interested, they can grab it and modify the code or use as is. To help me in what is becoming a fairly major documentation project, I used a PHP document generator to generate source documentation of both the unmodified and modified WP files I’m using. Mine, of course, are in the package labeled “modified_wordpress”.

Among the changes I’ve made:

1. Blog Switcher for multiple WP weblogs. I also modified the CSS for each weblog installation, using a delicate violet for the Burningbird WP administration files, and a pale blue for RDF weblog’s admin files – to help differentiate when I go back and forth in a frenzy of posting.

2. Self-policing comments. When a comment is made, the code checks the database to see the status for comments for the specific post and its creation date. If the post is wide open to comments and over 20 days old, the comment program changes the status for that particular post to ‘moderated’ and then sends an email about the comment to me, to approve or not. With this, you need never have any form of automated application to close comments or moderate them after a certain time has passed.

You can try this yourself at Practical RDF with one of the older posts if you’re curious.

3. Spam flood protection. You can only post so many comment in a specific time period.

4. Static page generation. I statically generate my RDF/RSS and Atom feeds now when a post is published or edited. I also have a form that I’ve dropped into WordPress administration that allows me to create a static version of any of the pages.

4. The new linklog, b-link,Pithy Bar addition.

5. The older Category and Recent Comment lists in the sidebar. Yes, there are other plug-ins for these, but not at the time I wrote them. Besides, I like my Recent Comments implementation.

6. The category icon listing in the title bar for each posting.

7. Full page preview. I also removed the in-page preview from the existing WP edit page, as it was causing some performance problems when I created larger posts.

8. Per-post moderation. Being able to set moderation on a post-by-post basis – this has been a lifesaver. Comment spam problems are a thing of the past, now.

9. A new post status called ‘insert’, for those times when I want to create a page, but not have it show up in the regular lists of posts. There’s an associated file that will display these posts.

10. The full text option to display the full text of a post that has been split into sections through the use of the WP newpage tag. The code changes also prevent comments from showing on any page but the last page of a split page document.

Some other odds and ends, such as functions to return comment type, and so on.

Aside from the excitement of all this coding stuff, we’ve been hit with several major storms, one right after another. I was at the right place at the right time yesterday to see a storm unlike any I’d ever seen before. I’ll write more on this later in the week once I get this coding stuff out of the way. It was…something. Unfortunately, I didn’t have my camera with me, but luckily others captured some photos of the event.

Last night I stayed up all night: sitting, thinking, and just watching the lightning. At one point there was so much lightning that it created a strobe effect bright enough to light the surroundings–like a drug-induced midday.

However, my time was not all storm and code: I also watched a couple of movies, including Lost in Translation and Big Fish. Reviews on these later.

PS

Someone should do Andrew Orlowski a kindness and ask him which is the sadder: the person who writes to a weblog, or the person who writes about the person who writes to a weblog.

Categories
Insects Just Shelley

One brief shining moment

Tonight I walked longer than I normally do and ended up going to my library at a later time. Driving back, the neighborhoods were getting dark and I could see the fireflies out and about in the bushes.

Just past the odd house with the stone fence, but before the miniature castle, one of the fireflies headed into my car from the front and I hit him. Normally hitting bugs is not something I worry about, unless it’s a butterfly or moth; but fireflies seem such gentle creatures, and provide so much enjoyment. I’ve always appreciated how they hover about you as you stand near them, as if they’re curious, but unafraid, of this big monstrosity.

Another block, and more fireflies appeared in front of me. I couldn’t avoid them; only catching a brief glimpse of their bright neon-green light before they’re smashed against the metal (well, plastic) of my car.

The next block and it seemed as if I had a stream of fireflies heading towards my car; I can only guess they were attracted, or confused by, the lights. Each bravely flickered its butt in one last exaltation of light before throwing itself in a frenzy of hopeful lust to a very quick, and very sure, death.

When I got home, I contemplated the orgasmic remains of the tiny, now dark creatures on my bumper and thought that all things being equal, it wasn’t a bad way to go.

Categories
Burningbird Technology Weblogging

Pithy bar

Sidebar quick links, or b-links are very popular now. I wasn’t that interested at first in them until I found myself wanting to point out items of interest, but without writing a great deal about the item. I don’t necessarily like doing little posts with nothing more than a link, so b-links really is a good alternative.

What especially sold me on the concept was Mark Pilgrim’s b-link implementation. I found his style to be non-obstrucive, but more, I really began to enjoy the little comments he would add as TITLE attribute with each link. We talk about the skill and effort it takes to write lengthy essays, but it takes an equal or greater skill to sum up your view or opinion in one pithy little statement.

A b-link compliment is a nice,elegant way of saying, “Look at what you’ve done”, rather than not saying anything at all. They’re also a great way of pointing out something that doesn’t need any additional words, for one reason or another; or of saying to another: I hear you. Additionally, I found that one can use a variety of tones, from snippy to snarky, in a this type of b-link and they don’t seem to come out as heavy as they would in a regular weblog posting. Rather than be deliberately and ponderously offensive, these types of little communications become more a caustic little jab, or even a joke between friends.

Perhaps this effect is just Mark’s way with pithy statements; or perhaps it’s the brevity of the statement and the nature of its delivery – it becomes more an aside whispered under one’s breath than shouted from the pulpit.

So, I decided I wanted b-links. Specifically, I decided with my weblog re-design that I want a Pithy Bar.

Now something like a pithy bar isn’t necessarily easy to do in any weblogging tool, WordPress or otherwise. They’re usually created as separate categories for sidebar linking; or a separate weblog and getting the entries from the database, or scraping the syndication feed for the links. These work well, but it was more than I wanted in my implementation.

I wanted to add a link and have it show–bang! That’s it. Clean and simple. So, time to break out the code.

I created a table called “linklog” and added it to my WordPress database. The table has the following fields:

id – autoincremented identifier
title – What shows with the link on the page
url – b-link URL
blurb – the aside that’s added to the TITLE attribute of the hypertext link
viaurl – If found through another site, a link to that site

All fields are type ‘text’ except for the id.

I next created a page called linklog.php, which I added to my wp-admin directory. This page has a simple form that checks to see that the values are provided when the form is submitted, and inserts a new row for each linklog entry into the database. It also displays the last five linklog items, just to make sure you don’t add the same one twice.

To have this page show up in my installation of WordPress, I added an item to menu.php to point to this page (highlighted):

$menu = array(
        array(__('Write'), 1, 'post.php'),
        array(__('Edit'), 1, 'edit.php'),
        array(__('Profile'), 0, 'profile.php'),
        ....
 array(__(’Linklog’),0,’linklog.php’)
);

Finally, I created a WordPress plugin that has a function, my_linklog, that takes the number of links to display, and a special separator string that can be used between the items. The following is how I call the function in my main page:

<?php
my_linklog(10, ‘–. — — –. .-.. . / -.. ..- … -’);
?>

By default, the number of items showing is 5, and the separator string is empty (‘’).

Each item that is displayed is wrapped in a DIV element, with a class name of ’sidecomments’. With this, an individual can then add whatever CSS they want to the display of each item. Once I added my CSS, and added the function call to my sidebar, underneath my comments in the main page, I was done.

A modification to this would be the ability to delete an item, but they’ll roll off anyway, and I think it’s better to just do the link and walk away.

I also don’t have a separate syndication feed for the Pithy Bar. I think of my Pithy Bar as this weblog’s easter egg – goodies you get if you click through, or know what to look for. When you stop by to read one of my longer essays, you can then check out any new entries in the Pithy Bar.

For those WordPress 1.2 users, you can download a file containing an edited menu.php, the logfile.php, and a page to create the table (install-linklog.php) . These three you install in wp-admin, and then run the install program once to install the linklog table. If you copy in the menu.php file, do note you’ll copy over your version of menu.php, so use caution. You can also just edit your version of menu.php to add this highlighted entry.

The gzipped file also has the plug-in, my-linklog.php, that you’ll need to install in your plugin directory (wp-content/plugins/). When you install it, you’ll have to go into the Plugins tab of WordPress, find the plug-in titled, “My Linklog”, and then activate it.

If you decide to add this to your version of WordPress, as always, backup your files and database before installation.

Categories
Burningbird

Styles redux and identity

My thanks to those who provided feedback on the styles. At this time I’ve dropped Cabinet and Clashing, though I’ll keep the clashing style in the ‘about these sheets’ page – it is a rather interesting way of looking for web site colors.

I was surprised by the variety of answers I received when I asked people which stylesheet they were using. Since I was primarily interested in ‘weeding’ out the unused ones, and the other stylesheets are currently being used, I’ll leave them, as is.

The only other change I may make is to convert Walker Evans to being a Black & White photo stylesheet, and vary the photos and photographers.

Christine mentioned that the alignment of the columns in some of the sheets was off. If anyone is finding that this is happening in their browsers, please let me know, email or comment, and provide browser and OS. In addition, there should be no horizontal scroll in 800 x 600 or higher mode.

David asked the question:

The thing is, though, which ones do you think speak to your personality?

My answer is: all of them.

The black and white Walker Evans style represents my interest in classic styling and photography, not to mention Evans; Burningbird of Happiness is my love of green and growing things; Lemon Shakeups is my whimsical, silly side; Fire & Ice represents my passion; Random Shots also represents my love of photography, and has a touch of the Missouri Green in it; Deep Thoughts is that techie, future looking, digs science me. Old Bird is, well, old bird–my roots.

Emotive not only represents my interest in semantics, it also tells me a little something about myself. More than once, I found myself a little surprised at my own choice of tones for some of the posts. Intellectually when I thought my writing was of a certain mood, I found that the associated style didn’t work and I picked another, instead. A very interesting experience at times, and better than yoga for getting me in touch with myself. I probably wouldn’t give up Emotive even if no one was using it. If anything, I’m going to be adding several more ‘tones’.

Even Clashing represented my experimental, somewhat chaotic side. As for Cabinet, this might be surprising, but it was one of my favorite styles. I love red, white, and blue as a color combination; and I loved the odd, strange, surreal mixing of images and photos.

However, it’s also offended some people more than a little; what is the good of a stylesheet that just pisses people off even before they’ve had a chance to read what I write? Let the people get mad at the words, not the box.

But I am salvaging some of the style for one of those new emotive ‘tones’ I talked about. I’’ roll it out tomorrow, on the 4th of July.

Again, my thanks for the feedback. Now, I’ll stop messin’ wit yer heads. At least, when it comes to stylesheets.