Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
plonk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
271.
▲
by
plonk
4y ago
Instead there's a scary deprecation warning when a package uses setup.cfg, which is another declarative replacement for setup.py. And some pyproject.toml features are still experimental per the setuptools docs, so I'm not sure whi
272.
▲
by
plonk
4y ago
There will be a `tomllib` in Python 3.11: https://docs.python.org/3.11/library/tomllib.html
273.
▲
by
plonk
4y ago
You don't need a separate image. You can run a script to install a rootless systemd service that starts the Docker daemon. You just point the Docker client to that rootless daemon's socket and do things as before. You'll need
274.
▲
by
plonk
4y ago
Does that job involve constant creativity, or is it more about applying existing knowledge? I have no idea, but the amount of knowledge that law students need to cram in a few years makes me think it's a lot of the latter.
275.
▲
by
plonk
4y ago
> The bet on "everything is an object" was a honest and competent one, but unfortunately it didn't work. "Everything is a file" works better on practice. With the right interface, the object approach can be more
276.
▲
by
plonk
4y ago
The PyTorch wheel comes with its own CUDA DLLs, they can’t be shared with other libraries but they won’t be your problem to install that way.
277.
▲
by
plonk
4y ago
We do a lot of deep learning and image processing and pip works much better for us. PyTorch makes wheels that contain all reauired DLLs on all systems. Maybe conda isn’t needed anymore.
278.
▲
by
plonk
4y ago
> I know someone whose mother constantly tells her that she is a dumb failure because she didn't go to Harvard (she went to Stanford). Sounds like the parent has some self-esteem issues she needs to offload.
279.
▲
by
plonk
4y ago
From what I've read the UCs are above-average state schools though. Doesn't UCSD rank just below UCLA and Berkeley?
280.
▲
by
plonk
4y ago
Wasn’t the Skyfall speech about the need for human intelligence, and precisely against the officials who want to replace it with mass surveillance?
281.
▲
by
plonk
4y ago
> It emits about 4% of greenhouse gases [...] But the volume itself is not meaningful - the gases used by AC units are extremely powerful - up to 750 times the greenhouse effect of CO2. Do AC units emit these gases? Aren't you mix
282.
▲
by
plonk
4y ago
> constantly rebuilding from massive dependency trees and all the other inefficiencies we put up with because it takes less dev effort that way and our performance budgets are being met either way I've been trying to minimise redund
283.
▲
by
plonk
4y ago
Fundamentally, it has smart pointers and std::make_unique now, which means I never have to touch a raw pointer in most of my code. They can even be adapted to wrap Win32 objects. That's a huge improvement and I don't mind using C+
284.
▲
by
plonk
4y ago
That's true but a black Chinese citizen probably won't have a chance for a long time either.
285.
▲
by
plonk
4y ago
> Two out of those three countries have never invaded outside countries If you consider Taiwan a country, that's technically true but misleading. China would have invaded long ago if the US weren't capable or (claiming to be) w
286.
▲
by
plonk
4y ago
Is there a jury here? It's copyright, not a murder.
287.
▲
by
plonk
4y ago
All we do is ML and image processing. We use huge libraries like PyTorch, ones with insane packaging like OpenCV, and things are so stable I haven’t felt the need to introduce version pinning yet. Maybe you’re using recent less-stable proje
288.
▲
by
plonk
4y ago
> My time and the time of my peers is too valuable to be debugging minor incompatibilities between a library 5 layers down the transitive dependency stack because versions aren’t pinned. It’s too important that if I go back to a 3 year o
289.
▲
by
plonk
4y ago
Venv, yes. My Dockerfile's build stage creates a venv and installs all our dependencies (some of which need compilers because they are source wheels that need to link with C++ libraries). Then I copy the venv over to the release stage
290.
▲
by
plonk
4y ago
I just use venv but don’t fix dependencies. We often develop new packages and fixing every dependency’s version sounds like unnecessary effort. With sensibly written setup.cfg files, we just “pip install” all our packages with no issues. Pi
291.
▲
by
plonk
4y ago
Isn't that the same as adding version constraints to setuptools' setup.cfg? [1] pip will use these in its dependency resolver. You can also constrain the Python version in there if you want. [1] https://setuptools.pypa.
292.
▲
by
plonk
4y ago
You say that like it’s natural that Tesla’s success makes billions flow to the one person at the top. Musk obviously isn’t making cars and managing the entire company by himself and doesn’t deserve to be richer than literal countries for ma
293.
▲
by
plonk
4y ago
I wanted to use Julia for some experiments but it's so confusing. I would call a function with VSCode and get "potential function call error" or something, with no details. Is it valid or not? Also, I hate the idea of re-buil
294.
▲
by
plonk
4y ago
It's not that hard, we have compute-intensive servers running 24/7 in production and written entirely in Python on our side, using C++ libraries like PyTorch. You just have to isolate the complicated parts, define sensible interfa
295.
▲
by
plonk
4y ago
Pickle isn't transparent though, custom objects that wrap files or database sessions need to override serialization. The ProcessPoolExecutor is nice but shouldn't be necessary.
296.
▲
by
plonk
4y ago
> That's my point. Can we make the cost and time lengthe of a successful attack to be too expensive. What's the use of a peg that is likely to break after one year though? Symmetric ciphers are basically a solved problem until
297.
▲
by
plonk
4y ago
Getting grammar and spelling right makes for text that's much easier to read. Helping people remember these things is positive.
298.
▲
by
plonk
4y ago
> AES-256 is doomed to fail, but we have made the chance of failure miniscule That doesn't make sense. AES makes the cost and time length of a successful attack too expensive to be worth attempting. It's very successful in that
299.
▲
by
plonk
4y ago
You said: > Early last year I was getting 2% per month on USDC/DAI and about 1% per month on USDC/EURS. Even today one can get a lot more than you'd get on a savings account. I don't understand why you compared USDC&#
300.
▲
by
plonk
4y ago
> a company like FedEx is already pretty far out on the X axis AWS and Azure probably run hundreds of Fedex-sized clouds and it's their core business. I don't think Fedex is very far compared to them.
More ›