RSS vs. Twitter

Over at Gizmodo, Patrick Howell O’Neill belabors—what seems to me to be—the obvious. He posits that RSS is a much better way to keep up on what’s going on than Twitter. Wen I read that, my immediate reaction was, “Well, Duh!” Twitter, he says, is mostly a toxic tsunami of half-baked hot takes, propaganda, hostility, and outright hate. That characterization is probably more apt for feeds concerned with social issues and politics than those dealing with tech but I think the conclusion holds in both cases: RSS is better.

Although I do check some technical feeds or hashtags on the Twitter website, I use those as pointers to longer more thoughtful posts or articles. I’ve never understood why anyone would think you can say something useful in under 280 characters. I’ve seen more than one blogger quit Twitter and say that it felt like getting off drugs.

On the other hand, I’ve depended on RSS for years to point me to interesting articles that I can write about or otherwise enjoy. These days, I use the outstanding elfeed to do all this from within Emacs.

Lots of folks love Twitter, of course, but at least for my purposes, RSS is a much better solution. A Tweet is a good way to discover that the latest version of Emacs, say, has been released but if you want thoughtful analysis a blog or technical article is a much better bet.

Posted in General | Tagged | Leave a comment

Mu/mu4e 1.2 Available

If you’re a mu/mu4e user, there’s good news. Version 1.2 has been released. It’s mainly a bug release but there are a handful of new features, which you can read about here. I’ve been using it for the last few days without difficulty.

Of course, since I’m running on a Mac, upgrading was a bit complicated. The new version of mu requires an updated Xapian that, in turn, had some updated requirements of its own. Rather than go through the pain of building it by hand, I took the easy way out and installed it with Homebrew. Homebrew installs things in its own special place so the mu build was still finding the old version in /usr/local/bin. I ran a make uninstall on that and then added a link in /usr/local/bin to Homebrew’s copy of xapian-config. I also had the fix the path to bash in the install script but that may be a local artifact on my machine.

Once all that was done, everything worked fine and I’m enjoying my new mail client. If you’d like to read and write your email from inside Emacs, mu/mu4e offers an excellent solution. I’ve been using it for a couple of years and love it.

In the last week, I’ve installed the new mu/mu4e and the new Emacs. Life is good.

Posted in General | Tagged | Leave a comment

Emacs 26.2 Has Been Released

It’s official. Emacs version 26.2 is out and available at the usual places. I compiled and installed it on my Macs without any problems using the usual spell:

configure --with-ns CFLAGS="-g3 -O2 -I /usr/local/include/libxml2"
make
make install
make install-info
sudo mv  nextstep/Emacs.app/ /Applications/

This post is being written with it and so far (after a day) I haven’t seen any problems. If you’re uncomfortable living on the edge and have been waiting for the official release, it’s here. Thanks to John, Eli, Nico, and the others for all their hard work.

Posted in General | Tagged | Leave a comment

The Recentering Sequence

Maybe the Emacs developers knew what they were talking about after all. A couple of years I discovered that you can control the sequence of positions to which recenter-top-bottom will move the current line. As I wrote at the time, abo-abo recommended changing the default sequence from middle \(\to\) top \(\to\) bottom to top \(\to\) middle \(\to\) bottom. As abo abo said, if you believe in gravity that sequence is more logical and is also more convenient. That made perfect sense to me and I changed it in my config.

Lately, I’ve noticed that I almost always end up using Ctrl+l twice because—unless I’m looking at a function definition—I need to see what comes before the target line too. If I am looking at a function definition, Ctrl+Meta+l does just what I want.

Therefore, today I bowed to the developers’ wisdom and changed the recentering order back to the default.

Posted in General | Tagged | Leave a comment

Some Pithy Advice to Engineers About Crypto

Via Karl Voit we have this Tweet from Tim Dierks offering some pithy but good advice to engineers about crypto:

Crypto is notoriously difficult to do correctly; even the experts don’t always get it right. Dierks advice boils down to “Don’t roll your own,” and that’s a good rule.

Posted in General | Tagged | Leave a comment

Git and Plain Text for Writers

Bastien tweets a pointer to an interesting article on using Git for
writing:

Although the article, by Seth Kenlon, is advertised as considering the question “Why (prose) writers should use Git,” I think the more important takeaway is that writers should embrace plain text. Kenlon makes a persuasive case that authors would be better off trashing their word processors and using a combination of a text editor and Markdown.

