data

Sending data in a GTK Callback

How can I send data through a GTK callback? I've Googled, and with the information I found created this: #include <gtk/gtk.h> #include <stdio.h> void button_clicked( GtkWidget *widget, GdkEvent *event, gchar *data); int main( int argc, char *argv[]){ GtkWidget *window; GtkWidget *button; gtk_init (&argc, &argv); wi...

How do I use Amazon's new RRS for S3?

Reduced Redundancy Storage (RRS) is a new service from Amazon that is a bit cheaper than S3 because there is less redundancy. However, I can not find any information on how to specify that my data should use RRS rather than standard S3. In fact, there doesn't seem to be any website interface for an S3 services. If I log into AWS, there ...

Create a dataset: extract features from text documents (TF-IDF)

I've to create a dataset from some text files, writing them as vectors of features. Something like this: doc1: 1,0.45 6,0.001 94,0.1 ... doc2: 3,0.5 98,0.2 ... ... each position of the vector represent a word, and the score is given by something like TF-IDF. Do you know some library/tool/whatever for this? (java is better) ...

jQuery: How to fire event when all asynchronous calls return?

I have a jQuery application that loads data from five asynchronous server calls. I do not want to display any data until all five calls return. (I plan on displaying a Loading message until that happens.) How can I detect when all five calls have returned? I considered having each callback method increment a variable (using jQuery's dat...

a Problem to pass a string between 2 view controller (iPhone)

my problem is quite simple, but as a beginner, I'm lost :D I have to view controller : view one call view 2 like this : self.FacebookTypeRequest =@"favoris"; FaceBookViewController *viewcontrol = [[FaceBookViewController alloc]initWithNibName:@"FaceBookViewController" bundle:[NSBundle mainBundle]]; viewcontrol.title = @"FaceBook"; ...

Validating entered user data

Hello, this is a general question but I do a desktop application. Should I check for example the firstname exceeding 50 chars or is this a matter of taste? Or should I check for > 50 chars because the user could flood my database with 10000000 chars ? EDIT: Seems I made the ball rolling... I should have said, that the firstname/last...

Using iframe to load Video Chat Page from different Web Address is a best option to saves the CPU usage of Host server?

I have a Social Community Website and I want to add Video Chat,but if i add directly video chat in my WebSite then it will slow down my web server. for example. http://welinked.com/myvideochat.php if i load my Video Chat program in this page in WeLinked Domain,then it will slows down the other features of my website,and CPU usage of t...

Saving files in cocoa

Hello, Im sure this is a really easy to answer question but I'm still new to cocoa. I need to save my applications data. The app has 4 text fields and each field needs to be saved into one file. Then when you open the file it needs to know what goes in what field. Im really stuck with this. Also, I do know how to use the save panel. Tha...

Cannot update any cells in datagrid in vb6

Hello I'm trying to update a row in datagrid but the problem is that i can't even change its cell values I had set my datagrid AllowUpdate property to true , but i can't still change any cell values Option Explicit Dim conn As New ADODB.Connection Dim cmd As New ADODB.Command Dim recordset As New ADODB.recordset Public Action As String ...

Scientific Data processing (Graph comparison and interpretation)

Hi stackoverflow friends, I'm trying to write a program to automate one of my more boring and repetitive work tasks. I have some programming experience but none with processing or interpreting large volumes of data so I am seeking your advice (both suggestions of techniques to try and also things to read to learn more about doing this s...

problem with sortrows MATLAB

Hi, My question is related with the previous solved question in http://stackoverflow.com/questions/2925623/how-to-save-data-in-txt-file-in-matlab. my problem is that, I decided to unsorted the output, however this error comes out when I removed the sortrows---'Input files have different number of rows' And no error when I leave the so...

Getting started with massive data

I'm a math guy and occasionally do some statistics/machine learning analysis consulting projects on the side. The data I have access to are usually on the smaller side, at most a couple hundred of megabytes (and almost always far less), but I want to learn more about handling and analyzing data on the gigabyte/terabyte scale. What do I n...

using merge sort for a doubly linked list with its pointer

Hi I want to sort a doubly linked list with its pointer and using merge sort algorithm,would you please help me that how can i do that? is there any link that have such a code? thanks ...

creating instance of labelled fields data type

How do I create an instance of a "labelled fields data type"? data InputData = InputData { events :: [Event], newResources :: [Resource] } myInputData :: InputData myInputData = ??? ...

How do I populate a MEF plugin with data that is not hard coded into the assembly?

I am working on a program that will communicate with various pieces of hardware. Because of the varied nature of the items it communicates and controls, I need to have a different "driver" for each different piece of hardware. This made me think that MEF would be a great way to make those drivers as plugins that can be added even after...

What frameworks exist for data subscription and update?

There is one server with multiple clients. The clients are viewing subsets of the servers entire data. If the data that a client is viewing changes, the client should be informed of the changes so that it displays the current data. Example: Two clients are viewing a list of users in an administration screen. One client adds a new use...

How to capture data from camera NOT using DirectShow?

How to capture data from camera with out using DirectShow? (in C# on windows ) ...

Is there any Open Source DirectShow Data to Server filter?

Is there any Open Source DirectShow Data (bites) to Server ( to http://url:port/) filter? ...

How to treat RAM data as if it was a real file?

So I have some temp data in my program (in RAM). I want to somehow make it seem as it is a file (for example for sending it into another program which takes a file link as argument)? Is it possible? How to do such thing? ...

Looking for a list of free data api's and web services

I'm wondering if anybody has come across a comprehensive list of free sources for data (as a web api) or web services. I'm looking to start a new project to tinker with in my spare time and I am wondering what interesting data is available to play with. It seems like many api services such as last.fm or google search don't exist or are...