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

2014-02-28 Thread Reinier Zwitserloot
On Friday, 28 February 2014 18:50:50 UTC+1, Cédric Beust ♔ wrote: You can go one step further: scala l.fold(0)(_ + _) res0: Int = 6 RIght. I forgot about the scala 'arse' operator. My mistake. -- You received this message because you are subscribed to the Google Groups Java Posse

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

2014-02-27 Thread Reinier Zwitserloot
Perhaps you don't see a peep in this channel is because any discussion will instantly devolve into a scala fanboy fest? This post turned into one halfway throughout clay's 1st post! I'm guessing there's not much happening because: * Testing lambda features is still a ways out, but the IDEs are

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

2013-09-19 Thread Reinier Zwitserloot
the language itself. It can be in the runtime, fine, but I shouldn't be polluting my source code with information about versions of dependencies. Keep things that evolve independently separate. On Tue, Sep 10, 2013 at 7:52 AM, Reinier Zwitserloot rein...@gmail.comjavascript: wrote

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

2013-09-10 Thread Reinier Zwitserloot
versions of the same module in the same runtime. Could anyone point me to any references? Thanks Matthew Farwell. 2013/9/10 Reinier Zwitserloot rein...@gmail.com javascript: This is kind of a shame. My biggest disappointment in scala, phantom, kotlin, and all the other 'new' languages I

[The Java Posse] Re: Jigsaw take IV

2013-09-09 Thread Reinier Zwitserloot
This is kind of a shame. My biggest disappointment in scala, phantom, kotlin, and all the other 'new' languages I ever looked at, is a complete lack of acknowledgement that, this day and age, I expect a language to take the concept of modules and internet-based dependency resolution as a

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

2013-07-05 Thread Reinier Zwitserloot
PGP sounds like a good idea in theory, and it does guarantee that nobody can read the data 'in bulk', but, if we're talking about most 'poor african countries', IF this guy is specifically targeted by his government, and they can somehow read those emails, and all they see is a bunch of

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

2013-07-05 Thread Reinier Zwitserloot
On Friday, July 5, 2013 4:49:33 PM UTC+2, Josh Berry wrote: On Fri, Jul 5, 2013 at 10:26 AM, Reinier Zwitserloot rein...@gmail.comjavascript: wrote: In short: * You do need to trust google, but not very much. I would trust them enough for this specific case. It is more than

[The Java Posse] Re: HTTPS not secure?

2013-05-09 Thread Reinier Zwitserloot
As fabrizio hinted at, its possible to do some fairly crazy things with client side certs and other weird in-browser settings no user has ever messed with, but it's there, and if you control both ends of the connection it's an option. For all other stuff, there are 3 basic concerns about

[The Java Posse] Re: HTTPS not secure?

2013-05-09 Thread Reinier Zwitserloot
you've still lost the security game. But it's better than nothing). On Friday, May 10, 2013 3:04:42 AM UTC+2, Reinier Zwitserloot wrote: As fabrizio hinted at, its possible to do some fairly crazy things with client side certs and other weird in-browser settings no user has ever messed

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

