Re: [The Java Posse] Distributing Java program on Ubuntu 10

2010-07-15 Thread Peter Becker
There are a number of tools out there to properly install a program: http://java-source.net/open-source/installer-generators The only one I have ever used is AntInstaller, but that was a long time ago. I've seen quite a few uses of IzPack in recent years. Someone else might have more to say

Re: [The Java Posse] Re: Is functional programming abstract nonsense?

2010-07-15 Thread Peter Becker
http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html On 16/07/10 00:09, Nick wrote: I was thinking about this on the drive to work a few months ago. OO does mimic the way we view the world in its focus on objects or nouns. Think about how you would describe a scene to

Re: [The Java Posse] Re: Rumours of Java's demise have been greatly exaggerated.

2010-07-14 Thread Peter Becker
, coding efforts are going in the right direction...Hibernate too, is one of those, but it does need some fixes... Thanks for the update . Regards, jd On 7/14/10, Peter Becker peter.becker...@gmail.com wrote: On 13/07/10 22:41, jitesh dundas wrote: Have you heard of Hibernate/Spring for hiding

Re: [The Java Posse] Re: Rumours of Java's demise have been greatly exaggerated.

2010-07-14 Thread Peter Becker
On 14/07/10 19:16, Moandji Ezana wrote: The thing I find most useful about Hibernate is that when you have a lot of tables of inter-related data, it really alleviates the pain of having to think about what data you need to load for each possible workflow. Not if you care about scalability, in

Re: [The Java Posse] Re: Rumours of Java's demise have been greatly exaggerated.

2010-07-14 Thread Peter Becker
On 14/07/10 21:22, Moandji Ezana wrote: On Wed, Jul 14, 2010 at 11:45 AM, Peter Becker peter.becker.de http://peter.becker.de@gmail.com http://gmail.com wrote: On 14/07/10 19:16, Moandji Ezana wrote: The thing I find most useful about Hibernate is that when you have a lot

Re: [The Java Posse] Re: Rumours of Java's demise have been greatly exaggerated.

2010-07-14 Thread Peter Becker
application..The problem is the data that you are trying to update... Are we doing that correctly.. Let us not blame Hibernate for everuything friends..There is more than what meets the eye.. Regardsm, jd On Wed, Jul 14, 2010 at 6:00 PM, Peter Becker peter.becker.de http://peter.becker.de@gmail.com

Re: [The Java Posse] Re: Rumours of Java's demise have been greatly exaggerated.

2010-07-14 Thread Peter Becker
No, it doesn't. And it also supports JPA annotations, so you don't need any XML at all. Peter On 14/07/10 22:44, Kevin Wright wrote: hang on... does hibernate continue to read XML files after it's loaded? If so, then that would *definitely be a bottleneck! On 14 July 2010 13:25, jitesh

Re: [The Java Posse] Where in the world is the OLPC (One Laptop Per Child?) - and what about Android?

2010-07-13 Thread Peter Becker
There was a FLOSS Weekly podcast a while ago with some guy describing the work done in Nepal. That definitely sounded like OLPC had/has some impact there. http://www.olpcnews.com/countries/nepal/ole_nepal_on_floss_weekly.html It's a very interesting episode to listen to. Many of the effects

Re: [The Java Posse] Re: Rumours of Java's demise have been greatly exaggerated.