Kenlon’s text editor of choice is Atom (although he does mention Emacs as an alternative), which is, I think, leaving money on the table. Other than the obvious but subjective judgment that Emacs is a better, more customizable editor, it is virtually universally acknowledged that Magit is the best Git interface—integrated or not—and that Org mode markup is superior to Markdown, especially when its Babel interface is taken into consideration.

Of course, those are the opinions of an Emacs partisan so others may disagree but it’s hard to see how one can argue about Magit or Org mode. In any event, the important point stands: embrace plain text. If you do any writing at all, you should take a look at Kenlon’s article, especially if you’re still using Word or one of its evil offspring.

Posted in General | Tagged , | Leave a comment

Screen Real Estate

A month ago, Mike Zamansky posted that he’d just replaced his two 27 inch monitors with a new 43 inch 4K monitor. I commented that every time I saw a post like his, I had an urge to run out and buy my own huge monitor because I would be sure it would make me a bazillion times more efficient. Sadly, I never do because I like working on my 13 inch laptop on my couch.

I was reminded of all this when I saw a post discussing the productivity gains that could be achieved with more screen real estate: either two monitors or an ultrawide monitor like the one Zamansky got. The post was interesting not so much for the experiment that the author performed—I didn’t find that particularly compelling—but for the two studies that they quoted.

More screen real estate won’t magically make you a bazillion times more productive, of course, but it can give you a significant increase of about 20 to 30 percent depending on the particulars of the monitors. It used to be that large monitors were pretty expensive but these days you can get one very reasonably. The studies quoted in the post suggest that it’s a worthwhile expense. Maybe you can even convince your boss.

If you like this sort of thing, Ali Abdaal has a video on his new(ish) 35 inch curved monitor.

Posted in General | Tagged | Leave a comment

Zamansky 57: Dired Subtree and Narrow

Mike Zamansky’s been busy dealing with admissions for next year’s Freshmen and other professorial duties but he has found time to give us a new video in his Using Emacs Series. This one is about using dired-subtree and dired-narrow, two packages that can simplify working with Dired.

The first package, dired-subtree, allows you to open a subdirectory displayed in a Dired listing inline with a single key. Zamansky has mapped this to Tab, which makes a lot of sense. Another Tab and the subdirectory listing is collapsed again. That can be very handy when you want to peek in a subdirectory but don’t want to open a separate Dired buffer.

The second package—the one that Zamansky finds a game changer—is dired-narrow. The idea is that you can (temporarily) narrow the Dired buffer to just the files you’re interested in. That makes it easier to see what you’re working with—especially with long Dired listings—or to perform a mass operation on just those files.

Both of these packages are part of Fuco1’s dired-hacks collection. I’ve written about dired-hacks before, here and here. If you’re a Dired user—and you should be—take a look at the collection to see if there’s anything that could improve your workflow.

Posted in General | Tagged | Leave a comment

Swiper-isearch

Abo-abo has added a new function to the swiper suite that fixes a couple of problems with swiper. The new function, swiper-isearch, acts more like isearch. The first thing you’ll notice is that multiple matches on a single line are treated as individual candidates as with isearch. You no longer have to use Ctrl+’ to choose the desired entry (although Ctrl+’ still works).

The second change is that an external process is longer called to process large buffers. Follow the “swiper-isearch” link above to see all the details.

Abo-abo likes the new function enough that he is using it for his default search mechanism. I’m being a bit more conservative—since I just updated swiper today—and have bound swiper-isearch to Ctrl+Hyper+s. So far, though, I like it a lot although I’ve only really used it in tests, not in my actual workflow. If, after a little more experience, I still like it, I’ll swap the bindings for swiper and swiper-isearch.

If you’re not already using swiper, you’re missing out. I recommend it without hesitation—it will improve your searching immensely. If you are a swiper user, check out swiper-isearch. The new swiper library is already in Melpa so you need only update your packages to get it.

Posted in General | Tagged | Leave a comment

The Magic of a Write-Enabled Dired

Here’s a great tip from learn emacs on how to change a group of file names:

I’ve been doing this for so long that I almost didn’t bother writing about it because I thought of it as something everyone knows. But perhaps not and that’s too bad because it’s a very useful technique. I use it even to change the name of a single file because the workflow is easy to remember and execute. Here’s an Emacs Rocks! video where Magnar Sveen uses the idea in combination with multiple cursors.

It’s definitely a habit worth cultivating if you’re not already using it. It will save you time and effort when you need to rename a set of files.

Posted in General | Tagged | Leave a comment