data

Most meaningful way to compare multiple time series

I need to write a program that performs arithmetic (+-*/) on multiples time series of different date range (mostly from 2007-2009) and frequency (weekly, monthly, yearly...). I came up with - find the series with the highest freq. then fill in the other series with zeros so they have the same number of elements. then perform the operati...

Model & Mapper relationship

Hi there, I currently work on a small application with models, mappers and controllers. My question is, (because I did not found any matching answer), how does the mapper interact with the model (& the controller), when we have the following situation. $user = new UserModel(); $user->setId('21'); $userMapper = new UserMapper($user); $u...

ASP.NET Dynamic Data - Filters | how to default filter of users to current user

I am using Dynamic Data Web Entities Application website and need control of the dynamicfilters placed on the PageTemplates/list.aspx page. I have a table using the default PageTemplates/list.aspx view and this table has a foreign key to a table of users. The foreign key is showing up in the filters correctly but I want to default the f...

MVC Entity Framework state behavior with multiple instances of an entityset

I'm trying to understand the relationship between entityset instances of an EF Entities model (the model was created by Entity Designer). Basically I end up with 1 logical transaction having 2 instances of an entity's Repository class. Data committed successfully (confirmed by direct SSMS query to SQLServer) in one instance does not be...

Data expiration

I developed an application where the user can create tasks (like a an agenda, ERP or CRM) So, the user creates a task and that task has an expiration date. The idea is to erase the entry when the task expires. I've been thinking solutions, like having a timer and so, but: There is any method or way to create data that expires?? I mean,...

How to develop for player 10.1 beta?

I've been waiting for the day that flash gets access to raw audio data. That day is now, but i'm not sure how to get 10.1 working in CS4. I have 10.1 installed and a function bound to the mic's "SampleDataEvent.SAMPLE_DATA" but my "micSampleData" function is not being called. var mic = Microphone.getMicrophone(); Security.showSettings(S...

Data source for all the roads in the world?

For no reason in particular, I'm curious what the expected number of feet you would have to walk to find the nearest road is, starting from a random point on the world, facing a random direction. I can write a program to compute this value, given the right data source. Is there any data source containing all the roads in the world? For ...

Writing data chunks while processing - is there a convergence value due to hardware constraints ?

Hi, I'm processing data from a harddisk from one large file (processing is fast and not a lot of overhead) and then have to write the results back (hundreds of thousands of files). I started writing the results straight away in files, one at a time, which was the slowest option. I figured it gets a lot faster if I build a vector of a c...

How would I optimize this database design?

I am creating an application which generates statistical information for a pupil's performance over their school career. To achieve this, I need to store every grade ever attained by a pupil. But I have no idea how to optimally store this information. This is a preliminary design, but don't know how it will hold up in practice. So ea...

how to read data from serial port in vb.net ?

I am trying to read data from rfid tag using rfid reader. i can connect reader, but cannot get data? ...

Share cookie/data between multiple domains and swf's

Hi, I am trying to create a login system where a user would be able to login inside of one flash game on say, example.com, and then that same login data would be preserved for all the games on example.com and also the games on foo.com and bar.world.com I am new to shared objects in flash so if anybody knows of a way to do this in either...

How to use the same info across multiple forms

I am working on my first C# program and have run into a brick wall. I want to be able to set and get variables throughout diferent forms in the same application. I created a class caleld "data" which contains the following: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Application1 { ...

Is it better to use mysql or files to store data?

I'm wondering if it's better to use mysql or use files to store data? What is safer, what is faster? I'm talking about php and mysql. ...

add txet to report

i have a form it has combox and txet1,txet2, and buttun when the user press on buttun it will open a report depending on what user inter on text1 and text2 and what user chois from comboox i work with visual studio 6 ,crystalreport9 ...

What are the methods available in storing sequential files?

I have certain doubts about how the sequential files are stored and I would like to know about it. ...

finding the best trade-off point on a curve

Say I had some data, for which I want to fit a parametrized model over it. My goal is to find the best value for this model parameter. I'm doing model selection using a AIC/BIC/MDL type of criterion which rewards models with low error but also penalizes models with high complexity (we're seeking the simplest yet most convincing explanat...

Too many data points in set. Looking for ways to prune.

I am gathering data from a website. I estimate to get 10.000 datapoints (time - value) multipled by seven - over time. That is way to much. Both for storing and plotting it in a real time alike graph (through jQuery flot). I'm looking for a text dealing with this sort of problems. To be more precise: algorithms, statistical math for find...

MySQL - Ideal Field Type For Fixed Width Binary Data

If I want to store binary data (hash values) and they're always 128bytes long, what field type should I use? BLOBs are nice, but they aren't fixed width (and result in dynamic tables).. CHAR requires a charset. ...

How to save data from version to version in iphone app development?

Hi, everyone. I'm new here. Now I'm having a problem for my app, a chinese-english dictionary. I'm now adding a wordbook for it, and try to save the contents of it to a plist every time users exit the app. But now I find that as my app updates, all these data will get lost because the path of the app is changed. I'm now working for a co...

Portlet Data sharing using liferay and icefaces

Am using liferay 1.8.2 and liferay 5.2. I have many portlets in differnt war files and I tried the examples in the liferay docs as to how to share data between differnet portlets across multiple wars with no succcess. 1) With sesssion sharing , I was not able to get the data from the first portlet to the second portlet, even thou the d...