Author Archives: jcs

A Solution to the VimGolf in Emacs Riff

Recall that the last VimGolf in Emacs challenge was to convert abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz to a b … Continue reading

Posted in General | Tagged | 2 Comments

Copyright Redux

Another post on copyright. I’m sure that most of you are tired of it by now. I sure am. But copyright is out of control and the copyright industry is an insatiable and rapacious beast that will happily gobble up … Continue reading

Posted in General | Leave a comment

A Riff on the Last VimGolf in Emacs Challenge

Here’s a small variation on the last VimGolf in Emacs challenge. Given abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz transform it … Continue reading

Posted in General | Tagged | 3 Comments

A Nice Folding Trick for Emacs

jao over at Minor Emacs Wizardry has a nice post on folding in Emacs. As he points out, there are several packages to do folding but there is also a built-in method that may handle many of the cases where … Continue reading

Posted in General | Tagged | Leave a comment

Attention Troff Users

If, like me, you continue to be a Troff holdout, there’s good news from O’Reilly: They are now offering a free download of the original Unix Text Processing. The book has long been out of print and, I believe, the … Continue reading

Posted in General | 1 Comment

A Nice Emacs Trick

In the comments to my Another VimGolf in Emacs Challenge post, Aaron Culich points out something that I didn’t know. It is possible to enter query-replace or query-replace-regexp directly from isearch. When you do this, query-replace and query-replace-regexp will use … Continue reading

Posted in General | Tagged | Leave a comment

Wonderful

This is just wonderful. Reuters is reporting that for the first time NPEs (more commonly known as Patent Trolls) are bringing the majority of U.S. patent lawsuits. Can someone please explain that part about the public interest to me again? … Continue reading

Posted in General | Leave a comment

Solution To Yesterday’s Challenge

Yesterday’s post asked you to turn 26 lines of a b c d e f g h i j k l m n o p q r s t u v w x y z into 26 lines of a … Continue reading

Posted in General | Tagged | 5 Comments

Another VimGolf in Emacs Challenge

Here’s another VimGolf in Emacs from a recent challenge on the VimGolf site. Your task is to replace the blanks between the letters with 4 blanks and to do it for each line. Here’s the starting file a b c … Continue reading

Posted in General | Tagged | 5 Comments

Exploratory Data Analysis with Unix

Seth Brown over at Dr. Bunsen has a great post on how the ordinary Unix coreutils can be used for exploratory data analysis. His first example (head -5; tail -5) < data to show the first and last 5 lines … Continue reading

Posted in General | Tagged | Leave a comment