st. is not really as homogeneous as we like to think it is.
--
Jan-Henrik Haukeland
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
tions: #override \
Button1 : select-end(PRIMARY,CUT_BUFFER0,CLIPBOARD)\n\
:insert-selection(CLIPBOARD)\n\
: insert-selection(PRIMARY,CUT_BUFFER0)
--
Jan-Henrik Haukeland
--
To UNSUBSCRIBE, email to [EMAIL PROTE
he process. Any ideas?
Open a socket against port 25 on a mail server and speak SMTP.
(JavaMail IMHO is an overkill if you only want to send a smtp mail)
--
Jan-Henrik Haukeland
--
To UNSUBSCRIBE, email to [EMAIL PROTEC
new SBTest();
>}
> }
Ehh.. I didn't actually look at the code before :) Tell me what is it
that you are trying to gc? If you're patient you'll get an int
overflow as far as I can see.
--
Jan-Henrik Haukeland
-
}
> }
A thight loop (without sleep or yield), like the one above, will not
let the gc thread in on the party. That's the case if you run on a
preemptive JVM (i.e. with green threads) with real time slicing
(native threads) it'll work.
--
Jan-Henrik Haukeland
-
was
a bug in the LogWriter, which generated an error like this. (The log
was never flushed, when the load was high)
--
Jan-Henrik Haukeland
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe&quo
<[EMAIL PROTECTED]> writes:
> Can somebody tell me - how do we tell it to java to make use of which
> thread system (native/green)??
java -green ...
java -native ..
--
Jan-Henrik Haukeland
--
To UNSUBSCRIBE, ema
t; example?
> And tellme how to use it?
http://www.tildeslash.com/mmake/
--
Jan-Henrik Haukeland
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
; }
A closed loop like this one will not let the gc thread in to do its
work. Try to run the program in its own thread or issue a yield() or
sleep() in the loop.
--
Jan-Henrik Haukeland
--
To UNSUBSCRIBE, email to [E
green_threads/java: error in loading hsared libraries:
> > ./../bin/i686/green_threads/libjava.so: undefined symbol:
> > _dl_symbol_value
> *
>
> This is because RedHat 6.0 is now glibc 2.1 (rather than glibc 2.0)
> and there were some changes that affected the JDK.
But with nativ
gt; ServletLog /usr/lpp/internet/server_root/logs/servlet.log
That's for the servlet log() method, has nothing to do with System.out
--
Jan-Henrik Haukeland
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
n your current
CLASSPATH.
Have a look at:
http://www.javaworld.com/javaworld/jw-01-1999/jw-01-techniques.html
--
Jan-Henrik Haukeland
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble
tance two very good ll(k) parser-generators, AntLr and
JavaCC, which are much better grammar-vise than yacc or bison which
are lr(1).
> *
--
Jan-Henrik Haukeland
ellent article at Swing-connection called
'Understanding Containers' - read it!
--
Jan-Henrik Haukeland
setCursor(w, Cursor.DEFAULT_CURSOR);
}
});
w.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ae) {
JaMUtil.setCursor(n, Cursor.WAIT_CURSOR);
}
});
}
}
--
Jan-Henrik Haukeland
new site, soon to open, called JavaMeal
promises more high quality stuff. JavaSoft also have some pointers, or
you could try JavaWorld, or whatever. It's not hard to find.
http://www.developer.com/directories/pages/dir.java.html/
http://www.javameal.net/
http://www.javasoft.com/
http://www.javaworld.com/
--
Jan-Henrik Haukeland
int out[] = body(schedule, Eswap0, Eswap1);
byte b[] = new byte[9];
intToFourBytes(out[0], b, 0);
intToFourBytes(out[1], b, 4);
b[8] = 0;
for(int i = 2, y = 0, u = 0x80; i < 13; i ++)
{
for(int j = 0, c = 0; j < 6; j ++)
{
c <<= 1;
if(((int)b[y] & u) != 0)
c |= 1;
u >>>= 1;
if(u == 0)
{
y++;
u = 0x80;
}
buffer.setCharAt(i, (char)cov_2char[c]);
}
}
return(buffer.toString());
}
public static void main(String args[])
{
if(args.length >= 2)
{
System.out.println
(
"[" + args[0] + "] [" + args[1] + "] => [" +
jcrypt.crypt(args[0], args[1]) + "]"
);
}
}
}
--
Jan-Henrik Haukeland
them into
the System properties list via the -D option on the commandline).
Java 1.1 does not allow a java program to read system environment
variables since they are dependent of the plattform. Hence deprecation
of System.getenv()
--
Jan-Henrik Haukeland
18 matches
Mail list logo