Blog Post: Elevator Operator Thinks He's My Dad Just Because He Brought Me Up

Fred and Loathing on The Internet

Welcome to the public web log of Fred Lambuth



Elevator Operator Thinks He's My Dad Just Because He Brought Me Up

2023-Jun-24

That day of the week:calendar day problem within my template was not difficult to comprehend after a good night’s sleep. I found several avenues to connect the day of the week to the calendar day. Several because each gawd damn time I implemented them I would get a HTML problem. Every trick I could think of kept bringing me back to the same problem: the days after Sunday in the first week float out of the templating calculations. I refactored some stuff chatGPT gave me yesterday in a text file until it was more or less just my own original code that gave me the same output problem. I ferried it back and forth from the chatbot with new Jinja templates that shouldn’t have to do much except start their loops later than the first possible day. Each time the same problem and the chatbot explicitly said it couldn’t find out why given my Flask and Jinja stuff. My pyrrhic victory in the calendar efforts is the current month won’t let you pick a day that has not happened yet. Que consuelo…

The artist_index section is a little bit ‘work in progress’. I filtered out the artists that were ‘one_hit_wonders’ and put them in an appended url, so it’s in ‘/artists/one_hit_wonders’. I’m hoping to move the url links away from their Spotify page and instead use the dashboards I got. I had tried this before but had trouble finding a way to get URL information into the dash app, which is sorta its own little Flask app that gets attached whenever the main app gets instantiated by web requests.

To be frank, I gave up on the mammals book about two thirds of the way in; around the Paleocene. My enchantment with reading about bifurcations in the fossil record for mammals with each geological shift wore off. The Paleocene is where my picture of the evolutionary path for mammals is more full, as well as the climate patterns that remain to be described. I then made some mini starts on some fiction stuff but backed out of each when I saw their total page counts were well over five hundred. It might be intellectually cheap but I could use some slim genre fiction to tickle my fancy before I try something weightier.


Add Comment