Trying something new: I rigged up a liveblog system and I'm using it at OpenAI DevDay in San Francisco right now https://simonwillison.net/2024/Oct/1/openai-devday-2024-live-blog/
-
Simon Willisonreplied to Simon Willison last edited by
Upgraded my live blog - you can now opt to have the most recent updates show up at the top of the page. I have pretty comprehensive notes from several sessions now, including the deep dive into the new Realtime API. https://simonwillison.net/2024/Oct/1/openai-devday-2024-live-blog/
-
Simon Willisonreplied to Simon Willison last edited by
This is what my edit interface looks like - I'm using the Django admin to add new "live update" rows attached to the entry.
-
Simon Willisonreplied to Simon Willison last edited by
Here's how I implemented the live blog feature I used yesterday. I built the first version using Claude while waiting for the keynote to start, then upgraded it with the help of GPT-4o to add sort options and incremental fetching of new updates
https://til.simonwillison.net/django/live-blog -
@simon Any tips for handling images?
I have a half dozen small blogs like that, and the pain point/bottleneck is always my ability to upload an image in a way that doesn't make me not do it.
I noticed yours were static media, so I assumed you committed/pushed.
-
-
Simon Willisonreplied to Jeff Triplett last edited by
-
Simon Willisonreplied to Jeff Triplett last edited by
@webology images were by far the worst part of this - my process sucked: I took a photo on my phone, waited for iCloud to sync the photo to my Mac, dragged that photo out to convert it to JPEG, then dropped that onto https://tools.simonwillison.net/image-resize-quality to grab a smaller file size version, then dragged THAT to Transmit to upload to my S3 bucket, then manually entered the img tag in the HTML of a live blog update
-
Simon Willisonreplied to Simon Willison last edited by
@webology I got half way through building a dedicated mobile web app for taking a photo on my phone and resizing that and uploading it to my S3 bucket, but I couldn't get S3 CORS headers to work right so I gave up
-
Jeff Triplettreplied to Simon Willison last edited by
@simon I realized while microwaving my lunch that it would take about as much time to have Claude build me a file upload tool for my project changelogs (blogs) than it did to ask you how you solved the problem.
One model + one upload form and one list view with a clipboard snippet that gives me a markdown link was what I think I needed.
This technology is such a light bulb moment. Once we automate the git and pr parts we will soon be chatting with our repos to add features.
-
Simon Willisonreplied to Jeff Triplett last edited by
@webology I think I need to get over my resistance to having Django handle file uploads and forward them on to S3 - I've always preferred having my browser push content to S3 directly, but maybe in 2024 the servers I'm running apps on can handle proxying a few MBs without me need to worry about running out of server resources
-
Simon Willisonreplied to Simon Willison last edited by
@webology I still love this 14 year old Django snippet https://djangosnippets.org/snippets/1868/
-
Paolo Melchiorrereplied to Simon Willison last edited by
@simon @webology why don't just use Django Storages? It's "transparent" and you can change your storage provider in the future without any vendor lockin effect
https://github.com/jschneier/django-storages -
Simon Willisonreplied to Paolo Melchiorre last edited by
-
Michael Hungerreplied to Michael Hunger last edited by
@simon just noticed something else that could be cool for the future, I wanted to link to one section, but saw that the timestamps are currently not anchors, that would be nice to have.
-
Simon Willisonreplied to Michael Hunger last edited by
@mesirii they have id attributes in the source but you currently have to view source to see them!