Category Archives: Tips & Best Practices

Apple’s iOS/iPadOS/WatchOS Medical ID

PSA: You should absolutely setup or update your iOS Medical ID information and select your emergency contacts right this very minute.

This feature, found in the Health app on your iPhone or iPad, makes your medical information—medications, allergies, organ donor status— available to first responders and allows calls to your emergency contacts even when your device is locked.

This could save your life. For instructions on how to setup this feature, see support.apple.com/en-us/HT207021

Spreadsheets are Just OK for Data, Bad for Data Analyses

There are plentiful examples of spreadsheet applications leading analysts astray. Believe all the scary stories. Spreadsheets can silently damage your data, converting numbers to dates or dropping leading zeros from what should be fixed-length identifier (where did the U.S. Zip Code 01002 go?).

The U.K. Lost 16,000 COVID Cases Because It Doesn’t Understand Microsoft Excel

The Reinhart-Rogoff error or how not to Excel at economics

For a set of best practices when working with data in spreadsheets, take to heart the advice offered by Data Organization in Spreadsheets. Please!

Learn to Love Writing

You will be asked to write. Think about your writing process carefully and be open to new ideas about how to approach it.

Writing is, at a minimum, a two-step process: you write, you edit. Writing and editing are distinct steps. Don’t try to edit your writing as you write your first draft; you’ll trip over your own creativity. Get your ideas down, then edit. Then get more ideas down and edit them.

Ideally, you would repeat the writing-editing process several dozen times to further refine your prose. After you’ve written and edited your work, you’ll need to share your draft with others, who will edit it and rewrite portions of it. Set your ego aside. Focus on improving the writing and, through that experience, your default writing style.

This takes time.

Continue reading Learn to Love Writing

My RStudio Configuration

I help a few of dozen users install RStudio and learn R regularly. Whenever I need to install RStudio on a new machine, I have to think a bit about the configuration options I’ve tweaked. Invariably, I miss a checkbox that leaves me with slightly different RStudio behavior on each system. This post includes screenshots of my currently preferred standard RStudio configuration and custom keyboard shortcuts for RStudio 1.3, MacOS.

If you need an exact copy of your settings, consider the discussion at https://stackoverflow.com/questions/55903423/export-import-rstudio-user-preferences-global-setting-etc/55940249 (h/t: liebrr)

Continue reading My RStudio Configuration

Stay Secure

Security is a tricky affair: it’s difficult to establish, to maintain, and to verify. Take all the steps you can to keep your data and devices secure.

  • Backup, keeping a copy in your home and somewhere outside your home that you consider safe and are likely to be able to access in an emergency.
  • Secure, so that only you and those you trust can get access to your information and accounts.
  • Plan for routine recovery, such as when you’re away from your computer, but need to gain access to your information and accounts.
  • Plan for extreme recovery, such as when you are disabled and unable to communicate, or when you pass away.

Continue reading Stay Secure

Thinking about data-driven visualizations

When you’re creating a visualization based on data, it often seems as if the possibilities are endless. Realistically, however, your best option is to think carefully about each of the variables with which you’re working—typically represented as the columns in a spreadsheet—and the limited number of aesthetic dimensions of your visualization—for each data point: the x position, the y position, possibly the z position, color, transparency, shape, and size.

Your goal is to map each aesthetic to one variable. If you’re using an aesthetic dimension in your graphic that isn’t tied to your variables, then why do you have that dimension? After all, it’s not communicating any information.

Leland Wilkinson’s seminal book, A Grammar of Graphics.

Hadley Wickham’s classic: A Layered Grammar of Graphics.

and a discussion that applies Hadley’s ideas.

What Software Developers Get Wrong About Enterprise Users

For the past few years, I’ve been working in an enterprise computing environment that has both striking similarities and dissimilarities from the open source freelance and the academic institutional environments. I’ve been frustrated a number of times by products that either haven’t thought about their enterprise users or, perhaps, don’t care.

So, how is the enterprise different? Continue reading What Software Developers Get Wrong About Enterprise Users

What Students Say

A note to myself

