Re: [The Java Posse] Get Access to the Professional Videos of Java at ITeLearn

2015-04-03 Thread Fabrizio Giudici

On Fri, 03 Apr 2015 09:36:12 +0200, charlesmoore...@gmail.com wrote:


[SPAM]


So, the Heavens are telling us that this mailing list is basically dead  
and exposed to spammers. I'd personally be sad to lose the contact with  
many of you, because of the interesting discussions in the past. But  
that's life and I'll soon unsubscribe. I think Cédric invitation to his  
mailing list is a good idea - I subscribed a few days ago. It would be  
nice to meet there again.


Best luck to everybody.

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.


Re: [The Java Posse] Podcast suggestions?

2014-09-29 Thread Fabrizio Giudici
On Mon, 29 Sep 2014 04:33:07 +0200, Cédric Beust ♔ ced...@beust.com  
wrote:



My feelings exactly. Every time a new build system comes out, I get
excited, I try it and I realize that while it does fix a few things that
don't work very well in Maven, Maven still wins overall in usability,
productivity, tooling and general support.


Amen.

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.


Re: [The Java Posse] Podcast suggestions?

2014-09-29 Thread Fabrizio Giudici

On Mon, 29 Sep 2014 04:45:47 +0200, clay claytonw...@gmail.com wrote:


- Declarative when you want it, imperative logic when you need it. I've
heard people say Maven forces you to be declarative, which is silly.


It depends. When you have heterogeneous groups where you have to enforce  
some order, declarative is better because you can force people to stick  
with a standard way to do things.



- Multi-project builds are handled better. Gradle's approach of allowing
everything in two files at the root (build.gradle/settings.gradle) is
better than having pom.xml files scattered throughout the tree.


Really most of my pom.xml files in modules just contain coordinates and  
inherit everything from the master pom. BTW in some projects that I booted  
and how I help in maintenance, I constantly find people adding useless  
stuff in pom.xml, that should be inherited instead. Usually it can just be  
deleted. I can only figure out the mess that they'd do if imperative stuff  
was allowed.


It really depends on the kind of team you have.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.


Re: [The Java Posse] Digest for javaposse@googlegroups.com - 2 updates in 1 topic

2014-06-11 Thread Fabrizio Giudici
On Wed, 11 Jun 2014 13:16:24 +0200, Joel Neely joel.ne...@gmail.com  
wrote:



Lua is the programming language under the Codea app on the iPad, and has
been used as the language to write games publishable on that platform.


If I'm not wrong Lua is also used by Adobe Lightroom, for the UI interface.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.


Re: [The Java Posse] Any thoughts on Swift?

2014-06-11 Thread Fabrizio Giudici

On Wed, 11 Jun 2014 17:25:15 +0200, Josh Berry tae...@gmail.com wrote:


IDEs are an interesting bag, though.  Eclipse had to invent their own
toolkit to come  close to making it work.  And, I have not heard anyone


True, but this happened ages ago. In the meantime, native Java UIs are ok  
today.


But weren't we talking about a *language*?

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.


Re: [The Java Posse] Any thoughts on Swift?

2014-06-05 Thread Fabrizio Giudici

On Wed, 04 Jun 2014 17:28:56 +0200, BoD bodlu...@gmail.com wrote:


Ok thanks for this link, interesting stuff there indeed :)
I guess I'll google a bit to see if I can understand the difference
between ARC and a GC.



I'm just catching up with the email and feeds after four days of totally  
isolation and I'm still reading Cédric's post... In any case, this ARC vs  
GC subject recalls me of the first days with Java. ARC is just a primitive  
way to do automatically memory management and it's definitely more limited  
than GC. It basically keeps a counter of users of a given object releasing  
it when the counter decrements back to zero, so -for instance - pure ARC  
can't solve circular references: two objects linking each other will keep  
at least a value of 1 on their linked objects, preventing collection.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.


Re: [The Java Posse] Any thoughts on Swift?

2014-06-05 Thread Fabrizio Giudici

On Thu, 05 Jun 2014 16:38:11 +0200, Jess Holle je...@ptc.com wrote:

With Swift's ARC you have unowned and weak references, which you're  
expected to use to resolve such issues.


So the programmer certainly has more responsibility for memory  
management -- hopefully with greater speed as a result, else it's just a  
universally bad idea.


How much greater? Because in Java GC is hardly a speed problem nowadays  
(unless we're talking of games, which at this age I'm completely unaware  
of).


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.


Re: [The Java Posse] Re: Quirks with JDK 8 and AspectJ

2014-05-01 Thread Fabrizio Giudici

On Wed, 30 Apr 2014 17:24:08 +0200, Matt Walsh wals...@gmail.com wrote:

I've just received this same error deploying WSO2 Identity Server with  
Java
1.8. I searched around and found your post. What little evidence I can  
find

on the internet suggests it to be general 1.8 wonkiness.



Thanks for the feedback. I'm waiting for the final version of AspectJ to  
come out.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.


[The Java Posse] Quirks with JDK 8 and AspectJ

2014-04-07 Thread Fabrizio Giudici

Hello.

I've started porting some of my pet projects to JDK 8. Most of them use  
Spring and AspectJ, so I did expect some problems related with bytecode  
manipulation (as it happened at the beginning with JDK 7). Indeed, no  
problems at the first smoke tests (with AspectJ 1.8.0.RC2) even though  
there has been a sort of retarded flame - inconsistent and random  
errors. I suppose I'll have to wait for the final AspectJ 1.8.0.


But this wasn't my goal for this post. I've also configured my Hudson so  
all the other projects (still running with -source 1.7 and -target 1.7)  
are also compiled with the JDK 8 in 7 mode. I've found a strange error  
with AspectJ failing with a curious


	The type java.lang.CharSequence cannot be resolved. It is indirectly  
referenced from required .class files



Did some of you already made some experience with compiling with JDK 8?  
Sure I wouldn't consider it mature for production until no problems appear  
for several weeks, but I didn't expect to see existing projects break  
without any change.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.


Re: [The Java Posse] Re: Android newbie but not Java newbie

2014-04-01 Thread Fabrizio Giudici
On Tue, 01 Apr 2014 19:38:17 +0200, rakesh mailgroups  
rakesh.mailgro...@gmail.com wrote:



another question - do you guys use MVP (or its variants)?


If you mean Model-Value-Presenter? I'd answer yes, the point is  
understanding what we mean with variants. I'd rather say I use variants of  
PAC and DCI, but sure some concepts are in common with MVP, for instance  
the point that there's a middle man which totally isolates the Model  
from the View (PAC added value is in the way different components  
interact, and sometimes it makes sense, sometimes - for very simple apps -  
it doesn't).


PS I should also probably define what I mean with use... I don't write  
software for a value in return, I mentor customers in writing their  
software for a value in return. In such cases I tend to stick to simpler  
approaches (and customers then find their own way which doesn't coincide  
with mine); the software I write on my own has always also an experimental  
value and I tend to mix lots of things.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.


Re: [The Java Posse] Unenforceable software licences

2014-03-19 Thread Fabrizio Giudici
On Wed, 19 Mar 2014 03:08:07 +0100, rakesh mailgroups  
rakesh.mailgro...@gmail.com wrote:



Hi,

I emailed a company about using its free version during development of  
our

app and they said it can't be used for commercial projects (there's
paid-for versions for that).

Then I realised there's no way for that to be enforced because the tool
does not end up in the final product.

Whats the point of stipulating restrictions of use when its  
unenforceable?


There's a point, of course, because people should respect contracts just  
because they respect other people, not only because they fear to be  
punished. But I understand your objection, that company might be naive and  
trust too much in people. This doesn't mean they don't have a good  
business model - I don't know what the tool does, but perhaps in some  
cases they can sell support. So it's a matter of chances: they think that  
even though a relevant amount of people won't respect the contract, the  
fraction of whose who do, or those who need to pay for support, is enough  
for sustainability.


Note that this is not a black  white problem. If I release a GPL library,  
in theory I can enforce the contract because the bytes end up in the final  
product. Still, if the software is not open sourced and is running on a  
server, nobody can see it but the owner. There's no automatic tool that  
can check licenses in servers around the world and I'm not aware of any  
police that periodically performs mass inspections - I mean, the  
police/military corps that deal with taxes should do that, but as far as I  
see they only act after a direct complaint; but for someone to make a  
complaint, he had to know something in advance, and without seeing the  
bytes he can't.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.


Re: [The Java Posse] Any Excitement about JDK 8?!?

2014-02-26 Thread Fabrizio Giudici

On Wed, 26 Feb 2014 05:10:29 +0100, Mark Derricutt m...@talios.com wrote:

So... When looking toward Java 8, catching up in some areas would be  
a fair assessment?


Anyone have any thoughts on:

   http://java.dzone.com/articles/think-twice-using-java-8

and the linked:

   http://coopsoft.com/ar/Calamity2Article.html

Looks like parallel streams in Java8/ForkJoin are broken by design - at  
least with the streams API as they force you to use a common  
ForkJoinPool which defaults to a limited number of threads - for the  
entire JVM.  seems a little limiting


Unless I'm missing something...


I didn't play much with streams so far, and I missed that post (I had  
serious troubles with my two Apple laptops in the past ten days and I have  
accumulated a large queue of posts to read...). But actually I was curious  
about why you can use the plain ForkJoin API by specifying an explicit  
ThreadFactory (I agree, it's an advisable thing to have a separate pool  
for each task) and this is not possible with parallel(). Is there an  
official word by the API designers? Is it just something that can be added  
with an overloaded method parallel(...) or is there a deeper design  
problem behind it?


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] Any Excitement about JDK 8?!?

2014-02-26 Thread Fabrizio Giudici
On Wed, 26 Feb 2014 12:03:37 +0100, Kevin Wright  
kev.lee.wri...@gmail.com wrote:



