[math] Release 1.1 RC1 available for review

2005-07-04 Thread Phil Steitz
An initial release candidate for commons-math 1.1 is available for review here: http://people.apache.org/~psteitz/commons-math/1-1-rc1/ Release notes, summarizing the changes from version 1.0, are here: http://people.apache.org/~psteitz/commons-math/1-1-rc1/RELEASE-NOTES.txt The updated web site

Re: [collections] Name that data structure

2005-07-04 Thread Mattias Jiderhamn
Possibly it could also be a MRU (Most Recently Used) cache. At 2005-07-03 23:39, you wrote: I'd say you were looking for an ordinary priority queue, where the priority=the timestamp. Try the Heap class. Sincerely, Silas Snider On 7/3/05, Wendy Smoak [EMAIL PROTECTED] wrote: I'm looking

[Net] Corrupt file when using FTP

2005-07-04 Thread David Leangen
Hello! I'm using FTP as described below. However, when transferring a zip file, although everything appears to go well with FTP (no exceptions thrown and all 2xx codes), when trying to open the file afterwards, I get errors such as: Error: Unexpected end of file Error: File corrupt Am I doing

Re: [Net] Corrupt file when using FTP

2005-07-04 Thread Christian Hufgard
Hello David, think you should set the file type before sending the file: replace m_ftpClient.retrieveFile(remoteFile, out); with m_ftpClient.setFileType(FTP.BINARY_FILE_TYPE); m_ftpClient.retrieveFile(remoteFile, out); Think this might work. greets christian Monday, July 4, 2005,

Re: [Net] Corrupt file when using FTP

2005-07-04 Thread Jose Antonio Perez Testa
m_ftpClient.setFileType(FTP.BINARY_FILE_TYPE); David Leangen wrote: Hello! I'm using FTP as described below. However, when transferring a zip file, although everything appears to go well with FTP (no exceptions thrown and all 2xx codes), when trying to open the file afterwards, I get errors

Re: [Net] Corrupt file when using FTP

2005-07-04 Thread Wendy Smoak
From: David Leangen [EMAIL PROTECTED] I'm using FTP as described below. However, when transferring a zip file, although everything appears to go well with FTP (no exceptions thrown and all 2xx codes), when trying to open the file afterwards, I get errors such as: Error: Unexpected end of file

RE: [Net] Corrupt file when using FTP

2005-07-04 Thread David Leangen
Thank you for the very fast replies!! That did the trick. :-) -Original Message- From: Christian Hufgard [mailto:[EMAIL PROTECTED] Sent: 5 July 2005 01:51 To: Jakarta Commons Users List; [EMAIL PROTECTED] Subject: Re: [Net] Corrupt file when using FTP Hello David, think

Re: [collections] Name that data structure

2005-07-04 Thread Tim O'Brien
Hmmm * Ordered * No duplicates * Max Size icky Buffer boundedBuffer = new BoundedFifoBuffer(10); Predicate uniqueness = new UniquePredicate(); Buffer buffer = new PredicatedBuffer( boundedBuffer, uniqueness ); /icky Then you can iterate over the content's of the Buffer. But, that might

[DBCP] PreparedStatement pooling with JSP pages

2005-07-04 Thread Alan Chandler
Assuming I set poolPreparedStatement to true in setting DBCP up, how do I re-use a prepared statement. Assuming at the start of a request, I grab a connection from the pool, how do I organise to get the same connection as the one I used on my previous run through on which I know I already have

Re: [email] progress on 1.0 release?

2005-07-04 Thread Dion Gillard
Is everyone ok with me doing a distribution for 1.0-RC5 and placing it up for public consumption on people.apache.org/~dion ? I'm currently going through http://jakarta.apache.org/commons/releases/prepare.html and making sure it's all ready. On 7/4/05, Simon Kitching [EMAIL PROTECTED] wrote: Hi

Re: [email] progress on 1.0 release?

2005-07-04 Thread Simon Kitching
On Tue, 2005-07-05 at 11:11 +1000, Dion Gillard wrote: Is everyone ok with me doing a distribution for 1.0-RC5 and placing it up for public consumption on people.apache.org/~dion ? I'm currently going through http://jakarta.apache.org/commons/releases/prepare.html and making sure it's all