devbeatitude.com

Posts tagged "tools":

26 Nov 2018

A Better Email System

My last post promised a writeup of my new email yesterday. Yesterday I finally figured out the last few pieces!

First, I really wanted a local backup of all my email; de-platforming is a thing now, and GMail (my email provider of choice) isn’t shy about terminating accounts of its critics and other undesirables. Not to mention Google reads all my messages and is generally very efficient at productizing its users… When I chose to use GMail, I knew that free services only mean the consumers are the product; advertisers are the real paying users; Google really cares about the advertisers, not about the consumers.

But, it doesn’t make sense to stop using GMail entirely, as long as I have a Google Pixel phone anyway, because everything I said about GMail is doubly so for the phone! Still, given my new setup, I could switch later if I wanted… of course I would have to join the Borg and buy an iPhone.

So anyway, long story short, at least I now have a local backup of all my work mail, my personal mail, and my side project mail, due to OfflineIMAP. OfflineIMAP downloads each message to a Maildir folder.

The next step is to read the messages. Maildir support amongst desktop mail clients is spotty at best. But all clients support IMAP very well. Dovecot to the rescue; Dovecot provides an IMAP interface over a Maildir folder, so email clients are just talking to a regular IMAP server.

Next is the email client. Thunderbird became my go-to tool; an all-in-one interface for mail, calendar, and tasks; and much nicer-looking and less clunky than Evolution. Not to mention, Thunderbird handles typical corporate HTML-formatted messages very well; lack of good HTML message support made the Emacs mail modules unusable for me.

Yesterday I resolved my one gripe about Thunderbird. OfflineIMAP and Dovecot give me a single IMAP namespace for all 3 of my mail accounts. Until yesterday, I thought I needed 3 Thunderbird accounts, even though I have a single IMAP server with all my messages, since I thought Thunderbird only supported one outgoing SMTP server per account. Yesterday I figured out Thunderbird does support multiple identities per account. So now I have everything I want: a single Thunderbird account with messages from all 3 of my mail services; and I can send outgoing messages through the appropriate email server (Outlook 365 for work, Gmail for personal).

Thunderbird supports my calendars too. I had to install some add-ons:

With these addons, Lightning handles my work calendar and my personal calendar. The desktop notifications and reminders are designed perfectly; noticeable without being too intrusive, with just enough information right in the notification, so I don’t have to open the full event.

Now I have a setup that meets all my needs and desires. Local copy of all messages; single unified interface for all my email and calendar services; fast and speedy local access; and a nicely-designed user interface.

Tags: tools
12 Nov 2018

The Emacs Platform

A month ago I wrote down my goals to achieve a deep understanding of my entire work platform, from editor to architecture; something I never did before, since I always only learned enough to get through each day.

It’s nice to have goals. How shall I meet them? Especially since my primary goal is still to get through each day. My boss does like it a lot when I meet my commitments.

So far I’m taking a depth-first approach where I take a deep dive into each plank of my platform. I can’t take this to extremes of course; everything on my to-do list is very extensive and will reward years of research; so someday I’ll have to choose another plank and dive into it.

But so far I’m having a great time with Emacs.

I can take notes (org mode).

I can maintain a blog site, like this one (org mode plus org-static-blog).

I can track my work (org mode time tracking features).

I can manage my money (ledger mode).

I get a high-quality Git interface (magit).

I can write presentations (org mode plus org-reveal).

Not that everything’s perfect. I tried the Emacs shell but gave it up and returned to konsole. Konsole is just a better fit for my needs. And I tried a couple of email clients (Gnus and mu4e). Actually I really liked both of these… but my colleagues didn’t care for it. Emacs mail clients are not able to quote the original HTML message, when replying to HTML messages; they remove all the HTML formatting. Since all Outlook users (which is all of my email correspondents) use HTML messages by default, I wasn’t really playing well with others. Even so, I did end up with a much improved mail system; more about that later.

I’ve gotten the best, most interesting Emacs advice from Mike Zamansky’s Using Emacs Series. I recommend it highly.

Tags: tools platform
28 Oct 2018

A Smaller Kit is Definitely Btter

A while back I wrote about a smaller kit. Almost a month later, the results are in; I definitely like it.

At one time I had a giant desktop cube (probably 2 feet square), two 26“ 4K monitors, a 24-bit USB speaker system (two speakers and a sub-woofer), a mouse, a keyboard, and a Varidesk standing workstation. I was lost anytime I tried to work outside this baroque environment, and sometimes it just felt overwhelming.

Now, with just the laptop, I can work anywhere with the same ergonomics: laptop monitor, laptop keyboard, laptop trackpad. I’m using the keyboard shortcuts a lot more too.

And somehow I think my eyes appreciate it more. Maybe the laptop screen is less bright, or emits less blue light, or is just smaller (so my eyes stay focused on one spot).

I can’t think of too much else to add over my original article. I’ll end it here, with a shout-out to my colleague AJ McClary, who first gave me this idea a year or two ago. Somehow it sunk in, and now I’m much happier.

Tags: tools work-environment
10 Oct 2018

Local Optimals; or, the Pain of Change

Lately I have switched my IDE, first from IDEA to Eclipse, and then from Eclipse to Emacs… Emacs plus Language Server Protocol plus LSP-Java makes for a decent experience.

But Emacs is not without its frustrations. Customizibility goes much further in Emacs than in IDEA or Eclipse. Even in terms of searching for files and command completion, you can choose between Helm, Ivy, Ido and probably others. Each of these has their own configuration! In the end, every Emacs installation is unique, a reflection of the user’s personality.

It sounds great in theory, and I do love Emacs in a new way; I never felt attached to IDEA or Eclipse in the way I do for Emacs. But it can be very frustrating; I have to invest time in learning Emacs. With great power comes great responsiblity!

Also it is still early days for the Language Server Protocol, and I love that lsp-java is driven by one guy. I love that the world of Emacs packages is driven by users; not by a corporation, and not by corporate-driven committees.

Tags: tools
03 Oct 2018

A Smaller Kit is a Better Kit, I think

My household is in disarray while my wife and I move to a new home. At this moment, my 27-inch 4K monitor is at the new location, but my laptop and I are at the old location. My company’s UX designer only ever uses his MacBook Pro: no mouse, no external keyboard, no external monitor, only the actual laptop. And sometimes carrying all my equipment around is a drag… not to mention the mechanical keyboard is pretty loud. I don’t always work at home!

So I’m spending a few days with only my laptop.

Advantages: my laptop is what I always have, and is pretty mobile, even if not exactly lightweight. By always using the laptop keyboard, I never get finger-frustrated by switching between the two different keyboard layouts. And I feel more free somehow; at one time I had one large external monitor, two smaller ones, a keyboard, and a mouse; sometimes I felt overwhelmed. Also I’m getting more productive, by forcing myself to learn the keyboard shortcuts, and better use of the trackpad. Also, it feels like the laptop screen is easier on my eyes; maybe it is less bright.

Problems: well, I sure do miss the extra real estate on the large external monitor. And the mechanical keyboard definitely has a better layout.

Still, with this new laptop-only approach I’m not tied to some certain spot in my house or home office. I can work outside on a nice day, or on the couch, or anywhere. And I have less equipment to drag around with me!

Tags: tools work-environment
Other posts