Re: [The Java Posse] Re: Bruce Eckel's blog; first paedagogic Scala intro I've seen

2011-06-13 Thread Marcelo Fukushima
Where i work, we dont use final on arguments but have checkstyle rules against reassigning method arguments On Jun 13, 2011 5:57 PM, "Josh Berry" wrote: > 2011/6/13 Cédric Beust ♔ : >> My argument is that I can hardly remember last time I was bitten by a bug >> because I reassigned a variable wron

Re: [The Java Posse] Re: Android Market in-app payments: just as bad?

2011-03-02 Thread Marcelo Fukushima
and how does corporate private softwares work? such as front-end's to your own custom webservice / whatnot? do you still have to take the itunes route? On Wed, Mar 2, 2011 at 11:30 AM, Karsten Silz wrote: > On Mar 2, 12:19 pm, Reinier Zwitserloot wrote: > > You enter your iPhone's unique ID to p

javaposse@googlegroups.com

2011-02-22 Thread Marcelo Fukushima
Does swt look native though? eclipse certainly doesnt look native to me (but i guess its not as weird as swing) 2011/2/22 Cédric Beust ♔ > > > On Tue, Feb 22, 2011 at 11:37 AM, Jan Goyvaerts wrote: > >> Hi there ! >> >> >> Is there anyone in here who has experience with Java look & feel which >>

Re: [The Java Posse] Re: 64bit JDK on Windoze?

2011-02-11 Thread Marcelo Fukushima
ive been running a big-ish webapp (both in development and production) on a 64bit JVM for about a month and have not noticed such dramatic performance drop. But them again, im not running windows nor using compressedOOPs - maybe its one of those? On Fri, Feb 11, 2011 at 2:21 PM, Sean Comerford wro

Re: [The Java Posse] Programming Language Popularity

2010-12-10 Thread Marcelo Fukushima
one of the axis was stackoverflow and the other is from github. The point was to see if theres a correlation between both - witch seens to exist 2010/12/10 Cédric Beust ♔ > My bad, I should have read the description of the graph in more details. > > I think that using github for popularity is wr

Re: [The Java Posse] Re: James Gosling on Apple, Apache, Google, Oracle and the Future of Java

2010-12-06 Thread Marcelo Fukushima
i wonder if that would make ruby and the like more or less popular On Sun, Dec 5, 2010 at 11:54 AM, Reinier Zwitserloot wrote: > A separate reply to Cedric's very interesting question of: Which > language would have succeeded if java hadn't. > > At first I'm fairly sure C would have kept most of

Re: [The Java Posse] Re: is the iPhone Development Environment Superior to Android's?

