Viewing profile — tomchristie
tomchristie
HN member- Joined
- Mon, Jan 31, 2011, 2:56 PM UTC
- HN karma
- 2,252
- Public activity
- 175 items
- HN profile
- View on Hacker News ↗
About tomchristie
No profile information was provided.
Recent public activity
- story
-
comment
Comment #22019993
We don’t have any third party packages for that authentication style yet, but we do have an API for supporting custom auth flows... https://www.python-httpx.org/advanced/#customizi…
- story
-
comment
Comment #21696023
Yo. Two points here. * You can absolutely stay within structured concurrency constraints using ASGI. * The ASGI spec doesn’t have anything to do with asyncio. It’s purely an async/…
-
comment
Comment #20885189
That's really lovely, thanks for sharing.
- comment
-
comment
Comment #19969647
HTTP/3 is slated as roughly HTTP/2 over QUIC but with some differences as a result . https://tools.ietf.org/html/draft-ietf-quic-http-20#appendix... I was dissapointed that the art…
-
comment
Comment #19595701
Good call, given that it's not enabled in modern browsers, and is unreliably supported in proxies and servers. It's for the best that it becomes widely treated as a non-feature of …
-
comment
Comment #19461343
There's a pretty good reason there's a lot of folks building new frameworks for Python in this space right now: async. Unlike WSGI frameworks we're now able to support WebSockets, …
-
comment
Comment #19461302
Python is a hugely productive language. That's the benefit. We're building out an async ecosystem here that makes it way more performance-competitive with Node and Go. For a lot of…
-
comment
Comment #19460880
Just wanted to second @tiangolo's "Thanks for paving the way with Hug" - Absolutely yup! It's a lovely bit of interface design - definitely had a really positive impact on the spac…
-
comment
Comment #18647641
Authorship is always both an individual and a collective act of creativity. We've millenia of shared culture poured into us. Similarly the interplay between the feminine and the ma…
-
comment
Comment #18415028
There are 3 ASGI servers right now. Daphne, Uvicorn, Hypercorn. For production deployments you’ll either want to run them with a supervisor process like supervisors/circus/etc. Or …
- story
-
comment
Comment #18237167
Yo. Yeah my (bit of) involvement is mostly around wanting to help guide the new ASGI ecosystem. For example, I'd like to see Python's async frameworks building on ASGI middleware r…
- story
-
comment
Comment #17743986
It’s okay-ish. You do need to be careful about what falsey values `x` might be tho, as it could introduce edge-case bugs. Using `x = [] if x is None else x` is more precise.
-
comment
Comment #17557435
> For me this is a simple philosophical question. It really shouldn't be. It's a pragmatic question, based on what the likely outcomes and benefits or harms would be for deregulati…
-
comment
Comment #17256237
Hell yes - it's an incredibly productive language, and the Web frameworks for it (Flask & Django in particular) are really nicely mature. For fast Web App development it's a superb…
-
comment
Comment #17256087
I think TechEmpower are doing a great job on these generally, but the plaintext benchmark is problematic because they allow pipelining. (Which isn’t enabled in browsers, isn’t typi…
-
comment
Comment #17256019
Nope, they run a warm up stage.
-
comment
Comment #16907689
> It's threaded vs async/await Fair enough, sure. > lack of backpressure You’ll get new calls into the application on new requests, yes. Request bodies are pulled tho. You can perf…
-
comment
Comment #16907546
Nope, but probably going to be working towards a library similar to that/werkzeug. Request & Response objects, plus some standard middleware.
-
comment
Comment #16907174
One thing I've never been able to reconcile is Mike Bayer's article there, set against Yury Selivanov's reported results for `asyncpg`, which at least as they're presented do indic…
-
comment
Comment #16907004
Neat, good to see more `asyncio` frameworks coming along. Python's going to have a bit of an awkward time with two completely different sets of ecosystem for threaded vs. asyncio a…