Oddments of High Unimportance


#

Libra Horoscope for week of February 24, 2011

An interviewer asked me, “What is the most difficult aspect of what you do?” Here’s what I said: “Not repeating myself is the hardest thing. And yet it’s also a lot of fun. There’s nothing more exciting for me than to keep being surprised by what I write. It’s deeply enjoyable to be able to feed people clues they haven’t heard from me before. And when I focus on doing what gives me pleasure, the horoscopes write themselves.” I hope this testimony helps you in your own life right now, Libra. If you’re afraid that you’re in danger of repeating yourself, start playing more. Look for what amuses you, for what scrambles your expectations in entertaining ways. Decide that you’re going to put the emphasis on provoking delight in yourself, not preserving your image.

Don't overthink it (Installment #247)

#

I volunteered to do a tedious job at work -- copy/paste about maybe 200-400 parameters scattered throughout a group of FORTRAN files. The parameters may be in one of maybe 3 different formats. Also, the parameters came with multiline comments (with each commented line starting with !), and sometimes just big wodges of comments on their own that serve as documentation. The goal was to transform these snippets into something our customer could scan using Excel.

I volunteered to do it because it made no sense for a highly paid developer to do such a menial job; also, I kind of like taking on little challenges like this, developing a new technique or learn some new tools, and seeing how quickly I can rip through them. Then it's just a matter of putting on the headphones, pressing a few keys repetitively so the computer does most of the work, and voila.

I realized that my initial solution for this would be overly complicated, as it always is, and that the exploration process as I groped my way toward simpledom would be haphazard, as it always is. I thought "How can I use Applescript to parse the text? Should I just copy the fragments into Word and use Word's formatting functions? Should I use a text editor with some text formatting Services?" (DevonThink makes a killer set of text-formatting services available to Mac users for free; DevonThink not required to use them.)

I spent about 5 hours over the weekend scarfing up text-formatting Applescript code, messing with text editors, messing with Automator, messing with some copied fragments that I was using as my test case, messing with Applescript in Word (which adds its own complications), and seeing possible workflows getting more complicated.

Sometime around Monday evening my brain settled down and I decided on my workflow:

  1. Copy each parameter and comment into a Word file.
  2. Fix the formatting of each snippet to remove the extra lines, excess ! marks, and insert tab marks judiciously to make importing into Excel easier.
  3. Transform the tab-delimited text into a table using Word's Table>Convert>Text to Table command.
  4. Copy and paste the tables into Excel and format accordingly.

The intent of this workflow brings in what I've mentioned before, about batching similar actions together. With this workflow, I could check each line off as done and move fully to the next set of operations. I could do each set of operations more quickly and efficiently than transitioning from 1 to 2 to 3 to 4 within each file.

#2 gave me the headache, of course, and is where I spent the bulk of my think time. I had on blinders as I was sure I could use some sort of Applescript in Word that would reformat everything in one go, without needing multiple passes. And because I thought it could be done, I thought I had to do it that way.

However, I had set myself a time limit for the R&D, and I had passed it. Time to drop that all-in-one solution. As I looked at the line fragments, I noticed that the bulk of the work would be done in the first line of each multi-line fragment. OK, let's start there.

That shift brought me back to the Agile programming maxim of, "Do the simplest thing that could possibly work." This is when I turned back to Keyboard Maestro; it's not as powerful as QuicKeys (or my beloved Macro Express in the Windows world), but it's quick, dependable, and does the job. In this case, I was using it as a robot typing the keyboard, but that keeps it simple.

That's when I cobbled together my workflow for #2:

Hm. Well, that still looks pretty complicated, doesn't it? But it's faster than me burning hours to get my head deep into Applescript territory, with delimiters, variables, if-thens, and so on.

The other advantage of this workflow is that this should cover about 80% of the code I'll have to reformat. I now have a base set of actions that I can clone and customize to handle the exceptions.

Anyway, the lesson as always: don't overthink it. Keep it simple.


