The Biggest Problem with Org-mode

Here’s a pithy, yet accurate, take on the primary downside to Org-mode:

Posted in General | Tagged , | Leave a comment

An Advantage of Emacs Centrism

The technical side of the Internet is all atwitter about macOS suddenly refusing to launch non-Apple apps. The more excitable elements even suggested some dark plot on Apple’s part:

The truth, of course, was far more mundane. Apparently the rush on the part of Mac users to upgrade to Bug Sur, the Mac’s new OS, overwhelmed Apple’s IT infrastructure causing large delays in verifying the trustworthiness of third party apps:

As suggested in Johnson’s Tweet, the solution is to simply prevent your system from trying to connect to http://ocsp.apple.com until things settle down. The easiest way to do that is to blackhole it in your hosts file. You can find examples of doing that in Johnson’s thread.

I was surprised when I read this because I wasn’t having any problems at all. Then I realized that I very seldom use any third party apps (other than Emacs, of course). Since my Emacs runs virtually all the time, I didn’t have the need to launch it. The TL;DR is that since essentially all my work is done in Emacs and Safari I didn’t realize there was a problem. Yet another reason to put as much as you can into Emacs.

Posted in General | Tagged , | Leave a comment

Lean and the Mathematical Library of the Future

Over at Quanta magazine, Kevin Hartnett has an interesting article about using computers in the service of Mathematics. That’s nothing new, of course, but this isn’t about numerical methods or LaTeX, it’s about using computers to help develop mathematical proofs.

Even that notion isn’t new. There is, for instance, Coq, which has been doing the same sort of thing since 1989. What is new is that Mathematicians are trying to capture within another theorem prover, Lean, all known mathematics, or at least all of undergraduate mathematics. That’s a huge undertaking and they’re still only about half done. The hope is that with that knowledge, Lean will know enough to start help proving theorems.

According to the latest Mathlib Statistics, there are currently 19,305 definitions and 41,552 theorems in the system. You can, yourself, play with the system if you like. There are instructions for installing it on all of the usual operating systems or even for running it in a browser, although that will be much slower than a regular installation.

If, like many of us, you come from a Mathematical background, you’ll probably find the article interesting and may want to try the system out.

Posted in General | Tagged | Leave a comment

Weather Alert

Just a quick note that Hurricane Eta is in the area of the Irreal bunker and may interfere with posting. The current path calls for Eta to come ashore a bit north of Tampa as a tropical storm so we’re not expecting any real problems. Nevertheless, we will definitely see tropical storm winds and may lose power so don’t be surprised if I miss a post or two.

Posted in Blogging | Leave a comment

Adtech and Bad Data

If you aren’t in Marketing, it’s really easy to hate Adtech. It turns out that even if you are in Marketing, you should still hate it. The fact is, the numbers that Adtech produces are pretty much worthless. Although that’s sometimes mentioned in articles lamenting Adtech, it doesn’t get emphasized enough.

Jacques Corby-Tuech has a splendid rant on how marketers are addicted to bad data. Adtech is, he says, built on fraud and bad data. Corby-Tuech lists some of the reasons for that belief but, more importantly, he gives links supporting them. Of course, most Irreal readers don’t need convincing about all this but if you’re in marketing, his post might convince you to ask yourself what exactly you’re paying for.

Posted in General | Tagged | Leave a comment

Mu/Mu4e on Linux

It’s no surprise to anyone at this point that I really like the Mu/Mu4e mail client. It runs in Emacs, has excellent search capabilities, and is fast and easy to use. I run it on top of macOS and get my mail from my Apple and Irreal accounts but it’s really an Emacs app and should run on any system that can arrange to download email from an email server.

Emad Elsaid decided that he was tired of depending on the Gmail Web interface so he decided to handle his mail locally with Mu. He’s a Linux user (Archlinux) so his setup may interest other Linux users who want to move to Mu.

It’s sad, for the reasons described in my The Trial post, that Elsaid hasn’t abandoned Gmail altogether, just their Web interface. On the other hand, using Mu means that he has a local copy of his mail so even if Google accuses him of bad think™ and freezes his accounts, he still has all his mail and email addresses and will only have to deal with letting his correspondents know his new email address. My point, here, is not (just) to relitigate the lessons of The Trial post but to offer yet another reason for moving to Mu or other local mail client option.

If you’re a Linux user with a Gmail account and would like to switch to Mu, Elsaid’s post gives a nice configuration for doing so. He uses offlineimap to retrieve his mail from Google. It’s a bit easier to configure than the faster mbsync and is used by lots of folks so it’s a reasonable choice, especially for an individual account. All-in-all, it’s a useful post to get you started. If your experience is like mine, you won’t be sorry.

Posted in General | Tagged | Leave a comment

Dijkstra

Most Irreal readers probably know the name Dijkstra, if only from his famous letter to the ACM entitled “Go To Statement Considered Harmful” and his celebrated shortest path algorithm. In fact, Edsger Wybe Dijkstra was a giant in the field of Computer Science, A Turing Award winner, and a significant contributor to both the engineering and theoretical sides of Computer Science.