There's a lot of FUD here.


Agreed.


ForkJoin is *not* broken, blocking I/O threads are broken.


Agreed as well, in general.

Still, wouldn't be a good thing to be able to specify a pool in parallel()?


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] TDD in 2014

2014-02-21 Thread Fabrizio Giudici
I consider myself and advocate of TDD, not a fan - with this I mean that  
it's one of the most important best practices, but it must not be taken  
with zealotry.


Cédric wrote some very reasonable points. As usual, it depends on the  
context. There are places where it makes sense to have innovative  
solutions, and maybe you have to try 2/3 different approaches before to  
find the good one. Being obsessive with TDD here can be a waste of time,  
so I'd do some, but with more focus on getting quickly to a  
validation/rejection point of the solution. Summing it up, I could say  
that it makes sense to do less TDD when prototyping, even though I'd still  
do some.


OTOH in many cases, call them boring if you wish, you are in a slight  
variation of something you've seen before: CRUD, reporting, alarms, etc...  
Here you can safely start with more TDD.


The most important point by Cédric, whom I agree to, is to give more  
importance to integration/functional tests rather than unit tests - or,  
let's say again it depends on the context, but don't go blindly with tons  
of unit tests; think it over, be sure to give the proper value to the  
proper categories of tests, and focus on the value.


In the end, the very, very, very important thing is to *have tests*. I  
still see tons of pains because people don't have tests and spend most of  
the project time to fix regressions that could be easily avoided, or they  
get stuck into legacy code without any possibility of refactor because  
they don't have control because they don't have tests. You can have tests  
even when you didn't go with the 100% TDD approach. OTOH, it's really  
easier to write tests in TDD rather than adding later, for a number of  
reasons, including that you'll have a design where tests fits better.


Truth lies in the middle. My rough way to say it is that in the typical  
contexts I see 60%-70% TDD is the way to go - I mean, if I look at  
coverage metrics in this kind of projects, the coverage in the first  
iterations is 60%/70%. Then it should go up as the project stabilizes. It  
would be more meaningful to measure coverage on functional points rather  
than code alone.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] Any Excitement about JDK 8?!?

2014-02-18 Thread Fabrizio Giudici

On Tue, 18 Feb 2014 09:20:35 +0100, Mark Derricutt m...@talios.com wrote:


On 14 Feb 2014, at 10:13, Jan Goyvaerts wrote:


I think the mentioned downsides summarize it quite well: It is already
obsolete - before even being released.


Maybe, but I'm wondering if a lot of the recent FUD over Scala's  
internals will scare off enough people who were only at the considering  
scala stage to stick with JDK8 ( altho, I think that more gives fuel to  
Ceylon or Kotlin ( or maybe even Xtend ).


Ceylon's use of its own module system may affect its adoption, unless  
you're writing complete standalone apps ( afaik - I need to look more at  
how the modules interact with regular java ).


Perhaps we should discuss an update to the current popularity of  
languages. For what I see, Java might be on its regular decline path, but  
none of the alternate languages mentioned in this thread have exited from  
the marsh of exotic stuff where they were in the past. So, perhaps, the  
real world problems in software development are quite far from the  
language.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] Any Excitement about JDK 8?!?

2014-02-13 Thread Fabrizio Giudici

On Thu, 13 Feb 2014 21:46:16 +0100, clay claytonw...@gmail.com wrote:

- My employer will likely not approve any JDK 8 work for three years or  
so.


... which is perhaps one reason for which there's not much excitement in  
some people. I'd personally be tempted to start playing with it, but at  
the moment it would be a waste of time for me. I'm only using it for  
JavaFX 2 (there are lots of improvements in this area) and it's the only  
thing that could *perhaps* convince some customer to move to JDK 8 within  
the year.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] Automatically starting a java process on startup

2014-02-10 Thread Fabrizio Giudici
On Mon, 10 Feb 2014 11:54:04 +0100, Kevin Wright  
kev.lee.wri...@gmail.com wrote:



Most people I know using EC2 seem to favour Ubuntu, in which case I'd
normally suggest a simple upstart script:
http://upstart.ubuntu.com/cookbook/#run-a-java-application

Failing that, I'd have to second Steven's suggestion. Service Wrapper has
worked well for me in the past.
If nothing else, it makes classpath handling easy, and integrates quite
nicely with config files managed puppet or equivalent.


Probably I didn't understand the question... I've got both jetty and  
tomcat based deployments in Ubuntu and I just used the packages provided  
by the distribution: they come with startup scripts, so everything starts  
automatically at boot and I can control the thing with the usual


service jetty8 restart

etc... I didn't have to touch any script, only a configuration file for  
tuning memory options, etc...




--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] Restful interfaces

2014-02-05 Thread Fabrizio Giudici
On Wed, 05 Feb 2014 15:21:03 +0100, Kevin Wright  
kev.lee.wri...@gmail.com wrote:


If you're thinking to serve dynamic content, then don't!  It really  
messes

with caching, CDNs, etc. A much nicer approach is to have distinct
resources and run the logic on the client to determine what to fetch.


+1

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] Restful interfaces

2014-02-04 Thread Fabrizio Giudici
On Tue, 04 Feb 2014 22:22:05 +0100, Ricky Clarkson  
ricky.clark...@gmail.com wrote:



I had some pretty good experiences with Jersey a year ago. It's quite
simple, mostly annotation-based and iirc fails in readable ways when you
get things wrong. We were also using Spring MVC on the same project,  
which

seemed horrendous in terms of failure messages.


I've been fine with both. In the end I prefer Spring if it's used also for  
other things, because I can get rid of Jersey and have one less library.


The Jersey client (2.0) is quite nice to use.

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] Re: Restful interfaces

2014-02-01 Thread Fabrizio Giudici
On Sat, 01 Feb 2014 17:46:53 +0100, Phil Haigh  
surfsoftconsult...@gmail.com wrote:



Of course they’re going to call it REST if they think it is REST, in the
same way that many teams will say they are agile when they might only
implement a small sub-set of what being completely agile actually is.


The point is precisely naming. There are things that people should never  
do (using the verbs without respecting their semantics), and there are  
trade offs in REST that sometimes make sense (such as the cited versioning  
in the URL, as it's browser friendly). The problem is that we call all of  
that 'REST' and it makes confusion. In a better world a few different  
intermediate practices would have been given different names.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] Software versioning

2014-01-18 Thread Fabrizio Giudici
On Sat, 18 Jan 2014 05:41:38 +0100, Rakesh rakesh.mailgro...@gmail.com  
wrote:



A fellow (new to the team) developer was shocked we did not version
our release artefacts.

We pretty much just give the latest war file (with the same name each
time) to the infrastructure team to deploy.


Not enough information to evaluate. For instance, I've seen the following  
thing done: stuff is released through Maven, so every artifact is  
versioned both externally (file name) and internally (manifest) and  
archived on Nexus. Then, the war file given to people for install in  
production is stripped the version suffix, to facilitate deployment (no  
need to touch the Tomcat configuration file to publish it with the same  
context prefix; I'd personally do that, but ...). In any case, you can  
anyway retrieve the version looking at the manifest (but even if the  
manifest won't be there you could match it with its master copy in Nexus  
by MD5). So, in the end, this scenario won't shock me as soon as we are  
starting from versioning artifacts. The rationale is obvious to me: at  
each moment you can easily proof what version is running in production, so  
you can correctly match it with the change log and bug reports.


Instead, if the whole process never has a clear way to tag artefacts since  
from the beginning, I'd be worried :-)


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


[The Java Posse] JavaFX: Lombard - Van Ness

2013-09-19 Thread Fabrizio Giudici

Guys,

I'm seeing some notifications of JavaFX bugs that were aimed at Lombard  
(JDK 8.0) and now are retargeted at Van Ness (JDK 8.1 if I'm not wrong,  
later in 2014) :-(((. Unfortunately the stuff impacting on WebView  
rendering (that I mentioned here in the past) is in the group. I wonder  
whether there are other strategic parts that are being retargeted...


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] Re: Jigsaw take IV

2013-09-10 Thread Fabrizio Giudici
On Tue, 10 Sep 2013 17:13:20 +0200, Uberto Barbini ube...@ubiland.net  
wrote:


Using Osgi with karaf to solve dipendencies with maven it's working  
pretty well.

I'd like for having the concept of public/private packages in a jar
supported by the language and then same kind of module main
(Activator in Osgi lingo).


+1

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


[The Java Posse] Schneier on Wired about the current equilibrium between encryption and possible NSA cryptanalysis

2013-09-04 Thread Fabrizio Giudici

http://www.wired.com/opinion/2013/09/black-budget-what-exactly-are-the-nsas-cryptanalytic-capabilities/

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] Re: How good is JavaFX WebView in JavaScript?

2013-08-31 Thread Fabrizio Giudici
On Sat, 24 Aug 2013 10:36:59 +0200, Fabrizio Giudici  
fabrizio.giud...@tidalwave.it wrote:



Two weeks ago, though, the issue has been marked as verified and fixed  
with the latest JDK 8 - I didn't have the time to check it yet since I'm  
on holidays with a limited bandwidth and I can't afford large downloads.  
I'll try it in September.


FYI Back at home, I downloaded 8u104 and tried on Mac OS X. Unfortunately  
the problems are still here.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] Re: How good is JavaFX WebView in JavaScript?

2013-08-24 Thread Fabrizio Giudici

On Fri, 23 Aug 2013 09:24:31 +0200, Taylan Emre tayl...@gmail.com wrote:


why did not nobody  tried tinycme or ckeditor with javafx?

i tried but:
it crashes with the same issue
https://javafx-jira.kenai.com/browse/RT-23456

i get execution protection violation and appl totally crashes.
to generate the case, on tinymce, clicking right and then left mouse  
button

on the editor kills the appl.
on ck, i crashes often but couldnt generate the scenario, it seems  
random.


I tried Aduna - it was slightly better than your attempt since it didn't  
crash, but there were issues and the editor doesn't work (it corrupts the  
text and unproperly renders it). JDK 1.8.0.ea-b99 only resolved the  
rendering, while the editor was still broken.


