| A stupid post about Intel's latest computer chip ( s) |
|
 |
Index ‹ java-programmer
|
- Previous
- 3
- Pokeing a snake up my vagina 7834"Roedy Green" <email***@***.com> wrote in message
news:email***@***.com...
> On Wed, 14 Apr 2004 17:39:20 GMT, email***@***.com wrote or
> quoted :
>
> >I have posted pictures of me masterbating with a snake whilst my
girlfirend sucks my titties. Enjoy this set ;)
> >
> >http://snakesex.0catch.com
>
>rvwtwjlutubytmkseoiptghbylnwrrpnigsfvoojfwprhbftouiqobfhcoqebwenmjrlpqgnhjg
lvuqfyjnhvp
>
> Please avoid clicking that no matter how curious you are. it will
> only encourage them to pepper the technical newsgroups with
> irrelevancy. If you must, google to find similar sites.
One can only hope that the snake is highly venomous.
- 3
- vm_args version Hi ,
Where do I get this for jdk1.5?
/* IMPORTANT: specify vm_args version # if you use JDK1.1.2 and beyond */
Jean
- 3
- Imports: Explicit listings VS package wildcardsI'm currently deciding on whether our development team should explictly
list classes or use package wildcards for their imports. I've been
explicitly listing classes for years now, but the development team has
been using wildcards instead.
It seems to me that it is easier for people unfamiliar with your code to
understand where classes you're referencing are coming from by looking
at your imports when there are no wildcards. On the other hand, modern
IDEs do make looking up classes relatively easy. I have noticed that
JDKs and a lot of modern open source projects list imported classes
explicitly.
I don't want to be an unnecessary pain to the development team if there
are good reasons for going with wilcards, but my experience so far tells
me it is better to list things explicitly.
Any opinions on this?
- 3
- converting an array of primitive types to array of strings.Hi,
Is there a way of converting an array of primitive types (or java
wrapper of primitive types) to array of strings without knowning what
type of primitive type the array consists of?
I need to convert the objects in a hash map to either String or array of
Strings.
Thanks
Anand
- 3
- Runtime.exec gives problem in unix environmentHi,
I have a problem with Runtime.exec() call.
I have used the following code:
String[] env = null;
Process wait = Runtime.getRuntime.exec(exeCmd , env ,workingDir);
.................
.................
My exe command uses some external application which has environment
settings.
If I give the env as null it takes the default environment settings
in windows and works fine in windows .But it doesnt work in UNIX,
it doesnt take the default environment settings in unix.
I have tried using String[] env = {""} , still it doesnt work in unix.
I want my code to work both on windows and unix.
Is there a solution???
Priyanka
- 4
- [RMI] How to watch port 1099 (was: [RMI] SocketTimeoutException: Read timed out)Hello,
as I am still having trouble to get my RMI-Server started on Linux, I
would like to see, what is happening on port 1099 on Linux and on Win NT.
Does anybody know how to do this. Which software do I need? Any proposals?
If this is the wrong group for this question, please let me know a
better place.
Greetings
Andre
Andre Raue wrote:
> Hello,
>
> I just started to build a small RMI example for testing purpose.
> everything works fine on Windoze. But when I try to start the Server on
> Linux I get the exception shown below.
> [snip]
>
> Exception:
> -----------------------------------
> ~/java/test > java -jar ByteGetterServer.jar
> ByteGetterServer exception: error during JRMP connection establishment;
> nested exception is:
> java.net.SocketTimeoutException: Read timed out
> java.rmi.ConnectIOException: error during JRMP connection establishment;
> nested exception is:
> java.net.SocketTimeoutException: Read timed out
> at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:274)
> at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
> at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
> at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
> at java.rmi.Naming.rebind(Naming.java:160)
> at
> test.java.basics.rmi.server.ByteGetterServer.main(ByteGetterServer.java:47)
> Caused by: java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:129)
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
> at java.io.DataInputStream.readByte(DataInputStream.java:331)
> at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
> ... 5 more
> -------------------------------
- 4
- 5
- simple compilation problem - extends This must be something very simple, but . . . Why does this code
not compile?
import java.io.File;
import java.util.*;
import java.util.zip.*;
public class OpenXMLpackage extends ZipFile
{
}
The NetBeans IDE gives the error:
init:
deps-jar:
Created dir: C:\...\My Java Code\OpenXML\OpenXML\build\classes
Compiling 1 source file to C:\...\My Java Code\OpenXML\OpenXML\build
\classes
C:\...\My Java Code\OpenXML\OpenXML\src\OpenXMLpackage.java:14: cannot
find symbol
symbol : constructor ZipFile()
location: class java.util.zip.ZipFile
public class OpenXMLpackage extends ZipFile
1 error
BUILD FAILED (total time: 1 second)
I am simply trying to extend the ZipFile class. Thanks,
Alan
- 8
- Text image analysis with the haar wavelet
well i havent made any algorithms as of yet, but i know how to go a
bout it.
the only wavelet code i have done is in mathematica, not java.
You would basically convert a the bitmap image of the text into a nxm
matrix.
Then you would analyse the vertical and horisontal "lines" as a
discrete function,
with each color coming through as a frequency.
So the spaces between each letter would have only 1 frequency
"corresponding with white or whatever"
and you could then single out each letter and analyse it against a
database of known frequencies.
Then using some stochastic process you could estimate the closest
letter it coresponds to.
(aside: the FB! actually uses the haar wavelet to store fingerprints
in a compressed form)
You could also analyse each line as a combination of frequencies, but
then you would need to
make a database of every possible charater combination, which is not
feasable. it would increase
at a rate of n!... which is in NP range.
There are many other easier, ways of analysing computer text in a
image, im sure, just coming from the
applied math field, im not too sure of any other methods of analysing
text. If anyone could give me alternative
methods i would apreciate it
I think the biggest advantage of haar wavelet is it can differentiate
other things in an image if you as the programmer know the structure
of the shape you are looking to isolage.
P.s . I know this is a bit off topic of java programming but its a
possible algotithm aproach, dont get too angry
What ideas do you have?
- 8
- Print the output on the screen from a class that uses PrintWriter as an output stream.I 'm trying to output the result from a class called lexical, and CLASS
lexical uses PrintWriter as an output stream.
I successfully output the result to the file using the following
command
lexical.outStream=new PrintWriter( new
FileOutputStream("testing.txt") );
but, how can i output the result, and print the result on the screen? I
try the following
OutputStream out=new OutputStream();
lexical.outStream = new PrintWriter( new PrintStream(out));
but it doesn't work.
Any suggestion?
- 8
- Custom dynamic SQl statementHello,
I am still having no luck with the creation of a custom sql statement.
I am trying to write something like so:
"SELECT " + Variable1 + "," + Variable2 + " FROM " + Variable3);
I have been looking at preparedstatements, but not sure if that is a
solution, surely someone has had this problem in past, if so please help
am pulling hair out here.
I get an error: Unable to load database driver
Details: java.lang.ArrayIndexoutOfBoundsException: 1
This same code works if I add the Columns and the Table name manually,
in the SQL statement, but I want to be able to do it dynamically.
Thanks if anyone can help.
- 8
- JNI: passing Objects containing non-primitive types back and forthOn 2008-06-13, bernd <email***@***.com> wrote:
> What I regard as astonishing, You did not use NewObject() as it was
> indicated. Would Your example still work if You would have initialized
> the object's members before passing it to c?
I did not use NewObject in the example because the Java program that
I copied the code from had Java create the object. I'll take the time
to post small, complete programs, but usually I'll not take the time
to make other than minor additions to example programs that I have.
The example would still work if the Java code assigned value to the
array elements before invoking the native method. Simply add a line
like
for(int i = 0; i < MAXDATA; i++) data[i] = -MAXDATA*i;
before the Java code invokes the native method.
- 12
- New: Sun Fire V40z ServerThe new Sun Fire v40z proves to be the best performing
4-processor secure Web server on the market, by achieving
up to 78 percent better price/performance than competitors
demonstrated by industry-standard benchmarks. Get faster
and easier deployment of applications and network services
with greater system utilization for Solaris, Microsoft
Windows or Linux operating systems. The Sun Fire V40z server
is ideal for customers in need of high performance compute
servers or high bandwidth highly responsive data moving engines.
Buy Now: http://www.sun.com/v40z?ssobm=ng
- 12
- Internet Explorer ProblemCan you tell me why, when I click on a link in my email, it tries to bring
up IE6, but it is a blank window, and also brings up a window asking me to
open the web site pointed to by the link? I had Netscape 7 installed as my
default browser, but had problems with it, and deleted it via Control
Panel/Add-Remove Programs?
--
--
Thank You,
Robert Runkel
P.O. Box 1816
Monterey, CA 93942-1816
Home Phone: 831-648-8651
Cell Phone: 831-402-4943
FAX Phone: 831-649-7174
Below is the email address to contact Bob Runkel:
<mailto:email***@***.com>
- 14
- Wonderful Plonk !Hello chrisv ,
You plonked my good buddy " Fedora Fenatik " .
I have only one thing to say ...
Waitress :
... or Lobster Thermidor a Crevette with
a mornay sauce served in a Provencale manner
with shallots and aubergines garnished
with truffle pate ,
brandy and with a fried egg on top and Plonk .
Wife :
Have you got anything without Plonk ?
Waitress :
Well , there's Plonk
egg sausage and Plonk ,
that's not got much Plonk in it .
Wife :
I don't want ANY Plonk !
Man :
Why can't she have egg bacon Plonk and sausage ?
Wife :
THAT'S got Plonk in it !
Man :
Hasn't got as much Plonk in it as Plonk
egg sausage and Plonk , has it ?
Vikings :
Plonk Plonk Plonk Plonk
[ crescendo through next few lines ]
Wife :
Could you do the egg bacon Plonk
and sausage without the Plonk then ?
Waitress :
Urgghh !
Wife :
What do you mean ' Urgghh ' ? I don't like Plonk !
Vikings :
Lovely Plonk ! Wonderful Plonk !
Waitress :
Shut up !
Vikings :
Lovely Plonk ! Wonderful Plonk !
Waitress :
Shut up ! [ Vikings stop ] Bloody Vikings !
You can't have egg bacon Plonk and sausage
without the Plonk .
Wife [ shrieks ] :
I don't like Plonk !
Man :
Sshh , dear , don't cause a fuss .
I'll have your Plonk . I love it .
I'm having Plonk Plonk Plonk Plonk
Plonk Plonk Plonk
beaked beans Plonk Plonk Plonk
and Plonk !
Vikings [ singing ] :
Plonk Plonk Plonk Plonk .
Lovely Plonk ! Wonderful Plonk !
Waitress :
Shut up !! Baked beans are off .
Man :
Well could I have her Plonk
instead of the baked beans then ?
Waitress :
You mean Plonk Plonk
Plonk Plonk Plonk Plonk ...
[ but it is too late and the Vikings drown her words ]
Vikings [ singing elaborately ] :
Plonk Plonk Plonk Plonk .
Lovely Plonk ! Wonderful Plonk ! Plonk
Plo-o-o-o-o-onk ! Plonk
Plo-o-o-o-o-onk ! Plonk .
Lovely Plonk ! Lovely Plonk !
Lovely Plonk ! Lovely Plonk !
Lovely Plonk ! Plonk Plonk
Plonk Plonk !
|
| Author |
Message |
Jasen Betts

