#jogamp @ irc.freenode.net - 20150401 05:05:29 (UTC)


20150401 05:05:29 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20150331050529.html
20150401 05:05:29 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20150401050529.html
20150401 06:09:54 * jvanek (jvanek@anon) has joined #jogamp
20150401 06:29:52 * kles4enko (~kles4enko@anon) has joined #jogamp
20150401 06:34:18 * kles4enko_ (~kles4enko@anon) has joined #jogamp
20150401 06:34:27 * kles4enko (~kles4enko@anon) Quit (Ping timeout: 250 seconds)
20150401 06:48:44 * jvanek (jvanek@anon) Quit (Remote host closed the connection)
20150401 06:51:43 * jvanek (jvanek@anon) has joined #jogamp
20150401 07:01:46 * kles4enko_ (~kles4enko@anon) Quit (Ping timeout: 255 seconds)
20150401 07:09:12 * monsieur_max (~maxime@anon) has joined #jogamp
20150401 07:33:22 * eclesia (~husky@anon) has joined #jogamp
20150401 07:33:26 <eclesia> good morning
20150401 07:34:51 <bruce-> morning
20150401 07:54:14 * jvanek (jvanek@anon) Quit (Remote host closed the connection)
20150401 07:54:48 * jvanek (jvanek@anon) has joined #jogamp
20150401 08:37:33 * jvanek (jvanek@anon) Quit (Remote host closed the connection)
20150401 08:47:35 <eclesia> who someone answered :o
20150401 08:56:53 <zubzub> http://thebeebs.github.io/OfficeAssistant/
20150401 09:04:08 * jvanek (jvanek@anon) has joined #jogamp
20150401 09:09:20 * jvanek (jvanek@anon) Quit (Remote host closed the connection)
20150401 10:01:37 * jvanek (jvanek@anon) has joined #jogamp
20150401 10:04:03 <bruce-> are there some instructions somewhere on how to get jogl to work nicely on retina/hi-dpi screens?
20150401 10:05:13 <bruce-> I have some programs that render only in the lower left quadrant of the window
20150401 10:09:08 <bruce-> using NEWT
20150401 10:24:00 <bruce-> setSurfaceScale will do it for now as a stop gap solution
20150401 11:05:41 * zzuegg (~zzuegg___@anon) has joined #jogamp
20150401 11:36:27 <sgothel> works flawless here and in unit tests
20150401 11:36:40 <sgothel> you may confuse window- and surface/pixel-units
20150401 11:37:21 <sgothel> surface/pixel-units >> window-units on hi-dpi
20150401 11:40:07 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20150401 11:50:56 <bruce-> yeah
20150401 11:50:58 * jvanek (jvanek@anon) has joined #jogamp
20150401 11:50:58 * jvanek (jvanek@anon) Quit (Client Quit)
20150401 11:51:22 <bruce-> it is just that my programs that are rewritten without any consideration for hi-dpi don't work well
20150401 11:51:58 <bruce-> rewritten->written
20150401 12:12:42 <sgothel> right .. the window/pixel unit conversion shall be taken into account, i.e. size your windows considering DPI and/or ratio of screen size
20150401 12:12:52 <sgothel> and your content w/ DPI in mind
20150401 12:14:24 <sgothel> maybe we should add position/size variants using [0..1] floats for the latter (screen ratio) to NEWT's Window class hmm ..
20150401 12:14:58 <sgothel> .. w/ [0..] i.e. >1 .. for multi monitor .. its getting complicated :)
20150401 12:15:24 <sgothel> or the whole virtual viewport ratio ? hehe
20150401 13:06:36 <sgothel> http://www.zerohedge.com/news/2015-04-01/greek-finmin-greece-will-adopt-bitcoin-if-eurogroup-doesnt-give-us-deal <- holy cow .. I just hope they roll out their own advanced version of 'a bitcoin' currency ..
20150401 13:07:13 <sgothel> and then .. it is April 1st :)
20150401 13:08:25 <sgothel> (lets post links to fools day .. :)
20150401 15:49:52 * gingerb3an (~gingerb3a@anon) has joined #jogamp
20150401 15:56:16 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150401 15:57:58 * gingerb3an (~gingerb3a@anon) Quit (Quit: Konversation terminated!)
20150401 16:03:23 * eclesia (~husky@anon) has left #jogamp
20150401 16:09:08 * kles4enko_ (~kles4enko@anon) has joined #jogamp
20150401 16:18:15 * dirtytrixzzster (~gingerb3a@anon) has joined #jogamp
20150401 16:20:23 * dirtytrixzzster (~gingerb3a@anon) Quit (Quit: Konversation terminated!)
20150401 16:23:45 * dirtytrixzzster (~gingerb3a@anon) has joined #jogamp
20150401 16:34:34 * luska72 (8182120b@anon) has joined #jogamp
20150401 16:41:10 * monsieur_max (~maxime@anon) has joined #jogamp
20150401 16:44:38 * monsieur_max (~maxime@anon) Quit (Client Quit)
20150401 16:45:09 * luska72 (8182120b@anon) Quit (Quit: Page closed)
20150401 16:50:01 * monsieur_max (~maxime@anon) has joined #jogamp
20150401 16:52:53 * monsieur_max (~maxime@anon) Quit (Client Quit)
20150401 16:53:20 * monsieur_max (~maxime@anon) has joined #jogamp
20150401 17:31:06 * Eclesia (~eclesia@anon) has joined #jogamp
20150401 18:08:31 <Eclesia> Ho cool, MathML3 has a new notation for processing
20150401 18:10:38 <Eclesia> means ML3 -> Spir-V or Java :)
20150401 18:14:05 <rmk0> vomit
20150401 18:16:25 <Eclesia> if you have some other solutions to offer (between 2 vomit sessions)
20150401 18:17:14 <rmk0> you should probably get some experience with any pure functional typed language
20150401 18:17:19 <rmk0> "syntax" is just not enough
20150401 18:19:03 <rmk0> with a system like coq, you'd model mathematical expressions as values of algebraic types, model expressions/statements of your target language(s) as values of other algebraic types, and then write translation functions complete with proofs that they preserve the semantics of the original
20150401 18:19:09 <Eclesia> my objective is to have a 'formula' converted to a function whatever language. not an algorithm
20150401 18:20:23 <rmk0> there's no difference
20150401 18:20:38 <rmk0> unless you're talking about some tiny subset of mathematics
20150401 18:20:49 <Eclesia> by coq you mean this : http://fr.wikipedia.org/wiki/Coq_%28logiciel%29#/media/File:CoqProofOfDecidablityOfEqualityOnNaturalNumbers.png ?
20150401 18:21:39 <rmk0> that is coq, yeah
20150401 18:21:43 <rmk0> http://coq.inria.fr
20150401 18:22:33 <rmk0> i tend to use haskell to document mathematics, because i'm not concerned about proofs
20150401 18:29:59 <Eclesia> hmm ... not easy to understand this coq thing
20150401 18:30:29 <Eclesia> keeping the link, will read more on it this week end
20150401 18:30:49 <rmk0> it's this: https://en.wikipedia.org/wiki/Calculus_of_constructions
20150401 19:20:24 * kles4enko_ (~kles4enko@anon) Quit (Ping timeout: 250 seconds)
20150401 19:29:16 * dirtytrixzzster (~gingerb3a@anon) Quit (Quit: Konversation terminated!)
20150401 19:35:39 <sgothel> .. I use a functional description if possible as well [in java], i.e. throwing 'final' in, trying to avoid variables and branches .. for the more complex things
20150401 19:36:44 <sgothel> sure coq (sounds like cock :) .. and the like are more sophisticated here, especially in regards to the proof
20150401 19:37:01 <sgothel> so lets be a bit cocky :)
20150401 19:37:26 <sgothel> April 1st almost over .. and just read one fake .. :-/
20150401 19:38:04 <rmk0> they get that "cock" thing a lot /o\
20150401 19:38:52 <sgothel> https://jogamp.org/bugzilla/show_bug.cgi?id=1153 <- @Eclesia: I just fixed the AST -> java expression thingy .. would need more love for a general native expression -> java
20150401 19:38:53 <rmk0> is a layer of puns on top of puns... thierry coquand wrote the calculus of constructions (coc)
20150401 19:39:10 <sgothel> however, usually you can use LISP / polnish notation w/ a stack ..
20150401 19:39:12 <Eclesia> the 'coq' is the french emblem after all ^^
20150401 19:39:34 <sgothel> right .. the french are cocky by nature of state :)
20150401 19:42:50 <Eclesia> hm... lisp ? a bit big for april-s fool ^^
20150401 19:43:14 <sgothel> nah .. ANTLR/AST uses LISP like stacking/tree ..
20150401 19:43:22 <sgothel> (+ 1 1 1) .. etc
20150401 19:43:51 <sgothel> I just realized its April 1st when start reading the above article about greece + bitcoin :)
20150401 19:44:01 <sgothel> don't do any contracts today! :)
20150401 19:44:33 <Eclesia> I don't really understand this bug report :/
20150401 19:45:08 <sgothel> enum lala { a = 1, b = a + 1 << 2 };
20150401 19:45:22 <sgothel> the expression 'a + 1 << 2' must be supported
20150401 19:45:45 <sgothel> properly parsed .. and converted to valid java expression (i.e. number conversion etc)
20150401 19:46:09 <sgothel> ANTLR does a inverse polnish notation like LISP tree
20150401 19:46:13 <Eclesia> I support it in my ast but I guess my lexer/parser/ast/grammar is to far from what you use :/
20150401 19:46:16 <sgothel> which must be serialized .. blabla
20150401 19:47:24 <sgothel> well, I try not to rely on the ANTLR part too much, so its decoupled w/ java classes - so later we may move to another grammar solver
20150401 19:48:41 <Eclesia> here is how looks like mine : https://bitbucket.org/Eclesia/unlicense/src/5b6b9139961503e131b0c1c36b5ce584ab567b64/compiler/compiler-java/src/main/resources/un/language/java/java.gr?at=default
20150401 19:49:23 <sgothel> tight :)
20150401 19:50:03 <Eclesia> java syntax is complex after all ^^ but made it under 200lines
20150401 19:50:39 <sgothel> NUMBER is wrong
20150401 19:50:58 <sgothel> http://jogamp.org/git/?p=gluegen.git;a=commit;h=d30a3ea54e26978d6ff199cba0fd79c5c0cef483
20150401 19:51:15 <sgothel> hexadecimal w/ binary exponent floats
20150401 19:51:48 <Eclesia> you mean 0b ? isn't that in java 9 only ?
20150401 19:52:04 <sgothel> well, I took the c and java grammar from ANTLR contribs ..
20150401 19:52:10 <sgothel> sorry: thats only for C
20150401 19:52:26 <sgothel> since GlueGen parses C .. and dumps java ..
20150401 19:52:48 <sgothel> we read java as well, but just to allow supression of stuff already declared in super interfaces/classes
20150401 19:53:44 <sgothel> http://jogamp.org/git/?p=gluegen.git;a=blob;f=src/antlr/com/jogamp/gluegen/jgram/JavaParser.g;h=1c06bfd3a6aa73e11ef66a8f3afe4a96daae12e6;hb=HEAD <- the java grammar we use
20150401 19:54:08 <sgothel> http://jogamp.org/git/?p=gluegen.git;a=blob;f=src/antlr/com/jogamp/gluegen/jgram/JavaParser.g;h=1c06bfd3a6aa73e11ef66a8f3afe4a96daae12e6;hb=HEAD#l118
20150401 19:54:08 <sgothel> :)
20150401 19:54:40 <Eclesia> hard to read ^^
20150401 19:55:38 <sgothel> why do you put whitespace in the grammar ?
20150401 19:55:51 <sgothel> shouldn't lexer skip all those?
20150401 19:56:32 <sgothel> text -> lexer -> token-stream -> grammar-parser -> AST/whatever
20150401 19:56:33 <Eclesia> depends on the grammar. some grammar need indentation informations
20150401 19:56:42 <sgothel> oh oh
20150401 19:57:35 <Eclesia> but I have a small method trim on the AST to clean it from anything useless
20150401 19:58:36 <Eclesia> beside I also aim to support syntax coloration so all tokens (){}[] have some importance.
20150401 20:00:47 <Eclesia> that remains me I still don't have a multiline text widget
20150401 20:00:59 <Eclesia> so much to do ...
20150401 20:03:28 <Eclesia> sgothel: do you have one ?
20150401 20:03:47 <sgothel> hu .. editor window ? nope, sorry
20150401 20:03:53 <sgothel> when I start w/ graph ui :)
20150401 20:04:04 <sgothel> but same thing here .. so much things .. ahem :)
20150401 20:04:32 <sgothel> now also need to ensure, that in end of this month we have a roof over our heads :)
20150401 20:04:46 <sgothel> new apartment gets renovated .. lots to do ..
20150401 20:05:47 <sgothel> (3rd week dealing w/ apartment stuff now .. a headache - hence I relax here coding a bit, the simple world :)
20150401 20:07:40 <Eclesia> hehe
20150401 20:09:04 <sgothel> pro tip: find craftsmen you can trust, are reliable and work w/o micromanagment _before_ ! :)
20150401 20:12:16 <Eclesia> first I need to find a house to buy without 3generations of credits
20150401 20:12:35 <sgothel> or move to Bremerhaven :)
20150401 20:12:54 <sgothel> or make a big family .. 4 kids or so :)
20150401 20:13:27 * Eclesia only wants one
20150401 20:13:33 <sgothel> here .. I guess .. after the fourth child .. they would give you a house, otherwise you could not find a place :)
20150401 20:14:14 <sgothel> daughter is 25, son now 6 month .. so another one might happen
20150401 20:24:26 <Eclesia> does someone know how to define the program which generates thumbnails for a given mime type on linux ?
20150401 20:25:04 <sgothel> man thumbnail ?
20150401 20:25:33 <sgothel> sven@risa:/usr/local/projects/JOGL/jogl/oculusvr-sdk$ dpkg -S /usr/bin/thumbnail
20150401 20:25:33 <sgothel> libtiff-tools: /usr/bin/thumbnail
20150401 20:28:09 <Eclesia> that's the tool. but so far I managed to attach my app to 3d models files (this way I just click on a file and it start my 3d editor with the given model) but for thumbnails ... could fine a working example
20150401 20:28:21 <Eclesia> couldn't*
20150401 20:51:24 <sgothel> http://sputniknews.com/europe/20150401/1020328220.html <- another April 1st fools joke? (Kiev spends EU money on a wall) .. Lol .. I am afraid not. Ja ja .. there might be other references on this one :)
20150401 20:57:19 <sgothel> .. brown nosy German Gov. allows fracking now .. welcome our western overlords, feel free to ruin our groundwater :-/
20150401 20:57:59 <sgothel> ahead of TTIP .. gangs of criminals
20150401 20:59:28 <Eclesia> not much better in france, the 'charle de gaule' (nuclear aircraft carrier) under american commanders ... http://www.foxnews.com/world/2015/03/19/french-aircraft-carrier-charles-de-gaulle-brings-added-firepower-to-coalition/
20150401 20:59:49 <Eclesia> but they never said a thing on the french tv about it :/
20150401 21:00:20 <sgothel> hehe .. yeah, the protectorate named Germany still hosts nuclear minute men .. taking ownership when launched.
20150401 21:00:27 <Eclesia> we pay taxes for milatary equipement american uses, horray !
20150401 21:00:34 <sgothel> horray!
20150401 21:00:38 <zubzub> http://en.wikipedia.org/wiki/Sputnik_%28news_agency%29
20150401 21:00:42 <zubzub> so yeah
20150401 21:00:48 <zubzub> I don't think sputnik seems reliable news
20150401 21:00:57 <sgothel> lol .. I knew you were coming ..
20150401 21:01:02 <zubzub> might as well listen to fox
20150401 21:01:04 <zubzub> just as bad
20150401 21:01:26 <sgothel> if you find this news elsewhere .. just dump it here :)
20150401 21:01:47 <sgothel> it sure was on-topic for a while .. (the wall to russia)
20150401 21:02:04 <sgothel> but doesn't matter .. they already moved their rockets back to Donetz
20150401 21:02:16 <sgothel> the new ones, from our money and the US
20150401 21:02:36 <sgothel> winter is over .. so the show may continue .. disgusting
20150401 21:02:48 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20150401 21:03:24 <sgothel> http://deutsche-wirtschafts-nachrichten.de/2015/04/01/mit-eu-steuergeldern-ukraine-beginnt-mit-mauer-bau-an-grenze-zu-russland/
20150401 21:04:31 * Eclesia (~eclesia@anon) has joined #jogamp
20150401 21:09:29 <zubzub> http://www.reuters.com/article/2014/06/17/us-ukraine-crisis-border-idUSKBN0ES26620140617
20150401 21:09:50 <sgothel> haha .. thank you :)
20150401 21:10:38 <sgothel> https://consortiumnews.com/2015/03/19/ukraines-poison-pill-for-peace-talks/ .. and so on and so forth
20150401 21:11:02 <sgothel> George Orwell's 1984 was not intended as a manual!
20150401 21:11:12 <sgothel> (endless war .. etc)
20150401 21:13:05 <sgothel> summer 'games': Jemen, Iran, Ukraine (again) .. we will see. Yup, cynicism is a form of mental sickness :-/
20150401 21:14:19 <sgothel> while we are at it: http://www.psr.org/news-events/press-releases/doctors-group-releases-startling-analysis.html <- 'war on terror' body count
20150401 21:16:08 <sgothel> fox, bild, spiegel, NYT, WP, Reuters (caught lying), .. indeed .. one needs to read alot of media and crossreference all information .. :-/
20150401 21:16:26 <sgothel> some gems every now and then in all of 'em :)
20150401 21:24:22 <Eclesia> yeah I have my thumbnails with pcmanfm :)
20150401 21:24:26 <Eclesia> but not thunar :(
20150401 21:30:41 <sgothel> https://www.youtube.com/watch?v=QeLu_yyz3tc .. last but not least, I am sure you got that one (Stratfor's Europe 'strategy')
20150401 21:35:12 <sgothel> TL;DR (see): Just make 'western' European countries be thankful (again) .. and never allow them to get east bound ..
20150401 21:36:40 <sgothel> https://www.youtube.com/watch?v=hqM07E_tv2w <- for the German speakers .. my favorite contemporary careerist, Volker Pispers
20150401 21:37:04 <sgothel> *cabaret artist* .. oops :)
20150401 21:37:37 * monsieur_max (~maxime@anon) Quit (Ping timeout: 252 seconds)
20150401 21:46:25 <sgothel> Example of German state TV propaganda supporting Kiev: https://www.youtube.com/watch?v=cEf_jwRqdEo
20150401 21:50:31 <sgothel> .. and we even support this slaughtering regime w/ our tax euros through our corrupt EU governments .. yikes
20150401 22:06:10 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20150401 22:08:42 * Eclesia (~eclesia@anon) has joined #jogamp
20150401 22:18:17 <sgothel> http://thesaker.is/the-saker-interviews-paul-craig-roberts/ ..
20150401 22:18:20 <sgothel> yawn ..
20150401 22:18:26 <sgothel> good night and good luck!
20150401 22:36:31 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20150401 22:42:35 <sgothel> http://www.ronpaulinstitute.org/archives/featured-articles/2015/march/23/congress-demands-war-in-ukraine/
20150401 22:43:12 <sgothel> (btw .. above interview w/ PCR is *gold*)
20150401 22:44:01 <sgothel> http://www.paulcraigroberts.org/
20150402 05:05:29 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20150402050529.html