comp.lang.java.programmer
http://groups-beta.google.com/group/comp.lang.java.programmer
[EMAIL PROTECTED]

Today's topics:

* Question About LinkedList - 3 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/7190a07093aa978f
* Visual Modelling Tool - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c3aab05fc2bb074a
* How to get jsp and servlet interaction. - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/517cc3bfcef61520
* read binary data from C file??? - 3 messages, 3 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c04d04f749f5ae1f
* OutOfMemoryError -- how to trap - 3 messages, 3 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/724b6eb292f841c3
* Turn off DTD validation with XML parsing? - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/1849cb722b146199
* Runtime.getRuntime().exec PROBLEM - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/90ad1ee379698f32
* Obtaining derived classes - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/daa11ba437b8878b
* keep the data in the form in session?? - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/2d54527b509c9988
* Getting something on my resume - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4a1e0464adf07366
* OT: game programmer SALARY - 4 messages, 4 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/87940bc0e58ea09
* Verify .java matches .class - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f0f3cde9fea4611c
* Hi , deprecated problem. - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/e29f429e26a464e8
* blanking a java.util.Date in 1.5 - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b61c04b0e8db0fbf
* A Beginner Question - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4a9aad5a41bf9769
* Java books - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/7f9c000f41c6b160
  
==========================================================================
TOPIC: Question About LinkedList
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/7190a07093aa978f
==========================================================================

== 1 of 3 ==
Date:   Wed,   Sep 22 2004 1:32 pm
From: "Edward H. Fabrega" <[EMAIL PROTECTED]> 

My program will implement a flat file database (non-relational). I haven't 
started to code yet, as I'm transitioning from C++ MFC to Java. Using MFC I 
was able to do this with a linked list of StringArrays. In Java, I'm 
thinking about doing it with a LinkedList of ArrayLists, where each item in 
each ArrayList is a String. This will model the records. I will have a 
simple ArrayList to model the column labels.

My question is: is there a better data model for a database that is 
achievable with the API? A store bought component or something from a third 
party API is not possible. I'm not worried about the UI at this point, only 
the data. 





== 2 of 3 ==
Date:   Wed,   Sep 22 2004 1:39 pm
From: "Edward H. Fabrega" <[EMAIL PROTECTED]> 


"Edward H. Fabrega" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> My program will implement a flat file database (non-relational). I haven't 
> started to code yet, as I'm transitioning from C++ MFC to Java. Using MFC 
> I was able to do this with a linked list of StringArrays. In Java, I'm 
> thinking about doing it with a LinkedList of ArrayLists, where each item 
> in each ArrayList is a String. This will model the records. I will have a 
> simple ArrayList to model the column labels.
>
> My question is: is there a better data model for a database that is 
> achievable with the API? A store bought component or something from a 
> third party API is not possible. I'm not worried about the UI at this 
> point, only the data.

In my previous post, "My question is: is there a better data model for a 
database that is ..."

should read: "My question is: is there a better data model for a flat file 
database that is..." 





== 3 of 3 ==
Date:   Wed,   Sep 22 2004 1:50 pm
From: "Edward H. Fabrega" <[EMAIL PROTECTED]> 


"Edward H. Fabrega" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>
> "Edward H. Fabrega" <[EMAIL PROTECTED]> wrote in message 
> news:[EMAIL PROTECTED]
>> My program will implement a flat file database (non-relational). I 
>> haven't started to code yet, as I'm transitioning from C++ MFC to Java. 
>> Using MFC I was able to do this with a linked list of StringArrays. In 
>> Java, I'm thinking about doing it with a LinkedList of ArrayLists, where 
>> each item in each ArrayList is a String. This will model the records. I 
>> will have a simple ArrayList to model the column labels.
>>
>> My question is: is there a better data model for a database that is 
>> achievable with the API? A store bought component or something from a 
>> third party API is not possible. I'm not worried about the UI at this 
>> point, only the data.
>
> In my previous post, "My question is: is there a better data model for a 
> database that is ..."
>
> should read: "My question is: is there a better data model for a flat file 
> database that is..."
>

One FINAL stipulation. I can't do an array of arrays because the database 
must be dynamic, in the sense that records can be added, deleted, plus the 
number of fields must be changeable. So I must be able to vary the size of 
the ArrayLists in the LinkedList, and the size of the LinkedList itself that 
is made up of the ArrayLists. 