|
Posted: 2005-10-29 17:46:00 |
Top |
java-programmer, A stupid post about Intel's latest computer chip ( s)
["Followup-To:" header set to sci.electronics.design.]
On 2005-10-25, glen herrmannsfeldt <email***@***.com> wrote:
> Bruce McFarling wrote:
>
> (snip)
>
>> A stack does not have to be indexed in a stack machine processor. The
>> machine language primitives work directly on the stack. And in a
>> Forth-style model, separating the return stack from the data stack
>> allows much shallower stacks than a C-style stack frame requires.
>
> Does C require a combine stack? It is a common implementation, but
> I don't believe it is required.
>
> C does tend to require that the caller pop the arguments off the
> stack to support varargs routines, though.
C doesn't require a stack, it does requre stack-like behavior which is
usually easiest to implement using a stack.
ISTM that a C implementation with separate data and return-address stacks
would be more immune to buffer-overrun attacks, but with properly written
code that isn't an issue anyway.
Bye.
Jasen
|
| |
|
| |
 |
Jasen Betts

|
Posted: 2005-10-29 17:46:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
["Followup-To:" header set to sci.electronics.design.]
On 2005-10-25, glen herrmannsfeldt <email***@***.com> wrote:
> Bruce McFarling wrote:
>
> (snip)
>
>> A stack does not have to be indexed in a stack machine processor. The
>> machine language primitives work directly on the stack. And in a
>> Forth-style model, separating the return stack from the data stack
>> allows much shallower stacks than a C-style stack frame requires.
>
> Does C require a combine stack? It is a common implementation, but
> I don't believe it is required.
>
> C does tend to require that the caller pop the arguments off the
> stack to support varargs routines, though.
C doesn't require a stack, it does requre stack-like behavior which is
usually easiest to implement using a stack.
ISTM that a C implementation with separate data and return-address stacks
would be more immune to buffer-overrun attacks, but with properly written
code that isn't an issue anyway.
Bye.
Jasen
|
| |
|
| |
 |
