Over the years, the marketing and advertising strategies employed by businesses—both small and large alike—have changed dramatically. What once used to be traditional advertising on a black-and-white television has since evolved into elaborate online guerilla marketing campaigns, sometimes costing several thousand dollars a month. With computer software being a relatively new (and I use that term lightly) advancement, the marketing strategies employed by software distributors has largely been based on the web.
Verbatim copying and distribution of this entire article is permitted in any medium without royalty provided this notice is preserved.
Think of a phone directory listing with a lot of Browns followed by some Brownes, Brownings and Brownleys. Is there a simple way to identify the places in the sorted list where Brown changes to Browne, Browne to Browning and Browning to Brownley?
If you're a programmer, you've probably just thought of an 'if, then' test for items in the list. If you're an AWK-lover (like me!) you may have started thinking about the getline option.
There's another and more interesting way to do this job on the GNU/Linux command line, as explained below.
Since discovering AWK last year I've been using it regularly with tables of data. It seems like everything I do with those tables is faster and easier with AWK on the command line than the same jobs would be with spreadsheet software.
Below are a couple of examples that demonstrate the handiness of the print command in AWK. If you've never used AWK before, see the links at the end of the article for a quick introduction to the basics.
If you want to learn how to use GIMP, this is your chance to win a book that will teach you just that!
Packt made available 5 copies of the great book GIMP Starter Guide by Fazreil Amreen.
In order to win it, all you have to do is write a comment to this article listing all the typos you can find in this article: Ubuntu Touch: the (natural) next step in personal computing?. .
I don't think many people have realised that we are on the verge of a technological revolution. The computing world is changing, and this is the first time GNU/Linux is catching the revolution as it begins. Computers are getting smaller and smaller, while phones are getting bigger and bigger. Everybody can see that they are about to converge -- but in what form? Well, the answer is: GNU/Linux -- before anybody else. The ingredients? A great GNU/Linux distribution, a leader with the right vision, and a few very bold, ground-breaking choices. Mix it well: the result is Ubuntu Touch.
quickplot is a fast, interactive 2-D plotter. All it needs to do its job is a text file with x and y points in a list. If those points are longitude and latitude in decimal degrees, quickplot works like a simple GIS program, with some surprising capabilities.
This article explains how I set up quickplot to do species mapping for Australia. For most of my mapping work I use qgis and Google Maps/Earth, but quickplot is handy for quickly making simple maps and zooming in on details. With an executable size of only 453 kb, quickplot is the tiniest and fastest GIS I know.
The artists guide to the Gimp is a book that gets everything right. In terms of design, the book's layout breaks all the rules of how to make a computer manual: it is in landscape format, it's all in colour, and it's printed on glossy paper that makes you feel you are browsing a brochure, rather than a book. In terms of contents, the book covers everything with such ease that you end up reading the parts you weren't really interested in.
I had the privilege to interview Ray Stoeckicht, the co-founder of an exciting new free software/open souce company creating Zurmo. Zurmo is a "social CRM": a program aimed at making CRM fun (if you know something about CRM, you will know that the word "fun" never seems to associate with CRM).
In a previous article I introduced the idea of modifying text between copy and paste in Linux, using a 'CoPa' script based on the
xclip utility. Please refer to that article for the basic ideas.
Here I demonstrate two handy CoPa scripts for spreadsheets, and a simple coder/decoder for (very!) low-level encryption of email text and other messages.
This is an odd story. It began about 10 years ago, when I needed a database, then it moved back 30 years, and now I don't need one.
Confused? I promise to explain, and also to demonstrate some surprisingly useful command-line tricks.
This article describes a simple but useful hack: putting an
xclip script between copy and paste. I call it 'CoPa scripting'.
Have you ever wanted to split a spreadsheet into several spreadsheets according to the contents of a particular field? For example, you might have a music tracks spreadsheet with an 'artist name' field, and you want separate spreadsheets for each artist, with the usual field names along the top of each new spreadsheet.
You can split a spreadsheet by copying and pasting the different sections into new spreadsheets if there aren't many records. If there are lots of records, this manual approach can be pretty tiring. For splitting very large spreadsheets, most users turn to special stand-alone programs (in the Excel world) or fairly complicated macros (Excel, Open/LibreOffice Calc).
I split my spreadsheets using the GNU/Linux command line, as explained in this article. It's another of my trademark ugly hacks, but it works well and the command line steps can be combined into a script which runs fast and reliably.
Some webpages contain email links. If you right-click on the link in most Web browsers, a menu appears that lets you copy the email address to the clipboard (first screenshot). You can then paste the address into the To field of a new email message.
In recent versions of Mozilla's Firefox browser, you can also left-click on the link and get some action. If Mozilla's Thunderbird is your default mail program, a Thunderbird 'compose' window may appear with the To field automatically filled in. This article explains how you can get the same automatic result under Linux with the excellent open-source mail programs Sylpheed and Claws Mail. The method also works with Iceweasel, which is the rebranded Firefox packaged with Debian GNU/Linux.
Packt is one of the first publishers who actively supported us back in 2005, when this mad adventure started. They were just starting up back then, and yet they invested in Free Software Magazine in several ways (including monetary).
Free Software Magazine is not the only project that benefits from them: Packt's "Believe in Open Source" campaign has already donated more than $400,000 to the projects they cover in their books.
I just checked, and my State government's website here in Australia has 43 pages with the message that Adobe Acrobat Reader is needed if I want to view the page's downloadable PDFs.
LibreOffice only knows how to spell a few scientific names, and the more scientific names you use in a Writer document, the more your pages fill up with squiggly red underlining – indicating misspelled or unrecognised words (see main image). You can add scientific names to LibreOffice's spell checker using the application's spelling dialog box, but only one word at a time.
Is there an easier way? Yes. This article explains how you can save a lot of time and effort by adding hundreds of scientific names to the spell checker all at once.
If I see a color on my computer screen that I'd like to use somewhere else, I want to know that color's hexadecimal code. Conversely, if I see a color's hex code, I want to know what that coded color looks like on-screen.
Some time back, I wanted an application that does both those jobs simply in Linux. The best tool I found was gcolor2, described below. It's great for finding hex codes, but it doesn't display colors in a large enough 'swatch' to suit me. To do that job I wrote a simple script, also described below.
In my entomological work I often need to compare two images of bugs side-by-side.
Comparisons are surprisingly hard to do with either of the image viewers I normally use, namely Eye of Gnome and Ristretto. First I open two instances of the viewer and adjust their window sizes and positions for easy side-by-side comparison. I then open one image in one viewer window, and the other image in the other window. If I want to zoom in or out, or pan across the images, I have to do this independently in each viewer window. If I don't save this two-instance arrangement on a dedicated workspace using 'Save session on exit', I'll have to repeat the setting-up next time.
Comparisons are much simpler in Geeqie image viewer, which is now in most of the Linux distribution repositories. I first heard about Geeqie in 2011 when it was featured in a glowing online review. I hope this article adds to the glow.
I recently wanted to export my email address book from Sylpheed email client and import it into my Gmail account. Unfortunately, Gmail wants to import contact lists as CSV files, and there isn't an export-address-book-to-csv feature in the otherwise wonderful Sylpheed. Worse, the Sylpheed address book is in XML format, and XML-to-CSV conversion isn't straightforward.
Warning: What follows contains code that may offend real programmers. The code works but it's pretty simple-minded, and if you're a real programmer and not a hobbyist hacker like me, you may not want to read any further.
When you build or update a website, it's a good idea to check that all the links on your webpages are OK. An excellent tool for doing this under Linux is the aptly named linkchecker, a GPL-licensed, command-line program.
However, 'OK' has more than one meaning. While linkchecker can check the URL you specify to see if it's properly formed and not broken, it can't tell you if the link points to the wrong URL.