Live data from Hacker News

Viewing profile — pauleveritt

pauleveritt

HN member
Joined
Wed, Nov 25, 2015, 12:54 PM UTC
HN karma
64
Public activity
51 items

About pauleveritt

PyCharm Developer Advocate at JetBrains

Recent public activity

  1. comment
    Comment #47928634

    You should indeed feel vindicated. Me too, I've been a paid subscriber for months and eagerly read every word. But yes, I feel like this is the first of several vindications you ha…

  2. comment
    Comment #46325277

    As an FYI, I'm with the template strings folks (new feature in 3.14) and we're building an HTML system around the idea of JSX-style components as callables, but with actual strings…

  3. comment
    Comment #45997234

    Quick comment, our AI Chat now has Claude integration. Don't need the Anthropic plugin.

  4. comment
    Comment #45063287

    Thanks for the kind words, but really, I'm over-sung on this. It's been a long time since I impacted Python. I should be participating more. Hopefully t-strings is the place.

  5. comment
    Comment #45062927

    Guido said for many years (decades) that he wanted to get back to the parser.

  6. comment
    Comment #43759698

    As an example of t-strings helping SQL, Phil Jones published a package [1] that illustrates how it could work. [1] https://github.com/pgjones/sql-tstring

  7. comment
    Comment #43759637

    Do t-strings miss something that f-strings provides for format_spec etc.? FWIW, format_spec is available in the template structure, so the function writer could at least do a runti…

  8. comment
    Comment #43759618

    I'm one of the PEP authors and also with JetBrains. I'm talking to the PyCharm team about this.

  9. comment
    Comment #43755129

    We really should just point most of these comments at that PEP. Thanks for getting it out so fast.

  10. comment
    Comment #43755099

    Some prior art: https://pypi.org/project/tagged/ In fact, the repo of a companion project from the author has the ticket that spawned the work leading to t-strings: https://github.…

  11. comment
    Comment #43754840

    This is what we discussed in the first revision of the PEP (the use of `Annotated`.) But we found out: linters don't know anything about the Python type system. We hope to get a co…

  12. comment
    Comment #43754788

    The PEP originally portrayed this as "for DSLs"

  13. comment
    Comment #43754773

    Thanks Nick for this response and all the time you've spent explaining. It's funny, I looked back at the comments on f-strings before they landed. They also got similar complaints …

  14. comment
    Comment #43754734

    The other PEP example shows generating HTML attributes from a passed-in dictionary. HTML has a number of places where this is helpful, if you have original data.

  15. comment
    Comment #43754703

    Nearly everything you just described is being worked on. It's amazing how accurately you have described it. We hope to demo and explain at PyCon US.

  16. comment
    Comment #43754660

    It was discussed in the first revision and discussion of the PEP. The decision was made to move that to follow-on work, as we discovered more about what tooling needs. As an exampl…

  17. comment
    Comment #43754586

    The original PEP and the original discussion had this in scope. We removed it to let this emerge later. There are different ways to signal the language -- some more friendly to too…

  18. comment
    Comment #43709197

    We've come a long way with AI Assistant in the last few months. Lots more planned.

  19. comment
    Comment #43708793

    That's cool that you're looking at those things. I hope we've made progress on "Apply" (and we're doing more.) And as heads-up, as you can imagine, we're looking at NEP.

  20. comment
    Comment #43708511

    (I'm from JetBrains.) Let's just say, watch this space.

  21. comment
    Comment #43649733

    I'd like to add, after the first publication for discussion, we got some wonderful involvement from Andrea Giammarchi who brought his deep JS libraries and tools experience into th…

  22. comment
    Comment #41218837

    If the string is an f-string, it is immediately evaluated and you no longer have access to the interpolation info for a resolver. If the string is not an f-string, you get no help …

  23. comment
    Comment #41218433

    If I understand correctly, you'd prefer what other commenters have said for `html(i"Hello {name}")`?

  24. comment
    Comment #41218024

    (PEP co-author here.) You've described it well. As the "How to teach it section" emphasizes, we'd like consumers of tag functions to just think of it as an f-string with other stuf…

  25. comment
    Comment #41217797

    Cool to see you jump in, Ian. I don't particularly mind the prefix thing. It came up in the PEP discussion, as did choice of backticks to indicate this is different. But JS templat…