Wed 27 Mar 2019

Major rewrite

Just finished a major rewrite of; the Perl program that generates the pages of this microblog. It now makes pages for each day besides week overviews.

To find or not to find

Why not use File::Find and do it all in perl?

asked Reddit user raevnos in response to my submission Driving a Perl script via find. To which I replied:

Good question, which the article should have answered. In my case I wanted to use find to drive the Perl program because I consider it slightly easier to edit and fix on the cli than in a program. Also, I wanted to learn a bit more about find and the speed difference between \; and \+. Finally, I can imagine that this solution is faster, and can be modified easier (with cli tools) by other (non-Perl) users.

A little wider now

On screens 480 pixels and wider this blog is now 480 pixels wide instead of 320 pixels. I used a CSS @media Rule as follows:

@media screen
    and (max-width: 479px) {
    #tl-page {
        width: 320px;

Background image with opacity in CSS

I just used the following CSS code to create a body background image with opacity for work:

body::before {
  background-image: url("img.jpg");
  background-size: cover;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.25;

Code comes from a well written article by Chris Love. Thanks!.