I'm using sqlite for the persistent store, so could I just upload the .sqlite file to, for example, Amazon S3 as a way of providing users with the ability to backup their app data?
Then for restoring just download it back and replace the existing .sqlite file in the app's folder.
Does anybody see any issues with that? Has anyone done it? Any other suggestions on how to implement data backup feature?
Hi,
Can anybody detail some approach on how to save private data in social websites like facebook, etc. They cant save all the updates and friends list in clear text format because of privacy issues. So how do they actually save it?
Hashing all the data with user password so that only a valid session view it is one possibility. But I think there are some problem with this approach and there must be some better solution.
I have a data Table with numbers formatted according to the current regional settings. ie ( in French decimal separators are ',' instead of '.' in English). I need to export it to XML. Numbers in XML needs to be formatted according to the current regional settings.But now numbers in XML are formatted in English.Is there any way to make the number formatting in XML according to current regional settings ( or based on the locale of the Data Table) during the exporting process ?
what data type shld i use for data that can be very short, eg. html link (think twitter), or very long eg. html blog post (think wordpress)
i am thinking if i use varchar(4000), it maybe too short for a html formated blog entry? but if i use text, it will take up more space and is less efficient?
Hello all, complete newbie here,
I need to find a way to store 250 KB of plain text numbers inside my program's executable file.
Usually, I would put the data in a separate file and let the program read it while it is running, but that's not an option here. Instead, the program and the data need to be in one executable file.
I have absolutely no idea how to do it (except writing 250.000 #defines :-) and I'd appreciate any suggestions.
Thank you very much!
Hey everyone,
I'm on a roll today with questions.
I'm starting out with Dependency Injection and am having some trouble injecting a dependency into a base class.
I have a BaseController controller which my other controllers inherit from. Inside of this base controller I do a number of checks such as determining if the user has the right privileges to view the current page, checking for the existence of some session variables etc.
I have a dependency inside of this base controller that I'd like to inject using Ninject however when I set this up as I would for my other dependencies I'm told by the compiler that:
Error 1 'MyProject.Controllers.BaseController'
does not contain a constructor that
takes 0 argument
This makes sense but I'm just not sure how to inject this dependency. Should I be using this pattern of using a base controller at all or should I be doing this in a more efficient/correct way?
E.g. what "Use Core Data for storage" checkbox option means when creating new Window or Navigation based project?
How to add Core Data for Tab Bar Application?
How to initialize managedObjectModel, managedObjectContext, persistentStoreCoordinator?
I have tried the merge function to merge two csv files that I imported. They both have the same variable names and data types but each time I run merge all that I get is an object that contains the names of the two data frames. I have tried the following:
# ex1
obj <- merge(obj1, obj2, by=obj)
# ex2
obj <- merge(obj1, obj2, all)
and several other iterations of the above.
Is merge the correct function?
If so, what am I doing wrong?
How do I create an instance of a "labelled fields data type"?
data InputData = InputData { events :: [Event], newResources :: [Resource] }
myInputData :: InputData
myInputData = ???
Does anybody else have this same problem, when you import data from Excel file to MSSQL Server 2005, if some column contains mostly numeric data, but even if you set the column type to varchar, the wizard fails to import those fields that fail to parse as numbers?
I plan to use java.util.zip to compress http post data when sending it from a java client to the server(java servlet in this case).
is this the best approach for reducing data load?
should I use gzip as the compression alg?
Hello
I'm using C#.Net and have a base form that is inherited by several forms.
Until yesterday, when the child (derived) form was opened in the designer the base forms controls would be displayed and shown as locked.
Now, however the form is simply blank. None of the base forms controls are visible in the designer. Everything compiles, builds and runs OK.
Has anyone else seen this?
I've tried placing a call to the base forms InitializeComponent method in the derived forms OnLoad method but to no avail.
In my last question i asked how to best send a string from one view controller to another, both which were on a navigation stack:
http://stackoverflow.com/questions/2898860/pass-string-from-tableviewcontroller-to-viewcontroller-in-navigation-stack
However I just realised I can either pass the path to the file in the app's document's folder as the first (the table view) has already accessed the data in the file should I pass viewcontroller the data to the pushed VC?
I am writing an application that needs to read a data field on another Delphi program and I do not have access to the source code of the 3rd party program. The data field contains the "foreign key" to a record I need to retrieve or create in my application.
I would appreciate any links to knowledge or components that will help me with my program.
I work for a transit agency and I have large amounts of data (mostly times), and I need a way to filter the data using two textboxes (To and From).
I found jQuery quick search, but it seems to only work with one textbox.
If anyone has any ideas via jQuery or some other client side library, that would be fantastic.
Hello!
I have a desktop program which uses an embedded database mechanism. For the first time a user will execute a program, it must create a database. So that, next time there is a database and there is no need to create it.
Please, tell me, how to chech if there is a necessary database.
Another newbie question: What's the best way to store data in a Cocoa application written in Obj-C? For example if I want to create a sort of "quizzer" that quizzes the user with pre-written (and user-written) questions? How would I store these questions and answers? Core Data?
Thanks!
Dear ladies and sirs.
I need to convert an array of bytes to another base, namely 85. In math terms the question is how to convert from base-256 to base-85 in the most efficient way?
This question is inspired by my previous question - http://stackoverflow.com/questions/2827627/what-is-the-most-efficient-way-to-encode-an-arbitrary-guid-into-readable-ascii-3
Thanks.
Hi,
I have a sharepoint List.We will get the data from TEAMCENTER from there we will enter manually into the List.
Inorder to automatically update the sharepoint List with Teamcenter data is there any way????