CNN top news stories October 25, 2008
Posted by CK in Funny.Tags: CNN, The Onion
add a comment
Recently, there have been many times that some of the the top stories in the CNN international edition sound like stories from the Onion News Network. Right now, the last two top stories are:
The other day I was thinking about this again and there were like 5 top stories that I would swear are a joke.
Nothing spectacular about this comment, I just found it funny how news considered by a major news network as “top stories around the world” can sound like complete satire.
New item in “Things” from Mail.app October 18, 2008
Posted by CK in Productivity, Software.Tags: F-key, iGTD, New TODO from email, Things
2 comments
I have blogged in the past about the absolutely lovely Things application. If you’re not familiar with it, Things is a TODO list manager on steroids, largely following the GTD paradigm. Before Things, I was a happy iGTD user — unfortunately, iGTD development has stalled recently, there were some problems with Greek text in Leopard and the interface was just not as nice as that of Things, so I decided to switch.
One of the greatest functionalities in iGTD, unparalleled by any other similar software, was the “F-key” trick. Using a predefined F-key, it was possible (for an extensive set of applications) to insert new TODO entries in iGTD, linking to the selected text or entry of that application. For example, reading a web page in Safari and hitting the predefined F-key (default was F6) would create a new TODO item with a link to the URL at hand. In my other favourite application, Journler, selecting an entry and hitting the F-key would create a new iGTD entry linking to the Journler’s entry URI (e.g. journler://X, where X was the entry number). In emails, it would import the mail text as a note for the TODO entry. You get the idea.
Things, lovely as it is, it does not include this amazing and extremely useful functionality. It has a Services menu item to create new entry with selected text as a note or title, working in any application. But if your selection is not text, but an email entry for example, it doesn’t work. How to solve this?
Luckily, I came across two applescripts available online, one to copy the message:// URI of an email (working in Leopard only, AFAIK) and another one to simulate clicking on the “Services” menu item to create new TODOs. Based on these two, and with minimal extensions, it was possible to have a script that creates new TODO entries in Things using Mail.app entries, linking to the respective email each time. The idea is that it starts Stickies, pastes the URI into a new note, selects the texts, creates new entry and then kills Stickies. If you *are* using Stickies (which I normally don’t) you will need to modify the text so that it doesn’t quite the application, but only closes the new note — this should be easy.
I am totally illiterate when it comes to Applescript, so this may look funny or incompetent; feel free to modify and I’d love to link to your scripts if you make them available online.
On a last note, if you know how to make WordPress respect indentation in code, please let me know. Thanks.
tell application "Mail"
set _sel to get selection
set _links to {}
repeat with _msg in _sel
set _messageURL to "message://%3c" & _msg's message id & "%3e"
set end of _links to _messageURL
end repeat
set AppleScript's text item delimiters to return
set the clipboard to (_links as string)
end tell
tell application "System Events"
tell application "Stickies" to activate
tell process "Stickies"
keystroke "n" using command down
keystroke "v" using command down
keystroke "a" using command down
tell menu bar 1
tell menu bar item "Stickies"
tell menu "Stickies"
tell menu item "Services"
tell menu "Services"
tell menu item "Things"
tell menu "Things"
click menu item "New To-do Containing Selection as Note"
end tell
end tell
end tell
end tell
end tell
end tell
end tell
keystroke "x" using command down
keystroke "w" using command down
end tell
tell application "Stickies" to quit
end tell
Eat food. Not too much. Mostly plants. October 4, 2008
Posted by CK in Miscellaneous.Tags: Diet, Food, Michael Pollan, Reading
add a comment
The title of this post is not my idea; It comes from Michael Pollan’s (latest?) book, “In defense of food: An eater’s manifesto“. I was lucky enough to stumble upon the book as I was looking for a recipe book the other day.
Anyways. The book was an eye opener. Basically it goes over the western dietary patterns of the last century, connects decisions and trends with marketing, governance and business, and shows that our view of food is fundamentally wrong. Our “reductionist” view of it, looking at its ingredients one at a time, overlooking the way they work together but also the social dimension of eating, has lead to worse food and health situations. He shows that certain theories that the nutritionists have been following dogmatically, might not hold to their entirety (or at all, for that matter). The lipid hypothesis is the most obvious case of those, but more examples are mentioned in the book. Additionally, he explains why processed food (typically, the only kind of “food” that you can find nowadays at the super market shelves) is neither healthy, not good from a nutritional point of view. Then, Mr. Pollan goes on to make a point for fruits and vegetables. In my 34 years, I have heard countless times by family and doctors alike, that I must eat much more fruits and vegetables. Michael Pollan was the first who managed to convince me.
When reading things like this, I need to see references all the time, for each and every statement. Call it professional twist if you wish, but there are not many other ways I can be convinced. The author is making a good and fruitful (no pun intended) effort to document everything he says, using many, many bibliographic references to scholarly literature. Although I have no doubts that in the process he probably missed work that may point to the other direction, I will opt for selecting the view that he proposes. It is reasonable and stands on solid enough ground.
Strongly recommended reading. I am now looking forward to reading his previous book, which is also a best-seller, but even more popular: “The omnivore’s dilemma“.
Economist Predicts Widespread Hunger & Cold Homes October 3, 2008
Posted by CK in Miscellaneous.Tags: Economic crisis, Peter Schiff, Recession
add a comment
I picked this one up from Digg. CSInvestor is featuring a series of videos of Peter Schiff, an investor who has foreseen the economic crisis a couple of years back and wrote a book about it. Schiff heavily objects the US government intervention, saying it makes things worse than they are. Instead, he supports leaving free market and the recession itself to regulate things and drive a change in the way the US economy works. Economy is not my field so I can’t argue whether he’s right or wrong, nevertheless these are highly interesting remarks. Additionally, he says that things can only get worse, and foresees social unrest.
As always, time will tell.