Two weeks ago, though, the issue has been marked as verified and fixed  
with the latest JDK 8 - I didn't have the time to check it yet since I'm  
on holidays with a limited bandwidth and I can't afford large downloads.  
I'll try it in September.


See this issue and the related stuff for more information:

https://javafx-jira.kenai.com/browse/RT-31382


OTOH, editor aparts, I have the experience of a customer with Javascript  
legacy code that is successfully executed in a JDK 7 WebView. This is  
simpler JavaScript that just reads data from a server and modifies the DOM  
in the page.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


[The Java Posse] Failures maintenances... a coincidence?

2013-08-21 Thread Fabrizio Giudici

In the past week my german provider notified me that, in spite of low
changes, a virtual server of mine has been vaporized by the simultaneous
failure of two disks in a RAID server. If I'm not wrong, even Google and
Amazon experienced some failure in the infrastructure and I've received a
number of notifications of maintenance ahead, including my bank and my
telecom provider.

All roughly at the same time... just a coincidence?


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] Failures maintenances... a coincidence?

2013-08-21 Thread Fabrizio Giudici
On Wed, 21 Aug 2013 18:10:22 +0200, Fabrizio Giudici  
fabrizio.giud...@tidalwave.it wrote:



In the past week my german provider notified me that, in spite of low
changes,


Sorry,
... low chanCes (for that kind of failure to occur) ...


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [The Java Posse] Failures maintenances... a coincidence?

2013-08-21 Thread Fabrizio Giudici
On Wed, 21 Aug 2013 18:25:28 +0200, Cédric Beust ♔ ced...@beust.com  
wrote:



Obviously proof that the NSA controls Germany as well.


LOL. But my guess (of course, this is not a particularly serious guess)  
was rather about some coordinated hacker attack. I've lost the link, but a  
few days ago I read about some hardware platforms (motherboards used in  
rack systems or such, if I'm not wrong) that are allegedly prone to  
attacks because of a hardware vulnerability.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


[The Java Posse] About Chrome security

2013-08-07 Thread Fabrizio Giudici
I had this question in mind for some time to ask here, but so far I didn't  
because after all was a well known theme. But I see that the point has  
been reprised by Engadget, so I have the excuse of commenting its post ;-)


http://www.engadget.com/2013/08/07/chrome-saved-passwords/
https://news.ycombinator.com/item?id=6166731

Key point: Chrome doesn't protect user passwords with a master key. Google  
says that, beyond the o.s. login, everything else is just theater and  
would provide a false sense of security, encouraging risky behaviour  
by the user.


With all the respect that I owe to Google and its engineers... may I  
humbly say that this sounds to me as supreme nonsense? It sounds as saying  
listen, a fence is just theater as it takes ten seconds to be broken. So  
we didn't build any fence around our plant. Still, all the military bases  
I know have a fence as the first level of protection. I've never seen one,  
but I guess that Google data centers are protected by a fence too. Are  
those guys just stupid?


Out of the metaphor: I've always understood that good security is made by  
a layer of things, the former ones could be even easily breachable, but  
they act as a first gross filter.


Practically, I've learned Google's point a few weeks ago when I moved to  
Chromium. I applied their point, making sure that Google data are on an  
encrypted partition; and I've always taken care of my laptop, e.g. making  
sure that when I move the encrypted partition is unmounted. This of course  
to protect a whole bunch of data other than Chromium passwords. Still,  
sometimes you can get distracted for just a few seconds and I don't think  
it's human to ask people to lock the screen when they just turn around. A  
master password would just prevent the nearby co-worker from peeking his  
nose in such circumstances. Without master password, it's really a matter  
of seconds to get to the passwords.


Your opinion?


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] About Chrome security

2013-08-07 Thread Fabrizio Giudici
On Wed, 07 Aug 2013 19:17:43 +0200, Cédric Beust ♔ ced...@beust.com  
wrote:



Agreed, I think the response of the Chrome security team is
“disappointing”, to quote Tim Berners Lee. I just blogged about
thisgoo.gl/zeIkz8
.


Excellent post - just but one point. For other browsers the master  
password (maybe optional) has been there for a long time. For what I  
recall, Firefox has always had it since I used it; the old Opera also had  
it, with a totally opposite policy (the user himself couldn't see the  
passwords! A third-party plugin was available for that, showing only one  
at a time, in the login form that used it). I don't recall Explorer (too  
many years since it was my everyday browser).


Changing perspective - it's curious that the thing with Chrome has always  
been like that; there was already plenty of people complaining in the open  
and Google's answer was the same. But if Engadget discovers the problem  
and Sir Berners-Lee tweets about it, perhaps things are going to change. I  
don't know whether I'm happy or sad about that, but I'd say the latter. It  
sounds as the perception of a problem is considered more than the problem  
itself.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] About Chrome security

2013-08-07 Thread Fabrizio Giudici
On Wed, 07 Aug 2013 20:23:31 +0200, Cédric Beust ♔ ced...@beust.com  
wrote:


Yes, but if they have access to a clear text password, they do what you  
are

describing *and then* they go home to do more damage.


Exactly. Add to the scenario a co-worker that maybe wants only to pull  
your legs with a joke (e.g. logging in into a forum with your name,  
etc...). Now, when you are under attack, either you can assess what has  
been accessed, or you have to act as everything was accessed. If I  
discover that a co-worker just took a password of a forum and did an  
innocent joke, I can't tell whether he also read other passwords. I have  
to change everything.


Let me add two notes for better technical details of what I previously  
wrote. I don't know what happens with Windows, but with Mac OS X Chromium  
(I suppose also Chrome) uses the operating system Keychain Access. So I  
also moved the data folder of Keychain access to my encrypted partitions.  
Keychain Access has got its own master password, but curiously enough -  
honestly there could be something I'm not fully understanding - once it's  
opened by Chrome, it seems to stay open. That is the password is asked  
only once (I suppose Chrome holds a token for it, or such). There's an  
option to have a Keychain Access control in the icon bar, and you can use  
it to force the lock of all keychains - but, again, it's likely that you  
don't relock it for a pause of a few seconds, so the problem is as I  
described. For what I understand, e.g. Safari unlocks the Keychain Access  
with a different policy.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] About Chrome security

2013-08-07 Thread Fabrizio Giudici

On Wed, 07 Aug 2013 21:10:01 +0200, Josh Berry tae...@gmail.com wrote:


If you think you have been compromised ever, you *already* have to do
this.  For that matter, you also need to check the settings in your email
client.  Immediately.  To make sure your email is not forwarding to  
someone

else.  Also, check the audit log, to make sure it has not been accessed
from somewhere else yet.  (For that matter, check all of the recover  
email

addresses for your accounts.)


An attack to settings can be assessed - I have a local rsync of all the  
sensible settings, thus in doubt I can do a diff and verify whether has  
been changed (or just restore from the latest rsync). And a change of  
settings can be undone with no further troubles (instead, a stolen  
password must be changed).




--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] About Chrome security

2013-08-07 Thread Fabrizio Giudici
On Wed, 07 Aug 2013 21:22:46 +0200, Cédric Beust ♔ ced...@beust.com  
wrote:



I'm not sure why it's so hard to understand. Surely, not allowing a rogue
user to see all my passwords in clear text is a reasonable requirement,
right? Are you saying it's not even worth prompting the user for a master
password before disclosing this information, like Safari does?

I don't care about hundreds of different attack scenarios, I'm just  
asking

a plain, common sense question: what's the harm in asking for a master
password before showing all my passwords in clear text?


Note that the fact that others applications can be compromised... just  
means that other applications require more security, and can't be used as  
an argument for justifying the lack of master password in Chrome. For  
instance, the email client mentioned by Josh should really ask me for  
inserting a password to change settings.


I understand the false sense of security thing: then just implement a  
wizard which quickly explain that the user must anyway apply a correct  
behaviour. I completely agree that security is also a matter for education  
- I don't see how just not implementing a master password can educate  
anybody, especially the man in the street.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] About Chrome security

2013-08-07 Thread Fabrizio Giudici

On Wed, 07 Aug 2013 21:30:23 +0200, Josh Berry tae...@gmail.com wrote:

by filling in forms.  The only scenario I see brought up that this  
protects

against is a crime of opportunity where the attacker has less than a
minute.  In all other scenarios, you should be locking your account.


Correct. The crime of opportunity in a tight time frame (seconds) is  
precisely what I'm talking of.


I'm confused on your rsync of all settings.  I was referring to your  
gmail

or similar settings.  Heck, even your facebook email address.  If someone


I don't use gmail, so I was referring to the fact that you could tweak  
with the settings of my rich client application for managing email.


But your point is correct for any possible web application that has some  
sensible configuration. Still that's the case of a master password! With  
Opera, if I log in to any site that requires a password, it prompts for  
the master password before going on. It has a policy about how long it can  
recall the master password. Guess what, I set it to always ask. With  
Chrome, you just type the URL, it autocompletes the account/password  
fields and you just need to click on ok. It's bad, again, it takes mere  
seconds.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Fwd: [The Java Posse] About Chrome security

2013-08-07 Thread Fabrizio Giudici

On Wed, 07 Aug 2013 22:02:24 +0200, Josh Berry tae...@gmail.com wrote:


