Articles tagged with python
This Site Is Statically Generated
Back in March I talked about dynamically rendering content on NeoCities pages using JavaScript and I suggested that the technique is probably inferior to other methods, one of which I said was static site generation. You might have noticed that at the …
ChatGPT Optimizes Images for Web
In five prompts, ChatGPT writes fully functional code to optimize images for the web and then a story about how Case from Neuromancer uses the code to stop a hacker. Code “Give me a Python function using PIL that optimizes a directory …