1. Here’s a python snippet for analysing an iNaturalist export file and exporting an HTML-formatted list of species which only have observations from a single person (e.g. this list for the CNC Wien 2021)

    # coding: utf-8
    import collections
    import argparse
    import pandas as pd
    Find which species in an iNaturalist export only have observations from a single observer.
    Get an export from here: https://www.inaturalist.org/observations/export with a query such
    as quality_grade=research&identifications=any&rank=species&projects[]=92926 and at least the
    following columns: taxon_id, scientific_name, common_name, user_login
    Download it, extract the CSV, then run this script with the file name as its argument. It will
    output basic stats formatted as HTML.
    The only external module required is pandas.
    Example usage:
    		python uniquely_observed_species.py wien_cnc_2021.csv > wien_cnc_2021_results.html
    If you provide the --project-id (-p) argument, the taxa links in the output list will link to 
    a list of observations of that taxa within that project. Otherwise, they default to linking
    to the taxa page.
    By Barnaby Walters waterpigs.co.uk
    if __name__ == "__main__":
    	parser = argparse.ArgumentParser(description='Given an iNaturalist observation export, find species which were only observed by a single person.')
    	parser.add_argument('-p', '--project-id', dest='project_id', default=None)
    	args = parser.parse_args()
    	uniquely_observed_species = {}
    	df = pd.read_csv(args.export_file)
    	# Create a local species reference from the dataframe.
    	species = df.loc[:, ('taxon_id', 'scientific_name', 'common_name')].drop_duplicates()
    	species = species.set_index(species.loc[:, 'taxon_id'])
    	for tid in species.index:
    		observers = df.query('taxon_id == @tid').loc[:, 'user_login'].drop_duplicates()
    		if observers.shape[0] == 1:
    			observer = observers.squeeze()
    			if observer not in uniquely_observed_species:
    				uniquely_observed_species[observer] = []
    	sorted_observations = sorted(uniquely_observed_species.items(), key=lambda t: len(t[1]), reverse=True)
    	print(f"<p>{sum([len(t) for o, t in sorted_observations])} taxa uniquely observed by {len(sorted_observations)} observers.</p>")
    	for observer, _ in sorted_observations:
    		print(f"@{observer} ", end='')
    	for observer, taxa in sorted_observations:
    		print(f"""\n\n<p><a href="https://www.inaturalist.org/people/{observer}">@{observer}</a> ({len(taxa)} taxa):</p><ul>""")
    		for tid in sorted(taxa, key=lambda t: species.loc[t]['scientific_name']):
    			t = species.loc[tid]
    			if args.project_id:
    				taxa_url = f"https://www.inaturalist.org/observations?taxon_id={tid}&amp;project_id={args.project_id}"
    				taxa_url = f'https://www.inaturalist.org/taxa/{tid}'
    			if not pd.isnull(t['common_name']):
    				print(f"""<li><a href="{taxa_url}"><i>{t['scientific_name']}</i> ({t['common_name']})</a></li>""")
    				print(f"""<li><a href="{taxa_url}"><i>{t['scientific_name']}</i></a></li>""")
  2. Pro tip: get to know the locations of nearby fire hydrants, street crossings, traffic lights, chimneys and bicycles so that when the AIs take over you know how to appease them.

  3. After many unsuccessful attempts to propagate shrub cuttings, this sage seems to be cooperating! Making a tape grid over a plastic tub of water is a nice low-tech solution for holding many cuttings upright.

  4. New video: Ai Wo Mitsuketa Basho (愛を見つけた場所) by Oku Hanako and Akito Matsuda. I adapted the brass duet arrangement from Sound! Euphonium for hurdy gurdy, and played both parts on gurdy #10 before shipping it to its new owner.

    Nobody’s likely to make an anime about hurdy gurdy players any time soon, so this will have to do for the moment.

  5. Day 4 of the was very successful after the storm-related inactivity of day 3, with 106 observations from the Lobau and Prater. Highlights include:

    My first sighting of wild european pond turtles

    My first black woodpeckers

    Many great spotted woodpeckers

    A greater bee fly which held still long enough for me to photograph it

    Some newts

    This interesting spider

    These enormous beetle larvae

    This cool looking moth

    And many, many oil beetles

    That makes a total of 213 observations over the long weekend. It’ll take some time for them to be identifed down to species level, but it looks like at least 130 individual species.

  6. Day 2 of the : I finally made it to the Lainzer Tiergarten and made 73 observations, the highlights of which included:

    Some enormous woodlice

    Some sort of Polydesmus, curled up on a little wall it had built to protect its eggs

    Plenty of Glomeris and pill woodlice

    A red squirrel

    A nuthatch — not a great photo, but they’re one of my favourite woodland birds

    One of the furriest moths I’ve ever seen — I think it’s a chimney sweep moth? If so, it’s an appropriate name.

    And finally, this enormous severed stag beetle head.

  7. Made 34 observations on the first day of the Wien. Nothing particularly remarkable, except for the biggest frog I’ve ever seen, and lots of hamster activity, including some fights and parents with young, which I’ve not seen before.

  8. I finally got Visual Studio Code’s terminal and tab handling working the way I wanted, with these keybindings:

          "key": "shift+cmd+]",
          "command": "workbench.action.terminal.focusNext",
          "when": "terminalFocus"
          "key": "shift+cmd+[",
          "command": "workbench.action.terminal.focusPrevious",
          "when": "terminalFocus"
          "key": "cmd+w",
          "command": "workbench.action.terminal.kill",
          "when": "terminalFocus"
          "key": "ctrl+`",
          "command": "workbench.action.terminal.focus"
          "key": "ctrl+`",
          "command": "workbench.action.focusActiveEditorGroup",
          "when": "terminalFocus"

    This way, cmd+shift+] and cmd+shift+[ not only allow you to switch between editor tabs, but also terminals, when the terminal is focused. cmd+w kills the current terminal tab as expected. ctrl+` switches focus between the editor and the terminal.

    I was considering overriding cmd+t to open a new terminal when the terminal is focused, but decided to just get used to the built in ctrl+shift+` shortcut instead.

  9. Happy 237th Halibut Day, everyone!

  10. A Camomile tip I learned the hard way: audio units built using camomile (and presumably VSTs and lv2s too) will stop working if you rename them, as they rely on the bundle filename, the .txt configuration file and the main .pd patch all sharing the same base name in order to function.

  11. Every time I try to do embedded programming outside the arduino/teensy ecosystem, I’m amazed at how everything else manages to somehow be even worse

  12. Watching the colours mix and flow is almost as beautiful as the painting itself

  13. I don’t often check my internet numbers, but I’m happy to see that a music video I made is at least marginally more popular that that one time I 3D printed some minecraft foxes.

    (And yes, I know that the foxes have a vastly higher Internet Number Per Year, but the music is the more enduring content so that’ll self-correct over time)

  14. I’m seeing a lot of rhetoric claiming that the UK dropping out of ERASMUS is good because it “enables UK students to travel to better universities because only one EU university is in the top 50, and they’re 50th”

    I’m no expert on university rankings, but five minutes of cursory internet research reveals this claim to be questionable at best. There are three major international university rankings: QS, ARWU and THEWUR. The “only-one-in-the-top-50“ “fact” spouted so readily by leavers is true of only one of these: the QS ranking, which list the TUM in 50th place.

    ARWU is a different story, with the Paris-Saclay University in 14th place, the Sorbonne in 39th and the Karolinska Institute at 45th. THEWUR has LMU Munich at 32nd, the Karolinska Institute tied with the University of Tokyo at 36th, the TUM at 41st, Heidelberg University at 42nd, KU Leuven at 45th and PSL at 46th.

    Additionally, Swiss universities are ranked highly by all three lists. While no longer a part of ERASMUS+, it’s in theory possible for EU student exchanges to be funded via the SEMP programme.

    Apparently the UK’s participation in ERASMUS will be replaced with the tactlessly-named “Turing Scheme”, about which only vague details are available. Given the current governments track record on… pretty much everything, I don’t much rate its chances, but who knows.

    There are many other holes to poke in the claim that leaving ERASMUS (and indeed the EU in general) is a good move for UK students, and that university rankings are the be-all-and-end-all of choosing where to do an exchange (variety? language choice? social/cultural connections?), but they’re more complicated questions. This particular claim was so easily debunked that I couldn’t resist.

    Update: this twitter thread from a UK professor confirms most of my suspicions about the prospects of the Turing scheme.

  15. In lieu of being able to sing together with people this winter, I transcribed Thomas Ravenscroft’s “Remember, O Thou Man” carol (from Melismata, 1611) into 4-shape notation.

    I left in most of the notational oddities and old spelling, although I did fill in the missing bar in the alto part with what seems to be the generally accepted version. The empty bar at the beginning is necessary to persuade Musescore to let me notate a dorian piece in 4-shape notation — that’s also why the second system has the wrong key signature (it doesn’t look like that in the editor, only the export.) Hopefully they will either fix that soon, or I’ll find a good way of getting ABC notation typeset in shapes.

    Anyway, here’s the score. Enjoy!

    Remember, O Thou Man.pdf