--- Log opened Thu Feb 21 00:00:20 2019 | ||
-!- gf712 [560fc4e5@gateway/web/freenode/ip.86.15.196.229] has joined #shogun | 08:43 | |
-!- wiking_ [~wiking@2001:67c:10ec:5784:8000::3ff] has joined #shogun | 10:01 | |
-!- wiking_ is now known as wiking | 10:01 | |
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host] | 10:01 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 10:01 | |
-!- mode/#shogun [+o wiking] by ChanServ | 10:01 | |
@wiking | gf712: yo | 10:01 |
---|---|---|
gf712 | wiking hey | 10:02 |
@wiking | ok so i thought about this ref problem | 10:02 |
@wiking | and i think it's really safe to just have the weak_ptr or just the pure pointer there | 10:02 |
@wiking | since that object (autoinit) should be destroyed if the parent (this, that it observes) got destroyed | 10:03 |
gf712 | OK! but it's better to have weak_ptr vs pure pointer right? | 10:03 |
gf712 | yup | 10:03 |
@wiking | well it's just nicer imo | 10:03 |
@wiking | but you know | 10:03 |
gf712 | yes, I agree | 10:03 |
@wiking | you'll still have to do things like | 10:03 |
@wiking | if (ptr.expired()).... | 10:04 |
@wiking | that is something like ptr == nullptr... | 10:04 |
@wiking | so it's really just syntactic sugar :) | 10:05 |
gf712 | yes, I guess it's not too important here | 10:05 |
gf712 | just feels like using the c++ stl is better than doing it c style :D | 10:05 |
@wiking | :P | 10:06 |
gf712 | I am also writing this thing to map strings in swig to enums of classes | 10:07 |
gf712 | should be almost done | 10:07 |
gf712 | just debugging a bit | 10:07 |
gf712 | and then I push and can discuss in PR | 10:07 |
@wiking | k | 10:08 |
@wiking | one more thing | 10:08 |
@wiking | gf712: better file naming ? :) | 10:09 |
@wiking | auto_init_factory.h -> auto_initialiser.h | 10:09 |
@wiking | it's not really a factory anymore :)))0 | 10:09 |
@wiking | maybe even the namespaces is not factory anymore | 10:09 |
@wiking | but rather shogun::hyperopt | 10:09 |
gf712 | haha true | 10:09 |
@wiking | or whatever | 10:09 |
@wiking | shogun::params | 10:10 |
@wiking | dunno | 10:10 |
gf712 | yes could be params | 10:10 |
@wiking | something that more reflects what's this thing really about | 10:10 |
gf712 | hyperopt sounds too specific | 10:10 |
gf712 | I'll change things in a bit | 10:10 |
@wiking | yeah lets have like a 10 mins brainstorm in our heads | 10:10 |
@wiking | and if nothing else | 10:10 |
@wiking | then shogun::params :) | 10:10 |
@wiking | if u have better ideas lemme know | 10:10 |
gf712 | yup! | 10:11 |
@wiking | or just push it straight away :D | 10:11 |
gf712 | haha sure, I'll just test out the weak_ptr | 10:11 |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 10:32 | |
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has joined #shogun | 10:32 | |
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host] | 10:32 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 10:32 | |
-!- mode/#shogun [+o wiking] by ChanServ | 10:32 | |
gf712 | wiking I need to go now, but will be back in the afternoon. if you come up with any better names just write it on the pr | 10:38 |
@wiking | kk | 10:38 |
@wiking | ttyl | 10:39 |
gf712 | ttyl | 10:39 |
-!- gf712 [560fc4e5@gateway/web/freenode/ip.86.15.196.229] has quit [Ping timeout: 256 seconds] | 10:43 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 11:04 | |
-!- wiking [~wiking@ict-networks-195-176-113-005.fwd-v4.ethz.ch] has joined #shogun | 11:08 | |
-!- wiking [~wiking@ict-networks-195-176-113-005.fwd-v4.ethz.ch] has quit [Changing host] | 11:08 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 11:08 | |
-!- mode/#shogun [+o wiking] by ChanServ | 11:08 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 12:53 | |
-!- wiking [~wiking@ict-networks-195-176-113-005.fwd-v4.ethz.ch] has joined #shogun | 12:55 | |
-!- wiking [~wiking@ict-networks-195-176-113-005.fwd-v4.ethz.ch] has quit [Changing host] | 12:55 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 12:55 | |
-!- mode/#shogun [+o wiking] by ChanServ | 12:55 | |
-!- gf712 [560fc4e5@gateway/web/freenode/ip.86.15.196.229] has joined #shogun | 13:39 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 13:50 | |
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has joined #shogun | 13:54 | |
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host] | 13:54 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 13:54 | |
-!- mode/#shogun [+o wiking] by ChanServ | 13:54 | |
gf712 | wiking looking at making m_kernel a weak_ptr | 14:10 |
gf712 | but realised that for that need to make it shared_ptr first | 14:10 |
gf712 | is it worth it? | 14:10 |
@wiking | what do you mean? | 14:11 |
gf712 | you can't create a weak_ptr from a raw pointer | 14:11 |
gf712 | directly | 14:11 |
gf712 | you need a shared_ptr first | 14:11 |
@wiking | ah yeah | 14:11 |
@wiking | then just m_kernel == nullptr | 14:11 |
@wiking | that's all | 14:11 |
@wiking | and throw an exception | 14:12 |
gf712 | at least when the class isn't derived enable_shared_from_this | 14:12 |
gf712 | OK! | 14:12 |
gf712 | why the m_kernel == nullptr? | 14:12 |
gf712 | just as a sanity check? | 14:12 |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 14:40 | |
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has joined #shogun | 14:41 | |
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host] | 14:41 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 14:41 | |
-!- mode/#shogun [+o wiking] by ChanServ | 14:41 | |
-!- besser82 is now known as derGro | 15:00 | |
-!- derGro is now known as besser82 | 15:00 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 15:05 | |
-!- wiking_ [~wiking@2001:67c:10ec:5784:8000::3ff] has joined #shogun | 15:08 | |
-!- wiking_ [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Ping timeout: 264 seconds] | 15:13 | |
-!- wiking [~wiking@2001:67c:10ec:578e:8000::c2a] has joined #shogun | 15:16 | |
-!- wiking [~wiking@2001:67c:10ec:578e:8000::c2a] has quit [Changing host] | 15:16 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 15:16 | |
-!- mode/#shogun [+o wiking] by ChanServ | 15:16 | |
-!- wiking_ [~wiking@2001:67c:10ec:578e:8000::c2a] has joined #shogun | 16:15 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Read error: Connection reset by peer] | 16:15 | |
-!- HeikoS [5534e6ab@gateway/web/cgi-irc/kiwiirc.com/ip.85.52.230.171] has joined #shogun | 16:57 | |
HeikoS | gf712 yo | 16:57 |
HeikoS | wiking_ yo | 16:57 |
HeikoS | lisitsyn yo | 16:57 |
wiking_ | h | 17:00 |
wiking_ | here but not really | 17:00 |
wiking_ | teaching | 17:00 |
HeikoS | wiking_ ok nw | 17:04 |
-!- wiking_ [~wiking@2001:67c:10ec:578e:8000::c2a] has quit [Remote host closed the connection] | 17:10 | |
-!- wiking [~wiking@2001:67c:10ec:578e:8000::c2a] has joined #shogun | 17:13 | |
-!- wiking [~wiking@2001:67c:10ec:578e:8000::c2a] has quit [Changing host] | 17:13 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 17:13 | |
-!- mode/#shogun [+o wiking] by ChanServ | 17:13 | |
-!- gf712 [560fc4e5@gateway/web/freenode/ip.86.15.196.229] has quit [Ping timeout: 256 seconds] | 17:14 | |
-!- HeikoS [5534e6ab@gateway/web/cgi-irc/kiwiirc.com/ip.85.52.230.171] has quit [Ping timeout: 250 seconds] | 17:15 | |
-!- gf712 [560fc4e5@gateway/web/freenode/ip.86.15.196.229] has joined #shogun | 17:21 | |
-!- gf712 [560fc4e5@gateway/web/freenode/ip.86.15.196.229] has quit [Ping timeout: 256 seconds] | 17:55 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 18:08 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 18:25 | |
-!- mode/#shogun [+o wiking] by ChanServ | 18:25 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 18:29 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 18:33 | |
-!- mode/#shogun [+o wiking] by ChanServ | 18:33 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 246 seconds] | 18:38 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 19:35 | |
-!- mode/#shogun [+o wiking] by ChanServ | 19:36 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 250 seconds] | 19:40 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 20:08 | |
-!- mode/#shogun [+o wiking] by ChanServ | 20:08 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 20:13 | |
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun | 20:37 | |
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host] | 20:37 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 20:37 | |
-!- mode/#shogun [+o wiking] by ChanServ | 20:37 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 23:32 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 23:35 | |
-!- mode/#shogun [+o wiking] by ChanServ | 23:35 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 245 seconds] | 23:39 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 23:45 | |
-!- mode/#shogun [+o wiking] by ChanServ | 23:45 | |
--- Log closed Fri Feb 22 00:00:21 2019 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!