EmacsMovies Looks at Gnus—Part 2

Noufal Ibrahim has part 2 of his series on Gnus up. The screencast is about 30 minutes so he broke it into two videos. As with part 1, the screen is too small to be read comfortably, even on my 27-inch iMac, so I used one of the alternative files from his Archive Page instead. The h.264 worked well for me; it streamed as normal and I could blow it up to full screen so that I could see Ibrahim’s Emacs screen easily.

Gnus is just too large and complicated to try to learn from a video so I approached the screencast as an exposition of the things that Gnus can do and why you might want to invest time in learning it. If you’re still using Net News and are looking for a single system that can read it, your email, RSS feeds, and probably anything similar with a consistent interface, Gnus is worth looking at.

That—to me—is the value of Ibrahim’s series on Gnus: you get a feeling for what it can do and what the work flow looks like. I’m looking forward to the rest of the series. I’m not sure I’ll become a Gnus user but at least my decision will be an informed one.

Posted in General | Tagged | 5 Comments

Jekor #3

Jekor has a new Emacs video up. This time it explores loading packages through ELPA in Emacs 24. The new video continues the excellent production values of the first two. This series is shaping up to be a really useful introduction to getting started with Emacs.

I’m really happy to see this new series of Emacs videos. Yes, it’s for n00bs but even experienced users can learn something new from watching them. For n00bs, it’s a great way to get started. With Jekor’s excellent beginning videos and Magnar Sveen’s superb Emacs Rocks! videos for more experienced users, we’re accumulating a really great library of instructive videos on Emacs techniques. Life is good for the Emacsian.

Posted in General | Tagged | Leave a comment

Prism Break

If you’re looking for ways to make your Internet activities more opaque, here’s a very useful site that discusses alternative software to help you be more secure. It also discusses phone services that may help too.

Most of us, of course, are not terrorists or doing anything illegal but that doesn’t mean we’re fine with having extra-legal snooping into our activities. As someone aptly put it, everyone knows what goes on in the bathroom but that doesn’t mean we want people snooping on us when we’re there.

This site is a great resource and you should bookmark it against the day that you need one or more of the services it discusses. I, for example, am not yet ready to give up iOS and OS X but:

  1. I can still use Tor and other utilities to protect my online activities.
  2. If, in the future, I do need to give up my current system, this site has good suggestions as to where to go.

Update: use → us

Posted in General | Tagged | Leave a comment

I Have Nothing To Hide

Jamie Zawinski links to a frightening response to a post on Reddit that offered the usual tripe about not caring about government surveillance because “I have nothing to hide.” The responder purports to be living in an Arab country that is “generally assumed to be a dictatorship.” He remarks that the purpose of surveillance is not to control terrorism but to control enemies of the state. That is, those who would destabilize the status quo.

He tells the fable of a young man who idealistically goes to a protest against inhumane farming practices and the consequences that follow. The story is certainly apocryphal but the poster insists that all the things he describes actually happened to friends of his. His final warning is that this is coming to a country near you regardless of how impossible it seems.

Perhaps this is alarmist. Perhaps not. One thing for sure, there is no reason to allow the government to assemble (or perhaps worse, maintain) a surveillance state. As the poster says, if this administration doesn’t use it for evil purposes, a future one will.

Posted in General | Tagged | Leave a comment

Applying defadvice to Several Functions at Once

One of the distinguishing—and most useful—features of Lisp is the macro. Sadly, we don’t often see them discussed in the Emacs blogosphere so I was happy to see Bozhidar Batsov over at Emacs Redux give a beautiful example of macro use. The problem he addresses is to save the current buffer whenever you switch to a different window1. You can switch windows in a number of ways, of course, so several functions need to be advised to first save the current buffer.

The result is that six statements of the form

(defadvice switch-to-buffer (before switch-to-buffer-auto-save activate)
  (prelude-auto-save))

are replaced with the single statement

(advise-commands "auto-save"
                 (switch-to-buffer other-window windmove-up windmove-down windmove-left windmove-right)
                 (prelude-auto-save))

using the advise-commands macro that Batsov wrote.

This neatly illustrates one of the main uses of macros: rather than writing almost identical code over and over, you abstract the common code into a macro. Be sure to read Batsov’s post to see the concept in action.

Update: Inserted missing “of.”

