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

2013-06-28 Thread Andreas Petersson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > and I suppose for non-democratic countries this gets even worse. But you > probably get what you wanted, privacy, even though at a cost. my conclusion: everyone should use PGP on a regular basis. if it becomes the norm, it will not stick out. ---

Re: [The Java Posse] Re: Java Lambda Question

2012-10-02 Thread Andreas Petersson
Am 02.10.2012 10:36, schrieb Fabrizio Giudici: Definitely. Java is mostly backward compatible and I feel Java 8 will be the first exception. Is there any particular reason a java 8 compiler woudl be unable to emit bytecode (with a -target parameter) that is backwards-compatible? couldn't the

Re: [The Java Posse] Scala course by Coursera, taught by Martin Odersky

2012-09-28 Thread Andreas Petersson
Currently in the course. After staring at Martin Odersky videos for far too long and admiring the beauty of Scala syntax i was inspired to create this: http://i.imgur.com/CJr6I.jpg -- You received this message because you are subscribed to the Google Groups "Java Posse" group. To post to this

Re: [The Java Posse] Apple vs Samsung

2012-08-25 Thread Andreas Petersson
I just entered the following route to maps: http://goo.gl/maps/CJ8zb It is a 13 minute drive for one Party. The other is 9000 KM away. What should you expect from a jury of people living there. If Samsung was a person it would be a very angry person. In my opinion they got screwed for a trivial

[The Java Posse] Civilized type usage in Android

2012-06-02 Thread Andreas Petersson
Something came back to my mind while listening to the latest episode. The whole Android API is cluttered with int constants and Api signatures. why does something like this even compile: myTextView.setBackgroundColor(R.id.redTextBox) why does android not use interfaces/type safety more often?

Re: [The Java Posse] How many characters do you use for indention?

2011-05-17 Thread Andreas Petersson
Am 17.05.2011 21:50, schrieb Ricky Clarkson: I find that tabs in code appear quite close to other interesting choices, like raw types, Vector/Hashtable usage and the terrible sin of.. of.. putting th I recently saw: int phone_Number; it cannot be unseen. -- You received this message because y

[The Java Posse] Re: serious bug hits jvm as well: Double.parseDouble("2.2250738585072012e-308")

2011-02-01 Thread Andreas Petersson
a number of places where i found this to be a cereal problem where you won't suspect them: Credit Card Validators (checks first if given string is a number) (Pentaho Data Integration) Version Numbers (in xml headers) (Xstream) and to my surprise HTTP headers (http://www.w3.org/Protocols/rfc2616/rf

[The Java Posse] serious bug hits jvm as well: Double.parseDouble("2.2250738585072012e-308")

2011-02-01 Thread Andreas Petersson
even worse, you can use that bug to crash the compiler, too. I bet one can use that to kill a on of java-running websites. i read that article on http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308/ which explains the matter. -- You received this message because y

[The Java Posse] devoxx live sesssion online @parleys.com

2010-12-02 Thread Andreas Petersson
the javaposse live session is up at http://parleys.com/#st=5&id=2182 its not free (yet?) but paying subscribers and winners of the hat contests can get it. If you missed devoxx, you can see 1/4 of the javaposse live there since we only get to see Tor :) -- You received this message because you

[The Java Posse] get your popcorn: oracle opens another front with the oss community

2010-11-30 Thread Andreas Petersson
this time: Hudson - Continuous Integration System http://www.hudson-labs.org/content/whos-driving-thing i have not fully gathered all the facts on this, since i do not use hudson, but for me, it looks like this thing is currently going out of control for oracle. in one email an oracle rep ev

Re: [The Java Posse] Re: But do people really refactor?

2010-11-24 Thread Andreas Petersson
Interesting discussion so far about vi/emacs vs IJ/Ecl/NB. There were lots of arguments concerning the PERSONAL productivity of a single programmer. For my part, i personally stick to IJ, i used that since 2001 (with a 1-year intermezzo in Eclipse) and has since not disappointed me. Previously i

Re: [The Java Posse] Android Openness (re episode #329)

2010-11-08 Thread Andreas Petersson
Well said. although not perfectly "Hippie" open like many apache/gnu projects - its open "for most values of open". As was said several times in the discussion, "open" can mean a lots of things. Here are a few ways in which Android is open (compared to other systems) - in no particular order

[The Java Posse] looking for: android podcast client

2010-11-03 Thread Andreas Petersson
Dear JPC (Java Posse Community) Having recenty aquired a decent android phone, i am now looking for a good podcast client. can anyone recommend one? i am currently trying out Car Cast, but that is lacking a lot of features i would like to have. -Listen while downloading -good overview of the s

Re: [The Java Posse] Re: Closures, too much or too little?

2009-11-20 Thread Andreas Petersson
the same argument was brought forward against scala which generates more classes than visible for the eye when looking at the source code. I think that is only the case if you have individual .class files hanging around on your disk. With a single .jar file an extra class file or two won't hurt

Re: [The Java Posse] Closures, too much or too little?

2009-11-18 Thread Andreas Petersson
> > Unless you haven't seen the spec: http://www.javac.info/closures-v06a.html > is this the spec alex miller is referring to, described at http://puredanger.com/tech/2009/11/18/closures-after-all/ ? or is it more like http://docs.google.com/Doc?id=ddhp95vd_0f7mcns ? -- You received this mes

[The Java Posse] Re: A "max" function for comparables

2009-11-13 Thread Andreas Petersson
With Google-Collections in your classpath this is easy: if your Foo Objects elements implement Comparable: Ordering.natural().max(one,two); //varargs works for any number! or alternatively: or for Iterable : Ordering.natural().max(fooIterable) or if not, given an explicit Comparator

[The Java Posse] Re: Pipes Output ??

2009-11-04 Thread Andreas Petersson
Most likely the RSS goes somewhere through Yahoo Pipes (pipes.yahoo.com) a great data-transformation tool for mashups. I wonder though, that this appears in a feedburner, which is a google service. > What's happening? You're not renaming the podcast to "Pipes Output", > are you? ;-) --~--~---

[The Java Posse] Re: How do YOU handle Exceptions?

2009-08-15 Thread Andreas Petersson
We did a quite large code refactoring regarding Exceptions in my company some weeks ago. The codebase is about 2k classes. Before we did the refactoring, we had a pretty harmful way of dealing exceptions, like this: //do not try this at home... try{ Connection c = getConn(); query_data(); do_re