--- Log opened Mon Apr 29 00:00:29 2013 | ||
-!- gsomix [~Miranda@188.168.3.32] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] | 00:39 | |
-!- iglesiasg [~nando@s83-179-44-135.cust.tele2.se] has quit [Quit: leaving] | 01:23 | |
-!- iglesiasg [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun | 01:30 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 01:30 | |
-!- iglesiasg [~nando@s83-179-44-135.cust.tele2.se] has quit [Quit: leaving] | 02:03 | |
shogun-buildbot | build #374 of nightly_default is complete: Success [build successful] Build details are at http://www.shogun-toolbox.org/buildbot/builders/nightly_default/builds/374 | 04:05 |
---|---|---|
-!- kaushalb09 [~kaushalb0@cpe-74-77-131-130.buffalo.res.rr.com] has quit [Ping timeout: 245 seconds] | 08:06 | |
-!- iglesiasg [~nando@n177-p222.kthopen.kth.se] has joined #shogun | 08:20 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 08:20 | |
-!- sijin [~smuxi@144.214.222.109] has quit [] | 08:51 | |
-!- sonne|work [~sonnenbu@sams-office-nat.tomtomgroup.com] has joined #shogun | 08:51 | |
-!- vgorbati [c3ee5cb1@gateway/web/freenode/ip.195.238.92.177] has joined #shogun | 09:08 | |
-!- lisitsyn [~blackburn@109-226-120-160.clients.tlt.100megabit.ru] has quit [Quit: Leaving.] | 09:09 | |
-!- sids_aquarius [~sidi_@li400-124.members.linode.com] has joined #shogun | 10:25 | |
-!- sids_aquarius [~sidi_@li400-124.members.linode.com] has quit [Ping timeout: 256 seconds] | 10:30 | |
-!- foulwall [~foulwall@li379-21.members.linode.com] has joined #shogun | 11:06 | |
-!- mikhailBelous [~towelenee@109.205.249.161] has joined #shogun | 11:14 | |
-!- van51 [~van51@195.251.235.94] has joined #shogun | 11:20 | |
-!- iglesiasg [~nando@n177-p222.kthopen.kth.se] has quit [Quit: leaving] | 11:33 | |
-!- deerishi [73f88294@gateway/web/freenode/ip.115.248.130.148] has joined #shogun | 11:33 | |
deerishi | @sonney2k : hi | 11:33 |
deerishi | i was just drafting my gsoc proposal ,and i wanted to ask if i could cite from a few papers? | 11:34 |
sonne|work | deerishi: sure | 11:39 |
-!- gsomix [~Miranda@r206-10.smr.ru] has joined #shogun | 11:41 | |
gsomix | good morning | 11:41 |
-!- Dgomzi [b49531e7@gateway/web/freenode/ip.180.149.49.231] has joined #shogun | 12:11 | |
-!- sids_aquarius [~sidi_@14.139.122.114] has joined #shogun | 12:43 | |
-!- foulwall [~foulwall@li379-21.members.linode.com] has quit [Ping timeout: 272 seconds] | 13:18 | |
-!- sids_aquarius_ [~sidi_@14.139.122.114] has joined #shogun | 13:20 | |
-!- sids_aquarius [~sidi_@14.139.122.114] has quit [Read error: Connection reset by peer] | 13:20 | |
-!- sids_aquarius_ is now known as sids_aquarius | 13:22 | |
-!- deerishi_ [73f88294@gateway/web/freenode/ip.115.248.130.148] has joined #shogun | 13:30 | |
-!- Dgomzi [b49531e7@gateway/web/freenode/ip.180.149.49.231] has quit [Ping timeout: 245 seconds] | 13:30 | |
-!- deerishi [73f88294@gateway/web/freenode/ip.115.248.130.148] has quit [Quit: Page closed] | 13:35 | |
-!- iglesiasg [~nando@n177-p222.kthopen.kth.se] has joined #shogun | 13:38 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 13:38 | |
gsomix | iglesiasg: yo | 13:41 |
gsomix | iglesiasg: huh, autocomplete is not working for your nickname in miranda im. | 13:42 |
-!- gsomix [~Miranda@r206-10.smr.ru] has left #shogun ["I'm a happy Miranda IM user! Get it here: http://miranda-im.org"] | 13:42 | |
-!- gsomix [~Miranda@r206-10.smr.ru] has joined #shogun | 13:43 | |
@iglesiasg | gsomix: mm that's weird | 13:43 |
@iglesiasg | it works for me here | 13:44 |
@iglesiasg | gsomix: I guess you are not but just in case, are you startting with @? | 13:44 |
-!- iglesiasg [~nando@n177-p222.kthopen.kth.se] has quit [Quit: Reconnecting] | 13:44 | |
-!- gsomix [~Miranda@r206-10.smr.ru] has quit [Read error: Connection reset by peer] | 13:45 | |
van51 | @sonney2k: hey, so about the json file issue I made the change to SG_FREE. Would you like me to try and fix the issue in SerializableFile? | 13:45 |
-!- iglesiasg [~nando@n177-p222.kthopen.kth.se] has joined #shogun | 13:45 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 13:45 | |
-!- gsomix [~Miranda@r206-10.smr.ru] has joined #shogun | 13:45 | |
gsomix | iglesiasg: I think it's just bug. because now autocomplete works proper... after crashing Miranda :) | 13:46 |
@iglesiasg | gsomix: hehe ok | 13:46 |
-!- iglesias1 [~nando@n177-p222.kthopen.kth.se] has joined #shogun | 13:49 | |
-!- iglesias1 [~nando@n177-p222.kthopen.kth.se] has left #shogun [] | 13:49 | |
-!- gsomix [~Miranda@r206-10.smr.ru] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] | 14:17 | |
@iglesiasg | Shogun Machine Learning toolbar | 14:30 |
@wiking | where's listing? | 14:38 |
@wiking | listyn? :) | 14:38 |
@wiking | sonne|work: around? | 14:39 |
-!- alibezz [~alibezz@2001:12f0:601:a921:7c4c:a0ab:e23e:9c51] has joined #shogun | 14:39 | |
sonne|work | wiking: yes? | 14:40 |
@wiking | sonne|work: got some minuts? | 14:41 |
sonne|work | wassup? | 14:41 |
@wiking | sonne|work: 1) freebsd bot with python_modular | 14:41 |
@wiking | sonne|work: it will fail for sure but let's add it and we'll try to fix it somehow | 14:41 |
sonne|work | so just install the dependencies and make sure that it compiles locally | 14:42 |
sonne|work | then I can enable it | 14:42 |
sonne|work | with the settings you give me | 14:42 |
@wiking | sonne|work: 2) librt (random forest implementation) can only handle binary labelling.... and afaik random forest should be able to do multiclass, or? | 14:42 |
@wiking | sonne|work: yeah well this is my current problem | 14:42 |
@wiking | sonne|work: for python_modular + freebsd: https://github.com/shogun-toolbox/shogun/issues/1023 | 14:42 |
@wiking | sonne|work: ideas? | 14:43 |
@wiking | sonne|work: i mean the first 2 things it's easy to fix... | 14:43 |
@wiking | sonne|work: but i have no clue what the last error is and how it could be fixed | 14:43 |
@wiking | sonne|work: that's the output when u try to do ./configure --interfaces=python_modular && make on freebsd bot | 14:44 |
sonne|work | sth weird is going on | 14:44 |
sonne|work | you are on a 64bit machine | 14:44 |
sonne|work | but use only 32bit it seems | 14:44 |
@wiking | sonne|work: i haven't touched anything apart from this in ./configure script | 14:44 |
@wiking | http://pastebin.com/Hth9x1Tq | 14:45 |
sonne|work | sure but this is the reason | 14:45 |
@wiking | any ideas where i could start fixing this problem? | 14:45 |
-!- deerishi_ [73f88294@gateway/web/freenode/ip.115.248.130.148] has quit [Ping timeout: 245 seconds] | 14:45 | |
@wiking | i mean all the libraries are 64 bit | 14:45 |
@wiking | on that fbsd bot | 14:45 |
sonne|work | it is easy to get it to compile | 14:46 |
@wiking | so i don't even know why it tries to use 32bit | 14:46 |
sonne|work | but that would be more of a workaround | 14:46 |
sonne|work | yeah | 14:46 |
sonne|work | it should use 64bit | 14:46 |
sonne|work | the error you are getting is basically saying swig's int/long etc data types are just 32bit | 14:47 |
sonne|work | and I forced this define on on 64bit machines | 14:47 |
sonne|work | because swig doesn't inherit included #defines | 14:47 |
@wiking | /usr/local/bin/swig2.0: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 9.1, not stripped | 14:47 |
-!- kaushalb09 [~kaushalb0@cpe-74-77-131-130.buffalo.res.rr.com] has joined #shogun | 14:48 | |
@wiking | sonne|work: btw: am i right about random forest? or it is really just binary? | 14:49 |
sonne|work | random forest == bagged decision tree | 14:49 |
sonne|work | so you can do anything | 14:49 |
sonne|work | binary / mc | 14:49 |
sonne|work | regression | 14:49 |
sonne|work | etc | 14:49 |
@wiking | yeah | 14:49 |
@wiking | then librt sucks :( | 14:49 |
@wiking | as the labeling it accepts atm is only 0,1,-1 | 14:50 |
@wiking | cerr << "Incorrect label (only +1, 0, -1 supported)" << endl; | 14:50 |
-!- lisitsyn [~lisitsin@mxs.kg.ru] has joined #shogun | 14:51 | |
@wiking | sonne|work: brb, if u have a fix idea, let me know | 14:53 |
@wiking | lisitsyn: ping | 14:53 |
lisitsyn | wiking: pong | 14:54 |
@wiking | lisitsyn: fucking librt | 14:54 |
@wiking | lisitsyn: only support cerr << "Incorrect label (only +1, 0, -1 supported)" << endl; | 14:55 |
lisitsyn | wiking: positive, negative, unknown? | 14:55 |
@wiking | yeah i have no clue | 14:57 |
@wiking | i'll check what weka uses | 14:57 |
lisitsyn | wiking: iglesiasg: just fyi I am in berlin starting from 9th July, staying in golden tulip hotel | 15:02 |
@iglesiasg | lisitsyn: thanks for the info! | 15:02 |
@iglesiasg | I will book this week | 15:02 |
vgorbati | lisitsyn: hi, I have recently submitted an application - could you please take a look if it is ok for you? | 15:03 |
vgorbati | lisitsyn: when you have time, of course) | 15:04 |
lisitsyn | vgorbati: will take a look yes | 15:04 |
lisitsyn | wiking: I am listing ! | 15:04 |
lisitsyn | :D | 15:04 |
lisitsyn | listyn! | 15:04 |
lisitsyn | :D | 15:04 |
-!- kaushalb09 [~kaushalb0@cpe-74-77-131-130.buffalo.res.rr.com] has quit [Ping timeout: 260 seconds] | 15:08 | |
@wiking | lisitsyn: sorry :( | 15:09 |
lisitsyn | wiking: haha | 15:11 |
-!- deerishi [73f88294@gateway/web/freenode/ip.115.248.130.148] has joined #shogun | 15:14 | |
-!- sijin [~smuxi@144.214.222.109] has joined #shogun | 15:17 | |
-!- Shogo [4e207df3@gateway/web/freenode/ip.78.32.125.243] has joined #shogun | 15:20 | |
-!- Shogo [4e207df3@gateway/web/freenode/ip.78.32.125.243] has quit [Client Quit] | 15:21 | |
-!- gsomix [~Miranda@188.168.2.99] has joined #shogun | 15:40 | |
gsomix | lisitsyn: Lee See Tsyn | 15:41 |
* gsomix afk | 15:41 | |
-!- iglesiasg [~nando@n177-p222.kthopen.kth.se] has quit [Quit: leaving] | 15:43 | |
-!- romi__ [~mizobe@187.74.6.200] has joined #shogun | 15:44 | |
-!- iglesiasg [~nando@n177-p222.kthopen.kth.se] has joined #shogun | 15:47 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 15:47 | |
-!- iglesiasg [~nando@n177-p222.kthopen.kth.se] has left #shogun [] | 15:47 | |
-!- iglesiasg [~nando@n177-p222.kthopen.kth.se] has joined #shogun | 15:47 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 15:47 | |
-!- sids_aquarius [~sidi_@14.139.122.114] has left #shogun ["Off to code | sleep"] | 15:53 | |
-!- van51 [~van51@195.251.235.94] has left #shogun ["QUIT :Leaving."] | 15:54 | |
-!- deerishi [73f88294@gateway/web/freenode/ip.115.248.130.148] has quit [Quit: Page closed] | 16:08 | |
-!- deerishi [73f88294@gateway/web/freenode/ip.115.248.130.148] has joined #shogun | 16:15 | |
-!- alibezz [~alibezz@2001:12f0:601:a921:7c4c:a0ab:e23e:9c51] has quit [Ping timeout: 264 seconds] | 16:18 | |
mikhailBelous | How can i contact with georg, he didn't responded for multiply emails for 5 days? | 16:28 |
@iglesiasg | mikhailBelous: he must be really busy I am afraid | 16:34 |
mikhailBelous | I understand, but it's only 3 days to create a proposal | 16:36 |
@iglesiasg | mikhailBelous: insist if you think it is appropriate | 16:37 |
mikhailBelous | how i can insist? | 16:39 |
@iglesiasg | mikhailBelous: sending another mail | 16:40 |
@iglesiasg | in any case, you can also try asking us around here. It might be something we can help you with | 16:41 |
-!- alibezz [~alibezz@2001:12f0:601:a921:7c4c:a0ab:e23e:9c51] has joined #shogun | 16:42 | |
-!- mikhailBelous [~towelenee@109.205.249.161] has quit [] | 16:57 | |
sonne|work | wiking: look at this | 16:59 |
sonne|work | #if (__WORDSIZE == 64) || (LONG_MAX != INT_MAX) | 16:59 |
sonne|work | # error "SWIG wrapped code invalid in 64 bit architecture, regenarete code using -DSWIGWORDSIZE64" | 16:59 |
sonne|work | #endif | 16:59 |
sonne|work | http://src.chromium.org/svn/trunk/deps/third_party/swig/Lib/swigarch.i | 16:59 |
sonne|work | wiking: maybe you can figure out what LONG_MAX and INT_MAX on this bsd machine are | 17:00 |
sonne|work | http://www.mers.byu.edu/docs/standardC/limits.html#LONG_MAX | 17:01 |
@wiking | sonne|work: where do we save __WORDSIZE ? | 17:03 |
sonne|work | wiking: according to wikipedia LONG_MAX is related to long, it is http://en.wikipedia.org/wiki/C_data_types | 17:03 |
sonne|work | and INT_MAX to int | 17:03 |
@wiking | mmmm | 17:03 |
-!- deerishi [73f88294@gateway/web/freenode/ip.115.248.130.148] has quit [Ping timeout: 245 seconds] | 17:03 | |
@wiking | according to ./configure the word size is 64 bits correctly | 17:03 |
-!- alibezz [~alibezz@2001:12f0:601:a921:7c4c:a0ab:e23e:9c51] has quit [Quit: Leaving.] | 17:04 | |
sonne|work | ohh actually it is this error no? | 17:04 |
sonne|work | #ifdef SWIGWORDSIZE64 | 17:04 |
sonne|work | %{ | 17:04 |
sonne|work | #define SWIGWORDSIZE64 | 17:04 |
sonne|work | #ifndef LONG_MAX | 17:04 |
sonne|work | #include <limits.h> | 17:04 |
sonne|work | #endif | 17:04 |
sonne|work | #if (__WORDSIZE == 32) || (LONG_MAX == INT_MAX) | 17:04 |
sonne|work | # error "SWIG wrapped code invalid in 32 bit architecture, regenarete code using -DSWIGWORDSIZE32" | 17:04 |
sonne|work | #endif | 17:04 |
sonne|work | %} | 17:04 |
sonne|work | #endif | 17:04 |
@wiking | yes | 17:05 |
sonne|work | so __WORDSIZE == 32! | 17:05 |
@wiking | no | 17:05 |
sonne|work | no? | 17:05 |
@wiking | i mean i've just ran ./configure | 17:05 |
sonne|work | then LONG_MAX == INT_MAX | 17:05 |
@wiking | and it's output is 64 bits | 17:05 |
sonne|work | so sizeof(int) == sizeof(long) | 17:05 |
sonne|work | can you check that? | 17:05 |
@wiking | so imo __WORDSIZE = 64 | 17:06 |
@wiking | yep just a sec | 17:06 |
sonne|work | oops gtg, will be around in the evening | 17:06 |
sonne|work | cu | 17:06 |
-!- wencan [~wencan@c-71-61-182-121.hsd1.pa.comcast.net] has joined #shogun | 17:07 | |
@wiking | sonne|work: 8 4 | 17:07 |
@wiking | sonne|work: printf ("%ld %ld\n", sizeof(long), sizeof(int)); | 17:08 |
-!- deerishi [73f88294@gateway/web/freenode/ip.115.248.130.148] has joined #shogun | 17:09 | |
-!- iglesiasg [~nando@n177-p222.kthopen.kth.se] has quit [Quit: leaving] | 17:10 | |
@wiking | hah | 17:10 |
@wiking | even better: | 17:10 |
@wiking | 8 4 | 17:10 |
@wiking | 9223372036854775807 2147483647 | 17:10 |
@wiking | sonne|work: the second line is: the result for printf ("%ld %d\n", LONG_MAX, INT_MAX); | 17:11 |
-!- mikhailBelous [~towelenee@109.205.249.161] has joined #shogun | 17:11 | |
@wiking | sonne|work: i really wonder what's going on: http://pastebin.com/ayRJ7tJG | 17:13 |
mikhailBelous | I got a problem instaling project. When i sudo make install. It's write error cannot stat "./settings/*.h" no such file or directory | 17:19 |
wencan | Hi, I'm Wencan. I'm interested in the Gsoc Project (Fast Reading and writing of shogun features / objects in standard file formats). | 17:19 |
wencan | Could you add me my github id: wencanluo to the repository? | 17:19 |
@wiking | wencan: you dont need to be added | 17:21 |
@wiking | wencan: fork a repository for yourself | 17:21 |
@wiking | and do there the changes | 17:21 |
@wiking | commit and push it there | 17:21 |
wencan | Ok. That's fine. | 17:21 |
@wiking | and then submit a pull request for the develop branch | 17:22 |
@wiking | mikhailBelous: and? | 17:22 |
@wiking | mikhailBelous: i mean with that error it still should wokr | 17:22 |
@wiking | *work | 17:22 |
mikhailBelous | okey, so it's mean I made some other mistake installing | 17:23 |
@wiking | well what do you try to test | 17:24 |
@wiking | i mean what and where does it fail | 17:24 |
@wiking | do u try to run an example? | 17:24 |
mikhailBelous | I try to compile sample from your site | 17:24 |
mikhailBelous | *tried | 17:24 |
mikhailBelous | doesn't | 17:25 |
mikhailBelous | work | 17:25 |
@wiking | what sample? | 17:25 |
@wiking | where? | 17:25 |
-!- deerishi [73f88294@gateway/web/freenode/ip.115.248.130.148] has quit [Ping timeout: 245 seconds] | 17:26 | |
@wiking | mikhailBelous: it would be nice if you could actually copy-paste somehow the actual error | 17:26 |
mikhailBelous | Okay wait a minute please | 17:28 |
@wiking | that's ok | 17:28 |
-!- mikhailBelous [~towelenee@109.205.249.161] has quit [] | 17:29 | |
-!- mikhailBelous [~quassel@109.205.249.161] has joined #shogun | 17:30 | |
@wiking | mikhailBelous: plz put it here as other's might encounter the same problem | 17:33 |
mikhailBelous | Okay | 17:34 |
mikhailBelous | I compiled your project then trying to compile simple program, just init and exit(from your site sample). | 17:35 |
mikhailBelous | And it outputs error | 17:35 |
mikhailBelous | a.cpp:(.text+0x29): undefined reference to `shogun::init_shogun(void (*)(_IO_FILE*, char const*), void (*)(_IO_FILE*, char const*), void (*)(_IO_FILE*, char const*), void (*)(bool&, bool&))' | 17:35 |
@wiking | ok what's a.cpp? | 17:35 |
@wiking | :) | 17:35 |
@wiking | but i think you are missing -lshogun flag from your linking | 17:36 |
-!- gsomix [~Miranda@188.168.2.99] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] | 17:36 | |
mikhailBelous | http://www.shogun-toolbox.org/doc/en/current/developer_tutorial.html first example | 17:43 |
-!- van51 [~van51@athedsl-401908.home.otenet.gr] has joined #shogun | 17:47 | |
@wiking | mikhailBelous: yep | 17:47 |
@wiking | i guess you are running something like | 17:47 |
@wiking | gcc a.cpp | 17:47 |
@wiking | but you'll need to tell that it should link it to libshogun as well | 17:47 |
@wiking | so something like | 17:47 |
@wiking | gcc a.cpp -lshogun | 17:47 |
mikhailBelous | I do it | 17:47 |
@wiking | then maybe | 17:48 |
@wiking | gcc a.cpp -L/usr/local/lib -lshogun | 17:48 |
@wiking | if your prefix is /usr/local for you ./configure script | 17:48 |
mikhailBelous | Found mistake | 17:48 |
mikhailBelous | I had build project without configure for debian | 17:49 |
-!- lisitsyn [~lisitsin@mxs.kg.ru] has quit [Quit: Leaving.] | 17:53 | |
@wiking | ? | 17:55 |
@wiking | i really don't know how you could have built without ./configure | 17:55 |
mikhailBelous | I made just configure, not debian configure | 17:57 |
-!- thoralf [~thoralf@enki.zib.de] has joined #shogun | 17:57 | |
thoralf | Hey all. | 17:57 |
-!- kaushalb09 [~kaushalb0@cpe-74-77-131-130.buffalo.res.rr.com] has joined #shogun | 17:59 | |
@wiking | yo | 17:59 |
thoralf | A small memory management issue in shogun while stream-ascii-file-parsing: When getting a copy of stream->get_vector() and assigning it to a local variable, I get in trouble then SG_UNREF(stream). | 18:00 |
thoralf | Does anyone know what to do and/or to read? :) | 18:00 |
-!- iglesiasg [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun | 18:00 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 18:00 | |
-!- alibezz [~alibezz@177.182.164.8] has joined #shogun | 18:09 | |
-!- vgorbati [c3ee5cb1@gateway/web/freenode/ip.195.238.92.177] has quit [Ping timeout: 245 seconds] | 18:25 | |
-!- iglesiasg [~nando@s83-179-44-135.cust.tele2.se] has quit [Quit: leaving] | 18:29 | |
-!- iglesiasg [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun | 18:29 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 18:29 | |
van51 | @sonney2k: when you can please review the PR for the json fix. | 18:43 |
van51 | i think the @ in front is redundant :P | 18:44 |
-!- iglesiasg [~nando@s83-179-44-135.cust.tele2.se] has quit [Quit: leaving] | 18:47 | |
-!- iglesiasg [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun | 18:51 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 18:51 | |
thoralf | sonney2k: Are you available? | 18:57 |
-!- kaushalb09 [~kaushalb0@cpe-74-77-131-130.buffalo.res.rr.com] has quit [Ping timeout: 252 seconds] | 19:00 | |
-!- sids_aquarius [~sidi_@li400-124.members.linode.com] has joined #shogun | 19:12 | |
-!- sids_aquarius_ [~sidi_@li400-124.members.linode.com] has joined #shogun | 19:12 | |
-!- sids_aquarius [~sidi_@li400-124.members.linode.com] has quit [Client Quit] | 19:13 | |
-!- sids_aquarius_ is now known as sids_aquarius | 19:13 | |
@sonney2k | thoralf, whats up? | 19:38 |
@sonney2k | mikhailBelous, pong | 19:38 |
@sonney2k | wiking, that is indeed weird | 19:39 |
@wiking | sonney2k: yeah kind of like have no clue wtf | 19:39 |
@sonney2k | wiking, could you please grep in the swig headers for that message | 19:42 |
@sonney2k | wiking, and add a #warning macro there | 19:43 |
@sonney2k | to print out the values? | 19:43 |
@wiking | sonney2k: lol?! | 19:44 |
@sonney2k | wiking, but it is this difficult to get the actual values: http://stackoverflow.com/questions/12637392/c-preprocessor-expand-macro-in-a-warning | 19:44 |
@wiking | sonney2k: i mean i've just deleted from that macro check | 19:44 |
@wiking | #if (__WORDSIZE == 32) || (LONG_MAX == INT_MAX) | 19:44 |
@wiking | __WORDSIZE == 32 | 19:44 |
@sonney2k | and? | 19:44 |
@wiking | and now it's compiling | 19:44 |
@wiking | so WTF? | 19:44 |
@sonney2k | ahh WORDSIZE=32? | 19:44 |
@wiking | but where does it get it | 19:44 |
@wiking | i have noooo idea | 19:44 |
@wiking | because as u can see from that dummy example | 19:45 |
@wiking | there wordsize == 64 | 19:45 |
@wiking | so somewher it gets redefined | 19:45 |
thoralf | sonney2k: Just sent a mail to the mailing list. | 19:47 |
@wiking | oookeey | 19:47 |
@wiking | sonney2k: clang++ -fPIC -g -O0 -DSWIG_TYPE_TABLE=shogun -DSHOGUN -DFREEBSD -DUSE_BOOL -DUSE_CHAR -DUSE_UINT8 -DUSE_UINT16 -DUSE_INT32 -DUSE_INT64 -DUSE_UINT64 -DUSE_FLOAT32 -DUSE_FLOAT64 -DHAVE_SQRTL -DHAVE_LOG2 -DHAVE_PTHREAD -DHAVE_JSON -DHAVE_XML -DHAVE_ATLAS -DHAVE_LAPACK -DHAVE_CATLAS -DHAVE_EIGEN3 -DUSE_GLPK -DUSE_SNAPPY -DUSE_GZIP -DUSE_BZIP2 -DUSE_LZMA -DHAVE_LARGEFILE -DUSE_SHORTREAL_KERNELCACHE -DUSE_BIGSTATES -DUSE_HMMCACHE -DUSE_REFERENCE_CO | 19:47 |
@wiking | wit this | 19:47 |
@wiking | __WORDSIZE = 32 | 19:47 |
@wiking | so i'm guessing somewhere in those headers __WORDSIZE is redefined | 19:48 |
@wiking | i'm trying now a grep -r __WORDSIZE /usr/local/* | 19:49 |
@wiking | but no help... | 19:50 |
@wiking | it's not defined anywhere there | 19:50 |
@wiking | just used | 19:50 |
@sonney2k | wiking, but how can it be defined then? | 19:53 |
@wiking | sonney2k: mmm still wondering | 19:53 |
@wiking | ok | 19:54 |
@wiking | i think i found it | 19:54 |
@sonney2k | http://repo-genesis3.cbi.utsa.edu/crossref/heccer/usr/include/limits.h.html | 19:54 |
@wiking | http://lists.freebsd.org/pipermail/freebsd-bugs/2013-March/052039.html | 19:54 |
@wiking | ;) | 19:54 |
@sonney2k | there is wordsize in there | 19:54 |
@wiking | clang++ test.cc -o test -> wordsize = 32 | 19:54 |
@wiking | clang test.c -o test -> wordsize = 64 | 19:55 |
@wiking | __wordsize is not a portable macro apparently | 19:55 |
@wiking | (at least in freebsd stdint.h :P) | 19:55 |
@sonney2k | wiking, crazy | 19:55 |
@wiking | /* GNU and Darwin define this and people seem to think it's portable */ | 19:55 |
@sonney2k | so now what | 19:55 |
@wiking | from /usr/include/stdint.h | 19:55 |
@sonney2k | swig uses it | 19:55 |
@sonney2k | it is used in limits.h | 19:55 |
@sonney2k | wiking, is it used in limits.h in fbsd too? | 19:56 |
@wiking | noup | 19:56 |
@wiking | i mean not __WORDSIZE | 19:56 |
@wiking | that's some linux hacko | 19:57 |
@wiking | ;) | 19:57 |
@sonney2k | wiking, so it is undefined? | 19:57 |
@wiking | well not undefined | 19:58 |
@wiking | as u can see it's defined in stdint.h | 19:58 |
@wiking | but as it says that bug i've just pasted | 19:58 |
@wiking | it's not the most reliable macro | 19:58 |
@wiking | on freebsd | 19:58 |
@wiking | see clang++ and clang output | 19:58 |
@wiking | ;) | 19:58 |
@sonney2k | wiking, how about you forcefully define __WORDSIZE=64 ? | 19:59 |
@sonney2k | wiking, try to add this to the -D defines list | 19:59 |
@wiking | sonney2k: same behavoir for g++46 | 20:00 |
@wiking | sonney2k: you mean clang++ -D__WORDSIZE=64 test.cc -o test | 20:01 |
@wiking | ? | 20:01 |
@wiking | as it doesn't help unfortunately | 20:01 |
@wiking | it's still 32 | 20:01 |
@sonney2k | wiking, so where is it defined then? | 20:04 |
@wiking | sonney2k: as i said | 20:04 |
@sonney2k | it must be somewhere in /usr/**.h | 20:04 |
@sonney2k | where? | 20:04 |
@wiking | in /usr/include/stdint.h | 20:04 |
@wiking | but it's aint reliable | 20:04 |
@sonney2k | wiking, yeah but how is it defined there? | 20:04 |
@wiking | #if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX) | 20:05 |
@wiking | #define __WORDSIZE 64 | 20:05 |
@wiking | #else | 20:05 |
@wiking | #define __WORDSIZE 32 | 20:05 |
@wiking | #endif | 20:05 |
@wiking | and one of those is not defined in c++ case | 20:05 |
@sonney2k | *sigh* | 20:05 |
@sonney2k | so it is overridden | 20:05 |
@sonney2k | but it looks good to me | 20:06 |
@wiking | yeah but still | 20:06 |
@wiking | according to the bug | 20:06 |
@wiking | However the way it's defined is utterly unsafe: when UINTPTR_MAX or UINT64_MAX are not defined (which is the case for C++, as their definitions in e.g. x86/_stint.h are wrapped in | 20:06 |
@wiking | if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) | 20:07 |
@wiking | __WORDSIZE is always defined as 32, which is wrong on 64bit systems. | 20:07 |
@wiking | :( | 20:07 |
@sonney2k | wiking, could you please try -D__LP64__ too | 20:07 |
@sonney2k | ? | 20:07 |
@wiking | clang++ -D__WORDSIZE=64 -D__LP64__ test.cc -o test | 20:08 |
@wiking | [wiking@sandbox ~]$ ./test | 20:08 |
@wiking | 8 4 | 20:08 |
@wiking | 9223372036854775807 2147483647 | 20:08 |
@wiking | 32 | 20:08 |
@sonney2k | wiking, please print the 3 values above | 20:10 |
@sonney2k | UINTPTR_MAX | 20:10 |
@sonney2k | UINT64_MAX | 20:10 |
@sonney2k | two actually :D | 20:10 |
@wiking | test.cc:13:15: error: use of undeclared identifier 'UINTPTR_MAX' | 20:11 |
@wiking | std::cout << UINTPTR_MAX << " " << UINT64_MAX << std::endl; | 20:11 |
@wiking | ^ | 20:11 |
@wiking | test.cc:13:37: error: use of undeclared identifier 'UINT64_MAX' | 20:11 |
@wiking | std::cout << UINTPTR_MAX << " " << UINT64_MAX << std::endl; | 20:11 |
@wiking | ;) | 20:11 |
-!- vgorbati [d4029f22@gateway/web/freenode/ip.212.2.159.34] has joined #shogun | 20:14 | |
@sonney2k | wiking, cool - so define both to 0xffffffffffffffff | 20:15 |
@sonney2k | wiking, or alternatively include stdint.h and define __LP64__ | 20:15 |
@sonney2k | #ifdef __LP64__ | 20:16 |
@sonney2k | 85 #define INT64_MIN (-0x7fffffffffffffff-1) | 20:16 |
@sonney2k | 86 #define INT64_MAX 0x7fffffffffffffff | 20:16 |
@sonney2k | 87 #define UINT64_MAX 0xffffffffffffffff | 20:16 |
@sonney2k | 88 #else | 20:16 |
@sonney2k | ... | 20:16 |
@sonney2k | that is what I found in there | 20:16 |
-!- gsomix [~Miranda@185.6.239.129] has joined #shogun | 20:16 | |
gsomix | hi, guys | 20:16 |
@wiking | clang++ -DUINTPTR_MAX=0xffffffffffffffff -DUINT64_MAX=0xffffffffffffffff test.cc -o test | 20:16 |
@wiking | that works | 20:16 |
gsomix | ehm, and girls :) | 20:16 |
@wiking | sonney2k: that macro works only on linux | 20:18 |
@wiking | sonney2k: we'll have to go with -DUINTPTR_MAX=0xffffffffffffffff -DUINT64_MAX=0xffffffffffffffff | 20:18 |
@wiking | on fbsd | 20:18 |
@sonney2k | wiking, ok so try if it compiles then... | 20:19 |
@sonney2k | and even runs sth | 20:19 |
gsomix | sonney2k: good evening. so, I'm finally writing proposal for I/O project. | 20:21 |
@sonney2k | gsomix, ok! | 20:22 |
-!- lisitsyn [~blackburn@185.6.239.129] has joined #shogun | 20:28 | |
gsomix | lisitsyn: hey | 20:28 |
-!- mode/#shogun [+o lisitsyn] by ChanServ | 20:28 | |
gsomix | lisitsyn: Ben, I need help | 20:28 |
@lisitsyn | anyone is up to present shogun at euroscipy? | 20:40 |
@lisitsyn | wiking: brussels! you should do that! | 20:41 |
vgorbati | lisitsyn: hi, I have submitted a PR we discussed yesterday (just informing you:)). | 20:42 |
@lisitsyn | ahh yes let me check it then | 20:43 |
@lisitsyn | vgorbati: oops you have updated data folder accidentally I guess | 20:45 |
vgorbati | lisitsyn: no, I did actually put there a regression data file for newly added test | 20:45 |
vgorbati | lisitsyn: remove it? | 20:46 |
@lisitsyn | yeah lets keep it old yet | 20:46 |
vgorbati | lisitsyn: what is a good way to do this? | 20:47 |
-!- kaushalb09 [~kaushalb0@dhcp205-073-003.wireless.buffalo.edu] has joined #shogun | 20:47 | |
@lisitsyn | vgorbati: git reset HEAD~1 | 20:48 |
@lisitsyn | commit and force push | 20:48 |
vgorbati | lisitsyn: I should issue reset HEAD~1 in data submodule I guess? | 20:49 |
@lisitsyn | if you commited there yes | 20:49 |
vgorbati | lisitsyn: updated | 20:54 |
@lisitsyn | good job | 20:54 |
@lisitsyn | let me wait for travis and then I'll merge | 20:55 |
vgorbati | lisitsyn: sure. I am thinking of trying to implement some DR method now. What is your opinion? | 20:55 |
@lisitsyn | vgorbati: if you feel ok porting not the best C++ code I have something | 20:57 |
vgorbati | lisitsyn: sure | 20:58 |
@lisitsyn | vgorbati: that could be a guide for adding a new method: https://github.com/shogun-toolbox/shogun/issues/1025 | 21:00 |
vgorbati | lisitsyn: yeah, I saw it) | 21:00 |
@lisitsyn | vgorbati: http://waffles.sourceforge.net/ | 21:00 |
@lisitsyn | vgorbati: what about SOM? | 21:00 |
@lisitsyn | kohonen | 21:00 |
@lisitsyn | vgorbati: or manifold sculpting | 21:01 |
vgorbati | lisitsyn: regarding your words, ' provided in a clean C++ library' is a lie?:) (text on their main page) | 21:01 |
vgorbati | lisitsyn: SOM sound good for me | 21:01 |
@lisitsyn | vgorbati: no it is pretty clean I think but slow | 21:01 |
@lisitsyn | vgorbati: eigen3 based code is faster | 21:01 |
@lisitsyn | and mike gashler uses ehm strange methods for eigendecompositions | 21:02 |
@lisitsyn | but other code must be ok | 21:02 |
@lisitsyn | vgorbati: SOM looks pretty big | 21:02 |
@lisitsyn | lets rather go for manifold sculping | 21:02 |
@lisitsyn | sculpting | 21:02 |
vgorbati | lisitsyn: at least I have heard about it:) is manifold sculpting smaller? | 21:03 |
@lisitsyn | yes pretty small | 21:03 |
vgorbati | lisitsyn:got it | 21:03 |
@lisitsyn | vgorbati: SOM in waffles is like >1.5K LoC | 21:03 |
vgorbati | lisitsyn: and it is present in the 'Waffles', right? | 21:03 |
@lisitsyn | yes | 21:03 |
vgorbati | lisitsyn: yeah, it will probably require implementing some base class for neural network, etc. | 21:04 |
vgorbati | lisitsyn: SOM I mean | 21:04 |
@lisitsyn | yeah | 21:05 |
@lisitsyn | and it is not like classic dimension reduction | 21:05 |
vgorbati | lisitsyn: I guess there's no eigendecompositions there) | 21:05 |
@lisitsyn | vgorbati: no not only that | 21:06 |
vgorbati | lisitsyn: SOM is all-to-all neural network IIIRC? | 21:07 |
vgorbati | lisitsyn: or no, it is hopfield's net | 21:08 |
@lisitsyn | I do not remember exactly | 21:08 |
@lisitsyn | vgorbati: it has connections from all feature nodes to all mapping space nodes | 21:09 |
@lisitsyn | vgorbati: it is not that typical because it maps to some 10 x 10 space or sth like that | 21:10 |
vgorbati | lisitsyn: anyway, maybe it will be the next DR. I will start working on sculpting from tomorrow then | 21:11 |
@lisitsyn | sounds like a plan | 21:11 |
-!- van51 [~van51@athedsl-401908.home.otenet.gr] has left #shogun ["QUIT :Leaving."] | 21:12 | |
vgorbati | lisitsyn: well, I definitely want to continue working on shogun in any case | 21:12 |
@lisitsyn | what do you mean? | 21:12 |
vgorbati | lisitsyn: I thought that 'sounds like a plan' meant that I am planning before actually being accepted:) so I decided to clarify | 21:14 |
@lisitsyn | ahh | 21:14 |
@lisitsyn | no I mean plan for that week for now | 21:14 |
vgorbati | lisitsyn: ah, I guess so | 21:14 |
@sonney2k | wiking, so does it compile now? | 21:19 |
-!- kaushalb09 [~kaushalb0@dhcp205-073-003.wireless.buffalo.edu] has quit [Ping timeout: 264 seconds] | 21:30 | |
@wiking | sonney2k: when? ah with those macros... | 21:37 |
@wiking | yeah i mean i've compiled it earlier by removing __WORDSIZE == 32 from that macro | 21:38 |
@wiking | :P | 21:38 |
@sonney2k | wiking, well then so just add this workaround to configure | 21:45 |
@sonney2k | wiking, we have a freebsd() function there | 21:46 |
@sonney2k | and if wordsize is 64 just add these defines | 21:46 |
-!- romi__ [~mizobe@187.74.6.200] has quit [Ping timeout: 258 seconds] | 21:46 | |
@wiking | sonney2k: :DDD | 21:47 |
@wiking | yes captain! | 21:47 |
-!- van51 [~van51@athedsl-401908.home.otenet.gr] has joined #shogun | 21:47 | |
-!- romi__ [~mizobe@187.74.6.200] has joined #shogun | 21:49 | |
-!- van51 [~van51@athedsl-401908.home.otenet.gr] has quit [Client Quit] | 21:50 | |
-!- van51 [~van51@athedsl-401908.home.otenet.gr] has joined #shogun | 21:56 | |
vgorbati | lisitsyn: btw, PR passed (except serialization_complex_example.py as usual) | 22:20 |
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun | 22:25 | |
shogun-notifier- | shogun: Soeren Sonnenburg :develop * d0406f0 / / (3 files): https://github.com/shogun-toolbox/shogun/commit/d0406f09a3ddf0b186867f37454065678b310299 | 22:25 |
shogun-notifier- | shogun: fix json serialization (Closes: #943) | 22:25 |
@sonney2k | van51, sorry but the json fix was much more complex ^ | 22:26 |
@sonney2k | van51, but still we might have the memory leak with the string for you to fix | 22:26 |
-!- vgorbati [d4029f22@gateway/web/freenode/ip.212.2.159.34] has quit [Ping timeout: 245 seconds] | 22:31 | |
van51 | sonney2k: it needs an entire re-design? | 22:31 |
van51 | and what memory leak are you referring to? | 22:32 |
shogun-buildbot | build #714 of cyg1 - libshogun is complete: Failure [failed configure] Build details are at http://www.shogun-toolbox.org/buildbot/builders/cyg1%20-%20libshogun/builds/714 blamelist: Soeren Sonnenburg <sonne@debian.org> | 22:35 |
-!- lisitsyn1 [~blackburn@37.61.181.55] has joined #shogun | 22:35 | |
-!- gsomix_ [~Miranda@37.61.181.55] has joined #shogun | 22:36 | |
-!- gsomix [~Miranda@185.6.239.129] has quit [Ping timeout: 245 seconds] | 22:36 | |
-!- lisitsyn [~blackburn@185.6.239.129] has quit [Ping timeout: 252 seconds] | 22:37 | |
-!- travis-ci [~travis-ci@ec2-50-16-50-250.compute-1.amazonaws.com] has joined #shogun | 22:49 | |
travis-ci | [travis-ci] it's Soeren Sonnenburg's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/6738207 | 22:49 |
-!- travis-ci [~travis-ci@ec2-50-16-50-250.compute-1.amazonaws.com] has left #shogun [] | 22:49 | |
gsomix_ | nite | 22:51 |
-!- alibezz [~alibezz@177.182.164.8] has quit [Quit: Leaving.] | 22:53 | |
-!- alibezz [~alibezz@177.182.164.8] has joined #shogun | 22:54 | |
shogun-notifier- | shogun: Soeren Sonnenburg :develop * c7a100a / tests/integration/python_modular/tester.py: https://github.com/shogun-toolbox/shogun/commit/c7a100aeb2357d954791c00515c0a40a627de3bc | 22:59 |
shogun-notifier- | shogun: add fancy difflib based diff to determine failures on travis | 22:59 |
@sonney2k | van51, yes - IMHO this has never worked | 22:59 |
-!- sumit [73f91219@gateway/web/freenode/ip.115.249.18.25] has joined #shogun | 23:00 | |
@sonney2k | van51, there were lots of checks failing when the result was NULL | 23:00 |
@sonney2k | but in fact 0 meant - no error | 23:00 |
@sonney2k | wiking, I've added some better diff to determine the error we have w/ travis in tester.py | 23:01 |
@sonney2k | wiking, now it will print the original / expected values | 23:01 |
@sonney2k | and also a diff | 23:01 |
@sonney2k | lets hope that helps... | 23:01 |
mikhailBelous | Is it possible to go out from town for 20 july -10 august and still be in GSOC? | 23:03 |
van51 | sonney2k: sorry, not really sure I am following.. when what result was null? | 23:03 |
@sonney2k | van51, just look at the diff of my commit above | 23:03 |
van51 | ok | 23:03 |
@sonney2k | van51, but we might still have the leak with the filename | 23:04 |
shogun-buildbot | build #715 of cyg1 - libshogun is complete: Failure [failed configure] Build details are at http://www.shogun-toolbox.org/buildbot/builders/cyg1%20-%20libshogun/builds/715 blamelist: Soeren Sonnenburg <sonne@debian.org> | 23:10 |
van51 | sonney2k: so with your changes, SerializableJsonFile is ok? | 23:13 |
van51 | and now it's just a matter of whether the m_filename from the superclass leaks? | 23:13 |
-!- sumit [73f91219@gateway/web/freenode/ip.115.249.18.25] has quit [Ping timeout: 245 seconds] | 23:14 | |
@sonney2k | van51, should be yes | 23:15 |
van51 | cool | 23:16 |
van51 | i'll fetch the new code and see if filename is indeed causing a problem | 23:16 |
-!- travis-ci [~travis-ci@ec2-23-22-177-255.compute-1.amazonaws.com] has joined #shogun | 23:37 | |
travis-ci | [travis-ci] it's Soeren Sonnenburg's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/6739250 | 23:37 |
-!- travis-ci [~travis-ci@ec2-23-22-177-255.compute-1.amazonaws.com] has left #shogun [] | 23:37 | |
@sonney2k | van51, thanks | 23:38 |
@sonney2k | wiking, alright looks like differences are in the 14th digit after the coma | 23:40 |
@sonney2k | comma | 23:40 |
@sonney2k | https://travis-ci.org/shogun-toolbox/shogun/jobs/6739254 | 23:40 |
van51 | hehe what for? haven't done anything yet :p | 23:40 |
@sonney2k | van51, we have one test failing on travis-ci but not our own buildbot | 23:42 |
@sonney2k | difference is ~1e-14 | 23:42 |
van51 | and that error comes from deserialization? | 23:45 |
van51 | also please avoid writing "failing" after my name.. i'm getting nervous :p | 23:45 |
@wiking | sonney2k: mmm lemme check as well | 23:46 |
@wiking | sonney2k: any ideas what could be the underlying cause | 23:54 |
@wiking | ? | 23:54 |
@wiking | btw: i couldn't find any freebsd specific function/variable in the configure script | 23:54 |
--- Log closed Tue Apr 30 00:00:29 2013 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!