# KSotD (Word): Paste As Text -- Ctrl+Alt+Shift+Space

I do a lot of writing at work.

# Extracting Unique Twitter handles from Custom Jekyll Include Tags

While I work mainly on Windows, I’ve also been using Debian Linux for quite a while, with a first dabbling in the sarge era and then a more prolonged, ongoing experience with the recent wheezy/jessie/stretch sequence (list of all Debian versions). I currently am maintaining a dual quad-core Xeon Dell PowerEdge (purportedly a cast-off from a Facebook server farm, interestingly…) that’s running stretch, which I’m using for development and for running some odds-and-ends quantum chemical calculations. In the course of finalizing my PyCon 2019 recap post, I had reason to use some of the Linux/Unix CLI tooling in a way I hadn’t had to before. I imagine most of this post will not be particularly novel to many, but I was pleased at how quickly I was able to get the info I needed.

# PyCon 2019 Recap

Two years or so ago, I was delighted to learn that PyCon was going to be in Cleveland for both the 2018 and 2019 meetings, putting it only about a 3-hour drive from my house. I’d been hacking on Python stuff for a few years by that point, and was excited to have the chance to rub elbows with some of the people I’d been interacting with online in various ways. In 2018, I got to say hello to the big Python podcasters, Michael Kennedy , Brian Okken , and Tobias Macey , as well as Travis Oliphant , Ernest W. Durbin , Brett Cannon , and numerous other well-known figures in the Python universe. I also had the chance to eat lunch with Guido and others from Dropbox, which was quite fun. All in all, it definitely whetted my appetite to return in 2019.

# KSotD (Word): Toggle Split Screen -- Ctrl+Alt+S

Going back at least the past several versions of Office, Word has implemented a split-screen editing mode, where the top and bottom portions can be scrolled independently to different portions of the open document:

# My How and Why: pyproject.toml & the 'src' Project Structure

UPDATE 2 (16 May 2019): With the release of pip v19.1.1 , editable installs are again allowed in the presence of pyproject.toml. Both the pip install -e . and python setup.py develop approaches should now work. Discussion is ongoing on a more robust, setuptools-independent specification of editable installs.

# KSotD (Word): Select Current Word -- Ctrl+Alt+W

The default Word keyboard shortcuts for cursor movement usually work pretty well for me. I realized today that one thing that’s really been bugging me is the inefficiency of selecting the word under the cursor using only the keyboard. I find that I’m often wanting to select a specific word to then, e.g., toggle its highlight with my Ctrl+Alt+Shift+H custom macro. With the mouse, a simple double-left-click is all that’s needed; with the keyboard, though, unless there’s a shortcut/command I don’t know about, I have to press at least two key combos:

# KSotD (Word): (Un-)Group Objects -- Ctrl+Alt(+Shift)+G

I put a lot of figures, charts, photos, etc. in the various reports and proposals and whatnot that I write for work. Pagecount often isn’t an issue for reports, so there I can add figures inline with text and it really doesn’t matter if there’s a lot of whitespace hovering around. However, the page limit usually is pretty low and extremely strict for proposals. Thus, using floating figures with relatively tight text wrapping is a must.

# Merging Even and Odd Pages from a Scanned Two-Sided Document

At home, for a while we’ve had a Brother DCP-L2540DW multifunction laser printer/scanner/copier, which has worked great for us. Connected effortlessly to the WiFi and to both our Windows laptop and my Debian server. The Windows dashboard is well laid out and well designed. It even has a document feeder for copying and scanning—the big hitch there, though, is that it only supports single-sided scanning; I haven’t found an option in the software to stitch together the even and odd pages. Well, with some recent experience under my belt in reading PDFs with minecart (hmmm, still need to write that follow-up post…), and with a couple of ~20-page double-sided documents in hand that I needed to scan, I decided it was finally time to figure out how to do this.

# Bootstrap Problems in pex Packages

In this post, I laid out an initial attempt at a pex workflow for packaging data analysis code for easy use by others. I still stand by the method in general; however, I ran into some problems with this particular application.