Footnotes:

1 It’s another question as to why you’d want to do this. As long-time Irreal readers know I was a Vi(m) user for many years before seeing the light and switching to Emacs. One of the things I really hated was that I couldn’t switch to another file without first saving the current file (I think this was fixed with the Vim multiple window commands). Still, as I’ve said before, Emacs lets you have it your own way.

Posted in Programming | Tagged , | Leave a comment

EFF

The Electronic Frontier Foundation (EFF) has filed suit in Federal Court on behalf of 19 organizations. The suit asks that the court rule that the NSA mass surveillance violates the first, fourth, and fifth amendments to the U.S. Constitution and seeks relief in the form of an injunction ordering the NSA to cease their over-broad data collection and return the illegally obtained data to its owners. It’s worth reading the actual filing to help understand the issues at stake as the EFF sees them.

But that’s not why I’m writing this. Concomitant with the suit, the EFF is having a membership drive and I’d like you to consider joining. Membership starts at $25. If you can’t afford that, send them $5 or $10 to help them carry on their work.

You hear a lot about the EFF so it’s easy to believe that it’s a huge organization but, in fact, they have only about 20,000 members. That means that every member counts and that they are probably always short of funds. Still, for 23 years they’ve been doing a lot of heavy lifting to help safeguard our Internet rights and freedoms. If the recent NSA snooping troubles you, please join. You’ll be on the side of the angels. If you don’t live in the U.S., consider donating or joining the equivalent organization in your country.

Posted in General | Tagged | Leave a comment

A Random Emacs Wiki Page

Here’s a nice little trick to help you waste time on the Emacs Wiki. As the Redit post explains, if you navigate to http://www.emacswiki.org/emacs/?action=random you get a random page from the Emacs Wiki. It’s easy to imagine building a simple app that lets you explore an Emacs Wiki page every time some event takes place (login, hourly, starting Emacs, whatever). Or just bookmark it and take in a random Wiki page whenever you feel the urge. It’s an easy way to learn a bit more about Emacs.

Posted in General | Tagged | 1 Comment

A Second Jekor Emacs Video

I was alerted by this Magnar Sveen tweet that Jekor has another Emacs video up on YouTube. As I mentioned in my post about the first video, these videos are extraordinarily well done and worth your time.

This episode discusses the Emacs customization system. Jekor shows how to use it to get rid of the status and tool bars. Then he changes the default face and demonstrates how to set a theme. Again, this is a great series for Emacs n00bs and even experienced users may learn something new. As I said in my previous post, I’m looking forward to more posts.

Posted in General | Tagged | Leave a comment

The Other Side

In my The Good Guys and Bad post, I had harsh words for Microsoft’s collaboration with the NSA and FBI. I still find their actions over the top and inexcusable but there is another side to the story. Declan McCullagh over at CNET explains how the government forces Internet companies to cooperate on surveillance.

The big threat is that the government will install their own equipment on the company’s network if they don’t get cooperation. No one wants that, of course, so they provide the targeted account details using internal mechanisms. Companies that resisted have consistently lost in court.

This, however, does not exonerate these companies, at least not completely. Companies are only required to provide what they can provide. If they don’t keep logs for longer than required for engineering purposes, they can’t tell the government when someone was logged on. If they keep user data encrypted on their servers in such a way that only the user can decrypt it, they can’t give it to the government. None of this is impossible. We can’t expect Google, for instance, to do this because their business model is all about mining their users’ data but other companies can and do.

If you want to keep your business your business you should seek out these companies. I’ve been accumulating a list of such services for my own use and will blog about them occasionally. Realistically, if you become a target of the NSA or FBI1, they are probably going to get your data but most of us aren’t and won’t be such targets so we can take steps to avoid having our data vacuumed up wholesale. This will also prevent companies like Google and Facebook from building a profile of our Net activities—a profile that itself could easily become a target of government interest.

Footnotes:

1 Or, if you’re not an American, whatever the appropriate Three Letter Agency is that takes care of such things in your country.

Posted in General | Tagged | Leave a comment

Last Chance

By way of a public service announcement, Google will be deleting all Google Reader information tomorrow. This is your last chance to get your subscription (and other) data out of the system. It’s easy to do so. Just go to Google Takeout and click on Create Archive button.

Posted in General | Leave a comment