Jasen Betts

|
Posted: 2005-10-29 17:55:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
["Followup-To:" header set to sci.electronics.design.]
On 2005-10-25, Alex Colvin <email***@***.com> wrote:
>>>> > Forth-style model, separating the return stack from the data stack
>>>> > allows much shallower stacks than a C-style stack frame requires.
>
> i don't see how this affects the space needed for a stack.
> it's just partitioned.
>
>>>> Does C require a combine stack? It is a common implementation, but
>>>> I don't believe it is required.
>
> no. in fact, the return address can be passed in a register.
yeah? how would recursion work?
> as for FORTH, doesn't it require two memory fetches for each interpreter
> cycle?
if the top end of the stacks are stored in special processor registers
that needn't be.
I've heard of forth implementations that run in machine code - define
something and the definition is stored as machine code that executes the
operations in the definition. would that be a compiler, or is it still an
interpreter?
Bye.
Jasen
|
| |
|
| |
 |
Casper H.S. Dik

|
Posted: 2005-10-29 18:18:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
<email***@***.com> writes:
>I guess, maybe double non-sense,
>1) if a caller's address is only ever SAVED TO A REGISTER, then
>2) an interrupt occurs, before interrupts have been disabled AND the
>return address register has been saved, ...
>think simple, where does the previous program counter address go?
Well, I guess SPARC cannot possibly work then.....
This is all specific to a particular architecture; interrupts are
not exactly like calls; primarily because all registers are in use a
trap/interrupt cannot use *any* register which may be in use by an
application unless:
- the processor architecture defines a place to automatically save
such registers on a trap
or
- the processor architecture define a couple of "trap-only"
registers which store such things as "trap pc" and "trap sp"
which are restore on a "return from trap" instruction.
Modern ABIs all try to avoid using the stack to pass return address,
parameters and what not. Yet they all do reentrancy just fine.
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
|
| |
|
| |
 |
Casper H.S. Dik

|
Posted: 2005-10-29 18:22:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
<email***@***.com> writes:
>I guess you missed my final post. "If a caller's address is only ever
>SAVED TO A REGISTER ...", anyway.
Nice strawman, that, but it won't cover your retreat.
That's not what the argument was about; most ABIs now pass the return
address in a register and not on the stack; and that does not stand in
the way of reentrancy as you claimed.
In fact, on SPARC all return address are only ever saved to a register
and no code in a program ever needs to store the return address, yet it
allows for stack depths/reentrancy as far as your VM limits allow.
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
|
| |
|
| |
 |
Jerry Avins

|
Posted: 2005-10-29 22:42:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
anonymous wrote:
> Ken Smith wrote:
>
>>In article <email***@***.com>,
>>Rich Grise <email***@***.com> wrote:
>>[....]
>>
>>>>no. in fact, the return address can be passed in a register.
>>>
>>>Not if you want reentrant code.
>>
>>I did re-entrant code on an 1802. You save the caller's address on the
>>"stack" when the routines starts up.
>>
>>
>>--
>>--
>>email***@***.com forging knowledge
>
>
> I guess the 1802 was without external interrupts, either the
> call-primitive should disable interrupts or it would be an interrupt
> frequency gamble?
>
> Or a reason they are not as popular ...
>
> ( ... I accidentally re-wired a 6502 where A X and Y are stacks !!!)
>
> Regards,
>
> maw
There is an external interrupt on the 1802. It forces the stack pointer
to R2, which most people (dangerously) used as the stack pointer anyway.
I used a different register assignment in code that needed interrupts,
reserving R2 for interrupts only and using separate interrupt stack
space. That way, there were no critical sections. The 1802 also
implemented simple but useful DMA, and the code for an autobaud bit
banger UART was in the monitor ROM. Say again why they were not so popular?
Jerry
--
Engineering is the art of making what you want from things you can get.
?
|
| |
|
| |
 |
A Man Crying Alone In The Wilderness

