Using wikidata to link to an article about a disease on wikipedia by ICD-10 code coded as property on wikidata

Wikidata is a sister project to Wikipedia that encodes much of the information on Wikipedia into discrete data values that can be queried.

I needed to document some ICD10 diagnoses and wanted to add links to Wikipedia as part of that. I did not know the actual names of the articles on Wikipedia, though. Manually, I could have found them using a search, but that would be a lot of work for >1700 diagnoses.

Turns out that Resolver will do this.  The following link will resolve the ICD10 code (P4229) with value K37 (corresponding to appendicitis) to send me to the Wikipedia article for appendicitis:
https://tools.wmflabs.org/wikidata-todo/resolver.php?prop=P4229&value=K37&project=enwiki

You could use similar code to link to a city by postal code or an animal by its taxonomic name, or using any of the thousands of properties available on wikidata.

See here for an example on how to use this with semantic mediawiki.

Sichuan peppercorns

I read about Sichuan Pepper in Cooking for Geeks a long time ago. I have been wanting to try a dish with them for a long time. Recently there was a post on the Winnipeg SubReddit that mentioned that the Golden Loong restaurant uses them. Yesterday I finally got to try their Kung Pao Chicken with fresh sichuan peppercorns. The basic taste is lemony. More importantly, they are tingly and change the flavour of everything in the part of your mouth where they burst, including the water you drink after. Of the four of us there, one hated the sensation, one didn’t much like it, and the other two liked it at least for the intensity of the sensation. I’d have it again. Very neat experience, and one thing gone from the geeky bucket list :-)

Zapier

An organization I am involved with does its internal communication and broadcasts exclusively through Slack. In my mind, Slack is “evil” because it lets communication in but doesn’t seem to provide tools to let communication out. For example, they don’t provide RSS feeds. I do most of my daily surfing through RSS feeds.

Today I figured I should look into this further and posted the question on the Slack Reddit.  Someone suggested I could do this through Zapier. I had never heard about them: they provide integration between different web apps. Sure enough, 15 minutes of tinkering later I now have an RSS feed from that Slack channel.

Things should not be so complicated, but when they are, it is good to have a tool like that!

More remote switching on the backpack

I have had a remote switch for the light on my backpack for a long time (holding up well!). I thought it would be nice to add a remote switch to the garage door opener.

So, I opened the heat shrink up and solderedIMG_20160920_153503 another switch on the remaining two leads in the USB cable. Some more surgery on the other end to attach two connectors. Then open up the garage remote and add wires to each side of the IMG_20160920_152807momentary push button that opens the door. Taped a block over the original button so it doesn’t get pushed by other things pressing into it.

Connect, and open the garage door. Should have done this ages ago.

electronic circuit simulator

I have messed around with electronics for a long time, but a lot of it is still a mystery. So, I was thrilled to realize that free, online circuit simulators exist. My favourite one is http://www.falstad.com/circuit/ . It gives examples of dozens of circuits, you can modify them, or you can make your own. Better yet, no login required, if you want to save your work it will spit it out as a text file you can import again later. Thanks, Paul Falstad & co, for putting this together and hosting it!