All Questions

-1
votes
0answers
7 views

Improving command line skills

I'd like to improve my Bash terminal skills, knowledge and muscle memory. There are a lot of books and tutorials out there, but what I'd really love is a command line app that would run me through ...
-1
votes
0answers
9 views

whats differ between simulation & simulation game

I'm really confusing, is simulation RELATED to simulation game?? what I heard from everywhere is simulation game is just for entertainment and not related with computer science research at all, is ...
-1
votes
0answers
8 views

want to use Unity engine for solo project, need recommendation

I have solo project for making Android mobile apps simulation game for driving school learners of motorcyclist using Unity game engine, include theory test and practical simulation test inside the app ...
1
vote
1answer
34 views

Why does this evaluation function work in a connect four game in java

I am exploring how a Minimax algorithm can be used in a connect four game. I was looking through a program and found this evaluation function. private static int[][] evaluationTable = {{3, 4, 5, 7, ...
-2
votes
0answers
18 views

How to change every 2nd and every 3rd element in an array?

Here is my dilemma, I have this code: var fibs = [1, 2]; for (i = 0; i < (window.innerWidth / 50); i++) { if (fibs.length < 15) { var n = fibs[i] + fibs[i + 1]; ...
0
votes
0answers
6 views

Hidden event handlers and their parameters

I'm having a bit of trouble understanding why has an event handler to be defined as a function. AFAIK, a function can be used as anonymous called procedure as event handler It defines a ...
-4
votes
0answers
34 views

Programmers and drugs are common? [on hold]

I been watching movies about computer programmers and hackers and it shows that many of them use drugs to stay up longer. I wonder if this is stereotype or truth? I am programmer too and use energy ...
0
votes
2answers
21 views

OSS Non-Commericial License

I'm working on a project I want to keep open source on GitHub, but I have a licensing problem. I have searched for hours, but I haven't found a license which disallows commercial use/sale of the ...
1
vote
1answer
12 views

Patterns for subclass constructors that vary the parent class constructor slightly

So, my problem is in the context of an MVC-style approach. The code here is PHP, but I'm hoping this is a design issue independent of it. abstract class Controller { private $domain; private ...
2
votes
1answer
26 views

Unit of Work Concurrency, how is it handled

I am reading some information about the Unit of Work pattern. There is one thing that is not very clear for me: what will happen when you request a couple of records on a thread (1) and another thread ...
0
votes
0answers
15 views

Which Way Is Suitable to Implement Set collection In Scala

I want to implement Set in scala. In order to implement set in scala, there are three ways which are hashset,treeSet and LinkedSet. My question is that which of them is suitable to implement in "worst ...
-2
votes
0answers
21 views

How to compare two chars in C++? [on hold]

I have to extract 2 chars from a string and test them on being equal. How do I do this? My approach if (s[1] == s[2]) ... doesn't work.
-5
votes
0answers
27 views

What is the meaning of “delimited”? [on hold]

context: http://www.sitepoint.com/web-foundations/attribute-selector-css-selector/ Description, Second Paragraph, First Line Attribute selectors are delimited by square brackets What does ...
-1
votes
0answers
16 views

Dismissing the viability of implementing Microsoft Silverlight-based applications - a premature decision being made too early?

While it has now become affirmed that Silverlight is sitting on the chopping block, what kind of implications should this really be having towards business decisions on the use of Silverlight-based ...
4
votes
1answer
65 views

How to prevent others from using non-thread safe variables in a multithreading environment?

I have an application written in C++ that was originally single threaded, but, due to the increasing complexity of this project, I'll need to expand it to at least two or three threads. There are ...
-3
votes
0answers
22 views

Regarding publishing game for Facebook [on hold]

I am making a game on cocos2d-JS for facebook , I have some technical doubt which I want to clear What is the difference between Facebook Canvas & Facebook Web project . Facebook Canvas ask ...
1
vote
2answers
50 views

What is the best way to present a portfolio of practice/training security research? [on hold]

I keep a security research blog as a hobby, and finding out about all the ways one shouldn't code has helped me a lot in my career as a software developer. I would like to attribute my blog to a ...
0
votes
1answer
93 views

Why does GCC use AT&T syntax by default?

I think title says it all :) Is there any particular practical reason (I guess it's mostly historic, but I'm unable to find it on my own) why GCC uses AT&T/GAS syntax? Note: I know this is just ...
-6
votes
0answers
32 views

Can Some One look at this [on hold]

Im making a command line version of Tick tack Toe for my class yet I keep running into the same problem it keeps stoping after player one take his first turn no player 2 no call back to player one ...
-1
votes
0answers
21 views

Does a database update force index rebuild regardless of updated field? [migrated]

With MySQL (InnoDB), I understand that having indexes slow down UPDATE queries. I would like to know if this happens regardless of what fields are updated. For example, if I have a table with 20 ...
2
votes
2answers
44 views

RESTful key-value collection

I am creating a HTTP REST API. I have a large collection of key-value pairs, at /base-url. I need to provide the ability to get and set values for a key. My first attempt: GET /base-url/{key} PUT ...
-5
votes
0answers
16 views

Matlab Help About Tables(GUI) [on hold]

Hey there I am trying to write some informaition which should be read from a text file in this kind of style. V1 1 2 32 R1 0 1 2 V2 0 3 20 R2 2 3 4 R3 0 2 8 I will read this from text file and I ...
0
votes
0answers
13 views

Monolog - retrieve the logged messages in a variable

I looked into to monolog, and there are dozens of handlers that allow logging almost everywhere. What I didn't see is logging to a variable. What I mean is that I want the log messages kept in a ...
-8
votes
0answers
30 views

microsoft visual studio stopped working 2012 [on hold]

Suddenly My visual studio stop working. Other applications are opening correctly, but I am not able to create new application. When I open VS 2012, it shows me error box saying "microsoft visual ...
3
votes
1answer
63 views

Why does the order of the link elements in <head> matter?

From Code Academy's Make a Website: CSS Styling: <head> <link href="font.css" rel="stylesheet"> <link href="main.css" rel="stylesheet"> </head> ...
0
votes
1answer
51 views

Is MapReduce an architectural pattern?

For a documentary reseach: Architectural Patterns (ex MapReduce), I started by reading the MapReduce: Simplified Data Processing on Large Clusters paper. the authors define MapReduce as "a programming ...
1
vote
2answers
89 views

How to write a custom EventHandler class

When I started using Java, I created a custom Event class to mimic C#'s implementation of Events. Since then, I've added some other features, like event listener priorities, and cascading events were ...
-5
votes
0answers
86 views

Why should I ever implement structs? [duplicate]

Structs are value types so they're more expensive to handle. Classes are more capable that Structs. What are the reasons to ever choose to use a Struct in C#?
1
vote
0answers
37 views

Response Header for illegal file (format)

I have a simple upload-servlet and need to report if a file is illegal and has not been added. For some reason i am not allowed to give a html-body back, so i need to use the response-header. ...
-2
votes
0answers
21 views

Can Camel be used for building up html pages? [on hold]

Is it possible and furthermore should it be done? If I have 10 web services that all generate different parts of a web page. For example header, footer and body elements. Should I use Camel or some ...
0
votes
0answers
21 views

Entity Framework Lookup Tables

I am coming from working with ADO.net DataSets and feel fairly comfortable with how they work. Mainly, I usually have a DATA table with a large number of REF tables for lookups. In DataSets it was ...
-4
votes
0answers
18 views

Beginning Books for Understanding BIOS and UEFI [on hold]

Is there a beginners book to understanding what BIOS and UEFI are, what they do, how they are coded, how do they make the interfaces, ect. Any help would be appreciated.
-4
votes
1answer
54 views

IDEs for Languages [on hold]

I need some help finding IDEs for the languages below. I know that some people prefer plain text editors like Notepad on Windows, howerver I wish to use an IDE. I just want to have the features of ...
4
votes
6answers
655 views

What should an object be called that contains only setters and getters? [on hold]

Suppose there's an object that contains only setters and getters: class Config { public void setName(String name) { this.name = name; } public String getName() { ...
-3
votes
1answer
80 views

What do you think about GUI-programming in Qt and all other frameworks usefullnesses [on hold]

What do you think about coding and desining? I mean, should we use code rather then designing all in forms. I think, it's kinda lazy to click in forms some buttons. Programmer should code, BUT i'm a ...
-2
votes
0answers
19 views

How to use slack api for chat application using php? [on hold]

How to use slack api for chat application using php? Any source code for to develope the chat application using slack api?
-2
votes
0answers
40 views

Beginner HTML5 path/to/jsFile. Unable to load script? [migrated]

I'm having some trouble running some JS inside a html5 body. Here's what's happening, whenever I remove all instances of the arrays from the JS file I am using, the script loads fine in the index ...
2
votes
5answers
82 views

Stored Procedures, ORMs and other application layers

I'm just starting out on a project to develop a new, fairly substantial web application which has an underlying MSSQL database. We're hiring a team of developers to write the application (in .NET) and ...
0
votes
1answer
50 views

How to determine which service to call

I have modeled my application using multiple 'user' domain objects. Candidate Recruiter Administrator Each entity extends from an AbstractUser implementing UserInterface. interface UserInterface ...
0
votes
1answer
23 views

Same android app connecting to multiple database -concept

I am looking for best method to create application which are connected to different databases based on client So basically it is a multi tenancy model for an android app (enterprise use) Deploy the ...
2
votes
3answers
72 views

How to deal with Windows .NET configuration files

We use the normal app.config file for the configuration of the application. Although it works for now it has some pretty significant drawbacks: Upgrading an application with a modified app.config is ...
-2
votes
1answer
40 views

What approach for almost static website having only a few editable content blocks? [on hold]

I am building a small image website using a single page approach. The content is basically of a static nature. However, one or two content blocks on the site should be made editable to exchange text ...
-2
votes
0answers
22 views

How MongoDb Query Execution Engine Works because the query execution time is different for every time [on hold]

How MongoDb Query Execution Engine Works because the query execution time is different for every time In huge Collection if i ran simple query for the first time it takes 24 sec, Second time 8sec, ...
-2
votes
0answers
16 views

what is to be derived by BA from Technical Specification Document [on hold]

Please help me understand how to study Technical Specification and derive functional areas to analyse. I have already gone through the Difference between Functional and Technical Specification ...
-4
votes
0answers
29 views

Sample interview questions on HTML5 Canvas [on hold]

What are the sample theoretical and hands-on interview questions on HTML5 Canvas element?
1
vote
2answers
77 views

PHP Source Code Encryption Concept

Scenario: I'm looking to protect my software that is written in PHP. The nature of PHP is that it is delivered as plain text and therefore cannot be protected by itself. I don't want to install libs ...
-3
votes
0answers
46 views

In how much project management should a programmer be involved? [migrated]

Given that there is no hierarchy in my poject team, i.e. customer liason, project manager, architecture consultant, developers are just different roles. Everyone listens to everybody, and we move ...
-4
votes
1answer
61 views

Learning Java. Planning to create my first java project. I have an idea for a logfile error aggregator (details inside), but how do I start? [on hold]

I'm thinking of coding a 'Logfile Error Aggregator'. I'm not sure if it's anything useful or not, but it's something (possibly) practical: Assume there is a folder full of log files. Each file ...
1
vote
0answers
61 views

Too many parameters to data processing class constructor

I have a conceptually simple application: data comes in as small encrypted packets, they decrypted and validated, some are stored in the database, some rules are applied, and a reply might be ...
-2
votes
0answers
18 views

What are some websites that use ASM.JS? [on hold]

Are there any websites out there using ASM.JS? PLEASE do not include websites that primarily have the use of WebGL or any game websites.

15 30 50 per page