Programming
I wrote a small library for formatting dates in Python using Moment.js like formatting: gist.github.com/myles/a17…. Useful if you want to integrate Python and Obsidian’s date and time formatting.
Arc App's JSON Export to SQLite
I developed a Dogsheep utility called arc-to-sqlite that converts Arc App’s JSON exports into a SQLite database for analyzing my travel data in Datasette, and I’ve released an alpha version on GitHub.
Just released version v0.2.1 of mastodon-to-sqlite!
Made a small Django function to back-port update_or_create
from Django 5.0, specifically adding create_defaults
to the create operations. gist.github.com/myles/a6905f94e4e9955f02fea2554db982a7
đ˘ My Stupid Weather Twitter Profile Bot Got Suspended
After seven years of using a Python script to update his Twitter handle with a weather emoji, the author faced suspension from the Twitter API, marking the end of his beloved bot.
Exploring Toronto's Restaurant Inspection Data with DineSafe
The author created a tool that automates the collection and visualization of Toronto’s restaurant health inspection data using Python, SQLite, GitHub Actions, and Datasette.
Built a couple Dogsheep utilities this past week to save data into SQLite:
I just spent two hours trying to figure out a bug in my Vue form component, it turned out I was using rel='update'
instead of ref='update'
đ.
I just spent the last 30 minutes trying to figure out why my tests werenât failing. It turned out it was because I forgot to prepend test_
to the function đ.
Software Development and the False Promise of Science
Richard Marmorstein on software developers and their lack of citing good sources:
You have opinions â strong opinions â on questions such as âdo microservices encourage modular code design?â and âshould software projects stick to a ânovelty budgetâ?â and âshould composition be preferred to inheritance?â. But are your opinions backed by peer-reviewed analyses of hypotheses subjected to statistical tests of empirical data? Not really. Your view that software projects should stick to a ânovelty budgetâ, for instance, is backed by your experience reading about this idea in some randoâs blog post and the argument seeming plausible in light of the recent bankruptcy of your friendâs web startup built on WebAssembly, CockroachDB, Elixir and Unikernels.
Richard Marmorstein (13 October 2019)