dmesg --follow
[ 69798180.000 ] posts.x: ↻ @atlantajug: Maintainers are drowning in AI-generated slop. How do you make sure your PR isn't part of the problem? 🤖 @CoreyGallon shar…  |   [ 69798120.000 ] posts.x: ↻ @devnexus: Maintainers are drowning in AI-generated slop. How do you make sure your PR isn't part of the problem? 🤖 At #Devnexus2027, @…  |   [ 69626580.000 ] posts.x: @sentinelwayne Not following … ticketing systems are typically async, nay?  |   [ 69483540.000 ] posts.x: @sentinelwayne The chat dropped a couple of times, due to timeout. It’s just the same as if I was distracted on another screen and didn’t respond in…  |   [ 69435300.000 ] posts.x: Happy V for Vendetta Day!  |   [ 69435120.000 ] posts.x: Happy V for Vendetta Day!  |   [ 69346140.000 ] posts.x: This is a *chef’s kiss* salutation from the app in the morning. Nicely done, Claude team! 👌  |   [ 69303240.000 ] posts.x: @markfenner Nyope! It all went off perfectly, as though I had engaged in the chat myself.  |   [ 69303180.000 ] posts.x: @noelkimx Happy to share more — what are you after?  |   [ 69285720.000 ] posts.x: @noelkimx It doesn't have the password -- I logged in myself, then handed the browser session over. It's dodgy practice to ask for a customer…  |   [ 69280380.000 ] posts.x: @not_sacke Yeah, it's handled things so nicely! I had to take photos of the physical device at the request of the customer support rep, so it pinged…  |   [ 69279960.000 ] posts.x: One of my agents is working a device support issue with a live customer service agent on my behalf. I've got it sending me notifications when it…  |   [ 69280080.000 ] posts.x: Here's the GitHub repo for chrome-agent, so your agent can use the web with, and for, you:  |   [ 69268140.000 ] posts.x: This is particularly useful for agents that you want to update with new information or additional tasks during their run.  |  
corey@gallon.me:~/til$

A nice workflow for creating Python projects with AI

FIGURE 1 ⋅ A nice workflow for creating Python projects with AI

First, create a new project using poetry

poetry new asciinema-editor

This gives you a nice, clean new project structure.

.
├── README.md
├── asciinema_editor
│   ├── __init__.py
├── poetry.lock
├── pyproject.toml
└── tests
    └── __init__.py

Now, let the model know that you have this project structure and ask it to write you code. Claude does a nice job of providing the relevant bits to make your project work nicely.

  • e.g. __main__.py (see TIL on this)
  • Exposes the relevant main function in __init__.py making it easier to import and use the package in other scripts if needed.
corey@gallon.me:~$ tail -f /writing Attach to the stream. An email when I have something worth sending. Replies encouraged!
corey@gallon.me:~$ ls -lt /til ↑2024-11-14 Wrap with HTML tags in VSCode
▸2024-10-15 A nice workflow for creating Python projects with AI ⋅ you are here
↓2024-10-15 __main__.py file in a project