The irrelevance of Microsoft

Via Ben Evans:

Windows 95 was the moment of victory, but was also the peak: it came just at the moment that the Internet started taking off, and Microsoft was never a relevant force on the internet despite investing tens of billions of dollars.

Great piece by Benedict Evans on the gradual, continuing decline of Microsoft.

Why Millennials are Ditching Cars and Redefining Ownership

I wish ditching a car in Los Angeles were a workable option for me personally but, at the moment, I have an sixteen mile round trip, daily commute that isn’t workable with public transit.

Via NPR:

“While they do still want to own a car — not as much as they want to own a smartphone, by the way, that’s the physical possession they’re most attached to — they are thinking about, ‘Do I need a car or not?’ in a way that I think five years ago or 10 years ago we wouldn’t have seen to the same extent.” — Jill Hennessy

The insurance cost is absurd and maintenance is a bit much as well, especially given the state of the city’s streets. It’s understandable, to say the least, why people my age are ditching cars in favor of more cost-effective public options.

Publishing to Kirby using Drafts workflows

I have recently begun publishing content to my Kirby powered site using workflows from the endlessly-customizable Drafts. The workflows I use send text formatted for my site’s notes / blog template to Textastic. I then place the resulting text file in a folder named for the URL I want to assign to the post and push the folder to the appropriate content directory on my site.

My notes template uses four different text file names to differentiate between published content types and I have created a Drafts workflow for each name.

Text post workflow:

'textastic://x-callback-url/new?name=note.text.txt&text=Title:%20[[title]]%0D----%0DDate:%20[[date|%m.%d.%Y]]%0D----%0DText:%20[[body]]'

So, for example, if the following were placed in to a draft …

Lorem ipsum dolor sit amet

Consectetur adipiscing elit. Suspendisse imperdiet ullamcorper accumsan. Duis et rhoncus odio. Vestibulum rhoncus nisl diam, non malesuada odio condimentum in. Morbi ut nisi nec erat viverra blandit at dapibus nibh.

… the workflow above would create a text file in Textastic named note.text.txt that contains:

Title: Lorem ipsum dolor sit amet
----
Date: 08.20.2013
----
Text: Consectetur adipiscing elit. Suspendisse imperdiet ullamcorper accumsan. Duis et rhoncus odio. Vestibulum rhoncus nisl diam, non malesuada odio condimentum in. Morbi ut nisi nec erat viverra blandit at dapibus nibh.

Link post workflow:

This would output the following …

Lorem ipsum dolor sit amet

Consectetur adipiscing elit. Suspendisse imperdiet ullamcorper accumsan. Duis et rhoncus odio. Vestibulum rhoncus nisl diam, non malesuada odio condimentum in. Morbi ut nisi nec erat viverra blandit at dapibus bibh.

… as:

Title: Lorem ipsum dolor sit amet
----
Date: 08.20.2013
----
Link: http://google.com
----
Text: Consectetur adipiscing elit. Suspendisse imperdiet ullamcorper accumsan. Duis et rhoncus odio. Vestibulum rhoncus nisl diam, non malesuada odio condimentum in. Morbi ut nisi nec erat viverra blandit at dapibus nibh.

It’s worth noting that this particular workflow is a bit messy inasmuch as I’ve included an arbitrary number of Drafts line tags to account for any additional paragraphs of text after the first. Using the [[body]] tag in this instance would result in the “Link: http://google.com” line being included with the text.

The final two post types / work flows I use are identical to the first aside from the name of the file they supply to Textastic. They are as follows:

Image post workflow:

'textastic://x-callback-url/new?name=note.image.txt&text=Title:%20[[title]]%0D----%0DWhen:%20[[date|%m.%d.%Y]]%0D----%0DText:%20[[body]]'

Gallery post workflow:

textastic://x-callback-url/new?name=note.gallery.txt&text=Title:%20[[title]]%0D----%0DWhen:%20[[date|%m.%d.%Y]]%0D----%0DText:%20[[body]]

Using these actions to publish content from Drafts to your Kirby-based site should be as simple as changing the file name sent to Textastic in each workflow. If you run in to any problems or have any suggestions for improving these workflows feel free to let me know.

Many thanks to Alex Duner and Nate Boateng for the Statamic Drafts workflow they provided to get me pointed in the right direction on this.

Grapes of Wrath »

“There is a fifteenfold difference in the price of cabernet sauvignon grapes that are grown in Napa Valley and cabernet sauvignon grapes grown in Fresno” in California’s hot Central Valley, says Kim Cahill, a scientist researching climate change’s effect on viticulture who has also done consulting for the wine industry. “Cab grapes grown in Napa sold [in 2006] for $4,100 a ton. In Fresno, the price was $260 a ton. The difference in average temperature between Napa and Fresno was five degrees Fahrenheit.”

Interesting read on climate change, wine and agriculture via Mother Jones.