Author Archives: oxinabox.github.io

Continuous Delivery For Julia Packages

By: oxinabox.github.io

Re-posted from: https://white.ucc.asn.au/2019/09/28/Continuous-Delivery-For-Julia-Packages.html

TL;DR; Every Pull Request should increment the version number in the Project.toml,
and then you should register the release immediately after merging.
Why do this? Because people are making PRs to your repo because they want that change.
Don’t make them wait for you to tag a release.
Also for all the normal advantages of continuous delivery.
Continue reading

Dispatch, Traits and Metaprogramming Over Reflection

By: oxinabox.github.io

Re-posted from: https://white.ucc.asn.au/2018/10/03/Dispatch,-Traits-and-Metaprogramming-Over-Reflection.html

This is a blog post about about dispatch.
Mostly, single dispatch, though it trivially generalises to multiple dispatch,
because julia is a multiple dispatch language.

This post starts simple, and becomes complex.

  • Beginning with, introductory julia skills: dispatch
  • continue to intermidate julia skills: traits
  • and finishing up with advanced techniques: metaprogramming over reflection

The last of which is kinda evil.

Continue reading