--- Log opened Wed Jan 31 00:00:42 2018 | ||
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4137 opened by syashakash | 00:55 |
---|---|---|
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4137 | 00:57 |
-!- syashakash [7c7c2a57@gateway/web/freenode/ip.124.124.42.87] has joined #shogun | 06:28 | |
syashakash | This is with referenece to PR #4137. I don't know why travis failed. It was a copy paste task. It worked perfectly well in my laptop and passed all tests. Could someone help me on what could have possibly gone wrong | 06:30 |
-!- syashakash [7c7c2a57@gateway/web/freenode/ip.124.124.42.87] has quit [Quit: Page closed] | 08:48 | |
@wiking | lisitsyn, sorry i was being stupid again... brew install shogun | 10:38 |
@wiking | java and python interface out of box | 10:38 |
@wiking | have fun | 10:38 |
lisitsyn | wiking: how did that fail? | 10:38 |
@wiking | lisitsyn, i missed the other part of the patch | 10:38 |
@wiking | :))) | 10:38 |
lisitsyn | I mean it is just IF STREQUAL | 10:38 |
lisitsyn | aahh | 10:38 |
lisitsyn | okok | 10:38 |
lisitsyn | so brew install works? | 10:39 |
@wiking | https://github.com/Homebrew/homebrew-core/pull/23479 | 10:39 |
@wiking | :)))) | 10:39 |
@wiking | a 7 hours thread man... | 10:39 |
lisitsyn | I have seen the thread yeah | 10:39 |
lisitsyn | amazing | 10:39 |
@wiking | in comment | 10:39 |
@wiking | sentence should start with capital | 10:39 |
@wiking | as well it's not OSX but macOS | 10:39 |
@wiking | :) | 10:39 |
@wiking | amazing :d | 10:39 |
@wiking | date for patches that are linked to github repo commits | 10:40 |
@wiking | i.e. having the commit message and the DATE in it... is obviously not enouhg | 10:40 |
@wiking | :D | 10:40 |
lisitsyn | well he is strict but rather positive :) | 10:40 |
@wiking | well nevermind | 10:40 |
@wiking | did it | 10:40 |
@wiking | its in | 10:40 |
@wiking | brew install works | 10:40 |
@wiking | :) | 10:40 |
lisitsyn | that's really good thanks a lot | 10:40 |
lisitsyn | installing it | 10:40 |
@wiking | yeah now comes java | 10:40 |
@wiking | as i'm tired of -... system pathc for jni | 10:40 |
@wiking | man this is sooooo clunkhy | 10:40 |
@wiking | *clunky | 10:41 |
@wiking | i want maven install | 10:41 |
@wiking | dependency | 10:41 |
@wiking | and forget it | 10:41 |
lisitsyn | ok so we have conda and brew | 10:41 |
@wiking | yes | 10:41 |
lisitsyn | nothing else matters | 10:41 |
lisitsyn | :P | 10:41 |
@wiking | conda almost has r as well | 10:41 |
@wiking | lisitsyn, maven | 10:41 |
@wiking | that matters inm,o | 10:41 |
@wiking | *imo | 10:41 |
lisitsyn | pre-built maven jars? | 10:41 |
@wiking | i mean JVM | 10:41 |
@wiking | yes | 10:41 |
@wiking | import ml.shogun.... | 10:42 |
lisitsyn | uh that would be nice indeed | 10:42 |
lisitsyn | it needs hackery | 10:42 |
@wiking | and then even the jni | 10:42 |
@wiking | is jar-ed | 10:42 |
@wiking | as well as the .so | 10:42 |
@wiking | :) | 10:42 |
@wiking | so everything is in a resource | 10:42 |
@wiking | or at least can be resource | 10:42 |
@wiking | as currently it cannot be | 10:42 |
@wiking | the netlib-java linalg package does trickery like this | 10:42 |
lisitsyn | deeplearning 4j | 10:44 |
lisitsyn | is another example | 10:44 |
@wiking | yeah | 10:44 |
@wiking | so we should do something like that | 10:45 |
@wiking | and just add it to the release pipeline | 10:45 |
@wiking | we own ml.shogun namespace | 10:45 |
@wiking | in mavencentral | 10:45 |
@wiking | i've reserved it already | 10:45 |
@wiking | so we can right away deploy stuff there | 10:45 |
@wiking | if we would have that then the only 2 things are | 10:45 |
@wiking | pypi | 10:45 |
@wiking | and webassembly | 10:46 |
lisitsyn | oh webassembly is something cosmic | 10:46 |
lisitsyn | :) | 10:46 |
@wiking | mmm | 10:46 |
@wiking | i mean lemme do this | 10:46 |
@wiking | on hedo | 10:46 |
@wiking | as it has compile time | 10:46 |
@wiking | it's something should be out of box | 10:46 |
@wiking | i just need to disable | 10:46 |
@wiking | most of the external dependencies | 10:46 |
@wiking | like lapack and shit like that | 10:47 |
lisitsyn | wiking: if you can import shogun from react app it would be a bomb | 10:47 |
lisitsyn | :P | 10:47 |
@wiking | lisitsyn, react | 10:47 |
@wiking | man | 10:47 |
@wiking | react | 10:47 |
@wiking | that thing | 10:47 |
@wiking | finally i can write frontend! | 10:47 |
@wiking | i always refused to do frontend | 10:47 |
lisitsyn | I actually like react | 10:47 |
@wiking | its AMAZING | 10:47 |
lisitsyn | did a few things | 10:47 |
@wiking | react + redux | 10:47 |
lisitsyn | well at least it has some structure | 10:48 |
lisitsyn | yes | 10:48 |
lisitsyn | I remember days we did jquery | 10:48 |
lisitsyn | with race conditions | 10:48 |
lisitsyn | :D | 10:48 |
@wiking | nonono | 10:48 |
@wiking | jquery | 10:48 |
@wiking | is a monster | 10:48 |
@wiking | react is so clean | 10:48 |
@wiking | easpeically with redux | 10:48 |
@wiking | i did some crazy shit with react | 10:48 |
@wiking | w/o redux | 10:48 |
@wiking | it can get messy as well | 10:48 |
lisitsyn | yes | 10:48 |
@wiking | typescript on top and i'm fine | 10:50 |
@wiking | js is amazing then :) | 10:50 |
@wiking | this is godo https://github.com/michaelweylandt/R-Finance-2016-Tutorial-Materials/raw/master/RFin2016.pdf | 10:51 |
@wiking | :) | 10:51 |
lisitsyn | wiking: I wish someone implemented internal dsl for stan | 10:53 |
lisitsyn | internal for java, python, etc | 10:53 |
lisitsyn | should we? :P | 10:53 |
lisitsyn | I find that stupid they use their own language | 10:53 |
@wiking | yes it is | 10:54 |
@wiking | i mean stan is a great tool | 10:54 |
@wiking | i think the problem is the dsl | 10:54 |
@wiking | ;) | 10:54 |
@wiking | it's clunky | 10:54 |
lisitsyn | all the stuff in there is implementable as chain of ops | 10:54 |
lisitsyn | builder-like | 10:54 |
@wiking | yep | 10:54 |
lisitsyn | more readability and portable to any language | 10:55 |
lisitsyn | sad! | 10:55 |
lisitsyn | :) | 10:55 |
@wiking | so i mean my friend /usr/local/Cellar/emscripten/1.37.29/libexec/cmake/Modules/Platform/Emscripten.cmake | 10:55 |
@wiking | thi sis the toolchain file | 10:55 |
@wiking | :D | 10:55 |
@wiking | # To use this toolchain file with CMake, invoke CMake with the following command line parameters | 10:56 |
@wiking | # cmake -DCMAKE_TOOLCHAIN_FILE=<EmscriptenRoot>/cmake/Modules/Platform/Emscripten.cmake | 10:56 |
@wiking | # -DCMAKE_BUILD_TYPE=<Debug|RelWithDebInfo|Release|MinSizeRel> | 10:56 |
@wiking | # -G "Unix Makefiles" (Linux and OSX) | 10:56 |
@wiking | # -G "MinGW Makefiles" (Windows) | 10:56 |
@wiking | # <path/to/CMakeLists.txt> # Note, pass in here ONLY the path to the file, not the filename 'CMakeLists.txt' itself. | 10:56 |
@wiking | :D | 10:56 |
@wiking | so shall we see what the hell it spits out | 10:56 |
@wiking | :) | 10:56 |
@wiking | mmm rxcpp died on it | 11:00 |
@wiking | i guess eigen will as well | 11:00 |
@wiking | need a bit more hackery | 11:00 |
@wiking | [ 1%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/base/Parallel.cpp.o | 11:07 |
@wiking | cd /Users/wiking/shogun/build/src/shogun && /usr/local/bin/ccache /usr/local/Cellar/emscripten/1.37.29/libexec/em++ @CMakeFiles/libshogun.dir/includes_CXX.rsp -Wall -Wno-unused-parameter -Wformat -Wformat-security -Wparentheses -Wshadow -Wno-unknown-pragmas -Wno-deprecated -Qunused-arguments -fcolor-diagnostics -g -fPIC -std=c++14 -o CMakeFiles/libshogun.dir/base/Parallel.cpp.o -c /Users/wiking/shogun/src/shogun/base/Parallel.cpp | 11:07 |
@wiking | :D | 11:07 |
@wiking | nodejs a.out.js | 11:33 |
@wiking | hello, world! | 11:33 |
@wiking | :D | 11:33 |
@wiking | [100%] Linking CXX executable classifier_lda.js | 11:36 |
@wiking | :O | 11:36 |
lisitsyn | wiking: what python brew installs it for? | 11:58 |
@wiking | lisitsyn, 27 | 12:24 |
@wiking | imo | 12:24 |
lisitsyn | wiking: can we switch to 3? | 12:26 |
@wiking | hahaha | 12:26 |
@wiking | how ?:) | 12:26 |
lisitsyn | idk | 12:26 |
lisitsyn | wiking: in my current brew | 12:26 |
lisitsyn | I have no 2.7 it seems | 12:26 |
@wiking | hehe | 12:26 |
lisitsyn | but 3.6 | 12:26 |
@wiking | lemme see | 12:26 |
@wiking | but now i'm wasm-ing | 12:27 |
@wiking | :))) | 12:27 |
@wiking | wanna compile classifier_lda.js | 12:27 |
lisitsyn | wiking: so brew installs packages with paths like | 12:27 |
lisitsyn | shogun/6.1.3/libexec/vendor/lib/python2.7/site-packages | 12:27 |
lisitsyn | shogun/6.1.3/libexec/vendor/lib/python2.7/site-packages/numpy/matrixlib | 12:27 |
lisitsyn | ahahaha | 12:27 |
lisitsyn | wiking: so it installs numpy inside shogun | 12:27 |
lisitsyn | oh sh | 12:28 |
lisitsyn | :) | 12:28 |
@wiking | :> | 12:28 |
@wiking | no likey? :) | 12:28 |
lisitsyn | that thing is not well-suited for python it seems | 12:28 |
@wiking | it's all in one | 12:28 |
@wiking | :D | 12:28 |
lisitsyn | yeah | 12:28 |
@wiking | its from zurich | 12:28 |
@wiking | with love | 12:28 |
@wiking | for you | 12:28 |
@wiking | :) | 12:28 |
@wiking | lisitsyn, i almost had the fucking thing! | 12:29 |
lisitsyn | wiking: oh so it seems I need to do something like | 12:29 |
lisitsyn | PYTHON_PATH=/usr/local/Cellar/shogun/6.1.3/libexec/vendor/lib/python2.7/site-packages python2.7 | 12:29 |
@wiking | yeahj | 12:29 |
@wiking | there's this | 12:29 |
@wiking | read | 12:30 |
@wiking | ==> Caveats | 12:30 |
@wiking | If you use system python (that comes - depending on the macOS version - | 12:30 |
@wiking | with an old version of numpy), you may need to ensure that the brewed | 12:30 |
@wiking | packages come earlier in Python's sys.path with: | 12:30 |
@wiking | mkdir -p /Users/wiking/Library/Python/2.7/lib/python/site-packages | 12:30 |
@wiking | echo 'import sys; sys.path.insert(1, "/usr/local/lib/python2.7/site-packages")' >> /Users/wiking/Library/Python/2.7/lib/python/site-packages/homebrew.pth | 12:30 |
@wiking | brew info shogun | 12:30 |
@wiking | :) | 12:30 |
@wiking | ./examples/undocumented/libshogun/classifier_minimal_svm.js | 12:34 |
@wiking | i'm scared of this file | 12:34 |
@wiking | can i run it? :D | 12:34 |
@wiking | hehehe | 12:39 |
@wiking | warning: emitted code will contain very large numbers of local variables, which is bad for performance (build to JS with -O2 or above to avoid this - make sure to do so both on source files, and during 'linking') | 12:39 |
@wiking | should never use static linking :) | 12:39 |
@wiking | but lets see | 12:39 |
@wiking | ahahahah | 12:39 |
@wiking | -rw-r--r-- 1 wiking wheel 173M Jan 31 12:39 classifier_minimal_svm.js | 12:39 |
@wiking | maaaaaan | 12:39 |
@wiking | maaaaan | 12:40 |
@wiking | lisitsyn, !!!!~ | 12:40 |
@wiking | ? ~/shogun/build/examples/undocumented/libshogun/ develop* node classifier_minimal_svm.js | 12:40 |
@wiking | Calling stub instead of signal() | 12:40 |
@wiking | output[0]=-1.000005 | 12:40 |
@wiking | output[1]=1.000003 | 12:40 |
@wiking | output[2]=-0.999997 | 12:40 |
@wiking | :DDDDDD | 12:40 |
@wiking | sonne|work, check this out | 12:42 |
@wiking | sonne|work, https://twitter.com/vikgl/status/958666633110794241 | 12:42 |
@wiking | :))) | 12:42 |
@wiking | is this what you want? | 12:42 |
-!- witness [uid10044@gateway/web/irccloud.com/x-atddortokviunnid] has joined #shogun | 12:45 | |
@wiking | nobody is here to celebrate :( | 12:57 |
sonne|work | wiking: more info! | 12:59 |
sonne|work | :D | 12:59 |
@wiking | sonne|work, what more u want? :D | 13:59 |
sonne|work | wiking: I don't really understand what I see there! | 13:59 |
sonne|work | That is nodejs running in server mode? | 13:59 |
@wiking | nodejs is running V8 | 13:59 |
sonne|work | err shogun in server mode? | 13:59 |
@wiking | that is running pure js | 13:59 |
@wiking | i mean if you want i can open that js in my browser | 14:00 |
@wiking | this was just easier | 14:00 |
sonne|work | ahh! | 14:00 |
sonne|work | cool stuff! | 14:00 |
sonne|work | url? | 14:00 |
@wiking | for testing ? :d | 14:00 |
sonne|work | how big is the .js? | 14:00 |
sonne|work | and what can it do? | 14:00 |
@wiking | fucking big | 14:00 |
@wiking | :D | 14:00 |
sonne|work | as in? | 14:00 |
@wiking | 130megs | 14:00 |
@wiking | but it's because i statically compiled | 14:00 |
sonne|work | but uncompressed? | 14:00 |
@wiking | i mean 'uncompressed' | 14:01 |
@wiking | this is bytecode | 14:01 |
@wiking | so it's already compressed | 14:01 |
sonne|work | I want it :) | 14:01 |
@wiking | i guess i could gzip it:) | 14:01 |
@wiking | but yeah i think using the none static compilled version | 14:02 |
@wiking | should solve this issue | 14:02 |
@wiking | it was just a quick test how far i can go | 14:02 |
@wiking | and surprise | 14:02 |
@wiking | actually it works :) | 14:02 |
@wiking | w/o tooo much of hacking | 14:02 |
@wiking | now it's just cleaning it up | 14:02 |
@wiking | and i'll push the changes into develop | 14:02 |
@wiking | and then do a nightly release | 14:02 |
@wiking | :DDDD | 14:02 |
@wiking | just for the fun of it | 14:03 |
@wiking | and test it in chrome + ff | 14:03 |
@wiking | i mean the thing is that currently with this statically compiled version | 14:03 |
@wiking | nodejs starts with swallowing 500megs of ram | 14:03 |
@wiking | :D | 14:03 |
@wiking | and then i guess it just runs the tiny code :) | 14:03 |
@wiking | sonne|work, i stand corrected | 14:07 |
@wiking | -rw-r--r-- 1 wiking staff 12M Jan 31 14:06 classifier_minimal_svm.js.gz | 14:07 |
@wiking | :) | 14:07 |
sonne|work | nothing :D | 14:07 |
@wiking | hihi | 14:07 |
@wiking | lemme try ff | 14:07 |
sonne|work | so I could pass js arrays in the browser and do fun things right? | 14:07 |
@wiking | yes | 14:07 |
sonne|work | uh_oh | 14:07 |
@wiking | that's the idea | 14:07 |
sonne|work | ff is normally slow + huge overhead :/ | 14:08 |
@wiking | sonne|work, wtf?! | 14:08 |
@wiking | you get 10 bad points for this | 14:08 |
@wiking | :D | 14:08 |
@wiking | have u tried ff 57+ ? | 14:08 |
@wiking | :) | 14:08 |
sonne|work | I have some d3js application here.. unusable in ff | 14:09 |
sonne|work | well no... | 14:09 |
sonne|work | did it get better? | 14:09 |
@wiking | hahahahahah | 14:09 |
@wiking | he asks | 14:09 |
@wiking | did it get better | 14:09 |
@wiking | :D | 14:09 |
@wiking | downLOAD! | 14:09 |
@wiking | now | 14:09 |
@wiking | :) | 14:09 |
@wiking | and be AMAZED | 14:09 |
sonne|work | trying 58 | 14:09 |
sonne|work | indeed got better | 14:15 |
Trixis | wiking: btw, re java | 14:15 |
Trixis | i think it is possible to include the .jni within the jar | 14:15 |
Trixis | since quite a few libraries seem to do that | 14:16 |
-!- Nitish [75f0c3b2@gateway/web/freenode/ip.117.240.195.178] has joined #shogun | 14:16 | |
Trixis | wiking: oh wait sorry you mentioned that | 14:16 |
Trixis | wiking: my bad missed that in the massive scroll back! | 14:17 |
@wiking | :) | 14:17 |
Nitish | sorry for disturbance but msbuild "C:\projects\shogun\build\shogun.sln" /verbosity:minimal /t:Clean /p:Configuration=Release /p:Platform=x64 shows msbuild is not recognised as internal or external comman why | 14:19 |
Trixis | out of curiosity, that works something along the lines of unpacking the jni from jar to temp folder and loading it from there, right? | 14:19 |
@wiking | sonne|work, you are WELCOME | 14:20 |
@wiking | :) | 14:20 |
@wiking | Trixis, indeed | 14:21 |
@wiking | Trixis, or those are the solutions that i've seen | 14:21 |
@wiking | Nitish, mmm i guess you dont have your MSVC env setup correctly | 14:21 |
Trixis | wiking: is this what you're working on now? Or can i try to look into it (no guarantees, i dont have much experience with swig, but i think i can figure it out)? | 14:23 |
@wiking | Trixis, i'm working on https://twitter.com/vikgl/status/958666633110794241 | 14:23 |
@wiking | ;) | 14:23 |
@wiking | 'working' | 14:23 |
@wiking | was currious | 14:23 |
@wiking | and now i've got sucked into it | 14:24 |
@wiking | :) | 14:24 |
Trixis | oh hahaha nice one | 14:24 |
@wiking | any help in the jvm side | 14:24 |
@wiking | would be hugely appreciated | 14:24 |
@wiking | as that's a really missing feature | 14:24 |
Trixis | wiking: if it's in a browser, do you need to have shogun installed on the machine? | 14:24 |
@wiking | Trixis, nono | 14:25 |
@wiking | it's fully js | 14:25 |
Trixis | oh does it xcompile to wasm? | 14:25 |
@wiking | yep | 14:25 |
Trixis | wow | 14:25 |
@wiking | it's just emscripten :) | 14:25 |
@wiking | i mean they did a great job with it | 14:25 |
@wiking | i was surprised that actually there's really just a handful of things | 14:25 |
@wiking | i needed to hack in the configs | 14:25 |
@wiking | to get it 'working' | 14:26 |
Trixis | guess my jokes about a js numeric optimisation library wont be jokes anymore soon :( | 14:26 |
@sukey | [https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/7c55b8b60c62c2767fdb99c15dc5c97313f79276 by vigsterkr | 14:27 |
@wiking | Trixis, yep | 14:27 |
@wiking | Trixis, and it's fast :) | 14:27 |
@wiking | i mean v8 is fast :) | 14:27 |
Trixis | heh nice | 14:27 |
@wiking | and btw sonne|work there's no typemapping here :) | 14:27 |
sonne|work | how is that working?! | 14:28 |
@wiking | sonne|work, asm.js webassembly magic | 14:28 |
@wiking | :) | 14:28 |
-!- Nitish [75f0c3b2@gateway/web/freenode/ip.117.240.195.178] has quit [Ping timeout: 260 seconds] | 14:28 | |
Trixis | so it compiles to wasm, then js headers are generated? | 14:30 |
Trixis | *directly to wasm | 14:30 |
@wiking | yeah i mean i'm just trying to generate the actual wasm format | 14:30 |
@wiking | as the one i had now was just js with asm.js | 14:30 |
Trixis | ahh | 14:30 |
Trixis | i was just wondering if it's c++ -> xcompile to js -> do js stuff | 14:31 |
Trixis | or c++ -> wasm | 14:31 |
@wiking | Trixis, currently i did c++ -> js | 14:32 |
@wiking | that uses asmjs | 14:32 |
Trixis | ahh | 14:32 |
@wiking | but now testing c++ -> wasm | 14:32 |
@wiking | but i could have used asm2webm :P | 14:34 |
Trixis | lol | 14:34 |
@wiking | i mean it obviously now doing something similar | 14:35 |
@wiking | -rw-r--r-- 1 wiking staff 146464570 Jan 31 14:34 classifier_minimal_svm.temp.asm.js | 14:35 |
@wiking | -rw-r--r-- 1 wiking staff 1042133 Jan 31 14:34 classifier_minimal_svm.js.mem | 14:35 |
@wiking | :) | 14:35 |
@wiking | yep | 14:35 |
@wiking | it's just running asm2wasm atm | 14:35 |
@wiking | lets see | 14:35 |
@wiking | this should let me to open wasm right away in my browser | 14:35 |
@wiking | :) | 14:35 |
@wiking | if that works i'll make a screenshot for sonne|work : > | 14:36 |
@wiking | ok worked | 14:36 |
@wiking | heh libshogun should be done like this https://github.com/kripken/emscripten/wiki/WebAssembly-Standalone#create-a-dynamic-library | 14:49 |
@wiking | :) | 14:49 |
-!- travis-ci [~travis-ci@ec2-54-226-228-216.compute-1.amazonaws.com] has joined #shogun | 14:52 | |
travis-ci | it's Viktor Gal's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/335619460 | 14:52 |
-!- travis-ci [~travis-ci@ec2-54-226-228-216.compute-1.amazonaws.com] has left #shogun [] | 14:52 | |
@wiking | hehe | 14:53 |
@wiking | CompileError: wasm validation error: at offset 107903: too many exports | 14:53 |
@wiking | :) | 14:53 |
Trixis | wiking: ill try to take a look at the java part and see what i can do once im finished fixing my CV, ill probably have a few questions :) | 14:53 |
@wiking | Trixis, sure thng | 14:53 |
@wiking | thnx! | 14:53 |
Trixis | (i mean id do it right now, but i've been procrastinating fixing my cv for quite a while already) | 14:54 |
@wiking | sonne|work, bad news... we'll have to go with the dynamic linking :) | 15:28 |
@wiking | which wouldn't be too big of a deal but the problem is that we have way too many modules in it | 15:29 |
@wiking | and there's seemed to be some limitation of the number of functions module/wasm can export :) | 15:29 |
@wiking | and we hit that :D | 15:29 |
-!- syashakash [7c7c2a57@gateway/web/freenode/ip.124.124.42.87] has joined #shogun | 15:30 | |
sonne|work | woa! | 15:32 |
sonne|work | wiking: Whenever you have some js I will try to write some javascript demo :) | 15:33 |
@wiking | :> | 15:33 |
-!- travis-ci [~travis-ci@ec2-54-226-228-216.compute-1.amazonaws.com] has joined #shogun | 15:34 | |
travis-ci | it's Viktor Gal's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/335619460 | 15:34 |
-!- travis-ci [~travis-ci@ec2-54-226-228-216.compute-1.amazonaws.com] has left #shogun [] | 15:34 | |
@wiking | idk why do i bother ever try compile anything on my own machine | 15:37 |
@wiking | hedo is just so much faster | 15:37 |
@wiking | :) | 15:37 |
@wiking | MAAAAAAAn | 15:41 |
@wiking | sonne|work, :DDDD | 15:42 |
@wiking | MAAAAAAAAAAAn | 15:42 |
@wiking | -rw-r--r-- 1 wiking wiking 13M Jan 31 15:41 classifier_libsvm_probabilities.js | 15:42 |
@wiking | i compiled it in Release mode | 15:42 |
@wiking | its' FUCKING FAST | 15:42 |
@wiking | https://twitter.com/vikgl/status/958712286335643648 | 15:43 |
@wiking | :> | 15:43 |
@wiking | lemme see what happens if i wasm it now | 15:44 |
@wiking | we need a nightly bot for this shit | 15:51 |
@wiking | :) | 15:51 |
@wiking | still having some trouble to get it into wasm format | 15:54 |
@wiking | if anybody has a node on his machine | 15:57 |
@wiking | could you just download this http://maeth.com/classifier_libsvm_probabilities.tar.xz | 15:57 |
@wiking | and extract and run it | 15:57 |
@wiking | sonne|work, :) | 15:57 |
@wiking | this is getting hillarious | 16:10 |
@wiking | wiking@hedonismbot:~/shogun/build/examples/undocumented/libshogun$ nodejs classifier_multiclasslibsvm.js | 16:10 |
@wiking | [WARN] In file /home/wiking/shogun/src/shogun/multiclass/MulticlassOneVsOneStrategy.cpp line 30: MulticlassOneVsOneStrategy::CMulticlassOneVsOneStrategy(): register parameters! | 16:10 |
@wiking | batch output=[0,1,0] | 16:10 |
@wiking | single output[0]=0.000000 | 16:10 |
@wiking | single output[1]=1.000000 | 16:10 |
@wiking | single output[2]=0.000000 | 16:10 |
@wiking | :) | 16:10 |
@wiking | kmeans clustering | 16:16 |
@wiking | -rw-r--r-- 1 wiking wiking 13M Jan 31 16:16 clustering_kmeans.js | 16:16 |
@wiking | -rw-r--r-- 1 wiking wiking 928K Jan 31 16:16 clustering_kmeans.js.mem | 16:16 |
@wiking | :) | 16:16 |
@wiking | lalala | 16:16 |
@wiking | honestly i really dont see the point distributing anything else than this wasm | 16:23 |
@wiking | you can run it in nashorn (jdk's js engine) | 16:24 |
@wiking | or v8 | 16:24 |
sonne|work | wiking: so how does this work? all of shogun is wrapped into a shogun.js ? or will it be specific applications that have to be precompiled? | 16:55 |
@wiking | sonne|work, currently it's only the specific part | 17:13 |
@wiking | sonne|work, the tar.xz what i've shared | 17:14 |
@wiking | but | 17:14 |
@wiking | it's possible to actually have something list a 'shared library' like you said shogun.js | 17:14 |
@wiking | and use that | 17:14 |
@wiking | sonne|work, https://codelabs.developers.google.com/codelabs/web-assembly-intro/index.html?index=..%2F..%2Findex#0 | 17:19 |
@wiking | :) | 17:19 |
@wiking | and of course https://github.com/kripken/emscripten/wiki/WebAssembly-Standalone#create-a-dynamic-library | 17:21 |
@wiking | currently i'm having a LinkError: import object field 'tempDoublePtr' is not a Number | 17:26 |
@wiking | problem | 17:26 |
@wiking | :) | 17:26 |
@wiking | sonne|work, but try that .tar.xz | 17:26 |
@wiking | it works with nodejs | 17:29 |
@wiking | or it should at least :) | 17:29 |
@wiking | i know i know u want browser :) | 17:30 |
@wiking | sonne|work, CompileError: wasm validation error: at offset 108138: too many exports | 17:41 |
@wiking | :D | 17:41 |
@wiking | imo the problem is that shogun just has way to many functions | 17:41 |
@wiking | :D | 17:41 |
@wiking | sonne|work, got it in browser :) | 17:58 |
@wiking | \o/ | 17:58 |
@wiking | sonne|work, https://twitter.com/vikgl/status/958747193376157696 | 18:02 |
-!- yashdusing [6733e876@gateway/web/freenode/ip.103.51.232.118] has joined #shogun | 18:24 | |
yashdusing | Hello ! Can someone please help me with this make compile issue ? https://imgur.com/a/HA2Tw | 18:24 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4137 closed by syashakash | 18:42 |
yashdusing | Hello Devs ! What changes do I need to make to #4135 ? Did I do something wrong ? | 18:51 |
-!- yashdusing [6733e876@gateway/web/freenode/ip.103.51.232.118] has quit [Ping timeout: 260 seconds] | 19:06 | |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4138 opened by syashakash | 19:55 |
@wiking | mmm | 20:17 |
@wiking | i cannot | 20:17 |
@wiking | :D | 20:17 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4138 synchronized by syashakash | 21:30 |
-!- syashakash [7c7c2a57@gateway/web/freenode/ip.124.124.42.87] has quit [Quit: Page closed] | 21:56 | |
--- Log closed Thu Feb 01 00:00:43 2018 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!