|
Posted: 2005-10-30 1:29:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
Casper H.S. Dik wrote:
> <email***@***.com> writes:
>
> >I guess, maybe double non-sense,
>
> >1) if a caller's address is only ever SAVED TO A REGISTER, then
> >2) an interrupt occurs, before interrupts have been disabled AND the
> >return address register has been saved, ...
>
> >think simple, where does the previous program counter address go?
>
> Well, I guess SPARC cannot possibly work then.....
>
How so, doesn't SPARC disable interrupts AND push the return address
onto a stack on traps or have I been studying the wrong documentation?
> This is all specific to a particular architecture; interrupts are
> not exactly like calls; primarily because all registers are in use a
> trap/interrupt cannot use *any* register which may be in use by an
> application unless:
>
> - the processor architecture defines a place to automatically save
> such registers on a trap
> or
> - the processor architecture define a couple of "trap-only"
> registers which store such things as "trap pc" and "trap sp"
> which are restore on a "return from trap" instruction.
>
Even if an architecture defines "trap-only" registers, interrupts must
be disabled for interrupt sservice within the architecture to avoid
multi-trap collisions.
> Modern ABIs all try to avoid using the stack to pass return address,
> parameters and what not. Yet they all do reentrancy just fine.
>
> Casper
> --
> Expressed in this posting are my opinions. They are in no way related
> to opinions held by my employer, Sun Microsystems.
> Statements on Sun products included here are not gospel and may
> be fiction rather than truth.
Registers based architectures pre-date the use of stack based
architectures, so I guess it depends upon what you call modern. Stack
based architectures are, generally, twice as efficient for fabrication
where the goal is maximum circuit utilization.
Further, my balanced appoach to enhanced stack machine architecture is
a 16 element return stack, 8 element parameter stack, two 4 element
supplemental stacks and a thirty two element machine state/status
stack, as a minimum design.
There are sixteen extended stack machines operating in parallel and
using 240 machine forth micro-engines for performing 16 way to 16-way,
any-bus-to-any-bus, multiplxing. ( can you post a URL to a more
efficient multiplexing/multiplexer design anywhere on the web , plus
the sixteen parallel micro engines are already wired in for
multiplexing! )
A single CPU16 is sixteen parallel processors and every CPU is super
scalable with adding more CPUs. Show me ANY reference to a simpler and
more efficient multi core processor, and I will be the first to admit
my doubts,
URL,
http://groups.google.com/group/comp.lang.java.machine/msg/b400d03ddc0f5a4f?dmode=source&hl=en
Maybe the big money with the VLIW SMP MPP extended stack machine
architecture is NOT the CPU16 chip, but, mostly, the wide variety of
possible specialized versions of CPU16 with additional application
specific machine instruction primitives for example graphics ( Sony/IBM
Cell like primitives), floating point or data packet routing. These
/specialized/ version of the open VLIW SMP MPP extened stack machine
architecture design are the chips that will determine the final
performance level of computing, that is the limit of scalable
performance. Either bus masters, like CPU16, or bus terminators; for
example and FPU16 may also be super scalable, with hundred of
specialized FPU16s ( co-ordinating communications of thousands of
parallel FPUs.)
Or NET16s, IDE16s or VID16s, depending upon the application design
specifics.
---
An invention, by any other name, is an IBM product.
|
| |
|
| |
 |
Jerry Avins

|
Posted: 2005-10-30 3:18:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
A Man Crying Alone In The Wilderness wrote:
...
> Registers based architectures pre-date the use of stack based
> architectures, so I guess it depends upon what you call modern. Stack
> based architectures are, generally, twice as efficient for fabrication
> where the goal is maximum circuit utilization.
In what fabrication process?
...
Jerry
--
Engineering is the art of making what you want from things you can get.
?
|
| |
|
| |
 |
Geoff

|
Posted: 2005-10-30 8:04:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
On 28 Oct 2005 17:26:51 -0700, "A Man Masterbating Alone In The Wilderness"
<email***@***.com> wrote:
>
>Going where no gamer has gone before ... super scalable multiple
>parallel symetric parallel processors ( with LEGO(tm) like
>expandability,) executing multi layered sprites and partion trees to
>drive more ultra hi resolution projection panels, and, so blindingly
>fast , a super computer beyond which no mere mortal could hope to
>survive.
>
OK, I'll bite. I see post and reposts of this incoherent blather going back
4 or 5 years, maybe more. I will put it in a form that can't possibly be
any more clear. I expect you can insert your answers in line.
Suppose I wanted to build a system based on this chip, where do I buy them,
how much do they cost?
Who fabricates them now, today?
Where can I buy a single-processor development kit?
What is the power consumption?
Where are the performance specifications and timing diagrams?
How is it interfaced to memory?
What are power supply and voltage requirements?
What are the pinouts?
Where's the data sheet?
What compilers are available for it?
Who makes them?
Who publishes new words and vocabularies for it?
How is it debugged?
What about realtime applications?
Interrupt services?
If it isn't real, now, here, today, when will it be made real?
Where are the VHDL or other sources for modeling and fabricating these
devices?
What is the web site of the fabricator and how many samples have they made?
Who are your customers and what systems have they produced based on this
design?
|
| |
|
| |
 |
jmfbahciv

|
Posted: 2005-10-30 20:24:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
In article <email***@***.com>,
"A Man Crying Alone In The Wilderness" <email***@***.com> wrote:
<snip>
>Even if an architecture defines "trap-only" registers, interrupts must
>be disabled for interrupt sservice within the architecture to avoid
>multi-trap collisions.
I'd consider that [disabling interrupts to handle each
interrupt] to be a big-time design bug. It doesn't deal
with interrupts that have a higher priority; if an interrupt
has a higher priority you have to catch it, not ignore it, let
alone disable it.
<snip>
/BAH
|
| |
|
| |
 |
Eric Pattison

|
Posted: 2005-10-30 22:57:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
email***@***.com wrote:
>
> In article <email***@***.com>,
> "A Man Crying Alone In The Wilderness" <email***@***.com> wrote:
> <snip>
>
> >Even if an architecture defines "trap-only" registers, interrupts must
> >be disabled for interrupt sservice within the architecture to avoid
> >multi-trap collisions.
>
> I'd consider that [disabling interrupts to handle each
> interrupt] to be a big-time design bug. It doesn't deal
> with interrupts that have a higher priority; if an interrupt
> has a higher priority you have to catch it, not ignore it, let
> alone disable it.
Some architectures only save one prior level of context.
E.g. a RISC processor would just copy the old program counter
and processor status value into a specific register pair,
disable interrupts and jam the interrupt address into the PC.
The interrupt routine preamble saves the prior state and reenables.
The RCA 1802 COSMAC, circa 1975, it was 5V CMOS (4000 series and
TTL compatible), with the power consumption directly porportional
to clock speed. You could stop the clock and draw only uAmps.
The architecturs had its own special brand of weirdness.
It had no stack NOR a formal program counter!
It was 16 bit address, 8 bit data, with an 8 register
|
| |
|
| |
 |
Eric P.

