<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Enter... The Dork Side</title><link href="https://thedorkside.com/" rel="alternate"/><link href="https://thedorkside.com/feeds/all.atom.xml" rel="self"/><id>https://thedorkside.com/</id><updated>2024-01-13T15:46:00-06:00</updated><entry><title>The Dork Side Returns!</title><link href="https://thedorkside.com/the-dork-side-returns.html" rel="alternate"/><published>2024-01-13T15:46:00-06:00</published><updated>2024-01-13T15:46:00-06:00</updated><author><name>Nicholas Montpetit</name></author><id>tag:thedorkside.com,2024-01-13:/the-dork-side-returns.html</id><summary type="html">&lt;h1&gt;WordPress... what a disaster!&lt;/h1&gt;
&lt;p&gt;The previous version of my blog, &lt;a href="https://thedorkside.com/"&gt;thedorkside.com&lt;/a&gt;,
was deployed on WordPress and it became a total mess:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;tons of spam comments,&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;frequent security vulnerabilities in WordPress, and&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the site looked cluttered and antiquated.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Furthermore, creating posts with WordPress requires using a poorly implemented
web interface …&lt;/p&gt;</summary><content type="html">&lt;h1&gt;WordPress... what a disaster!&lt;/h1&gt;
&lt;p&gt;The previous version of my blog, &lt;a href="https://thedorkside.com/"&gt;thedorkside.com&lt;/a&gt;,
was deployed on WordPress and it became a total mess:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;tons of spam comments,&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;frequent security vulnerabilities in WordPress, and&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the site looked cluttered and antiquated.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Furthermore, creating posts with WordPress requires using a poorly implemented
web interface, which discouraged me from writing posts.&lt;/p&gt;
&lt;h1&gt;Pelican static site generator to the rescue!&lt;/h1&gt;
&lt;p&gt;&lt;a href="https://getpelican.com/"&gt;Pelican&lt;/a&gt; is a Python-based static site generator
that I'll be using for this blog going forward.  There are many benefits I
anticipate from moving to Pelican:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;I can use my preferred text editor &lt;a href="https://www.vim.org/"&gt;Vim&lt;/a&gt; to construct
posts using Markdown, which is about as frictionless as it gets.  I'm hoping
this will encourage me to post more often.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Not that it will be noticable very often, but a static site will render more
quickly in the browser than dynamically generated WordPress content.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Many of the themes available for Pelican are very clean and 
visually appealing.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The code syntax highlighting provided by Pelican appears to be a major improvement
over what I was using in Wordpress.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;It's going to be easier (I hope) to integrate other sources of content (such
as Jupyter notebook output) into the blog.  My initial investigations into 
this are encouraging.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Because each post is a separate Markdown file, my content is portable and
and easy to version control in Git.  By contrast, WordPress stores posts in a
database.  Exporting my posts from WordPress was inconvenient and converting
them into a text representation suitable for this blog implementation was a 
major pain, as I might cover in a future post.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;WordPress uses PHP (yuck), whereas Pelican is Python-based.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;What's next&lt;/h1&gt;
&lt;p&gt;This is what you can expect to see going forward:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;I'll probably try out a few different themes over the next few months.
What's nice about Pelican's modular design is that themes can be easily
modified or swapped without altering the content.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I'll migrate some of the better and more evergreen content from my previous
blog to this one.  I attempted to export and transfer all past posts from 
Wordpress to this blog, but it became clear that wasn't going to be a great
approach for a variety of reasons.  It's probably better to select past posts
judiciously anyway.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I'm going to try to test the limits of what a static site generator can do.
Here are some examples I have in mind:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Rendering Jupyter notebook output for the presentation of data 
visualizations and analysis results.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Rendering of interactive dashboard type output,&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Integration of third-party and/or dynamic content such as comments
(though this looks easy from what I've seen online).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Output such as sidebar lists that changes from session to session,
for the sake of variety.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;More focus on Bitcoin and Nostr, my top interests lately.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I know that I'll be giving up some funtionality (especially in the short term)
by moving from WordPress to a static site generator, but I'm confident this
blog will be better and more visually appealing overall.&lt;/p&gt;</content><category term="misc"/></entry></feed>