Bill Powell Is Alive [The Den]
{ Three Acres and a Penguin }

Videos

begun: 2008 Sep 12, 14:36 Fri | updated: 2008 Oct 13 09:37 | tags:

I never thought I'd see Chesterton on film.   more »

Why I Won't Vote for McCain (or Obama)

begun: 2008 Sep 20, 3:20 Sat | updated: 2008 Sep 24 08:55
update: New comments.

If you think it through, a partial support for abortion is intellectually more frightening than a full stamp of approval. In fact, partial support for abortion should frighten pro-abortion people too.   more »

City Foods, a Lafayette Food Co-op

begun: 2008 Sep 19, 15:36 Fri | updated: 2008 Sep 19 14:59

So I'm helping to start a food co-op here in Lafayette, IN, called City Foods.

City Foods logo

Here's our mission statement:

Our mission is to serve the nutritional, social, and economic needs of our members and community by providing a market for local, fair-trade, sustainable, independent, and healthful goods and services in a friendly, cooperative environment.

And here's some other helpful info. Stay tuned for more updates.

Mailing lists

Announcement list

Discussion list

Press

Dinner to aid startup co-op grocery

By Eric Weddle
Sep 19, 2008
Lafayette Journal & Courier

Read the article

Wineskin Media: DokuWiki of the Month!

begun: 2008 Sep 16, 15:09 Tue | updated: 2008 Sep 16 14:13

It's a small open source world sometimes.

I use DokuWiki for my business site, Wineskin Media, and I recently ran into a snag and went to the IRC channel for help. Andreas Gohr, the author of DokuWiki, not only took time to answer my question, he also decided to feature Wineskin Media as a DokuWiki of the month. Pretty neat.

Vim syntax highlighting

begun: 2008 Sep 11, 13:28 Thu | updated: 2008 Sep 11 13:53 | tags: , ,

Syntax highlighting is the joy of text editing. Consider these two screenshots:

Screenshot: no syntax highlighting.

Screenshot: syntax highlighting.

