Comment on the Featured Image (March 2017)

originally rendered POV-Ray image

During university (in the early 2000s) I first came into contact with the Persistence of Vision Raytracer (or short POV-Ray) and my fellow students and me were busy happily exploring it’s capabilities, especially for displaying physics data or just plain old fun.

On of the objects that always fascinated us was the Julia Fractal with it’s inconceivable and superdimensional nature and infinite richness of possible shapes. So much that I came up with a pleasant looking shape that a friend of mine later took as a logo for his (one man) company. I later lost all source files I used to create this.

Over a decade later now I may need to recreate that logo and took this as an excuse to re-familiarise myself with the software and Julia Fractals. For those interested there are countless good explanations out there, e.g. from Paul Bourke.

Now, unless someone asks me, I won’t try to explain the concept again in detail. Suffice it to say that the shape is a subset of space which behaves under a certain mathematical transformation in one of two possible ways. Sounds abstract? It most certainly is and yet it produces beautiful organic looking things that can be rendered in color or with textures to make pieces of art. So now for the gory details. Let’s have a look at the code.

This sets the background to white.

This sets the camera up. The right statement is used to set the aspect ratio of the rendered image to the preferred size of the featured images in the Twenty Seventeen WordPress Theme.

I use two light sources, one blue and one red, to give the image some simple color. The fractal itself is white.

And this is the fractal object. Looks not too complicated but there are so many knobs that can be tweaked that there are literally endless possibilities.

Free by Cameron Holden

In preparation for a Whiskey-Tasting night out with friends I was stumbling upon a beautiful wee poem by a contemporary Scottish poet and I want to share it here.

Free

As the wind rolls cold of the mountain plain
As the Hindu Kush rises like skyscrapers to Gods name
But these are not my mountains and the wind is not the same
So as my plane takes off im glad im headed hame

Back to the lowlands of the South and the Highlands of the North
Those crystal clear burns lochs and mountain streams
Back to the braes and the bens and the fresh mountain snow
Back to where the thistle and the heather grow

So who is proud to be Scottish? well that would be me
And what does Alba need? She needs to be free
So people rise up against centuries of tyranny
As a unified people chant were free

Copyright© Cameron Holden from Glasgow found on PoetrySoup

First Post Title Missing Test Post

This is just a test post to confirm that the title of the first post shown in at least the index and archive primary templates of the Twenty Seventeen template goes missing.

UPDATE: It actually wasn’t a bug in the template but a erroneously used post format, i.e. Aside, which I used for the post. This post from the WordPress forums helped me figure it out. Thanks to user timethief for the hint.

Tweaking SQLite Integration plugin for WordPress 4.7.3

Using SQLite as a database for WordPress I stumbled upon a few error messages in the SQLite Integration plugin. I fixed it with the following two tweaks, which seem to fix the issue.

  • Replaced deprecated function get_currentuserinfo() with the new function wp_get_current_user() in the file .../plugins/sqlite_integration/sqlite_integration.php on line 3829 (plugin version 1.8.1). This might only be relevant for WordPress 4.5 and higher.
  • Added the line $options = array(); in line 145 right before the foreach ($compile_options as $opt) { loop. This takes care of a seemingly empty return of the get_results("PRAGMA compile_options");
    function call.

I also wrote this on the support page for this plugin in the hope that it will be included in the next update.

First Post

Povray fractal w/ funky lighting

Finally, I managed to set up a blog AND write something in it. Let’s find out where this leads…