library

How do I determine the target architecture of static library (.a) on Mac OS X?

I'm interested in verifying if a given iPhone static library has been built for ARM or Intel. Its more curiosity than anything. Is there some kind of Mac OS X or BSD specific tool to do this? This post gives an example in Linux. ...

How to check available Python libraries on Google App Engine & add more

How to check available Python libraries on Google App Engine & add more? Is SQLite available or we must use GQL with their database system only? Thank you in advance. ...

Tiny C++ cross-platform GUI toolkit

Which C++ cross-platform GUI toolkit gives smallest footprint with both static and dynamic builds? I don't need a very sophisticated GUI, just basic controls & widgets. Thank you in advance. ...

How to read EMF - Enhanced metafiles?

Does anybody know of a library or a piece of code that can read EMF (Enhanced Metafiles). Ideally it would convert an EMF to a list of drawing commands and objects? ...

Are any MP3 encoder libraries PIC microcontroller compatible?

I know that are many MP3 encoder libraries, but any of them could work on a PIC microcontroller? ...

A good TDD-Friendly .NET file IO library

As many of you know, the System.IO namespace is abysmally designed. I would like a free library that wraps the file IO functionality in a sane way (read: doesn't require you passing strings all over the place). I remember reading some time ago that there is a small handful of these libraries already written (and the author was surprise...

Reusable library to get human readable version of file size?

There are various snippets on the web that would give you a function to return human readable size from bytes size: >>> human_readable(2048) '2 bytes' >>> But is there a Python library that provides this? ...

How can I use flex on windows?

I'm trying to compile a project on windows and it uses flex/bison. Compiling the flex and bison files went fine after I installed MinGW, but when I get to the final step of the build of: g++ -o hexciting CommandParser.tab.o CommandParser.yy.o Command.o -lfl It says the library can't be found. After some time on google, I tried chang...

Cross-platform encryption container library

Hi, I have a need for a cross-platform (hopefully C) library that can create and mount encrypted filesystem containers. The same functionality of TrueCrypt but as a library so I would not have to externally include and invoke the Truecrypt executables. Any alternate suggestions or solutions are also very welcome. Thanks! ...

"Unresolved text symbol" -- how do I find the right library

Please pardon the newbie question, my C is very, very rusty. Trying to build xrunclient from http://www.leftfield.org/~dd/sw.html, on IRIX64, I'm confronted with: ld32: ERROR: 33 : Unresolved text symbol "XOpenDisplay" I figure this is because it can't find the proper library, but it finds the header files without complaint. How can I ...

Are there any .NET Graphics Calculate Libraries?

Sorry for my bad English. I want to find a Calculate Library not a Drawing Library to help me do some graphics calulation like Bezier's length, point on Beziers or other metadata. Is there any library like this? ...

Good C++ string manipulation library

I'm sorry for flaming std::string and std::wstring. They are quite limited and far from being thread safe. Performance wise, they are not that good too. I miss simple features: Splitting a string into array/vector/list Simple & intuitive case-insensitive find & replace Support for i18n without worrying about string or wstring Conversi...

C++ OpenGL Window and Context creation framework / library

I'm searching for an multi platform OpenGL framework that abstracts the creation of windows and gl contexts in C++. I'd like to have an OO representation of Window, Context & co where i can instantiate a Window, create a Context and maybe later set the window to fullscreen. I'm thinking about implementing this myself for xgl, wgl and ag...

Is there an easy way to display playing cards in a WinForms app?

I am writing a quickie BlackJack Winforms app to demonstrate a couple of concepts. The engine itself is fairly simple, however, I'd like to display actual playing cards on the WinForm. Is there a library out there that I can use (preferably free) that allows the display the cards. There is, of course, the cards.dll from way back in th...

Current image scroller replacement with JavaScript library

I am currently using javascript to implement a javascript scroller on my webpage. However, this is not compatible with any DOCTYPEs and instead displays a stationary picture. I was wondering if any one had any idea how I would implement this using jQuery, Mootools or any other such library. The sites are detailed below with and without a...

System("pause"); - Why is it wrong?

Here's a question that I don't quite understand: The command, System("pause"); is taught to new programmers as a way to pause a program and wait for a keyboard input to continue. However, it seems to be frowned on by many veteran programmers as something that should not be done in varying degrees. Some people say it is fine to use. Som...

creating a DLL in Visual Studio 2005

Hi, I am developing a C++ library that I want to pass on to my team. The library has just one class with a bunch of methods. So, I have developed the class definition file (X.cpp) and a corresponding class declaration file (X.h). Here are my questions -- In Visual Studio 2005, whats is the most straight forward way to build this l...

How to include a python .egg library that is in a subdirectory (relative location)?

How do you import python .egg files that are stored in a relative location to the .py code? For example, My Application/ My Application/library1.egg My Application/libs/library2.egg My Application/test.py How do you import and use library1 and library2 from within test.py, while leaving the .egg libraries in-place? ...

Does python have a sorted list?

By which I mean a structure with: O(log n) complexity for x.push() operations O(log n) complexity to find an element O(n) complexity to compute list(x) which will be sorted I also had a related question about performance of list(...).insert(...) which is now here. ...

(Rails) Reloading "lib" files without having to restart server...?

Hi All, Is there any way in Rails to have the ENV reload "lib" files without having to restart the server? I'm working with some classes that I have inside a module in "lib". However, in order to see my changes I must restart the server each time. I'm guessing this is the way Rails is intended to work, but it is quite tedious when de...