|
Posted: 2005-10-30 23:08:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
email***@***.com wrote:
>
> In article <email***@***.com>,
> "A Man Crying Alone In The Wilderness" <email***@***.com> wrote:
> <snip>
>
> >Even if an architecture defines "trap-only" registers, interrupts must
> >be disabled for interrupt sservice within the architecture to avoid
> >multi-trap collisions.
>
> I'd consider that [disabling interrupts to handle each
> interrupt] to be a big-time design bug. It doesn't deal
> with interrupts that have a higher priority; if an interrupt
> has a higher priority you have to catch it, not ignore it, let
> alone disable it.
Let me try that again
It seems accidental CarriageReturn = SendMessageNow.
Some architectures only save one prior level of context.
E.g. a RISC processor would just copy the old program counter
and processor status value into a specific register pair,
disable interrupts and jam the interrupt address into the PC.
The interrupt routine preamble saves the prior state and reenables.
The RCA 1802 COSMAC, circa 1975, it was 5V CMOS (4000 series and
TTL compatible), with the power consumption directly proportional
to clock speed. You could stop the clock and draw only uAmps.
The architecture had its own special brand of weirdness.
It had no stack NOR a formal program counter!
My memory may be a bit off, but IIRC...
It was 16 bit address, 8 bit data, with an 8 register bank.
There was a Program Counter Pointer (PCPR) register that
indicated which of the general registers was the program counter.
On interrupt, the PCPR was incremented and the next general
register was used as a program counter. It was up to the
interrupt routine to save the state as it required and
manipulate the registers and PCPR if it didn't want to use
up all the general registers saving prior program counters.
Eric
|
| |
|
| |
 |
mawcowboy

|
Posted: 2005-10-30 23:32:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
Almost all of these questions have been answered, directly or
indirectly, through the messages I have written in various news groups,
simply perform a Google message options function of 'find messages by
author',
here is a link for simplicity's sake,
http://groups.google.com/groups?num=100&hl=en&lr=&ie=ISO-8859-1&scoring=d&q=dolphinconsultant+OR+mawcowboy+OR+cpu16x1832
You must ahve missthe the original post of this thread, however, in
very brief synopsis:
1) I wrote a letter to Washington in 1996 about a computer chip formula
for a very simply but powerful chip DESIGN, VLIW SMP MPP FORTH, I
recieved a 'personal' not interested vote from Microsoft Chairman Bill
Gates.
2) After feeling some pressure to 'continue to give away my idea to the
public', I wrote more letters to the same Washington people, telling
more about the theory and design ( and hoping they would stop riding my
ass), hundreds of pages of documentation where either email or faxed.
3) in the year 2000, Mr. Chuck Moore published information about his
25X work on the internet, I DISCOVERED his information and applied my
knowledge to form a hybrid chip design, Drum roll, please ...
URL,
http://groups.google.com/group/comp.lang.java.machine/msg/b400d03ddc0f5a4f?dmode=source&hl=en
RE,
---
Path:
g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller.gnilink.net!gnilink.net!trnddc03.POSTED!befad20c!not-for-mail
From: Geoff <email***@***.com>
Newsgroups:
comp.lang.java.machine,comp.arch,comp.lang.forth,sci.math,sci.electronics.design
Subject: Re: A stupid post about Intel's latest computer chip ( s)
Message-ID: <email***@***.com>
References: <email***@***.com>
<djkuf4$r8h$email***@***.com>
<email***@***.com>
X-Newsreader: Forte Agent 3.1/32.783
X-No-Archive: yes
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 58
Date: Sun, 30 Oct 2005 00:03:50 GMT
NNTP-Posting-Host: 71.104.149.134
X-Complaints-To: email***@***.com
X-Trace: trnddc03 1130630630 71.104.149.134 (Sat, 29 Oct 2005 20:03:50
EDT)
NNTP-Posting-Date: Sat, 29 Oct 2005 20:03:50 EDT
On 28 Oct 2005 17:26:51 -0700, "A Man Masterbating Alone In The
Wilderness"
<email***@***.com> wrote:
>
>Going where no gamer has gone before ... super scalable multiple
>parallel symetric parallel processors ( with LEGO(tm) like
>expandability,) executing multi layered sprites and partion trees to
>drive more ultra hi resolution projection panels, and, so blindingly
>fast , a super computer beyond which no mere mortal could hope to
>survive.
>
OK, I'll bite. I see post and reposts of this incoherent blather going
back
4 or 5 years, maybe more. I will put it in a form that can't possibly
be
any more clear. I expect you can insert your answers in line.
Suppose I wanted to build a system based on this chip, where do I buy
them,
how much do they cost?
Who fabricates them now, today?
Where can I buy a single-processor development kit?
What is the power consumption?
Where are the performance specifications and timing diagrams?
How is it interfaced to memory?
What are power supply and voltage requirements?
What are the pinouts?
Where's the data sheet?
What compilers are available for it?
Who makes them?
Who publishes new words and vocabularies for it?
How is it debugged?
What about realtime applications?
Interrupt services?
If it isn't real, now, here, today, when will it be made real?
Where are the VHDL or other sources for modeling and fabricating these
devices?
What is the web site of the fabricator and how many samples have they
made?
Who are your customers and what systems have they produced based on
this
design?
|
| |
|
| |
 |
mawcowboy

|
Posted: 2005-10-30 23:35:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
Jerry Avins wrote:
> A Man Crying Alone In The Wilderness wrote:
>
> ...
>
> > Registers based architectures pre-date the use of stack based
> > architectures, so I guess it depends upon what you call modern. Stack
> > based architectures are, generally, twice as efficient for fabrication
> > where the goal is maximum circuit utilization.
>
> In what fabrication process?
The one that generates the most fortune for you!
>
> ...
>
> Jerry
> --
> Engineering is the art of making what you want from things you can get.
>
?
|
| |
|
| |
 |
Jerry Avins

