Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SethMLarson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
SethMLarson
4y ago
Thanks for posting this! If anyone has questions you can ask here and I'll answer or our community Discord listed in the article is a good place to start.
122.
▲
Programming Language Keywords
(nige.tech)
4 points
by
SethMLarson
4y ago
|
0 comments
123.
▲
People in your software supply chain
(sethmlarson.dev)
12 points
by
SethMLarson
4y ago
|
4 comments
124.
▲
by
SethMLarson
5y ago
Not sure I understand your comment. Distribution package maintainers would ideally want to adhere to the same sets of standards as language ecosystem package maintainers?
125.
▲
Security for Package Maintainers
(sethmlarson.dev)
2 points
by
SethMLarson
5y ago
|
0 comments
126.
▲
by
SethMLarson
5y ago
Would love to speak to companies using urllib3! Excellent idea.
127.
▲
by
SethMLarson
5y ago
You're right, that should read "codepoint boundary" not "character boundary". I can fix that. I do briefly mention grapheme clusters near the end, didn't want to introduce them as this article was more about th
128.
▲
by
SethMLarson
5y ago
Great eye! I'll fix this and push it out.
129.
▲
by
SethMLarson
5y ago
Wow, thank you for the kind words. You've made my morning!!
130.
▲
by
SethMLarson
5y ago
Yeah the current definition is restricted to 4 octets in RFC 3629. Really interesting to see the history of ranges UTF-8 was able to cover.
131.
▲
by
SethMLarson
5y ago
Glad you enjoyed! Unicode and how it interacts with other aspects of computers (IDNA, NFKC, grapheme clusters, etc) is some of the spaces I want to explore more.
132.
▲
by
SethMLarson
5y ago
100% agree, it's really rare that there's a ~blanket solution to a whole class of problems. "Just use UTF-8!"
133.
▲
by
SethMLarson
5y ago
I knew that Ken Thompson had an influence but wasn't aware of Rob Pike, what a great fact! Thanks for sharing this :)
134.
▲
by
SethMLarson
5y ago
Yeah, there's not much I can do there unfortunately (since I'm using SVG with the actual U and S emojis to show the flag). I can't comment on whether it's your config or not, but I've tested the SVGs on iOS and Fire
135.
▲
by
SethMLarson
5y ago
Thanks for the kind comment :)
136.
▲
How UTF-8 Works
(sethmlarson.dev)
359 points
by
SethMLarson
5y ago
|
190 comments
137.
▲
by
SethMLarson
5y ago
I'd recommend dataclasses over namedtuples. In almost every case the "iterability" of a namedtuple ends up not being necessary (and can be a footgun!) what you really want is a lightweight namespace with types i.e. dataclasse
138.
▲
by
SethMLarson
5y ago
For more complicated cases I would agree, having a class that encapsulates logic that's inter-dependent is good. However I'd caution against reaching for the class approach for scenarios that can be captured by a function call. Py
139.
▲
by
SethMLarson
5y ago
Yep, using positional-only parameters makes calling the API tougher when all you've got is a `**kwargs` dictionary. But I think that for well designed APIs you'll be able to avoid the scenario of "having" to pass down ar
140.
▲
The problem with Flask async views and async globals
(sethmlarson.dev)
1 points
by
SethMLarson
5y ago
|
0 comments
141.
▲
Designing Libraries for Async and Sync I/O
(sethmlarson.dev)
2 points
by
SethMLarson
6y ago
|
0 comments
142.
▲
Why URLs Are Hard: Path Parameters and Urlparse
(sethmlarson.dev)
2 points
by
SethMLarson
6y ago
|
0 comments
143.
▲
Review of 2019 for Urllib3 – Python's Most Downloaded Package
(sethmlarson.dev)
2 points
by
SethMLarson
7y ago
|
0 comments
144.
▲
Urllib3 Python 3 downloads exceed Python 2 for first time
(twitter.com)
2 points
by
SethMLarson
7y ago
|
0 comments
145.
▲
Optimize Web Apps with HTTP/2 Header Compression
(sethmlarson.dev)
1 points
by
SethMLarson
7y ago
|
0 comments
146.
▲
Designing for Real-World HTTPS
(sethmlarson.dev)
1 points
by
SethMLarson
7y ago
|
0 comments
147.
▲
Linting as Lightweight Defect Detection for Python
(dev.to)
1 points
by
SethMLarson
9y ago
|
0 comments