So, I love identifying bugs1 for people online. It’s like solving tiny little mysteries. But often it’s hard for people to get a photo of the bug to begin with, because it’s just so small or fast-moving and all they have is a phone. This post isn’t about getting into phone macro photography; this is a quick guide for taking a basic photo that’s good enough for ID. Continue reading How To Take Good Up-Close Phone Photos of Bugs
Author: nevillepark
I Can Put My Leg Back On You Can’t: How Spiders Regrow Limbs
The reference, for those of you lucky enough not to recognize it.
Recently I found a tiny four-legged running crab spider (family Philodromidae) in Trinity-Bellwoods and brought it home to keep temporarily until it grew its legs back. It was so small that I could keep it in a 45 mL plastic cup with a tiny chip of bark. I fed it sugar syrup on the end of a Q-tip, and then (as it was too small and terrified for the flightless fruit flies I raise for Sabella, my pet black widow) I made it a (disgusting) fruit fly-and-syrup mush to drink. It soon molted and grew back three legs, and was then big enough to catch fruit flies. I think it grew back the last leg its next molt, but perhaps dropped it again when it nearly escaped one night as I tried to feed it—a sign, to me, that it was time to release it. I made sure it ate again, then set it free at the spot in the park that I found it. It immediately caught a small green plant bug and raced off, lightning-fast and good as new.
I chronicled the whole thing on Mastodon, and received many replies from people who had no idea spiders could regrow legs! So here is a proper post about the phenomenon. Continue reading I Can Put My Leg Back On You Can’t: How Spiders Regrow Limbs
Recent arachnid lifers & rarities
It recently occurred to me that I first got into spiders around 2013 or 2014, which means that, unbelievably, I have been spidering for ten years. I mostly go to the same sites and recognize most of the spiders and mites I see, so I have gotten more interested in observing their behaviour rather than trying to identify them. But every now and then I do come across some that are totally new to me, or ones that I only see rarely. Here’s some of the “lifers” and rarities I’ve come across this year so far, with links to the corresponding iNaturalist observations.
Fun With the Command Line
Lately I’ve been trying to learn more about Bash and command-line tools like curl
and jq
. It’s just fiddling around, but it’s fun and surprisingly addictive.
A few recent mini-projects:
You can’t spell “Toronto City Council” without “TTY”
2mmis is a command-line interface for TMMIS, the Toronto City Council Meeting Management Information System. They revamped the site earlier this year; the front end still isn’t terribly impressive, but on the back end, they’ve implemented an (apparently undocumented) API that serves data in JSON format.
At first I thought about using it to generate simple static web pages with meeting and agenda data, but it was less complicated to make something completely terminal-based. It can show you monthly schedules, committee information, meeting agendas, and more. It’s just curl
, jq
, and a lot of printf
statements, basically.
Party like it’s 1199
Recently, with the clocks “falling back”, there was a lot of the usual Discourse on fedi (as I’m sure there was on other social media) about Daylight Savings Time and what would be better, and I felt compelled to remind people of how they did it in medieval Europe (among other premodern societies): the night and day were each divided into twelve hours, no matter how long they were. This meant that in more northerly latitudes, during the winter nighttime hours would be longer than daytime hours, and vice versa during summer.
It’s obviously completely unfeasible in this age of time zones and rapid travel, but just for kicks, temporal-hours.sh calculates the hour according to this system based on your geographic location. It uses jq
and the SunriseSunset.io API to find sunrise and sunset times for your location, then just calculates the length of the night and day and divides each by 12. You can turn it into a little clock running in your terminal by calling it with watch
, and be on medieval time all the time.
“Hacking” Metazooa
Metazooa is a fun Wordle-style guessing game where you try to narrow down the mystery animal based on its phylogenetic relationship to the species you guessed. My only gripe is that the set list of species you can choose from is very biased towards mammals and vertebrates in general. Like, there’s three species of Equus alone (horses, zebras, and donkeys), but only four species of arachnids!
I tried looking at the various scripts to see how it worked, but they’re all heavily obfuscated. However, a list of all the common names you can guess, plus the scientific name of the mystery animal, is right there in the web page’s source code when you load a new game! So I put together this script which uses curl
, grep
and sort
to load thousands of Metazooa practice games, grab each mystery animal’s name, and delete the dupes to produce a list of all the possible species. Then I plugged it into NCBI’s Common Tree generator to produce the complete phylogenetic tree. The repo also includes the complete list of common names and the scientific names they correspond to.
I’m just a beginner at this, so the code is not that good. If you see room for improvement or want to offer some helpful hints, leave a comment—or make a pull request or issue on Codeberg!
Olivia Chow’s First 100 Days
The conclusion of my series at The Local following the crucial first months of Olivia Chow’s mayoralty! What has she gotten done? What’s still on the to-do list? Read the full thing.
P. S. Thanks to WordPress’s integration with ActivityPub, this post will also appear at the account @nevillepark@nevillepark.ca
, and if you reply to it with your fediverse account (Mastodon, etc.), it will show up as a comment! Neat, eh?
A New Approach to Homelessness on the TTC?
Last week I took a field trip to Scarborough Civic Centre for new chair Jamaal Myers’ first TTC board meeting! As winter approaches, the TTC proposes a new approach to homeless people on the TTC, but it sounds an awful lot like just pushing people out of sight. Read on for details.
A Return to Pre-Budget Consultations
In my latest for The Local, I interview budget chief Shelley Carroll about what the 2024 budget will be like. Spoiler: the David Miller years are back, baby.
Olivia Chow’s Financial Plan Takes Form
Last week, Olivia Chow’s brand-new Executive Committee unanimously recommended new revenue tools to stave off financial catastrophe. But can she get it past City Council—and what happens if she doesn’t? Read my latest for The Local.
A Leftward Tilt for the City’s Committees
Last week, Mayor Olivia Chow revamped City Council committees with her own slate of progressives, dramatically shifting the balance of power. Plus, the by-election churn continues in the wake of Scarborough councillor Gary Crawford’s resignation. Read my latest column at The Local. (And check out the nice interactive data visualization they made for me, too!)
What Can Olivia Chow Do About Climate Change?
My latest column for The Local is out! I discuss how climate change is pushing Toronto weather to extremes, Council’s patchy track record on going low-carbon, and the large and small things Olivia Chow can do to change that. Plus, the literal train wreck in Scarborough and two special upcoming meetings at City Hall.