data

Is there a Python package to parse readable data files with sections

I am looking for a method to parse readable (i.e., not binary) data files with sections. I had been using ConfigObj to read config files (INI files?), but I ran into a problem with multi-line lists. Specifically, ConfigObj does not allow list members to contain carriage returns. In other words, the following fails to parse: [section] d...

how to create a data structure with run time limits

hello i need to implement a data structure that supports insertion deletion and search in O(log(n)) and extracting a special object in O(1) my Data structure needs to hold vehicals sorted by their ID and every vehical got a field which represents the time until the next care. i need to extract the vehical that needed to be cared next in...

jqGrid caching the grid data

I have a button onclick it should go to a another page containing jqGrid..but if user want to go and see the data it should be cached and show instead of making a call to the server.... form values were cache by default but jqGrid ...how to cache it? ...

.NET/MVC2 data caching using Entity Data Models

I am having a strange caching problem and I believe it might be related to the fact that I am using a Entity Data Model as my data source. The problem is that I can update the database directly and it doesn't reflect on the actual site until I republish the project. The data does display properly when viewing the project locally. The o...

Where to get/extract relational data on administrative regions of the world?

Hi all, I'm working on a web-application that operates on services. Every service is normally provided over some (possibly several distinct) geographical domain(s) like city, county, region, state, country or worldwide. Typical tasks: users will submit their location as lng,lat and I will need to find what are the services availabl...

Move Data from one table to another using on update trigger

Hi All, I New in DB development. Please help me create trigger for moving data from one table to another. I have two tables one is containing "Transaction Status" from where I want to move records on transaction status change into another table having completed transactions. so the value in one table will get deleted and will get insert...

Sequentially distribute data from a list to arrays of different weight

How to, Sequentially distribute data from a list to arrays (or some other structure) of fixed size/weight. For example, lets say I have a list of 10 elements. I want to sequentially distribute the elements to 3 arrays A, B, and C. The arrays are given a weight lets say A=3, B=5, and C=2. The element would be distributed in the followi...

What do I need to know about working with huge databases?

I want to know what specific problems/solutions/advices/best-practices[don't punish me for the word] are arising while working with huge databases. Under huge I imply databases, which have tables with millions of rows and/or databases with petabytes of data. Platform-oriented answers will be great too. ...

Android General Programming

I am attempting to write an app for the Android platform which is similar to a lot of code I have written in VB and C++. I plan on using sensor data from the device and doing calculations on that data. I am still working a lot of this, but wanted to know since I was going to need access to the motion sensors of the phone, where would be ...

I cannot find template ADO.NET Entity Data Model in VS2010

Greetings, In VS2010, I cannot find the template ADO.NET Entity Data Model from the Data section. I was doing: 1. create a silverlight(version 4th) project with a WebSite 2. right click the web project, Add -> New Item -> Data Section(actually, I tried every one) But i cannot find it!! It's weird! Then, 1. I tried to reset my VS templ...

Display heirarchical data C#

I am relatively new to programming so be gentle... I am trying to develop a page to display student/class results by subject/teacher. Some classes have groups which contain students and some have only students. A subject is thought by one or more teachers. This may change in the future and I want to keep the design as flexible as pos...

C data structure to disk

Hi, How can I make a copy of a tree data structure in memory to disk in C programming language? ...

what limitations are there to creating demo accts or rather a whole position to just create test data

I was wondering if there are job titles like "Test Data Creator". Seems like the lack of data is a real hinderage to the development process. In fact, some programmers have remarked that is actually the hardest part of a project. Is there a fundamental process limitation that makes this impractical? Like for any company, once an employe...

Why would the "View Dependencies" not show foreign keys between tables on 2 databases?

I have something minor, yet very odd happening in SQL Server Management Studio 2005. I have 2 database catalogs which are essentially identical. There is a Market table with a foreign key to other several other tables for example the "Project" table has a MarketID column with an FK reference from dbo.Market. in both db catalogs the Marke...

R: Entering variables into regression function

I have this feature_list that contains several possible values, say "A", "B", "C" etc. And there is time in time_list. So I will have a loop where I will want to go through each of these different values and put it in a formula. something like for(i in ...) and then my_feature <- feature_list[i] and my_time <- time_list[i] then i put ...

How to load an DWExplorer Example (OLAP Tool)

Hi, I have downloaded the 30-day trial of DWExplorer, and I also got 2 examples files, Financial Overview.dwew and Product Overview.dwew. But whenever I open one of those 2 files, I get the following error message: 1: An error occurred while connecting to the server: -> [SourceException] -> Type [SourceErrorType]: ConnectionLost -> Sou...

how to set TestTimeout in DDT

Hi All, I'm running 100 of test cases from a xml data source using MSTest. But my test case execution never complete as few of my test cases doing something wrong. I wanted to know is there any way to specify test timeout time for individual test cases. I know in VS testrun config we can add this time. But this is for the entire test me...

Help with Coredata manual migration.

I'm using Core data in an iOS project. I have the data model setup for automatic data migration whenever I modify entity properties. But I recently made some changes to some entity relationships and now my app crashes with: "Can't find model for source store" I realize that resetting the app i.e deleting and re-installing will solve thi...

jQuery form doesn't send

I have this weird situation where my form doesn't send any data, but the page (which should only be displayed when the data is send) is shown. I have this code now [..] if(form == true){ var gender = $("input[@name='rgender']:checked").val(); var data = "name="+$("#name").val()+" $.ajax({ url: "http:...

Form File-Upload from URL or Data-URL?

Hi! Can I use an <input type="file"> field with an (data)URL? I would need something like this in an Greasemonkey-script, but it seems impossible. Or is there some way? The only working alternative seems at the moment trying to write a proxy, which replaces the file-field with an text-field for an URL, so the proxy can download the fil...