2010-11-23 Thread Marcelo Fukushima
im not sure about today, but back when i used Visual Studio 05, eclipse (i think it was 3.0) felt faster (mainly due to compile on save) and also more feature rich. Lastly, it could be my imagination, but having VS installed made my machine slow as a whole (my collegue said it was because of the de

Re: [The Java Posse] Re: ScalaDBTest 0.1

2010-10-27 Thread Marcelo Fukushima
i guess one could count the ability to create test cases without extending TestCase could count as a positive thing On Wed, Oct 27, 2010 at 8:55 AM, Mark Volkmann wrote: > That reminds me of JUnit 4. Supposedly the @Test annotation is a good > thing. I don't see how the ability to create test met

Re: [The Java Posse] Re: JavaPosse #324

2010-09-30 Thread Marcelo Fukushima
wow now I so wish i was there... On Thu, Sep 30, 2010 at 6:04 PM, Richard Fearn wrote: > > Epic episode. Probably the funniest one since the chipmunks. Great > > concept! Yes, when will the video be available and where? > > It's now available: > > http://medianetwork.oracle.com/media/show/15810

Re: [The Java Posse] Facebook rumored to fork Android?

2010-09-21 Thread Marcelo Fukushima
i think they could join OHA (which is not owned by google) and have a properly licensed android phone with market access and all its goodness as long as they obey the specs. And if they do that, i cant see how google could/would block them 2010/9/21 Fabrizio Giudici > On 9/20/10 16:24 , Cédric

Re: [The Java Posse] Facebook rumored to fork Android?

2010-09-20 Thread Marcelo Fukushima
ive heard of the archos tablets and some chinese knock offs 2010/9/20 Fabrizio Giudici > On 9/20/10 13:53 , Cédric Beust ♔ wrote: > >> There are already dozens of manufacturers/third parties/carriers that >> forked Android and shipped products with it without ever notif

Re: [The Java Posse] Facebook rumored to fork Android?

2010-09-20 Thread Marcelo Fukushima
i think those forks do not have (offical) access to the market (and the other google apps) so its less of an issue On Mon, Sep 20, 2010 at 6:24 PM, Robert Casto wrote: > Well, I'm sure Google doesn't like their own stuff being used against them. > They are trying to be too nice perhaps letting an

Re: [The Java Posse] Re: JavaFX script to be dropped, JavaFX 2.0 will be an API on the JVM, usable from Java

2010-09-20 Thread Marcelo Fukushima
On Mon, Sep 20, 2010 at 5:49 PM, Cédric Beust ♔ wrote: > > > On Mon, Sep 20, 2010 at 1:39 PM, Jess Holle wrote: > >> Well if they give JavaFX a *really* nice Java API so one can use it from >> Java as easily as Swing, then there's nothing more compelling about SWT due >> to this announcement. >

Re: [The Java Posse] Re: A few reactions to the latest episode (Oracle vs Google)

2010-09-07 Thread Marcelo Fukushima
2010/9/7 Cédric Beust ♔ > > > On Tue, Sep 7, 2010 at 1:10 AM, Miroslav Pokorny < > miroslav.poko...@gmail.com> wrote: > >> Im not sure if its business or an American thing but it seems you forget >> to about being human which is sometimes mostly about doing the right thing >> regardless of what

Re: [The Java Posse] Re: flash on android

2010-09-01 Thread Marcelo Fukushima
the only problem i see with flash on my nexus is that most flash apps / sites are not prepared for a non mouse interaction - they expect hover and whatnot. That is also true for some pure html sites too, but to a lesser extent - or at least that is my perception. On Wed, Sep 1, 2010 at 11:48 AM, J

Re: [The Java Posse] cancelled javaone sessions...

2010-08-27 Thread Marcelo Fukushima
Im not sure its related, but i just read this: http://googlecode.blogspot.com/2010/08/update-on-javaone.html on which Josh Bloch says Google is not going to present on JavaOne On Sat, Aug 21, 2010 at 12:11 PM, B Smith-Mannschott wrote: > Hi all, > > I just ran across this post: > > http://www.j

Re: [The Java Posse] When corporates blatantly lie

2010-08-20 Thread Marcelo Fukushima
I think the droid 2 hardware cannot turn into ap mode due to a driver issue from the manufacturer - the existing tethering softwares use ad-hoc connecions instead. Or at least thats what i read somewhere. On Aug 20, 2010 4:49 AM, "Fabrizio Giudici" wrote: > > -BEGIN PGP SIGNED MESSAGE- >

Re: [The Java Posse] News from Oracle.

2010-08-17 Thread Marcelo Fukushima
The microsoft case was a bit different. They implemented their own incompatible version of java claiming it was java. Google never called android java - not to consumers nor developers. On Aug 17, 2010 11:28 PM, "Sean Comerford" wrote: The big thing I keep seeing in all this "concern about Oracle

Re: [The Java Posse] Re: What could Oracle possibly be scheming?

2010-08-14 Thread Marcelo Fukushima
Technically android uses java/jvm bytecode to generate dex On Aug 14, 2010 8:49 PM, "Christian Catchpole" wrote: Well, they aren't arguing trademark issues. They are arguing patents. Compare the situation to the patent holders of MPEG codecs. They don't want or encourage anyone to implement of

Re: [The Java Posse] Re: Can somebody in the world explain me how search in the Android Market works?

2010-07-09 Thread Marcelo Fukushima
For what its worth, fabricio i can find your app searching for bird watching. It could be just a temporary glitch in the market. On Jul 8, 2010 2:33 PM, "Eurig Jones" wrote: > I dont think truly anyone knows for sure :-/ > > I'm just polishing off my latest app and will be releasing it in the > c

Re: [The Java Posse] Java on 64-bit Windows 7

2010-07-08 Thread Marcelo Fukushima
it also eats up more memory On Thu, Jul 8, 2010 at 6:29 PM, Wildam Martin wrote: > On Thu, Jul 8, 2010 at 20:10, rhythmchicago > wrote: > > Hi. Looking for feedback. Anybody here see any issues or performance > > drop running a Java app on 64-bit windows 7 vs. running it on a 32-bit > > system?

Re: [The Java Posse] Re: Delay on AVD

2010-07-06 Thread Marcelo Fukushima
the emulator on windows is much slower than the linux version (dont know why), but running on the device is much much faster and yes you have to redeploy for every change you make (both on the emulator and the device) On Tue, Jul 6, 2010 at 2:07 PM, jahid wrote: > Thanks guys. But once my code b

Re: [The Java Posse] Is it legal to provide the same android application to multiple stores?

2010-07-03 Thread Marcelo Fukushima
Yes its legal as far as the android market is concerned - its in the FAQ On Jul 3, 2010 5:15 AM, "Fabrizio Giudici" wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I'm thinking of publishing my app to SlideME and a couple of further > indipendent stores, in addition to the Android Ma

Re: [The Java Posse] Subliminal messages...

2010-06-28 Thread Marcelo Fukushima
To be fair, both netbeans and intellij have an eclipse shortcut profile so you dont have to learn much shortcuts On Jun 28, 2010 8:29 PM, "Moandji Ezana" wrote: On Mon, Jun 28, 2010 at 11:46 PM, Jess Holle wrote: > > I do happen to use NetBeans,... Learning a new programming language or framewo

Re: [The Java Posse] Re: Emigration and the UK Budget.

2010-06-20 Thread Marcelo Fukushima
While brazilian economy is not blooming, we were largely unnafected by the so called worls crysis. The main problem that youd have is that everything tech related is so expensive that its not even funny. For comparison, if you want an iPhone 3gs it costs around US$1300 with a voice and data plan (l

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

2010-06-17 Thread Marcelo Fukushima
On Thu, Jun 17, 2010 at 7:31 PM, Peter Becker wrote: > On 18/06/10 01:22, Marcelo Fukushima wrote: > > > > On Wed, Jun 16, 2010 at 6:42 PM, Peter Becker > wrote: > >> For me the big problem with Solaris (Open or not) is the lack of decent >> package management

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

2010-06-17 Thread Marcelo Fukushima
On Wed, Jun 16, 2010 at 6:42 PM, Peter Becker wrote: > 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

Re: [The Java Posse] Not only Java

2010-06-16 Thread Marcelo Fukushima
ive been using it as my main development OS and its been great. Cant move away from ZFS and all the goodness it provides (like BE's) and java runs great on it (it seens to uses far less memory when compared to linux) Dtrace is also nice, but i did not have the chance to quite use it yet (or rather,

Re: [The Java Posse] Re: Android - the "American Nokia" of smartphones?

2010-05-26 Thread Marcelo Fukushima
that reminds me of a funny thing that happened with a major newspaper here on brazil: its main page had a link to an iPad version that would open the flash version of the page it was taken down after a couple of days (it lasted a bit because the iPad is not officially here yet) On Wed, May 26, 201

Re: [The Java Posse] Re: Not all good news for Android

2010-05-18 Thread Marcelo Fukushima
In Brasil we pay that for a 250mb data plan on top of voice. And the least you can pay for, say an iphone 3gs, is USD350 with a voice + data plan that costs around USD300 per month On May 18, 2010 4:47 AM, "Moandji Ezana" wrote: On Tue, May 18, 2010 at 4:37 AM, Reinier Zwitserloot wrote: >

Re: [The Java Posse] JavaFX script language syntax for Android?

2010-05-15 Thread Marcelo Fukushima
i think technically, since javafx generates regular bytecode, you could write a javafx app and DEX it to android, but youd have to include javafx runtime as well On Sat, May 15, 2010 at 4:31 PM, RogerV wrote: > Question: > > Will the JavaFX language be integrated as a choice for programming > na

Re: [The Java Posse] JPA Column question

2010-05-12 Thread Marcelo Fukushima
theres a way to change the default naming scheme that hibernate uses to generate column and table names with a class thats called NamingStrategy (or something very similar) On Wed, May 12, 2010 at 9:04 PM, Sean wrote: > Dumb JPA question that I can't Google up the answer for... figuring > someon

Re: [The Java Posse] Immutability in hybrid languages

2010-04-29 Thread Marcelo Fukushima
i wouldnt even go as far as multi threaded programs. imagine you have a Date and pass to a method that you dont have the source (say a proprietary library) api.doSomethingWithIt(date, arg, etc) how can i know that the method didnt change the Date (since its mutable)? Id have to clone the Date bef

Re: [The Java Posse] Re: is there anything i should know about switching to the 64 bit jvm?

2010-04-28 Thread Marcelo Fukushima
I think that option requires at least java6 update 14 On Apr 28, 2010 9:16 PM, "Reinier Zwitserloot" wrote: In my admittedly limited experience, 64-bit JVMs eat way more memory and are barely faster, often slower. Something that did help quite a bit is the hybrid mode: Operations and pointers et

Re: [The Java Posse] Re: is there anything i should know about switching to the 64 bit jvm?

2010-04-28 Thread Marcelo Fukushima
just know that by default, the 64bit jvm eats its memory faster... our integration tests would throw OOME on 64bit jvms, but not with 32bits (with Xmx set to 512m i think) On Wed, Apr 28, 2010 at 11:59 AM, Karsten Silz wrote: > On Apr 28, 4:15 pm, scphantm wrote: > > is there anything i should k

Re: [The Java Posse] SWT Bashing. can we give it a rest

2010-04-10 Thread Marcelo Fukushima
Ive had and still have this problem too but im using opensolaris which uses gtk too. Ive since gave up on the issue. On Apr 10, 2010 9:39 AM, "Graham Allan" wrote: >I, for one, am glad that Dick brought up the issue. I'd been having an >odd problem where having ec... I have had this problem both

Re: [The Java Posse] Apple forbids for the iPhone even tools that auto-generate ObjC

2010-04-09 Thread Marcelo Fukushima
if the future is comprised of iPads and iPhones, will the javaposse change to objective C posse? or maybe javascript posse? On Fri, Apr 9, 2010 at 2:59 PM, Viktor Klang wrote: > So how do you determine the source of the source? > > > On Fri, Apr 9, 2010 at 6:27 PM, Fabrizio Giudici < > fabrizio.

[The Java Posse] is google pulling its censorship in china?

2010-03-18 Thread Marcelo Fukushima
from tomshardware: http://www.tomshardware.com/news/google-china-censorship-google.cn-chinese,9914.html -- http://mapsdev.blogspot.com/ Marcelo Takeshi Fukushima -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send em

Re: [The Java Posse] Re: Evil(?) Apple suing HTC

2010-03-07 Thread Marcelo Fukushima
and filled in 2002 thats a lol moment for ya On Sun, Mar 7, 2010 at 10:37 AM, Casper Bang wrote: > > Side note - you can't patent algorithms, only implementations of > > algorithms. > > And how about this pathetic patent: > > http://www.google.com/patents?id=Szh4EBAJ&printsec=abstract&zoom=4

Re: [The Java Posse] Re: IT policies of large corporations - what is normal?

2010-03-01 Thread Marcelo Fukushima
but should devs have privileges over non devs? id be a little upset with that. Where i work, there are some restricted URL's, but devs are free to install whatever OS - but we have to manage them on our own. Those who install windows have to be in the domain and install AV (and causes build time to

Re: [The Java Posse] Recommendations on cross-platform external drives?

2010-02-19 Thread Marcelo Fukushima
im considering buying the wd's mybook. There are even some models with network On Fri, Feb 19, 2010 at 1:31 PM, Matt Stine wrote: > All, > > Can anyone recommend a good external drive (preferably USB, >= 1 TB) > that will play nicely across Windows, Mac, and Linux machines? I > figured with the

Re: [The Java Posse] Re: The iPhone, Open Systems, and Leaving Sun

2010-02-11 Thread Marcelo Fukushima
UPDATE: Engadget is reporting that the production lines are being temporarily shut down in observance of the Chinese New Year. Im guessing neither? On Thu, Feb 11, 2010 at 6:34 PM, CKoerner wrote: > > A good sign or bad sign? > > > http://www.boygeniusreport.com/2010/02/11/palm-orders-halt-on-p

Re: [The Java Posse] Tracking code changes by devs

2010-01-30 Thread Marcelo Fukushima
we use a combination of peer review (no code gets commited without a revisor: ) and tag each commit with its associated JIRA issue (just puttin the issue name in the commit comment). That way, with the JIRA plugin, we can see for each funcionality associated commits, etc etc on a (unrelated) note

Re: [The Java Posse] How do we like the Nexus One?

2010-01-15 Thread Marcelo Fukushima
im seriously considering buying one, but the problem is that i cant access (yet?) the android market from brazil (the apple app store is severely limited as well) is it worth it just for the hardware? (the 1ghz processor is really impressive) On Fri, Jan 15, 2010 at 1:00 PM, Casper Bang wrote: >

Re: [The Java Posse] Re: Joe's R/C Copter

2010-01-12 Thread Marcelo Fukushima
and, you know, possibly kill yourself On Tue, Jan 12, 2010 at 6:44 PM, Kevin Wright wrote: > Besides the cost? > > 2010/1/12 Lenny P >> >> Why not fly a real helicopter?  It's a lot of fun and a rewarding >> accomplishment. >> >> On Jan 6, 3:53 am, Phil wrote: >> > I have something similar to w

Re: [The Java Posse] How are people solving automated releasing/deployment

2009-12-17 Thread Marcelo Fukushima
where i work we use maven and its release plugin for the swing apps and the webapps we recently switched to using hudson for the release just because its very easy. For the release notes, we sync the versions with the JIRA versions and generate the release notes from there (but the business guys of

Re: [The Java Posse] generic data types

2009-11-25 Thread Marcelo Fukushima
rear is an int and in your metho you declare it to throw T On Thu, Nov 26, 2009 at 1:27 AM, Euvin wrote: > I am getting an error message in T last method. It has something to do > with generic types and incompatability. > Could someone explain what I am doing wrong? > > > import java.util.Iterato

Re: [The Java Posse] Developer or Programmer?

2009-11-24 Thread Marcelo Fukushima
thats how i learned recursion - by first, learning recursion but thats an old one i guess (it still brings me a smile though) On Tue, Nov 24, 2009 at 6:34 AM, Viktor Klang wrote: > > > On Tue, Nov 24, 2009 at 8:35 AM, Lorenzo Dini wrote: >> >>> This puts a Developer in a little bit higher posit

[The Java Posse] Re: Java thread scheduling bug

2009-11-03 Thread Marcelo Fukushima
wrote: > > Then maybe the spec is where the flaw is... > > Sent from my iPhone > > On Nov 3, 2009, at 10:45 AM, Marcelo Fukushima > wrote: > >> >> i guess what reinier was trying to say was that your code (as far as >> vm spec goes) was broken f

Re: [Fwd: Re: [The Java Posse] Re: Java thread scheduling bug]

2009-11-03 Thread Marcelo Fukushima
On Tue, Nov 3, 2009 at 7:11 PM, kirk wrote: > > > > Marcelo Fukushima wrote: >> i should probably write in a better way (i guess i cant write in >> english as well as i can read) >> >> what i meant was that os thread could potentially behave like how j

[The Java Posse] Re: Java thread scheduling bug

2009-11-03 Thread Marcelo Fukushima
i guess what reinier was trying to say was that your code (as far as vm spec goes) was broken from the start and (again, from the vm spec perspective) lucky timing and scheduling just made it work correctly On Tue, Nov 3, 2009 at 3:26 PM, Brent wrote: > > I just don't think that it's a good idea

[The Java Posse] Re: Java thread scheduling bug

2009-11-03 Thread Marcelo Fukushima
s (in that small example, inside the doSomething method). But that is just a guess, not having even ran the code. On Tue, Nov 3, 2009 at 6:27 PM, kirk wrote: > > Marcelo Fukushima wrote: >> well one could argue that, though im not sure if native threads have >> such guarantee - in

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

2009-10-29 Thread Marcelo Fukushima
ive been running it since alpha 6 or so. It boots a lot faster and everything worked quite well (except ocasionally i was getting 404 for the package updates, which is expected for an alpha version) On Thu, Oct 29, 2009 at 2:59 PM, Jan Goyvaerts wrote: > Did somebody in here already did the upgr

[The Java Posse] Re: Netbeans 6.8 beta

2009-10-23 Thread Marcelo Fukushima
ネットベアンズ 6.8 beta 新発売 (im actually brazilian, but know a bit of japanese) On Fri, Oct 23, 2009 at 7:55 PM, Tor Norbye wrote: > > println("\u004E\u0065\u0074\u0042\u0065\u0061\u006E > \u0073\u0020\u0036\u002E > \u0038\u0020\u0062\u0065\u0074\u0061\u0020\u0068\u0061\u0073\u0020\u0062\u0065\u0065\u

[The Java Posse] Re: Other Side of the Coin

2009-10-23 Thread Marcelo Fukushima
there are some disagreements but im pretty sure 90% is an overexageration the "other side", however, tend to be very vocal On Thu, Oct 22, 2009 at 10:52 PM, Michael Neale wrote: > > I am not sure they could interview 90% of developers out there, but I > think all the posse members are of that o

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

2009-10-20 Thread Marcelo Fukushima
i think what alex was trying to say was that, in this case, wouldnt you want to differentiate between an error that is due to a bad data input (say validation error of some sort) and a NPE due to, say, thingsToProcess being null? On Tue, Oct 20, 2009 at 4:17 PM, Kevin Wong wrote: > > Perhaps som

[The Java Posse] Re: The Top 3 Java based web frameworks

2009-09-28 Thread Marcelo Fukushima
not sure about component market, but wicket does a pretty good job at packaging reusable components - even entire pages On Mon, Sep 28, 2009 at 8:58 PM, Ruben Reusser wrote: > how so? Last time I checked it was pretty hard to make a GWT app look good > (unless you go with GWTEXT and that one use

[The Java Posse] Re: Problems with continuous performance testing, solutions anyone?

2009-09-15 Thread Marcelo Fukushima
where i work, we use an isolated (non virtual) hudson for performance test. its an old machine, but we're only interested on relative times (each run takes around 6 times). you might want to virtualize the os's and use hudson locks. On 9/16/09, Patrick wrote: > > You might take a look at Japex,

[The Java Posse] Re: JVM garbage collection

2009-09-15 Thread Marcelo Fukushima
there's a jvm argument that makes it dump the heap on OOME. i use that as a starting point and either jhat or visualvm to analyze it... On 9/16/09, kirk wrote: > > kittu wrote: >> Hi >> >> I facing the problem of out of memory and fatal shutdown of the >> device, in the logs i not able to find a

[The Java Posse] Re: Quicksort large amount of data

2009-09-04 Thread Marcelo Fukushima
just dont forget that a RadixTree is O(L) on the length of the strings upon lookup, while a Set is O(1) on average (worse the more collisions you have) since a string's hashCode is stored as an instance field. But since they're lazily calculated, for brand new strings, lookup time on a Set is O(N)

[The Java Posse] Re: Java officially lags C

2009-09-01 Thread Marcelo Fukushima
for local variables, javac actually does almost nothin:it only frees that local variable slot for a future local variable theres a nice puzzle about that in the java specialists newsletter: http://www.javaspecialists.eu/archive/Issue173.html of course youre not suppose to know its about local va

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

2009-08-26 Thread Marcelo Fukushima
ed into > getOne() + "two three" > > Sorry if this was off-topic. > > Alexey > 2001 Honda CBR600F4i (CCS) > 1992 Kawasaki EX500 > http://azinger.blogspot.com > http://bsheet.sourceforge.net > http://wcollage.sourceforge.net > > > > From

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

2009-08-26 Thread Marcelo Fukushima
i guess nowadays javac translates almost literally the source code into bytecode, leaving the hard work for JIT On Wed, Aug 26, 2009 at 7:29 AM, Christian Catchpole wrote: > > of course it's need a return if it's NOT being JITted... im talking a > load of crap tonight.. aload_0 f crap.. get it! :

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

2009-08-26 Thread Marcelo Fukushima
gt; wrote: >> Yeah, i was reading about that one.  But it's only in the Sun VMs and >> probably subject to change. >> >> But hey, I just listed this as an exercise.  It just shows the >> difference between checked and unchecked is one little byte. :) >> >&g

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

2009-08-25 Thread Marcelo Fukushima
theres also a throwException(Throwable) in sun.misc.Unsafe - though to use that you really have to want to On Wed, Aug 26, 2009 at 12:30 AM, Christian Catchpole wrote: > > Compile this..  (any package you like, or no package at all) > > public class Rethrow { >    public static void unchecked(Thr

[The Java Posse] Re: Enumset

2009-08-05 Thread Marcelo Fukushima
i guess if you dont care for the size of things, you can use a SortedSet like TreeSet with enums, since theyre comparable -- Forwarded message -- From: drd Date: Tue, Aug 4, 2009 at 4:28 PM Subject: [The Java Posse] Re: Enumset To: The Java Posse I know Mr. Bloch himself did

[The Java Posse] Re: c# Better Language Than Java?

2009-08-04 Thread Marcelo Fukushima
that only says that InputStream.close() doesnt do anything. Id imagine that, say, FileInputStream.close would close the underlying file handler, the InputStream from a socket would close the socket and so on - witch could possibly throw an IOException 2009/8/4 Ryan Waterer : > From the Java6 Java

[The Java Posse] Re: Enumset

2009-07-30 Thread Marcelo Fukushima
i havent looked into the switch, but EnumSet certainly relies on ordinal() as per seen in the implementations RegularEnumSet and JumboEnumSet there must be a reason to why they dont implement SortedSet as they were written by none other than Joshua Bloch - or maybe he just forgot about that? On

[The Java Posse] Re: Need help on Doing Drag and Drop b/w from Desktop to Java's Frame

2009-07-02 Thread Marcelo Fukushima
check java.awt.dnd.DropTarget and other classes from that package and also the tutorial from sun http://java.sun.com/docs/books/tutorial/uiswing/dnd/index.html On Thu, Jul 2, 2009 at 5:16 AM, swapan wrote: > > Hi All, > > Currently, i am working on Java project where I have a Java Frame and > I

[The Java Posse] Re: Eclipse 3.5 (Galileo) Released

2009-06-26 Thread Marcelo Fukushima
32-bit VMs, and since 6.0 was/is 64-bit only we had > to wait for cocoa-based eclipse (SWT) > > -- Viktor > > On Jun 26, 2009 5:05 PM, "Marcelo Fukushima" wrote: > > > im guessing all of the versions boot a lot faster than previously - at > least my solaris x86

[The Java Posse] Re: Eclipse 3.5 (Galileo) Released

2009-06-26 Thread Marcelo Fukushima
im guessing all of the versions boot a lot faster than previously - at least my solaris x86 build (finally officially supported) boots a lot faster too On Fri, Jun 26, 2009 at 6:05 AM, Viktor Klang wrote: > Observation: the 3.5 cocoa version boots ridiculously fast. > > On Thu, Jun 25, 2009 at 11

[The Java Posse] Re: 'Posse BoF 2009 -- the video

2009-06-16 Thread Marcelo Fukushima
there are restrictions on what could be done at compiler level in terms of optimizations - scala, for example, can only optimize tail recursions to the same method and only for non-overridable methods a TCR optmization should work across multiple tail recursive method invocations without blowing t

[The Java Posse] Re: Are these guys serious?

2009-03-04 Thread Marcelo Fukushima
in japan they also skip 4th floor because 4 and death reads the same (have the same sound even though are written differently)... a chinese friend of mine said the same thing happens in chinese On Wed, Mar 4, 2009 at 8:52 PM, Reinier Zwitserloot wrote: > > Reminds me of chinese elevators. > > Th

[The Java Posse] Re: Project Coin - small interface changes as well maybe?

2009-03-04 Thread Marcelo Fukushima
im guessing it would fit better on the Collections class instead of String (and on Arrays for, well, arrays) On Wed, Mar 4, 2009 at 4:04 PM, Josh Suereth wrote: > http://commons.apache.org/lang/apidocs/org/apache/commons/lang/StringUtils.html#join(java.util.Collection,%20char) > > I think this i

[The Java Posse] Re: What would you recommend?

2009-02-24 Thread Marcelo Fukushima
id second thinking in java and also the head first series On Tue, Feb 24, 2009 at 4:46 PM, Paul Wallace wrote: > > At work we are trying to put together an in-house training programme > for IT staff with basic programming knowledge who want to become > developers, specifically Java developers. >

[The Java Posse] Re: NetBeans funny OutOfMemoryError message

2008-12-11 Thread Marcelo Fukushima
once, my old windows machine would say that some software could not be started because my workstation had powered off. While i assume it was probably a translation error, it was still very funny On Wed, Dec 10, 2008 at 8:20 PM, Alexey Zinger <[EMAIL PROTECTED]> wrote: > > A collegue of mine and I

[The Java Posse] Re: Java builds (maven, ant), the java way is broken!

2008-11-26 Thread Marcelo Fukushima
weve been using archiva for quite some time now, without any problems On Wed, Nov 26, 2008 at 11:14 PM, sherod <[EMAIL PROTECTED]> wrote: > > We use Nexus also. Works well. > > On Nov 27, 9:10 am, Casper Bang <[EMAIL PROTECTED]> wrote: >> Hi Brent, >> >> Have you tried Archiva? And if so, what

[The Java Posse] Re: Java builds (maven, ant), the java way is broken!

2008-11-24 Thread Marcelo Fukushima
where i work, we use maven exclusively and even tough editing xml files drives me crazy, we seldom look/edit them so im okay with that On Tue, Nov 25, 2008 at 12:37 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Dick and Carl have talked a lot about builds lately, prompting this > post...

[The Java Posse] Re: 64bit Linux and Java

2008-11-16 Thread Marcelo Fukushima
i think those issues are being resolved i've ran into this blog entry a while back: http://blog.juma.me.uk/2008/10/14/32-bit-or-64-bit-jvm-how-about-a-hybrid/ On Sun, Nov 16, 2008 at 6:09 PM, Jess Holle <[EMAIL PROTECTED]> wrote: > Two things: > > There are cases where one needs 64-bit, even f

[The Java Posse] Re: Fwd: [The Java Posse] Re: episode 215: reflection and generics

2008-11-11 Thread Marcelo Fukushima
e a "Generics" way of initialise a field?) > > > On Nov 10, 10:27 pm, "Marcelo Fukushima" <[EMAIL PROTECTED]> wrote: > > just a quick observation: it only works because the maps you're trying > > to extract the generic info from, contains such inf

[The Java Posse] Fwd: [The Java Posse] Re: episode 215: reflection and generics

2008-11-10 Thread Marcelo Fukushima
just a quick observation: it only works because the maps you're trying to extract the generic info from, contains such information in the containing class file (the GenericTest fields specifically) - try changing the field types to Map and you wont the get info anymore, even tough you created the

[The Java Posse] Re: NetBeans... nice!

2008-11-06 Thread Marcelo Fukushima
i cant speak for everyone, but once you're used to an IDE, its hard to change at least it is for me anyway On Thu, Nov 6, 2008 at 9:16 AM, kibitzer <[EMAIL PROTECTED]> wrote: > > I'm tellin ya, NetBeans is the best! (best free Java IDE). I CANNOT > understand why people like Eclipse. > > > --

[The Java Posse] Re: POI stands for....

2008-11-06 Thread Marcelo Fukushima
some of the classes are also bitter-named: HSSF stands for Horrible SpreadSheet Format On Thu, Nov 6, 2008 at 11:19 AM, Rick <[EMAIL PROTECTED]> wrote: > > // shows my age > > ...allegedly POI originally stood for "Poor Obfuscation > Implementation", and no doubt reflects early frustration with t

[The Java Posse] Re: Have we given up on the idea of code reuse?

2008-10-13 Thread Marcelo Fukushima
where i work, we have a couple of libs that are shared amongst most (all?) of the projects and a small team is almost solely responsible for those libraries - as a whole, they are treated just like any other project whose customers are inside the company while it works most of the time, there are

[The Java Posse] Re: Help!! Programming mobile application

2008-09-23 Thread Marcelo Fukushima
i think yesterday the Editor's daily blog on java.net had something in that regard - JME on mac. Unfortunatelly i don't have much details, but the link to the referred article: http://weblogs.java.net/blog/editors/archives/2008/09/wanna_be.html On Tue, Sep 23, 2008 at 4:42 PM, shano88 <[EMAIL PRO

[The Java Posse] Re: Annotations, annotate thy self.

2008-09-06 Thread Marcelo Fukushima
i think you just have to get the Method object and call getGenericReturnType. If its a fixed type (one that is bound at compile time), you can cast it to ParameterizedType and call getActualTypeArguments, witch in turn will return an array with the type parameters as Class objects. Its a really ug