Orgzly

In my Portable Operating System post and its comments, I bemoaned the lack of an Emacs port to iOS/ipadOS or at least to the iPad. If I had that, I’d probably still use my MacBook Pro at home but I’d, for the first time, be able to easily and unobtrusively take my working environment with me wherever I went.

We’re not there yet but we can carry a crucial part of our Emacs environment on our phones and iPads. The apps that enable that are Orgzly and beorg. This post is about Orgzly, the solution for Android phone users. Perhaps I’ll cover beorg, the iPhone solution, in another post.

Because Orgzly is Android only and I’m an iPhone user, I don’t have any personal experience with it but I’ve read nothing but good things about it. You won’t get the whole Org-mode experience, of course, but you can capture notes, display agendas, and track your progress on tasks when you’re out and about. The alternative for Org users is to maintain two lists: one for Org-mode and another for the mobile app of your choice. Perhaps you can even exchange data but that’s enough friction to prevent many people from adopting it.

Josh Rollins is an Orgzly user and blogs about it regularly. In a recent post, he has a mini-interview with Orgzly’s author. If you’re curious about Orgzly, take a look at Rollins’ post. It gives you a nice overview of what the app is trying to accomplish and the project’s goals. If you want more information there’s an FAQ and some documentation to look at.

As far as I can see, the only real problem with Orgzly is that the only available syncing option is Dropbox. Due to Dropbox’s recent price increase and policy changes, that may be a problem for some users.

Posted in General | Tagged , | Leave a comment

The Data Gatherers Are Out Of Control

The Spanish Soccer League, La Liga, licenses the right to display its games. It’s very aggressive about enforcing that licensing especially in venues like bars where fans naturally gather to watch the games. The situation is much different here in the U.S., of course, but even the misanthropes at Irreal can understand the league’s desire to operate as efficiently as possible in the local environment.

What Irreal doesn’t understand is how the league thought it was okay to spy on their fans with a smartphone app that was supposed to provide team schedules, statistics, and news. When the app determined, through GPS, that the user was in a bar, it turned on the microphone to see if a game was being shown. If so, it checked that the establishment had the requisite license.

Spain’s data protection agency has fined La Liga €250,000. The league insists: Well gee, our terms of service explain what we’re doing and even give the user the opportunity to opt out. As long as that user was one of the two or three people who actually read those long and dense terms of service.

We Irreal minions are, of course, completely ignorant of the league’s financial situation but if it’s anything like, say, the American Football League’s, that €250,000 fine is a drop in the bucket and was most likely written off as a cost of doing business. You know what wouldn’t be written off as a cost of doing business? A few months in jail for some league executives. Or at least a fine large enough to get the league’s attention. Until that happens, the data gatherers will continue to run amok and abuse their users.

For its part, the league plans to continue using its fans to fight piracy and will appeal the fine. See what I mean by out of control?

Posted in General | Tagged | Leave a comment

Notmuch For Email

As regular readers know, I am a very happy user of mu/mu4e to handle my email. It lets me handle email completely from within Emacs and it happily lives side-by-side with Apple’s mail app so I can read and write mail with mu4e when I’m on one of my computers and use the Mail app when I’m on one of my iOS devices. It’s the best of both worlds.

Wojciech Siewierski tried mu4e but didn’t like it. He settled on Notmuch and notmuch.el. Like me he uses isync to retrieve his mail. He also uses msmpt to send it but I don’t bother with that. Siewierski started using Notmuch a year ago and just wrote a blog post about his experiences.

The TL;DR is that he likes it and has no plans to change. Notmuch is superficially similar to mu in that they both build and index a database of your emails. The clients, mu4e and notmuch.el are the mail user agents and run in Emacs. That means both systems offer you the advantages of reading, writing, and editing your emails from within Emacs.

The big difference, as far as I can tell, is that Notmuch likes to organize things around tags while mu simply offers a powerful search engine. At first I liked the idea of tags—I use them in virtually all my Org files—and wished mu had better support for them but then I realized that their use in Notmuch amounts to a proxy for mail folders. That’s the idea I was trying to get away from with mu. I simply throw all my read emails—at least the ones I want to keep—into a single folder and use mu’s powerful search capabilities to locate any that I need. Those search capabilities have yet to fail me in over two years of use.