==========================================================================
TOPIC: Visual Modelling Tool
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c3aab05fc2bb074a
==========================================================================

== 1 of 1 ==
Date:   Wed,   Sep 22 2004 1:36 pm
From: "Edward H. Fabrega" <[EMAIL PROTECTED]> 


"Rizwan" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>I am looking for a modelling tool to use with my java project. Which
> modelling tool is popular in the java community. What do you guys 
> recommend?
>
> Also what do you guys think about Rational Rose?
>
> Thanks
>
>

Check out Visual Paradigm if you're just learning UML. The Community Edition 
is free, and if you like the program you can upgrade to more feature rich 
editions (the most exensive being $699):

http://www.visual-paradigm.com/vpuml.php 






==========================================================================
TOPIC: How to get jsp and servlet interaction.
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/517cc3bfcef61520
==========================================================================

== 1 of 2 ==
Date:   Wed,   Sep 22 2004 1:48 pm
From: [EMAIL PROTECTED] (Jean-Fran?ois Bri?re) 

'movieList' is an attribute of the request.
You must do:

<c:forEach var="movie" items="${requestScope.movieList}" varStatus="movieLoopCount">



== 2 of 2 ==
Date:   Wed,   Sep 22 2004 3:34 pm
From: Chris Riesbeck <[EMAIL PROTECTED]> 

In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Jean-Fran?ois Bri?re) wrote:

> 'movieList' is an attribute of the request.
> You must do:
> 
> <c:forEach var="movie" items="${requestScope.movieList}" varStatus="movieLoopCount">

Not necessary. JSTL's expression language automatically
searches all the scopes.

"For example, ${product} will look for the attribute named product, 
searching the page, request, session, and application scopes and 
will return its value."

http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSTL4.html




==========================================================================
TOPIC: read binary data from C file???
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c04d04f749f5ae1f
==========================================================================

== 1 of 3 ==
Date:   Wed,   Sep 22 2004 1:53 pm
From: John Adams <[EMAIL PROTECTED]> 

Hi,

   I am sorry if this has been asked before but I couldn't find any hint 
scheming through the list. So here is my problem:

   I have to write a client end in java reading data sent over UDP from 
a server (the server is written in C). The data format is a C struct 
with all the fields including long, int, float, etc. I got the data in 
the java client end in the format of a DatagramPacket, then I convert it 
to a byte array. Now the question is, how do I extract each field from 
the byte array? I know this is silly but I have tried using classes like 
ByteBuffer, Array, etc, without good result (The print out of the 
recieiving end differs than that from the sending end).

   Thanks for all the advice.



== 2 of 3 ==
Date:   Wed,   Sep 22 2004 3:16 pm
From: Michael Borgwardt <[EMAIL PROTECTED]> 

John Adams wrote:
>   I am sorry if this has been asked before but I couldn't find any hint 
> scheming through the list. So here is my problem:
> 
>   I have to write a client end in java reading data sent over UDP from a 
> server (the server is written in C). The data format is a C struct with 
> all the fields including long, int, float, etc. I got the data in the 
> java client end in the format of a DatagramPacket, then I convert it to 
> a byte array. Now the question is, how do I extract each field from the 
> byte array? I know this is silly but I have tried using classes like 
> ByteBuffer, Array, etc, without good result (The print out of the 
> recieiving end differs than that from the sending end).

What do you expect? That we can see your code and find the bugs in it by
telepathy?

Show us what you tried, then maybe we can tell you what seems fishy.

The most obvious thing that can go wrong is endianness and alignment
in the C struct.

The most obvious way to debug it is to put some easily identifiable
values into the struct on the server side and then dump the entire
byte array on the client to see how your data actually arrives.



== 3 of 3 ==
Date:   Wed,   Sep 22 2004 3:26 pm
From: "Will Hartung" <[EMAIL PROTECTED]> 


"John Adams" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
>    I am sorry if this has been asked before but I couldn't find any hint
> scheming through the list. So here is my problem:
>
>    I have to write a client end in java reading data sent over UDP from
> a server (the server is written in C). The data format is a C struct
> with all the fields including long, int, float, etc. I got the data in
> the java client end in the format of a DatagramPacket, then I convert it
> to a byte array. Now the question is, how do I extract each field from
> the byte array? I know this is silly but I have tried using classes like
> ByteBuffer, Array, etc, without good result (The print out of the
> recieiving end differs than that from the sending end).
>
>    Thanks for all the advice.

