Fairy Tale Debrief

So much for a first attempt at a fairy tale. Here’s a first cut at a debrief. As one of my loyal readers was quick to point out, I left several mysteries unexplained. I never explained the significance of the flowers or the bag. I never explained the growling creature with glowing eyes. There was no payoff, no pun, no moral, no explanations.

What do I, as a writer take away from this exercise? One tip that I’ve been given on several occasions that was driven home in this case was that you should write your story backwards. That is to say, you should figure out how it ends and then write the beginning to support the conclusion. That helps to avoid all the loose ends.

I think the story has potential if I rewrote it with that in mind. Another lesson learned: it’s very difficult to write a story from start to finish in five hundred word increments with a daily deadline. I may get the hang of serial fiction on a deadline eventually but I don’t intend to try it again until I get some less ambitious projects under my belt.

The reason I have tried it so many times is that I have a schedule crunch. There are only so many hours in a day and I still work a full time day job. Writing takes time. Time is a precious commodity. I am going to keep trying different ideas to find time to write. Eventually, I will retire and have more time to spend writing. I am hoping to get in enough practice between now and then that I can actually find a market for my writing.

Whether I sell my work or just continue to develop my skills as a story teller, it is a win – win situation. Developing new skills has been demonstrated to help keep the brain young. Besides that benefit, writing is one of only a few ways that I have ever managed to sustain flow. Flow is addictive.

If you don’t know what flow is you can read my post, Let it Flow, from last week or the Wikipedia post about it. You can also watch Mihály Csíkszentmihályi‘s TED talk on the topic. I also wrote a post about How I Find Flow.

I hope you experience flow. I hope you find your bliss. Remember, happiness is a choice, not a consequence of wealth or possessions. Life is a journey not a destination. Pay attention to the scenery along the way.

Sweet dreams, don’t forget to tell the ones you love that you love them, and most important of all, be kind.

Python For The Win

Today I remembered what I love about programming. It’s that feeling that you get when you know what you want to accomplish. You have an idea of how to start realizing your vision. You are comfortable with your tools, that is the language and the editor that you are using to write your opus. With these elements in place you are set to experience flow. Flow is a state of mind, studied and characterized by Mihály Csíkszentmihályi, where the task at hand is difficult enough to be engaging but not so difficult that you get stuck trying to accomplish it. As you finish one task, the next one becomes apparent to you. It is an exhilarating feeling.

What happened today is that I found a Python package called openpyxl that allows you to read and write Excel files from Python. This was the solution that I was looking for to my problem with analyzing large data sets stored in an Excel spreadsheet. I had been struggling to do it with VBA (Visual Basic for Applications) but I found it to be difficult to use. I found plenty written on it but nothing that spoke to my problem domain. If anything, there were too many mediocre books targeted at spreadsheet power users that were novice programmers. I am the opposite, a casual spreadsheet user that is an expert programmer.

I figured out after I thought about it for a while that experienced programmers just weren’t going to put up with a language as shabby as VBA. Not only was it a bad language but it had no standard definition and was proprietary to Microsoft. Consequently, it was subject to Microsoft’s favorite ploy of making radical changes to the behavior of the language from one version of the product to the next. It made no sense to me to invest any significant amount of effort into crafting a solution only to have to entirely redo it at the next release of Excel.

To summarize, I made more progress today than I would have in a week with VBA. And as a bonus benefit, my code is readable to the large and ever growing cadre of Python programmers. It was a brilliant idea and I’m still floating on air over having figured it out.

Basic was a good first cut at a first language but we have learned a lot about how computer languages should work since it was first released in 1964. Bill Gates and Paul Allen started Microsoft with Microsoft Basic in 1975 and it was a clever implementation that made the limited resources of the early personal computers more approachable by total computer novices. In the intervening 42 years, we have developed a number of languages that fill the niche that Basic originally targeted much better.

Python has become very popular for both casual scripting and implementation of large projects. It has the inertia associated with a large user community and a responsive team of implementors. There is a clear definition of the language and a carefully controlled process governing the evolution of the language. I can develop in it with confidence that my work won’t be rendered obsolete by the next release of the language.

Sweet dreams, don’t forget to tell the ones you love that you love them, and most important of all, be kind.