Skip to main content

Pretty Good Hat

Tuning up my Backups

Some instability with my web host the past week or so prompted me to think about the state of the backups of my online spaces. I spent some time today getting backup scripts working on the host, and found that, based on the file dates, the last time I worked on this was about a year ago. Yay, me. After troubleshooting them for a little while I now have some functional backup scripts to tar up my web directories and my databases. Then I set about burning most of the morning getting my Synology to grab the backup from the host.1

Because I’ll forget and no doubt have to do this again, I took a few notes:

With passwordless login to the Synology, and from the Synology to my host and backup server working, finally, I could test executing my backup scripts from the shell on the Synology. Lo and behold, it works! In the “Scheduled Tasks” section of the Synology control panel, I set up these scripts to execute the remote backup and periodically download the resulting files:

Runs twice weekly:

/usr/bin/ssh kaizen 'cd ~/backup-scripts; ./backup-mysql-databases; ./backup-files'

Runs weekly:

/usr/syno/bin/rsync -av --progress strongspace:arlington-backup/ /volume1/Archive/backup/kaizengarden

Why not run these daily? Because these sites don’t actually change all that much. Downloading the full backup weekly is plenty, if not outright overkill, since the most frequently-changed part of the site is all markdown files stored in dropbox and synced when I re-publish. Why not schedule the backup to run via cron on my host? Because this works, and I was already in the Synology shell experimenting, so it was easy to not have to log in to the web server. (And last time I worked on the backup scripts at the host, I remember some kind of problem with running them via cron; some kind path or environment thing interacting with tar, I think. So this got around that, too.)

I did the same for my stuff over at tilde.club, too. This didn’t require any backup script, since I just have a single directory there; I just rsync the whole relatively small thing into a backup folder on the synology here.


  1. It’s not actually directly from the host. My scripts pack up the tar archives and rsync them to my backup location at Strongspace↩︎

Pizzicletta

Pizzicletta is a Flagstaff gem, serving up some of the best pizza you’ll find anywhere.

And homemade gelato, like this basil and chocolate/sea salt duo.

I don’t get there often enough, but made it in last night to finish off a fine, warm spring day.

This Week's Reads from my Instapaper Queue

Starships, swords, and the faded grandeur of science fantasy

An annotated bibliograpy of sorts, of the role fantasy plays in science fiction. My recollection of ThunderCats, however, doesn’t quite match the author’s:

Surprisingly enough, one of the most successful and fully realized science fantasy properties of the late ’80s wound up being the ThunderCats cartoon. With supple, vibrant animation, a diverse cast of characters, and a mythos that wasn’t wholly prefabricated, ThunderCats came on strong, reveling in all the possibilities of both technology and magic — even though it served as the last whimper of the silver age of science fantasy.

Not surprisingly, Star Wars is the banner-carrier and ultimate downfall of outright science fantasy.

A different cluetrain

Charlie Stross asserts “some axioms about politics”:

13 - Security services are obeying the iron law of bureaucracy (4) when they metastasize, citing terrorism (6) as a justification for their expansion.

14 - The expansion of the security state is seen as desirable by the government not because of the terrorist threat (which is largely manufactured) but because of (11): the legitimacy of government (9) is becoming increasingly hard to assert in the context of (2), (12) is broadly unpopular with the electorate, but (3) means that the interests of the public (labour) are ignored by states increasingly dominated by capital (because of (1)) unless there’s a threat of civil disorder. So states are tooling up for large-scale civil unrest.

And

Some folks (especially Americans) seem to think that their AR-15s are a guarantor that they can resist tyranny. But guns are an 18th century response to 18th century threats to democracy. Capital doesn’t need to point a gun at you to remove your democratic rights: it just needs more cameras, more cops, and a legal system that is fair and just and bankrupts you if you are ever charged with public disorder and don’t plead guilty.

Silicon Valley Could Learn a Lot From Skater Culture. Just Not How to Be a Meritocracy

Kathy Sierra responding to the latest cultural model hyped as the savior of silicon valley:

The last time skateboarding was a healthy model, the Macintosh did not exist. Skateboarding was my life. And in 1983 skate culture drove a stake through my heart.

