Recent Posts (all)

Mark Apple Music song as favorite in the background

I often listen to Apple Music in the background and sometimes I casually listen to a song I want to add to my favorites.

Instead of jumping around, I created a small AppleScript script (that can be executed through Launchbar or Keyboard Maestro).

I report it here for posterity!

tell application "Music"
	set favorited of current track to true
end tell
Posted on 09 Jan 2024

American universities face a reckoning over academic freedom

American universities face a reckoning over academic freedom

Too often universities reflexively try to mollify students rather than have them grapple with ideas they find unsettling, says Edward Hall, a philosophy professor at Harvard. Administrators see an angry or upset student in their office and instantly try to make them feel better.

A failure of good parenting for those who grew up in the wave of the 60s and 70s?

Posted on 13 Dec 2023

Use the Grammarly language server with helix

Lately, I’ve been playing around with helix, a relatively new modal editor.

One of the things I was missing was an LSP for Grammarly (the only reason I can put the commas where they belong).

After struggling a bit with the configuration, I’ve finally found what works

[[language]]
name = "markdown"
auto-format = false
file-types = [ "markdown", "md", "mdown", "txt" ]
language-servers = [ "grammarly" ]

[language-server.grammarly]
command = "grammarly-languageserver"
args = ["--stdio"]
config = { clientId = "client_BaDkMgx4X19X9UxxYRCXZo"}

Note that:

Posted on 23 Nov 2023

The threat from the illiberal left

By contrast the illiberal left put their own power at the centre of things, because they are sure real progress is possible only after they have first seen to it that racial, sexual and other hierarchies are dismantled.

I’ve missed this article when it came out. What an astute analysis.

Posted on 08 Nov 2023

watchOS 10 weather complication woes

I’ve been bitten by this bug since getting a new Apple Watch.

Unfortunately, I had to revert to resetting all my location and privacy data on my iPhone, meaning I’m now continuously prompted by iOS if I give permission to all my apps for location, camera, bluetooth, and what not.

I wished I had waited, though. watchOS 10.1 fixes this bug.

Posted on 27 Oct 2023

Business Books vs Home Life Books

While reading Scaling People, specifically this passage:

“The conversation then turned to how the person might mitigate these patterns in future meetings, which was the conversation we needed to have so they could thrive at work.”

I thought how—at least in the environment around me—people seem much more focused on improving at their job instead of improving at home—what kind of partner and parent they are.

Why is that? The most obvious answer, to me, is that improving at work has effects you can literally bank on: being promoted and getting a raise.

Improving at home has benefits as well, but they’re mostly long-term and could be seen as boring: you get stable and fulfilling relationship for the long run, things you will cherish the most when you’re old rather than cherish them now. Although they don’t hurt in the present, their absence can be mitigated by other things: it doesn’t go well with your partner, you can get another while you’re young. Your son doesn’t speak to you, you can speak to your colleagues, who share a silent offspring with you.

But when you’re old, you don’t get a new partner that easily. You’ll hardly get someone to speak to if your children park you in a hospice.

How can we put more emphasis into improving our long-term outlook of a fulfilling life?

Posted on 02 Aug 2023

Professional Business Writing by the Economist.

Very happy to share that I’ve passed the Professional Communication: Business Writing and Storytelling course by The Economist, obtaining a final grade of 87%.

What are the 7 key takeaways that fit in a short post?

  1. Think about the briefing: what’s the main message, who’s the audience, what’s the medium
  2. Then think about the key points you want to make to get your message across
  3. Order your key points on a map to form a journey. Is the path from one point to the next logical? Are there logical gaps?
  4. Write the intro — a catchy sentence or two that invites the reader to take the journey — and the executive summary — ideally covering most key points
  5. Then put some evidence or arguments beside each point
  6. At this moment, you should have a solid enough structure and text that you can produce a first draft
  7. Once the draft is ready, polish, polish, polish.
  8. [Bonus] Grammarly is an excellent tool for non-native English speakers. For example, I use commas the Italian way — it just sounds right to me — and apparently, some actual rules dictate how to use them in English.

You can enroll on their site.

Posted on 19 Jan 2023

Discipline is perceived as safety by children

Why super-strict classrooms are in vogue in Britain

Superb article by the Economist on the success of super-strict classrooms in Britain.

The fascinating points:

A young teacher stands at the front and shouts the first word of each line; the pupils respond with the rest.

Posted on 17 Jan 2023

Fish 3.6.0

Amazing new release of fish adding Control - R to open the command history in the pager.

It’s fully searchable and syntax-highlighted!

Get it here.

Posted on 09 Jan 2023

Nietzsche and the Nazis

If you have 2 hours to spare, read Nietzsche and the Nazis by Stephen Hicks.

Fantastic, to-the-point, book about the philosophical ideals of the National Socialists.

To quote just a single passage:

History has taught us that the philosophy and ideals the Nazis stood for were and are false and terribly destructive, but we do not do ourselves any favors by writing the Nazis off as madmen or as an historical oddity that will never happen again. The Nazis stood for philosophical and political principles that appealed to millions—that attracted some of the best minds of their generation—and that still command the minds and hearts of people in all parts of the world.

And that means we must face the National Socialists’ philosophical and political ideals for what they actually are—we must understand them, know where they came from, and what intellectual and emotional power they have. Then and only then are we in a position to defeat them. We will be able to defeat them because we will understand their power and we will have more powerful arguments with which to fight back.

Posted on 04 Jan 2023
2/11