Viewing profile — adamchainz
adamchainz
HN member- Joined
- Sat, Nov 10, 2012, 1:04 AM UTC
- HN karma
- 33
- Public activity
- 19 items
- HN profile
- View on Hacker News ↗
About adamchainz
Recent public activity
-
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…
-
comment
Comment #46651898
Oh cool! Do you have any code for that? Sounds super useful for projects like Django…
-
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…
-
comment
Comment #46212142
OP here, thanks for the praise! Yeah, I mentioned Celery due to its popularity, no other reason ;)
-
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-...
-
comment
Comment #37285953
Within the function, args is a tuple, as your output demonstrates.
-
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] …
-
comment
Comment #29812817
Ah yes, nice hint that backports can use sys.version_info.
-
comment
Comment #29812717
It will work but Mypy won't know to use the type hints for the markdown module.
- story
-
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...
-
comment
Comment #25201378
Great news. Have been watching for a while and looking forward to using it now that it's fully released.
-
comment
Comment #21752568
Awesome, basically a free book chapter. Will definitely fire up the notebook and give this a try.
-
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/
- story
- story
- story
- story
- story