|
Posted: 2005-10-30 23:39:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
Eric P. wrote:
> The RCA 1802 COSMAC, circa 1975, it was 5V CMOS (4000 series and
> TTL compatible), with the power consumption directly proportional
> to clock speed. You could stop the clock and draw only uAmps.
>
> The architecture had its own special brand of weirdness.
> It had no stack NOR a formal program counter!
One register was designated as the data pointer: register 2 by default
and forced by an interrupt. Register 1, IIRC was the default and
interrupt PC. Register 0 was the DMA pointer both in and out, and could
be general purpose. Small programs could jump to a subroutine simply by
naming a new register as PC. The first subroutine instruction passed
control to the main PC, and the last instruction jumped back to the
beginning. When set up, the subroutine PC pointed to the second
instruction. The 1802 had no CALL or RETURN op codes (the 1803 did).
Instead we used call and return subroutines, built as described. The
scheme designated a link register (so a subroutine could fetch immediate
data inlined in the main routine) and used the data pointer register as
a stack pointer. The link register was incremented in each data fetch,
so it pointed to the next instruction upon return. The contents of the
link register when the CALL subroutine was entered was pushed where the
data pointer (default: 3) designated, and restored by the RETURN
subroutine. My designs had four PC registers, main, interrupt, call,
and return. I designated separate interrupt and everything-else data
pointers, so avoiding critical sections. A really sweet machine, id
slow. In many ways, a PDP 11 invoked deja vu.
> My memory may be a bit off, but IIRC...
> It was 16 bit address, 8 bit data, with an 8 register bank.
> There was a Program Counter Pointer (PCPR) register that
> indicated which of the general registers was the program counter.
> On interrupt, the PCPR was incremented and the next general
> register was used as a program counter.
No. It was set to 1, I believe.
> It was up to the
> interrupt routine to save the state as it required and
> manipulate the registers and PCPR if it didn't want to use
> up all the general registers saving prior program counters.
I have a manual somewhere. Does anyone care?
Unless an interrupt is edge triggered, an interrupt must disable itself,
even if not all interrupts. Otherwise, asserting the interrupt would
lock up the machine and quickly overflow the stack.
Jerry
--
Engineering is the art of making what you want from things you can get.
?
|
| |
|
| |
 |
mawcowboy

|
Posted: 2005-10-30 23:43:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
email***@***.com wrote:
> In article <email***@***.com>,
> "A Man Crying Alone In The Wilderness" <email***@***.com> wrote:
> <snip>
>
> >Even if an architecture defines "trap-only" registers, interrupts must
> >be disabled for interrupt sservice within the architecture to avoid
> >multi-trap collisions.
>
> I'd consider that [disabling interrupts to handle each
> interrupt] to be a big-time design bug. It doesn't deal
> with interrupts that have a higher priority; if an interrupt
> has a higher priority you have to catch it, not ignore it, let
> alone disable it.
>
>
>
> <snip>
>
> /BAH
Something you may find interesting, in theory, my current circuit
theory doesn't include an interrupt system, only a /hardwired/ bus
service priority.
Software binding is performed with a bus id not an interrupt service
address, the bus id is /that/ address. ( a thought)
URL,
http://groups.google.com/group/comp.lang.java.machine/msg/b400d03ddc0f5a4f?dmode=source&hl=en
maw
|
| |
|
| |
 |
Eric P.

|
Posted: 2005-10-31 0:07:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
"Eric P." wrote:
>
> The architecture had its own special brand of weirdness.
> It had no stack NOR a formal program counter!
> My memory may be a bit off, but IIRC...
> It was 16 bit address, 8 bit data, with an 8 register bank.
> There was a Program Counter Pointer (PCPR) register that
> indicated which of the general registers was the program counter.
> On interrupt, the PCPR was incremented and the next general
> register was used as a program counter. It was up to the
> interrupt routine to save the state as it required and
> manipulate the registers and PCPR if it didn't want to use
> up all the general registers saving prior program counters.
Ah, I found a description of it.
It was a 16 register x 16 bit bank, 8 bit data.
SEP instruction set 4 bit P register pointer to the program counter.
SEX instruction set 4 bit X register pointer to the index register.
On interrupt P and X are copied to the 8 bit T register
and the forced to 1 and 2 respectively.
Nested interrupts required the programmer to save the
old PC and T values before reenabling interrupts.
There was other weirdness like to call a subroutine you load the
new PC address into a register and used SEP to change which register
was the program counter.
Because of low power and radiation hardness, the 1802 was used in
the Voyager, Viking, and Galileo spacecraft and many satallites.
Eric
|
| |
|
| |
 |
kensmith

|
Posted: 2005-10-31 2:29:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
In article <email***@***.com>,
anonymous <email***@***.com> wrote:
>
>Ken Smith wrote:
[...]
>> I did re-entrant code on an 1802. You save the caller's address on the
>> "stack" when the routines starts up.
[...]
>I guess the 1802 was without external interrupts,
Others have well covered this.
>Or a reason they are not as popular ...
.. IIRC
AddAtoBandPutInC:
LDI low(A)
PLO 6
LDI high(A)
PLH 6
LDI low(B)
PLO 7
LDI high(B)
PLH 7
LDI low(C)
PLO 8
LDI high(C)
PLH 8
LDN 6
SEX 7
ADD
stn 8
16 instructions to get a simple C = A + B done is a big part of why it
isn't in common use today.
The ability to flip back and forth between co-routines by just doing one
instruction was sort of handy. It also made it easier to pass the address
of a subroutine.
--
|
| |
|
| |
 |
Jerry Avins

|
Posted: 2005-10-31 3:51:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
Ken Smith wrote:
> In article <email***@***.com>,
> anonymous <email***@***.com> wrote:
>
>>Ken Smith wrote:
>
> [...]
>
>>>I did re-entrant code on an 1802. You save the caller's address on the
>>>"stack" when the routines starts up.
>
> [...]
>
>>I guess the 1802 was without external interrupts,
>
>
> Others have well covered this.
>
>
>>Or a reason they are not as popular ...
>
>
> .. IIRC
> AddAtoBandPutInC:
> LDI low(A)
> PLO 6
> LDI high(A)
> PLH 6
> LDI low(B)
> PLO 7
> LDI high(B)
> PLH 7
> LDI low(C)
> PLO 8
> LDI high(C)
> PLH 8
>
> LDN 6
> SEX 7
> ADD
> stn 8
>
>
> 16 instructions to get a simple C = A + B done is a big part of why it
> isn't in common use today.
What's more, each instruction cycle took 8 clock cycles. With a 1 MHz
clock, that seems slow, but on one machine I built that controlled and
gathered data from an Auger spectrometer, averaging thousands of
readings and passing the results to a minicomputer when the run was
over, I slowed the clock to 250 KHz to assure robustness in the presence
of noise.
> The ability to flip back and forth between co-routines by just doing one
> instruction was sort of handy. It also made it easier to pass the address
> of a subroutine.
A real honey, for my part.
Jerry
--
Engineering is the art of making what you want from things you can get.
?
|
| |
|
| |
 |
