IRC logs of #shogun for Thursday, 2019-02-21

--- Log opened Thu Feb 21 00:00:20 2019
-!- gf712 [560fc4e5@gateway/web/freenode/ip.86.15.196.229] has joined #shogun08:43
-!- wiking_ [~wiking@2001:67c:10ec:5784:8000::3ff] has joined #shogun10:01
-!- wiking_ is now known as wiking10:01
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host]10:01
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun10:01
-!- mode/#shogun [+o wiking] by ChanServ10:01
@wikinggf712: yo10:01
gf712wiking hey10:02
@wikingok so i thought about this ref problem10:02
@wikingand i think it's really safe to just have the weak_ptr or just the pure pointer there10:02
@wikingsince that object (autoinit) should be destroyed if the parent (this, that it observes) got destroyed10:03
gf712OK! but it's better to have weak_ptr vs pure pointer right?10:03
gf712yup10:03
@wikingwell it's just nicer imo10:03
@wikingbut you know10:03
gf712yes, I agree10:03
@wikingyou'll still have to do things like10:03
@wikingif (ptr.expired())....10:04
@wikingthat is something like ptr == nullptr...10:04
@wikingso it's really just syntactic sugar :)10:05
gf712yes, I guess it's not too important here10:05
gf712just feels like using the c++ stl is better than doing it c style :D10:05
@wiking:P10:06
gf712I am also writing this thing to map strings in swig to enums of classes10:07
gf712should be almost done10:07
gf712just debugging a bit10:07
gf712and then I push and can discuss in PR10:07
@wikingk10:08
@wikingone more thing10:08
@wikinggf712: better file naming ? :)10:09
@wikingauto_init_factory.h -> auto_initialiser.h10:09
@wikingit's not really a factory anymore :)))010:09
@wikingmaybe even the namespaces is not factory anymore10:09
@wikingbut rather shogun::hyperopt10:09
gf712haha true10:09
@wikingor whatever10:09
@wikingshogun::params10:10
@wikingdunno10:10
gf712yes could be params10:10
@wikingsomething that more reflects what's this thing really about10:10
gf712hyperopt sounds too specific10:10
gf712I'll change things in a bit10:10
@wikingyeah lets have like a 10 mins brainstorm in our heads10:10
@wikingand if nothing else10:10
@wikingthen shogun::params :)10:10
@wikingif u have better ideas lemme know10:10
gf712yup!10:11
@wikingor just push it straight away :D10:11
gf712haha sure, I'll just test out the weak_ptr10: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 #shogun10:32
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host]10:32
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun10:32
-!- mode/#shogun [+o wiking] by ChanServ10:32
gf712wiking 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 pr10:38
@wikingkk10:38
@wikingttyl10:39
gf712ttyl10: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 #shogun11: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 #shogun11:08
-!- mode/#shogun [+o wiking] by ChanServ11: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 #shogun12: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 #shogun12:55
-!- mode/#shogun [+o wiking] by ChanServ12:55
-!- gf712 [560fc4e5@gateway/web/freenode/ip.86.15.196.229] has joined #shogun13: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 #shogun13:54
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host]13:54
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun13:54
-!- mode/#shogun [+o wiking] by ChanServ13:54
gf712wiking looking at making m_kernel a weak_ptr14:10
gf712but realised that for that need to make it shared_ptr first14:10
gf712is it worth it?14:10
@wikingwhat do you mean?14:11
gf712you can't create a weak_ptr from a raw pointer14:11
gf712directly14:11
gf712you need a shared_ptr first14:11
@wikingah yeah14:11
@wikingthen just m_kernel == nullptr14:11
@wikingthat's all14:11
@wikingand throw an exception14:12
gf712at least when the class isn't derived enable_shared_from_this14:12
gf712OK!14:12
gf712why the m_kernel == nullptr?14:12
gf712just 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 #shogun14:41
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host]14:41
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun14:41
-!- mode/#shogun [+o wiking] by ChanServ14:41
-!- besser82 is now known as derGro15:00
-!- derGro is now known as besser8215: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 #shogun15: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 #shogun15:16
-!- wiking [~wiking@2001:67c:10ec:578e:8000::c2a] has quit [Changing host]15:16
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun15:16
-!- mode/#shogun [+o wiking] by ChanServ15:16
-!- wiking_ [~wiking@2001:67c:10ec:578e:8000::c2a] has joined #shogun16: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 #shogun16:57
HeikoSgf712 yo16:57
HeikoSwiking_ yo16:57
HeikoSlisitsyn yo16:57
wiking_h17:00
wiking_here but not really17:00
wiking_teaching17:00
HeikoSwiking_ ok nw17: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 #shogun17:13
-!- wiking [~wiking@2001:67c:10ec:578e:8000::c2a] has quit [Changing host]17:13
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun17:13
-!- mode/#shogun [+o wiking] by ChanServ17: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 #shogun17: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 #shogun18:25
-!- mode/#shogun [+o wiking] by ChanServ18:25
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]18:29
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun18:33
-!- mode/#shogun [+o wiking] by ChanServ18:33
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 246 seconds]18:38
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun19:35
-!- mode/#shogun [+o wiking] by ChanServ19:36
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 250 seconds]19:40
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun20:08
-!- mode/#shogun [+o wiking] by ChanServ20: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 #shogun20:37
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host]20:37
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun20:37
-!- mode/#shogun [+o wiking] by ChanServ20:37
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]23:32
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun23:35
-!- mode/#shogun [+o wiking] by ChanServ23:35
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 245 seconds]23:39
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun23:45
-!- mode/#shogun [+o wiking] by ChanServ23: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!