Data is any form of information that can be used by a process, service, or application. This is generic terminology - consider a more specific taxonomy when posting.

learn more… | top users | synonyms

4
votes
1answer
57 views

Hearthstone Style Deck Stats for TCG

Right now I have this messy method to collect the deck statistics while building a window that will display those statistics. These statistics are things like the type and mana cost of the card. I ...
0
votes
3answers
54 views

Optimize the process program

The program below is about finding the values below the percentage and splitting them into five different output files. This works great for small input data files. But when I am trying to run it for ...
2
votes
1answer
31 views

Form data handler class

I've started to write a form data handler class in PHP. Can you please review it and point out any mistakes or logic errors, or perhaps if a method can be written in a better way? ...
6
votes
1answer
160 views

Save Games on iOS with NSCoding

This is the second time I have implemented saving and loading for a game using Objective-C. I am using the built in NSCoding methods. I would love to hear opinions about NSCoding and whether or not ...
2
votes
1answer
25 views

Munging data off WALS

I have created a script to munge data off this. ...
3
votes
2answers
326 views

Slow data-processing and inefficient memory usage in .NET containers

I am writing a text classifier and in order to do so I need TF/IDF values per every word of my signle text. Then I need to use the cosine similarity: \$similarity = cos(\theta) = \dfrac{A \cdot ...
2
votes
2answers
207 views

Select evenly spaced subset from array [closed]

Say I have an array with 60 Elements, and I want to select 40 elements from this array. The subset should consist of elements with evenly spaced indices. In theory I would need to select every 1.5th ...
1
vote
1answer
195 views

Is it feasible to create a syslog server which writes to a client dataset?

I'm creating a simple syslog server in Delphi XE2 using Indy's TIdSyslogServer. I've decided to make it dump into a ...
-3
votes
1answer
270 views

trivia questions with 10 random questions from 24 but without repeating the questions

I have a big problem with my project 4-5, I'm trying to have random 10 questions of 25 and not repeating the same questions but I really don't know how to do it. Do you have any hints for me? this is ...
1
vote
3answers
320 views

1000+ of JSON objects in my case

I try to make a data of 1000 objects (incress in the feature) My JSON look like... ...
2
votes
1answer
84 views

Making an object manage custom data in JavaScript

I wrote this block of code as part of a JS utility library I'm working on. I will be thankful if someone could scan through it for eventual bugs or improvements that might be applied to it. The ...
1
vote
1answer
116 views

how do I encapsulate this List<Message> properly?

I know that Swing isn't true MVC: Using this modified MVC helps to more completely decouple the model from the view. Leaving aside the veracity of the above claim, the problem I run into is ...
4
votes
1answer
117 views

Improving logic for pulling and passing data();

I'm pulling data from a list of images and passing it into an information container after click. After looking at my logic I assume there is a better way to do this. Any ideas would be helpful. ...
1
vote
1answer
220 views

Improve and adding new method to GenericDataAccess?

I have this GenericDataAccess class to interact with database from my school just I want to ask for some suggestions and advice in how to to improve it and add new methods to for future use & ...
-1
votes
1answer
504 views

Can anyone help me in optimizing my code in C#? [closed]

I am a beginner, so my code is horrible. Can anyone help me on improving the code. Also I am not getting any values in the text boxes. All values appear as 0. ...