| Time |
S |
Nick |
Message |
| 03:32 |
|
|
cem1 joined ##friendlyjava |
| 03:34 |
|
aditsu |
pdurbin: awesome :) |
| 03:40 |
|
cem1 |
? |
| 03:41 |
|
aditsu |
cem1: he was able to build my code (see logs for more info) |
| 03:43 |
|
cem1 |
Oh! |
| 03:59 |
|
|
lalalalala joined ##friendlyjava |
| 04:29 |
|
|
cem1 joined ##friendlyjava |
| 07:08 |
|
|
mr_lou joined ##friendlyjava |
| 09:23 |
|
pdurbin |
aditsu: are you cool with sending me a pull request? |
| 09:24 |
|
aditsu |
pdurbin: I can try... not sure if I understand what's needed, I guess.. I should log in to github, fork your project, make a branch, put my code in there then send you the pull request? |
| 09:28 |
|
aditsu |
I don't get along well (or at all) with git, but I can give it a try when I find some time (maybe in a couple of days) |
| 09:35 |
|
cem1 |
pdurbin, aditsu are you guys doing combine project |
| 09:36 |
|
pdurbin |
aditsu: that's exactly right, but don't worry about making a special branch. you can just commt and push to "master" in your fork if that's easier. |
| 09:36 |
|
pdurbin |
the goal is just for you to get the "send pull request" button to click |
| 09:37 |
|
aditsu |
cem1: we're comparing different frameworks and implementations of a similar task, kind of |
| 09:38 |
|
cem1 |
i like to do combine project with you guys |
| 09:39 |
|
aditsu |
sure, implement a phonebook using your chosen libraries/frameworks and contribute the code |
| 09:40 |
|
aditsu |
my implementation is at http://phonebookdemo.aditsu.net |
| 09:40 |
|
aditsu |
pdurbin's is at http://tmp.greptilian.com:8080/javaee7addressbook-1.0-SNAPSHOT/ |
| 09:41 |
|
aditsu |
he put his code in github at https://github.com/pdurbin/addressbookmvc/tree/master/examples/javaee7 |
| 09:42 |
|
aditsu |
it's not really combined.. each of is is doing his own thing |
| 09:46 |
|
aditsu |
pdurbin: if I don't branch, it means I need to replace your code, right? that seems worse |
| 09:47 |
|
aditsu |
or put my stuff in a separate folder, which is even worse |
| 09:51 |
|
pdurbin |
aditsu: my stuff is in a folder called "javaee7". I imagine you'd create a folder called "wicket" https://github.com/pdurbin/addressbookmvc/tree/master/examples |
| 09:51 |
|
pdurbin |
under "examples" |
| 09:52 |
|
aditsu |
oh, you planned to have folders like that from the start? ok |
| 09:53 |
|
pdurbin |
yeah |
| 09:54 |
|
aditsu |
mine is wicket-depeche-jetty-ant-ivy :p |
| 09:54 |
|
pdurbin |
just like https://github.com/tastejs/todomvc/tree/master/examples |
| 09:54 |
|
aditsu |
but the folder can be just wicket |
| 09:54 |
|
pdurbin |
sure |
| 09:55 |
|
pdurbin |
in a readme I list the technologies I'm using: https://github.com/pdurbin/addressbookmvc/blob/master/examples/javaee7/readme.md |
| 09:56 |
|
pdurbin |
I struggle a bit with the folder name. Instead of "javaee7" I could imagine "javaee7-vanilla-jsf" to indicate that I'm not using JSF component libraries like PrimeFaces. Just regular JSF from the spec. |
| 09:57 |
|
pdurbin |
cem1: absolutely send me a pull request too! I'm curious what technologies you'd use. |
| 09:58 |
|
cem1 |
i havent used much , i know only jpa , spring and jsf |
| 09:59 |
|
cem1 |
jpa 2.2 |
| 09:59 |
|
cem1 |
sprring 4.0 |
| 09:59 |
|
cem1 |
jsf 2.2 |
| 10:00 |
|
cem1 |
jquery in front end |
| 10:00 |
|
cem1 |
mysql 5.1 as db |
| 10:01 |
|
cem1 |
hibernate sucks as orm |
| 10:01 |
|
cem1 |
use eclipselink |
| 10:03 |
|
cem1 |
spring not able to find how to hate it :'( |
| 10:05 |
|
cem1 |
i know cvs but git doubt tried couple of times confusing |
| 10:09 |
|
pdurbin |
cem1: so this all looks pretty familiar to you, I assume: https://github.com/pdurbin/addressbookmvc/tree/master/examples/javaee7/src/main/java/com/greptilian/addressbookmvc/javaee7 |
| 10:09 |
|
pdurbin |
cem1: you could contribute a Spring example |
| 10:13 |
|
aditsu |
cem1: "not able to find how to hate it" - what does that mean? |
| 10:14 |
|
aditsu |
cvs? wow, that's old... you should try hg, it's kinda like git except it makes sense :) |
| 10:14 |
|
cem1 |
:D every framework suck in someparts spring doesnt suck at all |
| 10:15 |
|
cem1 |
its very easy to config make lazy where you want |
| 10:15 |
|
cem1 |
and :'/ |
| 10:15 |
|
cem1 |
havent used all spring features |
| 10:16 |
|
cem1 |
atleast for core,jdbc,spring support for MVC |
| 10:16 |
|
* cem1 |
google hg |
| 10:18 |
|
|
aditsu_ joined ##friendlyjava |
| 10:18 |
|
aditsu_ |
oh, spring does suck, really hard :p |
| 10:20 |
|
aditsu_ |
it wraps things in several layers of voodoo magic and makes it impossible to debug when something goes wrong |
| 10:23 |
|
aditsu_ |
(in my little experience with it, at least) |
| 10:27 |
|
cem1 |
? u may be having 5+ exp ? |
| 10:27 |
|
cem1 |
just guessing :P |
| 10:28 |
|
aditsu_ |
depends on the unit |
| 10:29 |
|
cem1 |
years |
| 10:30 |
|
aditsu_ |
with spring? no |
| 10:31 |
|
aditsu_ |
more like 5+ days |
| 10:31 |
|
cem1 |
aha! |
| 10:32 |
|
cem1 |
what are frameworks you have worked on aditsu |
| 10:32 |
|
aditsu_ |
actually more than that with only spring ioc |
| 10:33 |
|
cem1 |
pdurbin, when to use TypedQuery and Query ? |
| 10:33 |
|
aditsu_ |
for java and web? mostly wicket |
| 10:34 |
|
aditsu_ |
for databases... I used ibatis and activeobjects before writing depeche |
| 10:35 |
|
aditsu_ |
tried jpa a bit, loved it in theory and hated it in practice |
| 10:35 |
|
lalalalala |
why that? |
| 10:37 |
|
aditsu_ |
I wrote something simple, it didn't work, and I couldn't figure out why... (like spring, that was some years ago) |
| 10:37 |
|
Richard_2340985 |
:D |
| 10:37 |
|
Richard_2340985 |
took me some time, but now it works for me |
| 10:38 |
|
cem1 |
so you know perl or other lang ? |
| 10:38 |
|
cem1 |
pdurbin, is big fan of perl :) |
| 10:38 |
|
aditsu_ |
some python, C++ (a bit rusty) and a few others not very well :p |
| 10:40 |
|
cem1 |
does python has threads ? |
| 10:40 |
|
cem1 |
multithread |
| 10:40 |
|
aditsu_ |
I used an assortment of languages in Google code jam competitions |
| 10:40 |
|
aditsu_ |
btw, this year's gcj is coming very soon |
| 10:41 |
|
aditsu_ |
yes it has, I haven't used that much |
| 10:41 |
|
* cem1 |
gives up |
| 10:43 |
|
cem1 |
my fav lang is FP |
| 10:44 |
|
aditsu_ |
give up on what? and what language is FP? |
| 10:45 |
|
cem1 |
gives up on code jam :/ |
| 10:45 |
|
cem1 |
light weight lang JS, haskell a bit |
| 10:46 |
|
aditsu_ |
aha |
| 10:47 |
|
aditsu_ |
thought you were talking about the paradigm :p |
| 10:49 |
|
cem1 |
although like to learn haskell it makes me go crazy <complete insane> |
| 10:49 |
|
aditsu_ |
oh, and I wrote CJam :) |
| 10:50 |
|
aditsu_ |
a code golfing language |
| 10:50 |
|
cem1 |
is it turing complete ? |
| 10:50 |
|
* cem1 |
checking |
| 10:50 |
|
aditsu_ |
yes |
| 10:51 |
|
aditsu_ |
but not very practical for real world applications |
| 10:52 |
|
* cem1 |
comes back to main page and read "esoteric programming language" |
| 10:52 |
|
* cem1 |
:D |
| 10:52 |
|
cem1 |
check brainfuck you may like it |
| 10:53 |
|
aditsu_ |
I know about it.. don't like it very much :p |
| 10:53 |
|
cem1 |
:O |
| 10:54 |
|
aditsu_ |
just multiplying 2 numbers is a huge pain |
| 10:55 |
|
cem1 |
i'm learning about threads hopes to share my doubts and answers here |
| 10:57 |
|
aditsu |
I'm familiar with threads in java |
| 11:01 |
|
pdurbin |
cem1: I always use TypedQuery |
| 11:02 |
|
cem1 |
Query vs TypedQuery ? |
| 11:02 |
|
pdurbin |
yeah |
| 11:03 |
|
cem1 |
Query p = eM.createQuery("from Person"); (List<YourType>)p.getResultList(); |
| 11:31 |
|
aditsu |
in depeche-objects it would be: m.query(Person.class) |
| 12:00 |
|
pdurbin |
sounds nicely type safe |
| 13:08 |
|
|
fahio joined ##friendlyjava |
| 14:07 |
|
fahio |
java is really complicated |
| 14:07 |
|
fahio |
tooooo much complicated |
| 14:08 |
|
pdurbin |
:) |
| 14:13 |
|
aditsu |
fahio: try C++ then :) |
| 14:14 |
|
fahio |
ill put a fight with java for a while |
| 14:14 |
|
fahio |
java is sooo unfriendly |
| 14:15 |
|
aditsu |
we're here to help :p |
| 14:15 |
|
fahio |
to make things work i need to use strictfp for double |
| 14:16 |
|
aditsu |
strictfp reduces precision, I never used it |
| 15:12 |
|
|
mr_lou joined ##friendlyjava |
| 16:53 |
|
pdurbin |
huh, i'm seeing the same thing. can't catch a PSQLException - http://stackoverflow.com/questions/10632487/how-to-catch-psqlexception |
| 17:28 |
|
|
cem1 joined ##friendlyjava |
| 19:40 |
|
cem1 |
pdurbin, aditsu have used volatile in an of your project ? |
| 20:35 |
|
pdurbin |
nope |