So, I have not observed this behavior discussed much (Or, I  
misinterpreted
what we've been discussing). Specifically, the it will always prompt  
for a

password before filling your password.  If we are talking about adding
that, this makes some sense to me.  A lot, actually.  Just protecting the
page that will display the passwords does not.


Let me add another point. Given that on Mac OS X Chrome delegates to  
Keychain Access and Keychain Access has got its own feature to see  
passwords (*), I'd say that on Mac OS X the Chrome passwords page should  
be entirely removed. Let's just entirely delegate to Mac OS X.


(*) To see a password, Keychain Access asks for the master password. It  
let you decide whether the password will be remembered, or asked every  
time. In the end, this is a Apple policy.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Load balancing options?

2013-07-31 Thread Fabrizio Giudici

On Wed, 31 Jul 2013 19:59:18 +0200, Justin Ryan quidr...@gmail.com wrote:


The approach Netflix takes is to use a discovery service (called Eureka,
https://github.com/Netflix/eureka) and then tying that together with the
code that makes API calls (https://github.com/Netflix/ribbon). If you're
looking to add robustness to your calls, definitely look at those  
libraries.


+1 I think this is the standard approach: I've seen it done (and I've done  
it myself) in the past with custom code. Hazelcast [1] also offers such a  
feature, but I don't know whether it's easy to extract it from the rest.


[1] http://www.hazelcast.com/

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Best hosting service for backend services

2013-07-29 Thread Fabrizio Giudici
On Mon, 29 Jul 2013 16:14:12 +0200, Thomas Matthijs li...@selckin.be  
wrote:



If you're in the europe side of the world, i'm happy using hetzner.de,  
they
are on the cheap end of the spectrum tho, and use like desktop hardware  
etc

but never have any real issues


I was going to say the same. There is a wide offerings: virtual machines  
starts at 7€ / month. The cheaper one runs with only 512MB of RAM and I've  
been using it for a while, but experienced some problems with Jetty (it  
hang sometimes). I upgraded to the one with 1GB of RAM and it's fine for  
running several simple websites using Jetty (probably I could spend some  
more time in trying to understand and fix the problem, but it would have  
been more expensive). Another identical machine is used to run my Nexus  
and JIRA instance (backed by a Postgres database) and it should fit your  
need.


I'm more than pleased with Hetzner also because of the excellent tools for  
support, troubleshooting, etc. The only reason for which I'm looking  
around is that I want to experiment something in the cloud, but so far  
(checked last time two months ago) Hetzner proved to be the cheapest one.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] First party dependency management and build reproducability

2013-07-25 Thread Fabrizio Giudici
On Thu, 25 Jul 2013 18:08:40 +0200, Guy Gascoigne-Piggford  
g...@wyrdrune.com wrote:



Our problem comes with first party dependencies.  Pinning internally
developed libraries, and their consumers causes a horrible ripple of
version number changes for no reason other than to propagate the
dependencies.  This gets expensive very quickly and we've got teams that
are understandably frustrated with this.


What are the numbers, I mean, how many ripple levels do you have? I'm  
experiencing this only with a single project at a single customer, and  
I've always blamed the fact that that project was born without Maven (or  
any other modern dependency management facility), so it inherited some  
legacy structure. Other projects, which involve mostly the same staff,  
were born with Maven, but there's no frustration with them.


In any case, I've designed a workaround for the first case, even though I  
don't like much and it's not perfect. The final assemble of the  
application is done by a separated Maven project called deployer (I  
reckon that assembler would be a better name, but that's it). It uses  
the dependency maven plugin to retrieve the artifacts from the other  
project modules. The deployer is composed of many sub-modules, each one  
having its own declaration of versions; in this way, there is on  
dependency divergence and the dependency resolving facility of Maven  
doesn't kick in - I mean, you pick exactly the thing you need. So, if you  
just need to upgrade the version of a module down in the dependency graph,  
you just declare its explicit version.


This assumes that all the projects in the stack share the same versions of  
external libraries - when we decide to upgrade any of them, this must  
happen for the whole project.


This mimics the deploy process used before the mavenization (assemble was  
done manually).


As I said, to me this is a project structure smell, so I'd first try to  
understand whether there's something that can be improved in it.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] How good is JavaFX WebView in JavaScript?

2013-07-01 Thread Fabrizio Giudici
On Sat, 29 Jun 2013 11:24:58 +0200, Sven Reimers sven.reim...@gmail.com  
wrote:



You should ask this on the openjfx mailinglist... or check the jira for
openjfx


Done, but no feedback as here... is it possible that I am the only one  
trying this approach?



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




[The Java Posse] How good is JavaFX WebView in JavaScript?

2013-06-29 Thread Fabrizio Giudici
So far I've been using WebView - other than pure HTML rendering - e.g. in  
embedding some JavaScript-based legacy application inside a rich desktop  
application, and it worked fine. It only needed some patches to the  
JavaScript code (that was some old one, not perfectly portable, written  
for Firefox). Yesterday I started the integration with the Aloha Editor to  
have a WYSIWYG HTML editor embedded in a rich destop application, and some  
surprise came: the editor correctly boots, I can type and delete  
characters, but e.g. selecting a sequence of characters and applying a  
bold style eats up some parts.


I supposed that JavaScript support in WebView is exactly the original one  
in WebKit. Am I wrong? Do you have any experience to share?


Thanks.

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Can (Gmail) email be read?

2013-06-27 Thread Fabrizio Giudici
On Thu, 27 Jun 2013 11:09:50 +0200, rakesh mailgroups  
rakesh.mailgro...@gmail.com wrote:




Am i wrong?

Rakesh

PS This particular government has a reputation for eaves dropping on  
phone

calls.


This depends on how you trust Google (or whatever). You already know my  
answer.


The only way to be safe is to use PGP or other tools to encrypt the mail  
contents, so the two trusted end points become you and your email partner.  
Be aware that, according to some, you will become a possible person of  
interest for NSA and such:


http://arstechnica.com/tech-policy/2013/06/use-of-tor-and-e-mail-crypto-could-increase-chances-that-nsa-keeps-your-data/

and I suppose for non-democratic countries this gets even worse. But you  
probably get what you wanted, privacy, even though at a cost.


The problem is of politics nature, of course, so there's no way to solve  
it with purely technological means.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Can (Gmail) email be read?

2013-06-27 Thread Fabrizio Giudici
On Thu, 27 Jun 2013 11:39:54 +0200, Rakesh rakesh.mailgro...@gmail.com  
wrote:


the question is not about trusting Google but can a government access  
email

contents from Google easily?


So the question is (also) about trusting Google.

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Can (Gmail) email be read?

2013-06-27 Thread Fabrizio Giudici
On Thu, 27 Jun 2013 12:26:46 +0200, Thomas Matthijs li...@selckin.be  
wrote:



On Thu, Jun 27, 2013 at 12:02 PM, Fabrizio Giudici 
fabrizio.giud...@tidalwave.it wrote:


On Thu, 27 Jun 2013 11:39:54 +0200, Rakesh rakesh.mailgro...@gmail.com
wrote:

 the question is not about trusting Google but can a government access

email
contents from Google easily?



So the question is (also) about trusting Google.



The average browser trust  50+ trusted root certificate from as many
different organisation that you also need to trust


As I said in my initial reply, Google (or whatever) - in function of  
what you're doing, many corporates are involved.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Can (Gmail) email be read?

2013-06-27 Thread Fabrizio Giudici
On Thu, 27 Jun 2013 12:36:28 +0200, Thomas Matthijs li...@selckin.be  
wrote:




But the assumption was made that the SSL encryption was secure, and the
trust issue lies with google, which is not true, if any of the root cert
companies cooperate of have been hacked (has happened), any communication
between you and google can be intercepted


Correct, in fact I proposed to encrypt email with PGP or such, so you  
don't rely on the transport infrastructure, because I think we can't trust  
it.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Can (Gmail) email be read?

2013-06-27 Thread Fabrizio Giudici
On Thu, 27 Jun 2013 18:35:04 +0200, Cédric Beust ♔ ced...@beust.com  
wrote:


On Thu, Jun 27, 2013 at 4:37 AM, Joseph Ottinger  
j...@enigmastation.comwrote:




Email is evil, you shouldn't use it for anything, ever.



You're beginning to sound like Stallman. The good news is that it might
land you in the Internal Hall of Fame.


Seriously, what's worse with email than any other thing such as chat,  
Twitter or Facebook? If there's a server, it can be eavesdropped. The only  
communication technologies that can't be massively eavesdropped today seem  
to be homing pigeons and smoke signals.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Can (Gmail) email be read?

2013-06-27 Thread Fabrizio Giudici

On Thu, 27 Jun 2013 23:38:40 +0200, Oscar Hsieh zen...@gmail.com wrote:


1. If NSA has direct access to mail server, then SSL is not going to help
you  (all major tech companies deny this and there is no reason to  
question

it)


No reason? The whole NSA stuff was not known until the press made the  
scoop. So, why should I think that we know everything now? Perhaps  
tomorrow the press will make another scoop...



2. If NSA has the private key then they can setup proxy and do men in the
middle attack.
3. Or NSA can store the data first and then request for key to decrypt  
this

later (They have the ability to store data up to 30 days apparently).

By the way, not sure any of you read the story about British Intelligence
taps directly into fiber optic networks

http://www.guardian.co.uk/uk/2013/jun/21/gchq-cables-secret-world-communications-nsa


And we learn this because we live in free countries with free spech and  
free press. Figure out what happens in other countries.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] NPR money podcast discuss patents

2013-06-14 Thread Fabrizio Giudici
On Fri, 14 Jun 2013 10:45:57 +0200, rakesh mailgroups  
rakesh.mailgro...@gmail.com wrote:



Very close to home this time talking about podcasts!!

http://www.npr.org/blogs/money/2013/06/05/188719954/how-one-patent-could-take-down-one-comedian


We're reaching higher and higher peaks of absurd. Trying to applying some  
logic, though, I understand how mr. Logan can use the absurd patent system  
to sue manufacturers of software and hardware that _reproduce_ podcasts, I  
don't understand how he can purse people _creating_ podcasts... I mean,  
software patent wars have been fight, so far, in the field of  
manufacturers, not users. What am I missing? Should somebody find a troll  
patent in the field of photography, what could we expect now?


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Android, from Eclipse to IDEA?

2013-05-19 Thread Fabrizio Giudici
On Sun, 19 May 2013 20:52:08 +0200, Mike Wolfson mwolf...@gmail.com  
wrote:



It is clear, that they are NOT moving away from Eclipse, but find the
JetBrains architecture easier to customize in the ways they want (in
particular, the direct Gradle implementation was one of the things he
particularly called, and the xml next to visual layout).


Thanks for the info, but your answer still leaves me a doubt. If they like  
IDEA more than Eclipse, I assume this means that they can do with IDEA  
better things than with Eclipse... right?



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Android, from Eclipse to IDEA?

2013-05-19 Thread Fabrizio Giudici
On Sun, 19 May 2013 21:20:41 +0200, Michael Wolfson mwolf...@gmail.com  
wrote:


I do think there are frustrations with Eclipse architecture (I am not  
sure

of the details).


I perfectly understand this and it was one point that I presumed was  
behind the move...



For instance, Xavier did specifically mention the Gradle integration with
InteliJ was something they really liked - but also mentioned to me, that
they will be integrating it into Eclipse soon (probably just takes more
work).


.. clear, but if they still want to support Eclipse, the frustrations are  
there to stay... right?



I could see some things that are easier to implement in InteliJ never
making it into Eclipse, or taking longer to migrate there.  Perhaps this
will be a more dynamic platform, and Eclipse will be the Old Workhorse
that is stable, and doesn't change as rapidly.


Ok, this makes sense, but it means that the innovation will mostly happen  
on Idea, which means that in one or two years there will be no reasons for  
using Eclipse. From the few pieces of information I'm reading here, I'd  
dare to say Android is actually abandoning Eclipse, with Google not  
wanting to explicitly say that, but letting it happen.


On a side but related subject - Xavier did say that Ant will be  
deprecated

as a build tool, and Gradle is the direction forward.   The Gradle tool
looks super awesome, and a perfect fit for Android (especially the way  
you
can create multiple build types by creating distinct folders for each -  
ie.

like using resource qualifiers for layouts).  The new build tools is very
welcome, I have done Maven, which was fairly painful, and Ant, which is
limited, but easy.  Looks like the new tool is the perfect combo of both.


The few things that I understand about Gradle tell me that for me it's a  
step backward from Maven, which I like a lot. But I understand that Maven  
isn't good for single programmers that want to quickly learn the Android  
platform, possibly with little or scarce Java experience, so from this  
point of view I understand Gradle as forward move.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[The Java Posse] Android, from Eclipse to IDEA?

2013-05-16 Thread Fabrizio Giudici

http://developer.android.com/sdk/installing/studio.html

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Android, from Eclipse to IDEA?

2013-05-16 Thread Fabrizio Giudici
On Thu, 16 May 2013 11:27:50 +0200, Graham Allan grundlefl...@gmail.com  
wrote:



Saw this mentioned on twitter a couple of times. The impression seemed to
be 'Google deserting Eclipse in favour of IntelliJ'. The link doesn't  
seem

to imply that at all. It implies 'Android, from Eclipse to Eclipse _and_
IDEA'. There are still instructions on getting the ADT bundle for  
Eclipse.


Did something else surface at Google I/O that would suggest Android tools
for Eclipse are being abandoned?


I decided not to comment anything, because I'm asking, not suggesting a  
trend, but I see that the mere subject was enough to be interpreted as an  
opinion :-)


Seriously, as I can't attend Google I/O, this seems to be the better place  
to have an informed discussion. My starting point is that it's quite  
strange for a steward to explicitly support more than one IDE, being  
Oracle a one-of-its-kind case because the IDE multiplicity comes out of  
heritage. I also have some more points, but they are merely pre-judices at  
this stage, so I'd like to first hear from others (also, so far I didn't  
have a chance to see more of the new IDEA Android IDE, other than the  
screenshot).


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Java version numbering scheme

2013-05-14 Thread Fabrizio Giudici
On Tue, 14 May 2013 10:55:20 +0200, Jan Goyvaerts java.arti...@gmail.com  
wrote:



Why not Fibonacci build numbers ? :-p

Just kidding ...


We're quite lucky that they didn't adopt the usual Oracle scheme such as  
1.8.0.34455.6039.783025...


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: face detection and recognition in java

2013-05-14 Thread Fabrizio Giudici
On Tue, 14 May 2013 10:21:04 +0200, INs interlichtspielh...@gmail.com  
wrote:



you can try opencv
 , they recently added java bindings


Link, please! I have missed this...

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: face detection and recognition in java

2013-05-14 Thread Fabrizio Giudici
On Tue, 14 May 2013 17:22:01 +0200, INTERLICHTSPIELHAUS  
interlichtspielh...@gmail.com wrote:



and i won't make the 'google is your friend' remark :-)


LOL to both :-) But my question was probably too cryptic. I do know  
OpenCV, what I missed were the Java bindings. I suppose I could find them  
myself at the OpenCV site... I was asking for review, examples in the real  
word etc... to understand whether the product is mature for some real  
stuff or not.




--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[The Java Posse] First public interview to Sundar Pichai, current Android Chrome executive

2013-05-13 Thread Fabrizio Giudici

http://www.wired.com/business/2013/05/exclusive-sundar-pichai-reveals-his-plans-for-android/

Nothing revolutionary, but there are some interesting points about the  
evolution of the technologies...


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] HTTPS not secure?

2013-05-09 Thread Fabrizio Giudici
On Thu, 09 May 2013 09:59:23 +0200, rakesh mailgroups  
rakesh.mailgro...@gmail.com wrote:



Hi all,

I've just been told that using HTTPS may not be secure enough for a
business to business integration system I'm building.

I went looking for more details and I found that a man-in-the-middle  
attack

is possible. My reading of the situation is that if a client asks for a
service on port 80, the server responds with a 302 redirect to port 443  
and

then the communication begins encrypted.

The vulnerability is a potential snooper on the line may see the port 80
request and instead return a different request to the client and then be
able to sniff the traffic.

Could this be prevented by just getting the client to go straight to port
443?

At some point, I have to provide a url for the other organisation to use
and I could say its https://mysecuresite.com/blah.

A call to port 80 would return forbidden or something similar.

Would that work?


If you're doing b2b, disabling port 80 is surely doable and it would just  
skip the vulnerable step you discussed. But I've got a question: if you  
use X509 certificates to authenticate both ends, I don't see how the  
fraudulent redirect can harm, at least in the scenario you discussed. If  
you're redirected to a false peer, it shouldn't be able to authenticate  
with the original certificate. Unless somebody stolen the private key at  
the peer, but in this case you've got other problems...


Just my 2 cents in a few minutes. The argument is clearly more complicated.

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] #418: Comments should be treated as a lesser-evil 'code smell'.

2013-05-02 Thread Fabrizio Giudici



On Thu, 02 May 2013 10:46:31 +0200, Roland Tepp luol...@gmail.com wrote:


Let's just say, that I've been bitten more often by missing documentation
in large and complex legacy applications rather than outdated one.


I don't disagree here and in the remainder of your post - but, again, I  
think we're referring to different kind of comments, as it already  
happened in this thread. I also often find missing documentation, but it's  
not the detailed level inside the code that I was referring to, and that  
often gets out of sync. I see lack of architectural and high-level  
documentation, let's say at component level.


In any case, if there is documentation, that does not match code, it  
raises

my flags and I go to the business analyst or architect and figure out the


Correct, but if a system raises lots of red flags everywhere, red flags  
become meaningless.





--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] #418: Comments should be treated as a lesser-evil 'code smell'.

2013-04-18 Thread Fabrizio Giudici
On Thu, 18 Apr 2013 19:16:38 +0200, Reinier Zwitserloot  
reini...@gmail.com wrote:



Actually, if you look at something like ArrayList, I don't think much is
lost if all the comments and javadoc just disappeared, particularly the
javadoc. 'get(int index)' is all I need to know.


It depends. If one uses sublist(), for instance, he might not precisely  
recall whether upper bound is included or not, etc... I don't think get()  
is a menaningful example, as most common methods are ok for everybody  
who's not a rookie; javadoc is useful for those methods that are useful,  
but you seldom use.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: #418: Comments should be treated as a lesser-evil 'code smell'.

2013-04-16 Thread Fabrizio Giudici
On Tue, 16 Apr 2013 10:10:13 +0200, Graham Allan grundlefl...@gmail.com  
wrote:



API vs Inline comments are a good line to divide across, but I suggest a
different distinction: whether the audience is in your team or not.


The difference between withing and outside of the team can be useless in  
some contexts. It's ok when there's a carefully build team, with low  
turnover. But often there's not such a thing, and in this case you should  
comment for your co-workers as they weren't co-workers. Also consider the  
case in which a large corporate is partitioned in islands, where you can  
talk of a cohese team, but just one per island. Often they deeply differ  
in knowledge of the technology and processes. Most of the produced  
software stays inside the original island, but often it leaks outside.  
Even in this case, while in the same corporate, you should comment as it  
is wasn't the case.


I'm following this thread and reading things that I second, but most of  
the discussion about commenting depends on details on how the team has  
been built, maintained, etc... A theme that has not been dealt (unless  
I've lost something) and that it's very important and hard to manage is  
the mapping of business rules into code. I see corporates where business  
rules are very complex (I'm not in the position of analyzing them, because  
it's not my business, but often they are overcomplex), but at the same  
time well understood by a restricted bunch of people who are not  
developers, or anyway are not OO developers. This often get translated  
into overcomplex code, especially when you need optimizations (people who  
define business rules usually don't deal with optimization). Optimization  
is sometimes dealt internally by developers, other times by means of  
ad-hoc slightly changes of the business rules, with the agreement of  
business people. The result is that you have a sort of hybrid territory,  
in which you have artifacts that must be directly consumed by developers,  
but at the same time validated by business people, unfortunately the two  
groups of people speak different languages. This area is extremely hard to  
document - in fact, often this stuff is maintained by oral tradition.  
Sure, you can do a lot to improve things: tests, as usual, are good not  
only for developing but also to document business rules, and use DSL that  
can be at the same time consumed by programmers and directly validated by  
business people, but in the end I expect a good deal of inline comments  
here.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: #418: Comments should be treated as a lesser-evil 'code smell'.

2013-04-16 Thread Fabrizio Giudici
On Tue, 16 Apr 2013 11:20:34 +0200, Graham Allan grundlefl...@gmail.com  
wrote:



You're right it's a different
scenario where say you have satellite developers working halfway across  
the

globe.


In my experience this just happens across the same floor :-)

In your scenario, it still sounds like comments are a smell, but

it's the organisation that's stinky, not just the codebase :)


Sure. The point is that the whole discussion about the comments should be  
given a context. I assume we're all assuming good code practices, because  
otherwise it wouldn't make sense. Good code practices are not pervasive at  
all, but I assume we're in a context in which we're striving for them,  
which is reasonable, as with the proper effort you can get some results.  
We can't assume we're always in a properly organised corporate, though.  
And large, badly organised corporates aren't emendable, at least in the  
short-medium term. Probably not even in the long.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: #418: Comments should be treated as a lesser-evil 'code smell'.

2013-04-16 Thread Fabrizio Giudici
On Tue, 16 Apr 2013 22:11:04 +0200, Mark Fortner phidia...@gmail.com  
wrote:



Roland,
We have a similar problem in the bioinformatics world, where a field like
id could mean an ID from a specific database, an accession (an
alphanumeric ID similar to a database ID).  One way around this is to use
semantic annotations for fields. Here's an example.
http://aspenbio.wordpress.com/2011/01/20/biogroovy-and-the-semantic-web/


RDF is great for interoperability; for readability in general cases, it's  
still good but requires that the reader knows it.


Generally speaking, annotations can be good for specifying constraints,  
pre/post conditions, and improve readability in a easy way. In its small  
garden, for instance, things such as @NonNull are simple, intuitive and  
deliver some added value.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Useless topic: Hudson/Jenkins blue balls

2013-03-29 Thread Fabrizio Giudici

On Mon, 25 Mar 2013 13:33:12 +0100, Dan Stine s...@stinemail.com wrote:


Why does Jenkins have blue balls?

http://jenkins-ci.org/node/377


This is very interesting, even though I think the article fails to give a  
full explanation. So, for japanese people green is just a shade of blue  
and there was a short time in which japanese traffic lights had blue in  
place of green. Ok. So what? Japanese traffic lights nowadays are green  
anyway and I understand they already were when Kohsuke was born... so the  
traffic light paradigm was  
that-shade-of-blue-that-others-call-green/yellow/red, not  
blue/yellow/red... What am I missing here?



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Useless topic: Hudson/Jenkins blue balls

2013-03-29 Thread Fabrizio Giudici
On Fri, 29 Mar 2013 16:20:49 +0100, Jon Kiparsky jon.kipar...@gmail.com  
wrote:


It's worth reading - but beware, as you might imagine this

area
a real trap for the curious.


That's the purpose of useless topics!


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Useless topic: Hudson/Jenkins blue balls

2013-03-29 Thread Fabrizio Giudici
On Fri, 29 Mar 2013 16:36:37 +0100, Ricky Clarkson  
ricky.clark...@gmail.com wrote:



And the English call it amber, even though traffic lights presumably
On Fri, Mar 29, 2013 at 7:02 AM, Cédric Beust ♔ ced...@beust.com wrote:


On a related note, French call the middle light orange, and not yellow.


It's fun... After Cédric said the orange thing, I was going to answer that  
even in old italian (decades ago) the middle light was orange. I  
googled for searching for a reference, and discovered that somebody is  
still using orange today - to give numbers, 70k results for the italian  
equivalent of semaphore orange versus 197k results for semaphore  
yellow. Even though I've never heard of it in spoken language.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[The Java Posse] Useless topic: Hudson/Jenkins blue balls

2013-03-25 Thread Fabrizio Giudici
I've just seen that in the Hudson 3.0.1 change log there's the update of  
blue balls to green balls, since the color scheme has changed (Hudson 3  
has switched to a purple scheme, I suppose because it's similar to the one  
of Eclipse as it is managed by the Eclipse Foundation).


Just out of curiosity, I seem to remember that the original choice of blue  
vs green balls wasn't because of the original Hudson color scheme, but  
because of people with impaired color visual perception (that usually  
can't distinguish green from red)... am I wrong?


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] OpenJDK 7

2013-03-21 Thread Fabrizio Giudici
On Thu, 21 Mar 2013 17:52:10 +0100, Johan Mynhardt  
johanmynha...@gmail.com wrote:



I've seen the warning for IntelliJ, but performance wise my first
impressions were that it's on par. I'm also using it for my local
development server running on Glassfish 3.1.1 and I could not say that
perceived experience was slower at all.

So me for one, would use OpenJDK as much as possible :-)


... just recall that if you want consistency over multiple platforms,  
including Mac OS X, there are no more public builds of OpenJDK for this  
system (you have to compile them by yourself).




--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Devoxx UK 2013 in London

2013-03-20 Thread Fabrizio Giudici
On Wed, 20 Mar 2013 16:09:36 +0100, Martijn Verburg  
martijnverb...@gmail.com wrote:



(and that goes for man, women or other).


I absolutely want to dispute this! What's wrong with boot cats? They'd be  
awesome.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Devoxx UK 2013 in London

2013-03-19 Thread Fabrizio Giudici
On Tue, 19 Mar 2013 16:06:16 +0100, rakesh mailgroups  
rakesh.mailgro...@gmail.com wrote:



Carl,

I hate to burst your bubble but going to a tech conference isn't like  
going

to see a concert or something!

Some of the presentations are really great and you fell good inside that
you are at the cutting edge of your profession.

From the outside though, its a bunch of geeks wondering around, not  
really

talking to each other (except the people you came with).


It depends. I don't know about Devoxx UK, but Devoxx Belgium is a  
conference where definitely you have people talking to each other.  
Honestly, I think this is major vantage point of a conference, given that  
a presentation alone can be also enjoyed from the web (e.g. Parleys, for  
what concerns Devoxx) with a lower cost (especially including travel costs  
and missed billed days).


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Who else uses Google Reader ?

2013-03-19 Thread Fabrizio Giudici

On Tue, 19 Mar 2013 23:19:13 +0100, Josh Berry tae...@gmail.com wrote:


I'm in the same boat.  Likely going to just not follow a lot a news for a
while.  :(


Just to say a word from the other side... :-) I don't use Google Reader. I  
just read things by means of my Opera browser where a regular RSS  
subscription works.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Apple attacked too...

2013-02-27 Thread Fabrizio Giudici
On Wed, 27 Feb 2013 10:28:00 +0100, Casper Bang casper.b...@gmail.com  
wrote:




On Saturday, February 23, 2013 2:06:28 PM UTC+1, fabrizio.giudici wrote:



I'm in the 50% of Mac users running an anti-virus, but after major  
attacks


I always prefer to do some manual check...



I just re-installed my Linux system to be sure I was not affected, but it
seems the best strategy is to designate a special browser for
applet/web-start stuff, given two brand new bugs (scroll to bottom):
http://www.security-explorations.com/en/SE-2012-01-status.html


Probably even better is going with a VM...

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Apple attacked too...

2013-02-23 Thread Fabrizio Giudici
On Sat, 23 Feb 2013 10:12:09 +0100, Casper Bang casper.b...@gmail.com  
wrote:


I just heard in the saturday morning news, that Microsoft had their  
systems
compromised too by this Java exploit. While I can not find anything on  
this

story using Google (too recent a news item?), I noticed that both Twitter
and NBC were also hit.

*
http://www.theverge.com/2013/2/1/3942660/twitter-was-also-attacked-this-week-passwords-for-up-to-25-users-compromised
**
http://www.theverge.com/2013/2/21/4015040/hackers-exploit-nbc-website-to-spread-malware

Yesterday I actually ran into the Blackhole/Java exploit for the first  
time
myself, while trying to debug a Java issue at a customer. The antivirus  
had

apparently been updated and also found the virus, but not before it had
wrecked havoc (reinstalling Java did not seem to fix the problem, I
eventually traced it down to the trusted.certs keystore being  
compromised).


Being so widespread, surely I am not the only one in this forum now
starting to meet it in the wild?


Are there some instructions to diagnose the problem, for all the major  
operating systems?



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Apple attacked too...

2013-02-23 Thread Fabrizio Giudici
On Sat, 23 Feb 2013 13:16:39 +0100, Casper Bang casper.b...@gmail.com  
wrote:







Are there some instructions to diagnose the problem, for all the major
operating systems?



Good question. For the blackhole part, I would think not; for this is a
dynamic drive-by exploit kit relying on a whole updatable arsenal of
software bugs (which is what makes zero-day exploits so valuable to
hackers). In other words, if using an outdated JRE (even on Linux) the  
past

couple of months, you will potentially have been exposed. Even if I
generally use one designated browser for applet/web-start stuff, for the
first time ever, I wonder whether it's time to invest in an anti-virus  
for

my Linux laptop. :/


I'm in the 50% of Mac users running an anti-virus, but after major attacks  
I always prefer to do some manual check...



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[The Java Posse] No more remote work at Yahoo?