Krzysztof Apt has a long and interesting biographical article about Dijkstra in Inference. Although he was an astoundingly successful academic, Dijkstra didn’t do much formal publishing. Rather, he preferred to publish much of his work in private reports that he numbered consecutively and prefixed with his initials. There were 1,318 such reports totaling over 7,700 pages. He’d typically send photocopied copies of each report to about 20 colleagues chosen depending on the report’s subject matter.

Dijkstra was interested in formal methods and in particular about writing correct programs. He thought programming should be approached like Mathematics and that every program should come with a formal proof of correctness. He was, according to Apt, a friendly and personable man but his rigidly held views could be off-putting and were often interpreted as arrogance.

Apt’s article has many interesting vignettes from Dijkstra’s life including the fact that when he married he listed his profession as Programmer on the marriage license. The Dutch authorities rejected that on the grounds that there was no such profession. Most surprising of all, perhaps, is that the famous “considered harmful” phrase did not originate with him but was from Niklaus Wirth, an editor of the ACM at the time the letter was published. Dijkstra’s original title was “A Case against the GO TO Statement.”

If you have any interested at all in the history of our field—and, really, you should—you’ll want to read Apt’s article. It full of interesting facts you didn’t know.

Posted in General | Tagged | Leave a comment

Unix As Literature

Someone has reposted Thomas Scoville’s article from 1998 on Unix as Literature. The article’s premise is that Unix (and these days, Linux) users are different from the users of other systems. That seems like a low calorie assertion but it’s his claim of how they differ that’s interesting. Unix users, he says, are over-represented by polyglots, people with liberal arts backgrounds, and generally those of an intellectual bent.

For years, Scoville wondered why that was and then he realized that one of the complaints from non-Unix people was that there is too much typing involved in using Unix. Windows people, as one example, don’t do that. They point and click and use menus to get things done. Unix people are more inclined to build pipelines out of obscurely named, tiny applications.

His conclusion is that Unix users are different because they are text oriented, like to read and write and are generally comfortable with wordsmithing. One might say, although he doesn’t, that Unix is the operating system for the literate.

Not even Scoville takes the premise all that seriously but I think it is true that Unix folks like—or at least don’t mind—using the command line, learning a largish collection of utilities, and putting them together in novel ways. It’s also true that others much prefer to have their workflows predefined and callable with a click. No typing required. It’s at least arguable that the first group is more likely to have literate interests. But read the article and decide for yourself.

Posted in General | Tagged , | Leave a comment

Ball Point Pens

What could you buy for the price of a ball point pen? No much. Not a newspaper, not a cup of coffee, and certainly not a hamburger. You can get one of the ubiquitous Bic pens for a little over 11 cents if you buy a box of 60. It wasn’t always like that, of course. When they were first introduced, ball point pens sold for the equivalent \$100–\$120 in today’s dollars.

The BBC has a fascinating history of the ball point pen that discusses the early days of the ball point and how it changed writing. If you’ve ever used a fountain pen, you understand why the ball point was so revolutionary. Fountain pens leaked ink, easily smudged, had to be refilled often, and regularly left drops of ink over whatever you were writing. All of those problems went away with ball point pens.

Marcel Bich’s genius was not inventing the ball point but in mass producing it at low cost. Between 1950 and 2006, Bic sold over 100 billion of their iconic Cristal ball points.

The article says that ball point pens changed writing forever. It’s ironic, then, that another article, this time from the Atlantic in 2015, claims that the ball point pen killed cursive writing. As regular readers know, I’d consider that another benefit of ball points. The TL;DR of that article is that whereas fountain pens encourage and make easy the forming of connected letters, ball points make that harder. I’m not sure I completely buy the premise but you can read it for yourself and see what you think.

Posted in General | Tagged | Leave a comment

File and Directory Local Variables

David Wilson over at the System Crafters Youtube channel has a useful video that discusses file and directory local variables. File local variables are Emacs variables that are specific to a particular file. A common use is to set the major mode of a file. You can do the same thing on a directory-wide basis with directory local variables.

Local variables are very useful but I’ve always had a hard time remembering the exact syntax. I almost always use the property line at the head of the file for file local variables and Wilson shows how to edit those by hand but the nice thing is that you don’t have to remember the syntax. You can use the command add-file-local-variable-prop-line to add a local variable to the property line and it will even add the property line itself if it doesn’t already exist. If you use the alternate syntax that puts the variables at the end of file, you can use the Emacs command add-file-local-variable to add a variable. There are also commands to delete variables although you can, of course, simply edit them out by hand. Local variables do not take effect immediately after being set. You have to reload the file or run the command normal-mode. I didn’t know about normal-mode so that alone made the video worthwhile for me.

Wilson shows a very nice example of using local variables to arrange for a file’s Org-mode Babel source blocks to be evaluated each time the file is saved. This applies to the single file only so it’s very convenient.

If you’d like to apply a set of variables to a group of files—a project, say—you can use directory local variables that will take effect for each file in the directory. The syntax for directory local variables is even more complex so you will almost certainly want to use add-dir-local-variable to add them and delete-dir-local-variable to remove them.

Wilson’s video also covers some of the finer details of using local variables and is definitely worth watching. The video is 37 and a half minutes long so plan accordingly.

Posted in General | Tagged | Leave a comment