00:20.06 |
*** join/#brlcad infobot
(ibot@rikers.org) |
00:20.06 |
*** topic/#brlcad is BRL-CAD
and open source CAx discussion ! Also @ http://brlcad.zulipchat.com !
Logs @ http://infobot.rikers.org/%23brlcad/ |
00:29.32 |
starseeker |
brlcad: I suppose we could just use something
from the C++11 <random> in libbu? |
00:30.26 |
starseeker |
was just thinking about how to avoid coupling
to libbn if it's libbn's job to handle random numbers, but I would
tend to agree we don't really need custom random
generators |
00:31.13 |
starseeker |
(for this use case) |
00:48.42 |
*** join/#brlcad
mpcxemcqgaegdovw
(~armin@dslc-082-083-185-246.pools.arcor-ip.net) |
02:43.34 |
brlcad |
starseeker: if you notice, I separated parsing
from sampling |
02:44.30 |
brlcad |
parsing being libbu (primarily for bu_opt) and
sampling being libbn domain |
02:45.02 |
brlcad |
so bn_color_samples() can say it calls
bn_randmt() and callers must set a seed if they care, for
example |
03:08.32 |
brlcad |
the three options I saw were to pull color API
up into libbn (adding some extension mechanism for bu_opt) or pull
random API down to libbu (redefining randomness as a basic utility)
or split the API across the two libs (path of least resistance and
change) |
05:18.36 |
*** join/#brlcad sreyanshjain
(8c70e6d5@gateway/web/freenode/ip.140.112.230.213) |
05:28.35 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
05:29.20 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
05:30.10 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
05:31.00 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
05:31.45 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
05:32.35 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
05:33.20 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
05:34.10 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
05:35.00 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
08:49.07 |
*** join/#brlcad Caterpillar
(~caterpill@unaffiliated/caterpillar) |
10:51.12 |
*** join/#brlcad raingloom
(~raingloom@C2267141.catv.pool.telekom.hu) |
11:01.43 |
*** join/#brlcad teepee
(~teepee@unaffiliated/teepee) |
12:39.18 |
starseeker |
brlcad: I guess I did see that, but I'm not
sure it feels right to split it across two libs - I'd be more
inclined to define randomness as a basic utility |
12:43.07 |
starseeker |
but I guess I can see arguments either
way |
12:43.25 |
starseeker |
certainly you can have colors without
randomness |
12:47.06 |
*** join/#brlcad yorik
(~yorik@2804:431:f720:a416:290:f5ff:fedc:3bb2) |
12:47.13 |
starseeker |
hey yorik |
12:47.37 |
yorik |
hi starseeker |
12:48.23 |
starseeker |
how's life post-release? |
12:51.06 |
yorik |
cool! starting to work again on new features,
that's always great |
12:53.46 |
starseeker |
grins -
nice! |
13:04.46 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
13:43.53 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
13:44.38 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
13:45.28 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
13:46.18 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
13:47.03 |
*** join/#brlcad kintel
(~kintel@unaffiliated/kintel) |
16:45.30 |
*** join/#brlcad raingloom
(~raingloom@C2267141.catv.pool.telekom.hu) |