Hi,
I've described my model using an Ado Entity Data Model file (*.edmx), and i wish now to generate my db schema and tables from it. Is it possible?
Thanks
Hello,
I would like to know if there are some libraries/algorithms/techniques (python, if at all possible) that help to extract features from accelerometer data (extracted from and android phone, btw), like periodicity of movements, energy of acceleration and the like. Has anyone done this kind of task before?
Thank you very much in advance :)
I am looking for application/software that will help me in scraping data from yellow pages, jigsaw and other similar kind of websites. I want to collect info like contact details/ name designation and email address.
Please advice some software that will be able to do so, the price i am looking should be affordable or preferably free.
Hi,
I have a Core Data Entity which has three properties startDate, endDate and duration. All three properties are persistent properties. I would like to know how I can calculate and update the duration property whenever the value for startDate and endDate changes?
BTW, I won't be able to make the duration as transient property since I have to use the property for sorting in my table view?
Any help is greatly appreciated
Thanks,
Javid
hi,
i would like to compare numeric data in rows. for eg, i have a table that has a column as such:-
Number
======
1.88
9.99
8.76
9.88
I want to compare 2nd value, 3rd value, 4th value to the 1st value. And then 3rd, 4th value to the 2nd. then 4th to 3rd.
How can i construct an sql to do this?
I have a to-many relationship in my data model, and I'd like to get all the objects that have no corresponding objects in the relationship. For example:
Customer - Purchases
I want to get all Customers that have 0 Purchases.
I've read somewhere that I could use "Purchases[SIZE] = 0", but this gives me an unsupported function expression error, which I think means it doesn't work with a SQLite backing store (which I don't want to switch from, due to some performance constraints).
Any ideas?
Hi,
I am using a UIDatepicker with only "Time", I save the time in a NSDate object type, however when I try to store the Object in core data I get an error saying its not a NSDate type...
*tt = [pickerTime date];
[myObject setValue:tt forKey:@"time"];
Thanks,
I have the following file like this:
2 qid:1 1:0.32 2:0.50 3:0.78 4:0.02 10:0.90
5 qid:2 2:0.22 5:0.34 6:0.87 10:0.56 12:0.32 19:0.24 20:0.55
...
he structure is follwoing like that:
output={}
rel=2
qid=1
features={} # the feature list "1:0.32 2:0.50 3:0.78 4:0.02 10:0.90" output.append([rel,qid,features])
...
How can I write my python code to load the data, thanks
Hi, I feel this is something to do with my httpd setup for apache. I'm using mod_rewrite if that helps but I think that only effects the url.
It seems when I output some data such as:
$sMessage = 'Error';
echo $sMessage;
It works fine but when I do this:
$sMessage = 'Error';
echo ''+$sMessage+'';
It returns 0. Very odd!
I'm looking for the full list of supported linq extension methods that are compatible with WCF Data Services.
By trial and error I've found First() and Single() aren't supported, any others?
This gives me a pretty good idea of whats supported, I just don't know whats actually translated via the IQueryProvider.
i try to geht the data from a xml file and i have troubles to get data,
for example, how can i get the caaml:locRef value or the caaml:beginPosition value?
here is the code so far:
/* a big thank you to helderdarocha */
/* – he already helped me yesterday with a part of this code */
$doc = new DOMDocument();
$doc->load('xml/test.xml');
$xpath = new DOMXpath($doc);
$xpath->registerNamespace("caaml", "http://caaml.org/Schemas/V5.0/Profiles/BulletinEAWS");
if ($doc->schemaValidate('http://caaml.org/Schemas/V5.0/Profiles/BulletinEAWS/CAAMLv5_BulletinEAWS.xsd')) {
foreach ($xpath->query('//caaml:DangerRating') as $key) {
echo $key->nodeValue;
print_r($key);
}
}
and here ist the print_r from $key
DOMElement Object ( [tagName] => caaml:DangerRating [schemaTypeInfo] => [nodeName] => caaml:DangerRating [nodeValue] => 2014-03-03+01:00 2 [nodeType] => 1 [parentNode] => (object value omitted) [childNodes] => (object value omitted) [firstChild] => (object value omitted) [lastChild] => (object value omitted) [previousSibling] => (object value omitted) [nextSibling] => (object value omitted) [attributes] => (object value omitted) [ownerDocument] => (object value omitted) [namespaceURI] => http://caaml.org/Schemas/V5.0/Profiles/BulletinEAWS [prefix] => caaml [localName] => DangerRating [baseURI] => /Applications/MAMP/htdocs/lola/xml/test.xml [textContent] => 2014-03-03+01:00 2 ) 2014-03-04+01:00 2
and here a part of the xml
<caaml:DangerRating>
<caaml:locRef xlink:href="AT7R1"/>
<caaml:validTime>
<caaml:TimePeriod>
<caaml:beginPosition>2014-03-06T00:00:00+01:00</caaml:beginPosition>
<caaml:endPosition>2014-03-06T11:59:59+01:00</caaml:endPosition>
</caaml:TimePeriod>
</caaml:validTime>
<caaml:validElevation>
<caaml:ElevationRange uom="m">
<caaml:beginPosition>2200</caaml:beginPosition>
</caaml:ElevationRange>
</caaml:validElevation>
<caaml:mainValue>2</caaml:mainValue>
</caaml:DangerRating>
<caaml:DangerRating>
<caaml:locRef xlink:href="AT7R1"/>
<caaml:validTime>
<caaml:TimePeriod>
thanks!
What are the main differences, advantages and disadvantages between both? Also under which categories do the most common data structures fall? And how could I know in which situation to use each?
Thanks
I'm in need for a data structure that can handle small sets (10-20 strings, at most 50, of varying length) very fast. False positives is ok, but false negatives are not.
The last requirement makes bloom filters seem like a good fit, but I'm not sure about their speed, any other recommendations?
Ey guys, I have been searching for some sample code on how to store an NSArray in Core Data for awhile now, but haven't had any luck. Would anyone mind pointing me to some tutorial or example, or better yet write a simple sample as an answer to this question? I have read this but it doesn't show an example of how to go about implementing a transformable attribute that is an NSArray. Thanks in advance!
I have learnt c and c++ programming languages.i have learnt data structure too. Now i'm confused what to do next?my aim is to be a good programmer. i want to go deeper into the field of programming and making the practical applications of what i have learnt. So,the question takes the form-what to do next?Or is there any site where i can see advantage of every language with it's features? sorry,if there's any language error and thanks in advance.
Nowadays most programmers know about code refactorings.
What about refactorings of data structures, are there any good readings about it?
One paradigm that I can think of is the normalization process of a relational database.
Are there any other good examples?
I have a Core Data entity which has a date attribute. I would like to write a predicate to extract all dates within a specific month, e.g. July, irrespective of year. How can this be achieved? Thanks
I have a Core Data entity which has a date attribute. I would like to write a predicate to extract all dates within a specific month, e.g. July, irrespective of year. How can this be achieved? Thanks
I execute a core data fetch which specifies a predicate as follows:
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"identifier IN %@", favoritesIDs];
When there are duplicate items in the favoriteIDs array, the fetch request only returns 1 managed object. How can I ensure that more than one instance is fetched? Thank you.
The goal is to have an application that runs in the system tray and can either accept user input from its actual GUI (which isn't the actual issue) OR accept command line parameters (that would actually be done via a context menu in windows explorer). Now, while I'm aware that the command line parameters are not exactly possible once the application has started, I need a way to pass data to the already running application instance via some form of handler. I'm thinking maybe define and raise some sort of event?
Thanks in advance.
i ve been tryin to find an soln to a question that i m unable to get for few days... the prob s that the data has to be taken from datagrid and should be passed to another class and in that class i have to store in database..
plz guyz
help me out
thanx in advance..
I have a problem passing data between view. I can pass my NSMutableArray easily using :
DetailViewController *detailNote = [self.storyboard instantiateViewControllerWithIdentifier:@"detailNote"];
detailNote.ArrayItem = [allAnotacionsEntries objectAtIndex:indexPath.row];
[self.navigationController pushViewController:detailNote animated:YES];
but I want to pass additional NSMutableArray to the view and i don´t know how to do it.
Please anyone can help me ?
Thanks
I'm working on a really simple python package for our internal use, and want to package it as a .egg file, and when it's installed/used I want it to access a text file that is placed in an appropriate place on the computer.
So where is the best place to put application data in python? (that is meant to be edited by users) How do I get my python package to automatically install a default file there?