Take a look at java.io.DataInputStream. It may do what you want, but you may
have issues with endian-ness.

Regards,

Will Hartung
([EMAIL PROTECTED])







==========================================================================
TOPIC: OutOfMemoryError -- how to trap
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/724b6eb292f841c3
==========================================================================

== 1 of 3 ==
Date:   Wed,   Sep 22 2004 2:17 pm
From: [EMAIL PROTECTED] (D. Alvarado) 

Hello, I understand that you cannot try/catch for Errors, but I was
hoping to get some advice on how I can gguage when I'm running out of
memory, or at least how much is still available.  I'm  an old WebLogic
server, 5.1, with Java 1.3.  Any advice you have on good coding
standards in such situations or good ways to check available memory is
greatly appreciated. - Dave



== 2 of 3 ==
Date:   Wed,   Sep 22 2004 2:29 pm
From: Thomas Kellerer <[EMAIL PROTECTED]> 

D. Alvarado wrote on 22.09.2004 23:17:
> Hello, I understand that you cannot try/catch for Errors, but I was
> hoping to get some advice on how I can gguage when I'm running out of
> memory, or at least how much is still available.  I'm  an old WebLogic
> server, 5.1, with Java 1.3.  Any advice you have on good coding
> standards in such situations or good ways to check available memory is
> greatly appreciated. - Dave

No, you *can* catch an OutOfMemoryError, you won't get a stacktrace though.

Thomas



== 3 of 3 ==
Date:   Wed,   Sep 22 2004 6:12 pm
From: "KC Wong" <[EMAIL PROTECTED]> 

> > Hello, I understand that you cannot try/catch for Errors, but I was
> > hoping to get some advice on how I can gguage when I'm running out of
> > memory, or at least how much is still available.  I'm  an old WebLogic
> > server, 5.1, with Java 1.3.  Any advice you have on good coding
> > standards in such situations or good ways to check available memory is
> > greatly appreciated. - Dave

> No, you *can* catch an OutOfMemoryError, you won't get a stacktrace
though.

 The Java Specialists' Newsletter has an article about a OutOfMemoryError
warning system:
http://javaspecialists.co.za/archive/Issue092.html

Be sure to read the other issues while you're there :)






==========================================================================
TOPIC: Turn off DTD validation with XML parsing?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/1849cb722b146199
==========================================================================

== 1 of 1 ==
Date:   Wed,   Sep 22 2004 2:37 pm
From: [EMAIL PROTECTED] (Mark McKay) 

I have some SVG files that I'm trying to parse.  Unfortunately, some
of them include <!DOCUMENT> elements with URLs to DTDs stored on
remote servers.  Not only odes the validation really slow down
processing, but it prevents the documents even being used at all if
I"m offline.

All my XML is well formed, and there is no need for validation.  Can I
somehow turn this off?  I'm using javax.xml.parsers.SAXParserFactory
to do my parsing.  I've set validation to be off on my factory, but
it's not helping.

Mark McKay
--
http://www.kitfox.com




==========================================================================
TOPIC: Runtime.getRuntime().exec PROBLEM
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/90ad1ee379698f32
==========================================================================

== 1 of 1 ==
Date:   Wed,   Sep 22 2004 3:08 pm
From: [EMAIL PROTECTED] (Mao) 

Gordon Beaton <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> On 21 Sep 2004 04:06:13 -0700, Mao wrote:
> > I'm trying to print a document using the acrord32 or gsprint command
> > directly from my java program named "cde".
> > 
> > The problem is that: If i run multiple instance of my program "cde",
> > sometimes the adobe or gs print only one document and not the other
> > especially if I run em both in a short temporal distance.
> > To solve the problem I'm trying to know if acrord32 or gs are already
> > printing a document and waiting until there is no document.
> > 
> > Is there a way to know that?? ( using J2EE )
> > Is there another way to solve the problem??
> 
> Is gsprint the following script?
> 
> http://www.linuxjournal.com/modules.php?op=modload&name=NS-lj-issues/issue47&file=2328l1
> 
> If so, the problem is that it always spools to the same temporary
> file, but it's easily fixed. Edit the script, and replace each
> occurrence of "/tmp/gs.out" with "/tmp/gs-$$.out".
> 
> Acroread has a similar problem that you might be able to solve by
> specifying separate temp directories each time you run it (i.e. by
> setting TMP or TMPDIR), however I haven't looked more closely than
> that.
> 
> /gordon

