00:19.06 |
*** join/#brlcad infobot
(ibot@rikers.org) |
00:19.06 |
*** topic/#brlcad is BRL-CAD
and open source CAx discussion ! Also @ http://brlcad.zulipchat.com !
Logs @ http://infobot.rikers.org/%23brlcad/ |
10:52.34 |
*** join/#brlcad teepee
(~teepee@unaffiliated/teepee) |
11:59.43 |
*** join/#brlcad teepee
(~teepee@unaffiliated/teepee) |
12:51.09 |
*** join/#brlcad raingloom
(~raingloom@C2267141.catv.pool.telekom.hu) |
13:23.30 |
*** join/#brlcad yorik
(~yorik@2804:431:f720:fbff:290:f5ff:fedc:3bb2) |
14:48.51 |
*** join/#brlcad Caterpillar2
(~caterpill@unaffiliated/caterpillar) |
15:12.46 |
*** join/#brlcad sreyanshjain
(8c70e6d5@gateway/web/freenode/ip.140.112.230.213) |
15:28.30 |
*** join/#brlcad sreyanshjain
(8c70e6d5@gateway/web/freenode/ip.140.112.230.213) |
15:43.49 |
*** join/#brlcad sreyanshjain
(8c70e6d5@gateway/web/freenode/ip.140.112.230.213) |
16:54.29 |
*** join/#brlcad raingloom
(~raingloom@C2267141.catv.pool.telekom.hu) |
18:20.09 |
*** join/#brlcad LordOfBikes
(~armin@dslb-178-007-230-248.178.007.pools.vodafone-ip.de) |
21:18.48 |
*** join/#brlcad witness_
(uid10044@gateway/web/irccloud.com/x-rxuhfdcuqgtjhdrq) |
22:13.32 |
brlcad |
starseeker: I was thinking that the randomness
would be defined by the sample method -- e.g., if it used bn_randmt
internally, then you could call bn_randmt's seed function to
reproduce a given sequence of colors |
22:13.45 |
*** join/#brlcad yorik
(~yorik@2804:431:f720:fbff:290:f5ff:fedc:3bb2) |
22:15.25 |
brlcad |
is there really a use case that really begs
for custom random number generators? I was aiming for API
simplicity over flexibility (note there's not even a way to specify
h/s/v parameters -- they're embedded into predefined methods we
find useful) |
22:17.32 |
brlcad |
if we need more flexibility, I'd use a
different API pattern -- instead of optional args that might rarely
get used, I'd make it context-based where you specify parameters
and "evaluate/compile/commit" the context |
22:18.01 |
brlcad |
I can write up what those same examples might
look like with that pattern this weekend |
22:51.45 |
*** join/#brlcad yorik
(~yorik@2804:431:f720:a416:290:f5ff:fedc:3bb2) |
22:55.52 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |