uses

What Can A 'TreeDict' (Or Treemap) Be Used For In Practice?

I'm developing a 'TreeDict' class in Python. This is a basically a dict that allows you to retrieve its key-value pairs in sorted order, just like the Treemap collection class in Java. I've implemented some functionality based on the way unique indexes in relational databases can be used, e.g. functions to let you retrieve values corre...

MySQL process uses more than 100% CPU usage and need about 1 GB of memory

I am running MySQL server on the server's which has following specifications - Dual Xeon Quad Core 2.0, 2048 MB RAM, 1x 160 GB SATA Fedora Core + SSH But MySQL process for inserting 10000 records take more than 100% of CPU and up to 1 GB of RAM. It's a plain insert statement. Why is MySQL is taking so much of memory and what can done...

Why should I learn COM?

Hello, Lately I'm hearing much about COM at my work. I also learnt that COM is old. COM is deprecated. There is no future for COM. Are these true too? I'm want to learn COM because I want to know what is the big fuss about it, but I'm unable to convince myself that this is a solid reason for spending so much time and learning it. So,...

(Model/View/Controller)MVC

what is the MVC and why i use it in Struts ...

Practical uses of trig functions

What are some practical applications of sine, cosine, arc sine, etc. Can you distort images, calculate special values, or other stuff? Any opinions of the most used/important? ...

Practical use of N-Dimensional Arrays,where (N>3)

I have been programming for the last 8 years and now I was just wondering that if there is any practical use of N-Dimensional array,where N>3.I can only visualize of a data structure that is less than or equal to 3 dimensions.Has any one used more than 3 dimensions in any program?Are there any practical uses of a N-D array which is beyo...

Including client files for shared file

Okay, so I have 2 projects for a game. One is the server and one is the client. I keep the shared units into a shared folder that I use to include in my client/server project. There is a problem however: I have a shared file that needs a different file for client / server. Example: mySharedLib needs to print to the console, however the c...

Custom uses-library for our own system app

Hi, I need to make a system library (will be embedded in the system image on some phones). It needs to be used with the "uses-library" feature. (just like Sprint created such a system library for their Evo 4G front-facing camera support) My question is: - How can I create such a project? (I'll need to create a stub to link against and ...