libraries

frameworks for coding a php library?

there are plenty of frameworks for coding MVC web applications. this time im going to code a library (think of Doctrine or Solr) with a bunch of class files. u just include a bootstrap or a class file and you are ready to use my classes. i have never tried to code a library before and intend to code one for learning purpose so that i c...

GHC 6.12 and MacPorts

I recently installed (from the binary installers) GHC 6.12 and the Haskell Platform 2010.1.0.1 on my Intel MacBook running OS X 10.5.8, and initially, everything worked fine. Edit: I had to install cabal, alex, and happy from source, but after that, everything did seem to work fine. However, I discovered that if I use cabal install to ...

where to put business logic in a library?

i'm going to create a library that consists of a lot of separate classes. i'm very familiar with mvc but have never created a pure library before. i wonder where i should put the business logic? the kind of logic that usually resides in a controller in a mvc. should it be in a class or in a "bootstrap" file? and should one file inclu...

Electroserver to Smartfox migration help

I've got several demonstration programs that use Electroserver, but I'd also want to test the same code using Smartfox. What is the most straightforward method to do this kind of migration? I know the types of classes that need to be changed, but since the terminology is slightly different in both libraries, it's difficult to make a smoo...

How to add libraries in C++?

Yea this is a dumb question... However in both of my C++ classes we did not do this at all (except for native libraries: iostream, iomanip, etc.)... My question is can anyone provide a link that gives the general explanation of adding libraries to C++? I do realize what what #include means; it's just I have no clue on the linker/direct...

What C++ library do I need to get this program to compile

When I try to compile my program I get these errors: btio.c:19: error: ‘O_RDWR’ was not declared in this scope btio.c:19: error: ‘open’ was not declared in this scope btio.c: In function ‘short int create_tree()’: btio.c:56: error: ‘creat’ was not declared in this scope btio.c: In function ‘short int create_tree(int, int)’: btio.c:71: e...

How to pack python files and its dependencies in a single executable file?

I've got a piece of software which consists of several python sources and a couple of c++ libraries. I'd like to pack them in a executable single file, just like java does with .jar files. Is there a way to do that? ...

Range subtraction in the Excel Object Model

When using Excel Interop libraries from .NET, I can find a Range object representing the cell offset from Range X by calling something like. Range Y = X.Range[2,3]; But what should I do to perform the inverse operation, ie: I have two Range objects, A and B, and I would like to find out by how many rows/columns B is offset from A. D...

Does a simple delphi form app needs any libraries or dependencies to deploy?

I need to code a simple form application and I want to make it easy to deploy (without installing libraries or dependencies), I don't want to use visual studio cpp or csharp because clr apps compile with .net frameworks and I have no much experience with mfc and dialogs. So I was wondering which libraries does a simple delphi vcl forms ...

Do you know of any python mapreduce ready clustering libraries?

Do you know of any python mapreduce ready clustering libraries? I have found some good libraries in Java (http://lucene.apache.org/mahout/), I'd prefer to use python though. http://wiki.github.com/klbostee/dumbo/ (Python mapreduce API ) Edit --- I'm looking for mapreduce ready : Canopy, K-means, Means-shift,etc.. ...

Silverlight audio components

Do you know any good commertial or free audio / sound components that can be used in Silverlight (better on the client)? Desired features: visualizing (waveform, peakform etc., zoom, editing volume, pan, start and end markers etc.) editing (channels: volume, pan, mute, fading, etc., merge, cut, copy, paste, etc., effects) mixing di...

What module(s) do I need to include to get 5.seconds to work in Ruby?

Because apparently require 'date' doesn't include the method hours or seconds etc: undefined method `hours' for 5:Fixnum (NoMethodError) Am I missing something? Is 5.seconds only something you can do in Rails? If so, what is the require statement I need to get this to work in a ruby script? ...

Including java libraries to Tomcat inside Eclipse

I am running Eclipse with Tomcat 5.5. My dynamic web site project includes some JAVA code that needs external jar files. Where should I place those jar files so Apache will not giving me errors such as java.lang.ClassNotFoundException ? Thanks on this. ...

Guide for extern libraries etc

Do you know the guide how to compile extern libraries and source codes into one file with netbeans ? ...

actionscript 3.0 garbage collection with casalib ?

I would love to see an actual example how to use the casalib-garbage-collection. I used the destroy method like in the description: casa-lib description If I have a Loader in a Subclass, do I also have to use the CasaLibLoader? Do I have still to care about all Instances/Eventlisteners to do proper garbage collection? If yes, whats the ...

What do these errors mean? ISOC++ forbids assignment of arrays...

I'm trying to compile some code on one of our systems for our DBA...I've edited the makefiles to include the pertinent libraries listed in the documentation, but I keep getting these errors... Can you discern any obvious problems from my command lines in reference to the errors listed? Thank you! make -f /u01/app/banner/ban8/TEST3/link...

Do lists of recently added, not recently updated, perl/php/python/ruby/etc. modules exist?

For many programming languages, there are centralized sites (ex. CPAN, PEAR, PyPi, RubyGems, etc.) which list recently updated (existing plus newly added) modules, but I haven't seen any site which allows you to list only recently added/created modules. Can anybody point me to such a site/service? ...

rvm and different versions of a system library

I need to run a set of tests against the same ruby version and same gemset but with different versions of a .so library. Therefor I need to have two ruby installations (for the same version 1.8.7), each one pointing to a different set of .so files. How can I do that? Gemset usage is already too late because library binding is done when...

jQuery code generation lib

I was curious if there was anything for say PHP or Python that was able to generate jQuery components by using calls to a library. So something like this: import jQueryLib Tabs tabContainer = new Tabs(); Tab page1, page2, page3; page1.content = "bleh"; ... tabContainer.children.add(page1); tabContainer.Render(); Does anyone know o...

Programming tools to calculate physical forces

I would like to calculate the forces involved with physical constructions and I am looking for a tool that can do this for me. It would be great if the tool had a programming interface as I would like to use it for automated design. ...