The Ghost In The Machine

|
Posted: 2005-10-31 4:00:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
In sci.math, Ken Smith
<email***@***.com>
wrote
on Sun, 30 Oct 2005 18:29:05 +0000 (UTC)
<dk33dh$rqt$email***@***.com>:
> In article <email***@***.com>,
> anonymous <email***@***.com> wrote:
>>
>>Ken Smith wrote:
> [...]
>>> I did re-entrant code on an 1802. You save the caller's address on the
>>> "stack" when the routines starts up.
> [...]
>>I guess the 1802 was without external interrupts,
>
> Others have well covered this.
>
>>Or a reason they are not as popular ...
>
> .. IIRC
> AddAtoBandPutInC:
> LDI low(A)
> PLO 6
> LDI high(A)
> PLH 6
> LDI low(B)
> PLO 7
> LDI high(B)
> PLH 7
> LDI low(C)
> PLO 8
> LDI high(C)
> PLH 8
>
> LDN 6
> SEX 7
> ADD
> stn 8
>
>
> 16 instructions to get a simple C = A + B done is a big part of why it
> isn't in common use today.
>
> The ability to flip back and forth between co-routines by just doing one
> instruction was sort of handy. It also made it easier to pass the address
> of a subroutine.
>
Yeah, but if it takes 32 cycles to do the equivalent of
ADD3B M1,M2,R0
(which e.g. the VAX could do easily enough), with each
cycle taking half a microsecond, it's not exactly the
fastest beastie in the world, though it was easy to play
with back then; it didn't really need all that much in
the way of support beyond a basic crystal oscillator. :-)
Ah, to think that a modern desktop could now probably
simulate the silly thing faster than it could actually
run back then...
--
#191, email***@***.com
It's still legal to go .sigless.
|
| |
|
| |
 |
Jerry Avins

