Live data from Hacker News

Viewing profile — tomchristie

tomchristie

HN member
Joined
Mon, Jan 31, 2011, 2:56 PM UTC
HN karma
2,252
Public activity
175 items

About tomchristie

No profile information was provided.

Recent public activity

  1. story
  2. 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…

  3. story
  4. 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/…

  5. comment
    Comment #20885189

    That's really lovely, thanks for sharing.

  6. comment
  7. 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…

  8. 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 …

  9. 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, …

  10. 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…

  11. 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…

  12. 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…

  13. 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 …

  14. story
  15. 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…

  16. story
  17. 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.

  18. 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…

  19. 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…

  20. 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…

  21. comment
    Comment #17256019

    Nope, they run a warm up stage.

  22. 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…

  23. comment
    Comment #16907546

    Nope, but probably going to be working towards a library similar to that/werkzeug. Request & Response objects, plus some standard middleware.

  24. 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…

  25. 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…