Viewing profile — pauleveritt
pauleveritt
HN member- Joined
- Wed, Nov 25, 2015, 12:54 PM UTC
- HN karma
- 64
- Public activity
- 51 items
- HN profile
- View on Hacker News ↗
About pauleveritt
Recent public activity
-
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…
-
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…
-
comment
Comment #45997234
Quick comment, our AI Chat now has Claude integration. Don't need the Anthropic plugin.
-
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.
-
comment
Comment #45062927
Guido said for many years (decades) that he wanted to get back to the parser.
-
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
-
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…
-
comment
Comment #43759618
I'm one of the PEP authors and also with JetBrains. I'm talking to the PyCharm team about this.
-
comment
Comment #43755129
We really should just point most of these comments at that PEP. Thanks for getting it out so fast.
-
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.…
-
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…
-
comment
Comment #43754788
The PEP originally portrayed this as "for DSLs"
-
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 …
-
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.
-
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.
-
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…
-
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…
-
comment
Comment #43709197
We've come a long way with AI Assistant in the last few months. Lots more planned.
-
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.
-
comment
Comment #43708511
(I'm from JetBrains.) Let's just say, watch this space.
-
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…
-
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 …
-
comment
Comment #41218433
If I understand correctly, you'd prefer what other commenters have said for `html(i"Hello {name}")`?
-
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…
-
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…