Sorry but the gsprint is running on a Win2000 machine and is an .exe .
Honestly I can't find the right way to obtain that every gsprint use
is own spool file.
Unlucky, the gsprint is launched very often becouse is installed on a
server that is dedicated to accept output files from a DB, make some
elaboration on these files, and finally print the resulting data on a
pdf using the iText. Potentially more than 30 user can launch a print
job :( and the great problem is when 2 or more send a job
concurrently.

I have tried something like this:

try{
  p = Runtime.getRuntime().exec ("gsprint -printer......")   //
pseudocode
  p.waitFor();
}
catch(Exception e){
}


but the print process doesn't start and i must kill gsprint process to
delete the print job from the printer.

I think that if I can't figure out if a gsprint process is already
running I can solve the problem, becouse I will delay the new print
process. So I started a new thread, excuse me if that is wrong.

Another idea: If I convert the file to a ps,  can use the JAVA
printing library?

Any suggestion?

Thanks in advance




==========================================================================
TOPIC: Obtaining derived classes
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/daa11ba437b8878b
==========================================================================

== 1 of 1 ==
Date:   Wed,   Sep 22 2004 4:19 pm
From: "Tony Morris" <[EMAIL PROTECTED]> 

"EjP" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Owen Jacobson wrote:
>
> > On Tue, 21 Sep 2004 22:08:43 -0500, EjP wrote:
> >
> >
> >>Is there a way to get a list of classes derived from a particular base
> >>class?
> >>
> >>Something like
> >>
> >>    Class c = Class.forName("BaseClass");
> >>    Class d[] = c.getDerivedClasses();  //I know this doesn't work
> >>
> >>Any advice would be appreciated.
> >
> >
> > The concept of "list of derived classes" is very vaguely-defined, and
can
> > change over the course of execution as classes are loaded.  What is the
> > real problem you are trying to solve?
> >
> Basically, I'm writing a hardware interface that will perform
> user-defined operations in response to a set of trigger
> inputs (it's for a haunted hause I'm putting together in
> my garage).  The actions are defined by writing derived
> classes based on a particular base class.  There's a
> steering GUI that allows the user to select which action
> to perform for each of the triggers from a pulldown list,
> and I want that list to automatically load.
>
> The straightforward way is to put all the action classes
> in a directory and just look there when the program launches,
> but I was hoping there might be a "cuter" way.  I guess not.

Write your own class loader that finds all these classes.
Though, I much prefer the (perhaps less 'cuter' from your perspective) more
efficient and user-friendly approach of requiring the user to explicitly
specify the implementation class (I'm assuming the class must implement some
interface (your supertype)) and use the system class loader to load it. This
is a typical approach.


-- 
Tony Morris
http://xdweb.net/~dibblego/







==========================================================================
TOPIC: keep the data in the form in session??
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/2d54527b509c9988
==========================================================================

== 1 of 1 ==
Date:   Wed,   Sep 22 2004 4:39 pm
From: [EMAIL PROTECTED] (Tim Jowers) 

[EMAIL PROTECTED] (Matt) wrote in message news:<[EMAIL PROTECTED]>...
> I have MyForm.jsp for the form, and MyAction.jsp that process the
> request.
> MyAction.jsp will interact with another system, if it fails, then it
> will show MyForm.jsp with the data entered by the user again.
> Everything is in the same browser.
> 
> In my case, should I keep the data in the session, so that it can go
> back? Maybe I should
> use <jsp:forward> tag also?

Another group on JSP I think.
<jsp:forward> and request.setAttribute or something to signify the
error?
So, MyForm.jsp checks for the error and pastes the data back in for
editing. setAttribute to pass dat along versus getParameter to get
form fields.

If you stick it in session then MyForm.jsp has to pull it back out.
Extra work to clean up.




==========================================================================
TOPIC: Getting something on my resume
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4a1e0464adf07366
==========================================================================

== 1 of 2 ==
Date:   Wed,   Sep 22 2004 5:01 pm
From: kboris <[EMAIL PROTECTED]> 

I stumble across very depressing websites with incredible displays
of programming prowess.  They're depressing because they belong to
other people.  

Examples include:  a 3-D rendition of Rubik's cube, various games,
scientific analysis etc etc.  Just to completely go over the top,
a lot of these sites share the source code.  

1) Am I sunk in the job market without a portfolio?
2) If you interview candidates, what was the best display you've seen?