2013-02-23 Thread Fabrizio Giudici
Roughly ten years ago I hoped that within ten years technology and culture  
were mature (even in my country) for me to remotely work most of the time.  
My hope was tightly bound to my desire to move out to the countryside.  
This didn't happen, partially because I live in a country that is  
conservative in the wrong way, partially because I admit that for the kind  
of work I'm doing technology is not mature enough. But I know many people  
who remotely work for a substantially high amount of time. Perhaps it's  
still matter of time, and I'll be able to remotely work for my 50's...


So I was really surprised in reading that at Yahoo! the CEO allegedly  
decided to kill the remote work option, so employees who do it will be  
forced to use their desktop at the corporate or go away:


http://allthingsd.com/20130222/yahoo-ceo-mayer-now-requiring-all-remote-employees-to-not-be-remote/


The rationale seems to be a cultural one, not a technical one, so I'm even  
more surprised. I wonder whether there is a trend inversion in the USA, or  
this is just a one-of-a-kind case.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[The Java Posse] Mercurial/Git + Jazz SCM anybody?

2013-02-21 Thread Fabrizio Giudici
I'm working with a customer who uses IBM RTC and Jazz SCM as the SCM. I  
don't have to develop production code for him, but some architectural  
spikes that will be later used by others. For agility reasons, it's  
fundamental that I keep the capability of working off-line: so far, the  
spikes have been developed committing locally on a Mercurial running on my  
laptop. But I want to share the code, and I have to use the corporate's  
Jazz SCM. Now, Mercurial allows to pull/push from a Subversion repo  
(already done in the past), and I know Git is able as well. If any of them  
had the same capability of pushing to a Jazz SCM repo I'd be ok, but  
searching through the web I didn't find anything.


Does anybody have an experience in this area? Thanks.

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[The Java Posse] Apple attacked too...

2013-02-20 Thread Fabrizio Giudici
... and if I understand well this happened again by means of the Java  
plugin, right?


http://www.loopinsight.com/2013/02/19/apple-comments-on-hacker-attack/



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Apple attacked too...

2013-02-20 Thread Fabrizio Giudici
On Wed, 20 Feb 2013 14:43:54 +0100, Casper Bang casper.b...@gmail.com  
wrote:



That's my understanding. This follows the week after Facebook got hit by
the same Java plugin vulnerability. Hopefully Oracle have learned a  
lesson

here (don't hush up bugs, fix them and get updates out immediately).


At the moment I have a very bad belly sensation that if the news ramp up  
in the worse fashion (as the hits at Facebook's and Apple's could do), I  
could see new vetoes in the industrial segment, where today I see many  
Java apps with webstart happily used. But I hope it's just I'm in a low  
mood because I have to work with Jazz SCM.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Apple attacked too...

2013-02-20 Thread Fabrizio Giudici

On Wed, 20 Feb 2013 16:32:56 +0100, Josh Berry tae...@gmail.com wrote:

I think most of these have simply meant that somebody in the Apple  
network

had the plugin running.  Considering that most attacks of note I've read
about involved direct emailing of exploited pdfs to executives, this  
makes

sense.


I suppose it's like in the Facebook exploit, there was a JWS-based attack  
hidden in a page of a forum visited by developers. As Josh said, some  
employee connected with the Java plugin enabled and so was infected.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Episode 412 Enterprise Integration - What about ESB?

2013-02-19 Thread Fabrizio Giudici
On Tue, 19 Feb 2013 01:45:15 +0100, Ricky Clarkson  
ricky.clark...@gmail.com wrote:


Great question.  I'd also like to hear from anyone who has used an ESB  
and
Akka (not together) to try to understand why you'd want to use an ESB  
over

Akka.. or not.


From what I see a commercial, espensive ESB is sometimes a requirement of  
the customer (because, right or wrong, he has envisioned the integration  
of everything under that umbrella) or, for similar reasons, because you  
have to integrate some legacy from the same vendor - e.g. you have lots of  
IBM stuff, thus the most comprehensive, guaranteed and supported way to  
integrate them with an ESB is by buying an ESB made by IBM with all its  
certified adapters.


Personally, I think that in most cases people could do with third parties  
or open source, instead of spending big money, but a branded ESB could be  
one of the few cases in which the money are worth spending (if the context  
is the one I've described above).



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Why do seemingly intelligent people still hold incorrect assumptions?

2013-02-19 Thread Fabrizio Giudici
On Tue, 19 Feb 2013 10:40:57 +0100, rakesh mailgroups  
rakesh.mailgro...@gmail.com wrote:



Get your facts right people


... as for an attempt of answering the question in the subject, thus  
broadening the scope, our world mostly processed by established trends.


Most people use JUnit and not try TestNG, because JUnit came earlier than  
TestNG. Most people use Git, because it came earlier than Mercurial, and  
Mercurial doesn't allegedly support branches (false). Most people use  
Eclipse, because everything Sun did was bad, NetBeans included. The  
products that came later of course were inferior in their youth, so a bad  
reputation could have been justified (such as the XML thing). And so on.


But in my experience, every time I present those technologies, in the end  
people prefer TestNG (really almost everybody), NetBeans and Mercurial  
(most people). Then, there could be constraints in the adoption of the  
best product because of external pressure (e.g. your corporate just bought  
IBM RTC, or you realize that most people know Git, and a few Mercurial).


The reason for this is that our profession is so packed of knowledge that  
it's really impossible to have a deep knowlegde of everything (but with  
the exception of people devoted to mentoring, technological transfer,  
etc... rather than directly developing a product or service). Thus, you  
have to delegate some knowledge to something else. This something else is  
the fashion.




--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Why do seemingly intelligent people still hold incorrect assumptions?

2013-02-19 Thread Fabrizio Giudici
On Tue, 19 Feb 2013 11:09:15 +0100, rakesh mailgroups  
rakesh.mailgro...@gmail.com wrote:


sounds like what you're saying is that if I don't know something  
directly,

just go with hearsay, even if it is untrue.


Hearsay might be better as advice from some people I trust (let's say  
it's also more professional). But even some people I trust might not have  
the time to learn all the things in the appropriate way. So, their opinion  
could be not true. Creating a rationale awareness on everything you need  
is a hard job.



The pressure to know more and more is probably responsible in this
competitive market.


Sure. Since I don't see any solution to this pressure (until the world  
breaks down - it will - and finds another equilibrium at a lower speed),  
the correct solution should be for corporates to spend more for tech  
classes and hire mentors devoted to fill the gaps. Of course, you should  
be still aware of the limits of each teacher/mentor, and - as for my  
previous statements on products - there will be still some subjective  
perspective (this is unavoidable). But if you pick teachers/mentors in  
function of their ability of presenting sound reasoning, citations, etc...  
in order to create a rationale that's as objective as possible, this  
should be the right way.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Why do seemingly intelligent people still hold incorrect assumptions?

2013-02-19 Thread Fabrizio Giudici
On Tue, 19 Feb 2013 15:09:51 +0100, phil swenson phil.swen...@gmail.com  
wrote:




For the expression stuff in spring XML like this:   property
name=username value=${jdbc.username}/
anyone know what they are using to process the XML?  Almost no one in
the java world seems to use dynamic XML like this.


I'm no one in the world, so :-) and my customers too. It's pretty smart  
indeed.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Why do seemingly intelligent people still hold incorrect assumptions?

2013-02-19 Thread Fabrizio Giudici
On Tue, 19 Feb 2013 15:13:43 +0100, phil swenson phil.swen...@gmail.com  
wrote:



I should clarify myself, I really meant Almost no one in
 the java world seems to use dynamic XML for *configuration*


Ah-ha! But I answered before reading this. So I'm almost no one in the  
world. :-)


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Why do seemingly intelligent people still hold incorrect assumptions?

2013-02-19 Thread Fabrizio Giudici
On Tue, 19 Feb 2013 16:20:36 +0100, phil swenson phil.swen...@gmail.com  
wrote:



Ok, from my experience I don't see it used.  When I suggest it I hear
it's bad practice to mix code and config.


Correct. In fact with ${property} there's no mixing at all.

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Why do seemingly intelligent people still hold incorrect assumptions?

2013-02-19 Thread Fabrizio Giudici
On Tue, 19 Feb 2013 18:03:14 +0100, rakesh mailgroups  
rakesh.mailgro...@gmail.com wrote:



A Principle Engineer at RedHat. Do they know you are also trolling like
this? If you applied for a job and I came across your posts, I would not
give you a job.

You should be ashamed of yourself.


C'mon Rakesh... we've discussed things seriously, we shouldn't take  
ourselves seriously. This week we even ignored the nazis, so let's relax!  
:o)


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] rails-like migrations for java

2013-02-18 Thread Fabrizio Giudici

On Mon, 18 Feb 2013 19:19:15 +0100, Wayne Fay wayne...@gmail.com wrote:


Has anyone found an open source java (or JVM) project that implements
anything like rails-like migrations?  All I see are naked SQL script
migration techniques.


Safe to assume you've seen liquibase and it was not rails-like enough?
http://liquibase.org/quickstart


+1

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] rails-like migrations for java

2013-02-18 Thread Fabrizio Giudici
On Mon, 18 Feb 2013 21:13:00 +0100, phil swenson phil.swen...@gmail.com  
wrote:



It's better than naked sql, but I think it should be a DSL - not XML.

I would like the ability to add code to my migrations, sometimes data
needs to be transformed during a migration.  And code lets you do
dynamic things that XML won't allow.


Liquibase can be extended with code:

https://wiki.openmrs.org/display/docs/Liquibase+Extensions

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Restricting internet access for kids

2013-02-13 Thread Fabrizio Giudici
On Wed, 13 Feb 2013 08:51:26 +0100, Cédric Beust ♔ ced...@beust.com  
wrote:


On Tue, Feb 12, 2013 at 11:21 PM, Robert Casto  
casto.rob...@gmail.comwrote:



