greptilian logo

IRC log for #virtualJUG, 2016-10-13

virtualjug.com

| Channels | #virtualJUG index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
01:21 mpasteven How important would you say JMS is?
01:22 pdurbin I guess it depends on if you use it or not. :)
01:23 mpasteven I do not know, since I do not touch Java EE at all
01:23 pdurbin Well, you might use part of Java EE, such as Servlet.
01:23 mpasteven I am eventually likely going to need some kind of integration to communicate with Java EE services
01:24 mpasteven I work on the complete opposite end, with Java ME
01:25 mpasteven Really, I know next to nothing about Java EE
01:26 pdurbin ah, Java ME
01:27 mpasteven Java ME has the usual outbound HTTP, HTTPS, TCP, and UDP
01:27 pdurbin ok
01:29 mpasteven You could just send JSON over HTTP
01:30 pdurbin yeah, that's what I'd do
01:33 mpasteven Kind of mixed if I should provide libraries to do such things, or just let the users take care of it
01:34 pdurbin Who are the users? Java ME developers?
01:35 mpasteven Users of my VM in the future
01:35 mpasteven So it could be developers of applications or actual users
01:36 mpasteven well, end users
01:36 pdurbin VirtualBox VM? JVM? What kind of VM?
01:36 mpasteven A Java ME 8 VM
01:36 mpasteven Essentially Java 7
01:37 mpasteven Very stripped down, made for very weak systems
01:37 mpasteven No invokedynamic, method handles, reflection, serialization, or finalization
01:38 pdurbin I assume you're looking forward to Jigsaw.
01:38 mpasteven May seem strange, but actually I am not
01:38 pdurbin oh
01:39 mpasteven Java ME's main class library (java.lang, etc.) only has about 400? classes
01:39 mpasteven 400 seems a bit high actually
01:40 mpasteven 214 is the correct amount
01:41 mpasteven Java ME inherits from J2ME
01:41 mpasteven But by the time Java ME 8 came out, Android was already everywhere
01:43 mpasteven Jigsaw's exporting would be useful though
01:43 mpasteven and hidding internal public classes
01:44 mpasteven The name is a kind of misnomer, since it has no Java 8's library additions, basically Java 8 was in development when Java ME 8 was being worked on
01:44 mpasteven none of*
01:45 mpasteven What is interesting to note is that Java 6's StackMapTable attribute is essentially a more compact version of J2ME's StackMap
01:46 mpasteven Having Java SE's old verifier with an infinite number of verification states would not work on such limited devices
01:47 mpasteven So J2ME enforced that for every byte code instruction, there is ever only a single state for local variables
01:49 mpasteven Java SE 6 then took that feature and made it optional, Java 7 made it required (breaking a bunch of hand written/instrumented byte code)
01:53 mpasteven I aim for J2ME compatibility also however, since there are a very large number of J2ME programs noone can reliably run
01:56 pdurbin I'm not even sure where Java ME runs anymore. It feels like Android and iPhone have taken over.
01:57 mpasteven It runs on 3 devices: Raspberry Pi, FRDM-K64F, and Intel Gallileo V2
01:58 mpasteven At least ones you can download binaries for anyway
01:58 mpasteven I would estimate the number of Java ME licensees to be at most 8
01:59 pdurbin ah, ok
02:00 mpasteven That is, newest version licensees, not those using ancient versions and hanging onto them
02:05 mpasteven pdurbin: Which Java related stuff do you work on?
02:08 pdurbin I work on a Java EE app called "Dataverse": https://github.com/IQSS/dataverse
02:12 mpasteven Interesting
02:12 mpasteven I assume it uses a database of sorts (of the SQL kind) to store data?
02:14 pdurbin yeah, PostgreSQL: http://guides.dataverse.org/en/4.5.1/installation/prep.html#architecture-and-components
02:18 mpasteven Which Java version do you support at a minimum?
02:19 pdurbin Java 8
02:37 mpasteven Looking at some random classes
02:39 mpasteven Not to poke, but in ControlledVocabularyValue's hashCode(), hash is initialized to zero; then the hash code of id is added to it in a ternary; then hash is returned
02:40 mpasteven Then seeing the Objects.equals() below, hashCode() could become return Objects.hashCode(this.id);
02:53 pdurbin mpasteven: sorry, I'm not following and it's past my bedtime. Plus, I don't think I even wrote that code. :) Anyway, good night.
02:53 mpasteven cya
02:53 mpasteven sleep well
04:57 mvala joined #virtualJUG
05:33 mvala joined #virtualJUG
06:35 _ollie joined #virtualJUG
07:51 rolios joined #virtualJUG
07:57 mmalx joined #virtualJUG
08:32 millrossjez joined #virtualJUG
08:35 _ollie joined #virtualJUG
08:42 millrossjez joined #virtualJUG
09:22 D-Spair joined #virtualJUG
09:28 rolios joined #virtualJUG
10:07 sjmaple_ joined #virtualJUG
10:07 selckin joined #virtualJUG
10:09 mmalx joined #virtualJUG
10:09 tjololo joined #virtualJUG
10:09 gsson__ joined #virtualJUG
10:26 sjmaple_ joined #virtualJUG
10:26 selckin joined #virtualJUG
10:27 mmalx joined #virtualJUG
10:27 tjololo joined #virtualJUG
10:27 gsson__ joined #virtualJUG
10:28 mvala joined #virtualJUG
10:28 pdurbin joined #virtualJUG
10:28 TheBigBoo joined #virtualJUG
10:28 michel_slm joined #virtualJUG
10:28 karstensrage joined #virtualJUG
10:28 olbpetersson joined #virtualJUG
10:28 jeremyheiler joined #virtualJUG
10:35 rolios joined #virtualJUG
10:41 _ollie joined #virtualJUG
10:43 michel_slm joined #virtualJUG
11:01 millrossjez joined #virtualJUG
11:04 _ollie joined #virtualJUG
11:12 millrossjez joined #virtualJUG
11:12 millrossjez joined #virtualJUG
11:13 millrossjez joined #virtualJUG
11:13 millrossjez joined #virtualJUG
11:15 millrossjez joined #virtualJUG
11:30 _ollie joined #virtualJUG
11:35 rolios joined #virtualJUG
11:45 millrossjez joined #virtualJUG
11:45 millrossjez joined #virtualJUG
12:08 rolios joined #virtualJUG
16:11 mpasteven joined #virtualJUG
16:49 millrossjez joined #virtualJUG
17:07 millrossjez joined #virtualJUG
17:07 millrossjez joined #virtualJUG
17:44 millrossjez joined #virtualJUG
18:12 rolios joined #virtualJUG
19:12 rolios joined #virtualJUG
21:00 millrossjez joined #virtualJUG
21:12 edburns joined #virtualJUG

| Channels | #virtualJUG index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

virtualjug.com