Still, “different strokes for different folks” as the hippies used to say. Not everyone will like mu/mu4e and if you’re one of those people—like Siewierski—you can give Notmuch a try and see if it works better for you.

Posted in General | Tagged | Leave a comment

Emacs 26.2.90

Nicolas Petton writes that the first pretest of Emacs 26.3, 26.2.90, is available for download and testing. If you don’t mind living just a little bit on the edge, download and help with the testing.

As always, thanks to John, Eli, Nico, and all the others for shepherding the ongoing development and improvement of Emacs.

Posted in General | Tagged | Leave a comment

The Government Can’t Protect Your Data Either

A couple of weeks ago, I wrote about the Equifax and First American Financial Corp breaches. I noted that the situation was out of hand and that even the curmudgeons at Irreal were ready to put aside their distaste for government intrusion into our affairs and demand that they mandate severe and certain penalties for companies that collect our information and then fail to protect it.

It turns out, though, that the government isn’t any better at safeguarding the data they collect—often involuntarily—from us. Customs and Border Protection has been rushing to put its program to gather biometric data into place but apparently hasn’t devoted much thought into protecting that data. The CBP announced that on May 31, 2019 they learned that one of their subcontractors has suffered a breach and lost a database of photos of travelers and scans of license plates. The extent of the loss isn’t known but, of course, the CBP is “taking the incident very seriously.”

“Very seriously” is the same old refrain we always hear from people who couldn’t be bothered to protect the information they gather about us. I haven’t read anything about anyone being fired or about contractors being terminated1. No, “very seriously” means “We’ll pretend to do something but really won’t. Now move along and don’t bother us anymore. We’ve got data to collect.” And, indeed, CBP is pushing to expand their biometric data collection programs significantly.

Understand that this isn’t data collected from known suspects or trouble makers. It’s data from everyday citizens just like you and me who happened to be unlucky enough to use an airport that already had the program in place. It’s bad enough they’re collecting it but it’s intolerable that once they did they couldn’t be bothered to safeguard it. It’s fine to blame “a contractor” but we here at Irreal say, “You collect the data, you own the responsibility to protect it.”

Remember this story the next time the FBI or some other government agency says they need a private key to your data but don’t worry, they’re the government and can protect it. They can’t. If not even the ultra-secure NSA can do a credible job of protecting their data, you can be sure the other agencies won’t be able to.

Footnotes:

1

Quite the contrary, the CBP tried to protect the identity of the offending contractor but couldn’t manage even that competently. See the linked Wired article for the details.

Posted in General | Tagged , | Leave a comment

Org 9.2.4 Is Released

Bastien Guerry tweets that Org-mode has a new release.

As usual, thanks to Bastien, Nicolas, and the others for all the work they do for us.

Posted in General | Tagged , | Leave a comment

The Portable Operating System

Unix is often credited with being the first portable operating system because it was written in a higher level language and could relatively easily be ported to new machines. That portability changed everything. But this post isn’t about Unix; it’s about Emacs.

It’s almost a cliche to make the case that Emacs has more in common with an operating system than it does with an editor. Here at Irreal, our favored comparison is with the Lisp machines from the 1980s. Emacs isn’t an operating system, of course, nor is it really a Lisp machine but one thing it is is portable. By that I mean that you can take your Emacs environment with you regardless of the OS or machine you happen to be working on. If, like many of us, you do almost everything in Emacs, you end up with what amounts to a portable operating system, or at least a portable operating environment.

Again, that’s hardly an original thought but it was brought home to me last week because of WWDC. As most of you know, I live (happily) in the Apple ecosystem and like it for reasons that I’ve discussed before. But after reading about all of Apple’s neat new features coming to the Mac and iOS (and now ipadOS) apps, I realized that I didn’t really care. Not because I thought they were uninspired or boring—quite the opposite—but because nice as they were I wouldn’t be using them since most of the new functionality exists in some form in Emacs.

Consider the Reminders app. It exists across Macs, iPhones, and iPads and is already quite nice. Apple is making significant improvements to it in the new releases of the OSs this summer but the thing is, I do all those chores with Org mode and if I need some special capability, it’s easy to just add it so I won’t be using Reminders’ neat new features. The same thing applies to many of the other changes: They’re nice but Emacs has me covered and it has me covered regardless of what machine I happen to be working on. As a wise man said, “I don’t care what OS I use because…

