# The more polish Greg applies to the Drafts 5 beta the more I want to reacquaint myself with JavaScript and create interesting actions.
He calls it "the most complex and deep app I’ve ever made" and it's easy to see why.
It's been quite a while since I used JS in anger but was never really that proficient. Spending a lot of time with PHP recently, however, has gotten the juices flowing again and I've picked up a lot that can be transcribed.
Drafts is purely a text app so has obvious limitations compared to some others, but I've seen my usage of Ulysses in particular shrink to virtually nothing. I also only tend to use Workflow when images are involved.
Yesterday, I found myself wondering if I should start moving items out of the Ulysses library and into Dropbox. I suppose I was mentally preparing to cancel my Ulysses subscription. As much as I've raved about it in the past I really think I'm getting to the point where I don't need it.
I know I've written about this a couple of times recently, and it's going to get a bit boring, but I am continually amazed by what's possible.
And we're not even out of beta.
Comments
The meanings of meditation
Daniel Goldsmith writes about trying to reconcile two seemingly incompatible definitions of meditation: the Stoic and Buddhist varieties. He says:
"I’ve been using a meditative approach discussed by Marcus Aurelius and Cicero, making a time in my day, sometimes sitting quietly, sometimes walking or otherwise being active, and, when involuntary thoughts (or propatheiai) arise, evaluating them with a deliberate objective curiousity."
This is at odds with the understanding of "mindfulness" meditation where involuntary thoughts (propatheiai) are acknowledged for what they are but then put aside, maybe for later consideration. A waste in Daniel's view coming from a practice where those thoughts are to be examined.
It's an interesting position and this isn't so much an answer but me thinking things through for myself.
The word meditation itself is broad in meaning, perhaps misleading as a concept when examined in this manner, and trying to compound the two sides on that basis alone is to do yourself an injustice.
The cognitive dissonance Daniel feels is understandable.
Taking the spiritual out of the equation, to meditate on something is to consider it deeply, to mull it over in search of meaning or an explanation. It is, in this context, defined as:
"continuous and profound contemplation or musing on a subject or series of subjects of a deep or abstruse nature"
Meditation is also known as spiritual contemplation in certain circles. Christian meditation, for example, is the process of focusing on specific thoughts in a structured way to better understand the will of God.
This is often accompanied by, or focused on, some kind of documentation 1 and it is probably in this context that Marcus Aurelius' work later gained the name "Meditations" - he never titled his writings as they were merely a collection of personal musings, reminders and admonitions not intended for publication.
Mindfulness meditation may be the fashionable variety but can be placed alongside another practice: meditating on a koan - a statement or question with no apparent meaning or answer, a "logical absurdity." While one may not be able to resolve the specific conundrum the process may lead to other realisations along the way.
A mental workout as opposed to relaxation.
Perhaps the only real difference between Stoic meditation and meditating on a koan is that we enter the latter practice forearmed with the subject of our contemplation whereas, with the former, we gain it as part of the process.
This type of meditation is definitely in contrast to the mindfulness practice, where one aims to quieten the mind and exist in the moment, but they are separate acts with different intents.
Taking the context from my previous post we could argue that mindfulness meditation is distraction from thoughts while Stoic meditation is immersion in them.
I can appreciate that dismissing them might seem wasteful but, just as the Stoic might set aside time to examine their involuntary thoughts, so the mindfulness practitioner will assign a portion of their day to their practice.
By extension, and by implication, not all moments need to be truly mindful and not all thoughts need to be examined.
As I've said before, it's ironic that we hear the subconscious voice most when we seek stillness, but why can't we use it?
Why we can't practice both?
Why can't we choose based on our need or, perhaps, use them in conjunction? Quieten the mind in preparation, and then examine those thoughts that emerge.
I think the only true incompatibility occurs when we try to combine them, seeing them as two approaches to the same practice.
- often a passage from the bible but not necessarily so ↩
Comments
# I made a small update to the Blogroll plugin. Mike Haynes pointed out that something wasn't right - he has 11 items in his blogroll but it was only showing 10.
The plugin doesn't have pagination of entries and I forgot to account for the default "posts per page" setting in WordPress. I've, therefore, added 'posts_per_page' => -1
to the posts array to display all entries.
# And yes, I did revert to using the date as the RSS item title again. I got fed up of feed readers looking ugly.
# I noticed that my ` and § keys had switched places and wasn't sure when it started. I checked keyboard and language settings, even changing everything to US but to no avail.
I was wracking my brain then remembered about installing Karabiner Elements to adjust keyboard mappings. Even though the only key I had modified was caps lock these other keys were reversed when Karabiner was running.
Fortunately, you can perform simple modifications to remap the "grave accent & tilde" and "non US backslash" keys so keyboard normality has been restored.
This pleases me no end as I like having all my keyboard shortcuts for Magnet running off of caps lock mapped to command+control+option+shift.
@colinwalker I assume “JavaScript in anger" was browser related?
@hjertnes How did you guess? ? And it was far longer ago than I care to remember.
@colinwalker Join the club. People I work with give me strange looks when I talk about using PHP to serve different style sheets based on the USER AGENT string.
I think it is useful to not confuse JavaScript the language with the DOM API / Browser API.
@hjertnes you really should be doing feature detection, not browser detection :o)
@cn browser detection was how I did it in 2004
@hjertnes the bad old days when there were multiple DOMs (or perhaps the end days for multiple DOMs, it’s a while ago).
@cn I love the good old days, when you was a genius if you knew how to use the simplest of HTML
@hjertnes html plagiarist since ~1997
@cn I started in 1999, and got serious about it a few years later; probably 2002.
@hjertnes Universities offering a little webspace to students…
@cn ?