library

Static libraries or anything else

hello, I am trying to hide my source codes in iphone projects. however I didnt understand the static library concept. Most of the tutorials about static library points out that including the whole .xcodeproj . can anybody point out a direction to me please. thanks ...

Easy way to examine browser name and version

Hi, Is there any really easy way to get to know, what browser has called controller's action. I would like to have a code for my controller, like this: if mighty_lib.browser.name == "Safari" if mighty_lib.browser.version >= 5 # Glad to see you, Safari 5, there is a stunning, interactive page for you. elsif mighty_lib.brow...

Use RecursiveDirectoryIterator to list directories and files into array?

I'm having a directory with this structure : main/ |- images/ |-- file1.jpg |-- file2.jpg |-- file3.jpg |- documents/ |-- private/ |--- blahblahblah.docx |-- test.doc |-- test.xls |-- test.txt I can create a function to complete the work but the RecursiveDirectoryIterator class is much faster and less memory usage this time. How ...

What components are essential to a C++ project which are not found in a common library?

For most C++ projects Boost covers a lot of ground component wise but often used solutions and idioms require some boiler plate or ground work. What do you consider so essential that you would have it in every project and thus have it in a small "library"? Some things I thought of: Singleton base-class (somebody will think he needs it,...

What's the simplest way to write portable dynamically loadable libraries in C++?

I'm working on a project which has multiple similar code paths which I'd like to separate from the main project into plugins. The project must remain cross-platform compatible, and all of the dynamic library loading APIs I've looked into are platform specific. What's the simplest way to create a dynamic library loading system which can ...

Pretty .Net GUI Library Like using in Yahoo Messenger

Please, advise me any .net gui controls library for create user interface like in Yahoo messenger or like Trillian. May be this will be easy skin-based interface library or other. I need only simple controls ex. buttons, listview combobox, checkbox and other therefore library must be small. I know DevExpress and Infragistics libraries bu...

PHP Date Recurrence Library?

Ruby, Java, and Python all have several very good libraries which allow you to handle rfc2445's rrule very well. I've done an extremely comprehensive search for a class/library which will handle the rrule and return dates of recurrence, however I haven't found 1 library in PHP will do it. I am going to begin to write a PHP library whic...

What is a good library for interfacing with audio files?

I need a library for loading audio samples from a file and creating new audio files given the audio samples, author name, title, etc. The 2 main audio file formats I'll be using are WAV and MP3. ...

Does 'require' in elisp/lisp prevent from reloading libraries?

For C/C++, people use #ifdef .. #endif technique to prevent reloading libraries, and Objective-C uses import to do the same thing. How about lisp/elisp? If (require 'cl) is used before, and (require 'cl) is seen somewhere, lisp is clever enough not to load it again? Or, is there any way to prevent this reloading libraries? ...

Including DirectShow library into Qt for video thumbnail

I'm trying to implement http://msdn.microsoft.com/en-us/library/dd377634%28v=VS.85%29.aspx on Qt, to generate a poster frame/thumbnail for video files. I have installed both Windows Vista and Windows 7 SDK. I put: #include "qedit.h" in my code (noting there is also one in C:\Qt\2010.04\mingw\include), I add: win32:INCLUDEPATH += $$q...

Create a library in iPhone project

Hi, I have a problem with my iPhone program. I have imported a folder into my project. I use the class into the folder like the other class. But now i want create a library with these folder because is a external project and i want use it in other project. There are a solutions for these problem? Thanks so much. ...

Load songs from iPod Library right after sync

Hi. I'm developing an iPhone application that uses the iPod library to play some songs. I load the songs with the code below. The problem is, when running this code right after the device has been synced with iTunes, there is a problem. Apparently the iPod Library needs to be updated, and it takes some time. If I go to the iPod Applicat...

Text classification/categorization algorithm

My objective is to [semi]automatically assign texts to different categories. There's a set of user defined categories and a set of texts for each category. The ideal algorithm should be able to learn from a human-defined classification and then classify new texts automatically. Can anybody suggest such an algorithm and perhaps .NET libr...

Good symbolic math/CAS library for Java?

Can anyone recommend a good symbolic math/CAS library for Java? If you have actually used the library, can you list any pros/cons regarding the API or general usage? Thanks! ...

Do you know any PHP script or library to export/import dumps of MySQL databases?

I don't have shell access so can't use the mysqldump command Also the use of sentences like SELECT * INTO OUTFILE are restricted ...

Should a library use an interface that uses smart pointers?

Hi, I'm starting to write a library and considering its interface. Previous libraries I've written all use raw pointers (both internally and in its interface), and now I want to try the smart pointer library that comes with VS2010. Should the interface use smart pointers? (Possibly forcing the library users to use smart pointers too?) ...

C++ URLencode library (Unicode capable) ?

I need a library that can URLencode a string/char array. Now, I can hex encode an ASCII array like here: http://www.codeguru.com/cpp/cpp/cpp_mfc/article.php/c4029 But I need something that works with Unicode. Note: On Linux AND on Windows ! CURL has a quite nice: char *encodedURL = curl_easy_escape(handle,WEBPAGE_URL, strlen(WEBPAGE...

Sending an Object to a library class in Android

I'm attempting to make a simple homebrew game engine/framework in android. I have the "engine" as a library project that handles all of the graphics rendering, game activity, and whatnot. Essentially, the library project has a class GameMain which has a background image, an array of drawables, and a few functions (the most important is a...

A decent java bittorrent library

I need a bittorrent library for java that works properly I tried Snark,but it's more of a bittorrent program than a library Tried to use the jar,but couldn't know what to do with it in netbeans I also tried Java Bittorrent API,but it's no longer being maintained,and it's still in beta Are there any libs out there other than those? T...

C++ event library

can you recommend lightweight cross-platform event recording/log library with the following features: simple interface Incremental event recording (i.e. event++) fast update customizable report out put (for example iostream) timestamps or os integration is not important in principle it is not hard to make yourself one using map with ...