I recently came across a problem: I wanted to format text in my favorite text editor (vim) in a very specific format. Lines should have a maximum of n number of characters on them, and it should justify properly, nice and pretty, and I shouldn't have to think about it. It should be automagic.
I came across a utility called par. It's a very powerful utility that can process a block of text into an organized format, and I think not enough is being said about it!
http://jmcpherson.org/par.html
It's an open-source project, and it adopts one of the core tenets of the Unix philosophy: do one thing, and do it well.
All I can say is when I use it, it does all the magic I need it to do, and in a sense, the technology 'disappears.' It's a funny thing to say that since it is a tool designed by a technical person, for technical people (very few non-techies use vim). But it's true, even at this relatively deep level of technology, the really good tools... simply disappear.
It's coming across gems like these that make me wonder why we put up day in and day out with all the poorly written, poorly designed software out there. From the cruft of Microsoft Word, to the sluggishness of Firefox, we have to put up with these things regularly.
A lot of it has to do with the fact that writing good software is actually quite hard. But most of it is really to do with our intransigence. We get used to a toolchain and refuse to be flexible and move around.
I think a bit more toolchain promiscuity would make us all a little happier.
Sunday, July 17, 2011
Subscribe to:
Posts (Atom)
Labels
- ack (1)
- Amsterdam (2)
- Apple (1)
- Bangladesh (13)
- bash (1)
- Books (4)
- Cooking (3)
- Cricket (1)
- Islam (5)
- Israel (4)
- iTerm.app (1)
- Mac (3)
- Movies (2)
- mySQL (1)
- OS X (3)
- Palestine (4)
- Perl (4)
- Recipes (2)
- Religion (3)
- reverse-i-search (1)
- Rice (1)
- Running (3)
- Software (1)
- Sports (4)
- Tech Stuff (15)
- Terminal.app (1)
- Terrorism (8)
- Thoughts (4)
- Travel (1)
- TV/Movies (1)
- US (5)
About Me
- Ifty
- Singapore
- I write essays in my spare time on things that are important to me. The ones that I feel are any good, or make any sense, I put them up here. :)