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.
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
Built a couple Dogsheep utilities this past week to save data into SQLite:
github.com/myles/mas… github.com/myles/mic… github.com/myles/roa…
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)