Skateboarding can teach Silicon Valley what not to do, like a message from the future warning, “Here’s what happens when a domain in which women once thrived decides women aren’t worthy.” Yes, it’s complicated and yes, the sport became more extreme, but there’s a world of difference between a sport that says, There aren’t many women and one that adds … we made sure.

In the ’80s, skate culture devolved from a vibrant, reasonably gender-balanced community into an aggressively narrow demographic of teen boys. If you think tech has sexism issues, skate culture makes tech feel like one big Oprah show.

ISAAC ASIMOV: A lifetime of learning

An illustration of a quote from Isaac Asimov about continuing to learn and create throughout one’s life. I read the Foundation books and everything else I could find by Asimov when I was younger, and recently picked up Foundation again. It’s no exaggeration that those stories about science and science fiction hugely shaped my interests and life story.

Nuts

Dr. Drang’s response to the report that feeding peanuts to infants may reduce likelihood of developing peanut allergy captures my own mix of interest, encouragement and caution. My son has a number of serious food allergies, including peanut, and it’s not easy to manage. We would certainly wish to have been able to prevent these allergies from developing, and I watch research about potential desensitization very carefully. What people living with life-threatening food allergies need are good strategies and high levels of awareness among the public, and less misunderstanding of the severity of allergies. Dr. Drang writes:

In fact, I don’t believe the reported study turns conventional wisdom on its head at all. Most of the people I’ve met who don’t have a child with peanut allergies were already certain that the problem was, if not entirely in the heads of a group of Munchausen-by-proxy parents, then certainly due to kids being raised in environments that are too clean, too safe, and too antiseptic. For these people, it’s obvious that exposure to peanuts will toughen up a kid’s immune system, and it’s about time doctors recognize that.

A critical part of the study is the screening criteria that included only infants already at a high risk because of existing egg allergy or exczema, and that 76 screened infants were excluded because they already had strong skin test reactions. So this study tells us something, but not the whole story, about one path through which this particular allergy may develop. Unfortunately, just as Dr. Drang predicted, there are already responses like the following (from a self-identified physician) on the NEJM study:

As each of my five children has progressed through school we have seen tighter and tighter policing of what you are allowed to include in your own child’s lunch box. The research of the LEAP study team is wonderful as it may mean, as I have long suspected, that all of this molly coddling of our children’s diet has not only not made things better but has in fact made things which worse.

Not helpful.

Wintertime, Briefly

This winter in Flagstaff, a summary of some activities and events that come to mind:

  1. Yay, nice snow! Let’s get a season ski rental for the preschooler and we’ll be ski people!
  2. More snow over New Year, too bad, I have bronchitis.
  3. Day off: solo ski day, beautiful and fun.
  4. Six+ weeks of warm, dry weather make it feel like spring (meanwhile the east coast is getting utterly clobbered)
  5. Work, work, work – seriously, I’m getting a lot done around here. Feels good.
  6. Look, there’s hardly any winter going on in this place, so let’s go biking.
  7. Biking is great! My old bike is old, so I got a new one. It’s a thing of beauty, but …
  8. I have to travel back east for work, then come home and get a cold.
  9. Winter is back. New bike waits in the garage.
  10. Sigh. Go for coffee because wife is home from her own work travel and it’s the first day off from work and/or child care in two weeks.
  11. Life is all right, gang. All right.

Huffduffer and Workflow.is

Update March 17, 2025: minor improvement thanks to Workflow’s recrntly-added action to resolve a shortened URL, allowing the workflow to better find mp3s behind URL shortened.

Workflow is a hot iOS app. (Obligatory Viticci link!) I love what people are doing with it. While I have some tinkery workflows that I experiment with, my favorite daily-use workflow is one I made for Huffduffer, Jeremy Keith’s wonderful podcast collector service.

(What’s Huffduffer? Briefly, it’s a way to grab one-off episodes of podcasts that you’re not subscribed to, watch others’ podcast feeds, and find interesting things related to what you’re listening to. It’s really fantastic, and you should go try it.)

