LaTeX Templates

If you’re a beginning or intermediate LaTeX user, you can probably produce pretty nice looking documents as long as the document is one of the standard types. If you want to produce slightly unusual documents—a homework assignment or résumé, say—you’ll need to find (or write) a new document class that supports that type of document.

The LaTeX Templates site may be just what you need. They have all sorts of templates along with examples of what the result looks like. Once you’ve chosen one you like, you just download and put in your tex directory. I use their templates all the time and have found them very useful. Take a look at their examples and see if there’s something you can use.

Posted in General | Tagged | Leave a comment

Prevent Encryption Above All Else

Michael Steinbach, assistant director in the FBI’s Counterterrorism Division, recently testified that law enforcement’s challenge is working with tech companies to prevent encryption above all else. I take that to mean that he’s taking exception to companies like Apple providing their customers with the means to secure their privacy by engineering their encryption systems so only the user can decrypt messages. Steinbach wants the ability to read those messages when the FBI feels it’s necessary. It’s all right, he says, because they would need to get a warrant first. That argument would be more persuasive if we didn’t have the recent example of the FISA court secretly rubber stamping virtually every request that law enforcement or the NSA made.

Steinbach trots out the usual specter of “going dark.” This tired trope is belied by the fact that we are now living in the golden age of surveillance where the government knows more about us than ever before.

There are, of course, technical reasons that backdoors are a terrible idea but even putting those aside for a second, there is no reason at all why we should trust these people with new surveillance powers. Steinbach’s demurral notwithstanding, the government has forfeited any claim to our trust with their secret, abusive, pervasive surveillance of virtually all Americans. The FBI and NSA can invoke the third party doctrine all they want but they know and we know that surveillance of this sort was never envisioned by the Fourth Amendment.

Then there’s the inconvenient fact that the FBI can’t point to a single case of this surveillance playing a role in any major case. Despite not making use of what they already have, the FBI has come back to the trough demanding more.

Posted in General | Tagged | Leave a comment

Why You Shouldn’t Use the Cloud

Karl Voit has a nice post that tells us why we shouldn’t trust or use the cloud. There are lots of reasons why we might want to use the cloud and most of us are familiar with them: lots of (perhaps “free”) storage that’s backed up regularly by professionals who know what they’re doing and who can provide industrial strength security. At least that’s the theory.

It’s a cliche but no less true that if you aren’t paying for the product, you are the product. That’s the usual argument used against companies like Google but the problems run deeper. Read Voit’s post for some of those problems and why you shouldn’t fall prey to them. The alternatives are often hard and you may have to forego really useful things like syncing your data across all your devices.

You might consider the benefits worth the downsides but you should at least know what those downsides are. Reading Voit’s post will help you decide how to balance your risks and benefits.

Posted in General | Tagged , | Leave a comment

Writing a Master Thesis in Org Mode

One way or another, I end up using Org mode for almost all my writing. Blog posts are easy to write in Org and then export with org2blog, and Org brings all the power of LaTeX with an easier interface. I’m fascinated with how people use Org for their writing so I’m always on the lookout for examples. Here’s one I just stumbled across:

It’s nice because the link takes you to the Org source code, which serves as an excellent go-by for anyone wanting to do the same. Notice what Breitmoser has to say about the experience: “Would recommend.”

Posted in General | Tagged , | 4 Comments

A System Wide Org Capture Key

Over at Think *NIX, PRJ2 has a nice post on setting up a system wide key to invoke Org capture. The idea is that even if Emacs isn’t running it will be launched and Org capture automatically called. He assigns this to 【F9】 on all his systems so that no matter where he is or what application he’s using, he’s only one keystroke away from a capture buffer. If, like me, you always have Emacs running, this process should be instantaneous.

The post tells you how to do this on Windows, Unix/Linux systems, and OS X. Even if you have to work on multiple platforms, you can always capture a thought or some data quickly and easily by pressing the same key. Very nice.

Posted in General | Tagged , | Leave a comment

The Future is S-expressions

Jean-Philippe Paradis makes an astute observation:

For some time, I’ve recommended JSON because it’s a sort of lingua franca that’s available to you no matter what language you’re writing in. Nevertheless, I’ve always felt that s-expressions are the better answer. If Paradis is correct, we will have the best of all worlds.

Posted in Programming | Tagged | Leave a comment

Email Templates with Yasnippet

Bin Chen is a busy guy and as a freelancer he gets lots of emails offering jobs. Each type of reply is mostly the same as all the others of that type so it makes sense to automate those replies to reduce time and errors.

Chen uses yasnippet to make templates for those replies. All the normal text is there and he can tab through the fields to fill in the instance specific data. He even has a bit of Elisp to extract the first name of the recruiter from the email address and insert it into the greeting.

It’s a very nice solution and one that can be adapted to work with any type of repetitive communications that you write. It’s easy to set up and integrates nicely with Emacs. Even if you don’t use Emacs for your email, it’s easy to set Emacs up to send email with your normal email address. With OS X, I can have it either pop up the message in the (OS X) mail app or send it off directly.

Posted in General | Tagged , | Leave a comment

Metadata

When they tell you it’s just metadata, show them this

Posted in General | Tagged | Leave a comment

Reproducible Research in the Small

As most of you know, I’m a big fan of reproducible research and have written about it many times. I usually think of it as something you do with a large project that is going to produce one or more journal articles but it doesn’t have to be that way.

Titus von der Malsburg has a nice example of a small experiment that he wrote up in Org mode using reproducible research techniques and published as a gist. If you click on the Raw button you can see the Org mode source.

Notice how you have a complete package: you can read the write-up in a nicely formatted document complete with graphs and tables and you can also see the source document with all the data and R code used to make the calculations. This is the perfect way to share the results of an experiment with team members or with colleagues in other locations. They can check your calculations or use your work as a jumping off point for further research.

Howard Abrams has written about using Org mode as a way of sharing DevOps experiments with colleagues. Malsburg’s gist shows another example of using Org mode to share results with others in a low effort way. You can publish the gist and email interested parties with the URL. Publishing as a gist means that even those benighted souls not using Emacs can see your results presented in a nice manner and still see the (text based) source document.

Posted in General | Tagged , | 2 Comments

Nothing to Hide

Edward Snowden has a nice rejoinder for those who say they aren’t worried about government surveillance because they have nothing to hide (via Jean-PhilippeParadis):

Posted in General | Tagged | Leave a comment