disable audio for java plugin?

2003-12-27 Thread Dimitris Vyzovitis
Is there any way (some runtime parameter perhaps) to turn off audio access in the java plugin? I am dealing with an applet which keeps locking up my /dev/dsp. Browser is firebird 0.7 and java plugin version reads 1.3.0_01. -- vyzo -

Re: ssh question

2001-09-27 Thread Dimitris Vyzovitis
On Thu, 27 Sep 2001, Timothy Reaves wrote: > Does anyone know where I might find information of using ssh & scp from > within java? In other words, do the equivilent of scp'ing a file to the > local machien from a remote machine running sshd? you may want to take a look at MindTerm. They

Re: additionally...

2001-06-18 Thread Dimitris Vyzovitis
On Mon, 18 Jun 2001, IIS - Paul Morie locked 02/06/01 wrote: > Additionally, here is the output when I try to run the example code: > > $> java -native -Djava.library.path=. HelloWorld > Hello, World. I'm going to call an exception now > inside try block > inside throw_it() > Running construct

Re: jvm permissions question

2001-05-10 Thread Dimitris Vyzovitis
On Thu, 10 May 2001, Joel Dudley wrote: > Hello all, > I have a security question for you all. We are going to have some java > processes running on our server and, for security reasons, we would prefer > that the JVM not run as root. However, due to the nature of our app and > infrastructure o

Re: Sun vs Blackdown/Hotspot vs classic and udp sockets

2001-04-27 Thread Dimitris Vyzovitis
On Thu, 26 Apr 2001, Vladimir G Ivanovic wrote: > Why don't you try IBM's JDK? The Volano test results show it to be a > powerful performer, and coupled with jikes, it makes pretty nifty > development environment. Seems like an all-around winner to me. Yes, but it has some very **nasty bugs**. T

[OT]: invoking methods two levels up the hierarchy?

