Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rtu8lu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
rtu8lu
11mo ago
Not really. There are many ways depending on your needs. For example, you can partition your space first, then generate randomly inside each of the subspaces. Let's say I need 200 numbers from -1000 to 999. The first range will be 0 to
2.
▲
by
rtu8lu
11mo ago
When you generate randomized data in an order from the simplest to the most complex.
3.
▲
by
rtu8lu
11mo ago
Great project. I used it a lot, but now I mostly prefer ad hoc generators. Hypothesis combinators quickly become unmaintainable mess for non-trivial objects. Also, shrinking is not such a big deal when you can generate your data in a comple
4.
▲
by
rtu8lu
6y ago
I have something like this in my overlays.nix: self: super: let callPackage = super.callPackage; in { darktable = callPackage ./pkgs/darktable { inherit (super) darktable; }; } And my default.nix in p