IRC logs of #shogun for Monday, 2011-05-23

--- Log opened Mon May 23 00:00:24 2011
blackburnhe, never heard about this measure00:02
serialhexyeah, i think it's a US-only measure, as it was created during prohibition (when we temporarily outlawed alc thinking it would make ppl better, and only ended up making big $$$ for gangsters and the like)00:05
serialhexit has something to do with how much alc is in a giant vat of moonshine (corn whisky)00:05
serialhexhmm...  sonney2k, is there a way to have to dirs in the (for instance) "gcc -c example_wrap.c -I/usr/local/lib/ruby/1.6/i686-linux" line??  cause for some fscking stupid reason config.h isnt where ruby.h expects it to be...00:08
serialhexmy idea is to basically find both of those files relative to the current ruby & then include them in that line00:09
serialhexnvm... i think i may have found the answer...00:13
blackburngoing to sleep some00:15
blackburnserialhex: see ya00:15
serialhexok, nite blackburn00:15
@bettyboozzz00:15
serialhex:D bettyboo!!00:15
@bettybooserialhex: x==y will cause theta/000:15
blackburnshe divided by zero00:16
blackburnget outta here :D00:16
blackburnbe right back in 12 hrs :D00:16
-!- blackburn [~qdrgsm@188.168.3.37] has quit [Quit: Leaving.]00:16
-!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has quit [Read error: Connection reset by peer]07:58
-!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has joined #shogun08:12
-!- blackburn [~qdrgsm@188.168.3.119] has joined #shogun08:59
blackburnlet the coding begins :D09:00
-!- hackered [~sabrina@124.16.139.198] has joined #shogun09:19
-!- hackered [~sabrina@124.16.139.198] has left #shogun []09:19
-!- heiko [~heiko@infole-06.uni-duisburg.de] has joined #shogun09:21
-!- blackburn [~qdrgsm@188.168.3.119] has quit [Ping timeout: 240 seconds]09:43
-!- heiko [~heiko@infole-06.uni-duisburg.de] has quit [Quit: Leaving.]12:17
-!- ameerkat [~ameerkat@184-98-140-155.phnx.qwest.net] has quit [Ping timeout: 255 seconds]12:26
-!- ChanServ changed the topic of #shogun to: Shogun Machine Learning Toolbox | We participate in GSoC with 5 projects http://bit.ly/eI31bL - let the games begin - all hail the code! | Channel logs http://bit.ly/eQDk8Q12:37
-!- blackburn [~qdrgsm@188.168.4.220] has joined #shogun12:39
-!- blackburn1 [~qdrgsm@188.168.2.96] has joined #shogun13:57
-!- blackburn [~qdrgsm@188.168.4.220] has quit [Ping timeout: 260 seconds]13:57
blackburn1damn where is my mentor :)19:03
-!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has quit [Read error: Connection reset by peer]20:44
@sonney2kblackburn1, not that you don't know how to spent your time ;-)21:16
blackburn1sonney2k: what?21:51
-!- blackburn1 is now known as blackburn21:52
blackburndon't understand this offence :)21:55
@sonney2kblackburn, kudos definitely no offence!22:45
blackburnanyway we planned to have a short meeting tonight22:49
blackburnsonney2k: https://github.com/SergeyLisitsyn/shogun/commit/a67f0d90ea6be0ddfb4ec34cf792806299ad973622:52
blackburndon't you think it would be *slow*?22:52
@sonney2kblackburn, if you don't do the ASSERT stuff it will be as fast as accessing memory directly22:53
@sonney2kahh and define it inline - can help...22:53
CIA-31shogun: Baozeng Ding master * r2341f5f / (2 files in 2 dirs): add ruby vector typemap support - https://github.com/shogun-toolbox/shogun/commit/2341f5fc12f2382f17ffba8cf907ec441f9ef17722:54
CIA-31shogun: Baozeng Ding master * r386b0cd / (2 files in 2 dirs): add ruby matrix typemap support - https://github.com/shogun-toolbox/shogun/commit/386b0cda1781e5295c801af921a19c077030eea422:54
CIA-31shogun: Baozeng Ding master * rba381a2 / (2 files): remove init_shogun/exit_shogun - https://github.com/shogun-toolbox/shogun/commit/ba381a2a0fe10cd8af3065199d513a8bf244d2d722:54
blackburnsonney2k: should we assert it?22:55
blackburnsome safety/speed tradeoff22:55
@sonney2kblackburn, I would suggest two functions - one that does safety checks and one that does not or alternatively have some define to disable /enable the checks22:56
@sonney2kI mean when developing it helps a lot to have error checks22:57
@sonney2klater on you don't want those if you excessively use these functions22:57
blackburnsonney2k: but if there would be check it could be slow too23:04
blackburnsonney2k: is there any way to exclude say get_(...) method from modular?23:05
blackburnI mean it is ok we would use it internally (if we know what we are doing) but it is bad for modular interfaces23:05
@sonney2kblackburn, yes %ignore23:06
blackburnsonney2k: do you like this way of doing it?23:07
@sonney2kblackburn, I don't see an alternative23:08
@sonney2kwe cannot sacrifice speed23:08
@sonney2knot that much23:08
blackburnsonney2k: yeap23:08
blackburnso, set() for safe and set_() for unsafe23:09
blackburngood?23:09
@sonney2kthe only alternative I see is to add some kind of block operations that then do all in one go and are fast23:09
@sonney2knot sure if we can always do this though23:09
@sonney2kI think python uses set and SET23:10
blackburnoh23:10
blackburnyes23:10
blackburnsonney2k: but it is ok if class have method set23:11
@sonney2kblackburn, yes - the only problem will be that java modular will create a set / get function too23:12
@sonney2kbut just check if I am right23:12
blackburnwhat is the problem with java modular?23:13
-!- epps [~epps@84.18.157.200] has joined #shogun23:14
-!- epps [~epps@84.18.157.200] has quit [Changing host]23:14
-!- epps [~epps@unaffiliated/epps] has joined #shogun23:14
@sonney2kblackburn, I think for public arrays swig generates a set / get function for every public variable23:15
blackburnah I see23:16
blackburnwow23:17
blackburnI forgot that SGMatrix is struct :D23:17
blackburn*well so why I am doing it*23:18
blackburnanyway matrix.matrix[i*matrix.num_rows+j] will work as good as get..23:18
blackburneh I'd rather work on mds :D23:19
@bettybooblackburn, funny23:19
blackburnnot so23:19
@sonney2kblackburn, well give it a try23:23
@sonney2kif it compiles with java_modular I would happily add this23:24
blackburnsonney2k: I renamed it to get_value anyway :)23:25
-!- ameerkat [~ameerkat@184-98-140-155.phnx.qwest.net] has joined #shogun23:26
@sonney2ka much better name anyway :)23:37
blackburnsonney2k: https://github.com/SergeyLisitsyn/shogun/commit/8b582645005e691ad4783259f945423939548b2323:43
blackburnsth this way23:43
@sonney2kblackburn, i think it should be [i,j] -> [row,col]23:53
blackburnokay23:58
-!- epps [~epps@unaffiliated/epps] has quit [Quit: Leaving]23:59
--- Log closed Tue May 24 00:00:13 2011

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