Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
plonk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
plonk
3y ago
The problem with SWIG bindings I’ve used is that they don’t have any type hints. They also don’t offer context managers to handle resources, so it’s a pain to use safely in Python. From the user POV, the best bindings I’ve seen were wrapper
92.
▲
by
plonk
3y ago
I think it doesn’t have a choice in downloading all versions if they use a setup.py config file. You have to get the sources to run it and get the package’s metadata.
93.
▲
by
plonk
3y ago
My situation: small team with around 10 simultaneous projects at any one time, all depending on a framework that we use for tons of different things. Everyone is constantly modifying the same parts of the code because that’s where the featu
94.
▲
by
plonk
3y ago
What did they use? A GitHub Action that runs on PRs and creates other PRs with merged changes?
95.
▲
by
plonk
3y ago
Small-ish orgs with finite money can use the free tier if they don’t see a point.
96.
▲
by
plonk
3y ago
OK, thank you.
97.
▲
by
plonk
3y ago
So does each new PR start new tests that will supersede the previous PR’s tests? If one PR’s tests fail, does it block all PRs behind it in the queue? I’ve read docs several times and never found them very clear about the details.
98.
▲
by
plonk
3y ago
> But you can deprecate and remove old features without causing a decade of misery like Python did. You just need good language support for knowing which version of the language a given file is targeting, good static typing support, and
99.
▲
by
plonk
3y ago
Shouldn't be that hard if you have the tools to open it?
100.
▲
by
plonk
3y ago
My experience was on a Dell XPS 15 from ~2018, up to Ubuntu 20.04. Maybe they got better just when I switched to macOS. :)
101.
▲
by
plonk
3y ago
> maybe if nvidia optimus is at play? In this case Windows is the only sane choice (at least based on my experience from 2 years ago). After a lot of reading random docs, I got to a point where I could stop the GPU from eating the batter
102.
▲
by
plonk
3y ago
Binary wheels are just archives, I don't see differences in the way they install between different systems. Source wheels that contain C/C++ code are so annoying to install on Windows that we don't use them. But most packages
103.
▲
by
plonk
3y ago
We do it like this: - configure the project with pyproject.toml, - use pip-compile (from the pip-tools package) to create a lockfile, - commit the lockfile into git, - whenever we want to update the dependencies, do it through pip-compile a
104.
▲
by
plonk
3y ago
> better engineered "iphone/ipod" products existed that got destroyed by apple Do you mean Nokia's phones?
105.
▲
by
plonk
3y ago
I got some good results from web.archive.org. Some subs like r/MechanicalKeyboards seem to be archived almost entirely.
106.
▲
by
plonk
3y ago
Reddit's profits seem to have exploded along with its awful redesigns, see [1] and [2]. [1] https://techcrunch.com/2015/02/18/reddit-charity/ [2] https://www.theinformation.com/artic
107.
▲
by
plonk
3y ago
I want the ads to be clearly labelled and only accessible when I've asked for them. Wasn't that the idea of Google AdWords? Show people results ranked by relevance, and insert a few related sponsored products at the beginning wi
108.
▲
by
plonk
3y ago
Could you maybe have deleted the unit tests and written new ones based on the new code to be safe? After all you know that the new behavior is good.
109.
▲
by
plonk
3y ago
Is there a writeup about how they work? Is there a message broker server that the browser stays connected to?
110.
▲
by
plonk
3y ago
Probably not at UV index 6+. Get your sun in the morning or late afternoon before the sun becomes too violent.
111.
▲
by
plonk
3y ago
But you said they hired 1 person out of a class of 20? Obviously the few who get in can't ask for a high salary with that many candidates per position.
112.
▲
A leak of files could be America’s worst intelligence breach in a decade
(economist.com)
4 points
by
plonk
4y ago
|
0 comments
113.
▲
by
plonk
4y ago
Argument parsing with argparse is a bit more tedious than click, and the "requests" dependency is very practical for HTTP requests. You could need a YAML parser...
114.
▲
Are Black Hole Starships Possible?
(arxiv.org)
1 points
by
plonk
4y ago
|
0 comments
115.
▲
by
plonk
4y ago
Does anyone seriously believe the US military is forcing the world to use dollars? What’s the leverage? Does France get invaded if the Euro becomes too important?
116.
▲
by
plonk
4y ago
> The only way this could be true is if Google has more than one AI division Google Brain and Deepmind? Not sure about the "no comm" part, but their HQs are in different countries.
117.
▲
SHA-1 collision detection on GitHub.com (2017)
(github.blog)
1 points
by
plonk
4y ago
|
0 comments
118.
▲
by
plonk
4y ago
The AH isn’t saying that a comment is too harsh, it’s saying that the commenter has anger problems and should do something about them. It’s uncalled for and condescending. I don’t see a reason to say that besides trying to make someone an
119.
▲
by
plonk
4y ago
> No, the AP and the device both have a strong interest to limit the power used: not just to limit interference with other devices inside the home, but also to increase battery life!! For home routers this is a weak argument. Since most
120.
▲
by
plonk
4y ago
The parent is too harsh with that tweet but it's not an ad hominem. You're allowed to hate things. I also hate the same thing they're talking about, I just don't think the OP deserves to be described this way.
More ›