Other articles

  1. Copying Arrays in Julia

    By default, Julia will copy an array by reference. This means that if you change any values in the copy, the original will also change. For example:

    > x = [1, 2, 3]
    > z = x
    > z[1] = 10
    > print(x)
    [10, 2, 3]

    You can avoid this by using copy():

    > x = [1 …
    read more
  2. Regular Expressions with Julia

    I had briefly used regular expressions, to check the format of a string, on a previous day. I got into a bit more for today's task, where there were a lot of inputs of the form:

    light orange bags contain 1 dark maroon bag, 3 dim maroon bags, 5 striped …
    read more
  3. Advent of Code with Julia

    I enjoy Advent of Code every year. I like the small daily puzzles, and I certainly wouldn't want anything long and complicated every day. However, in order to add a bit of challenge, without resorting to racing, this year I'm using a language I don't really know. That's right, it's …

    read more
  4. Julia

    I had planned to write a blog post about how great Julia is. I spent many years using Matlab, both in grad school and in finance. Since then, I've been using NumPy for mathy things, but it feels really awkward, since it's just sitting on top of another language, with …

    read more