Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
whyever
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
whyever
1y ago
How often do you care about the order in which objects are dropped?
32.
▲
by
whyever
1y ago
Do you mean solar energy sources? Wind turbines have plenty of "spinning mass"...
33.
▲
by
whyever
2y ago
Using more than one Github account violates their ToS though.
34.
▲
by
whyever
2y ago
Who is going to pay the devs?
35.
▲
by
whyever
2y ago
Are you suggesting end-to-end encryption? Telecom providers have to implement "lawful intercept" interfaces to comply with the law in many jurisdictions.
36.
▲
by
whyever
2y ago
It uses pyo3 to generate the bindings, so you would have to find a similar crate for F#/.NET and port the polars Python FFI to it. If such a crate does not exist, it will be even more work.
37.
▲
by
whyever
2y ago
Except for Vienna.
38.
▲
by
whyever
2y ago
Open Source works best for building blocks of software, not for end products. Companies have incentives to share their libraries and tooling, not so much for the final product like a CAD program.
39.
▲
by
whyever
2y ago
Not sure what you mean by "sourced through the employer". Usually you need to have enough qualification and a job offer to apply for a work visa that is bound to the employing company for two years. Switching jobs requires reapply
40.
▲
by
whyever
2y ago
I don't think this is the same. Does it also cover transitive dependencies?
41.
▲
by
whyever
2y ago
Not all potential null dereferences are covered by the verifier, they even give an example where the rule is not triggered, but null may be dereferenced by the code.
42.
▲
by
whyever
2y ago
Analog astronauts are already doing this.
43.
▲
by
whyever
2y ago
This sounds like you are saying colonialism was a success story?
44.
▲
by
whyever
2y ago
I don't think you can define the reals as a mapping from natural numbers, reals are famously not countable.
45.
▲
by
whyever
2y ago
I think there is a component of memorizing solutions. For example, for mathematical proofs there is a set of standard "tricks" that you should have memorized.
46.
▲
by
whyever
2y ago
In Monte Carlo simulations you usually don't care about predictability (so using a non-CSPRNG is fine), but statistical bias may compromise your results. But I agree that a CSPRNG should be the default.
47.
▲
by
whyever
2y ago
You will still get better results when avoiding the bias, even with a non-CSPRNG. Their bias is much smaller. Avoiding the division can be faster, especially if you sample many numbers from the same range. But it depends on the use case.
48.
▲
by
whyever
2y ago
You can calculate the probabilities and expected number of collisions analytically, but evaluating the expressions numerically is tricky for large numbers. I can recommend https://herbie.uwplse.org/ to rewrite the expressio
49.
▲
by
whyever
2y ago
Nowadays, your operating system has a dedicated API for providing randomness (e.g. `getrandom` on Linux), so you would just use that to seed your RNG. Using the time is questionable, because an adversary can often estimate when the RNG was
50.
▲
by
whyever
2y ago
Don't use a non-CSPRNG if you worry about adversaries. CSPRNGs are only ca. 10 times larger and roughly as fast if you can use SIMD. According to [1], you only need 4 outputs to predict xoshiro. Predicting PCG is a bit more difficult,
51.
▲
by
whyever
2y ago
I don't think GDPR is that different in that regard, you also have to minimize access to PII within the organization. See Article 25: > The controller shall implement appropriate technical and organisational measures for ensuring th
52.
▲
by
whyever
2y ago
AFAIK, even using a UUID is still considered PII if it uniquely identifies the user.
53.
▲
by
whyever
2y ago
Please don't use % to generate integers from a range, it's not uniform, which can be disastrous if you rely on your numbers not being predictable. You can use crypto.randomInt instead.
54.
▲
by
whyever
2y ago
They say it's twice as fast/cheap, which might matter for your use case.
55.
▲
by
whyever
2y ago
> Without one any language's type system will feel more frustrating than it's worth, since you won't get inline error messages either. I disagree, for me the integration with the editor mostly shortens feedback cycles, and
56.
▲
by
whyever
2y ago
Rust also has traits, and no struct inheritance. I think it works quite well.
57.
▲
by
whyever
3y ago
My guess: If you run the benchmark several times, the OS will cache the file in RAM.
58.
▲
by
whyever
3y ago
That's a known problem and somewhat mitigated by symengine: https://github.com/symengine/symengine
59.
▲
by
whyever
3y ago
Why are you calculating the Jacobian symbolically? AFAIK, for complex cases, the numerical Jacobian is often faster / more numerically stable.
60.
▲
by
whyever
3y ago
Not sure what you mean with GUI, but you can use it with Jupyter notebooks.
More ›