I have some assembler and preprocessing utilities to show off.  Maybe
a simple language compiler.

But it's no rubik's cube!

Thanks
/kevin




== 2 of 2 ==
Date:   Wed,   Sep 22 2004 5:31 pm
From: Paul Lutus <[EMAIL PROTECTED]> 

kboris wrote:

> I stumble across very depressing websites with incredible displays
> of programming prowess.  They're depressing because they belong to
> other people.
> 
> Examples include:  a 3-D rendition of Rubik's cube, various games,
> scientific analysis etc etc.  Just to completely go over the top,
> a lot of these sites share the source code.
> 
> 1) Am I sunk in the job market without a portfolio?

Yes, unless all those people with portfolios suddenly get hit by a bus.

> 2) If you interview candidates, what was the best display you've seen?

Competence and experience.

> 
> I have some assembler and preprocessing utilities to show off.  Maybe
> a simple language compiler.
> 
> But it's no rubik's cube!

So hit the books.

-- 
Paul Lutus
http://www.arachnoid.com





==========================================================================
TOPIC: OT: game programmer SALARY
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/87940bc0e58ea09
==========================================================================

== 1 of 4 ==
Date:   Wed,   Sep 22 2004 3:27 pm
From: Scott Ellsworth <[EMAIL PROTECTED]> 

In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Bo) wrote:

> Hi
> 
> I will discuss job offer with a game company soon. Please post how
> much I should bargain for.

Good luck, and congrats.  This would be many people's dream job.

> -job title: port engineer (j2me, Brew phone games)
> -at San Francisco

Ok - the very best thing you can do is ask friends who graduated the 
year before with your major and grades what they are getting.  They may 
tell, they may not.

Why your major and your grades?  Because many companies will determine 
what they pay based on what they think they can get you for.  If you 
came out with a physics degree, as I did, then they are going to rightly 
assume that you are less inundated with job offers than the engineering 
students down the hall.  You can often work around that, but it is darn 
good to know what salary is being paid to people who look like you do to 
a recruiter.

Then, try to guess whether the company is about the norm for the 
industry, or perhaps a bit cash starved, or perhaps flush.  A good way 
to tell is to scan the desks of the people you interview with.  Is the 
equipment reasonably up to date?  Do they have lots of reference books?  
Ask about conferences people have gone to?  At most places I consult 
for, ref books are common, only senior people go to conferences, and two 
year old equipment is still in very active use.

Assuming about the norm, then try looking up salary surveys.  They tend 
to be a bit unreliable, as the categories are often a bit screwy, but 
they might help.  For example, at many companies, an analyst gets paid 
more than a programmer, as analysts design, while programmers implement 
methods given an exact spec.  At others, they have the job title, but 
there is little meaning to it.

> Me:
> -fresh out of college

In all honesty, you are going to learn so much in the first two years 
that it almost does not matter what you make, as long as it is 
reasonable for the industry, and they are doing something that can be 
applied to the next job.  That next job may be with the same people, or 
with different ones.

Thus, try to make something reasonable compared with your compatriots, 
but concentrate on the tools, the techniques, and whether the job and 
the people sound like a good fit.

Whatever you do, though, get any extra cookies in writing, like "I will 
get 5% raise in six months if my code meets objective performance 
criteria negotiated in the first two weeks.  This is seperate from my 
annual review." or "I will be sent to JavaOne each year on company time 
and money." or "I will be given unpaid leave to go to JavaOne each year 
without counting against my vacation and sick time."  Again, negotiate 
for what matters, but try to make it really clear just what you expect, 
and what you provide.

> -I think they hired me because I made an impressive 3D engine in Java.
> But because '3d engine programmer' pays more than people who ports,
> they will still offer the job to me as a port engineer.

Also, until you have proven yourself on their code base, they may want 
their own engine guy to keep an eye on you.  Many who have written great 
code do a terrible job on a team.

> -If there is info on '3d engine programmer' for phones please provide
> it.

