#jogamp @ irc.freenode.net - 20151001 05:05:14 (UTC)


20151001 05:05:14 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20150930050514.html
20151001 05:05:14 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20151001050514.html
20151001 05:37:45 * hharrison (~chatzilla@anon) Quit (Ping timeout: 250 seconds)
20151001 06:11:01 * jvanek (jvanek@anon) has joined #jogamp
20151001 07:36:15 * eclesia (~husky@anon) has joined #jogamp
20151001 07:36:28 <eclesia> good morning
20151001 07:41:03 <zubzub> 00:21 < xranby_f22> http://www.infoworld.com/article/2987529/java/insider-oracle-lost-interest-in-java.html
20151001 07:41:07 <zubzub> no shit
20151001 07:41:27 <zubzub> they are putting way too little resources in it to remain competitive in the long run
20151001 07:41:47 <zubzub> I assume they had hoped to score big against google in court
20151001 07:41:54 <zubzub> when they bought sun
20151001 07:42:06 <zubzub> instead it has cost them dearly
20151001 07:42:36 <zubzub> if instead to had put all that money in java and build a (vendor lock in) java oracle eco system
20151001 07:42:41 <zubzub> they would have earned way more money
20151001 07:42:43 <zubzub> fools
20151001 07:42:59 <xranby_f22> dont give them ideas
20151001 07:43:00 * monsieur_max (~maxime@anon) has joined #jogamp
20151001 07:43:22 <zubzub> java is moving in the right direction with oracle, but it's going way too slow
20151001 07:43:39 <zubzub> aside from the gui part, which is still horrible, even with javafx
20151001 07:43:52 <monsieur_max> hello
20151001 07:43:54 <xranby_f22> because it do look like they are heading fast towards the vendor lock in
20151001 07:44:03 <xranby_f22> monsieur_max: good morning
20151001 07:44:06 <monsieur_max> zubzub: it was even slower with sun ;)
20151001 07:44:13 <zubzub> yes because sun was dead
20151001 07:44:20 <zubzub> they had virtually no money
20151001 07:44:28 <zubzub> oracle no so much
20151001 07:44:38 <xranby_f22> i thought people liked java fx 1 the one that did work on mobile
20151001 07:44:41 <zubzub> but nothing that prentious managemend can fuck up
20151001 07:44:51 <zubzub> xranby_f22: yes
20151001 07:44:54 <zubzub> then oracle took over
20151001 07:44:57 <zubzub> scrapt all of javafx 1
20151001 07:44:59 <zubzub> and made jfx 2
20151001 07:45:21 <zubzub> javafx was basically aiming at Qt
20151001 07:45:22 <zubzub> *1
20151001 07:45:28 <zubzub> 2 is aiming at wpf
20151001 07:45:39 <zubzub> Qt > wpf
20151001 07:46:05 <xranby_f22> well we here do make the f3 "Form Follows Function" core ideas work
20151001 07:46:24 <xranby_f22> F3 is the origin of javafx 1
20151001 07:46:34 <zubzub> yes I see a lot of excellent open source/free java projects
20151001 07:46:45 <zubzub> but all with very little to no funding
20151001 07:47:21 <zubzub> so we have to really on the good will of the people working on it
20151001 07:47:27 <xranby_f22> https://blogs.oracle.com/chrisoliver/entry/f3
20151001 07:48:20 <zubzub> another drawback is that a lot of java programmers are horrible programmers in sense of not writing horribly cluttered code
20151001 07:48:46 <bruce-> they also seem to lack a sense of what looks good :)
20151001 07:49:06 <zubzub> some projects are some excellent use case solvers
20151001 07:49:12 <zubzub> until you start looking at the code inside
20151001 07:49:23 <zubzub> suddenly you feel like frodo stuck in a spiderweb
20151001 08:08:11 <monsieur_max> one string to rule them all
20151001 08:15:17 <eclesia> zubzub: there is still hope : jogamp+jaijan+un-lib ;)
20151001 08:15:45 <zubzub> jaijan?
20151001 08:15:58 <eclesia> guillaum1's VM
20151001 08:17:47 <xranby_f22> jainja
20151001 08:18:05 <eclesia> :x sorry
20151001 08:18:38 <xranby_f22> http://jainja.thenesis.org/
20151001 08:37:33 <bruce-> I don't understand why Uri.toFile() returns null when Uri.isFileScheme() returns true
20151001 08:38:25 <bruce-> com.jogamp.common.net.Uri that is
20151001 08:40:19 <xranby_f22> bruce-: what kind of path is this file at?
20151001 08:42:54 <bruce-> System.out.println("here we go: " + Uri.cast("file:test.mp4").toFile());
20151001 08:43:26 <xranby_f22> how about file://
20151001 08:43:42 <bruce-> same deal
20151001 08:44:08 <xranby_f22> and how about using absolute path
20151001 08:44:12 <eclesia> new File(Uri) ?
20151001 08:44:14 <bruce-> I don't want to
20151001 08:44:20 <xranby_f22> file:///home/foo/test.mp4
20151001 08:44:50 <bruce-> actually the whole thing I am doing now is patching up urls fed such that they become absolute such that glmediaplayer can deal with them
20151001 08:46:27 <bruce-> but to answer the question, an absolute path does return a non-null File instance
20151001 08:46:58 <xranby_f22> file:///test.mp4 will that work?
20151001 08:47:20 <xranby_f22> Note that when omitting host, the slash is not omitted ("file:///foo.txt" is valid, while "file://foo.txt" is not, although some interpreters manage to handle the latter).
20151001 08:47:29 <xranby_f22> https://en.wikipedia.org/wiki/File_URI_scheme
20151001 08:48:04 <bruce-> it seems all that URI schemes and their interpreters do is make my head explode
20151001 08:48:30 <bruce-> file:///test.mp4 will give me a file that points to /test.mp4
20151001 08:48:53 <xranby_f22> file:///./test.mp4
20151001 08:48:54 <xranby_f22> ?
20151001 08:49:18 * xranby_f22 is trying to understand if URI supports relative paths at all
20151001 08:50:20 <bruce-> that would give me /./test.mp4
20151001 08:51:42 <xranby_f22> it is consistent at least
20151001 08:51:53 <xranby_f22> always operating on absolute paths
20151001 08:52:41 <bruce-> I will have to work around this another way :)
20151001 08:53:50 <bruce-> new URL("file:test.mp4").openStream() works fine btw. but that's is probably a different story entirely since URL != URI
20151001 09:11:38 * xranby_f22 (~familjen@anon) Quit (Remote host closed the connection)
20151001 09:18:38 <bruce-> by 'fine' I mean, it can open the stream, the way the URL is decoded is kind of interesting, getHost() will return "test.mp4" :)
20151001 09:27:05 <bruce-> no scratch that.
20151001 09:46:50 <sgothel> .. guys .. we use our own Uri class AFAIK :)
20151001 10:03:01 * hija (~hija@anon) has joined #jogamp
20151001 10:03:01 * hija (~hija@anon) Quit (Client Quit)
20151001 10:22:07 <xranby> sgothel: is relative URi supported using our class? (10:38:55) bruce-: com.jogamp.common.net.Uri that is
20151001 10:39:24 <eclesia> xranby: do you know if the source of jainja is the one on sourceforge ? seems a bit old 2014 :/
20151001 10:40:05 <xranby> eclesia: guillaum1 have not yet published the latest source that include the java to c transpiler
20151001 10:41:14 <xranby> eclesia: http://sourceforge.net/p/jainja/code/HEAD/tree/trunk/
20151001 10:41:24 <xranby> last updated 2015-09-21
20151001 10:42:32 <eclesia> my bad, was looking at the last sourceforge 'site' update
20151001 10:43:43 <xranby> guillaum1: have you managed to run eclesia's un-project?
20151001 10:43:51 <xranby> unlicense
20151001 10:45:41 * eclesia would like to make a self-sufficient application, bundling VM,OpenGL,Widgets
20151001 11:04:57 <sgothel> -> Julien
20151001 11:25:26 <eclesia> julien ?
20151001 13:55:02 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20151001 14:56:17 * hharrison (~chatzilla@anon) has joined #jogamp
20151001 15:45:21 * hharrison (~chatzilla@anon) Quit (Ping timeout: 256 seconds)
20151001 16:00:14 * eclesia (~husky@anon) has left #jogamp
20151001 17:03:58 * Eclesia (~eclesia@anon) has joined #jogamp
20151001 17:04:44 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20151001 18:04:46 * monsieur_max (~maxime@anon) has joined #jogamp
20151001 18:24:25 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20151001 18:25:28 * gouessej (5279cb67@anon) has joined #jogamp
20151001 18:25:43 <gouessej> Hi
20151001 18:26:14 <gouessej> Eclesia: "eclesia would like to make a self-sufficient application, bundling VM,OpenGL,Widgets" I already did it
20151001 18:27:08 <gouessej> I need to improve Windows support but my solution works
20151001 18:28:45 <gouessej> Eclesia: it should be an easy task for you, you can use RedLine RPM and JDeb, the APP format is documented and you can provide some archives as a fallback
20151001 18:29:20 <gouessej> Eclesia: You should be able to implement something similar to JNDT within days or weeks
20151001 18:31:13 <gouessej> Eclesia: I'm sure that you won't accept to use a tool under GPL, I wish you good luck with your tool :)
20151001 18:34:21 <Eclesia> gouessej: hehe :) you are the devil, don't try to tempt me :p
20151001 18:35:19 <gouessej> Redline RPM and JDeb aren't in the public domain and you would spend several months or years to reinvent them
20151001 18:36:13 <gouessej> Eclesia: Now, it's just a matter of your intransigence level
20151001 18:37:22 <gouessej> Eclesia: You can get something acceptably working without deep native integration within days without using GNU Linux packages
20151001 18:38:37 <gouessej> Eclesia: some compressed archives, one per bitness / OS combination
20151001 18:39:57 <gouessej> Eclesia: and you will have to write a lot of Java code if you don't use any build tool (Ant, Gradle, ...)
20151001 18:47:24 <Eclesia> gouessej: my first idea was to use avian vm (since it's small), make a zip with my app and various .sh/.bat to run it.
20151001 18:48:24 <gouessej> Eclesia: That's what I meant even though I didn't think about Avian VM yet
20151001 18:48:58 <gouessej> Eclesia: Why do you want to use Avian VM? You'll need OpenJDK class library anyway
20151001 18:49:38 <gouessej> Eclesia: You can use jrecreate to create a minimal JRE: http://docs.oracle.com/javase/8/embedded/develop-apps-platforms/jrecreate.htm
20151001 18:49:51 <gouessej> You can manually strip down a JRE too
20151001 19:02:28 <Eclesia> I could but I would like to start playing with other VM.
20151001 19:03:37 <Eclesia> let's stop here, this ain't the right chan to talk about it. sgothel will soon spank us if we continue. ^^
20151001 19:15:43 <zubzub> gouessej: that'll give you an 16mb jvm iirc at the smallest
20151001 19:15:58 <zubzub> dunno what the memory footprint is though
20151001 19:16:24 <zubzub> it basically a headless, encryptionless andwhatnot jvm
20151001 19:16:36 <zubzub> still very monolithic
20151001 19:16:40 * zubzub waits for java9
20151001 19:16:58 * zubzub hopes project panama will be awesome
20151001 20:15:34 <sgothel> won't spank you for this discussion .. :) me violating the chan subject quite a few times :)
20151001 20:16:12 <gouessej> Eclesia: You should solve the problem one by one instead of thinking about self-contained packages with Avian VM now
20151001 20:16:25 <gouessej> "problems"
20151001 20:44:55 * gouessej (5279cb67@anon) Quit (Quit: Page closed)
20151001 21:27:52 <Eclesia> good night ++
20151001 21:28:00 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20151002 05:05:14 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20151002050514.html