Archive

Posts Tagged ‘bash’

How we do things here

March 22, 2012 2 comments

This is how things are done in these parts: I don’t want to speak for him because I know my friend Don Parris has his own explanation for it (which he outlines on his blog here), but it appears that while building up his bash scripting skills, he noticed a certain finality to deleting filed in bash. So he wrote a script to keep the files around in case there’s an “oops-I-needed-that-file-after-all” moment.

So Don did what we do in these parts, this paradigm known as FOSS: He wrote his own script. Not only this, he put it under the GPL and put it out for the benefit of the wide world to use.

Is it something that will be widely adopted and catapult Don to a nomination for the Nobel? Probably not. But for those of us who would use it, it’s a pretty nifty tool, and my hat is off to Don and the Bash Trashman (which you can get at the link two paragraphs up, and note to Don: I sort of like Brash myself, but snicker uncontrollably at the thought of calling it Bashmaster, a la Bassmaster).

Because that’s how things are done here.

There’s a flip side to this coin, too: It’s when someone visits to a distro or a project and tells the community “Hey, you can do things better. Let me tell you how.”

I bring this up in the wake of a thread in the CrunchBang forums around what might — might — constitute improvements in that particular distribution. That’s reason number one. The second reason is that I’m guilty of this, too, and learned my lesson years ago.

While there is always room for improvement in anything, the changes the original poster suggests are things that are already found commonly in other distros and, arguably (as noted in the thread) CrunchBang’s strengths lie in what it “lacks” in the way of digital creature comforts as much as it lies in the great job Philip Newborough has done in putting together an Openbox-based distro that’s fast on old hardware and lightning quick on the newer stuff.

You’ve heard me say this before, mantra-like, and I’m going to have this etched on my tombstone: Use whatever distro/FOSS program works for you. This is one of those basic truths, like the inevitability of death and taxes and the inability to comprehend how gravity works, understanding the Wankel engine or the end of “2001: A Space Odyssey.” To go to one community set in their ways and say, “You know, you’d be a lot more popular if $LIST_OF_REASONS” doesn’t fly because, in the constellation of the 320-something distros in the Linux/BSD universe, there’s a distro out there that will do exactly what you want it to do. As it should be. And if this one doesn’t do it for you and you’re not using one that does work for you — opting to try to change it to your tastes instead of changing yours to fit the distro — you’re falling into the trap outlined in that popular Southern expression: “Never teach a pig to sing. It wastes your time, and it annoys the pig.”

To his credit (and I’m assuming the original poster is a he), the original poster has stuck with CrunchBang and he seems to be working out some of the bugs he’s finding. Also, one of the things I hope he’s finding is that there is a wealth of knowledge and education a question away in the CrunchBang forums, which is a huge and positive testament to that particular community.

As an aside, I use CrunchBang regularly as my primary distro because a.) I like it and b.) it does what I need it to do across a wide range of hardware which, say it with me, means it suits my needs. The fact that it’s a community with a wide range of smart people is a perk.

Which is as it should be.

(Larry Cafiero is one of the founders of the Lindependence Project and develops business software at Redwood Digital Research, a consultancy that provides FOSS solutions in the small business and home office environment.)

Add to Technorati Favorites EFF Binary Freedom Dead button Wordpress button Xfce button dbEntrance button AntiX 7.0 fedora badge Xubuntu GIMP Scribus Linux Mint Kororaa Salix OS Fluxbox Conky Thunderbird LibreOffice Crunchbang Bodhi Linux PostgreSQL identi.ca python scale 10x

Eliminate DRM!

Getting out the vote

August 30, 2011 Leave a comment

Yes, I know LinuxCon has come and gone, and I think they’ve got the publicity thing covered, especially with the 20-year thing, the gala party, and with Linus being there and all. The buzz is still going, and that’s good. But if you’re going to a Linux show, make it the Ohio LinuxFest in September. Bradley Kuhn and Cathy Malmrose are keynoting — along with Jon “maddog” Hall — so you’ll not want to miss that (especially Cathy — Go ZaReason!).

With the upcoming deadline for the Linux Journal Readers’ Choice 2011 Awards upon us — it closes this Saturday — other bloggers have been been taking to beating the drum and holding the phone for their favorites.

Not to be outdone, of course, there are a few candidates on the LJ ballot that deserve special mention. If I were campaigning for them, I’d definitely cast votes for items in the following categories (note, however, the list of categories and software on the ballot is long, and they’re not all here):

Best Linux Distribution: No question, hands down. Fedora. Judging which is the best distro is akin to picking the best ice cream flavor — each of us has our own favorites, and hopefully you’ll vote for yours. Mine comes in blue, is based on Red Hat, has the best desktop background release after release (the Design Team at Fedora is the best in the FOSS realm, period), it’s always rock solid, and even if I can’t use the default GNOME 3 desktop, Fedora runs great under KDE or Xfce. Fedora is reaching a point now where the myth that it’s “only for experience users” is falling by the wayside, and if a lack of confidence in your skills has kept you from using Fedora, you should give it a try.

