By now, people should be aware that anything they post to a service they do not have control over or cannot easily back up is vulnerable to loss….wake up people!
Read: Feed Reading by Social Distance
Another excellent post, I am going to join the conversation…
Read: Crafting A Blog
I really liked this sentence:
For me blogging has always been about thinking out loud, because only when I try to formulate my ideas, I actually know what I’m thinking.
Read: Three conversations about blogging
This unconference account is really interesting, will need to blog further about it…
Read: How the Boeing 737 Max Disaster Looks to a Software Developer
Read: Hypercard at 30
I can barely remember using Hypercard, wonder if anyone will do anything like it again…
Read: The Wolfram Function Repository
We’re on an exciting path these days with the Wolfram Language. Just three weeks ago we launched the Free Wolfram Engine for Developers to help people integrate the Wolfram Language into large-scale software projects. Now, today, we’re launching the Wolfram Function Repository to provide an organized platform for functions that are built to extend the Wolfram Language—and we’re opening up the Function Repository for anyone to contribute.
I remember when it was “just Mathematica….”
Read: The end of political cartoons at the New York Times
All my professional life, I have been driven by the conviction that the unique freedom of political cartooning entails a great sense of responsibility.
Cool story, I am not a Times subscriber, so I did not know there were no political cartoons until this artist got in the back window…
Read: Banks scramble to fix old systems as IT 'cowboys' ride into sunset
If I ever get tired of working in the aerospace industry, looks like there is plenty of need for old COBOL programmers….
Enabling reverse order display of posts in Hugo for Book theme
In an earlier post, I mentioned an issue with rendering a website built with Hugo. In the build command, I had to specify the theme. Jack Baty pointed out the theme could also be added to a configuration file (config.toml) so as not to have to enter it each time at the command line.
My next problem was that I wanted the blog post part of the Book theme to display the posts in reverse chronological order. However, it was displaying my post in the middle of the example posts, and I could not figure out what was driving the order. Jack Baty suggested looking at the template file in /layouts/posts/list.html. I looked at that file in the Book theme directory, and started looking at the lists page on the Hugo documentation site. After some reading, I found an example that showed how to display content in reverse order based on the date specified within the file. I changed the third line in the file from:
{{ range sort .Paginator.Pages }}
to
{{ range .Pages.ByDate.Reverse }}
I also edited the Date field in the posts to all have the same format:
date: “2019-06-03”
Once I did that, I got the results i was looking for – hurray! It would have been nice if the theme had done this “out of the box”, but at least I figured it out.