2010-07-13 Thread Peter Becker
On 13/07/10 22:41, jitesh dundas wrote: Have you heard of Hibernate/Spring for hiding DB related issues.. It hides them so well that it usually takes at least 10 times longer to fix them. It does so by layering a coat of its own issues over the DB. Peter (who tends to get cynical when

Re: [The Java Posse] Geek time

2010-07-08 Thread Peter Becker
This might be not suitable for everyone, but I find the combination of (public transport + netbook + tethering) extremely helpful. OTOH I am currently accepting a commute of 1h+ as opposed to ~30min direct drive, I am not sure I'll keep that up. At the moment pretty much 90%+ of my private

Re: [The Java Posse] Re: NetBeans code completion for logging

2010-06-28 Thread Peter Becker
At some level in the code IOException and SqlException are part of the domain model. They should just not be allowed to bubble up. Peter On 27/06/10 18:19, Kevin Wright wrote: There's a school of thought stating that checked exceptions are okay for domain-level concepts, but not

Re: [The Java Posse] Re: Less IPhone

2010-06-24 Thread Peter Becker
I think people have been a bit harsh at times, but I think it is ok to give some criticism. I always enjoy feedback for my open source projects, even the negative stuff. If people file bug reports (or the equivalent thereof), then it means they care enough to not only spend some time with

[The Java Posse] Re: Project build with NetBeans or RAD

2010-06-23 Thread Peter Becker
to a particular IDE, so that means ant or maven. I'm a bit old school, so I also like the command line. One frustration I had with maven (years ago, when I last looked at it) was perfectly illustrated by Peter Becker with his mvn $GOAL example. It was never obvious to me what value needed

[The Java Posse] Re: Project build with NetBeans or RAD

2010-06-22 Thread Peter Becker
way longer. Peter On 22/06/10 21:21, Fabrizio Giudici wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/22/10 12:46 , Wildam Martin wrote: On Tue, Jun 22, 2010 at 10:38, Peter Becker peter.becker...@gmail.com wrote: Maven might feel too complex or too limiting when you

Re: [The Java Posse] Re: Code generation becoming mainstream?

2010-06-17 Thread Peter Becker
On 17/06/10 03:30, Karsten Silz wrote: On 4 Jun., 22:34, Casper Bangcasper.b...@gmail.com wrote: So is this a general tendency all around, code generation becoming mainstream? I've traditionally feared the day I can't do full round- trip engineering in plain view but depend on magic

Re: [The Java Posse] Re: Not only Java

2010-06-17 Thread Peter Becker
For me the big problem with Solaris (Open or not) is the lack of decent package management. Not only is the tool ridiculous (why does it ask me if I want to remove a package when I update it?), what is worse is that the repositories seem to be either more outdated than the Enterprise Linux

Re: [The Java Posse] Re: Not only Java

2010-06-17 Thread Peter Becker
On 18/06/10 01:22, Marcelo Fukushima wrote: On Wed, Jun 16, 2010 at 6:42 PM, Peter Becker peter.becker.de http://peter.becker.de@gmail.com http://gmail.com wrote: For me the big problem with Solaris (Open or not) is the lack of decent package management. Not only is the tool

Re: [The Java Posse] Re: OS-X - the abandoned platform?

2010-06-11 Thread Peter Becker
As someone who has some flavour of Ubuntu on every desktop/laptop/netbook I use (including a MacBook Pro and a recent iMac), I have been wondering a lot about why people like MacOS better. Everytime I use it I get annoyed, and I truly believe only part of that is the fact that I'm not used to

Re: [The Java Posse] Re: OS-X - the abandoned platform?

2010-06-11 Thread Peter Becker
On 12/06/10 09:37, Christian Catchpole wrote: On Jun 11, 9:30 pm, Peter Beckerpeter.becker...@gmail.com wrote: Did I mention that I have a very strong dislike of that startup sound from the not-BIOS? :-) That's because it's a tritone, also known as The Devils Interval

Re: [The Java Posse] Re: JCP.ORG down ?

2010-06-03 Thread Peter Becker
On 03/06/10 14:41, Robert Casto wrote: It doesn't matter what happened. It is not that hard to change some domain records to point to another machine somewhere and put up a simple page that tells people what is going on. In some sense it actually is -- due to the fact that domain records are

Re: [The Java Posse] Re: Good gosh J7 lambdas/closures are looking worse by the day

2010-06-01 Thread Peter Becker
On 01/06/10 18:35, Moandji Ezana wrote: On Tue, Jun 1, 2010 at 7:12 AM, Michael Neale michael.ne...@gmail.com mailto:michael.ne...@gmail.com wrote: I think it shows it in its worst light, when others show examples it is OK I guess... I agree, I don't think they're particularly ugly.

Re: [The Java Posse] A Brain For your PC

2010-05-25 Thread Peter Becker
... On 25 May 2010 00:29, Peter Becker peter.becker.de http://peter.becker.de@gmail.com http://gmail.com wrote: Hey -- at least time you bothered with a segway. This is just lazy and/or ignorant. And you will have changed the thread subject for all the poor GMail users now

Re: [The Java Posse] Re: The brutal truth

2010-05-24 Thread Peter Becker
Yes, Kevin. This is the walled garden thread, don't post anything that hasn't been cleared with the management. And never ever consider changing the subject line, otherwise you get into trouble with the Google overlords. Peter On 25/05/10 01:17, Rakesh wrote: I think you posted to the

Re: [The Java Posse] A Brain For your PC

2010-05-24 Thread Peter Becker
Hey -- at least time you bothered with a segway. This is just lazy and/or ignorant. And you will have changed the thread subject for all the poor GMail users now -- they will get confused about where to find the old thread. ;-) To still answer the question you pose: The real problem is not

Re: [The Java Posse] Re: The brutal truth

