Skip Navigation

Posts
282
Comments
129
Joined
3 yr. ago

Python @programming.dev

New Pythörhead release v0.25.2

Django @programming.dev

Nested Subquerys in Django - Software Crafts

Django @programming.dev

radiac/nanodjango: Run Django models and views from a single file, and convert it to a full project.

Django @programming.dev

DEFNA | DjangoCon US: Call for Venue Proposal 2025

Python @programming.dev

Rounding Numbers in Python – Real Python

Python @programming.dev

Python Insider: Python 3.12.4 released

Django @programming.dev

Optimal SQLite settings for Django

Django @programming.dev

pikhovkin/django-schema-viewer: Visualizes a DB schema based on Django models

Django @programming.dev

Django Enhancement Proposal 14: Background Workers

Django @programming.dev

How to Add a Text Filter to Django Admin

PostgreSQL @programming.dev

PostgreSQL Lands Support For Incremental Backups

Django @programming.dev

New goodies in Django 5.0

Django @programming.dev

Django News #226 (5 April 2024)

Python @programming.dev

Coverage.py with sys.monitoring

Python @programming.dev

jendrikseipp/vulture: Find dead Python code

Django @programming.dev

Django: Write-up on optimizing the system check framework - Adam Johnson

Django @programming.dev

Django News #225 (29 March 2024)

Django @programming.dev

How Does Django's StreamingHttpResponse Work, Exactly? – Andrew Brookins

Python @programming.dev

Python's UV tool is even better

Django @programming.dev

Speed up Django's collectstatic command with Collectfasta - JasonGi

  • Thanks for sharing this here! Far from an expert, but will happily take a look.

  • The installed packages themselves won't be faster, but they will install faster, sometimes much faster.

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

  • 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.

  • 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/

  • MLB Pickle #483 - 6/9

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

    Well crap ...

  • Immaculate Grid 93 9/9:

    IMMACULATE!

     
        
    🟩🟩🟩
    🟩🟩🟩
    🟩🟩🟩
    
      

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

  • Immaculate Grid 92 8/9:

     
        
    🟩🟩🟩
    🟩🟩⬜️
    🟩🟩🟩
    
      

    Had a hell of a time trying to remember Twins closers.

  • MLB Pickle #482 - 4/9

     
        
    ⬜⬜⬜⬜🟩🟩⬜⬜
    ⬜⬜🟨⬜🟩🟩⬜⬜
    ⬜⬜🟨🟩🟩🟩⬜⬜
    🟩🟩🟩🟩🟩🟩🟩🟩
    
      
  • Ooh, thanks for mentioning asdf! I've heard of it, but didn't realize it could that

  • I've only used pyenv on Ubuntu machines, but I expect it would work just as well in Debian-based systems.

    pyenv is really useful if you need multiple versions installed simultaneously and it handles installation for you.

    https://github.com/pyenv/pyenv

  • Have to be honest!

  • Immaculate Grid 91 8/9:

     
        
    🟩🟩🟩
    🟩🟩🟩
    🟩🟩⬜️
    
    
      

    Could not come up with an A's player with a 200+ hit season. 🙄

  • MLB Pickle #481 - 4/9

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