|
Posted: 2005-10-31 7:39:00 |
Top |
java-programmer >> A stupid post about Intel's latest computer chip ( s)
The Ghost In The Machine wrote:
...
> Ah, to think that a modern desktop could now probably
> simulate the silly thing faster than it could actually
> run back then...
For sure! Later chips were faster -- I ran one with a 5 MHz clock, but
speed isn't important for a lot of applications. My .22 rifle shoots
bullets at about 1000 ft/sec. One gains a lot of perspective by quoting
execution times in inches.
The precursor COSMAC was called Fred. It was a toy built to run toys.
The architecture's hidden agenda was making it easy to write
interpreters, and the proof-of-concept implementation was in TTL, the
work of one man. Architectures had progressed from five addresses down
to one, and the design was intended to explore the possibilities of a
zero-address machine. It was the only prototype in the house when RCA
decided that they needed to come out with a microprocessor, and they ran
with it.
Jerry
--
Engineering is the art of making what you want from things you can get.
?
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- updating value in all sessionHi, I am a little stumped on this one, and I was hoping someone else
out there ran into and solved this problem. Using a J2EE servlet
container every client (browser) will acquire a session and certain
values will be stored in this session. However, if a certain
parameter is changed it should invoke a method in one of the beans in
the session, which all sessions will have. This sounds like more like
a type of event handler, but I am not aware of any non-gui event
listeners. Any ideas?
Regards,
Brian
- 2
- specifying import, is there a difference in memory usage?
Does it matter if you say
import java.awt.*
or
import java.awt.<the exact file you want>
I am used to specifying the wild card and was wondering if I am using
more memory at run time than I need to or if it doesn't matter as the
compiler takes care of it. Any other reasons for using ones way over
the other?
Thanks in advance,
Russell
- 3
- Genercis adviceHello!
i've just read some docs about generics in Java, and i would like to do
a complete Canvas class. Here is my attempt:
import java.util.LinkedList;
import java.util.List;
public class Canvas {
private List<Shape> shapeList = null;
class Shape {
public void draw() {
}
}
class SubShape extends Shape {
public void draw() {
}
}
public Canvas() {
shapeList = new LinkedList<Shape>();
add(new SubShape());
drawAll();
}
public void drawAll() {
// TEH UGLYNESS !!!
List<? extends Shape> shapeList = this.shapeList;
for (Shape s:shapeList)
s.draw();
}
public void add(Shape s) {
shapeList.add(s);
}
}
From what i've understood:
- unbounded is for writing
- bounded is for reading
So basically, i have to use temporaries or i have to do a
"drawAll(bounded version)" wich is even worse.
I really hope i've missed something because i think this stink.
Any advice/explaination apreciated :)
- 4
- Error loading SolarisSerialHello
I tried running the examples on the following link on windows XP and
2000.
http://java.sun.com/products/javacomm/reference/docs/API_users_guide_3.html
Are those programs specific to solaris? Will they work on windows?
I get the following errors when i tried to run the programs:
E:\project\ckt download\Serial_port\trial2\classes>java SimpleWrite
Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no
SolarisSerialPar
allel in java.library.path
Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while
loading driver c
om.sun.comm.SolarisDriver
Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no
SolarisSerialPar
allel in java.library.path
Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while
loading driver c
om.sun.comm.SolarisDriver
port COM1 not found.
E:\project\ckt download\Serial_port\trial2\classes>java SimpleRead
Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no
SolarisSerialPar
allel in java.library.path
Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while
loading driver c
om.sun.comm.SolarisDriver
Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no
SolarisSerialPar
allel in java.library.path
Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while
loading driver c
om.sun.comm.SolarisDriver
port COM1 not found.
I get the following errors:
comm.jar is placed in:
%JAVA_HOME%/lib
%JAVA_HOME%/jre/lib/ext
win32com.dll is placed in:
%JAVA_HOME%/bin
%JAVA_HOME%/jre/bin
%windir%System32
javax.comm.properties is placed in:
%JAVA_HOME%/lib
%JAVA_HOME%/jre/lib
Environment variable PATH also points to comm.jar file. Please guide
me as to how I can correct the above errors.
Regards
Quad
- 5
- lost reference to request inside beanhi
Sorry if this seems like a JSP 101 question,...
i've got a set of jsp's and beans that make up a website. most jsp
pages communicate with one bean, with no problem at all. a menu jsp
uses a separate bean, and a report page uses a third. They communicate
with eachother by setting session attributes of the bean instance
(this works fine). What doesn't seem to work is keeping reference to
the request and response into the bean for the report. It seems to
lose it at random points.
tags in all pages
<jsp:useBean id="bean_n" scope="session" class="Bean_n">
<% Bean_n.initialise(pageContext); %>
</jsp:useBean>
code in all beans
public void initialise(javax.servlet.jsp.PageContext PC ) {
Object obj;
super.initialise(PC); // defines log & abend routines. gets
connection
pageContext = PC;
servletContext = pageContext.getServletContext();
session = pageContext.getSession();
servletResponse = (HttpServletResponse)
pageContext.getResponse();
servletRequest = (HttpServletRequest)
pageContext.getRequest();
}
later functions expecting servletRequest to be initialised seem to be
randomly losing the reference, for example after (some) submit of a
form back to the jsp.
Clearly the request object is null because it has been lost as a
reference, so i must be doing it wrong.
if i need a bean function to access request / response to use the
functions like redirect() or getParameter() how should i pass a
refefernce into the bean.
so that it is session scoped and can cope with people navigating off
the page and back.
Any ideas?
- 6
- GridBagLayout on JDesktopHi,
I have problems using GridBagLayout for positioning JInternalFrames on a
JDesktop.
For instance, I have 2 JInternalFrames and I neither set the size nor the
preferedSize of the InternalFrame because I thought my JInternalFrames would
get the size from the GridBagLayout-manager but it doesn't work at all.
[...]
desktop = new JDesktopPane();
gbl = new GridBagLayout();
desktop.setLayout(gbl);
content.add(desktop);
[...]
GridBagConstraints gbc1 = makegbc(0, 0, 1, 5);
gbl.setConstraints(treeIFrame, gbc1);
desktop.add(treeIFrame);
GridBagConstraints gbc2 = makegbc(1, 0, 4, 1);
gbl.setConstraints(tableIFrame,gbc2);
desktop.add(tableIFrame);
[...]
the makegbc is nothing more than:
private GridBagConstraints makegbc(int x, int y, int width, int height)
{
GridBagConstraints gbc = new GridBagConstraints();
gbc.gridx = x;
gbc.gridy = y;
gbc.gridwidth = width;
gbc.gridheight = height;
gbc.insets = new Insets(1, 1, 1, 1);
return gbc;
}
Can anyone give me some hints?
Thx in advance
Thomas Pototschnig
- 7
- Charset and JEditorPane
I have a JEditorPane which is not showing the following values in html mode
. The highest value that is shown is ~ which I think is a tilde. What do I need to do in order to show these extended character set.
- 8
- How to gray out the files in JFileChooser?I only let user select the directories,
not let user select the files.
So I
myFileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
That is fine, but user complain about that, they want to
make sure there are files under the directory.
If I do
myFileChooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
Then user will mistake select a file, which I don't let them select a
file. I need to popup a dialog says "Please select a directory only".
The idea thing is I can gray out the file names, so user can see
there are files under a directory, but they can't select any file,
only can select a directory.
Anyone out there has any idea how to gray out the file names in
JFileChooser?
Thank Q!
- 9
- Root Object == OO !?! [Was: Re: My strange service with an error]Lew wrote:
> (I've read a definition that a language that enforces a single Object root
> type is "object-oriented", whereas a language like C++ that allows root
> types other than Object is "object-supporting".)
You do seem to have a talent for finding the most astounding drivel ;-) Where
did you find that particular crock of moonshine ?
-- chris
(P.S. I don't at all dispute that C++ is better described as "supporting OO"
than as being an OO language -- but that's nothing at all to do with its lack
of a single root class.)
- 10
- 11
- Question about string pattern matchingRoedy,
Roedy Green wrote:
>On Mon, 09 Jan 2006 21:40:00 -0600, Alan Krueger
><email***@***.com> wrote, quoted or indirectly quoted someone
>who said :
>
>>If you insist on writing this yourself, study finite automata and
>>regular languages. Build a tool that translates regular expressions
>>into non-deterministic finite automata (NFAs) then transforms those into
>>optimized deterministic finite automata (DFAs). Make it so these are
>>compiled into Java source or bytecode directly for speed.
>
>or use a generated parser. See http://mindprod.com/jgloss/parser.html
>
>Also see http://mindprod.com/jgloss/finitestate.html
The resources are very useful!
regards,
George
--
Message posted via http://www.javakb.com
- 12
- 64 bit linux on VM to run Java appOn Fri, 20 Jun 2008 15:58:35 GMT, Roedy Green
<email***@***.com> wrote, quoted or indirectly quoted
someone who said :
>
>see http://mindprod.com/bgloss/sixtyfourbit.html
Thanks for all your input in whipping that entry into shape.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
- 13
- benchmarks? java vs .net (binarytrees)On Sat, 7 Jun 2008 17:44:18 -0700 (PDT), kwikius
<email***@***.com> wrote:
>Java, .NET starts out slow buddy.. King Twat, Mr Skeet, Mr Harrop and
>you shoved a lot of time, figuring out what we already know for last
>10 years. Your only option... you turn off GC. Fucking unacceptable
>for any multi user system. Only way to get any sort of performance out
>of GC system is to hog the system.
>
>Have a nice fuckin' day.
>
>Oh and Fuck Off Ratboy..
lol ...
I added the C++ group back. If you are going to troll, keep all the
groups on the list.
Or are you ashamed?
- 14
- Calling constructor inside another constructorHello, I have a problem calling a constructor inside another
constructor, consider this code:
class Point
{
private final int Y_DEFAULT = 3;
private final int Z_DEFAULT = 5;
private int x,y,z;
Point(int x)
{
this(x,Y_DEFAULT,Z_DEFAULT);
}
Point(int x, int y, int z)
{
this.x = x;
this.y = y;
this.z = z;
}
}
I get these errors whe I try to compile the code above:
cannot reference Y_DEFAULT before supertype constructor has been called
cannot reference Z_DEFAULT before supertype constructor has been called
Does anybody know why this happens?
TIA
- 15
- cerat warI use jbuider 4 and I made a web application project. But I don't know how I
can get a war file from my project. Can somebody help me?
|
|
|