2010-05-24 Thread Peter Becker
Apple consider to be a core competency that they are defending here? On 24 May 2010 23:54, Peter Becker peter.becker.de http://peter.becker.de@gmail.com http://gmail.com wrote: Yes, Kevin. This is the walled garden thread, don't post anything that hasn't been cleared with the management

Re: [The Java Posse] Re: Android Market now with a bit of more information for developers

2010-05-21 Thread Peter Becker
On 22/05/10 05:50, Karsten Silz wrote: On 21 Mai, 15:53, Reinier Zwitserlootreini...@gmail.com wrote: I wonder if they were inspired by netbeans which has a similar jawdropping centralized crash reports database. The iPhone has had crash reports copied from the device through iTunes

Re: [The Java Posse] Re: Is HTML 5 here sooner than we think?

2010-05-20 Thread Peter Becker
I think it will highly depend on the success of Windows 7. The same effect that happened with IE6 might happen with IE8 in a corporate environment: it might be deemed good enough so there will be no business case for installing anything else. Consumers will probably be pushed ahead to IE9 by

Re: [The Java Posse] Re: Is HTML 5 here sooner than we think?

2010-05-20 Thread Peter Becker
They wouldn't update their Windows either unless they have to. Chances are something will break, and I think every organization I deal with has some program testing what exactly breaks, probably since Vista came out. I suspect the IE6-8 upgrade is probably even used as an argument for the

Re: [The Java Posse] For JC (and nostalgic posse fans)

2010-05-20 Thread Peter Becker
I remember the days when I spent more money on sound cards than graphic cards :-) I used to have an SB AWE with the extra MT-32 board stuck on top -- all of that is probably now easily beaten by the on-board sound in my netbook. Although I've never connected it to decent speakers, so I don't

Re: [The Java Posse] Re: Is HTML 5 here sooner than we think?

