jnovinger

joined 2 years ago
MODERATOR OF
 

I ran across this while looking for tools to provide something like the raw_id_fields widget in Django's list admin view. This post is a few years old at this point, but I think the solution it contains still works pretty well (caveat: I haven't tried it yet).

I also enjoyed the author's take on the conversation with support. I can definitely relate to that.

 

This article is several months old, but if you're like me and missed some of the new changes, it was a nice surprise, with things like generated fields and fields with database default values (as opposed to the existing Python default values).

 

The repo also links to some similar tools, like coveragepy, uncalled, and dead.

[–] jnovinger@programming.dev 5 points 2 years ago (1 children)

Yes, I believe wheels will generally be preferred by pip.

[–] jnovinger@programming.dev 2 points 2 years ago

My latest is Fresh Off The Boat

[–] jnovinger@programming.dev 3 points 2 years ago

Also, don't forget we have a !tmux@programming.dev community on programming.dev.

[–] jnovinger@programming.dev 4 points 2 years ago

@allinalllearners@lemmy.world you seem to have linked to just an image.

Care to update this post?

[–] jnovinger@programming.dev 1 points 2 years ago

The other thing to remember is that post IDs are relative to the Lemmy server you're working with. So post/12345 is almost surely not post/12345 on another server.

I mod a couple of communities on another server and this caught me off guard when trying to share what I thought were good URLs.

[–] jnovinger@programming.dev 1 points 2 years ago

OP, you could even use a local file/sqlite database in the repo and just update and commit it when the script runs.

Simon Willison has a cool approach for this that runs in GitHub Actions and keeps the versioned state in git itself: https://simonwillison.net/2020/Oct/9/git-scraping/

[–] jnovinger@programming.dev 2 points 2 years ago

Maybe just people frustrated with no games to watch?

I can handle the bot ... at some point in the near future. I'll have to some time Friday or Saturday. Will holler at you then.

[–] jnovinger@programming.dev 1 points 2 years ago

The author has another blog post with links to the parts that changed: http://peter.eisentraut.org/blog/2023/06/01/sql-2023-is-out

[–] jnovinger@programming.dev 2 points 2 years ago

Will definitely be playing with this next week.

Also, for anyone interested, the source is linked at the bottom of the page: https://gitlab.com/mbryant/functiontrace

[–] jnovinger@programming.dev 1 points 2 years ago

MLB Pickle #483 - 6/9

⬜⬜🟨🟨🟩⬜⬜⬜
⬜⬜🟨🟨🟩⬜⬜⬜
⬜⬜🟩🟩🟩⬜⬜⬜
⬜⬜🟩🟨🟩⬜⬜⬜
⬜🟩🟩🟨🟩⬜⬜⬜
🟩🟩🟩🟩🟩🟩🟩🟩

Well crap ...

[–] jnovinger@programming.dev 1 points 2 years ago

Immaculate Grid 93 9/9:

IMMACULATE!

🟩🟩🟩
🟩🟩🟩
🟩🟩🟩

Took me forever with the CLE players, especially CLE/BAL.

view more: ‹ prev next ›