I'm making a simple 2 player game in XNA and started looking into saving the player's high scores.
I want the game to work on the XBox 360 as well as Windows, so I have to use the framework to save the data.
It seems that you save data to a particular user's gamer tag - so my question is, what to do with high scores?
Save the user's ...
It may not be a pure programming question but I'm looking for information about enCapsa. Do you know what it is, have you ever used it? I'm reading some papers about it but I can't really see how it works and what it can be used for in an IT company (and this is what i am supposed to find out).
...
I'm trying to determine how I should store historical transactional data.
Should I store it in a single table where the record just gets reinserted with a new timestamp each time?
Should I break out the historical data into a separate 'history' table and only keep current data in the 'active' table.
If so, how do I best do that? With...
What is the easiest way to handle huge numbers in C? I need to store values in the Area 1000^900...
Does anybody know of an easy way to do that? Any help would really be appreciated!
...
Hi,
Does anyone have a good suggestion on how to do video recording?
We have a camera that can record and then stream live video to a server. So this means we can have 1000's of cameras sending data 24X7 for recording. We will store data for over 7 / 14 / 30 days depending on the package.
Per day if a camera is sending data to the se...
I have a cms which stores comments against articles. These comments can be both threaded and non threaded. Although technically they are the same just with the reply column left blank when it's not threaded. My application works on sqlLite, MySQL and pgsql so I need fairly standard SQL.
I currently have a comment table
comment_id
artic...
Well if i want to store data for a application machine wide i just use
Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData)
And if i want to store data per user i use
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)
But what if i want to save data per application instance? i could use...
Current I use SQLite (w/ SQLAlchemy) to store about 5000 dict objects. Each dict object corresponds to an entry in PyPI with keys - (name, version, summary .. sometimes 'description' can be as big as the project documentation).
Writing these entries (from JSON) back to the disk (SQLite format) takes several seconds, and it feels slow.
...
Hi
I am going to develop a Windows application in .net and I will be string few values. (A max of 20 values).
What is the best way of storing this? Using SQLIte seems to be a overkill.
My.Settings seem to forget the values sometimes.
What is the best way of storing these values?
is XML okay?
...
I'm a Mac user, so I know that for Mac OS X, I'd like my games packaged up in a nice .app bundle (like Aquaria did, for example). But what is the standard on Windows? And what is the standard on Linux?
I'm relatively unfamiliar with both, but from what I understand, there's no equivalent of a Mac application bundle on either. Do users t...
Hi,
I need to store email address from a simple form (like a newsletter), but the website loading is high, I'm then wondering if I'd rather store them to a text file (eventually write a cronjob to store them each night to the DB), or store them directly to the DB ?
...
I am in the process of creating a custom membership provider for an ASP.Net MVC website. The provider is being created as a separate class as part of a bigger library. There is a need for the back-end data store to be flexible as it could be an Xml File or SQL database. My initial thought was to create an interface for the data store and...
I recently wrote some code that uses the same unsigned short to store two values, a result and an id, for example:
unsigned short data = new_id();
// result is either 0 or 1 so store it in the rightmost bit and move the id left
data = (data << 1) + get_result();
// ... later ...
// now we can print results like
printf("%u: %u\n", data &...
I am considering a web application that would have the same kind of multi user, automatic saving, infinite undo / replay capabilities that you see in Google Wave and Etherpad (albeit on a drastically smaller scale and userbase).
Before I go away and reinvent the wheel, is this something that has already been addressed as either a piece...
I'm writing an application that takes user data and stores it locally for use later. The application will be started and stopped fairly often, and I'd like to make it save/load the data on application start/end.
It'd be fairly straightforward if I used flat files, as the data doesn't really need to be secured (it'll only be stored on th...
Does anyone know of any SCM(s) (e.g. svn, git, etc) that would allow me to quickly access data as it was at a given actual time without deliberately tagging it or parsing big logs to work out what version was active at the time?
i.e.
Store values for file=X of
A (at 9am),B (at 10am),C (at 11am),D (at 2pm).
I want to be able to quickly ...
Please suggest me some good file/data storage apis, which support multiple servers.
My requirement is simple, when a user try to upload a file, it should be uploaded to server close to him.
We will write app in C#.
...
Considering the case of having a large and active user base where each user wants to store a profile picture and some additional images or other artifacts, are there any libraries or frameworks that allow for easy storage and query of such data?
A reference implementation would be Facebook's Haystack Photo Infrastructure.
The following...
I would like to know what data structure / storage strategy I should use for this problem.
Each data entry in the database consists of a list of multiple ordered items, such as A-B-C-D, where A, B, C, D are different items.
Suppose I have 3 entries in a database,
A-B-C-D
E-F-G
G-H-B-A
When the user entered some unordered items, I h...
Hi,
What options are there for saving and retrieving documents to and from the cloud, from within Emacs?
I use Emacs at work, on a Windows machine, and at home, on a Linux box, so ideally I would want a solution that works more or less out of the box for both operating systems.
I touched on g-client, but could not quite get it to work...