2001-03-29 Thread Dimitris Vyzovitis
This is totally off topic, but somebody may have an idea... You can answer (or flame me ;) in private to avoid contaminating the list further. Is there any way to invoke a method for a class two levels up the hierarchy? To be more specific, consider the following scenario: class A { void

Re: Trouble with CLASSPATH (JDK 1.2.2 on Linux)

2001-03-04 Thread Dimitris Vyzovitis
On Sun, 4 Mar 2001, Sanjay Bhatia wrote: > Hi, > I've read every doc I could find and cannot solve a particular problem I am > having with running an example on my linux machine. Details are : > > My CLASSPATH environment variable is set as follows : > > /usr/local/xerces/xerces.jar:/u

Re: Thread.yield() on 2.4 - more (follow up)

2001-02-12 Thread Dimitris Vyzovitis
On Sun, 11 Feb 2001, Dimitris Vyzovitis wrote: > > I'm not sure what you want to show with test_fairness. You have three > > threads which all count up to the same number. Then finally you print > > out the three counters which always will be the same. There

Re: Thread.yield() on 2.4 - more

2001-02-11 Thread Dimitris Vyzovitis
On 10 Feb 2001, Juergen Kreileder wrote: > >>>>> "Dimitris" == Dimitris Vyzovitis <[EMAIL PROTECTED]> writes: > > Dimitris> On 9 Feb 2001, Juergen Kreileder wrote: > >> BTW, it's "Thread.yield()". "Thre

Re: Thread.yield() on 2.4 - more

2001-02-09 Thread Dimitris Vyzovitis
On 9 Feb 2001, Juergen Kreileder wrote: > BTW, it's "Thread.yield()". "Thread.currentThread().yield()" has > exactly the same meaning but as Thread.yield() is a class method you > should call it directly on the class. > "Thread.currentThread().yield()" makes it look like yield() would be > an in

Re: Thread.yield() on 2.4 - more

2001-02-09 Thread Dimitris Vyzovitis
On Thu, 8 Feb 2001, Joseph Shraibman wrote: > Is it just me or does Thread.yield() not work anymore with the 2.4.0 > kernel? Interesting: blackdown jdk seems to indeed behave incorrectly. Sample execution of the test program I posted previously (I am on an smp box with two processors, so the ca

Re: Thread.yield() on 2.4

2001-02-08 Thread Dimitris Vyzovitis
On Thu, 8 Feb 2001, Joseph Shraibman wrote: > Is it just me or does Thread.yield() not work anymore with the 2.4.0 > kernel? Works fine for me (kernel 2.4.1, ibm jdk-1.3 build cx130-2815). Use the attached file for a quick test. -- dimitris mailto:[EMAIL PROTECTED] public class test_

Re: javac parser bug in blackdown jdk?

2000-08-04 Thread Dimitris Vyzovitis
> it seems needs look like that, is'nt it? > public class c implements a { > > public static void main( String[] args ) { > System.out.println( a.b.test ); > } > > } > ... > > And, to strengthen this argument, if I change b.test to a.b.test the > > program compiles normally. As I s

javac parser bug in blackdown jdk?

2000-08-03 Thread Dimitris Vyzovitis
I am getting a very strange error with javac of blackdown 1.2.2RC4 (I haven't tested with the FCS yet), that does not occur with jikes or the javac that comes with ibm's jdk 1.3. The problem is illustrated by the following: file a.java: interface a { interface b { public st

Re: [ANNOUNCE] Java2 v1.2.2, Java3D 1.2, JAI 1.0.2-beta

2000-08-02 Thread Dimitris Vyzovitis
Juergen Kreileder wrote: > > The Blackdown Java-Linux Team is proud to announce the availability of > the final release of Java2 v1.2.2, Java3D 1.2 FCS, and JAI 1.0.2-beta. > At last, some great news. Well done guys! -- dimitris mailto:[EMAIL PROTECTED] --

Re: Anyone using blackdown jdk on SMP linux?

2000-06-23 Thread Dimitris Vyzovitis
Michael Thome wrote: > > For your reading pleasure, enclosed below is the current version of my > test case. It is pretty easy to cut it down to smaller examples, > especially if you are just looking for the Exception cases. All that > appears to be required is tight-loop lock contention with w

Re: Why nonblocking I/O in Java is hard

2000-06-12 Thread Dimitris Vyzovitis
Matt Welsh wrote: Well - anything you do with native code in Java is inherently "dangerous". In a sense yes, but trying to do direct system lib access, while on the same time the green threads lib does its magic makes it suicidial. Although it might even work, I wouldn't put much trust on it - ex

Re: JavaOne - no green threads for Linux

2000-06-12 Thread Dimitris Vyzovitis
Michael Thome wrote: 1. Java proposes Thread as a general-purpose language abstraction, complete with syntactic support for synchronization.  Any Java VM implementation which significantly limits the ability to use this abstraction violates the spirit of the language design (if not the letter, gi

Re: Why nonblocking I/O in Java is hard

2000-06-11 Thread Dimitris Vyzovitis
Matt Welsh wrote: In other words, although I was creating a nonblocking socket and issuing read calls against it in JNI-based C code, those system calls (from C) were in fact being caught by the Java runtime library which was turning them back into "blocking" access to the socket. This is because

Re: Hashtable iteration insanity. Is it a bug?

1999-09-10 Thread Dimitris Vyzovitis
Kevin Lilly wrote: > The docs are a bit confusing. entrySet() returns a Set containing all > of the mappings between keys and values. I think the method that you > want is values() which returns a Collection of all of the values that > you have put into the Hashtable. You can then create an It

Hashtable iteration insanity. Is it a bug?

1999-09-10 Thread Dimitris Vyzovitis
I think that there is something wrong with the iterators of Hashtables. Perhaps it is my misconception, but shouldn't I get an iterator that returns the objects present in a map when I request an iterator over its entry set? To be more specific, assume the following example (in jpython for the sa

Re: Niiiccee...

1999-09-10 Thread Dimitris Vyzovitis
Perhaps we should make a t-shirt out of this :-) -- dimitris [mailto:[EMAIL PROTECTED]]  

Re: please help a java-linux newbie with swing

1999-08-02 Thread Dimitris Vyzovitis
Ken Huisman wrote: > > I downloaded swing from sun and I unpacked it in a directory, followed > the instructions and so on. The problem I have is when I go to run > the SwingSet example, I get the following error: > > /usr/local/jdk/lib/i686/native_threads/libawt.so: undefined symbol: XtShellStr

Re: memory -mx Option

1999-07-29 Thread Dimitris Vyzovitis
Michael Sinz wrote: > >Not really. > >I have a 256MB machine. > >Even if I set the -mx256M option, the jvm throws OutOfMemory excelption at > >approximately 100 MB of memory usage (according to top) > > Well, what was it trying to do. The JVM is actually rather poor at > picking why it throws Ou

Re: memory -mx Option

1999-07-28 Thread Dimitris Vyzovitis
Michael Sinz wrote: > > >Practically, in my experience, requests larger than 96M are not respected... > > Well, that may be the limit on your system. The JVM is dependant on the > OS for the maximum. I have many times run with -mx256m but that is only > because I needed to and I have that much

Re: memory -mx Option

1999-07-27 Thread Dimitris Vyzovitis
"Nolte, Holger" wrote: > Hi, > With the -mx (-ms) option you can allocate memory for the virtuelle machine. > Has anybody an idea what the maximum of memory for the blackdown virtuelle > machine is ? Can I allocate as much memory as I want or is there a practical > and/or theoretical upper limit

Re: Jrun on linux and apachie?

1999-07-25 Thread Dimitris Vyzovitis
Rachel Greenham wrote: > > > This is not absolutely true. > > There are case where your dynamic content includes generated/altered > > images. > > You need X for awt/java2D to work. > > Yes, this is true. Luckily I haven't needed this once. We tried to write > software to manipulate images witho

Re: Jrun on linux and apachie?

1999-07-24 Thread Dimitris Vyzovitis
Rachel Greenham wrote:   JVM only wants X if you're trying to run GUI applications. There's no problem with running command-line applications and servlets.   This is not absolutely true. There are case where your dynamic content includes generated/altered images. You need X for  awt/java2D to wo

Re: JAI

1999-07-20 Thread Dimitris Vyzovitis
Bob Stafford wrote: > I've seen reference to a pure java version of the Java Advanced > Imaging API both on Javasoft and blackdown web-sites. The Javasoft > site syas it has actually been tested with the Blackdown Java port. > Can anybody tell me where I can doawload this version from. The > java

Re: JIT instability w.r.t. bad code?

1999-07-18 Thread Dimitris Vyzovitis
Nick Lawson wrote: > > The times for this (Pentium 166, Sun Windows 95 JDK 1.2, Blackdown 1.2pre-v2 > + glibc 2.1 + OpenLinux 2.2, > 500,000,000 iterations): > > VM: kaffeSunSunBlackdownBlackdown > JIT: symcjitnone sunwjitn

Re: JIT instability w.r.t. bad code?

1999-07-16 Thread Dimitris Vyzovitis
SHUDO Kazuyuki wrote: > > Personally I prefer explicit checks. > > Why? > I am also tempted to ask why Is there any particular reason to add client side check for what the VM does on its own? I personally think that there is no need to do explicit checks in your code (it is inherently subopt

Re: TYA

1999-07-11 Thread Dimitris Vyzovitis
Kontorotsui wrote: > On 10-Jul-99 Adam Carheden wrote: > [TYA] > > Any suggestions? > > I had the same problem and asked the author for help. > He told me to put libtya.so in /jre/lib/i386/ and now tya works > perfectly. > you could also RTFM: ./configure --libdir=java It should do the job --

Re: Java debugger ?

1999-05-18 Thread Dimitris Vyzovitis
I think that your best choice is to either use jdb in coomand line or ddd with jdb as the slave debugger (this approach exhibits some misbehavior though). Dimitris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: Servlets and Such

1999-05-14 Thread Dimitris Vyzovitis
"Robert H. Thompson" wrote: > Anybody out there can suggest a good servlet tutorial. I've just > downloaded Sun's Java Web Server and I am writting some servlets > using Blackdown's java1.2 port. I know this is a little off topic > but I'd appreciate any references I can get. o'reily has recentl

Re: JDK 1.2 and SuSE 6.1

1999-05-09 Thread Dimitris Vyzovitis
Peter Schuller wrote: > > The JIT is on by default. > > If you do some experimenting, you'll notice that JDK 1.2 with JIT enabled is > *much* faster than JDK 1.1.7+TYA when it comes to loops and stuff like that. > But when method calls come into the picture, I've found it to be about as > fast as

Re: Parametric types proposal - where?

1999-04-30 Thread Dimitris Vyzovitis
Ken McNeil wrote: > > > I'll second you on the bugs issue and the problem with Suns 1001 API's > > > approach. However to be fair you probably picked a bad eg. with > > > parametric types as Sun has just put up a proposal for them. > > > >Can anyone please point me to this parametric types propo

Re: TYA1.3 released

1999-04-28 Thread Dimitris Vyzovitis
Joe Shevland wrote: > I'm using it with Apache + GnuJSP + JServ + tya1.3 + jdk1.1.7... I've > had _no_ problems so far; the responses from the server are a lot > quicker (sorry no stats) and everything in general appears a lot more > responsive. > > Thanks to the Tya Person/People! > Well, the f

Re: HotSpot?

1999-04-28 Thread Dimitris Vyzovitis
Uncle George wrote: > What was more interesting about the proj is that they say there is little to do > for any cpu architecture to get it to run. :- > gat > Which - to get it even furter - combined with the fact that "... will be available for downloads free of charge for developers soon..

Re: HotSpot?

1999-04-28 Thread Dimitris Vyzovitis
Nelson Minar wrote: > >When Sun formerly stated that Hotspot would be a commercial product > >there was not much competition around. Now fierce competition is here. > > And reading between the lines, maybe Hotspot isn't that hot afterall. > The speedups they claim (2-4 times, presumably over a si

Re: HotSpot?

1999-04-28 Thread Dimitris Vyzovitis
Paul Michael Reilly wrote: > > There are many references to HotSpot being a "server-side" solution. > This pains me greatly because I think it means Swing performance is > still slower than watching grass grow. I hope someone can > definitively say that Swing performance in particular (e.g. JTab

some tya1.3 feedback

1999-04-27 Thread Dimitris Vyzovitis
Some feedback on tya1.3 with jdk1.2pre1 would be in place. 1) The configuration script fails to identify the jdk version. As a consequence, the -DJDK12 flag has to be added manually in the Makefile. This is really strange, since the java*1.2*) AC_MSG_RESULT(recognized: JDK

HotSpot?

1999-04-27 Thread Dimitris Vyzovitis
Well, it seems that hotspot is out there - but not yet for linux. Is there any chance that the porting team get their hands on the src (and do their miracle again)? For those who have missed it: http://java.sun.com/pr/1999/04/pr990427-01.html Dimitris --

Re: tya 1.3 compile problem

1999-04-27 Thread Dimitris Vyzovitis
Chris Abbey wrote: > Howdy all, I'm having some problems compiling TYA1.3 on a stock RH5.2 > box. I know I've compiled TYA1.1 before, on a different (non-RH) box, > but this time around I can't seem to get past the configure step! > > the relevant output in config.log from gcc is: > > ld: cannot

Re: JIT and unexpected verify errors for jdk1.2

1999-04-18 Thread Dimitris Vyzovitis
Albrecht Kleine wrote: > > > green native > == == > TYA compiled > EXC_BY_SIGNALS: hangs okay > NO EXC_BY_S...: okayokay > --- > sunwjit : hangs okay > > Does a such TYA release really makes sense..? >

Re: JIT and unexpected verify errors for jdk1.2

1999-04-14 Thread Dimitris Vyzovitis
Dimitris Vyzovitis wrote: // ... // lots_of_stuff // ... After some recompilations (still using jikes0.47),and the problem is no longer there. It is *mysterious* to me, as I can not reproduce the (possible) bug. I guess I have to retract that "... it looks like a jit bug to me..." (or

JIT and unexpected verify errors for jdk1.2

1999-04-14 Thread Dimitris Vyzovitis
Hi, I have some unexpected problems using some reflection stuff under jdk1.2-pre1. In particular, if I have the jit enabled, I get an arcane verify error thrown. If I turn off the jit, it works normally. Also note that jdk1.1.7 (with tya) runs the same classes (that - not- were compiled using ji

Re: jdk1.2pre-v1 performance

1999-04-12 Thread Dimitris Vyzovitis
Peter Schuller wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > I have been comparing the performance of jdk 1.1.7v1a and 1.2pre-v1 > > and have found that 1.2pre-v1 is app. 60% slower than 1.1.7v1a with > > native threads and TYA. I get the same difference when I turn jit off > >

Re: I have a big problem with Sun I retract ! -> APPLAUSE

1999-04-08 Thread Dimitris Vyzovitis
Michael Emmel wrote: > Well since your listening // > I think it's time. WELL DONE! Nice said - I hope that people at sun will stop and contemplate the java potential. Hopefully they will be able to overcome their marketing ambitions, and realize that java is **the** movement. Make t

Re: I have a big problem with Sun

1999-04-06 Thread Dimitris Vyzovitis
Rob Nugent wrote: > Mike, > > In my experience the Sun bug reporting system does not work well. I stopped using it > since I was just burning cycles and getting annoyed. > > I even had a generic defect returned as 'user error' which the Blackdown folks > has already diagnosed and fixed and suppli

Performance issues

1999-03-30 Thread Dimitris Vyzovitis
Hi, Has anybody run any benchmarks comparing jdk117 with tya vs jdk1.2 with sunwjit? My runs so far (console applications with timing), indicate that ***jdk1.1.7+tya1.2 is at least two times faster than jdk1.2-pre1!!!*** This behavior is for computationally intensive procedures, I don't refer to

more AWT crashes

1999-03-27 Thread Dimitris Vyzovitis
Anil kumar wrote: > this is due to x server configuration problems. though it may be working > fine with normal x apps you need to do some 'fine tuning' in it. > > Anil > I also experienced some X-server crashes caused by a particular AWT app that used to run some months ago (it still runs on NT

silly thing with libstdc++-lib6.0-1.so.2

1999-03-22 Thread Dimitris Vyzovitis
Hi, Did anybody else notice that jfc demos generete unsatisfied symbols if libstdc++-lib6.0-1.so.2 is softlinked to libstdc++.so.2.9.0 ? It works fine if it is softlinked to libstdc++.so.2.8.0 Shouldn't something be done with this mess of unsatisfied symbols? BTW, jfc demos are damn *slow* (my

java -X coredumps?

1999-03-21 Thread Dimitris Vyzovitis
Hi, I am trying to java -X in order to see the non-standard vm arguments, but it coredumps after printing the message! [dimitris@gauss dimitris]$ java -X -Xbootclasspath: set search path for bootstrap classes and resources -Xnoclassgc disable class garbage col

Re: AcceleratedX and jdk1.1.7

1999-03-05 Thread Dimitris Vyzovitis
Cees de Groot wrote: > > It'd be a good idea to drop the Xi guys a note that a compatibility slipped in > somewhere. > I was shocked by the fact that when I installed the XFree libs, XAccel refused to start and I was dropped in a shell when I killed the XServer. This is not my ideal notion of co

AcceleratedX and jdk1.1.7

1999-03-04 Thread Dimitris Vyzovitis
Does anybody know of a good way of making jdk1.1.7 (and even 1.2 when it is out) with AcceleratedX 4.1 (full installation - all development libs present)? I tried to install it in a machine that has it, and it simply didn't work (the _Xglobal lock or sth, I don't remember right now). When I unins

Re: 1.2 but for a linux kernel bug?

1999-03-02 Thread Dimitris Vyzovitis
Stewart Allen wrote: > It would seem from the 1.2 status page that 1.2 is fully functional > except on 2.0.xx linux kernels. Is this correct? Do we have to wait > for a kernel patch to get 1.2 or can it be released with the caveat > that it requires a 2.2.x kernel? > > -stewart It would be nice

Re: Hatred of 1.2 messages

1999-02-24 Thread Dimitris Vyzovitis
Christopher Rowan wrote: John - Gerald has a very good point that you may have missed. To further emellish, turning people off to Java or Linux with impolite messages raises the bar for adoption of both.  From this, no one benefits. Common netiquitte calls for RTFM first.  However, Gerald's point

Re: Great!

1999-02-21 Thread Dimitris Vyzovitis
Dimitris Vyzovitis wrote: > The unscubscribe header is a great improvement! "footer" I mean ;-} Dimitris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Great!

1999-02-21 Thread Dimitris Vyzovitis
The unscubscribe header is a great improvement! It was time the "unsubscribe" message traffic get wiped out! Dimitris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTE

Re: TFS Delivery Failure: Re: Mailing list trouble (fwd)

1999-02-19 Thread Dimitris Vyzovitis
"Brett W. McCoy" wrote: > This is the bounce message I am continually getting. Is anyone else > getting this? > I also get it whenever I do download my mails (and they contain a message from the list). Dimitris

Re: More evil from Microsoft [Off topic]

1999-02-19 Thread Dimitris Vyzovitis
Ted Garrett wrote: > I don't think you are looking at the true history of what 'windoze people' > willingly use. Look at "Frontpage Server Extensions", "VBScript", and the > number of sites on the internet which have '.asp' as their primary > document type. > > Microsoft can spend a few hundred

Re: More evil from Microsoft [Off topic]

1999-02-19 Thread Dimitris Vyzovitis
Brian Jones wrote: > Christopher Rowan <[EMAIL PROTECTED]> writes: > > > Oops, I thought he was referring to something else. > > > > Didn't Microsoft have a Unix-like OS with a name similar to Minix? > > Xenix. Radio Shack was using this for their POS systems as recently > as around 4 years ago.

Re: More evil from Microsoft [Off topic]

1999-02-18 Thread Dimitris Vyzovitis
"Harold G. Andrews II" wrote: > When I looked at javalobby for the information regarding the JDK 1.2 Source > Release, I noticed another article about a new programming language > Microsoft is contemplating to get itself out from the litigation it's > currently in with Sun. Thought you might enj

Re: java programming

1999-02-15 Thread Dimitris Vyzovitis
Chris Huebsch wrote:   this is not correct. With Java2 you can use deferred-initialization of final-variables. That means that you can declare a: "final ;" and do later a " = ;" But there must be one and only one initialization!   That's a feature that was missing, but we still compile under jd

Re: Improving Java/Linux support

1999-02-12 Thread Dimitris Vyzovitis
Nelson Minar wrote: > > > With 1.1.7, Linux is either the best or second best Unix platform for > running Java. Solaris is obviously alright, but most of the other Java > ports (SGI, Digital Unix, etc) have really bad problems. Yes, the SGI port is really broken (especially the jit) > Another

Re: oops

1999-02-10 Thread Dimitris Vyzovitis
Dènis Riedijk wrote: > try recompiling with Exceptions_by_signals commented (is in the readme). I > had the same thing, but it was a bug in my java-program. In my case > commenting out exceptions_by_signals gave a little more info about the bug > in my java-program. > It was also my bug, but it

Re: oops - solved

1999-02-08 Thread Dimitris Vyzovitis
Dimitris Vyzovitis wrote: TYA:EXCEPTIONS_BY_SIGNALS problem *** panic: TYA:EXCEPTIONS_BY_SIGNALS problem  // lots of stuff It proved that it was just an ugly way to say "NullPointerException". Sorry for any distress. Dimitris  

Re: Green/Native threads

1999-02-08 Thread Dimitris Vyzovitis
Nathan Meyers wrote: > But I'm always curious about "wacky people" who like to > use thousands of threads (or tons of memory or zillions of levels of > recursion, etc.). Is that approach fundamental to solving the problem > efficiently, or do you use it because it's convenient and/or cool? > Som

oops

1999-02-08 Thread Dimitris Vyzovitis
TYA:EXCEPTIONS_BY_SIGNALS problem *** panic: TYA:EXCEPTIONS_BY_SIGNALS problem TYA: Signal 6, returning to default handler; SIGABRT 6* abort (generated by abort(3) routine) stackbase=0xb580, stackpointer=0xb480 Full thread dump: "Finalizer thread" (TID:0x4066d210, sys_th

Re: Green/Native threads

1999-02-08 Thread Dimitris Vyzovitis
Michael Sinz wrote: > > >Aren't we supposed to be able to overcome this limitation? It is really > >sad to have this limitation hanging as a big dark cloud above us. ;-} > >I believe that this limitation is not the case in some other "massively > >inferior" OSes like NT. I would also like to aug

Re: Green/Native threads

1999-02-08 Thread Dimitris Vyzovitis
Nelson Minar wrote: > >All that other discussion about Linux process table slots and > >implementation details is interesting, but not really relevant to the > >distinction between light and heavy. > > There's one important difference - you can only have as many threads > in Linux as you can have

Re: Green/Native threads

1999-02-08 Thread Dimitris Vyzovitis
Nathan Meyers wrote: > > I think a lot of people are getting hung up on the notion of lightweight > vs heavyweight processes. Here's the quick definition of the > differences, followed by an explanation of why it's not really relevant > to this discussion: > > - Heavyweight processes run in sepa

Re: Green/Native threads

1999-02-07 Thread Dimitris Vyzovitis
Gerald Gutierrez wrote: > > > Non-Java processes don't have the problem because "processes" are > heavyweight native threads, essentially. Non-Java threads MAY have the > problem if they are not native threads. > > Assuming you are talking about Linux when you talk about G++, yes Linux > implemen

Re: How can I do it?

1999-02-04 Thread Dimitris Vyzovitis
> > > BTW, I less'd that entry a few times, and it only shows once. I have no > idea what that is trying to say, but it does. > FWIW, I'm on a Red Hat 5.1 system, with all updates, running 2.2.1 > kernel. > > I observed exactly the same behavior on my 2.2.1 kernel. less sometimes work while othe

Re: How can I do it?

1999-02-03 Thread Dimitris Vyzovitis
> less and more both worked, but you are right, it is zero length. But > why should that prevent Java from reading it (in fact I see it that someon > else has tried it and succeeded). After all, stdin is zero length before > you put anything into it. As long as reading does not get and end-of-file

Re: How can I do it?

1999-02-03 Thread Dimitris Vyzovitis
Aaron Gaudio wrote: > Isn't this a little over-complicated? Couldn't one just open up the file > like any other normal file in Java and then read from it? I admit I > haven't tried it myself. > /proc contents are special files. They always appear to have size 0 but you can always cat them for

Re: I don't want to know when 1.2 will ship - honest!

1999-02-03 Thread Dimitris Vyzovitis
[EMAIL PROTECTED] wrote: > I, by contrast, DO want to know, I'm just not going to ask. > > M. I think that anyone (even deep within his mind) would like to know when it will be out. But I also think that we should stop bothering the porters and let them do their job. Patience people! Dimitris

Re: jdk117-v1a and threads

1999-01-29 Thread Dimitris Vyzovitis
perhaps the CLASSPATH? "Schultz, Will" wrote: > I must not be doing something right. I downloaded the jdk117-v1a and the > .native for jdk,jre,and rt and > I ran 'tar -zxf' all from the /root directory so that the packages should > all be at /root/jdk117_v1a > > When I run Simplicity I get the e

Re: netscape.security.AppletSecurityException

1999-01-27 Thread Dimitris Vyzovitis
David Harvill wrote: > I have heard of an alternate solution, where the name of the host is > passed to the applet as a parameter. I am not positive of the > implementation since it is not my program. If the author doesn't mind, I > will supply the source for this technique. > > -dave How can t

Re: netscape.security.AppletSecurityException

1999-01-26 Thread Dimitris Vyzovitis
> > > Yes, you are being blocked by Netscape's security manager. This is > working as designed. An Applet is not allowed to open a socket with any > host other that the host from which it was loaded. In my experience netscape has a different point of view on security policy. I had a similar pr

Re: Jdk 1.1.7 and X-Server

1999-01-22 Thread Dimitris Vyzovitis
Hi, It seems that you are using getImage to transfer the image back and forth. Is there any particular reason to use the toolkit to fetch the image for processing? You can perfectly fetch the image using a stream and then use a PixelGrabber to reconstruct the image in memory (and process it). The

Re: A file system for organising java stuff ?

1999-01-18 Thread Dimitris Vyzovitis
"J.P.Lewis" wrote: > An additional thought: > > Suppose one writes a control panel or system utility > using java. Conventionally this should be installed in > /usr/bin or /usr/sbin. > > - Linux has the kernel facility that launches a .class path > when it's name is typed. So one could install

Re: Yeah! Web based threaded messaging is best (WAS: Re:[ATTENTION]: Mailing List Changes

1999-01-12 Thread Dimitris Vyzovitis
Robert McConnell wrote: > Web based is the worst idea. I would much rather the messages continue > to fall into my mailbox or a newsgroup than I have to load up a > browser and go get them. If it moves to a web site, I won't move with > it. > I agree too. We don't need to be proactive in order t

Re: Building a tree (data structure) with Java.

1999-01-08 Thread Dimitris Vyzovitis
> That solution would work fine, of course. The alternative is a > `linked tree' structure. Binary trees are easy (just store each > node's left and right children, and probably the parent). Trees > with arbitrary numbers of branches are a little more complex. My > preferred solution is for ea

Re: Java Shell

1999-01-05 Thread Dimitris Vyzovitis
Andreas Rueckert wrote: > Yep! It's just an easier way to start the JVM. > And not really. I haven't managed to get classes in packages running directly from the shell. Has anybody done so? Dimitris

Re: BUG? Modal dialogs don't call subclass constructors!!! - FALSE ALARM

1998-12-13 Thread Dimitris Vyzovitis
False Alarm. After closer examination (thanks to Juergen), I realized that I fired a false alarm. --  Dimitrios Vyzovitis  -- Information Processing Laboratory [EMAIL PROTECTED] -- Aristotle University of Thessaloniki [EMAIL PROTECTED] -- Dept. of Electrical and Computer Engineering  

Re: How can I debug Java Program??

1998-12-13 Thread Dimitris Vyzovitis
  You can use ddd (The Data Display Debugger, available under GPL) as a front-end for jdb: ddd -jdb MyClass SInce it was mentioned, has anybody else (besides me ;-} )observed any strange glitches with ddd and jdb? I mean sometimes (pretty often to be sincere) jdb simply hungs and doesn't respond

Re: BUG? Modal dialogs don't call subclass constructors!!!

1998-12-12 Thread Dimitris Vyzovitis
  I wrote a short program and tested it with 1.1.7, 1.2 (both with green and native threads) on Solaris and with 1.1.7 (green threads and native threads) and 1.2 native threads (not available yet) on Linux: All show the same behavior -- the execution stops after show().   yes, but why doesn't it

Re: BUG? Modal dialogs don't call subclass constructors!!!

1998-12-11 Thread Dimitris Vyzovitis
Juergen Kreileder wrote: >>>>> Dimitris Vyzovitis writes:     Dimitris> Hi everyone,     Dimitris> It appears there is a nasty bug in a modal dialog's     Dimitris> construction process.  If I subclass a modal dialog that     Dimitris> appears in its construct

BUG? Modal dialogs don't call subclass constructors!!!

1998-12-11 Thread Dimitris Vyzovitis
More on the subject: This behavior doesn't appear if I use the -native switch! Perhaps it is a green_threads glitch... --  Dimitrios Vyzovitis  -- Information Processing Laboratory [EMAIL PROTECTED] -- Aristotle University of Thessaloniki [EMAIL PROTECTED] -- Dept. of Electrical and Computer

BUG? Modal dialogs don't call subclass constructors!!!

1998-12-11 Thread Dimitris Vyzovitis
Hi everyone, It appears there is a nasty bug in a modal dialog's construction process. If I subclass a modal dialog that appears in its constructor (ie the constructor ends with the typical pack(); show(); setResizable( false ); ), the subclass constructor doesn't get called unless the dialog is d

Re: what tools do you use for programming

1998-12-10 Thread Dimitris Vyzovitis
BTW (to be a bit off topic), Does anybody know the status of Metrowork's CodeWarrior porting to linux? It could be a good IDE to use. Sze Yuen Wong wrote: > Well, Visual Cafe and JBuilder are very close to > eash other. I really couldn't find any main feature > that is missing from the other one

Re: Mailing List Maintenance (was Re: DONT SEND ME ANYMORE STUFF!!!!!!!!!!!!!!!!!!!!!!!!!!!)

1998-12-10 Thread Dimitris Vyzovitis
> > > You are kidding, right? Adding (I'm not sure this is correct for this > list, but you get the idea): > > -- > To unsubscribe, send "unsubscribe" to [EMAIL PROTECTED] > > adds 80 bytes to each message. The body of your message was 1042 bytes, > and was a fairly short message. I have some j

Re: DONT SEND ME ANYMORE STUFF!!!!!!!!!!!!!!!!!!!!!!!!!!!

1998-12-09 Thread Dimitris Vyzovitis
Martin Little wrote: > Ok, this is getting way out of hand. Someone is using this mailing list > to punish people who irritate them. > <...> > The java-linux mailing list needs to have a confirmation stage in the > signup where the person has to respond to the subscription email > with a uniqu

Re: [FYI] Java violates US patent?

1998-12-08 Thread Dimitris Vyzovitis
John Summerfield wrote: > > > miscrosoft (mbasic) did. > cbasic did. > Natural & Adacom did it in 1980. > Hope that sun won't do the same with j... The only true safety for us would be to make java opesource . I have a somewhat theoretical question on this subject. What if java really does viola

Re: Maximum Heap Size

1998-12-08 Thread Dimitris Vyzovitis
> I am running into a problem where my vm grows too big, to fast (faster than the > consumers of the collected data can consume it), resulting in a > OutOfMemoryError in all running threads. I changed the vm to run with -mx50m > and it ran for much longer (about 5 days) then it too did the same t

Re: Idiot Trap!!!

1998-11-30 Thread Dimitris Vyzovitis
Jauvane Cavalcante de Oliveira wrote: > > > It is always wise to keep th esubscription message you received when you > subscribed. Such message (which asks you to keep it) always explains how to > unsubscribe... > This is exactly where the idiot trap is based. Idiots never do so ;-}. D.

Re: FSCKING MAIL LIST

1998-11-29 Thread Dimitris Vyzovitis
I suggest reading a good book, like "Internet for Dummies" before attempting modern communications again.     Too civilized for him ;-} He'd better look for a banana tree with some fruit on...   --  Dimitrios Vyzovitis  -- Information Processing Laboratory [EMAIL PROTECTED] -- Aristotle Univ

Re: MAIL LIST SUCKS!!!!

1998-11-28 Thread Dimitris Vyzovitis
apersil wrote: > TELL ME HOW TO REMOVE MYSELF FROM THIS FUCKING MAIL LIST Be kind and patient. We don't have to read your junk. If you don't want to get any messages from the list, filter them out until you're removed. BTW, everybody would feel better had you been out of the list.

Re: java dead?

1998-11-28 Thread Dimitris Vyzovitis
Steve Byrne wrote: > > What a piece of trash! The author didn't even have the courage to have his / > her name listed! Yeap, I think that CNet couldnot be considered impartial anymore... (if it ever was). Did anyone see that? http://www.cnet.com/Content/Reports/Shootouts/Brow0701/ss06.html It i

  1   2   >