I'm looking for a library or algorithm that returns a 'score' from a search of one string in another, in order to calculate a best match.
Any ideas?
Also, been playing with amatch, but I can't find any documentation for it - it has approximate matching capabilities. Any ideas on that one?
I just cvsup'd ports, portsdb -uU, portversion...
after portupgrade firefox and eclipse freeze up.
FreeBSD 5.3, eclipse 3.01, firefox 1.0 and all the xorg stuff...xfce is the desktop. mozilla is working fine however...
Any ideas?
Hello,
I'm trying to install portupgrade on a FreeBSD 4.10-Stable box. The first error was autoconf was too old, so
I installed 2.59. The build fails in Ruby 1.8.2 p2_1:
config.status: Creating Makefile
Makefile updated, restart.
*** Error Code 1
1 Error
*** Error Code 2
Any ideas?
I'm interested in creating a data-driven JPanel that can be used in different containers.
In a JDialog, it's easy to manage resources when the dialog is opened (acquire) or closed (release). This allows the
client to create the dialog, use it, dispose it properly and not to have to manage...
Question:
If you need to have the power of stored procedures and the cleanliness of persistence abstraction (Hibernate, CMP, JDO),
how should you design the architecture?
Example:
class BookDataAccessObject {
public void save(Book book){
//small and simple pojo great for...
Hey folks,
anyone know how to disable the column headings in a JTable,
by disable I mean gray them out like when you disable
a button or tab or such.
Thanks.
Sometimes you want to distinguish between an empty string and null.
Is there a constant for empty string? I know that "" is pooled, but some tools complain about non-externalized string literals (and yeah, I'm that nit-picky too).
I've seen alot of libraries that implement the same thing...
What would be the reason to fill a numeric variable by ADD'ing 0 instead of MOVE?
05 CLS-A PIC 9(5) COMP.
05 CLS-B PIC X(2).
05 DSP-A PIC 9(5).
05 DSP-B PIC X(2).
ADD CLS-A, 0 GIVING DSP-A.
MOVE CLS-B...
Hello,
I need to get at some data that resides in files manipulated by COBOL. The COBOL version appears to be: Micro Focus Object COBOL V4.0 revision 007.
The files have idx, db and fd extensions. The idx appears to be mostly binary in vi, with some text, and the db appears to be mostly text...
Hello,
Running 1.4.2_03, and I get LogConfigurationException "No Suitable Constructor"
Couldn't find anything on the net, bug parade, log4j website.
I don't get the error with 1.4.1 or other j2sdk's, and it
seems to affect every program I have that uses log4j, openjms, ant etc...
How do you get Excel data w/ special characters, like +/- degree, or foreign characters w/ accents to convert to valid UTF-8 encoded data?
I'm using JDom + POI to create an XML file from an Excel spreadsheet. The xsl renders an HTML file where the symbols are legible, but not encoded properly...
Hello,
Does anyone know of/have a tool for generating a simple JFrame data entry form from an XML Schema?
I'm writing a simple prototype to create XML files from a data entry screen, and it seems natural that there should be a tool to generate a data entry from from an XML Schema.
TIA.
Hello,
Have a class, which has a data member that can take on two different personalities:
1.) Null, "N/A" (or any of it's variants).
2.) A non-negative int.
3.) Two non-negative ints representing a range.
I'm currently storing this as a string, which is validated
by a validator...
Hi,
Program copies files using the new nio, from server to client. Occasionally, handles to the files on the client aren't released, preventing client to manipulate files. Worse - occasionally the server crashes with
"Unexpected Signal : EXCEPTION_IN_PAGE_ERROR occurred at...
I have a sql server admin tool written in java using swing.
I've been running this on NT 4.0 sp 6 for sometime, no problem.
On win2k, however, the program executes, but the gui never appears. In the task manager, I've got the program, it's not catching any errors, and none of the other java...
j2sdk 1.4.1 - user can't read/write files outside of the working directory via JFileChooser.
JFileChooser won't allow user to browse the file system, outside of the default file system.
This also occurs when the user executes a write operation that doesn't require user intervention. (i.e...
Hi,
I have a C++ utility that I've written, which performs an archaic Universal Business Basic function, converting 2 bytes to 3 characters.
The function worked, but was generating erroneous results when called repetitously over a data file.
The solution was to set the flag from 'skipws' to...
Hi,
I want to create a setup that detects previous versions and removes them before installing the new version.
The previous versions used the standard setup. The program(s) appears in the Add/Remove. I want the new setup to run silently as possible, and wipeout all these entries in the...
Hi,
I'm trying to gain more control over our development environment by setting up a configuration managment plan.
I need something that helps protect and manage different versions of our product. We don't have the budget to purchase new tools(unless they're cheap) or upgrade to VS enterprise...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.