(That's the xterm16 colorscheme with transparency turned on, using the mrxvt terminal with transparency on, a tint of #000020, and shading of 85. Background image: "View on Dubrovnik".)

Anyhow, as you can see, even the sparse syntax of Marxdown is far easier to read when the syntax is highlighted in different colors. You can even get things like bold highlighting, even though the underlying file is still clean, plain text. Mere asterisks let Vim know to color a word bold. No hidden codes are required; what you see is what's really in the file, but Vim can add colors. Vim isn't the first or only program out there that does syntax highlighting, of course. Any reputable text editor should do it.

My contributions

There many kinds of plain text in the world. This file uses Markdown syntax, but a PHP file would need PHP syntax, a CSS file would need CSS syntax, and so on. Each kind requires its own "syntax file", so Vim knows how to treat it.

Vim comes with quite a pile of syntax files, and the community has contributed even more at the Vim site under "Scripts". Every so often, however, I come across a kind of file that no one has needed syntax highlighting for yet. Fortunately, it's relatively straightforward to write your own syntax file. Here are the ones I've written, and uploaded.

You can find my Vim contributions here.

NoSQL and tab-separated files.

When you get hooked on plain text, you start trying to do everything with it. Tab-separated files are a simple way to store simple data. But I wanted each column to be a different color.

At the time, I was using a collection of shell scripts called NoSQL to access these tables, so I named the syntax file nosql.vim. I still use NoSQL for some old scripts, but lately I've needed the power of perl (DBI and DBI::AnyData) to access these files. DBI is a neat perl module because the syntax is the same whether you're talking to a MySQL database or a plain text TSV.

Anyhow, with this syntax file, columns appear in different colors. Keeps things sane.

get nosql.vim

DokuWiki

I've just this morning finally put up my syntax file for DokuWiki, the wiki I currently use for Wineskin Media. It's not from scratch, just a modification of a Wikipedia syntax file, but if you happen to use DokuWiki, you may find it useful.

get dokuwiki.vim

Make your own syntax file

It's really not so hard. Just open Vim, and

:h syntax

Actually, a better idea is to copy an existing syntax file and work from there. Just find one that isn't bewilderingly complicated. :)

Meadow Valley Farm: Indiana raw cheese

begun: 2008 Aug 27, 9:05 Wed | updated: 2008 Aug 27 11:14 | tags: ,

If you live near Lafayette IN and you're interested in local raw cheese, join us for bulk orders at Meadow Valley Farm.   more »

Firefox tweaks

begun: 2008 May 07, 20:47 Wed | updated: 2008 Aug 27 10:43 | tags:
update: New handy keys I hadn't noticed for Vimperator.

If you're going to use Firefox, I've found the following essential.   more »

Fuzzy Time (and an updating bash prompt)

begun: 2008 Aug 15, 9:50 Fri | updated: 2008 Aug 15 10:37 | tags: ,

And what better way to spend free time than to take time to blog about time? About altering your very conception of time. In short, about fuzzy time.   more »

Nathaniel David Arrives Early

begun: 2008 Aug 07, 23:19 Thu | updated: 2008 Aug 10 03:44 | tags: ,

Here is a picture of our third child:

BABY IMG: Nathaniel smiling, maybe

You can almost imagine he's smiling, which is not bad for the evening of his birth.

BABY IMG: Nathaniel peeking

Unfortunately, even the healthiest of babies seems to look a little beat up when they first get out. Fortunately, the skin clears up surprisingly fast.

BABY IMG: Nathaniel investigating his changing table

BABY IMG: Nathaniel almost smiling again

I wrote a minor epic when our first child was born, and waxed at some length for our second. For Nathaniel, I trust you'll be satisfied with this interesting fact: Nathaniel arrived early -- that is, he arrived before the midwife. And that arrival was lovely.

As you can deduce from the pictures, it has been rather awhile since he was born (cough), and Nathaniel has even been duly baptized. He was a little young for the snappy white suit that one of the other boys sported, but I'm starting to wonder if our plan to use one unisex baptismal gown for all the kids is going to work.

BABY IMG: An unfortunate and temporary resemblance to Mother Ginger

I'm just glad that whoever stuffs other people's babies into flower suits and fake pots and courts future lawsuits by hawking them on greeting cards wasn't around to get visions of Mother Ginger.

(Which reminds me: all baby pictures on this site are copyrighted and may not be used for anything except excessive viewing by friends and relatives. I've been considering a more distributist license for most of my online content, but family pictures will be locked up permanently, or until such greeting cards finally inspire universal cultural outrage. Go wear your own sunflower suit.)

Anyhow, I'd forgotten what a newborn is like. I'm beginning to despair of even attempting to describe certain happenings until I learn how to draw or write verse. But here Nathaniel is, whole and entire, another stranger claiming Preferred Member Status in our little club. We all give him a warm welcome, and look forward to a fuller acquaintance.

The Dangers of Linux

begun: 2008 Jul 30, 8:25 Wed | updated: 2008 Jul 30 06:42 | tags: ,

Linux Addiction?

I'll be surprised if this comic isn't all over the place in a few hours, but you may as well see it here.

COMIC: Parents, talk to your kids about Linux...befory somebody else does.

Of course, writing drivers for hardware is a wee bit easier when the companies actually talk to you. The laugh for me might not be what the author intends; not because peripherals are always broken on Linux (they aren't) but because the power of Linux makes the newbie redefine "broken" so rapidly. In Windows, "broken" used to mean that the computer crashed more than once or twice a day. In Linux, a "broken" Xorg might just mean that some default setting in the distribution prevents me from running multiple instances at the same time. "Broken" starts to mean, "it won't do exactly what I'm imagining it could." Linux can become the most addicting computer game ever devised.

Now available as bpalv.com!
Stop typing that amusing but neverending old
billpowellisalive-with-lots-of-tiny-l's-and-i's.com,
and try bpalv.com today!

Frequently Aggravating Questions

Helpful Pages

Feed: RSS 2.0 | Atom

Search

Tags/Categories/Ideas/Glue

(A supposedly easy and delightful way to navigate this site. Click one. It'll make sense soon.)

Archives

< October 2008
SuMoTuWeThFrSa
    1 2 3 4
5 6 7 8 91011
12131415161718
19202122232425
262728293031 
2008 2007 2006 2005 2004 2003 2001 2000 1999 1998 1997 1996

Rules

Do not link to dates or tags. They are capricious. They fear commitment.

Do not assume everything is tagged.

Do not boss around visitors to your web site.


[Powered by PyBloxsom]