Huffduffer provides a bookmarklet that works very well when you’re already in your browser, but most of the podcasts I want to add to my Huffduffer feed come to my attention via Twitter (currently, Twitterific). There isn’t a full-featured API that could replace this bookmarklet, so I used Workflow to do something sipmle but so valuable to me:

  1. Grab a URL as input
  2. Send URL to the HFDF bookmarklet
  3. Pop the output into Safari (where I’m already authenticated to HFDF)
  4. This comes back as a browser window where the bookmarklet has done its work to identify episode download URL and metadata
  5. I hit go and complete the addition of the episode to my HFDF feed.

The thing that sets this capability into the “whoa” category for me, is that the whole workflow is set up to work as an action extension, so all I have to do to invoke it is long-press a podcast URL in Twitterific to bring up the share menu, then tap “run workflow” and pick HFDF. It’s not quite as clean as it could be if there were a full API and app (in the style of Pinboard and Pushpin), but it feels far native than opening the link in Safari and then locating and running the bookmarklet. It’s one of my favorite things.

Another of my favorite uses (that I forgot to note when I published this the first time) is from within Overcast (and other podcast apps that enable the share extensions), where long-pressing on an episode link in show notes of one podcast can bring up the run workflow share action and then the Huffudffer bookmarklet for that link. It’s really slick, and a super-quick way to grab other shows that are mentioned within one show (assuming the creators post good show notes, of course). The same goes for sharing the now-playing episode to Huffduffer, which adds it to your feed for your HFDF followers to pick up.

You can download and try out my HFDF workflow for yourself. Enjoy!

How I learned to stop screwing around with a task manager and get work done

Since the beginning of the year, work has been busy, very busy, and I find myself in something of a how-do-I-work transformation. I am getting stuff done, and I do mean happily cranking away. And I’m doing it all by scribbling on an array of sticky notes and a couple of pages in a notebook. No “system,” no “toolset,” no “workflow,” just a pencil. It doesn’t even sync!

I know, right? Like a barbarian. A productive-as-heck barbarian. In the office I had a long-running org-mode scheme that was falling into disrepair, and yet it’s hard to leave a system behind. The couple of weeks of being mostly away from work over the Christmas holiday gave me the mind-space I needed to just … walk away from the list of tasks and projects I was not-usefully maintaining and which was not helping me feel effective or organized in my work.

I’ve thought plenty before about this kind of retooling, but almost exclusively in the context of tooling upadding sophistication, building workflow:

This matters because I get a lot of reward from using tools that are interesting, effective, and sophisticated. Doing one’s work is about more than the end deliverable, right? The process matters, too, and if I like doing the work then the product is better for it (not to mention I’ll do it again).

I suppose that all the same thinking still applies: The process still matters; right now that process is just very, very simple. Unlike the recent past, it’s not in my way in the slightest, which makes me quite happy.

But let’s differentiate the productivity-tools-urge from the tinkering-with-stuff urge: While at work I have reverted largely to the bronze age, I remain cheerfully hackerful at home, and spent a couple of happy hours yesterday experimenting with MailMate keybindings (yes, knowing I will be inevitably disappointed when I return to work and lose all of that capability). I expect this back and forth will continue, as I fit tools to current needs and ways of thinking.

Not too long ago, Seth Clifford wrote about a similar productivity revision:

This is about my brain, understanding how it works, and more importantly, coming to grips with the fact that my brain will work differently depending on a variety of ever-shifting factors in my life. I’ve written before about giving up and settling on a trusted system, but the more I think about it, the more I realize that my trusted system is me, and I need to allow myself the flexibility to use the right tool at the right time.

Perhaps this doesn’t mark a long-term shift in how I work, but it’s an interesting and good place to be, at the moment. For now, as long as I have a pencil sharpener and a pile of sticky notes, I’m good to go.

Good Analysts are Doing it By Hand

John Foreman on surviving data science hype:

You know what can keep up with a rapidly changing business?

Solid summary analysis of data. Especially when conducted by an analyst who’s paying attention, can identify what’s happening in the business, and can communicate their analysis in that chaotic context.

Yep. We need infrastructure and cool tools to help us get the data we need, when we need it, but just as important is defining what that need is and having a deep understanding of what our information tells us. Without that, at best, we have lots of pretty pictures of trend lines, but no plan.