Outlook + http.Client

First day back at work since the new baby, so it will be interesting to see how this log changes when I am not just doing hobby projects.

Outlook

Unfortunately, it wouldn't be a true work day if it didn't involve digging out from under a pile of emails. In the spirit of efficiency I looked up some hotkeys and lo and behold (courtesy of lifewire, you can move a message to a folder with:

Ctrl-Shift-V

It's a bit of an awkward cord, and you still have to hit enter to select the folder the message is moved to, but really allows a pretty quick triage.

Another brief search just now shows that perhaps I can also look into a custom toolbar (lifehacker), or adding a shortcut to an “archive” button (superuser). Fortunately relative to previous jobs I actually don't have to deal with too much email.

Go HTTP Client

In unrelated news while I was working with the Beeminder API I came across this stackoverflow which informed me as a helpful hint:

You should not be using the default *http.Client structure in production […] (Which is what http.Get/etc call to). The reason is that the default client has no timeout set; if the remote server is unresponsive, you're going to have a bad day.

Good to know!

Also apparently HTTP Clients are thread safe. Another good thing to know.

hotkeys  go