Do be aware - that platform is inexpensive, so the bucks rarely roll in.  
On the plus side, a company can sell a lot of different products rather 
than one massive one.  Try to find out how many projects you are going 
to be working on, how long they last, and how they are reviewed.  This 
goes a long way towards keeping you sane.

Scott



== 2 of 4 ==
Date:   Wed,   Sep 22 2004 4:19 pm
From: "Tom Sloper" <[EMAIL PROTECTED]> 

"Bo" <[EMAIL PROTECTED]> wrote...

> I will discuss job offer with a game company soon. Please post how
> much I should bargain for.
> -fresh out of college

Bo, read the game industry Salary Survey at 
http://www.gamasutra.com/features/20040211/olsen_01.shtml
If you have to register to access that site, DO IT.
You do not have any bargaining power. They'll make you an offer. TAKE IT.
You can always "bargain" with the next employer.

Good luck getting the job - Tom

-- 

Tom Sloper - Game Designer, Producer, Consultant
- Sloperama Productions. Services for game developers and publishers; 
"Making Games Fun, And Getting Them Done." 
http://www.sloperama.com/business.html.
- Helpful information for game industry hopefuls; a new article every month. 
http://www.sloperama.com/advice.html. 





== 3 of 4 ==
Date:   Wed,   Sep 22 2004 8:25 pm
From: Dan Olson <[EMAIL PROTECTED]> 

On Wed, 22 Sep 2004 12:59:48 -0700, Bo wrote:

> -job title: port engineer (j2me, Brew phone games) -at San Francisco

Is this at Digital Chocolate?

Doing Brew/J2ME in the San Francisco, I'd say your low should be around
$40k.

I'd probably ask for $45k, maybe.  Look at what apartments run in the area
and see if that's a reasonable salary.

My advice might not be the greatest... I think I asked for under what they
were willing to pay me on my last two job offers. With $45k I honestly
don't know if I'm high or low.

Down here in the LA area, I've heard of entry-level/junior programmers
starting at as much as $60k in console development.  I'd guess the average
for a Socal entry-level console job is $50k, give or take $2k.  Doing cell
phones you should probably expect less.  Around this time last year
Digital Chocolate was looking to pay $30k for a programmer with no
relocation reimbursement, I saw from some recruiter site.  However, they
were just starting up at the time, and had no products.



== 4 of 4 ==
Date:   Wed,   Sep 22 2004 9:16 pm
From: [EMAIL PROTECTED] (Yakov) 

Send your resume to several job agencies. If they will call you back,
ask them what's would be a reasonable salary for a person with your
skills. If nobody calls you back, this means that your chances of
getting any job are slim, so tell your gaming company that you are
open for any fair offer and take it!

Regards,
Yakov




==========================================================================
TOPIC: Verify .java matches .class
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f0f3cde9fea4611c
==========================================================================

== 1 of 1 ==
Date:   Wed,   Sep 22 2004 6:53 pm
From: "Mike Schilling" <[EMAIL PROTECTED]> 


"Michael Borgwardt" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> David Davidson wrote:
>
>> The question though is how do you verify that the class file is the
>> same, it may have the same file size, but how do I know that the
>> internal logic is the same?
>
> If the contents are identical (bytewise) then obviously they have the
> same behaviour.
>
> If the contents are not the same, it's theoretically impossible to
> determine whether they have the same behaviour.
>
> In practice, there are probably quite narrow bounds for what compilers
> are allowed to vary, but trying to do such a comparison in a way that
> doesn't fail with any combination of compilers and compiler versions
> would still be a daunting task that I doubt anyone has attempted.

If you just want to answer the binary question "Are all of these class files 
derived from these source files", I'd start by compiling the sources and 
analyzing them with reflection.  If there are any differences in field names 
or types, method signatures or types, inner classes, etc., then the answer 
is no.  If they're all identical, it's at least likely that the answer is 
yes.

If you want the source corresponding to the classes, a decompiler would give 
you that. As you need to understand a source file, combining the hand-code 
source, which presumably has comments and useful variable names, with the 
decompiled source, which is known to be accurate, gives you enough to go on. 






==========================================================================
TOPIC: Hi , deprecated problem.
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/e29f429e26a464e8
==========================================================================