2010-05-19 Thread Peter Becker
I think for some context this is right. We have started reducing IE6 support in our public facing applications (i.e. we ensure you get everywhere, but don't bother too much with getting the looks right). We have even added IE6 warnings on some of the more JavaScript heavy sites -- if you get

Re: [The Java Posse] Re: H.264 explainers

2010-05-17 Thread Peter Becker
On 18/05/10 05:36, Casper Bang wrote: I'm going to say one more really mean thing that will piss everyone off: when you have a community that has repeatedly made it clear that it is not willing to pay for stuff, and whose intellectual leadership rails against the concept of intellectual property

Re: [The Java Posse]

2010-05-17 Thread Peter Becker
I believe he was actually a very fond Mac user in his days, but I also think he would question Apple's current direction strongly. Peter On 17/05/10 23:21, Rakesh wrote: 42 - the gift that keeps on giving. I'm sure if Douglas was with us today he would have something pithy to say about

Re: [The Java Posse] Re: Stupid Error Messages

2010-05-13 Thread Peter Becker
On 13/05/10 17:37, Vince O'Sullivan wrote: On May 13, 7:58 am, Fabrizio Giudicifabrizio.giud...@tidalwave.it wrote: What about The phone number / credit card number must not contain spaces which I constantly find in checkout/etc pages? Which reminds me... ...yesterday I entered my

Re: [The Java Posse] Re: Flash demonstration on Android. Websites work, videos play, games run nicely. And Jobs said it couldn't be done.

2010-05-12 Thread Peter Becker
IIRC there was no notion of something like CSS when the web was invented and most of what is written down in the HTML and JavaScript related standards nowadays came out of proprietary extensions by Netscape and MS. A lot is still not sufficiently supported consistently across the main desktop

Re: [The Java Posse] Re: Friends of Linux?

2010-05-09 Thread Peter Becker
On 09/05/10 18:52, Eddie wrote: I have tried to use linux as a desktop and back out. It just seemed to me that everything that can be done w/ windows w/ a few clicks needed extreme effort to work around in linux. ie. All my friends uses msn messenger, then I would use pidgin, but then I can use

Re: [The Java Posse] Friends of Linux?

2010-05-08 Thread Peter Becker
On 09/05/10 05:27, Blanford wrote: I started trying to get people to use systems like Ubuntu for years with little success. We Linux people must resign ourselves to the fact that most American's simply cannot handle products that are not commercial. I'm not in America, my playing fields are

Re: [The Java Posse] Re: Seven Languages in Seven Weeks

2010-05-08 Thread Peter Becker
On 09/05/10 09:21, Wildam Martin wrote: [...] I shudder at the thought of mutability in some of this, the API effectively states that you can change May 5th to become September 22nd; Who cares? - Really: This is something, a professor at university may mutable have a philosophic

Re: [The Java Posse] Re: Objective C

2010-04-28 Thread Peter Becker
Can't resist. I've been using Linux as my main desktop OS for many years now, nowadays even my wife and daughter use it (and no: I did not force that, all their machines are dual-boot). At work I often have to use Windows and apart from performance issues I see lots of usability problems.

Re: [The Java Posse] Re: The 'Thoroughly Modern' Development Environment From Hell

2010-04-26 Thread Peter Becker
I consider it very common to have commit emails, often to dedicated mailing lists. My preferred solution is trac, which works with a number of VCS backends (including SVN, Mercurial and git): http://trac.edgewall.org/timeline That's not exactly email, but I like the RSS/web combo. And it

Re: [The Java Posse] Joe and my free market comments

2010-04-25 Thread Peter Becker
One thing I often notice is that people (and not just Americans) equate a free market with an unregulated market. But an unregulated market tends to monopolies, which probably don't fit most people's definition of free market (if they have any). I think politically a lot went wrong when the

Re: [The Java Posse] Re: The 'Thoroughly Modern' Development Environment From Hell

2010-04-24 Thread Peter Becker
On 24/04/10 21:30, Eric Jablow wrote: On Apr 23, 7:46 pm, Peter Beckerpeter.becker...@gmail.com wrote: But let's think more practical. Number one I would sell is the move from CVS to SVN. CVS is just too scary due to it's lack of atomic commits. The consistent revision number across the

Re: [The Java Posse] Re: The 'Thoroughly Modern' Development Environment From Hell

2010-04-24 Thread Peter Becker
...@gmail.com wrote: On Apr 23, 7:46 pm, Peter Becker peter.becker...@gmail.com mailto:peter.becker...@gmail.com wrote: But let's think more practical. Number one I would sell is the move from CVS to SVN. CVS is just too scary due to it's lack of atomic commits

Re: [The Java Posse] Re: The 'Thoroughly Modern' Development Environment From Hell

2010-04-24 Thread Peter Becker
. On Sat, Apr 24, 2010 at 2:30 PM, Eric Jablow erjab...@gmail.com mailto:erjab...@gmail.com wrote: On Apr 23, 7:46 pm, Peter Becker peter.becker...@gmail.com mailto:peter.becker...@gmail.com wrote: But let's think more practical. Number one I would sell

Re: [The Java Posse] The 'Thoroughly Modern' Development Environment From Hell

2010-04-23 Thread Peter Becker
From a personal perspective the first thing I'd fix is replacing XP with Ubuntu -- the lack of responsiveness and decent CLI tools tends to drive me crazy (no, Cygwin is not a proper UNIX environment). But let's think more practical. Number one I would sell is the move from CVS to SVN. CVS is

Re: [The Java Posse] Re: question about analog audio to digital conversion

2010-04-22 Thread Peter Becker
The problem is not just technical and affects all digital media, including the CD: http://en.wikipedia.org/wiki/Loudness_war The Wikipedia article mentions it even existed for vinyl releases when producers tried to make their music louder in jukeboxes. Considering that trend it does make

Re: [The Java Posse] Re: question about analog audio to digital conversion

2010-04-22 Thread Peter Becker
of the adverts and the resumption of the program (at least, here in the UK) On 22 April 2010 21:44, Peter Becker peter.becker.de http://peter.becker.de@gmail.com http://gmail.com wrote: The problem is not just technical and affects all digital media, including the CD: http://en.wikipedia.org

Re: [The Java Posse] Re: Zero-based vs. one-based indexing

2010-04-17 Thread Peter Becker
Reinier, On 18/04/10 07:37, Reinier Zwitserloot wrote: Fine, let's exclude 0 as a counting number. That wasn't my point though. Ignore it. *you* omitted the irrefutable point that in set theory there is such a thing as the empty set, and there's such a thing as a set's size, and thus 0 is

[The Java Posse] Zero-based vs. one-based indexing

2010-04-16 Thread Peter Becker
[was: a new programming language] I don't find either Reinier's or Dykstra's reasoning conclusive. First Reinier's points: RULE 1: Counting elements in a list is in the domain of the natural numbers. Therefore, if negative numbers are needed the solution is inferior. Traditionally zero is

Re: [The Java Posse] Software Patents

2010-04-08 Thread Peter Becker
On 09/04/10 08:13, Scott Melton wrote: Would you agree that patents and property rights greatly accelerate the rate of innovations, accelerating the growth of a free market economy? Not at all -- I claim the opposite and the jury is still out. Even proponents of patent law seem to

Re: [The Java Posse] Re: software patents

2010-04-07 Thread Peter Becker
On 07/04/10 19:13, Christian Catchpole wrote: Disclaimer: I once worked on a patient review board for a large corporation Somehow that typo amuses me in a sad way. Peter -- You received this message because you are subscribed to the Google Groups The Java Posse group. To post to this

Re: [The Java Posse] Re: Code Bubbles: A really weird new IDE. (Posse: Interview this guy!)

2010-03-16 Thread Peter Becker
I can see a working version of that scenario you describe, but I wonder how aspects like remote communication and concurrency will work. I think it is feasible, but it won't be easy to get a nice user experience. And then there is the question how much value you add. As a gimmick it is great,

Re: [The Java Posse] NY Times: How Apple vs Google happened

2010-03-15 Thread Peter Becker
GMail often doesn't show you your own mail if you post through IMAP. Most of the time, actually -- but not always. GMail is another walled garden -- it works well as long as you use the GMail interface, but the IMAP interface behaves weird in some regards and the fact that renaming an email

Re: [The Java Posse] Re: Code Bubbles: A really weird new IDE. (Posse: Interview this guy!)

2010-03-15 Thread Peter Becker
I can see this work on something like MS Surface, but also on a wall-mounted large multi-touch screen if we are talking the code review or mentoring scenarios. But I agree though touch interfaces are often overrated, in particular the multi-touch variation. They have their place, but they are

Re: [The Java Posse] Re: Code Bubbles: A really weird new IDE. (Posse: Interview this guy!)

2010-03-12 Thread Peter Becker
You can get 1920x1200 on 15 laptops ;-) My old 15 one is 1680x1050, which is quite enjoyable. I'll probably try the 1920 the next time round. Peter On 12/03/10 19:20, Fabrizio Giudici wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In short, to second others' opinion: -1 for

