All Questions

0
votes
0answers
2 views

MVC Sites & Entity Framework (using DbContext)

I've been looking at a couple of the MVC tutorials on the ASP.NET website and and have noticed numerous of them make use of Entity Framework (especially the Identity provider stuff). Maybe my ...
0
votes
0answers
4 views

How to add Premium (Featured ) User in ERD when the User has placed the order and paid payment

I have a table 'User' in database. When the user make payment after placing Order for a package. He is considered a Featured(Premium) User of a company. Should I create a seperate table for Feature ...
0
votes
1answer
7 views

How a list or array of objects is represented in sequence diagram?

I have the following sequence diagram to add a student to a list of students. the implementation could be like List<Student> Students = new List<Student>(); Students.Add(aStudent); I ...
0
votes
0answers
39 views

Did Java avoid multiple inheritance here?

I learnt that Java did not allow multiple inheritance using abstract classes for simplicity. In java, after a good design of class hierarchy, SubType would not get into trouble of same method ...
3
votes
0answers
33 views

Callback functions: Semantics and maintainability, when they aren't necessary

Within the context of JavaScript/Node.JS; Will using Callback functions improve the maintainability of source code, when there is no need for async programming? For example does the plain code sound ...
0
votes
0answers
34 views

Are quotes said to escape what is in between them? [on hold]

I don't know whether to put this here on SO or english.stackexchange or if it fits none of them. I know backslash or caret or whatever the escape character is, is said to escape a character, ...
0
votes
0answers
31 views

Long-term strategy for implementing a plot auction system

I am currently working on an auction system. It works as follows: A business places a bid on a plot for a house. many houses make up a single plot e.g. plot 7 corresponds to a number of houses in a ...
-2
votes
0answers
34 views

How to start iOS development using Swift? [on hold]

I dont know if this is the right forum for this question.I went through the swift book of Apple and it is a great book for learning the language.However I dont know how to proceed after that to do iOS ...
1
vote
0answers
20 views

Rewrite Engine vs Boostrap type index file

I currently use apache mod rewrite on a site to redirect various queries / visitors such as this: if you come to example.com/authors/, you are redirected to authors.php if you come to ...
-5
votes
0answers
19 views

Write a program which recurrently move to right elements of array by given number [on hold]

Write a program which recurrently move to right elements of array by given number.For example for array {1, 2, 3, 4, 5, 6} and moved by 2 it should look like that {5, 6, 1, 2, 3, 4}. ` #include ...
0
votes
1answer
27 views

Swift Protocol Naming Conventions

Coming from a mainly c# background, I'm used to using the term "interface" for describing an object with no implementation that defines behaviour. In c#, the convention is to prepend interface names ...
-2
votes
0answers
41 views

Improving command line skills [on hold]

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 some recommendations on drills or repetitive tasks ...
-1
votes
0answers
25 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 ...
-2
votes
0answers
24 views

use Unity engine for solo project, Agile Scrum methodology [on hold]

I have solo project for making Android mobile apps simulation game for driving school learners of motorcyclist using Unity game engine I want to use Agile methodology with Scrum, and I've heard Scrum ...
0
votes
1answer
99 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
32 views

How to change every 2nd and every 3rd element in an array? [on hold]

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 ...
-5
votes
0answers
63 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
27 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
25 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 ...
3
votes
1answer
36 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
21 views

Which Way Is Suitable to Implement Set collection In Scala [on hold]

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
30 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
35 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
20 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
2answers
118 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 ...
0
votes
2answers
57 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
123 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
33 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
49 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
18 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
32 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
0answers
71 views

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

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
53 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
99 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
88 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
38 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
23 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
22 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
55 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
665 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
81 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 ...
1
vote
5answers
87 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
52 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 ...

15 30 50 per page