Is Org the Borg?

I laughed when I saw this tweet:

but then I realized that it pretty much described me. First I started doing all my writing in Emacs (and later, of course, as much of everything else as I could) and then all that writing started being Org files.

It occurred to me that Org is like the Borg: it absorbs everything that gets near it. So laugh all you want but you will be assimilated.

Posted in General | Tagged , | Leave a comment

The Default Emacs Key Bindings

Despite being a Vi/Vim user for over two decades when I switched to using Emacs, I learned the default key bindings and never looked back. It was a choice that worked well for me and I’ve never regretted it. That’s why I’m always puzzled by the frequent and loud complaints about those key bindings. One user even asked the Emacs subreddit why people use the default bindings.

Some people prefer the Vim bindings because they’re easier on the hands. Others, like Xah Lee, have completely different bindings for efficiency reasons. I understand and accept all that but I don’t understand why people think the default binding are ridiculous and make no sense.

Over at the Emacs subreddit, c17g makes the case that the defaults make perfect sense and follow an easy to understand scheme. His post strikes me as well reasoned and convincing. Others will, I’m sure, disagree but if your complaint is that the bindings are too long and hard to understand, then c17g has a cogent counter argument.

Of course, if your complaint is that the bindings aggravate your RSI then your problem is chording and one of the Vi emulation packages is certainly a better bet. If you’re like Lee and want to minimize your lifetime keystrokes, you should take a look at Fly Keys and see if they work for you.

As usual, Emacs doesn’t force any particular way of doing things on us so we can all have it our way.

Posted in Blogging | Tagged | Leave a comment

SSL Update

SSL appears to be working now. Sorry for all the confusion.

Posted in Blogging, General | Tagged | Leave a comment

Or Maybe Not

Despite yesterday’s post, it appears that SSL is not, in fact, working for Irreal. I’ve been trying to reach my hosting provider’s technical support but without luck.

Sorry for the delay. I’ll let you know when things get resolved. In the meantime, do what you’ve always done to reach Irreal.

Posted in Blogging | Tagged | Leave a comment

Irreal Is Secure

A few of you have written to me complaining that Irreal’s SSL certificate had expired. That was news to me because I had never gotten an SSL certificate and as far as I knew, Irreal didn’t have one. It turned out, though, that there was an expired certificate assigned to Irreal. I’m guessing that my hosting provider just provided a provisional one for all their customers.

Regardless, I stopped being lazy long enough to get a proper certificate installed so you can now access Irreal securely. Or at least have your browser stop nattering at you. Irreal doesn’t sell anything so I’ve never considered getting an SSL certificate a priority but it is nice to know that I’m making life for the nosy parkers just a bit more difficult.

For the time being, you can access Irreal securely or insecurely but I may change that in the future to always use SSL. If that will cause any of you problems, let me know but these days most everyone is using a modern browser that supports SSL and there’s really no reason not to use it.

Posted in Blogging | Tagged | Leave a comment

The GCHQ’s Need for Bulk Hacking has “Evolved”

In what could be considered a corollary to The Iron Law of Data Collection1, the UK’s GCHQ (their version of the American NSA) has informed Parliament that their use of bulk device hacking—originally promised to be used sparingly only in special cases—has “evolved”. What that means is that they’re going to do more of it. Of course they are. Just as with data collection, once something like this starts its use grows. Before long it will be the normal procedure.

If there’s one thing the nosy parkers hate, it’s not being able to stick their noses into everybody’s business. Because they find that intolerable and because the use of encryption is making it harder to do their snooping by intercepting communications, the GCHQ wants to hack into peoples computers and cell phones. They’re there and they may contain information that the authorities want to know about so we better hack them.

Sadly, the UK has already traveled well down the road the Orwell warned about. The police routinely monitor social media to make sure that no one is indulging in Bad Think™ and, really, it wouldn’t be surprising if they’re mining this type of information too. If they aren’t, you can be sure they soon will be.

Just as with data collection, the only way to end this is for the UK citizens to deliver a firm “NO” to the GCHQ.

Footnotes:

1

Whenever the government (or anyone else for that matter) collects data, two things are guaranteed:

  1. No matter the reason given for its collection, it will be used for
    more and more purposes.
  2. It will inevitably be abused.
Posted in General | Tagged | Leave a comment

Experts Use Emacs and Vim

Over at the Triplebyte Blog there’s an interesting post on editors, who uses them, what languages their users code in, and how their users did in their interviews. By now you’ve undoubtedly heard about that last aspect: Emacs and Vim users significantly outperform the users of other editors in their interviews. Emacs users performed over twice as well as its nearest competitor.

After we enjoy a moment of triumphalism, it’s worth asking what those results mean. Triplebyte speculates that it’s because Emacs and Vim have been around a long time and are therefore more apt to be used by experienced engineers. The problem is that users of the new hotness in editors, Visual Studio Code, also performed well in the interviews.

So what is the reason then? No one believes—or, at least, should believe—that using Emacs or Vim somehow makes you a better engineer. As Aaron Hall tweeted:

That’s true, of course, but what I’m pretty sure is going on here is that the same attributes that make for great engineers predispose them to be Emacs or Vim users. I’ve explored this before in my Using Emacs post where I discuss those attributes. Those who are concerned enough about efficiency and creating workflows that are as frictionless as possible tend to choose the best tools possible—not the prettiest ones—and be willing to put in the time to master their them. That’s true of younger engineers as well as more experienced ones. If you think that argument’s facile, consider that just today I saw a tweet saying that the writer was giving up on learning Org-mode because he wasn’t smart enough. Not everyone can or is willing to put in the time to master Emacs.

The Triplebyte post is really interesting and looks at the data in several ways but it’s probably a mistake to read too much into the results. So enjoy a moment or two of feeling superior and then get back to work.

Posted in General | Tagged | Leave a comment

Literate Programming with Org-mode

Niklas Carlsson has posted a rerecording of a talk he gave at work about the power of Org-mode for literate programming and exploratory programming in general. Although he is running Emacs with the Doom package, you should have no trouble following the talk regardless of how you like to run Emacs.

Carlsson began with a brief introduction to Emacs and Org-mode but quickly moved to introducing code blocks and showing how you can intersperse text and code and then execute the code having the results be automatically included in the Org file. One of the things I liked was that he showed several ways of including the results of one block in another using sessions or tangling.

Another nice feature he demonstrated was embedding Elisp on the #+BEGIN_SRC line to calculate some of the parameters. He made use of that facility when he discussed building and running an application in a Docker image.

Next, he talked about Org tables and using Emacs Calc functions with them. Again, he showed how to chain data from one table to another making it easy to build up more complex tables from intermediate versions or to include one set of results into a new table for further analysis.

He showed how to export the results to a PDF but did this by manually calling the export routines rather than using the Org export menu. This was the only weakness in his talk. He ended up writing an Elisp function that exported to PDF and opened the resulting PDF file. That’s unnecessary because Org will do that for you from the export menu.

Finally, he demonstrated how he can export part of an Org file to his blog.

This is a great video and worth watching. It’s and hour and 23 minutes so you’ll definitely need to schedule some time. Carlsson has put all the source material for the talk on GitHub so if you want to study his code more closely than is possible during the talk, you should go there.

NOTE: Karl Voit also has a nice post on the video.

Posted in General | Tagged , | Leave a comment

Query

This is a question for Emacs users on macOS 10.14 (Mojave). Since upgrading to Mojave and recompiling Emacs with the display patches, I’m seeing a delay of about 5 or 6 seconds when I invoke Safari from Emacs. This happens, for example, when I follow a link from Org-mode with Ctrl+c Ctrl+o or from Elfeed when I call the original Web page with a b.

The delay is significantly less if I start Emacs with -q so this probably means that there’s some interaction with one of my Elpa packages. Before I invest a bunch of time trying to figure out which package (if any) is causing the problem, I thought I’d query Irreal readers to see if anyone else is experiencing this and if so have they found a solution.

The problem started when I recompiled Emacs from the 26.1 branch and has continued now that I’m on the 26.1.90 pretest. If you have any wisdom to share, please leave a comment. Comments of the sort, “I’m using Emacs on Mojave and not seeing the problem” are also useful.

Posted in General | Tagged | Leave a comment

The Ignorant, The Stupid, and The Insane

Every Irreal reader knows, I’m sure, about the proposed encryption—anti-encryption is more accurate—law that the Australian Government is trying to push through Parliament. When it was first proposed, I thought that it was another case of politicians being ignorant of the realities of encryption and security engineering and that adult leadership would soon exert itself. As the debate raged on and the government refused to listen to what the experts were telling them, I came to believe that they were more than ignorant, that they were stupid.

What other conclusion can you draw after every expert in the world told them their plan would be a disaster and harm, not help, their national security? It turns out that there is another conclusion: they’re insane. That’s a pretty strong statement but take a look at this article in 10 Daily entitled If Encryption Laws Go Through, Australia May Lose Apple. The point isn’t Apple could withdraw from the market—although I’m sure it would anger many Australian citizens—it’s that Australia would become isolated from the technical world. No one would buy their products, their engineers would emigrate to lands with saner laws that didn’t allow them to be jailed for merely doing their jobs and their tech industry could be destroyed.

That sounds hyperbolic, I know, but read the article. It’s hard to reach any other conclusion. It’s also hard to conclude that the folks pushing this bill are anything but insane. It appears that the effort to ram this bill through on the last day of Parliament’s current session failed so the legislation is dead until next year. That doesn’t make those pushing the bill any less insane.

Hat tip to Kontra who asks if Australia will commit to a digital lobotomy.

UPDATE [2018-12-06 Thu 13:11]: Apparently I was wrong about the bill failing. According to this ABC report, Labor withdrew its ammendments and the bill passed. Now the Australian Government can enjoy the reaping of what they’ve sown.

Posted in General | Tagged | Leave a comment