Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hsivonen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
hsivonen
7y ago
> Is there a catch? No rr/Pernosco.
32.
▲
by
hsivonen
7y ago
You can add Kotlin to you app without rewriting all Java. You can add TypeScript to your app without rewriting all JavaScript. You can add Rust to your app with with rewriting all C++. Seems reasonable. That Python 2 and 3 can't co-exi
33.
▲
by
hsivonen
7y ago
It's not about how many years of warning there was. It's about making users of the language to rewrite by mandate as opposed to the new features being incrementally adoptable into existing code bases. Sure, that means there are so
34.
▲
by
hsivonen
7y ago
The Rust standard library has a solution for this that actually works: On Unix-like systems file paths are sequences of bytes and most of the time the bytes are UTF-8. On Windows, they are WTF-8, so the API users sees a sequence of bytes an
35.
▲
by
hsivonen
7y ago
> it would be extremely short sighted to allow third (incompatible) python into the mix The whole point of Tauthon is that it is compatible with Python 2 (in the direction that old programs work).
36.
▲
by
hsivonen
7y ago
> They absolutely are. In fact, python 3.9 is in the works right now, which has many new evolutions beyond 2.7. I meant compatible (in the sense that old programs keep running and you can add new stuff to old programs using the new fea
37.
▲
by
hsivonen
7y ago
In those cases, the original project lived on. Here Python 3 is the incompatible fork, but because the technical fork is done by the folks who control the name and who want to shut the old thing down, so the compatible evolution of Python 2
38.
▲
by
hsivonen
7y ago
> Unless you're suggesting that LTS enterprise support offerings should co-ordinate additional feature work on python 2, which is both unusual and again I claim actively harmful to the ecosystem. If you have a large amount of Python
39.
▲
by
hsivonen
7y ago
I'd agree if the Python core devs were still interested in evolving Python 2.x. But they aren't, so now no one else gets to do Python 2.8, either. It would be the best if the PSF provided a venue for Python 2.x development even if
40.
▲
by
hsivonen
7y ago
> For who? For users of the Python 2 language who have a lot of Python 2 code and for whom migration doesn't make cost/benefit sense on technical merits of Python 3. There's Tauthon. There's Active State's long-t
41.
▲
by
hsivonen
7y ago
> They aren't stopping people from using Python 2, the language or Python 2, the software. The effort to claim the binary name python for Python 3 is actively hostile to Python 3 and a thing that runs unmodified Python 2 unmodified
42.
▲
by
hsivonen
7y ago
Why should Guido or PSF get to tell people to stop using Python 2 even if they no longer want to work on it? It's ungraceful not to hand off maintainership on good terms to someone who wants to do the work. Imagine if Stroustrup had do
43.
▲
by
hsivonen
7y ago
> There was this assumption that Unicode code points were the correct single unit to talk about Unicode. The most messed-up thing about Python 3 is that it's supposed to be justified by doing Unicode right and they still got it wron
44.
▲
by
hsivonen
7y ago
There's a project for keeping Python 2 alive: https://github.com/naftaliharris/tauthon It's particularly uncool that Guido brought up the prospect of lawyers ( https://github.com/naftaliharris&
45.
▲
by
hsivonen
7y ago
For preservation, using self-hosted fonts is better than trusting the “Web-safe” fonts being available on the client (already not true e.g. on Android).
46.
▲
by
hsivonen
7y ago
GB18030 has no 3-byte sequences. Only 1, 2, and 4. There are more important qualities than optimizing byte length. Processing GB18030 as Unicode scalar values involves lookup tables. A single byte error cascades potentially further than in
47.
▲
by
hsivonen
7y ago
What do folks in Europe use instead of Amazon.de for computer parts for a few years old computers and accessories that are not the most common ones?
48.
▲
by
hsivonen
7y ago
For writing globally appropriate software, UTF-8 is the best option that exists in practice. Note that “Asian” is quite a gamut in terms of UTF-8 size: Chinese is at the very compact end of the spectrum and the Burmese script at the other e
49.
▲
by
hsivonen
7y ago
Danske had some _really bad_ technical ideas: https://hsivonen.fi/sampo-epic-multifail/
50.
▲
by
hsivonen
7y ago
Does there exist an effort encapsulate WireGuard in HTTP/3 or, when UDP is blocked, in HTTP/2?
51.
▲
by
hsivonen
7y ago
This is not an independent implementation, though.
52.
▲
by
hsivonen
7y ago
Also, m68k has been proposed for removal from GCC. (Dunno what actually happened.)
53.
▲
by
hsivonen
7y ago
Considering that it's more difficult to install upstream GCC than it is to install upstream rustc, there's ample opportunity for the distro snapshot that users would see to fall behind.
54.
▲
by
hsivonen
7y ago
AFAICT, CERT-Bund (the German CERT) believes what Shadowserver tells them. When CERT-Bund makes a request onward ,it looks more official, but I don't believe any more actual vetting happens.
55.
▲
by
hsivonen
7y ago
I have been at the receiving end of German authorities reporting an uninfected server of mine to the hosting company as Avalanche-infected based on Shadowserver information. It was unpleasant, particularly because it happened a day before a
56.
▲
by
hsivonen
7y ago
At least as of a couple of years ago, Shadowserver could accuse you of botnet participation on such flimsy evidence that it was way too easy to frame someone else as being a botnet participant. I don't want to give ideas how, but it ha
57.
▲
by
hsivonen
7y ago
It's nice to say that catching bugs earlier is better. But what if that time is long gone? Lately, I've used Pernosco to debug my changes to a multi-process-relevant decade-old part of two-decade-old codebase, which was single-pro
58.
▲
by
hsivonen
7y ago
To print to an AirPrint printer over LAN from Android, one needs to install the Google Cloud Print apk from Play Store. (I witnessed just this week that it didn't work on a newly set up Android One device running Android 9 before insta
59.
▲
by
hsivonen
7y ago
How do they extract the site category data from browsers? What side effects on browser behavior, if any, does the methodology have?
60.
▲
by
hsivonen
7y ago
Personally, I think it's great that Rust places radical limits on ISA and C ABI like octet addressing, two's complement integers, and size of bool being 1. What non-octet-addressing DSPs do you find to be important these days and
More ›