library

library for doing diffs

I've been tasked with creating a tool that can diff and merge the configuration files for my company's product. The configurations are stored as either XML or URL-encoded strings. I'm looking for a library, preferably open source with a license compatible with commercial software, that can do these diffs. Our app is written in C++, so...

Is there a varargs null check function in Java or Apache Commons?

I've got four variables and I want to check if any one of them is null. I can do if (null == a || null == b || null == c || null == d) { ... } but what I really want is if (anyNull(a, b, c, d)) { ... } but I don't want to write it myself. Does this function exist in any common Java library? I checked Commons Lang and didn't...

Do you know of any OpenSSH libraries for Windows?

I'd like to incorporate OpenSSH support into a Windows application and I am looking for a library (preferably .Net or something easily integrated into .Net) that can provide this functionality. I'm more interested in ssh client software than server software, but both functions would be even better. Edit: I'd prefer a free and open so...

Comparison of available .net controls libraries

Which .net control libraries out there would you recommend as a must have for an enterprise? Can be free/non free Should at least contain a real powerful Datagrid Ajax functionality Are there any comparisons available? ...

How to get Netbeans 6.5 shareable libraries working

I created a Web application in Netbeans 6.5. Now I want to use the Joda Time library. I want to share this library via subversion, because I don't want my team mates to be dependend on some Netbeans configuration. Just to get the project working, I first added the library to the Netbeans library (Tools->Library). This worked OK. The JAR...

Maintenance - balancing the question of when and if to make changes

I maintain a couple libraries for other people. After having gone through a couple releases for each of them, there are some things I would do differently, if I had to do them over again. The question is: Should I do them over? I guess we all face that dilemma - how to balance the helpfulness of the maintenance activity versus the d...

How to append child before. prototype

I making a website with the javascript library. If the user select a option on a dropdown (select) box there must be added a label and a textbox. This I do with the appendChild option. The only problem with the appenChild option is that the items always be added after the items in used element. This is my code: var newFreeformLabel = do...

Compiling in Xcode fails because linked lib isn't found

Hello, I need the openssl lib for some C code in my iPhone App. So I've put the lib into my project. But when I compile it, Xcode throws me some errors: error: openssl/ssl.h: No such file or directory That's my code for including: #include <openssl/ssl.h> Target settings in Xcode: Which step am I missing to link it correct...

Looking for stats on popularity of JavaScript libraries

Does anyone know if there's a site that tracks the popularity of the big/various JavaScript libraries? ...

Why, in AS3, are XML and XMList unrelated (inheritence wise) classes?

I can't help think that making XML ad XMLList both unrelated, as in both extend Object directly, is a design flaw in the AS3 core library. Surely having XML extend XMLList would be a much cleaner system, where XML is considered an XMLList with only one member? This would also avoid the very annoying practice of an E4X query possibly re...

Circular dependencies versus DRY

I'm designing a re-usable class library that contains 2 assemblies (amongst others) named core.xml.dll and core.string.dll. The xml assembly references the string assembly in order to use some string helper methods. However now there is an string method that would be benefit from using a method contained in the xml assembly. If I...

Conversion to Mono on a Mac

Hi all, I have a project written .NET 2.0 (well, it doesn't use much in the way of 3.5 features, anyway), and I recently got a Mac and would like to convert that project to Mono. The problem is, this project relies on libraries such as FreeImage and a few C++ libraries I've written for this project. I'm a total newb to programming on ...

Compiling a C++ .lib with only header files?

I'm compiling a C++ static library and as all the classes are templated, the class definitions and implementations are all in header files. As a result, it seems (under visual studio 2005) that I need to create a .cpp file which includes all the other header files in order for it to compile correctly into the library. Why is this? ...

A good uncertainty (interval) arithmetic library?

edited Given that the words "uncertain" and "uncertainty" are fairly ubiquitous, it's hard to Google "uncertainty arithmetic" and get anything immediately helpful. Thus, can anyone suggest a good library of routines, in almost any programming/scripting language, that implements handling of uncertain values, as per this description: ...

Pointing codeblocks to 3rd party libs

I'm confused on how I can setup codeblocks to see third party libs. For instance, I've downloaded everything for sql lite, unpacked it to a special place on the drive, and appended that location onto the window path. But no luck. I'm guessing a path needs to be setup within codeblocks (possibly variables?), but I'm unsure. Hope someone c...

Style of C API function

I am working on a library that support multiple programming environment such as VB6 and FoxPro. I have to stick with C convention as it is the lowest common denominator. Now I have a question regarding the style. Suppose that the function process input and returns a string. During the process, the error can happen. The current proposed ...

Where can I advertise/buy a .NET library?

As part of a project at work I have developed a library that my company is thinking of marketing independent of the containing project. Where would be a good place to market it? I'm thinking something cheap (free) and low key like an add supported list of links site or the like. As this is just a side bit, there is almost no budget for...

Java GUI libraries

I have been working with the Swing library for a long time, I'm working on a new project for school and due to the nature of the program it can't look like a generic/boring swing gui. So my question is does anyone know of an interesting java gui library that is not swing or awt? ...

Where can I find an AS400 to Java interface?

Does anyone have links and resources to connect to an AS400 from Java? I remember years ago, somebody told me about a connector that simulates KeyStrokes from the keyboard and other "purest" approach that connected directly. On the web I have found a lot of links, but I cannot find a complete product to do this (I am probably not usin...

When does a library deserve the be called "Linq-something" or "something-Linq"?

I just looked at one of those libraries that is of the naming schema "something-Linq" expecting to gain some more knowledge on how to construct expression trees in an elegant way - and was disappointed. Because all I could find were methods that extended IEnumerable - of course with "normal" C# code. Now I have this question: Do non-exp...