Posts

Strong typing in c++ — a simple example

Strong types are user-defined types that do not allow implicit conversions to other types. This is particularly useful, for example, in reducing the probability for an incorrect parameter to be passed to a function.

Read More

Using linux from within windows: ubuntu, bash, compiling c++ and more

There are a few ways to install and run C++ (or any other programming languages) from windows. For me at least, the easiest by far is to use the windows subsystem for linux (wsl). This essentially gives the best of both worlds - allowing you to (for example) use windows tools to manage and edit code, while still having full access to linux tools for compiling and running the code.

Read More

Ubuntu (bash) on Windows 10

You can now run ubuntu bash straight from windows 10. For many, this may be a better option that trying to dual boot or run a full virtual machine. It’s command-line only (though it does allow screen-forwarding), and gives reasonably full linux functionality without the resource-hog of a full virtual machine, and without the pain or hassle of dual booting. This post just has a couple of extra steps/tips that helped me make this a much more usable feature.

Read More

Superb Fairywrens, Morton National Park

A male superb fairywren feeding its chicks in Morton national park, NSW. The nest was built on the ground, nestled within a patch of stinging nettle plants. (Note, the nest was just off a walkway between our campsite and the toilet - I only noticed the nest because I saw the adult fly down there to feed the chicks. I didn’t leave the walkway or approach the nest, I have a very long lens.)

Read More

Bowerbird Courtship Display

I was lucky enough to catch this footage of a male and female bowerbird engaged in their courtship ritual and dance while camping in Morton national park:

Read More