I believe that I can be a better educator through reflection and active engagement. I believe that I can better serve my students and colleagues by being honest with them. I believe that reflection, engagement, and honesty can help other educators improve their praxis, should they feel so inclined.

It has always been about the students

A note to students

Continue reading What Students Say

Adding a keyboard shortcut for Save to PDF… in OSX

When I’m commenting on electronic documents, I find it useful to be able to quickly generate a PDF of the marked-up version of the document to return to authors for review. I annotate the document using track changes and adding comments (using the INSERT > COMMENT feature… not by adding text to the body of the document!!!), then

Save as PDF…

to keep a copy for myself and to email (or post to a course management system) for the author to review.

Unfortunately, OSX doesn’t have a built-in keyboard shortcut for Save to PDF…, but it’s easy to add one.

[Note: you can’t Save to PDF… from an Adobe Acrobat print dialog box… it would bruise their ego]

httpvh://youtu.be/HDhiGZKbicQ

Digital Voice Recorders

Digital voice recorders can be a handy tool for dictation or recording research interviews. Here are some of the things I consider when looking for a recorder.

Connectivity Make sure the recorder you choose has a USB port or (even better) a built-in plug. Some recorders do not allow you to transfer your recordings to your computer.
File format The default recording file format should be something that is easily playable on your computer’s already installed software, such as Quicktime, iTunes, or Windows Media Player. WAV and MP3 work well, but many recorders use WMA, a windows format that requires additional software on the Mac to playback.
Microphones You generally want dual (or quad) built-in MICs for stereo recording— invaluable in interview sessions. You can play your recordings with headphones and perceive directionality. Not all recorders record in stereo. Also, an external MIC jack, in case you ever want to use an external microphone (a lapel clipped mic or shotgun mic, e.g.)
Placement A tripod mount screw is handy for setting up your recorder for standalone operation.

Two models I’m fond of:

Zoom H2 http://www.amazon.com/Zoom-H2-Portable-Stereo-Recorder/dp/B000VBH2IG
Olympus WS-600s http://www.amazon.com/Olympus-WS-600S-Digital-Recorder-142610/dp/B000NM8DI6

Know Your Libraries and Librarians

One of the first lessons any successful graduate student (and that should read “undergraduate student”) learns is to introduce themselves to the reference librarian who is responsible for their favorite subject areas. They can serve as guides to the existing collection, alert you to new acquisitions, and help you to acquire books that you may be interested in reading.

Know the LOC system, know which sections interest you, and know who is responsible for maintaining those sections at your institutions. You’ll make a librarian’s day when you introduce yourself as being “particularly interested in the QAs” or any other category.

For me, I always visit these sections, at least:

  • K7555 – Copyright
  • LB – Theory and practice of education
  • Q – Cybernetics/Information Theory
  • QA – Computers/Programming Languages
  • TK – Electronics/Computer Engineering

History of the LOC system: http://www.loc.gov/catdir/cpso/lcc.html

The categories: http://www.loc.gov/catdir/cpso/lcco/

Endnote: Create a key binding for linking to a PDF (OS X)

I spend a fair amount of time linking PDF documents to records in Endnote. Unfortunately, Endnote requires you to (a) drag and drop, or (b) navigate into submenus to link to a PDF.

In OS X, you can bind a keystroke to any menu item in a specific application using the System Preferences > Keyboard & Mouse settings. Use this to your advantage! Endnote lacks a keystroke for “Link to PDF…”, so I created one: Command-Option-L

Now, when I highlight a record in my library and press the key combination, an “Attach…” file dialog box opens up and I select the PDF of the article, web site, etc.

Continue reading Endnote: Create a key binding for linking to a PDF (OS X)

Commenting on Student Writing

We often find ourselves commenting on students’ writing and acting as editors rather than critical readers: we indicate line-level edits, such as missing commas and poor word choices– as if fixing the mechanical errors would make the paper acceptable. In reality, most student papers we see are first drafts, often written the night before the assignment is due and unedited by anyone, including the author. (See my post concerning the design of assignments, coming soon.)

Continue reading Commenting on Student Writing