Re: [The Java Posse] Re: Code Bubbles: A really weird new IDE. (Posse: Interview this guy!)

2010-03-12 Thread Peter Becker
On 12/03/10 19:35, Fabrizio Giudici wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/12/10 10:30 , Peter Becker wrote: You can get 1920x1200 on 15 laptops ;-) I know, I've seen one years ago. Too bad Apple is so innovative to deliver only 1440x900 at 15 where 1680x1050

Re: [The Java Posse] Code Bubbles: A really weird new IDE. (Posse: Interview this guy!)

2010-03-11 Thread Peter Becker
I had the same impressions: it seems to wasteful for editing, but extremely useful for anything that is explorative. Discussions about code came to mind, the debugging use case they showed as well as the scenario where you have to sit down and grok code you haven't seen before.

Re: [The Java Posse] Code Bubbles: A really weird new IDE. (Posse: Interview this guy!)

2010-03-11 Thread Peter Becker
On 11/03/10 21:56, Jo Voordeckers wrote: On Thu, Mar 11, 2010 at 12:27 PM, Peter Becker peter.becker.de http://peter.becker.de@gmail.com http://gmail.com wrote: Did anyone else get the impression this is written in Swing? The code in the editors had plenty of JPanels over

Re: [The Java Posse] Re: Code Bubbles: A really weird new IDE. (Posse: Interview this guy!)

2010-03-11 Thread Peter Becker
On 11/03/10 22:21, Viktor Klang wrote: On Thu, Mar 11, 2010 at 1:19 PM, Casper Bang casper.b...@gmail.com mailto:casper.b...@gmail.com wrote: Did anyone else get the impression this is written in Swing? The code in the editors had plenty of JPanels over it and if these guys

Re: [The Java Posse] Re: Code Bubbles: A really weird new IDE. (Posse: Interview this guy!)

2010-03-11 Thread Peter Becker
The current generation of IDEs already supports this navigation approach, just not the visualization. I hardly ever go through the file hierachy to find a file to open, I use the shortcuts to open types or resources, I use the shortcut to go into a method that's called, I find all callers via

Re: [The Java Posse] Re: Code Bubbles: A really weird new IDE. (Posse: Interview this guy!)

2010-03-11 Thread Peter Becker
On 12/03/10 06:51, Viktor Klang wrote: On Thu, Mar 11, 2010 at 9:43 PM, Peter Becker peter.becker.de http://peter.becker.de@gmail.com http://gmail.com wrote: The current generation of IDEs already supports this navigation approach, just not the visualization. I hardly ever go

Re: [The Java Posse] Re: Code Bubbles: A really weird new IDE. (Posse: Interview this guy!)

