[01:40:43] *** lowne <lowne!~lowne@unaffiliated/lowne> has joined #eclipse
[01:42:44] *** lowne_ <lowne_!~lowne@unaffiliated/lowne> has quit IRC (Ping timeout: 268 seconds)
[02:15:28] *** thc202 <thc202!~thc202@unaffiliated/thc202> has quit IRC (Ping timeout: 245 seconds)
[02:17:08] *** iggi <iggi!~iggi@ip69.50-31-21.static.steadfastdns.net> has quit IRC (Ping timeout: 245 seconds)
[02:19:38] *** iggi <iggi!~iggi@ip69.50-31-21.static.steadfastdns.net> has joined #eclipse
[04:16:37] *** Dimik <Dimik!~Dimik@ool-2f1499e1.dyn.optonline.net> has joined #eclipse
[04:29:28] *** cpe_ <cpe_!~cpe@unaffiliated/cpe> has joined #eclipse
[04:32:56] *** cpe <cpe!~cpe@unaffiliated/cpe> has quit IRC (Ping timeout: 268 seconds)
[04:32:56] *** cpe_ is now known as cpe
[05:38:45] *** Dimik <Dimik!~Dimik@ool-2f1499e1.dyn.optonline.net> has quit IRC (Ping timeout: 252 seconds)
[06:52:08] *** RangerRick <RangerRick!~quassel@99-69-21-21.lightspeed.rlghnc.sbcglobal.net> has quit IRC (*.net *.split)
[06:57:08] *** RangerRick <RangerRick!~quassel@99-69-21-21.lightspeed.rlghnc.sbcglobal.net> has joined #eclipse
[08:13:02] *** apupier <apupier!~apupier@LFbn-1-7946-49.w90-112.abo.wanadoo.fr> has joined #eclipse
[08:22:56] *** TomTom <TomTom!uid45892@gateway/web/irccloud.com/x-dyljingnbgejmrwr> has joined #eclipse
[09:11:24] *** ylp <ylp!~ylp@46.218.134.66> has joined #eclipse
[09:16:55] *** malveo <malveo!~Thunderbi@185.137.206.102> has joined #eclipse
[10:01:39] *** furrymcgee <furrymcgee!~furrymcge@5.35.246.4> has quit IRC (Ping timeout: 252 seconds)
[10:06:50] *** thc202 <thc202!~thc202@unaffiliated/thc202> has joined #eclipse
[10:15:17] *** furrymcgee <furrymcgee!~furrymcge@lippydanger.jumpingcrab.com> has joined #eclipse
[11:34:02] *** malveo <malveo!~Thunderbi@185.137.206.102> has quit IRC (Ping timeout: 252 seconds)
[11:54:33] *** malveo <malveo!~Thunderbi@5.90.47.220> has joined #eclipse
[12:17:42] *** malveo <malveo!~Thunderbi@5.90.47.220> has quit IRC (Ping timeout: 250 seconds)
[12:35:41] *** mazzen <mazzen!~mazzen@2a01:598:b891:302e:6963:8f21:59a:5484> has joined #eclipse
[12:40:34] *** mazzen <mazzen!~mazzen@2a01:598:b891:302e:6963:8f21:59a:5484> has quit IRC (Read error: Connection reset by peer)
[12:47:51] *** malveo1 <malveo1!~Thunderbi@5.90.36.118> has joined #eclipse
[12:52:08] *** malveo1 <malveo1!~Thunderbi@5.90.36.118> has quit IRC (Ping timeout: 252 seconds)
[13:00:19] *** malveo <malveo!~Thunderbi@5.90.36.118> has joined #eclipse
[13:40:40] *** Aliagha <Aliagha!ae8a00a2@gateway/web/freenode/ip.174.138.0.162> has joined #eclipse
[13:44:09] <Aliagha> Hi, I'm told to run something within eclipse environment , but i have no clue where to run it, could any body help me with that? (./run camdp.CAMDP src/camdp/ex/discact/knapsackM.cmdp 2 false false)
[13:58:43] *** malveo1 <malveo1!~Thunderbi@host78-182-static.123-81-b.business.telecomitalia.it> has joined #eclipse
[14:00:48] *** malveo <malveo!~Thunderbi@5.90.36.118> has quit IRC (Ping timeout: 252 seconds)
[14:03:31] *** malveo1 <malveo1!~Thunderbi@host78-182-static.123-81-b.business.telecomitalia.it> has quit IRC (Ping timeout: 260 seconds)
[14:03:38] *** malveo <malveo!~Thunderbi@host78-182-static.123-81-b.business.telecomitalia.it> has joined #eclipse
[14:04:33] *** malveo1 <malveo1!~Thunderbi@5.90.47.155> has joined #eclipse
[14:07:34] *** malveo <malveo!~Thunderbi@host78-182-static.123-81-b.business.telecomitalia.it> has quit IRC (Ping timeout: 240 seconds)
[14:07:35] *** malveo1 is now known as malveo
[14:18:42] <mbooth> Aliagha: Maybe ask the person who told you? What you've put there just looks like a shell command that you might run from a terminal
[14:22:57] <Aliagha> mbooth: Thanks for getting back to me. I could run it in terminal, but right after I run it, it opens eclipse and in the console part this (Usage: MDP-filename #iter display-2D? display-3D? [dApproxPrune]) is printed, maybe it's saying the command should look like what I already sent to it..., the code is a library for Markov Decision Processes solver that i see no link to it's coders :((((((((
[14:24:14] <mbooth> Aliagha: If you get a "Usage:" message from a command line tool, that usually means you are not invoking it correctly. I don't see how Eclipse is involved.
[14:24:52] <mbooth> Aliagha: Is this some kind of application base on Eclipse?
[14:27:33]
<Aliagha> mbooth: I don't know if it's based on eclipse (I don't know what it means), but the coders themselves proposed to use eclipse, that wouldn't take much time if you see this: https://github.com/ssanner/xadd-inference, there in the read me they have said to use eclipse.
[14:29:09] <mbooth> Aliagha: For development yes. It goes on to say, "For running this code from a terminal we provide" the run script, which is what you have asked about.
[14:29:26] <mbooth> Aliagha: So, do you want help running it, or creating a project in Eclipse?
[14:32:24] <Aliagha> mbooth: It's so bewildering you know, I first included it in eclipse, thinking I may need to run something there, but finally could do anything other than trying to run the command in terminal and see eclipse bringing a file
[14:32:45] <Aliagha> couldn't***
[14:34:42] <Aliagha> mbooth, this might sound ridiculous but took me almost a couple of weeks to see i need to use the terminal for running that command! :I
[14:35:19] <mbooth> Aliagha: Helps to read all the text, I suppose ;-)
[14:36:34] <Aliagha> mbooth: I wasn't used to run codes in terminal (cmd) while having the IDE! :((
[14:37:28] <mbooth> Aliagha: Well, if you integrate the library into your application, you'd be running your application from the IDE with no need to run anything from the terminal.
[14:38:04] <mbooth> Aliagha: Are you new to programming?
[14:39:26] <Aliagha> mbooth: No, I'm not really, I usually code in python and C/C++, specially when it comes to Reinforcement Learning or Deep learning things
[14:40:03] <Aliagha> but this really got on nerve, I'm about sending you a snapshot of what i see
[14:40:55] <mbooth> Aliagha: BTW, it's unlikely that someone here would have experience with any one random library from the Internet. In general we can help with Eclipse-related things, but for library-specific questions, you are better asking the author.
[14:43:26] *** malveo <malveo!~Thunderbi@5.90.47.155> has quit IRC (Ping timeout: 268 seconds)
[14:44:26] <Aliagha> mbooth: Thanks, I'm asking because I feel like there is something I don't know about eclipse or running things on it
[14:44:53] <Aliagha> mbooth: that you might have more experience than me
[14:46:29] <mbooth> Aliagha: It looks like you haven't told Eclipse which folder contains the source.
[14:47:00] <mbooth> Aliagha: Right-click on the "src" folder -> Build path -> use as source folder
[14:47:33] <mbooth> For example, I am only assuming "src" contains the source ;-)
[14:51:13]
<Aliagha> mbooth: you're right, the readme in it's github repository states the same, this is what happend : https://imgur.com/a/29rSbbt
[14:52:04] <Aliagha> but still no idea what run :(((
[14:52:16] <Aliagha> what to run*
[14:52:48] <mbooth> Aliagha: Me neither -- you should take a look in the "run" script that you used in the terminal and run the same thing that does....
[14:55:38] <mbooth> Aliagha: The IDE will basically do the same thing as the script does (i.e. invoke java with a classpath and the name of the class that serves as the entry point into the application)
[14:58:09] <Aliagha> mbooth: So why does it open up eclipse and do nothing again!? :(
[14:58:42] <mbooth> Aliagha: I don't know what this mean "So why does it open up eclipse and do nothing"
[14:59:04] <mbooth> Aliagha: Are you saying when you invoke "./run" another instance of Eclipse opens?
[14:59:24] <mbooth> Aliagha: If not, what exactly are you doing?
[15:00:17] <mbooth> (AKA, I'm not psychic, you to explain the exact steps you are taking)
[15:01:09] <Aliagha> mbooth, I need to thank you once again, this is indeed very kind of you
[15:08:26] <Aliagha> mbooth: i took the run.bat file inside /src/ and tried running the code so it could find CAMDP class but still it couldn't
[15:13:11] <mbooth> Aliagha: Okay, well you specify a path that contains "src" but you are already in "src" so there is no wonder it doesn't do anything ;-)
[15:13:46] <mbooth> Aliagha: But let's forget about it if you are not comfortable with the terminal. Let's stick to Eclipse
[15:13:54] <mbooth> So
[15:15:48] <Aliagha> mbooth: It's okay working with terminal if i don't need to get messy with eclipse environment
[15:16:54] <mbooth> It looks like you found the main class, that seems to be the first parameter "camdp.CAMDP" so that's the file you want to run from Eclipse
[15:20:08] <mbooth> Aliagha: Shouldn't you run the "run.bat" file on Windows? It's been perhaps a decade since I used Windows, so I'm not going to debug Windows terminal issues here.
[15:20:20] <mbooth> Aliagha: Let me clone the source and try it myself
[15:21:16] <Aliagha> mbooth: Sure, it's very kind of you
[15:33:07] *** malveo <malveo!~Thunderbi@2.234.224.64> has joined #eclipse
[15:42:11] <mbooth> Aliagha: Hey
[15:43:42] <Aliagha> mbooth: I'm still here :)))
[15:43:47] <mbooth> Aliagha: I recorded a screencast of me cloning the repo and running the project
[15:44:13] <Aliagha> mbooth: Sure, thanks
[15:44:50] <mbooth> Aliagha: Hopefully you can follow the same steps and get the same result
[15:45:02] * mbooth is tired of typing
[15:50:15] <mbooth> Aliagha: If you too get the "java.lang.UnsatisfiedLinkError" error when you run it that means a native library is missing, looks like you need to consult the "Installing LPSolve" section of the readme.
[15:52:15] <mbooth> Aliagha: You picked a nice complex project to begin with -- JNI (Java Native Interface) is not for the faint-hearted :-)
[15:55:02] <Aliagha> mbooth: Unfortunately, i'm not facing the same thing here :((
[15:55:11] <mbooth> Aliagha: What is different?
[16:00:21] <Aliagha> seems apply button isn't on for me here so i can't apply anything
[16:01:39] <mbooth> Aliagha: Apply button won't activate if nothing changed -- did you already have these params there?
[16:04:06] <Aliagha> It seems im facing the same error
[16:04:08] <Aliagha> Error: Could not find or load main class camdp.CAMDP
[16:04:54] <Aliagha> although I'm trying to run the CAMDP.java file itself :(((((((((((((((((((((((
[16:06:47] <mbooth> ?
[16:07:58] <Aliagha> well the error doesn't change, even if i add those arguments, the error is the same
[16:08:14] <mbooth> Aliagha: Please answer my question :-)
[16:08:40] <mbooth> Do you get that error when you hit the run button in the "Run Configuration" dialog?
[16:08:41] <Aliagha> Yes, the same error
[16:09:01] <mbooth> Can you show me the "main" tab of that dialog?
[16:10:49] <mbooth> And after you hit "proceed"?
[16:12:00] <mbooth> Aliagha: Also your project is named differently to mine -- did you import the project differently to how I did?
[16:12:27] <mbooth> Aliagha: Okay I think you did not copy what I did in the video :-/
[16:13:35] <mbooth> Eclipse is not compiling the Java, which means you did something differently because your project is not configured correctly
[16:14:42] <mbooth> Again, I'm not psychic so if my mental model differs from your reality you need to tell me exactly what you did differently ;-)
[16:14:58] <mbooth> So, how did you import the project?
[16:18:17] <Aliagha> I cloned it directly from github and put in my desktop, then from File I chosse open projects from file system
[16:18:44] <Aliagha> but i'm trying now to clone it once again using the eclipse itself
[16:26:08] <Aliagha> I can't choose github as a repository source
[16:26:35] <Aliagha> it just doesn't appear in the list
[16:26:48] <Aliagha> :'(
[16:27:41] <mbooth> Aliagha: You probably don't have that plugin installed.
[16:28:13] <mbooth> Aliagha: But I just tried doing it your way, and it still works for me :-/
[16:28:22] <mbooth> Aliagha: I can't figure out what you did
[16:31:54] <Aliagha> I'm a recording a short screencast so you see what I'm doing
[16:45:59] <mbooth> Aliagha: 404
[16:47:25] <Aliagha> would you try again to see if the same thing is happening?
[16:48:46] <mbooth> Aliagha: Still 404
[16:52:11] <Aliagha> a more direct link cause you may not know the language
[16:54:16] <mbooth> Aliagha: There is red "!" on your project after you import it -- what is the error there?
[16:54:54] <mbooth> Aliagha: (Look in the "Problems" view)
[16:59:11] <mbooth> Aliagha: This is likely your problem -- So what does your build path look like? Right-click project -> Build path -> configure build path
[17:03:30] <Aliagha> you didn't have to edit these parts, poor me :'(
[17:05:03] <mbooth> Aliagha: Well it looks like you somehow added CAMDP.java as a library -- remove that entry
[17:05:24] <mbooth> It is obviously not a valid zip file
[17:05:42] <mbooth> Does the "!" go away now?
[17:08:53] <Aliagha> Yes it did
[17:09:44] <mbooth> And when you run the project now?
[17:19:08] <Aliagha> no lpsolve55j in java.library.path, but there is actually there
[17:23:33] <mbooth> Aliagha: Okay, but as it says, you need to add it to the java.library.path
[17:24:36] *** ylp <ylp!~ylp@46.218.134.66> has quit IRC (Quit: Leaving.)
[17:25:32] <Aliagha> I pasted these three files to all address in the parentheses, is there any other place i need to paste it you mean?\
[17:27:13] *** maryo <maryo!~Maryo@unaffiliated/maryo> has joined #eclipse
[17:27:46] <mbooth> Aliagha: I don't know what that means.
[17:28:40] <mbooth> I mean you need to set the java.library.path property to tell Java where the native libraries are... You can probably google the right way to do that
[17:30:14] <nitind> Inside Eclipse, it's usually a VM argument in your Launch Configuration--if Eclipse is running it directly.
[17:34:26] <Aliagha> nitind: thanks for the attention where can i set the native library location value did you say? I can't find it :'(
[17:36:08] <Aliagha> nitind: Oh, found it!
[17:40:03] <Aliagha> is there any particular path i need to assign? I simply don't know where are the native libraries :(
[17:48:23] <Aliagha> nitind: is there any modification i need to do with VM argument?
[17:51:00] <mbooth> Aliagha: You can set properties with the -Dkey=value option, so to set the java.library.path property you can add "-Djava.library.path=/some/path" to the VM args of your run configuration
[17:54:53] <mbooth> Where "/some/path" is the path to wherever the DLL is... I guess it's C:\some\path on windows
[17:59:13] *** maryo <maryo!~Maryo@unaffiliated/maryo> has quit IRC (Ping timeout: 246 seconds)
[18:12:24] <mbooth> Aliagha: In that case there is probably no file named "lpsolve55j.dll" in that directory.
[18:15:53] *** Aliagha <Aliagha!ae8a00a2@gateway/web/freenode/ip.174.138.0.162> has quit IRC (Ping timeout: 256 seconds)
[18:16:29] *** maryo <maryo!~Maryo@unaffiliated/maryo> has joined #eclipse
[18:50:44] *** maryo <maryo!~Maryo@unaffiliated/maryo> has quit IRC (Ping timeout: 252 seconds)
[18:57:51] *** Revan- <Revan-!~wesley@host-69-144-17-114.static.bresnan.net> has quit IRC (Read error: Connection reset by peer)
[18:59:37] *** Revan- <Revan-!~wesley@host-72-174-107-194.static.bresnan.net> has joined #eclipse
[19:05:53] *** Revan- <Revan-!~wesley@host-72-174-107-194.static.bresnan.net> has quit IRC (Read error: Connection reset by peer)
[19:06:55] *** Revan- <Revan-!~wesley@host-72-174-107-194.static.bresnan.net> has joined #eclipse
[19:10:08] *** Revan- <Revan-!~wesley@host-72-174-107-194.static.bresnan.net> has quit IRC (Remote host closed the connection)
[19:11:40] *** Revan- <Revan-!~wesley@host-69-144-17-114.static.bresnan.net> has joined #eclipse
[19:16:44] *** Revan- <Revan-!~wesley@host-69-144-17-114.static.bresnan.net> has quit IRC (Read error: Connection reset by peer)
[19:26:50] *** Revan- <Revan-!~wesley@host-69-144-17-114.static.bresnan.net> has joined #eclipse
[19:39:40] *** strykerawb <strykerawb!~rob@redhat/jboss/rawblem> has quit IRC (Ping timeout: 246 seconds)
[19:41:30] *** Revan- <Revan-!~wesley@host-69-144-17-114.static.bresnan.net> has quit IRC (Read error: Connection reset by peer)
[19:47:58] *** Revan- <Revan-!~wesley@host-72-174-107-194.static.bresnan.net> has joined #eclipse
[19:49:57] *** TomTom <TomTom!uid45892@gateway/web/irccloud.com/x-dyljingnbgejmrwr> has quit IRC (Quit: Connection closed for inactivity)
[19:56:04] *** strykerawb <strykerawb!~rob@redhat/jboss/rawblem> has joined #eclipse
[20:02:41] *** mazzen <mazzen!~mazzen@tmo-080-111.customers.d1-online.com> has joined #eclipse
[20:07:37] *** mazzen <mazzen!~mazzen@tmo-080-111.customers.d1-online.com> has quit IRC (Remote host closed the connection)
[20:14:00] *** wildlander <wildlander!~wildlande@unaffiliated/wildlander> has joined #eclipse
[21:09:58] *** Revan- <Revan-!~wesley@host-72-174-107-194.static.bresnan.net> has quit IRC (Ping timeout: 246 seconds)
[21:17:10] *** Revan- <Revan-!~wesley@host-72-174-107-194.static.bresnan.net> has joined #eclipse
[21:26:35] *** apupier <apupier!~apupier@LFbn-1-7946-49.w90-112.abo.wanadoo.fr> has quit IRC (Read error: Connection reset by peer)
[21:27:59] *** NightBlade <NightBlade!adf79532@gateway/web/freenode/ip.173.247.149.50> has quit IRC (Ping timeout: 256 seconds)
[21:30:15] *** Hamilton <Hamilton!~Hamilton@94.241.149.235> has joined #eclipse
[22:12:59] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has joined #eclipse
[22:34:01] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has quit IRC (Quit: Leaving)
[22:46:30] *** gesker <gesker!~gesker@host-72-174-107-194.static.bresnan.net> has joined #eclipse
[22:47:19] *** gesker <gesker!~gesker@host-72-174-107-194.static.bresnan.net> has quit IRC (Client Quit)
[23:39:38] *** malveo <malveo!~Thunderbi@2.234.224.64> has quit IRC (Ping timeout: 245 seconds)
[23:43:31] *** Olipro <Olipro!~Olipro@uncyclopedia/pdpc.21for7.olipro> has quit IRC (Read error: Connection reset by peer)
[23:47:33] *** Olipro <Olipro!~Olipro@uncyclopedia/pdpc.21for7.olipro> has joined #eclipse