library

Is there a native YAML library for iPhone?

I'm considering using YAML as part of my next iPhone application, but I haven't been able to find an Objective-C library to use. The Wikipedia page for YAML mentions one, but the link is dead. Is there an Objective-C library that can parse YAML into native collection objects (NSArray, NSDictionary, etc...)? ...

Can actual Perl Regular Expressions be implemented in Java via existing library?

Is there an existing robust Java library which implements a fairly substantial subset of Perl regular expression syntax? Background: I wish to implement a file renamer where renaming is done using Perl regular expressions. The trick is that the project containing said renamer as a component is, currently, 100% in Java in Windows. NOT...

.net library for extracting block attributes out of autocad drawings

Hi all, I'm looking for a .net library that will enable me to extract block attributes out of a autocad file. I don't mind paying for a developers licence but I should be able to freely redistribute the library itself without additional costs. Is there a lib that suits my needs? greetings, Coen ...

Should you wrap 3rd party libraries that you adopt into your project?

A discussion I had with a colleague today. He claims whenever you use a 3rd party library, you should always write for it a wrapper. So you can always change things later and accomodate things for your specific use. I disagree with the word always, the discussion arose regarding log4j and I claimed that log4j has well tested and time p...

Perl within Python?

There is a Perl library I would like to access from within Python. How can I use it? FYI, the software is NCleaner. I would like to use it from within Python to transform an HTML string into text. (Yes, I know about aaronsw's Python html2text. NCleaner is better, because it removes boiler-plate.) I don't want to run the Perl program as...

C# directives & namespace problem

Hi everybody, I have a problem here. I have a class library namely ClLib, and has the following 8 cs files. Express (parent class) - 1E1 - 1E2 - 1E3 Normal (parent class) - 1N1 - 1N2 - 1N3 Also, a method is also included in each 8 class file. For example, public class 1E1:Express { publ...

How to generate thumbnail for some pages of a PDF file?

I want a C library for generating image snapshots of PDF files. Then I would use this to generate the thumbnail of the first page. Is there a library for this? ...

C++ OOP Library for Programming the Lego NXT

A while back, I got a Lego NXT for Christmas, and now I would like to program it in C++. I have looked around, here and other places, and could not find a cross-platform, open source, OOP C++ library that "felt right", including lestat and nxtOSEK. So, I have decided that unless I can find one I do like, then it would be a great learni...

choosing a diagramming library for .Net

Hello, I have a customer who needs to convert a diagramming application (which was developed in MFC a long time ago) to C#. The application displays large networks (lots of graphical elements), and lets the user edit/manipulate the data through a graphical ui. I decided that it would be best to use a library rather than to develop all ...

C# audio library with smooth looping?

I'm looking for an audio library that works with .NET that allows for smooth looping. I've tried DirectX AudioVideoPlayback and Mentalis. Both are easy to use, but the looping skips a bit. I'm wondering if that's my fault or theirs. I have sound samples that I know can loop cleanly (WinAmp can do it fine) but I can't get my C# app to do ...

How to design a C / C++ library to be usable in many client languages?

I'm planning to code a library that should be usable by a large number of people in on a wide spectrum of platforms. What do I have to consider to design it right? To make this questions more specific, there are four "subquestions" at the end. Choice of language Considering all the known requirements and details, I concluded that a lib...

Library for decompression of most common file-archive formats?

I'm writing an application that needs to read the contents of & decompress common file-archival formats, including ZIP, RAR, and 7z. However, I can't seem to find a library that does all this and abstracts the functionality to the level I need, with simple functions in the vein of: ExtractArchive() ExtractArchiveTruncated() ReadArch...

Xpath builder in Python

I'm building relatively complicated xpath expressions in Python, in order to pass them to selenium. However, its pretty easy to make a mistake, so I'm looking for a library that allows me to build the expressions without messing about with strings. For example, instead of writing locator='//ul[@class="comment-contents"][contains(., "Wes...

How to use IsInRole from ASP.NET Membership in the Library dll

Most Real world web applications have at least one dll library behind them. If we use the ASP.NET membership provider, how can we call the Roles.IsInRole method in the dll? The possibility of referencing HttpContext is not good. Because, we have a few console application tools that use the same dll to complete a few bulk operations. ...

Are there any library in .Net to do some basic audio editing?

What I need to do is insert silences in an audio, insert other audios, mix other audios (insert them with an overlapping section) and so on. Are there any libraries for .Net (I'm using C#) that could do such a thing? ...

Is there an automated tool for making photo-mosaics (using images as pixels)?

I occasionally see portraits and other images which have been redrawn into an abstract form, where each pixel in the redrawn image is actually another, much smaller picture. I am looking for a tool (or library) which can perform this type of transformation automatically. Does something like that exist? ...

Is there any libraries could import contacts from hotmail/live/aol account?

I've import contacts from gmail by using gdata api, and is there any apis like that for hotmail/live/Aol ? ...

Reading MP3 audio data, or calculating the checksum thereof

Is there a Ruby library that will allow me to either calculate the checksum of an MP3 file's audio data (minus the metadata) or allow me to read in an MP3's audio data to calculate the checksum myself? I'm looking for something like this: mp3 = Mp3Lib::MP3.new('/path/to/song.mp3') mp3.audio.sha1sum # => the sha1 checksum of _only_ th...

Are there any thread-safe graph libraries for C++?

Basically I am looking for a graph library that would have fine-grained locking around graph operations, so that different threads touching different parts of the graph could alter it simultaneously, and competing modifications could be blocked. I googled around a bit and can't find anything. Maybe this is too specific to my needs, but...

Equivalent of #define in Java?

I'm writing a library that needs to have some code if a particular library is included. Since this code is scattered all around the project, it would be nice if users didn't have to comment/uncomment everything themselves. In C, this would be easy enough with a #define in a header, and then code blocks surrounded with #ifdefs. Of cours...