Optimization with numpy and numexpr

Using numpy and numexpr to optimize numerical expression evaluation in Python.

Embedding a Jupyter Notebook in Joomla

Proper syntax highlighting, and a demonstration of including rendered Jupyter notebooks inline in a Joomla blog post.

MEGA (Secure cloud service)

My positive experience of switching from Google Drive to MEGA.nz

AI and the welfare state

Commentary on a thought-provoking recent piece in Foreign Policy which discusses the impact of AI on the delivery of government services.

Vox on AI as a threat to humanity

Should we take AI seriously as a threat to humanity? This Vox piece says yes.

Joomla vs. Drupal - Joomla wins (but both are great)!

After setting up the site in Joomla and being happy with my initial experience, I decided that I also wanted to try out Drupal. I just wasn't going to be completely comfortable with my choice if I didn't actually evaluate the key options. Wordpress is obviously out (that was the basic decision in this whole process), so the choice was between the next two most popular CMS platforms. After only having a few hours experience with Joomla, I had a sense (incorrectly, as it turns out) that there might be some other things I wanted to be able to do that I couldn't do in Joomla, and I knew Drupal was even more capable.

Setting up Drupal on Dreamhost isn't quite as easy as installing Joomla - there's no one-click install for Drupal. So I had to download the installation file, upload it to my server, and unzip it there. The Drupal documentation is pretty thorough - it explains the process of installation from start to finish (getting the code, preparation, DB setup, installation, etc.). The installer is interactive and makes the process easy. The only potentially tricky part is the database configuration (you need your DB name and credentials). 

The installer took care of everything else for me, and before long I could log in and start working on building the site in Drupal. At first, though, the directory remapping was broken so the administration didn't work - the fix to that is described at my initial post: Joomla vs. Drupal

Now I have a working Drupal site as well! I chose a theme and made a few basic changes to site structure and started adding menus. The administration interface is very similar to Joomla - they're both very intuitive (though there's so much you can do that it takes a few hours of poking around to start to get comfortable with doing even basic things.


Drupal interface:

Perhaps the biggest different I notice in the Drupal admin is the 'Structure' menu, which lets you specify the overall block layout of your website. In Joomla, this is controlled instead by your template. I found a cool modern template called Shaper that uses the HelixUltimate framework, and this template lets me specify a block layout in the same way:


Helix Template Interface (for Joomla):


This is a great example of the differences between the two CMS platforms. I think it's good that Drupal has the Structure component built in, instead of left up to the template. Conceptually, this makes more sense (the website structure can be seem as such a key element of the website that it shouldn't be left to the template machinery to specify), and practically speaking it's better - the structure is always defined in the same way, as opposed to having to learn a new interface for each template. Drupal is definitely more capable, but the drawback is obviously in complexity - Joomla already has a learning curve to it, but Drupal has an even steeper one, and it would be downright intimidating for most people without a lot of experience. This discussion of the relative merits of Joomla vs. Drupal has a good discussion of ease of use vs. complexity, which I think is the key issue in the choice of CMS. 

So I've decided to embrace Joomla, at least for now. I'm already getting the site looking very good and populated with content, so clearly Joomla is capable without being too hard to learn. But I feel like knowing Drupal will be very valuable, so I'm going to maintain the Drupal Site and keep working on learning. Drupal. In the meantime, I can build the site in Joomla and do everything I need to do for the time being (and probably ever). It's always fun learning new tools, so I'm excited to be able to try both of them out.

Long story short, both CMS platforms are great. If you don't have enterprise requirements, you're almost certainly better off with Joomla - it's free, works great, and is very powerful without having such a steep learning curve.

Now to go work on getting some more content up!