IRC logs of #shogun for Monday, 2019-01-21

--- Log opened Mon Jan 21 00:00:37 2019
-!- anirudh [6725c94f@gateway/web/freenode/ip.103.37.201.79] has quit [Ping timeout: 256 seconds]00:25
-!- saurabh7 [~saurabh7@106.51.18.183] has joined #shogun00:44
-!- saurabh7 [~saurabh7@106.51.18.183] has quit [Ping timeout: 240 seconds]00:48
-!- saurabh7 [~saurabh7@106.51.18.183] has joined #shogun01:25
-!- saurabh7 [~saurabh7@106.51.18.183] has quit [Ping timeout: 268 seconds]01:30
-!- saurabh7 [~saurabh7@106.51.18.183] has joined #shogun02:57
-!- saurabh7 [~saurabh7@106.51.18.183] has quit [Ping timeout: 244 seconds]03:01
-!- saurabh7 [~saurabh7@106.51.18.183] has joined #shogun03:44
-!- tangy [491d7f98@gateway/web/freenode/ip.73.29.127.152] has joined #shogun04:06
-!- tangy [491d7f98@gateway/web/freenode/ip.73.29.127.152] has quit [Quit: Page closed]04:24
-!- saurabh7 [~saurabh7@106.51.18.183] has quit [Ping timeout: 250 seconds]04:48
-!- saurabh7 [~saurabh7@106.51.18.183] has joined #shogun04:49
-!- saurabh7_ [~saurabh7@106.51.18.183] has joined #shogun04:53
-!- saurabh7 [~saurabh7@106.51.18.183] has quit [Read error: Connection reset by peer]04:53
-!- saurabh7_ [~saurabh7@106.51.18.183] has quit [Remote host closed the connection]05:40
-!- saurabh7 [~saurabh7@106.51.18.183] has joined #shogun06:06
-!- saurabh7 [~saurabh7@106.51.18.183] has quit [Ping timeout: 245 seconds]06:10
-!- saurabh7 [~saurabh7@111.93.133.226] has joined #shogun06:40
-!- saurabh7 [~saurabh7@111.93.133.226] has quit [Remote host closed the connection]07:10
-!- saurabh7 [~saurabh7@111.93.133.226] has joined #shogun07:39
-!- saurabh7_ [~saurabh7@111.93.133.226] has joined #shogun08:51
-!- saurabh7 [~saurabh7@111.93.133.226] has quit [Read error: Connection reset by peer]08:51
-!- gf712_ [90520892@gateway/web/freenode/ip.144.82.8.146] has joined #shogun08:55
-!- gf712_ [90520892@gateway/web/freenode/ip.144.82.8.146] has quit [Ping timeout: 256 seconds]08:59
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has joined #shogun12:34
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has quit [Ping timeout: 264 seconds]12:50
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has joined #shogun13:10
heytitlehi, do you know where I can see the latest benchmark results for Shogun's algorithms?13:11
heytitlehttp://www.mlpack.org/benchmark.html doesn't seem working properly.13:11
-!- saurabh7 [~saurabh7@111.93.133.226] has joined #shogun13:39
-!- saurabh7_ [~saurabh7@111.93.133.226] has quit [Read error: Connection reset by peer]13:39
-!- saurabh7 [~saurabh7@111.93.133.226] has quit [Remote host closed the connection]13:57
-!- saurabh7 [~saurabh7@111.93.133.226] has joined #shogun13:57
-!- saurabh7 [~saurabh7@111.93.133.226] has quit [Remote host closed the connection]13:58
-!- saurabh7 [~saurabh7@111.93.133.226] has joined #shogun14:09
-!- durovo [~durovo@79.73.2ea9.ip4.static.sl-reverse.com] has joined #shogun14:10
-!- durovo1 [~durovo@be.cd.3ea9.ip4.static.sl-reverse.com] has quit [Remote host closed the connection]14:10
-!- HeikoS [5aae0420@gateway/web/cgi-irc/kiwiirc.com/ip.90.174.4.32] has joined #shogun14:15
-!- mode/#shogun [+o HeikoS] by ChanServ14:15
@HeikoSgf712 yoyo14:15
@HeikoShow are things?14:16
gf712hey, all good14:21
gf712what about you?14:21
gf712working on a parameter getter for c++ sgobject14:22
gf712btw, do you know how to debug python exceptions with gdb?14:30
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has quit [Remote host closed the connection]14:31
gf712I only know how to backtrace segfaults..14:31
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has joined #shogun14:31
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has quit [Ping timeout: 250 seconds]14:36
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has joined #shogun14:36
@HeikoSgf712 all good here as well14:38
@HeikoSgf712 nice! I like the idea of hiding all the non-c++ stuff from libshogun and only have it as part of the swig interface14:38
@HeikoSgf712 what do you mean with debugging python exceptions? I usually use pdb if I wanna look/step through python code14:38
@HeikoShas a similar interface to gdb and you can set breakpoints in python code14:39
@HeikoSI used that to find segfaults before, but not very systematic :)14:39
gf712as in get the C code line that causes issues14:39
@HeikoSyou wanna see what C code raises an exception that is received by Python?14:40
@HeikoSnot sure that is possible as expections are somehow dealt with by swig or?14:40
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has quit [Ping timeout: 272 seconds]14:40
gf712hmm, true. I was trying to extract AnyParameter from a reference_wrapper and it's causing issues14:41
gf712But the only exception I get is a MemoryAllocation issue14:42
gf712which makes it a bit difficult to debug14:42
gf712Anyway, I am testing it directly on C++ now14:42
gf712and it turns out that using reference_wrappers is more difficult than I thought :D14:43
gf712When I get the dereferenced value from std::reference_wrapper and access Any methods I get a segfault14:44
@HeikoSmmmh14:54
@HeikoSstrange14:55
@HeikoSWithout a gdb I wouldnt know what to do14:55
gf712OK, it seems like I am getting an error from other.policy->policy_type() in src/shogun/lib/any.h:96314:59
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has joined #shogun14:59
gf712I am not sure what happens when any is wrapped in a reference_wrapper14:59
gf712but it seems to cause issues..15:00
@HeikoSmmmh15:00
@HeikoSmight be worth to ask lisitsyn15:01
@HeikoS(if he is around)15:01
gf712but then I can't reproduce it when I try out a minimal example15:02
gf712anyway, I must have messed up something somewhere15:02
gf712Should have something to start a PR by the end of the day15:02
@HeikoScool looking forward to it15:03
@HeikoSI am editing GSoC pages15:08
gf712Yup, I am having a look now15:09
gf712I'll try and come up with stuff that needs work15:09
gf712it would be cool to have something like the getter I added in Python but with the other interfaces15:09
wuwei[m]HeikoS: I created an issue documenting the custom exceptions usage15:16
@HeikoSwuwei[m] nice! can you link it in the gsoc project page?15:16
@HeikoSwuwei[m] maybe you can also describe the background of this a bit more in the issue. Otherwise students will be confused :D15:17
wuwei[m]okay15:17
@HeikoSwuwei[m] I just updated the wiki page a bit more15:26
@HeikoSwill leave it as it is for now15:26
@HeikoSbut feel free to add/change stuff15:26
-!- saurabh7 [~saurabh7@111.93.133.226] has quit [Read error: Connection reset by peer]15:28
-!- saurabh7 [~saurabh7@111.93.133.226] has joined #shogun15:28
wuwei[m]HeikoS: updated the issue15:28
@HeikoSmerci15:28
gf712HeikoS btw everything is working fine now for the getter in the c++ side15:37
@HeikoSsweet15:37
@HeikoScan you push the stuff?15:37
@HeikoSyou can use "***NO_CI***" in the commit msg if you wanna skip the build15:38
@HeikoSwhich is good practice if something is not ready yet15:38
gf712sure! is it worth returning a map with Basetag as keys, or is std::string of the name enough?15:41
@HeikoSgf712 what do you mean exa tly?15:52
-!- saurabh7 [~saurabh7@111.93.133.226] has quit [Remote host closed the connection]15:54
gf712HeikoS I mean for the getter of self.map in SGObject, do I return a std::map<Basetag, AnyParameter> or a std::map<std::string, AnyParameter>15:56
gf712Where AnyParameter is a reference15:56
@HeikoSah I see15:56
@HeikoSehm15:56
@HeikoSnot sure15:56
@HeikoSwhat do you need for later?15:57
@HeikoSthe least confusing choice15:57
@HeikoSnot sure15:57
@HeikoSwe can change it later as well15:57
gf712for the interfaces I think just the string is enough15:57
gf712OK, let's go with std::string for now otherwise I need to recompile it with Basetag :p15:57
@HeikoSyes16:01
-!- heytitle_ [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has joined #shogun16:08
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has quit [Read error: Connection reset by peer]16:08
-!- HeikoS [5aae0420@gateway/web/cgi-irc/kiwiirc.com/ip.90.174.4.32] has quit [Ping timeout: 246 seconds]16:22
-!- heytitle_ [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has quit [Ping timeout: 245 seconds]17:35
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has joined #shogun17:52
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has quit [Remote host closed the connection]18:02
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has joined #shogun18:02
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has quit [Ping timeout: 250 seconds]18:07
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has joined #shogun18:13
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has quit [Remote host closed the connection]18:13
-!- gf712 [8028b333@gateway/web/freenode/ip.128.40.179.51] has quit [Quit: Page closed]18:24
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has joined #shogun20:00
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has quit [Remote host closed the connection]20:04
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has joined #shogun20:04
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has quit [Ping timeout: 272 seconds]20:09
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has joined #shogun20:14
-!- heytitle [~heytitle@client-141-23-182-42.wlan.tu-berlin.de] has quit [Ping timeout: 246 seconds]20:18
-!- saurabh7 [~saurabh7@106.51.18.183] has joined #shogun20:50
-!- heytitle [~heytitle@ip5b4171a6.dynamic.kabel-deutschland.de] has joined #shogun22:03
-!- heytitle [~heytitle@ip5b4171a6.dynamic.kabel-deutschland.de] has quit [Ping timeout: 246 seconds]22:07
-!- heytitle [~heytitle@91.65.113.166] has joined #shogun22:09
-!- heytitle [~heytitle@91.65.113.166] has quit []23:51
--- Log closed Tue Jan 22 00:00:38 2019

Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!