I Want One

Some good advice from Troy Hunt:

Posted in General | Tagged | Leave a comment

Calc Tutorial Video

Karthik C has a very nice video entitled Emacs-Calc: The Poor Man’s Mathematica. It’s a tutorial on some of the features of Emacs calc. He begins by covering the basic stack machine nature of calc and how to perform simple calculations. He quickly covers some—but by no means all—of the vector calculations, and then moves on to symbolic computations.

He shows to to symbolically solve various types of equations. This is tremendously powerful and mirrors the capabilities of Mathematica. He also demonstrates how to do symbolic differentiation and integration. Finally, he shows how to solve numerically when a symbolic solution is not available.

The video is just short of 49 minutes and covers a lot of ground but it still only scratches the surface. It’s a really great introduction to what calc can do and even if you don’t remember everything he shows you, the help system will remind you of the commands once you tell it what you want to do.

I use calc all the time but mostly for simple calculations so it’s nice to have a video that reminds me of some of its more complicated capabilities. Of course, the manual is very complete if you need in-depth information. If you’re just starting, you’ll want Sue D Nymme’s quick reference guide. It far and away the best quick reference for calc.

Posted in General | Tagged , | 1 Comment

Four Times

Pretty much shows the FBI is being a bit disingenuous:

Posted in General | Tagged | Leave a comment

Wha?!?

I’ve recently experienced a canonical instance of the Baader-Meinhof Phenomenon. Until the other day, I had no idea that Emacs had a built-in spreadsheet. Now, I’m seeing references to ses (Simple Emacs Spreadsheet) everywhere. It even has its own manual.

I use Org-mode tables and Babel for that sort of thing but it’s nice to see that if you really want a spreadsheet, Emacs has one for you. One of the nice things about ses is that you use normal Elisp to calculate cell values. That give you both familiarity and flexibility.

This discovery probably isn’t life changing but it is another example of how Emacs always has something new to show you. If you want to try it out, type 【Meta+xses-mode in a new buffer.

Posted in General | Tagged | 3 Comments

Key Management

is the hard part.

Posted in General | Tagged | Leave a comment

Repeated Links in Org Mode

The tireless Artur Malabarba has shown us how to make custom Org links for special purposes before (1, 2). Now he shows us how to implement Markdown links. The point here is that with Markdown, you define a link and associated ID once and can refer to it any number of times thereafter by mentioning its ID.

That’s nice if you refer to the link several times in your document. Instead of looking up the URL each time, you can give it an ID and then use that ID each time you want to refer to it. This could be especially useful if you later need to change the URL for some reason.

Malabarba’s implementation takes 3 simple functions, two of which are required by the Org Link mechanism. It’s pretty easy and could be really useful for certain types of workflows. Take a look at his post for the details.

Posted in General | Tagged , | Leave a comment

Crossword

For all you puzzle constructors out there:

The cwpuzzle makes it really easy to typeset a crossword puzzle. If you want to try your hand but don’t know how to lay out a puzzle, there are plenty of sites to help you.

Posted in General | Tagged | Leave a comment

Emacs for Professional Writers

Last time, I wrote about how Bin Chen writes in Org mode and exports the final document to Word doc format. Most engineers are spared the indignity of having to produce Word documents but if you’re a writer producing anything other than technical books, you will almost certainly have to deliver your work as a Word file. That makes a lot of sense for publishers, as I’ve written about previously, but it’s a real pain for technically literate writers.

Tony Ballantyne is a Science Fiction writer and an Emacs user. Ballantyne has an excellent post on his Emacs Writing Setup. The post covers how he uses the various Emacs tools—including Org mode—to organize his books, take notes, record ideas, and maintain a style sheet.

Like Bin Chen, he exports the results to odt format when he’s done. His process seems a little simpler than Chen’s. He just exports it to odt, loads it into whatever Word clone he’s using, and saves it as a doc file. That’s an extra manual step but not an onerous one.

If you use Emacs for writing and need to deliver the result as a Word document, you should definitely read Ballantyne’s post. Even if you’re not a professional writer banging out fiction, Ballantyne has some good tips of making the most of Emacs for the task. If you like his writing tips, checkout his Emacs Workout page that links to many of his writing-with-Emacs posts.

Posted in General | Tagged , | Leave a comment

How to Convert from Org to Word

If you’re like me, you’d rather take a pencil in the eye than write using Word or any of its evil spawn. Sometimes, though, you really need to deliver a doc file. Even in a lead engineer position I sometimes had to produce documents for management that they would tweak and send to, say, their lawyers. Needless to say, management wasn’t interested in an Org file, whatever the hell that is.

So. A conundrum. On the one hand a cranky engineer who didn’t want to fire up Word, and on the other, suits who didn’t know there was any way to produce documents besides Word. What to do? Not all that long ago the choices were

  • Cranky engineer bites to bullet and fires up Word
  • The bosses’ secretary takes an ASCII document and imports it into Word

Neither was very satisfactory so we’re lucky that today’s Org mode has a better answer. Since Org 7.8, you can export an Org document to odt format and from there to doc format.

Bin Chen explains how to automate the process of converting an Org document to a Word document in doc format. It’s a pretty simple process involving specifying what you want the end format to be and what tool (LibreOffice by default) should be used to convert from odt to the final format.

If you occasionally have to produce documents in doc format, you should definitely take a look at Chen’s post. Tomorrow, we’ll revisit this subject from the point of view of a fiction writer that has to deliver drafts in doc format but much prefers working in Emacs.

Posted in General | Tagged , | 5 Comments

WiFi on a Rifle

What could go wrong?

Posted in General | Tagged | Leave a comment