Interesting post in comic form about the Autism Spectrum.
LIFE Magazine Aug 27, 1956
Lots of people on-line claim that global warming is a recent invention of scientists who just want to keep getting government grants. I stumbled across this article The Weather IS Changing in Life Magazine. Lots of anecdotes about warmer weather. Several hypotheses were explored, including carbon dioxide buildup, so clearly it isn’t a recent invention.
Here’s some more anecdata. Usually these don’t bloom until February but they’ve been blooming for the last couple of weeks.
Xcode Error: Finder information, or similar detritus not allowed
I haven’t updated my apps lately and I thought I’d see how much work it would be to update to Xcode 8. Well, there is a lot of deprecated code in my apps, since I am still compatible with iOS 5.1.1. I fixed the easy ones but there are still 48 issues left. However, the apps won’t compile now because of this error:
Finder information, or similar detritus not allowed
The error message indicated that the file in question is:
/Users/username/Library/Developer/Xcode/DerivedData/Words-boikejhzvtrlltffksnstzlbjcpf/Build/Products/Debug-iphonesimulator/AppName.app
But that is a package, so the problem must be in a file somewhere in there.
Fortunately, this is an error that others have encountered and there is a solution.
First cd to the above named directory and run the following code to find all of the files in the director that have extended attributes.
ls -al@ *
When I ran it I had a bunch of files that have an @ at the end file permissions section. In my case they are all images—in fact all of them are app icon or launch images. My other images are fine.
-rw-r--r--@ 1 username staff 153369 Jan 12 2013 AppName LaunchImage-Landscape~ipad.png
com.flyingmeat.Acorn.lastScale 8
com.flyingmeat.Acorn.selectedLayerId 36
-rw-r--r--@ 1 username staff 11122 Mar 9 2013 AppName AppIcon72x72@2x~ipad.png
com.apple.FinderInfo 32
com.apple.quarantine 60
-rw-r--r--@ 1 username staff 3958 Sep 4 2013 ShowMe AppIcon40x40@2x.png
com.apple.metadata:kMDItemWhereFroms 169
The files for this project are all in the Words directory so I recursively removed the attributes from all of the files. Thanks to cwd at StackOverflow for the info on how to do it. I have tens of thousands of files, so it took a while.
xattr -rc /Words
The Sense of Style
I somehow made it through four years of High School English, Freshman Composition, Shakespeare, and Comparative Literature without being exposed to traditional grammatical terms. I can usually identify nouns, verbs, and adjectives but would have trouble identifying adverbial phrases, case markers, and the various kinds of verb tenses. I suspect, as Steven Pinker says, that I “pick up the nuances of words by focusing on their makeup and their contexts over the course of tens of thousands of hours of reading.” Over the years I have read many style guides, particularly those written by actual writers—like Stephen King and Lawrence Block. I also kept the Chicago Manual of Style handy on my bookshelf, although lately I tend to use on-line resources like the Purdue OWL. So when The Sense of Style came out, I immediately put it on my to-read list.
I love the Oxford comma, singular they, and have no problem starting a sentence with a conjunction. Likewise, ending a sentence with a preposition and splitting infinitives seems perfectly natural to me. It turns out that Pinker agrees with me that these elements of my style are perfectly fine. But he goes further than just validating my stylistic choices and explains why they are perfectly reasonable. He also provides a framework for understanding why some sentences work and some do not. Most of the book is easy to follow if you have an interest in writing well, but he does use grammatical terms—generative, nominative, supplement, adjunct—that I was not familiar with and needed to look up. He explains many of the terms in the text and provides a glossary of terms for others, but he does presuppose a level of grammatical knowledge that the casual reader does not necessarily possess. I still have trouble remembering some of the terms and need to refresh my memory when encountering them later in the book. That’s why, now that I’ve read the book, I am revisiting and carefully studying parts of it. I’m sure that the effort will improve my writing, but require a bit of work on my part to fully incorporate.
The grammatical concept that seems most useful for writing understandable prose is the tree metaphor. The tree metaphor is useful for understanding complicated sentence structures and is especially useful for matching verb tenses with the subject. Since most of my writing is expository, it was interesting to learn that I write in the classic style. And for the most part I follow left-to-right ordering which means that readers can process the sentence without having to jump back and forth in the sentence to decipher the point.
A large part of the book deals with linguistic theory and about a third of the book, Chapter 6: Telling Right From Wrong, deals with specific rules of grammar, word choice, and punctuation. So even if you are not interested in learning why good writing is good, you can use the book as a reference.
As I said earlier, I just started studying parts of the book. I’ll update this post with my thoughts on specific ideas in the book as I run across them. But for now I will comment on one thing that was a bit off-putting on the first read. I am a long-time user of singular they. In my experience, readers don’t even notice that I am doing it. Even the authors of my manuals, who object strenuously to it, don’t notice that I have changed their pronouns to they. And that’s the biggest reason that I use it. Alternatives like he/she, he or she, and ze interrupt the flow of the sentence and distract from the concepts that you are trying to get across. Which is why it is puzzling to me that Pinker, who supports the use of singular they, switches back and forth between he and she. In each chapter the generic writer is of one sex and the generic reader is of the other. Then in the next chapter it is the reverse. If you are familiar with the linguistics literature it may seem natural but it was confusing to me.
Apache not creating log files.
My Apache log files are not set up to be rotated—not sure why my Ubuntu install didn’t do that. But there are dozens of them and rather than clearing them out individually, I decided to delete all of them. After I deleted them, Apache didn’t recreate them. It turns out that Apache creates them when it is restarted so a restart of Apache recreated the files. I like to edit them with BBEdit, so I needed to also change permissions and the group.
sudo chmod -R u+rwX,go+rwX,o-w .
sudo chgrp adm *