Best Desktop Environment: Oh, look! A minefield! Let’s skip through it! You all know how I feel about GNOME 3; the aspect that I can’t use it due to older equipment moreso than anything else (if I could vote for GNOME 2.32, that would be great). KDE? I like KDE though — truth in advertising — I’m a post-KDE 4.x user and not familiar with the way things used to be (and not familiar with why there’s such a hubbub about it). I don’t know why Openbox and Fluxbox, both windows managers, are in this category, and why isn’t there a separate WM category? How did I vote? I’m cast a vote this year for Xfce, because I’m using it on Fedora 15 and will be using it again on Fedora 16, and while it’s reputation is a lightweight environment, I’m finding there’s a significant degree of tweakability to it. Also, if you really like WMs, I’d vote for OpenBox.

Best Web Browser: Konqueror. Just kidding. While there are some advantages to Konqueror that do not involve Web browsing, for getting on the information superhighway I usually go with Firefox, though on the Windows box at the newspaper I use Chrome. It’s a toss up between those two.

Best E-mail Client: Another minefield and another tough call. What I use most is Thunderbird, because everybody knows the ‘Bird is the word, and it’s always worked well for me. What has always worked well for me in the past, too, and something I’ve always thought was one of KDE’s stars is Kmail, which deserves a vote if you’re so inclined. Claws is something I’m looking to try and haven’t yet, so maybe if it wows me, it can be a leading candidate for 2012.

Best IRC client: Simple — it’s irssi. It’s what the cool kids use, once they graduate past Xchat. Konversation gets high marks, too, and readily available on KDE. But I voted for irssi.

Best Office Suite: OK, here’s where we get to make history. Vote for LibreOffice — it’s OpenOffice as it should be. It would be outrageously cool if LibreOffice took home the prize in this category, for starters because it deserves it, and it would be a good nose-thumbing to Oracle as well.

Best Graphic Design Tool: All of them. I’m serious. If there’s ever been a category where each of the candidates deserves to win, it’s this one. GIMP finally gets a single window, I’m told, thank $DIETY, but I ended up voting for . . . Inkscape. I’m not the artist in the family; that title goes to my daughter Mimi, but having drawn a little, I do like Inkscape a lot.

Best Audio Tool: Audacity. If Carla Schroder uses it and writes a book about it, then I’m there.

Best Kid Friendly Application: Another easy one — Tux Paint. I should be ashamed to admit this, but I’m not: Ever since Mimi was younger and we used Tux Paint together when she was learning her way around a computer, I have always loved this program and I still fiddle with it from time to time when I’m not doing anything else. Also, I count Tux Paint as one of the main influences in cultivating the artistic talent Mimi has shown.

Best Game: As bad as I am at it, I still think Super Tux gets the nod here, as it’s a very creative game. Truth be told, I’ve never played any of the games on the list, except for Tux Racer, and I know my good friend Ken Starks over at the HeliOS Project is a fan of World of Goo.

Best Database: Our first heart-versus-head conundrum. If MySQL were the best, I may not vote for it on principle, but fortunately other databases have knocked MySQL from its perch at the top. I’ve only used two other databases and have liked them both: PostgreSQL and MariaDB. I really want to see MariaDB do well, but PostgreSQL is clearly the best of the bunch.

Best Programming Language: Again, the ice cream comparison comes into play and in my limited programming experience, I vote for what I know best. That would be Python.

Best scripting language: bash — accept no substitutes (OK, ksh if you need to).

Best IDE: Emacs in the hands of someone who really knows what they’re doing (and sadly, that’s not me) is simply an amazing tool. But I’m voting for vim. I can get more done using it, and I’m never backed into a corner, as I am sometimes with Emacs. Sorry, RMS.

Best Package Management Application: If it sounds like it tastes good, you have to go with it: yum. Honorable mention goes to Synaptic.

Best Content Management System: I’ve used Mambo and Joomla! in the past, and those happen to be my CMS roots. However, having used Drupal over the last few months, I have to say that I’ve made the switch. Drupal gets my vote this year.

Best Linux Laptop Vendor/Best Linux Desktop Workstation Vendor/Best Linux Server Vendor: I’m lumping these three categories together because the vote is the same in each category — ZaReason. The Berkeley, Calif., outfit makes outstanding, dependable hardware that’s Linux based (or if you’d prefer, no operating system) and the service is top notch. You’ll have to write in ZaReason in the Best Linux Desktop Workstation Vendor category, but you can mark the ballot in the other two.

Best Linux Book: A real page-turner, especially if you’re into audio — “The Book of Audacity,” by Carla Schroder. Buy it now.

Again, there’s a plethora of other categories that I haven’t touched on. Polls are open until Saturday. Vote early.

This blog, and all other blogs by Larry the Free Software Guy and Larry Cafiero, are licensed under the Creative Commons Attribution-NonCommercial-NoDerivs CC BY-NC-ND license. In short, this license allows others to download this work and share it with others as long as they credit me as the author, but others can’t change it in any way or use it commercially.

[FSF Associate Member] (Larry Cafiero is one of the founders of the Lindependence Project and has just started developing software in his new home office. Watch this space.)
Add to Technorati Favorites EFF Binary Freedom Dead button Wordpress button Xfce button dbEntrance button AntiX 7.0 fedora badge XubuntuEliminate DRM!

Follow

Get every new post delivered to your Inbox.

Join 81 other followers