Live data from Hacker News

Viewing profile — adamchainz

adamchainz

HN member
Joined
Sat, Nov 10, 2012, 1:04 AM UTC
HN karma
33
Public activity
19 items

About adamchainz

[ my public key: https://keybase.io/adamchainz; my proof: https://keybase.io/adamchainz/sigs/gtiWWj6v-5ZX76r1sRsn3mNjviNuuPIREp_8274cCTo ]

Recent public activity

  1. comment
    Comment #46651929

    OP here. Thanks. Yeah, profilers are very varied in Python, and none are super easy. I often use either cProfile + pstats (per this post: https://adamj.eu/tech/2025/05/20/python-qu…

  2. comment
    Comment #46651898

    Oh cool! Do you have any code for that? Sounds super useful for projects like Django…

  3. comment
    Comment #46223548

    django-tasks is the reference implementation for django.tasks, by the same author. It's up for discussion if and when the DatabaseBackend gets merged, and it seems likely to me tha…

  4. comment
    Comment #46212142

    OP here, thanks for the praise! Yeah, I mentioned Celery due to its popularity, no other reason ;)

  5. comment
    Comment #37285983

    Yeah, that is odd. Python still has no immutable dict type, except it kinda does: https://adamj.eu/tech/2022/01/05/how-to-make-immutable-dict-...

  6. comment
    Comment #37285953

    Within the function, args is a tuple, as your output demonstrates.

  7. comment
    Comment #29824841

    Unfortunately that prevents Mypy from loading the type hints for 'markdown' from types import ModuleType markdown: ModuleType | None try: import markdown # type: ignore [no-redef] …

  8. comment
    Comment #29812817

    Ah yes, nice hint that backports can use sys.version_info.

  9. comment
    Comment #29812717

    It will work but Mypy won't know to use the type hints for the markdown module.

  10. story
  11. comment
    Comment #29307686

    Here’s my post summarizing new testing features in Django 4.0: https://adamj.eu/tech/2021/09/28/new-testing-features-in-dja...

  12. comment
    Comment #25201378

    Great news. Have been watching for a while and looking forward to using it now that it's fully released.

  13. comment
    Comment #21752568

    Awesome, basically a free book chapter. Will definitely fire up the notebook and give this a try.

  14. comment
    Comment #19165000

    I learnt a lot from the book Data Science at the Command Line, now free and online at https://www.datascienceatthecommandline.com/

  15. story
  16. story
  17. story
  18. story
  19. story