2013-05-05 Thread Reinier Zwitserloot
Ah, but tests are testable (the code tests the tests and the tests test the code; if your tests have a bug in it, they will fail, you will figure out it's not your code, and thus, your test). Put differently, if your test becomes 'out of date', you will notice. If a comment becomes 'out of

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

2013-04-18 Thread Reinier Zwitserloot
won't go bad. -- Cédric -- Cédric On Sun, Apr 14, 2013 at 11:44 AM, Reinier Zwitserloot rein...@gmail.comjavascript: wrote: On the discussion on whether comments are good or bad, I posit: Code which is eminently understandable based solely on the name of the method, the code

[The Java Posse] Re: Episode #418 Dickless

2013-04-14 Thread Reinier Zwitserloot
Yeah, chiming in with the me toos: That was a great episode, guys! On Thursday, April 11, 2013 7:01:39 PM UTC+2, Roger Armstrong wrote: How very refreshing to hear the Java Posse discussing Java again! There's plenty of Java programmers out there and there's plenty of material to discuss,

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

2013-04-14 Thread Reinier Zwitserloot
On the discussion on whether comments are good or bad, I posit: Code which is eminently understandable based solely on the name of the method, the code, and the names of variables and parameters is always better than code which requires comments to be easily understood, and also better than

[The Java Posse] Re: What is the difference between Java 1.1 lambdas and Java 8 lambdas?

2013-03-12 Thread Reinier Zwitserloot
The things Ricky said: * Essentially, the closures are stored in the class file as methods, and referred to via a new JVM concept, vs. the 'old' way which makes a small anonymous class, resulting in lots of $1 files in your classpath and issues with permgen and the like, and slow execution.

Re: [The Java Posse] Re: Parallelism for Java8

2013-03-12 Thread Reinier Zwitserloot
If you link to wikipedia pages, do you actually read them? That wasn't an ad hominem attack. Ad hominem is: His argument is wrong because he has an ugly face. On Saturday, March 2, 2013 9:36:38 AM UTC+1, morten hattesen wrote: Dear Clay, I couldn't help laughing, when I read your post. This

Re: [The Java Posse] Re: Parallelism for Java8

2013-03-12 Thread Reinier Zwitserloot
Comments inline. On Tuesday, March 12, 2013 12:57:49 PM UTC+1, morten hattesen wrote: Reiner, How would you qualify Clay's posting containing these argument fragments? - *This is the most childish, baseless attack I've ever read.* A harsh commentary, but as it is commenting on the tone

Re: [The Java Posse] Re: From Project .Lombok Group on the JSR process...

2013-01-18 Thread Reinier Zwitserloot
I'm looking for the other way around: A java feature (or alternate spec for a proposed feature) designed by some member of the community - how do you get that into java? I'm talking about extremely small changes that do not involve any contentious issues. Simple stuff like: Allow 'Annotation'

[The Java Posse] Re: Gafter's block expression proposal.

2013-01-18 Thread Reinier Zwitserloot
I need this block expression very much. Do you know any one implemented this? Or any further information? I may have to implement it myself, if not. Thanks very much. 在 2009年2月24日星期二UTC下午8时22分19秒,Reinier Zwitserloot写道: Via twitter: http://docs.google.com/Doc?id=ddb3zt39_77cgxvktgshl=en

Re: [The Java Posse] Returning Void

2012-10-21 Thread Reinier Zwitserloot
On Monday, October 15, 2012 2:42:11 PM UTC+2, Simon Ochsenreither wrote: Unfortunately, introducing this kind of concept is exactly the kind of thing java does NOT do, and languages like Scala DO do: it's not a matter of superiority, it's a matter of tradeoffs: If this Nothing exists, it

Re: [The Java Posse] Returning Void

2012-10-21 Thread Reinier Zwitserloot
On Monday, October 15, 2012 2:47:55 PM UTC+2, Casper Bang wrote: Yes, java has no type that represents there is no value that is this type, not even 'null'. It would be cool if this type existed; a method that had this as return type cannot actually return, ever. It has to exit abnormally:

Re: [The Java Posse] Returning Void

2012-10-21 Thread Reinier Zwitserloot
On Monday, October 15, 2012 2:55:49 PM UTC+2, Simon Ochsenreither wrote: One annoyance in Scala is when it infers a type to be, say, List[Nothing], which so far has never been what I intended. While I remember some “interesting” type inference results, List[Nothing] is a bad example.

Re: [The Java Posse] Returning Void

2012-10-21 Thread Reinier Zwitserloot
On Monday, October 22, 2012 1:25:54 AM UTC+2, Simon Ochsenreither wrote: that's false; a List[String] can happen to be empty. List[String] is a supertype of List[Nothing], just like Object. That's surely not the point I was trying to make. What point _were_ you making then? -- You

Re: [The Java Posse] Returning Void

2012-10-15 Thread Reinier Zwitserloot
On Monday, October 8, 2012 1:33:06 AM UTC+2, Simon Ochsenreither wrote: I think it is an interesting example how some pragmatic and superficially simpler approach tends to break down and cause complexity in both the spec and the implementation compared to the academic solution. Yes, java

Re: [The Java Posse] Patent Wars - A hint of sanity?

2012-10-15 Thread Reinier Zwitserloot
The whole conference starts off on the wrong foot - its stated aim is to find a way to make licensing costs 'reasonable'. That means it won't even get to discussions on putting an end to the patenting the obvious, or ending patents for ideas* altogether. Also, just the big boys? They'll just

[The Java Posse] Re: Anyone using ultrabook for development?

2012-10-15 Thread Reinier Zwitserloot
My only machine right now is a late 2010 macbook air 11. Yeah, the really REALLY slow ones. A fresh clean build of lombok takes ~45 seconds on this thing, and a buddy of mine who bought a new desktop PC with all the frills can do the same thing in about 8 seconds. Ouch. Nevertheless, my

Re: [The Java Posse] Returning Void

2012-10-06 Thread Reinier Zwitserloot
Generics is involved, and generics is not capable of representing variable arity, so, if the generics say there is a return type there's a return type. Void and void have basically zero relation. That's all there is to it, really. Returning no thing is just as impossible as returning 2

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

2012-10-03 Thread Reinier Zwitserloot
On Tuesday, October 2, 2012 10:36:49 AM UTC+2, fabrizio.giudici wrote: On Tue, 02 Oct 2012 05:21:06 +0200, Josh Berry tae...@gmail.comjavascript: wrote: Definitely. Java is mostly backward compatible and I feel Java 8 will be the first exception. This doesn't make much sense to me,

Re: [The Java Posse] Re: JavaDoc and Comments

2012-08-28 Thread Reinier Zwitserloot
14:13:03 +0200, Reinier Zwitserloot rein...@gmail.com javascript: wrote: If I want a bird's eye overview of what a thing does and very VERY roughly how the API is structured, I'll look at a tutorial or an example. ... that I suggest to put in the package javadoc. So there's

Re: [The Java Posse] Apple vs Samsung

2012-08-28 Thread Reinier Zwitserloot
Actually, while samsung stock is way down, this is fantastic news for samsung. * They can easily appeal here; the jury reached a verdict in 3 days. The jury instruction manual was something like 700 pages, so the judge is going to accept an appeal in about 5 seconds. The fact that various jury

[The Java Posse] (empirical) Study on Scala vs. Java: Scala takes slightly more time, results in slightly less code.

2012-08-28 Thread Reinier Zwitserloot
http://www.neverworkintheory.org/?p=375 Findings: * It takes longer to write the same thing in scala than in java, but the difference is not that much. * The end result is less lines in scala than in java, but the difference is not that much. * Programming skill was not a statistically

Re: [The Java Posse] Apple vs Samsung

2012-08-28 Thread Reinier Zwitserloot
On Mon, Aug 27, 2012 at 11:35 PM, Reinier Zwitserloot rein...@gmail.comjavascript: wrote: Actually, while samsung stock is way down, this is fantastic news for samsung. * They can easily appeal here; the jury reached a verdict in 3 days. The jury instruction manual was something like 700

[The Java Posse] Re: 386: Mono FUD

2012-08-24 Thread Reinier Zwitserloot
The fact that microsoft is willing to abandon silverlight so soon does indeed have a mundane and reasonable explanation: They wanted a horse in the RIA race 'just incase'. But this is where it falls down: They didn't say that. They sold it like it was the greatest thing since elvis. Which is

Re: [The Java Posse] Re: JavaDoc and Comments

2012-08-24 Thread Reinier Zwitserloot
If I want a bird's eye overview of what a thing does and very VERY roughly how the API is structured, I'll look at a tutorial or an example. If I have to resort to scanning the javadoc that's already a big minus for this library. If on the other hand I'm already using it and I'm just trying to

[The Java Posse] Re: JavaDoc and Comments

2012-08-20 Thread Reinier Zwitserloot
Yes, comments are bad. Of course, leaving a piece of very confusing code uncommented is worse, in which case you pick the lesser evil of commenting your tricky hack. But, if you can refactor your hack into code that is so easy that it warrants no comments, that's best of all. Javadoc, of

Re: [The Java Posse] Groovy love

2012-08-12 Thread Reinier Zwitserloot
On Monday, July 30, 2012 12:24:13 PM UTC+2, rakesh mailgroups wrote: As for unit testing, I actually use them to design my code: now I need my code to do this, so I am going to pass these arguments in and expect this back rather than if i pass this, then I expect that Subtle but

Re: [The Java Posse] Tail Call Recursion?

2012-07-29 Thread Reinier Zwitserloot
No, _THIS_ post is a strawman post. You jump from cliche to cliche without explaining how these cliches are in any way relevant to TCO. What the heck does the '9 pregnant women can't produce a baby in 1 month' schtick have to do with TCO? What does 'goto considered harmful' have to do with any

Re: [The Java Posse] Groovy love

2012-07-29 Thread Reinier Zwitserloot
Ricky Clarkson's got this, but I just wanted to chime in with a simple observation: If someone rightfully calls out a disadvantage of your language, retorting with Real programmers test their code, and that would have caught this, is not going to convince anyone that groovy is a good idea. In

[The Java Posse] Re: Option

2012-07-29 Thread Reinier Zwitserloot
Actually, this flatMap snippet shows exactly why it's a horrible fit for java. This introduces the concept of flatMap which is a gigantic can of worms. Yes, people who are used to functional languages find this as obvious and effortless to read, write, and understand as a java programmer who

Re: [The Java Posse] Re: Tail Call Recursion?

2012-07-22 Thread Reinier Zwitserloot
I find it absolutely hilarious that you mention linked lists in the same breath as the need to work with multicore processors. You realize that linked lists, by their very nature, are 100% impervious to parallelizing? At least with array lists you can split em up into blocks and hand off each

[The Java Posse] Re: Tail Call Recursion?

2012-07-21 Thread Reinier Zwitserloot
Implicit tail recursion (Where it's done anytime it looks like it is possible, vs. where it is only done if explicitly requested by the programmer) is not worth it. The actual number of recursive functions out there today is vanishingly small (though in these kinds of: 'Let's see what's out

Re: [The Java Posse] Re: Project Jigsaw probably pushed back to Java 9

2012-07-21 Thread Reinier Zwitserloot
A thousand times this. As important as it is to keep evolving the platform, it would be a capital mistake to rush features out the door half-baked in a bid to stem off some sort of mass exodus. That's just not going to happen, nor would java all of a sudden shove a dagger in C's back and bury

Re: [The Java Posse] Project Jigsaw probably pushed back to Java 9

2012-07-19 Thread Reinier Zwitserloot
On Tuesday, July 17, 2012 9:02:53 PM UTC+2, Jan Goyvaerts wrote: Personally, I dont care any more. I think its too big a job for oracle anyway... Jigsaw is not particularly 'big'. Oracle's java budget certainly is big enough to cover this if they really want to. It's also not just oracle,

Re: [The Java Posse] Project Jigsaw probably pushed back to Java 9

2012-07-19 Thread Reinier Zwitserloot
On Wednesday, July 18, 2012 12:50:19 PM UTC+2, Carl Jokl wrote: It is frustrating. Enough of these disappointments and setbacks would make me tempted to want to work with something else sometimes yet the problem remains that the alternatives still have issues. Fast-moving alternatives are

[The Java Posse] Re: Project Jigsaw probably pushed back to Java 9

2012-07-19 Thread Reinier Zwitserloot
I'm flabbergasted that this entire thread is lamenting the fact that we aren't getting 'smaller JREs' now for java 8. Like 95% of the rest of the world of java, my java apps tend to be long running and tend to be on machines I control, i.e. make the JRE 2GB for all I care, it just doesn't

Re: [The Java Posse] Re: Option

2012-07-08 Thread Reinier Zwitserloot
as arguments, etc. So it's your Option[Person] that accepts your method. Not the other way around. On 6 July 2012 16:47, Cédric Beust ♔ ced...@beust.com wrote: On Fri, Jul 6, 2012 at 4:28 AM, Reinier Zwitserloot reini...@gmail.comwrote: On Friday, July 6, 2012 1:12:18 PM UTC+2, Dale

Re: [The Java Posse] Re: Option

2012-07-06 Thread Reinier Zwitserloot
On Friday, July 6, 2012 1:12:18 PM UTC+2, Dale Wijnand wrote: On the fly I can't think of a reason to return a ListOptionT, that's just ridiculous. Why is that ridiculous? If I have a method which emits an OptionT, and I have a list of inputs and I run a map operation, I'll get a

Re: [The Java Posse] Re: Option

2012-07-02 Thread Reinier Zwitserloot
UTC+2, KWright wrote: On 5 June 2012 11:05, Reinier Zwitserloot wrote: On Monday, June 4, 2012 5:09:43 PM UTC+2, KWright wrote: This now has alarm bells going off in my head. These (as described) would only make sense if specified at both declaration AND use site, that's an awful

Re: [The Java Posse] Re: Option

2012-06-06 Thread Reinier Zwitserloot
On Tuesday, June 5, 2012 1:19:52 PM UTC+2, KWright wrote: Here's a thought experiment, I have: public class Foo { ... } public class Bar extends Foo { ... } public void doSomething(List? super Bar! xs) What would be a valid argument to doSomething? ListBar! ListBar ListFoo! ListFoo

Re: [The Java Posse] Re: Option

2012-06-06 Thread Reinier Zwitserloot
'Going bang' is an option on any one of the 39,207 items. The appropriate response is for the code that runs the closure that operates on the data to catch this exception and transport it to the calling frame in a way that does not imply killing the result of the other 39,206 operations. While

Re: [The Java Posse] Re: Option

2012-06-05 Thread Reinier Zwitserloot
On Monday, June 4, 2012 5:09:43 PM UTC+2, KWright wrote: This now has alarm bells going off in my head. These (as described) would only make sense if specified at both declaration AND use site, that's an awful lot of boilerplate and ceremony to be added! We already tried the same thing

[The Java Posse] Re: Option

2012-06-04 Thread Reinier Zwitserloot
This. Especially the midas problem tells me that OptionT is not at all a decent substitute for 'null'. I personally feel like types need saner defaults, but they still have to be optional. For example, strings should default to , lists should default to an immutable empty list, and so on and

[The Java Posse] Re: Option

2012-06-04 Thread Reinier Zwitserloot
For what it's worth, we're adapting Philipp Eichhorn's work on static import extension methods in java to Project Lombok. The idea is that you can use an annotation to do extension point imports - i.e. if you have a class filled with a bunch of static methods whose first parameter is always

Re: [The Java Posse] Oracle vs Google - jury in

2012-05-09 Thread Reinier Zwitserloot
No; google did not release android under a GPL2 license; they released it under a BSD-style license. This is what the fuss is about: Google took a (supposed) cleanroom implementation, namely, Apache Harmony which was already licensed BSD-style, tweaked it quite a bit, and released this, also

[The Java Posse] Oracle is really starting to tick me off.

2012-04-08 Thread Reinier Zwitserloot
http://intelligence.house.gov/bill/cyber-intelligence-sharing-and-protection-act-2011 They're in there. Unfortunately. -- You received this message because you are subscribed to the Google Groups The Java Posse group. To view this discussion on the web visit

Re: [The Java Posse] Re: Free Beer, Tomorrow.

2012-03-31 Thread Reinier Zwitserloot
On Saturday, March 31, 2012 12:39:23 PM UTC+2, fabrizio.giudici wrote: That's why I'm always puzzled when I hear blaming of western / liberal democratic countries as whether the problem was due to them: as a matter of a fact, they are the only countries where the problem is faced

Re: [The Java Posse] Re: Free Beer, Tomorrow.

2012-03-30 Thread Reinier Zwitserloot
of that episode, there is an interview with a journalist who wrote an article about the 'iEconomy'. Apple knows about violations. Try again, Rakesh On 29 March 2012 12:25, Reinier Zwitserloot reini...@gmail.com wrote: Replies inline. The short of it: Rakesh has been hoodwinked by Mike

Re: [The Java Posse] Re: Free Beer, Tomorrow.

2012-03-29 Thread Reinier Zwitserloot
://www.thisamericanlife.org/radio-archives/episode/460/retraction Rakesh I would point you to the recent podcast by This American Life where they had to apologise about the On 28 March 2012 16:25, Reinier Zwitserloot reini...@gmail.com wrote: Conditions in china are pretty bad and 'we

Re: [The Java Posse] Re: Free Beer, Tomorrow.

2012-03-28 Thread Reinier Zwitserloot
Conditions in china are pretty bad and 'we' (the western world) should definitely try to do something about it, but blaming western companies for this is an extraordinary claim that requires extraordinary evidence. England, the US, and europe went through this phase too, and we didn't have

[The Java Posse] Re: No more primitives in Java 10?

2012-03-26 Thread Reinier Zwitserloot
Well, there's still module-info.java but the syntax of the contents of this file aren't actually java. It looks java-ish, with brackets and semicolons and such, but it's not java, not in the slightest. The 'module' keyword remains in limbo (it would be a 5th access level; less public than

[The Java Posse] Re: No more primitives in Java 10?

2012-03-22 Thread Reinier Zwitserloot
No, jigsaw continues as planned. There has always been the goal that jigsaw is simple and flexible enough that OSGi ought to be capable of spitting out files that are legit modules. What this requires of OSGi is not as of yet clear. It'll be one of: * Nothing needed at all; OSGi modules work

[The Java Posse] Re: No more primitives in Java 10?

2012-03-19 Thread Reinier Zwitserloot
The trick is partly a JVM optimization (make boxing/unboxing very efficient. Basically, find locations where a box op is followed by an unbox op, and eliminate the both of them. Make sure this works across method boundaries (i.e. to call a method, my method boxes up a primitive, then the other

Re: [The Java Posse] hotspot and stuff

2012-03-01 Thread Reinier Zwitserloot
On Thursday, March 1, 2012 12:20:26 PM UTC+1, KWright wrote: I never really had a big problem with String being final, although the claims that it was for security reasons seem a bit weak given that strings are also immutable. If String wasn't final, it would obviously not be immutable,

Re: [The Java Posse] Google says it won't support fair licensing in open standards

2012-02-10 Thread Reinier Zwitserloot
Apple claims it wants this FRAND stuff yet it started this fight by asking for injunctions all over the place. here, Cedric said it better than I can: http://beust.com/weblog/2012/02/09/the-only-sure-way-to-lose-is-not-to-play/ -- You received this message because you are subscribed to the

[The Java Posse] Re: Keeping up to date

2012-01-18 Thread Reinier Zwitserloot
Project Coin is no more. By design. It was a project with a time limit. There is NO coin for 1.8 (the working title for the hypothetical java8 coin is Coin - The Flip Side. It has been confirmed as 'will never be' by Joe Darcy who is responsible for it, because java 1.8 already has a full

[The Java Posse] Re: Sony's PlayStation Suite for Vita/Android Chooses C#/Mono Exclusively. What's the Alternative?

2012-01-18 Thread Reinier Zwitserloot
::facepalm:: The mind boggles at how idiotic sony's actions are of late. I'm perfectly willing to entertain the thought that legally speaking mono has better cards, at least superficially, than anything with the letter J in it anywhere, but, you don't put your eggs in the basket woven by your

Re: [The Java Posse] Re: Addicted to Scala - I hate the Java Posse!

2011-12-29 Thread Reinier Zwitserloot
Singletons WITH STATE, that's the anti-pattern. stateless singletons are a great idea and we have them all over the place. -- You received this message because you are subscribed to the Google Groups The Java Posse group. To view this discussion on the web visit

Re: [The Java Posse] Re: JavasScript as a first language

2011-12-26 Thread Reinier Zwitserloot
On Monday, December 26, 2011 6:21:23 AM UTC+1, Oscar Hsieh wrote: Come on people, why do we have to turn every single language thread into Java vs Scala HIs name is Kevin Wright. I should have ignored him, I apologize. -- You received this message because you are subscribed to the

Re: [The Java Posse] Re: JavasScript as a first language

2011-12-25 Thread Reinier Zwitserloot
Messing with trite stuff of any sort, especially if it HAS to passed off as magic pixie dust for progress' sake, is bad, because when you're learning something its very annoying if you can already tell right from the start you're not even seeing the whole picture. I'm taking it as axiomatic

[The Java Posse] Re: JavasScript as a first language

2011-12-25 Thread Reinier Zwitserloot
On Saturday, December 24, 2011 8:59:31 PM UTC+1, Dick Wall wrote: REPLs are useless, but something not called a REPL built into eclipse is super-useful and you use it all the time despite being an experienced java developer. The only difference seems to be the name. I would posit that I

[The Java Posse] Re: JavasScript as a first language

2011-12-25 Thread Reinier Zwitserloot
On Sunday, December 25, 2011 9:51:18 PM UTC+1, Simon Ochsenreither wrote: Yes, they are a useless addition to a language provided there's already an advanced debugger, scrapbook tool, etc, available. Doesn't that pretty much apply to Scala, too? Seems like pretty much everyone having

Re: [The Java Posse] Re: JavasScript as a first language

2011-12-24 Thread Reinier Zwitserloot
This is just not didactically sensible. That's not how you get people excited. Unexcited people don't learn well. And, in re: Ricky Clarkson's comment about Python, well, Cedric covered it. On Thursday, December 22, 2011 9:48:57 AM UTC+1, fabrizio.giudici wrote: Frankly I think that

Re: [The Java Posse] JavasScript as a first language

2011-12-24 Thread Reinier Zwitserloot
This post doesn't even make sense. What in the flying blazes do logging frameworks have in common with REPLs vs. advanced debuggers? The only thing I can imagine is that you do not see that debuggers and REPL have rather a lot in common, but, then, being completely obtuse is something I've

[The Java Posse] Re: JavasScript as a first language

2011-12-24 Thread Reinier Zwitserloot
On Thursday, December 22, 2011 5:42:12 PM UTC+1, Dick Wall wrote: As is often the case Reinier - you seem to have got your enthusiasm making statements that are far to over general. Here is the history from my development machine (not one of the ones I use for Scala training) along with

Re: [The Java Posse] Ceylon now available

2011-12-21 Thread Reinier Zwitserloot
There's too much competition in this space. We have java, which clearly put a stake in the ground and has a gigantinormous community. There's scala, who was here early enough and has enough 'different' about it that its become a smaller sattelite sun of the java platform, sucking away some of

[The Java Posse] Re: JavasScript as a first language

2011-12-21 Thread Reinier Zwitserloot
Fantastic. It's the 'duh!' language I ALWAYS name when someone asks me where they should start. Java is a _horrible_ 'my first programming language': * You need to sprinkle a boatload of magic pixie dust over your source before it works (that would be 'public class X { public static void

[The Java Posse] Re: Does a language change make things better?

2011-12-11 Thread Reinier Zwitserloot
It's very hard to give advice in these situations as it's a complex question and we don't know what you know. One thing that did strike me though: Your main complaint about option 3 is that there's a lot of technical debt, bad stacks, unfun development issues. Why did this happen? Presumably

Re: [The Java Posse] Re: Dick's Wicket comments on episode #371 from the roundup - DRY principle

2011-12-06 Thread Reinier Zwitserloot
Pssh, that's overkill. It's much simpler: foo: System.out.println(hey!); {break foo;} but this isn't a goto. No matter where the label is, 'break X' just means: keep aborting out of scopes until you hit the same level as the named label. The above code will NOT print 'hey!' twice. Just once.

[The Java Posse] Re: Coda Hale on Scala

2011-12-02 Thread Reinier Zwitserloot
I'm a little surprised the discussion has moved to the in my opinion relative strawman of collections API performance. As Dick said, the golden rule of performance optimization is to FIRST make sure you're using the most efficient algorithm possible because that will always outpace whatever

Re: [The Java Posse] Dick's Wicket comments on episode #371 from the roundup - DRY principle

2011-12-02 Thread Reinier Zwitserloot
A minute. An hour. A Day. Who cares? The web wasn't designed to time out like that, and a properly designed site simply won't. At best I'll need to relogin in first. Server-stored state is not designed equal. Throwing a bunch of crud into an HttpSession object, yeah, that's horrible. Don't use

Re: [The Java Posse] Re: Response to Dick's iPhone 4S comments on episode 367

2011-11-01 Thread Reinier Zwitserloot
If this is going to turn into a whine about the posse thread, I'll toss in my 2 cents: If you guys don't stop whinging about the excellent content, I'll stop reading your posts. So there. This patent stuff is _in the news_, and extremely relevant to java. -- You received this message because

[The Java Posse] Re: Fork/Join criticism

2011-10-20 Thread Reinier Zwitserloot
I can retort a few of these, but certainly not all of it. --Exceedingly Complex-- Yes, but, complaining that F/J (ab)uses com.sun.misc.Unsafe is just stupid, in my opinion. The whole point of F/J is that _it_ abstracts away the considerable complexity inherent in aggressively efficient

Re: [The Java Posse] Re: Steve Yegge's Rant

2011-10-17 Thread Reinier Zwitserloot
On Monday, October 17, 2011 7:26:21 AM UTC+2, Cédric Beust ♔ wrote: Facebook has completely turned around and not only was the first version of their API's fairly exhaustive, their latest foray into this domain (called Open Graph) is extraordinarily deep and promising. It's surprising that

[The Java Posse] Re: Supporting non Javascript websites

2011-10-05 Thread Reinier Zwitserloot
If you want to keep that, you should absolutely stick with the jQuery + servlets + additive JS model. Build your site as if javascript didn't exist, then use jQuery to improve on things. Add event listeners to buttons, which preventDefault and then do the same thing but nicer, with ajax calls.

[The Java Posse] TIOBE of the month: Java still growing, F# enters top 20, scala still languishing in the 51-100 range.

2011-09-07 Thread Reinier Zwitserloot
I really don't know that much about F#, could anybody shed some light on this? Scala's hype machine, at least from where I'm standing (and I guess I'm part of the java community, which remains the undisputing #1, so that's a large community) is pretty amazing, and yet Scala's languished in the

[The Java Posse] Re: Hello Moto! Google to acquire Motorola Mobility

2011-09-02 Thread Reinier Zwitserloot
This area such a political minefield that whatever Eric Smidt says is probably has no relation at all to what he really thinks. That's the job of a CEO - tiptoe around political minefields. He has to show the stockholders that aren't convinced the patent wars are something that's worth

[The Java Posse] Patent Wars reach new low - Microsoft and Nokia make desperate jackass move.

2011-09-02 Thread Reinier Zwitserloot
http://www.theglobeandmail.com/globe-investor/nokia-microsoft-tap-mosaid-to-handle-huge-patent-trove/article2149827/ Basically they've sold their mobile patents to a patent troll (yes, troll, original definition: It's a company that employs only lawyers and makes no products of any kind of

[The Java Posse] Re: Fun stuff: Samsung cites Kubrik Clarke for helping in the Apple war

2011-08-31 Thread Reinier Zwitserloot
I doubt its as malicious as all that. I believe a few of the bigwigs at apple, I'm guessing Steve Jobs front and center, honestly believe that Samsung is shooting 'unfairly' close to cloning and they asked their legal department to find them a stick to beat them over the head with.

[The Java Posse] Re: Fun stuff: Samsung cites Kubrik Clarke for helping in the Apple war

2011-08-31 Thread Reinier Zwitserloot
This is by the way not the coolest quote of Prior Art ever. This isn't exactly a patent fight, but this anecdote is patent-related: An eagle-eyed dutch patent office employee invalidated a patent to raise boats in harbours using small buoyant plastic balls, because he saw it before. In his

Re: [The Java Posse] Re: Scala Lift or Play?

2011-08-23 Thread Reinier Zwitserloot
There's a sweet spot here. Build your usual page-oriented fill-the-template loads-of-forms model, which you should be using, but then augment that with javascript. Here and there you're doing some double work, but the key is to make the form submit stuff as simple as it could possibly be; it

[The Java Posse] Re: Vs: Re: Are there any techie SUPPORTERS of software patents left?

2011-08-18 Thread Reinier Zwitserloot
This comment makes no sense to me. For any given law, some people benefit, some people are set back by it, and most people aren't directly affected by it. Indirectly, those people directly affected by it will affect others, i.e. because they decide to build an innovative product that ends up

[The Java Posse] Re: Are there any techie SUPPORTERS of software patents left?

2011-08-17 Thread Reinier Zwitserloot
On Tuesday, August 16, 2011 7:28:02 AM UTC+2, mP wrote: Its not a far stretch to suggest IBM could or should sue the entire PC clone market for copying their desktops. Im not suggesting it should happen but i find it difficult to differentiate between the two cases. If IBM wants to

[The Java Posse] Re: Are there any techie SUPPORTERS of software patents left?

2011-08-17 Thread Reinier Zwitserloot
On Tuesday, August 16, 2011 7:32:24 AM UTC+2, mP wrote: I suppose its no surprise that IBM has taken legal action after all mainframes are a license to print money compared to other businesses. However what is the difference between IBM v Hercules and Oracle vs Google. I know different

Re: [The Java Posse] Re: Hello Moto! Google to acquire Motorola Mobility

2011-08-17 Thread Reinier Zwitserloot
On Tuesday, August 16, 2011 10:57:49 PM UTC+2, rcasto wrote: No, I think the fact that Wall St is confused says it all. For years they didn't understand Amazon and kept them under $30. Now they understand what they are doing and it is almost at $200. Apple is fluctating about as much as

[The Java Posse] Re: Scala Lift or Play?

2011-08-17 Thread Reinier Zwitserloot
I'd strongly suggest you go the traditional approach ('form submit style'), as it's easy, and it fits the internet. As in, the URLs make sense, your pages are indexable, and it all works (crappily, but it works, and it works with screenreaders for the blind, phone browsers, etc, etc) anywhere,

Re: [The Java Posse] An innovative approach to resolving patent lawsuits

2011-08-17 Thread Reinier Zwitserloot
Yah, this is obviously a trademark lawsuit. I know the patent system is nuts, but patenting A system and method for appellation of entertainment software by utilizing paper synonyms is probably not going to fly... yet. I checked, and it is indeed a trademark lawsuit. You know, that's the thing

Re: [The Java Posse] An innovative approach to resolving patent lawsuits

2011-08-17 Thread Reinier Zwitserloot
Yup, that's exactly what all that Apple Corps (The beatles' music label) vs. Apple Computer Inc was all about. They had some trademark scuffle, a lawsuit was involved, apple signed something along the lines of We won't enter the music biz, and as long as we don't you haven't a leg to stand on,

[The Java Posse] Re: Hello Moto! Google to acquire Motorola Mobility

2011-08-17 Thread Reinier Zwitserloot
On Tuesday, August 16, 2011 3:33:53 AM UTC+2, Reinier Zwitserloot wrote: So, looking at it like that, they just dropped 12,000 million dollars on a patent portfolio. Boy. That's hard to comprehend, isn't it? I know it's only August but I guess I win the 'Most ridiculously quoted out

[The Java Posse] Re: Hello Moto! Google to acquire Motorola Mobility

2011-08-15 Thread Reinier Zwitserloot
Interesting news, of course. It's just plain a given that part of the puzzle here is Motorola Mobile's patent portfolio. That part of it is also good news for HTC, Samsung, etcetera. But what's next from here? Will google start manufacturing its own line of phones? Calin Grecu said this may be

[The Java Posse] Re: Are there any techie SUPPORTERS of software patents left?

2011-08-14 Thread Reinier Zwitserloot
You can't just promise to not sue FOSS and then sue the entire commercial sector that inevitably springs up around such projects. What did IBM expect when they made that promise? How'd you feel if IBM sued some independent seller of support for Apache? Well, I guess you _can_ promise that, but

[The Java Posse] Re: -Xmx is hurting java

2011-08-13 Thread Reinier Zwitserloot
I'm guessing you don't know how to read memory usage of an app. Any shared libraries used by any process, including all the memory it uses and all the shared libraries it brings in, all 'count'. So, the same library shows up for lots of processes. These days just the core OS library is

  1   2   3   4   5   6   7   8   9   10   >