2010-03-11 Thread Peter Becker
not entirely up to speed on the IDE state of the art). *From:* Peter Becker peter.becker...@gmail.com *To:* javaposse@googlegroups.com *Sent:* Thu, March 11, 2010 3:43:41 PM *Subject:* Re: [The Java Posse] Re: Code Bubbles: A really

Re: [The Java Posse] Re: Is there something like Google Code or SourceForge that we can install on a corporate intranet?

2010-03-09 Thread Peter Becker
On 09/03/10 21:45, Karsten Silz wrote: On 9 Mrz., 00:11, Peter Beckerpeter.becker...@gmail.com wrote: There are other commercial offerings such as the Atlassian tools which are loved by many (http://www.atlassian.com/). I've got not too much experience with those, but that little bit

Re: [The Java Posse] Re: Is there something like Google Code or SourceForge that we can install on a corporate intranet?

2010-03-08 Thread Peter Becker
I second that. We use trac a lot and while it has its limitations, it makes up for it by being extremely accessible. There is also a number of plugins to tailor it to specific needs. It can use a variety of versioning systems and Mylyn has integration for trac tickets. One major limitation we

Re: [The Java Posse] Re: The TURBO button

2010-02-16 Thread Peter Becker
The first time I encountered turbo buttons was in IBM ATs (or compatible), where they reduced the CPU speed to roughly that of an IBM XT. Otherwise older programs would run way too fast. Once the PCs left the binary area (XT or AT), the button got a bit useless -- programs had learned to use

Re: [The Java Posse] Re: Apple's purity approach

2010-02-04 Thread Peter Becker
The days when soft scrolling was an impressive feat. But working with some guys who started with punch cards and soldering irons I don't try to pull the been here for long card anymore :-) One day I might go to Warpstock, though -- after all that is still an annual conference, so OS/2 just

Re: [The Java Posse] Money Managers

2010-01-03 Thread Peter Becker
I never really got out of the research stage, but KMyMoney and jgnash seemed decent contenders in the OSS world. http://kmymoney2.sourceforge.net/index-home.html http://sourceforge.net/apps/mediawiki/jgnash/index.php?title=Main_Page The OpenDirectory has a lot of links to offer:

Re: [The Java Posse] Re: Hat colours

2009-12-19 Thread Peter Becker
John Stager wrote: I love the fact that this discussion uses the correct spelling of colours :) On Dec 11, 4:00 am, Peter Becker peter.becker...@gmail.com wrote: And then a dinosaur comes and forces you to swap the green skivvy for a blue one. Such is life. Peter Christian Catchpole

Re: [The Java Posse] Re: Hat colours

2009-12-11 Thread Peter Becker
And then a dinosaur comes and forces you to swap the green skivvy for a blue one. Such is life. Peter Christian Catchpole wrote: I wonder if the wiggles have the same issues. I heard their colour choices were down to who got to the skivvy shop the quickest. On Dec 10, 10:44 am, Joe

Re: [The Java Posse] Re: No more SOA for NetBeans?

2009-12-11 Thread Peter Becker
Brian Leathem wrote: On 10/12/09 8:10 PM, Reinier Zwitserloot wrote: I always thought Service-Oriented-Architecture was a a devteam take-a- break bullshit word. You know, something you tell the brass so they get off your back for a month or two, giving the team time to spend some much

Re: [The Java Posse] Mercurial strangeness

2009-11-24 Thread Peter Becker
Phil wrote: I have a Mercurial repository on my laptop which I clone locally to make code changes, these changes are committed locally and periodically groups of changes are pushed back into the 'master' repository. This works well. Last night I set up a new clone of the repository on a NAS

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

2009-11-14 Thread Peter Becker
Brian Leathem wrote: On Nov 13, 8:38 am, Kevin Wright kev.lee.wri...@googlemail.com wrote: On Fri, Nov 13, 2009 at 4:34 PM, Alexey inline_f...@yahoo.com wrote: Otherwise, doesn't seem too difficult to write your own such method, no? It is indeed trivial to write my own

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

2009-11-14 Thread Peter Becker
(candidates.length 0); double knownMaxValue = Double.MIN_VALUE; for(double candidate : candidates) if(candidate knownMaxValue) knownMaxValue = candidate; return knownMaxValue; } /Casper On Nov 14, 10:57 pm, Peter Becker peter.becker...@gmail.com wrote: Brian

[The Java Posse] Re: Promoting artifacts

2009-11-10 Thread Peter Becker
I keep thinking what we need are Maven distributions. Or at least one of them. The big feature distributions add to the Linux world is that they do QA and select packages that work together. No one does this in the Maven world -- at least not that I am aware of. I don't think it is a