Now if we only had Emacs for iOS and ipadOS.

Posted in General | Tagged | Leave a comment

Unicode Escape Sequences in Emacs Strings

Xah Lee recently tweeted out a reference to one of his old pages on Emacs Lisp. This one considers specifying Unicode escape sequences in Emacs strings. It’s a handy guide and well worth giving a look. Doubtless, you could find the same information in the documentation but Lee’s page is a useful guide, especially since most of us won’t need the facility very often.

The TL;DR is that if you want specify a Unicode character in an Emacs string, you can either insert it directly like this: “Here is the Unicode character 😁 in a string.” Or you can specify it as an escape sequence like this: “Here is the Unicode character \U0001f601 character in a string.”

The rules are pretty simple. If the code point for the Unicode character has 4 or less hexadecimal digits, you specify it as \uxxxx where each x is a hexadecimal digit and you must add leading zeroes if necessary. If the code point has 5 or 6 hexadecimal digits, you specify it as \U00xxxxxx where, again, the each x is a hexadecimal digit and you must add leading zeroes.

Take a look at Lee’s post for more details and further examples.

Posted in General | Tagged | Leave a comment

Why Emacs

Saurabh Kukade is planning a series on configuring Emacs. His introductory post discusses why he thinks Emacs is so cool. Most bloggers who write about Emacs end up posting something like that, of course, but I always enjoy reading why others find the Emacs experience a good fit for them.

Kukade starts off by observing that Emacs was first released in 1976 so it’s 43 years old. Even if you limit yourself to GNU Emacs, it’s been around 34 years. Some folks describe that disparagingly as meaning that Emacs is old and used only by gray beards. It’s not true, of course, that only gray beards use Emacs but I think the characterization is wrong in a more fundamental way: Emacs has undergone 43 years of steady improvement and refinement making it a finely honed tool that outperforms its competitors.

The next thing Kukade calls out is Emacs’ use of Lisp. That has two big advantages. First, it means that any user who bothers to learn Elisp can get at the core editing routines and change them on-the-fly to suit themselves. This is partly what I mean when I say that Emacs is a sort of light-weight Lisp Machine. Secondly, Kukade says, Lisp is the ideal language for implementing text editing. Its primitives make handling text much easier than in most other languages.

The use of Lisp is, in large part, what makes Emacs so configurable. Not only can users modify the built-in functions, they can write their own functions to do special tasks. In Emacs, this has lead to the incredibly rich package system with hundreds of user-written packages that either improve on a core functionality or provide a completely new one.

Finally, of course, there is Org mode. As Kukade points out, many people have learned and adopted Emacs just to get access to Org mode. Many of those people later say, “I came for Org-mode but stayed for the incredible editing experience.”

Emacs is a big and complex system and all of us have taken the time and trouble to learn it for our own reasons. I always enjoy hearing why other people put in that effort.

Posted in General | Tagged | Leave a comment

The Unpickable Lock

It used to be, and probably still is, a rite of passage for young hackers to learn how to pick locks. I believe this started at MIT where the idea of locked /anything/—software, doors, …—was an anathema, and challenge, to the hackers there who could not let such things stand. This resulted in the infamous MIT Guide to Lock Picking.

You may think that it requires a lot of skill and practice but actually picking a modern pin tumbler lock is pretty easy. Is there such a thing as an unpickable lock? Almost certainly not but in the 1800s in Britain, two inventors, Joseph Bramah and Jeremiah Chubb each claimed to have invented an unpickable lock. These weren’t idle boasts. Bramah offered a substantial prize for anyone who could pick his lock and that prize went unclaimed for 67 years. Chubb’s lock was adopted by the British Government after substantial vetting. Both locks were defeated in 1851 by an American locksmith and inventor, Alfred C. Hobbs.

The story of these two locks is amusingly told by Arran Loomas in the video Could You Pick The Unpickable Lock? He tells the story of the locks, how they operated, and how Hobbs was finally able to pick them. For a brief span of almost 70 years, unpickable locks did exist. The video is 14 minutes, 27 seconds long.

If you like this sort of thing and are wondering what a modern day “unpickable” lock might look like, consider the Browley lock. The LockPickingLawyer has an excellent video that shows how it works and why it’s so hard to pick. That video is 17 and a quarter minutes long.

Posted in General | Tagged | Leave a comment