== 1 of 1 ==
Date:   Wed,   Sep 22 2004 7:02 pm
From: [EMAIL PROTECTED] (Peter) 

JScoobyCed <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> Peter wrote:
> > Hi
>  Hi,
> > 
> > The compile warn me because i overrided a deprecated method (but i
> > have checked the manual, show is not a deprecated method in class
> > BasicComboPopup).
> > 
> 
> Yes, but the method show() in Component *is* deprecated. Thus the 
> warning note in the compiler.

I am using jbuilder 2005, it uses jdk1.4.2 to compile, so really don't
know why it give me this warning.
thanks
from Peter




==========================================================================
TOPIC: blanking a java.util.Date in 1.5
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b61c04b0e8db0fbf
==========================================================================

== 1 of 1 ==
Date:   Wed,   Sep 22 2004 7:42 pm
From: [EMAIL PROTECTED] (Chris Murphy) 

> Is it possible that the trip through the middleware & database is 
> truncating the time portion, say to around midnight?

No. If you run the code in 1.4 then 1.5, you get different toString()
results, so it has nothing to do with 'middleware & database'. There
is definitely a toString() difference, so Paul was right in saying
'forget the formatting, the underlying date has not changed'. I
verified this by substituting day.getTime() with
day.getTime().getTime().

          //getTime() 
          //With 1.5 get [Sat Sep 25 12:00:00 EST 2004]
          //With 1.4 got [Sat Sep 25 00:00:00 EST 2004]
          //getTime().getTime()
          //With 1.5 got [1096034400000]
          //With 1.4 got [1096034400000]
          Err.pr( "Got day: [" + day.getTime().getTime() + "]");      

As you can see from the comments, the underlying date produced does
not change with the JDK version, just the String representation of it.

However, I think you are onto something with the 'middleware &
database'. Maybe the O/R mapping that is being used does something
like store dates as Strings. I know it converts java.util.Date into
its own type. I think this is where I will have to look now.

thankyou - Chris




==========================================================================
TOPIC: A Beginner Question
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4a9aad5a41bf9769
==========================================================================

== 1 of 2 ==
Date:   Wed,   Sep 22 2004 8:05 pm
From: Qingnan Zhou <[EMAIL PROTECTED]> 

Hello, I am very new to Java.
In C++, I can use #include to include other .cpp files.
In Java, I know I am suppose to use import key word, but what type of
file should follow import? .class or .java or neither?

Thanks.

James



== 2 of 2 ==
Date:   Wed,   Sep 22 2004 8:30 pm
From: Paul Lutus <[EMAIL PROTECTED]> 

Qingnan Zhou wrote:

> Hello, I am very new to Java.
> In C++, I can use #include to include other .cpp files.
> In Java, I know I am suppose to use import key word, but what type of
> file should follow import? .class or .java or neither?

Why not open your Java programming textbook and look at the examples?
Failing that, why not look at a Java source file written by someone else?

I ask you this because it is not files that are imported using the "import"
keyword, but packages and classes.

-- 
Paul Lutus
http://www.arachnoid.com





==========================================================================
TOPIC: Java books
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/7f9c000f41c6b160
==========================================================================

== 1 of 1 ==
Date:   Wed,   Sep 22 2004 9:17 pm
From: Radario <[EMAIL PROTECTED]> 

Jim wrote:
> Hello All,
> 
> I am going to buy a few Java books which
> covers the following topics in good detail
> for intermediate to advanced programmers:
> Networking
> Multithreading
> JDBC
> Servlets and JSP
> J2EE
> Practical tips
> GUI
> 
> I know that there many good books in the
> market and there some overlap in their
> coverage, but I want to buy minimum number
> books.
> 
> Thanks for your help !
> 
> Jim
> 
> 
Java 2 Black Book
Steven Holzner
Coriolis  Technology Press
http://www.oreilly.com/catalog/193211100X/
Great Book!!

-- 
"No matter how well you do something there are about
a thousand guys who can do it better."
Radario



=======================================================================

You received this message because you are subscribed to the
Google Groups "comp.lang.java.programmer".  

comp.lang.java.programmer
[EMAIL PROTECTED]

Change your subscription type & other preferences:
* click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe

Report abuse:
* send email explaining the problem to [EMAIL PROTECTED]

Unsubscribe:
* click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe


=======================================================================
Google Groups: http://groups-beta.google.com 

Reply via email to