greptilian logo

IRC log for #friendlyjava, 2014-08-09

##friendlyjava on freenode

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

All times shown according to UTC.

Time S Nick Message
00:31 pdurbin this is true
00:32 pdurbin but it's a RuntimeException. it's unchecked. not caught by the function in our code I'm calling into
00:33 pdurbin which itself doesn't warn me that there's something to catch
00:33 pdurbin I so I don't know that there's anything to catch
00:33 pdurbin s/I so I/so I/
00:36 aditsu that function could use some javadoc :p
00:48 pdurbin right
00:49 pdurbin but really this explains the underlying problem: Why you should never use getSingleResult() in JPA | Sysout.be - http://sysout.be/2011/03/09/why-you-should-never-use-getsingleresult-in-jpa/
00:51 aditsu well, I never use EJB and JPA so I'm good :)
00:51 pdurbin heh
00:51 pdurbin touche
00:53 aditsu I'm guessing this is similar to getOneRecord() in depeche, but I also have getRecord() that returns null rather than throwing an exception
00:54 pdurbin +1
00:54 aditsu (still throws an exception if you have >1 results)
01:10 pdurbin sure. makes sense
01:10 pdurbin nice sanity check
07:11 aditsu joined ##friendlyjava
08:45 mr_lou joined ##friendlyjava
08:46 mr_lou Hello. :-)
10:10 aditsu hmm, 10 minutes
14:21 mr_lou joined ##friendlyjava
14:28 mr_lou Hello
14:42 pdurbin mr_lou: hello
14:43 mr_lou New channel?
14:43 mr_lou Or how old?
14:45 pdurbin you'll have to ask aditsu
14:45 pdurbin not new
14:52 pdurbin "Registered : Aug 15 01:04:15 2010"
14:53 pdurbin from /msg chanserv info ##friendlyjava
15:23 mr_lou Ok
15:24 mr_lou A shame it's not that known. :-)
15:26 mr_lou I sometimes /msg people in #java when they're being treated the usual treatment you typically get in that channel, that they can visit #friendly-coders instead.
15:56 mr_lou So what kind of Java development are you doing pdurbin?
15:56 mr_lou <-- mostly into JavaME
15:57 mr_lou Done some MIDP as a sparetime hobby since 2006, and recently started looking into Blu-ray Disc Java (BD-J) too. All just on a sparetime hobby level.
15:57 mr_lou I'm having difficulties finding a dedicated Mobile & Embedded community. I don't think one exists.
17:04 pdurbin mr_lou: I work on a JSF app: https://github.com/IQSS/dataverse
17:05 pdurbin at javaone last year they talked about "the internet of things" a lot. I feel like Java ME was mentioned quite a bit in that context
17:20 mr_lou pdurbin, Neat. For a long time I wanted to switch from PHP to Java Servlets, for two reasons:
17:20 mr_lou 1) Never really liked PHP. I think it looks and feels messy. The only advantage it has is that you can do a lot of things with it, and there are tons of cheap PHP hosting out there.
17:21 mr_lou 2) I just really like Java, and would like to use Java for all the things I do: JavaME and web-development.
17:21 mr_lou But Java Servlets hosting is expensive compared to PHP.
17:22 mr_lou So for now I'm sticking with PHP sadly.
17:24 mr_lou Generally, I'm also much more interested in embedded java, for some reason. Now quite sure what it is.
17:25 mr_lou I think I like the fact that it's a static platform. What I code today for it, will also run in 20 years, because the platform doesn't change, unlike most other platforms.
17:26 pdurbin there's something to be said for stability in a platform
17:26 pdurbin mr_lou: you can host 3 java apps for free on https://www.openshift.com
17:30 mr_lou I think I've come across that site in my searches. But I'd prefer something local. I.e. same country.
17:30 mr_lou I wonder what the future media centers will be like.
17:30 mr_lou I'm looking into BD-J (Blu-ray Disc Java) with plans to create video-albums for my daughter to enjoy 30-40 years from now.
17:30 mr_lou I'm thinking / hoping that future media-centers will be able to play Blu-ray ISO files.
17:43 pdurbin it would be nice to create something today that can still be played 40 years from now
17:44 pdurbin I'd probably be conservative in my format choice
17:45 pdurbin last month I me some people from http://www.artefactual.com . I'd probably ask them what they recommend
17:46 pdurbin they make https://www.archivematica.org
17:47 mr_lou Well, the safest bet is to create it all on a computer, and have the whole computer be the package.
17:47 mr_lou This is of course not that difficult today, with all the pocket-sized computers like Rasberry Pi and the likes.
17:48 mr_lou But such a solution would also be able to play back a Blu-ray ISO.
18:17 aditsu mr_lou: hi there, I'm afraid I'm out most of the time today, but welcome to the channel :)
18:18 mr_lou Thanks. :-)
18:27 pdurbin yeah, and I'm heading away for a few days: http://en.wikipedia.org/wiki/Block_Island
18:28 mr_lou :-)
18:29 mr_lou Well, I've added the channel to the auto-join list, so we're bound to have a chat later. ;-)
18:37 mr_lou I'm off to relaxe infront of the TV. :-)
18:37 mr_lou See ya
18:38 aditsu cool, see you :)
21:48 firebird1 joined ##friendlyjava

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

##friendlyjava on freenode