It is about doing what we can to protect them from a world that has lost
all sense of morality.



Compared to when? Just a few decades ago, ...


This is subjective of course, but they are just different kinds of  
immorality. They can't compared directly and, sure, it's good that all the  
bad things you've cited are (partially, partially...) at our back. So I  
perfectly understand Robert.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Restricting internet access for kids

2013-02-13 Thread Fabrizio Giudici
On Wed, 13 Feb 2013 10:14:17 +0100, Casper Bang casper.b...@gmail.com  
wrote:




On Wednesday, February 13, 2013 9:41:42 AM UTC+1, rcasto wrote:


Not saying there hasn't been progress or that there are not other bad
things going on in the world. Your just challenging my motives based on  
my

use of the term morality.



I think your motives are perfectly fine. :) I'm just challenging the fine
balance between knowing something but purposely/conveniently ignoring it
vs. true ignorance (not knowing). Citizens of north Korea believes they
live in the greatest country in the world, simply because they have been
subject to massive filtering for ages.


The same balance can be applied here: actually we don't know what (all?  
most of?) North Koreans think, because we are subject to massive filtering  
about their lives :-) I think many of them suspect something...


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Restricting internet access for kids

2013-02-04 Thread Fabrizio Giudici
On Mon, 04 Feb 2013 16:08:18 +0100, Ricky Clarkson  
ricky.clark...@gmail.com wrote:



My eldest is four, so I don't really have a problem yet but I think I'll
install ManicTime (tracks what apps you use and what pages you visit,
mainly for freelancers to bill per hour) and review it every so often.


Anything like this for Mac OS X (for consultants, not for kids...)?

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Digest for java...@googlegroups.com - 25 Messages in 1 Topic

2013-02-03 Thread Fabrizio Giudici
On Mon, 04 Feb 2013 01:47:34 +0100, Simon Ochsenreither  
simon.ochsenreit...@gmail.com wrote:






Mark Haniford markha...@gmail.com 9:52 PM (3 hours ago)

No wonder everybody hates your nazi german ass, you piece of shit.




Hi Mark,

I think you forgot to CC the mailing list. Let's allow everyone to
participate!


Ahhh... great way to start the new day.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] remove ask toolbar

2013-02-02 Thread Fabrizio Giudici
On Sat, 02 Feb 2013 15:30:57 +0100, Kevin Wright  
kev.lee.wri...@gmail.com wrote:



It would be better for the thing to not exist at all than for it to not
meet the target.


Well, this democracy (at least, in the internet declination). If just a  
handful of people sign it, it means it's not an important problem for most  
people.


I've just signed, anyway.

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Fabrizio Giudici
On Fri, 25 Jan 2013 18:49:08 +0100, Ricky Clarkson  
ricky.clark...@gmail.com wrote:



I just don't know why people continue to use Eclipse.


In many cases it's IBM sales force.

--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Re: Tabs and spaces - I don't get it

2013-01-25 Thread Fabrizio Giudici
On Fri, 25 Jan 2013 18:17:52 +0100, Rakesh rakesh.mailgro...@gmail.com  
wrote:



Isn't this a bit like King Knut?

I've seen soo much code over the years, much of it legacy, to think this  
is
a problem worth solving. If I worked extensively in one codebase and  
never

saw anyone else's code including open source code from outside my
organisation, then maybe I would be sensitive to this.


It's a matter of consistency. In a good team, you shouldn't be able to  
tell who's the author of a file. Consider the mess that would turn out in  
a project where there's a high turnover rate of external consultants.


This of course involved even things much more important than formatting,  
but also formatting. Also because it's simple to align on a standard and  
relatively simple to enforce it.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [The Java Posse] Episode 404...

2013-01-23 Thread Fabrizio Giudici
On Wed, 23 Jan 2013 12:56:39 +0100, Casper Bang casper.b...@gmail.com  
wrote:



Name calling aside, it *is* a little funky how the US prefers to go their
own way rather than converting to the standardized metric system. Yes  
it's
going to confuse old and conservative people for a time, just as it has  
in

the past other places, but just get it over with once and for all.
Unfortunately I did not hear this item in Obama's inauguration speech  
(but

it was nice and unprecedented to hear about green energy).


Well, let's forget politicians declarations, please. They are just plain  
void, in every country. For the record, just after the re-election Obama  
said a very different thing, that is the creation of jobs, when in  
contrast with green energy, comes first (actually, I believe it's the only  
thing that I agree about with Obama). Given that USA plans a lot about  
shale gas  oil you guess...




We probably all remember the famous software bug* that caused the
international Mars Climate Orbiter probe to crash into Mars, due to NASA
issuing thrust instructions in lbs rather than newtons:
http://en.wikipedia.org/wiki/Mars_Climate_Orbiter

*Technically this was not a bug nor a lack of specification, but a human
error based on culture, however it would not have happened if everyone
agreed on the primary quantities/units.


Correct, but I wonder also about testing... :-) Is it possible that the  
problem couldn't be detected by them?


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.



Re: [The Java Posse] Episode 404...

2013-01-23 Thread Fabrizio Giudici

On Wed, 23 Jan 2013 13:37:53 +0100, Jess Holle je...@ptc.com wrote:


While the US is often prone to stubbornly go its own way, I don't
actually see that as a big part of the equation here.


I don't comment on the own way, since the important thing is whether a  
given way makes sense or not. So far USA went their own way for some  
things that made sense. Units don't in my opinion.




I think this is mostly about most folk in the US being unable to stomach
the thought of changing to some weird new units that they're
unfamiliar with.  They live their lives thinking solely in terms of
pounds, gallons, ounces, miles, feet, and inches. Kilograms, liters,
kilometers, and meters are positively Martian to most people in the US.
I'm not sure how well those who don't take a good sampling of science
courses really get introduced to SI units, much less their compelling
nature.  Even among those who are, many don't see them in use enough to
/think /in terms of them.  [It helps when you're into things like
cross-country skiing where measurements are primarily in SI units --
even in the US.]


Correct, but didn't the UK face with the same problem and survived? They  
also faced with a reform in their currency, as well as many Europeans  
faced with a complete change in the currency (whether a good idea or not  
is another matter).



Everyone wants more government than they're
willing to pay for and no one puts enough priority on investments -- but
rather just kicks the can down the road for the future.  This is true
for things ranging from the metric system to public infrastructure
(sewer systems, bridges,...) to education and research.


USA have their own problems, but the whole Western world unfortunately is  
suffering from a huge loss of quality in politics. Still, other countries  
such as the cited UK managed to made the unit change in the past.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.



Re: [The Java Posse] Episode 404...

2013-01-23 Thread Fabrizio Giudici
On Wed, 23 Jan 2013 14:08:12 +0100, Ricky Clarkson  
ricky.clark...@gmail.com wrote:



Still, other countries such as the cited UK managed to made the unit
change in the past.

Brits still measure distances in miles, height in feet and inches and
weight in stone and lbs.  The height and weight thing might be changing
with the current generation of schoolchildren, I'm not sure, but miles  
look

to be there to stay.


I know that the transition is still in progress and I do expect it would  
take a generation. I don't hear Britons screaming in terror, but perhaps  
I'm a bit too far form them... :-) Well, when I visited UK in the past, I  
didn't hear people screaming anyway.



If you want to standardise things, shall we start
with the spoken language and leave the units until continental Europe  
uses

English instead of their local dialect? :)


Bad example... One might take this argument as: everybody uses his own  
unit system at home, but talks a common lingua franca (the metric system)  
with others. This seems to be roughly what we're doing. I also think that  
there could be also different linguae francae in function of the context  
and in some contexts there is probably a very good integration. For  
instance, I think even UK scientists measure things in nanometers rather  
than nanoinches, at least when they publish a paper.



--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.



Re: [The Java Posse] Episode 404...

2013-01-23 Thread Fabrizio Giudici
Besides lack of familiarity there's also a vicious anti-government  
undercurrent.


Ok, I was missing this point - I understand it. But this only holds for  
end users - not for industrial applications. I understand that there are  
costs involved in changing a system, but given that many engineering  
products are made by parts produced on both sides of the Atlantic I see  
costs already today due to the co-existence of two systems since somebody  
has to do some conversion. For instance, I presume that aerospace  
manufacturers today have got this problem.


Time is such a critical unit of measurement that it has eluded  
decimalization.


Note that the point in this discussion is not about the merits of  
*metrics*, rather the merits of a common, shared system. So, it's not a  
problem for me the fact that we'd use a decimal system for most measures,  
base 60 for time and angles, and powers of two for disk and memory  
capacity, and even inches for monitors, as far as we all use the same.


Amusingly, in Alabama, they used to have kilometer markers on the road  
in addition to the mile markers.  They found that this caused confusion,  
because people did not report which unit marker they were at, just the  
marker.  So... back to mile markers for the foreseeable future.


Was writing 24M and 20K so that people could report the trailing  
letter really too hard? :-) Jokes apart, I do agree that exposing a double  
system to end users creates more problems than it solves.


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.



Re: [The Java Posse] Episode 404...

2013-01-23 Thread Fabrizio Giudici
On Wed, 23 Jan 2013 14:54:35 +0100, Casper Bang casper.b...@gmail.com  
wrote:



Indeed this must be very interesting from a historical perspective (the
number 60 in Danish is a reference to an old base 20 system;


Duh! I presumed the only strange thing was the french soixante-dix and  
quatre-vingts ;-)


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.



Re: [The Java Posse] Episode 404...

2013-01-22 Thread Fabrizio Giudici
On Tue, 22 Jan 2013 15:25:12 +0100, Rakesh rakesh.mailgro...@gmail.com  
wrote:



God damn Dick!! You've gone native!


JNI?


--
Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
We make Java work. Everywhere.
http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups Java 
Posse group.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.



  1   2   3   4   5   6   7   8   9   10   >