[The Java Posse] Re: Promoting artifacts

2009-11-10 Thread Peter Becker
suite confidence could rise. But I guess I'm preaching to the choir :-) Peter On Tue, Nov 10, 2009 at 1:01 PM, Peter Becker peter.becker.de http://peter.becker.de@gmail.com http://gmail.com wrote: I keep thinking what we need are Maven distributions. Or at least one of them

[The Java Posse] Re: Upgrade to (K)Ubuntu 9.10 anyone ?

2009-10-30 Thread Peter Becker
Casper Bang wrote: Peter: Any experiences with the new EC2 support of the server version? Sorry, no. I just used it to evaluate another product -- it seemed a good excuse to try the 9.10 server. Peter --~--~-~--~~~---~--~~ You received this message

[The Java Posse] Re: Upgrade to (K)Ubuntu 9.10 anyone ?

2009-10-29 Thread Peter Becker
Jan Goyvaerts wrote: Did somebody in here already did the upgrade to (k)ubuntu 9.10 ? I thought it better to ask before asking my machine to commit suicide. :-) I started with alpha 6 at home, with the beta at work (both Kubuntu). Two issues I had: 1) half of the dialog buttons in Eclipse

[The Java Posse] Re: Upgrade to (K)Ubuntu 9.10 anyone ?

2009-10-29 Thread Peter Becker
Jan Goyvaerts wrote: Did somebody in here already did the upgrade to (k)ubuntu 9.10 ? I thought it better to ask before asking my machine to commit suicide. :-) I started with alpha 6 at home, with the beta at work (both Kubuntu). Two issues I had: 1) half of the dialog buttons in Eclipse

[The Java Posse] Re: A case for catch Throwable

2009-10-20 Thread Peter Becker
Kevin Wong wrote: Perhaps some code would help. Here's the stripped down version: public class AbstractFoo { private ListThing thingsToProcess; public void setThingsToProcess(ListThing things) { this.thingsToProcess = things; } protected void processThing(Thing

[The Java Posse] Re: Huge! IntelliJ IDEA Goes Open Source

2009-10-16 Thread Peter Becker
But are they giving away their hard work out of altruism or market necessity? Somehow the choice of proprietary features seems to indicate the latter. But good on them -- even if I think that NetBeans and Eclipse had more impact in open sourcing IntelliJ IDEA than anyone at Jetbrains. I'd

[The Java Posse] Re: JavaFX - oddities in the language? Week 2.

2009-09-10 Thread Peter Becker
Jess Holle wrote: Peter Becker wrote: I have heard of (and from) many people involved in the development of relational databases and/or the SQL standard who regret the introduction of NULL. Codd wanted it replaced with two distinct values, Date called them a disaster. IIRC Jim Melton had

[The Java Posse] Re: JavaFX - oddities in the language? Week 2.

2009-09-10 Thread Peter Becker
I think the best way to indent is to have the braces on separate lines and indentation levels and then put semicolons after the tabs to make the indentation level more visible: for (int y = 0; y lines; y++) { ;for (int x = 0; x columns; x++) ;{ ;;sum +=

[The Java Posse] Re: JavaFX - oddities in the language? Week 2.

2009-09-10 Thread Peter Becker
And it alls starts with the language specs still being written at the abstraction level of a concrete syntax. Chapter 1: Tokenization. Peter Joshua Marinacci wrote: RANT! Why, in the 21st century, are we still writing code with ascii symbols in text editors, and worried about the exact

[The Java Posse] Re: JavaFX - oddities in the language? Week 2.

2009-09-09 Thread Peter Becker
I have heard of (and from) many people involved in the development of relational databases and/or the SQL standard who regret the introduction of NULL. Codd wanted it replaced with two distinct values, Date called them a disaster. IIRC Jim Melton had some negative comments, too:

Re: Optimizations? was Re: [The Java Posse] A quick and dirty way to throw unchecked exceptions

2009-08-28 Thread Peter Becker
three) It can collapse one two, then the third because they are all constant. ((getOne() + two ) + three) the first collapse produces something unpredictable. On Aug 27, 7:43 am, Peter Becker peter.becker...@gmail.com wrote: Alexey Zinger wrote: There are quite a few

Re: Optimizations? was Re: [The Java Posse] A quick and dirty way to throw unchecked exceptions

2009-08-27 Thread Peter Becker
Alexey Zinger wrote: There are quite a few optimizations with strings, for sure. Such as replacing concatenation using + operator with StringBuilder and concatenation of literals with a single literal (*). There's an interesting exception to that rule. The following will work as

Re: Optimizations? was Re: [The Java Posse] A quick and dirty way to throw unchecked exceptions

2009-08-27 Thread Peter Becker
) == (one two three) It can collapse one two, then the third because they are all constant. ((getOne() + two ) + three) the first collapse produces something unpredictable. On Aug 27, 7:43 am, Peter Becker peter.becker...@gmail.com wrote: Alexey Zinger wrote: There are quite a few

