Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
uranusjr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
181.
▲
by
uranusjr
6y ago
It’s often better to have something you may not need than have not something you may need, especially for projects you intend to grow, iterate on, and possibly pivot. If my experience has taught me anything, I can never assume what I don’t
182.
▲
by
uranusjr
6y ago
Uh, how do you plan to use FastAPI while avoiding type hints?
183.
▲
by
uranusjr
6y ago
It was not, although they are indeed considerably less different from 2 to 3 and easier to migrate.
184.
▲
by
uranusjr
6y ago
Most likely, some will rename the command and some will not, causing more pain for everyone :(
185.
▲
by
uranusjr
6y ago
“Pidgin Python” is such an apt term, why am I only seeing it when it is no longer relevant!
186.
▲
by
uranusjr
6y ago
I don’t have much to add but Python maintainers have been suggesting solutions like this for years, and IIUC Red Hat distros use a similar approach you described. Debian devs refuse to bulge, like they always do on many topics, for better
187.
▲
by
uranusjr
6y ago
Parent was talking about WSL1, which didn’t do this either.
188.
▲
by
uranusjr
6y ago
Speaking as a Taiwanese, this “we are deeply sorry” stuff is standard PR template used by most corps here. They don’t mean it and we know they don’t, but they always include it anyway and everyone reading automatically skips the opening par
189.
▲
by
uranusjr
6y ago
One important consideration is how you’d get contributors. The vast majority of a language tool’s users would be most proficient in that particular language, and using that same language maximises the project’s sustainability. Tools impleme
190.
▲
by
uranusjr
6y ago
You’re correct, Conda does not call pip when it installs packages. But pip does have a subtle involvement here: Many Python packages available to Conda are packaged based on installations made by pip, and (IMO lazily and incorrectly) inheri
191.
▲
by
uranusjr
6y ago
Every language community has its own priorities, and the package manager grows different traits to meet community needs. Those traits would come at a price, and different comunnities (and their package managers) would make different tradeof
192.
▲
by
uranusjr
6y ago
> If your package does not build on the latest version of R, it becomes unavailable. Wow. This would definitely make packaging much much easier, and it’s so cool R is able to do this. I can’t imagine how angry people would get if Python
193.
▲
by
uranusjr
6y ago
There are a few of those as well, see https://pip.pypa.io/en/latest/ux_research_design/
194.
▲
by
uranusjr
6y ago
`contextlib.suppress(BaseException)` is possible if you really want to (although both this and the bare except clause should be avoided anyway).
195.
▲
by
uranusjr
6y ago
It’s quite likely Apple still wants Python.framework to be available (which is not deprecated) and it’s easier to upgrade the whole thing.
196.
▲
by
uranusjr
6y ago
I can imagine many existing tools still rely on the commands being directly accessible on PATH, and Apple may be reluctant to break them outright even that’s the goal. They are declared deprecated so people would refrain from using them for
197.
▲
by
uranusjr
6y ago
Apple deprecated direct access to system-provided interpreter installations, which is a good thing. Interpreter support was not and will not be a problem, the implication of the deprecation is you should install your own copy of those inter
198.
▲
by
uranusjr
6y ago
For confused people clicking the article like myself: This is not about hair colour. Title means “hairstyle commonly worn in Black communities.”
199.
▲
by
uranusjr
6y ago
Reminds me of a popular Japanese service called Marshmallow (マシュマロ), used widely by quasi-popular people such as YouTubers. The idea of anonymous feedback services has been around for quite a while (I believe Marshmallow is the first and mo
200.
▲
by
uranusjr
6y ago
Ditto. Elections in the US are run so inefficiently, it’s not the tech, but the people running them. I doubt tech would make a difference unless they also drastically change the people running those high tech machines.
201.
▲
by
uranusjr
6y ago
I did not imply the innovation is worthless. That’s exactly how innovation should work, it is as valuable to prove something does not work as come up with something that does. But that value is only meaningful if others learn from that. In
202.
▲
by
uranusjr
6y ago
Trust me, you really don’t, I’m speaking in a country that did see much of the tech get adopted (Taiwan). I get how the method can be intriguing from a casual glance (I was like this when it started), but that quickly wore off when the whee
203.
▲
by
uranusjr
6y ago
Because you have the code, and why not? The same mentality as everyone sharing mp3 online back in the day.
204.
▲
by
uranusjr
6y ago
Didn’t the original Go creators mention on multiple occasions they intended to build a replacement to C, only accidentally produced an application language? Assuming that’s true, Go would have happened regardless. Google couldn’t have pulle
205.
▲
by
uranusjr
6y ago
That led me to this comment that embodies the modern Chinese war-wolf mentality: > annie还未活跃到令它们注意的地步,没事 (Rough translation: annie is not yet as active to get noticed, don’t worry)
206.
▲
by
uranusjr
6y ago
I believe the trick is to anticipate failure, and call out the normal thing instead. So you’d always slow down at every light, and only speed back up after calling out green. This is what all drivers are actually supposed to do, although I
207.
▲
by
uranusjr
6y ago
There’s a constantly swinging pendulum between “one tool to rule it all” and “bring your own tool.” Newcomers to an ecosystem get tired learning all the accumulated toolchain and want to build a thing to solve every problem. But it is alway
208.
▲
by
uranusjr
6y ago
That’s discrimination.
209.
▲
by
uranusjr
6y ago
Yes.
210.
▲
by
uranusjr
6y ago
Chinese elderly have pensions, and they do cover health care etc. But the extremely rapid economic growth in the past decades means they have no chance to cover living cost today.
More ›