#
The New Yorker has suffocated at times beneath a mask of wry gentility. For all its glossy reputation, the magazine still turns up its nose at stories and poems that make too many demands on the reader. It’s a middlebrow journal for people who would like to be highbrows — and perhaps for highbrows who love a little slumming. The cartoons, as Biele notes, provide an antiphonal chorus to the reckless consumerism of the ads. Just as the literature is for those who want to think themselves literary, the ads are for those who want to think themselves rich. (If you were old money, you’d already own Tiffany by the trunkload.) Bishop’s close association with the magazine, almost all her best poems appearing there after 1945, probably contributed to her struggle to be taken seriously. To be a New Yorker poet was sometimes a deal with the devil.
#
I went to a “mindfulness” group at the psychological clinic here. I don’t know much about the topic yet, but it struck me that one definition would be using your own mind to your benefit rather than to your detriment. In other words, don’t outthink yourself. Notice the thoughts and emotions you are having and allow them to pass through you without overstaying their welcome. I’ve always thought the best way of dealing with negative emotions is to pay no attention to them at all and hope they would go away, but I’m open to new approaches.

Writing in the library

#

I had an excellent ~6 hours of solid writing/wrestling with my master's paper one day last week. At this stage, I'm still drafting raw text and am not in the polish stage where I'm honing the thoughts in the sentences and paragraphs, and ensuring my themes and the story I'm telling are all working together, which is what I would call "the writing phase". Right now, I'm at the "vomit text" stage, if I may be forgiven for such a phrase.

Here's how I structured my time and my environment to encourage me to work:

I'm now at the point where i'm trying to generate text for the last part of the paper, the discussion and conclusion, and find myself somewhat lacking for words. I've started with random ideas and sentences i put under those headings as I worked on other sections of the paper and so this has provided me a starting point. But the section still feels anemic.

I think the solution here is, again, to trust the process. As my favorite book on writing says, use the words you have to attract the words you want. So, let the the sections feel thin for now and as I continue sweeping through and reading and re-reading, let any other words or ideas bubble up when they're ready.

I should say, this is also the time when it's helpful to have another pair of eyes look at the text, so I'm trying to get a draft finished for my advisor to review so she can tell me where I've gone too far or not far enough.


Little steps

#

In trying to implement some new behaviors, I'm finally listening to advice and looking at how to piggyback the new behaviors on existing behaviors. The best way to introduce a new habit being to start small and link the new behavior to an existing behavior. These are basically implementation intentions [1], as introduced to me by the Psychology Today blogger on procrastination, Dr. Timothy Pychyl [2] (who also has an extensive site devoted to his procrastination research, an affordable e-book on the topic, and scads of podcasts subscribable through iTunes).

An implementation intention basically says. "I will do behavior x when y happens so that I can achieve z." The objective is to have your environment deliver the cue for the behavior you want to encourage. In addition to supporting your goals, implementation intentions can support something called prospective memory, which I'll blog about someday (after putting it off for nearly a year!).

If a task I need or want to do is a one-off, or requires extra will-power to motivate myself to do it, then that's a task I'm not likely to do. Therefore, I need to plan how to make more routine the things that I that I think will be beneficial to me. So here are some behaviors I'm trying to implement now:

Now, will these intentions work every time? Maybe not. But by thinking about how to work around my natural resistance, I increase the chance that I'll do them more often. And more often is better than not at all.

Links [1] http://www.psychologytoday.com/blog/dont-delay/201001/implementation-intentions-facilitate-action-control [2] http://www.psychologytoday.com/blog/dont-delay

#
This may seem ironic, given that last point, but one of my favorite articles I’ve read this year: 10 Reasons You Should Never Get a Job by Steve Pavlina. A related tweet from Nassim Taleb: ‎”The three most harmful addictions are heroin, carbohydrates, and a monthly salary.”
#
I happened to like Paul Houser’s work in Abigail Norris and Jerry Rothwell’s The Work’s the Thing, and he said some interesting things to say, such as “The notion of artists being special people is a bit misleading. If anything, they’re less than special. It’s almost something you’re missing rather than something extra you’ve got.”
#

Libra Horoscope for week of December 30, 2010

In 2011, I believe you will have the chance to weave your fortunes together with an abundance of allies who are good for you. They will be your equals, they will share at least some of your most important values, and they will respect you for who you are. That’s excellent news, right? My only worry is that you might shy away from the demands that such invigorating collaborations will make on you. It would be less work, after all, to fall back into reliance on more prosaic relationships that don’t ask so much of you. Please don’t take the easy way out, Libra. Rise to the occasion!

#
I think of negative thoughts and emotions, rather, as signals telling you to make adjustments to your attitude, your work habits. In that sense, and that sense alone, they are valuable.