Blog Post: The Object in My Code Have Read Marx and Now Understand Their Class Struggle

Fred and Loathing on The Internet

Welcome to the public web log of Fred Lambuth



The Object in My Code Have Read Marx and Now Understand Their Class Struggle

2023-Jul-24

The modules I use to make the Plotly charts that get displayed with Plotly-Dash are far too bloated. They have been that way for a while yet I keep piling on new stuff, loaded with redundancies. My update development time is at least fifteen percent scrolling through superfluous code. I remember a passion for refactoring not so long ago. Now when I see my code pile I see a thorny testing procedure.

Commentary on the codebase itself aside, we’ve got a new HTML home for those genre tree maps I mentioned in an earlier post. The /dash section has the links. The /dash section is indicated by the ‘charts’ tab up there on my navbar. I probably should change that to ‘dash’. I’m worried that the flask-main_app linking to the live dashboards method I’m using means I can’t use any of the flask decorators on my dash stuff. I think I’ll have to make an independent dash app that matches a little at the /dash home directory.

Finished that Humboldt book. The chapters after his death were a slog of mini biographies for historical characters that were directly inspired by Humboldt’s work. When it comes to books I’m usually on the side of ‘less is more’. I did not need or want some anecdotes about the life of Humboldt's fans who pioneered nature conservation. The epilogue was short but succinctly reminded the reader why Humboldt’s life was worth reading about even though he himself is not as famous as his contemporaries (despite being the most famous man of his time and place) or has a natural law or theorem named after him. Now I’m curious to read a book about ‘nature’ that predates his proselytizing of that unifying concept.


Add Comment