Re: Optimizations? was Re: [The Java Posse] A quick and dirty way to throw unchecked exceptions

2009-08-27 Thread Peter Becker
:) I thought the original question was why getOne() + two + three doesnt become getOne() + two three even if it was getTotallyRandom() + two three On Aug 27, 9:07 pm, Peter Becker peter.becker...@gmail.com wrote: I did miss the point (or in fact the little word not). I think

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

2009-08-24 Thread Peter Becker
Martin Wildam wrote: [...] Maybe we should look at error handling from different point of views. First, there is the very normal dummy user who don't have a clue on what is there running in the background. Second there is a system administrator who - if something goes wrong - could see

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

2009-08-22 Thread Peter Becker
implementations so far suck far worse than they help. I remain convinced that java's checked exception system with an explicit command to get around the checked exception system is the most practical (though it is of course not the most elegant). On Aug 21, 11:43 am, Peter Becker peter.becker...@gmail.com

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

2009-08-22 Thread Peter Becker
because it is so closely related to implementation details. Joel was dead wrong. On Aug 21, 3:40 pm, Martin Wildam mwil...@gmail.com wrote: On Aug 21, 2:07 pm, Peter Becker peter.becker...@gmail.com wrote: I take the point that it is possible to make code harder to read using

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

2009-08-22 Thread Peter Becker
Martin Wildam wrote: On Aug 22, 7:23 am, Peter Becker peter.becker...@gmail.com wrote: While I'm still arguing for checked exceptions, I'm not 100% convinced their good yet either. But nearly every argument I see why they are bad is about how they are used badly, with the conclusion

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

2009-08-22 Thread Peter Becker
Casper Bang wrote: On 23 Aug., 01:25, Peter Becker peter.becker...@gmail.com wrote: Someone should probably write a nice book talking only about error handling, the different ways to propagate errors (special return values, checked exceptions, unchecked exceptions, union types

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

2009-08-21 Thread Peter Becker
I still kind-of like listening to Joel and Jeff. Both make me cringe at times, but I like their attitude towards product design and I think Joel has quite some insight into the marketing/business side of software. But I don't think I'd want either as the chief architect of some enterprise

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

2009-08-21 Thread Peter Becker
Number one clearly does not apply to checked exceptions, number two applies to returning values, too. Of course you could assign a value and follow the approach of having a single return statement at the end, but I never understood why the resulting code should be any easier. Peter Martin

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

2009-08-21 Thread Peter Becker
that wraps a Safe InputStream and does not throw IOException, and one that wraps an unsafe InputStream and does throw IOException. On Aug 20, 9:36 am, Peter Becker peter.becker...@gmail.com wrote: Here you go (three files): = test/Unsafe.java== package test; import

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

2009-08-21 Thread Peter Becker
, 11:33 am, Peter Becker peter.becker...@gmail.com wrote: Number one clearly does not apply to checked exceptions, number two applies to returning values, too. Of course you could assign a value and follow the approach of having a single return statement at the end, but I never understood why

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

2009-08-21 Thread Peter Becker
Martin Wildam wrote: On Aug 21, 2:07 pm, Peter Becker peter.becker...@gmail.com wrote: I take the point that it is possible to make code harder to read using exceptions in a way that is not possible without. I must admit I didn't really think it through when I read Joel's blog post

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

2009-08-21 Thread Peter Becker
B Smith-Mannschott wrote: [...] Some have argued that there's nothing wrong with checked exceptions, per se, it's just that people don't use them right. This is akin to acknowledging that every attempt to practice communism on a national level has lead to a repressive police state, and yet

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

2009-08-20 Thread Peter Becker
Ben Schulz wrote: The one trick is to realize that the safe version is actually the more specific one. If you think of the exception in terms of the type union (not accurate, but a decent analogy), then Unsafe.method() returns void|IOException while Safe.method() returns void, which is a more

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

2009-08-19 Thread Peter Becker
manageable to me -- both for the compiler and the human reader. Does anyone know reasons why no language seems to have this feature? Peter James Iry wrote: On Tue, Aug 18, 2009 at 3:13 AM, Peter Becker peter.becker.de http://peter.becker.de@gmail.com http://gmail.com wrote: What I

  1   2   3   >