-3
votes
0answers
6 views

Multiple ng-show issue

I have an issue with a project The concept: 1) Every time what I click dependencies button a modal appears 2) Table has rows (let say parent rows) 3) each row has a nested table (ng-show) - (let ...
1
vote
1answer
34 views

Is it good programming practice to create files with no extension?

I often store data in external files when Python coding. Should I always save them with an extension - i.e. .txt? Is there any reason not to (other than saving bytes) to not give the extension? I ...
2
votes
0answers
24 views

Why does SOP permit cross-origin form submissions?

Same origin policy does not prevent origin foo.bar from creating a form with action attribute set to another origin baz.duh and even allows to pragmatically submit this form without the user knowing ...
0
votes
0answers
18 views

Events in WCF Service Architecture (Server Side)

Problem: I have a WCF Service Architecture on the Server side that will Handle requests from multiple clients. Now, I have some events that will take place when the client submits a request to the ...
-3
votes
1answer
44 views

What programming tasks could be automated with today's technology, but aren't because of inertia? [on hold]

Every single time a programmer mentally infers the type of an expression on Haskell, he is wasting efforts on something the compiler could do faster and better. From simple build systems, to ...
-3
votes
0answers
10 views

Dynamic Web Project | HTTP Status 404 Error

I am a beginner in Java and I've created a Dynamic Web Project in Eclipse. I added a Servlet in my project. And I wrote two lines of code in "ServletExample.java" which are given below: PrintWriter ...
-5
votes
0answers
10 views

Brief MATLAB question [on hold]

I have a script I have to execute with MATLAB. This script takes a bunch of numbers and produces a single output from those numbers and prints them to a new file. However, I am running into a problem ...
6
votes
1answer
83 views

Why it is not possible to overload compound assignment operator in C#?

The title is be misleading, so please read entire question :-). By "compound assignment operator" I have in mind a construct like this op=, for example +=. Pure assignment operator (=) does not ...
-6
votes
0answers
12 views

How can I get a button to check the value of an input field and then add a point to a score system?

I don't care if your explanation is in C# or JavaScript but it must work in Unity. I want to create a variable called Score. I then want a button when it is clicked to check the input in a text field ...
-1
votes
0answers
14 views

Server Image Handling

I am looking for the best technique to handle dynamic server image editing request (like resize and crop). First I was wondering if I should use PHP or a compiled application (Java/C). Are there any ...
0
votes
3answers
47 views

Dependency inversion without static methods?

It's clear that the dependency inversion principle and the use of interfaces makes software components less coupled and promotes maintainability. On the other hand, these principles make using static ...
-3
votes
0answers
9 views

speech recognition to search the web

for ages ive been trying to get my program to do web searches but cant get it right so what im trying to do is using speech recognizer and dictional grammar it will i can say i want to search the ...
-4
votes
0answers
10 views

DDL as a search box? [on hold]

i m an IT student doing final project ..I had many issues related to design and implementation of my software.can any one is willing here to help me in developing my project? and the question is. if ...
-1
votes
1answer
27 views

Can I use these terms “patch”, “update”, “commit” interchangeably?

These terms in general describe changes made to software, but can I use them interchangeably? For example, "patch" seems to refer to fixing/repairing related changes. However, I've also seen people ...
-2
votes
0answers
20 views

Acronyms in ALLCAPS for class names (in Java but not limited to)? [on hold]

Situation Regarding the code style, recently I opened a "Pandora Box" saing that the class names should follow, regardless of their literar origin, the capitalised camel case rule. For example a ...
1
vote
1answer
54 views

Emulate 12bit uint in c#

I recently had to do a codility test. The question itself was reasonably easy. take a string of numbers and +, * loop through it, if the character is a number, add it to a stack, if its an operation ...
1
vote
0answers
11 views

Share service instances amongst all controllers?

We've taken over coding on a .NET MVC project, and as I'm relatively inexperienced with many of the MVC design approaches, I'm working on getting a good understanding of the design choices. One ...
0
votes
0answers
10 views

How to track affiliate links on merchant site

I have an price comparison website with affiliate partnership in place. The merchants I have partnered with have tracking system in place like Amazon, flipkart. To be more sure about things, I want to ...
0
votes
2answers
49 views

What is the algorithmic time complexity of this program?

I wrote a simple program in java to create and maintain Dynamic Arrays: public class DynamicArrays { private Integer[] input = new Integer[1]; private Integer length = 0; private Integer ...
1
vote
3answers
118 views

How does garbage collection compare to reference counting?

I starting working through an online course on iOS development in the new language from Apple, Swift. The instructor made a point that raised this question in my mind. He said something to the ...
0
votes
0answers
37 views

Lisp flavor(s) with driest language specification?

I already know that a lot has been said on this and similar argument, but I wasn't able to find an exact duplicate of this question. I've never been beyond Emacs Lisp, so when trying to learn Common ...
-1
votes
0answers
10 views

How can I model a versioned product feed in Cassandra?

I want to take feeds of products and deals from merchants, and keep them up-to-date with with detected changes. Every time I update a update a product, I want to give it a higher version number. ...
1
vote
1answer
31 views

Is there something more behind MVC in web develop frameworks

I just started my career in the web development about two months ago. During the two months, I wrote one web service in php Symfony2, get involed investigation of one project written in Python Flask ...
-2
votes
0answers
15 views

Google CustomSearch API Image Search Not Working

using System; using System.Net.Http; using System.Threading.Tasks; using System.Web; using System.Configuration; namespace Foo { class MainClass { public static void Main (string[] ...
2
votes
1answer
46 views

How to handle overlapping classes

I'm putting together a program to try and recreate a board game. My goal was to keep the rules and actually actions of the game separate from its presentation, so I am creating a library that contains ...
-1
votes
0answers
8 views

How to access Authentication-based Web Service, and transfer to Json?

I use Restful Service to communicate between frontend and Java backend. Java side needs to access Authentication-based Web Service (needs username/password). The request and response of xml message is ...
-1
votes
0answers
10 views

Create Map with both Distance and Quality

I want to create a map that has 2 values on its edge. One for distance and one for quality. The edges should have defined values like below. private static final Graph.Edge[] GRAPH = { new ...
2
votes
0answers
35 views

How can I split a repository that contains many projects which share the same build system?

I've been working on the past years on a research compiler suite, which builds several executables and libraries. It has a build system (namely bootstrapper) that looks into the ./src/bin directory ...
-9
votes
0answers
55 views

C programming explanation [on hold]

I would like to ask you why part 2 = 2 3 -2 and part 3= 3 3 9. I know the answer of the part 1 please explain. When I compile, I get the answer. But I did not understand the rest of that. #include ...
0
votes
0answers
46 views

Is it worth it to use a message-queue framework in this case?

We have these things called "executions" that are run at certain times. They have a delay property that basically says "execute me after delay microseconds`. Currently we are using Cassandra as a ...
-5
votes
0answers
28 views

What database should I use for these versioned data feeds? [on hold]

I want to take feeds of products and deals from merchants, and keep them up-to-date with with detected changes. Every time I update a update a product, I want to give it a higher version number. ...
7
votes
4answers
189 views

How to treat bugs that users thought were a feature?

Question: What is the proper way to address a bug that an end-user thought was a feature? Elaboration: I'm guessing that if a large percentage of users expected it as a feature, it should be left ...
-3
votes
0answers
61 views

How to interview with a manager who thinks that agile experience is essential? [on hold]

I am an experienced developer with nearly 10K rep on StackOverflow. In the past few years, I've gotten into contracting, and so I'm doing lots of interviews. Sometimes, I get shot down for a ...
0
votes
1answer
30 views

Java Action Listener

Actually, I've got a confusion in Java while implementing action listener event. I can add action listener event by implementing the class with ActionListener and by ...
-4
votes
0answers
26 views

CI which match following criterias [on hold]

I am looking for CI which matches following criteria. Surely, I can go and investigate couple of dozens of CI which exist on the market. However, I hope that somebody did similar work already and it ...
2
votes
2answers
54 views

Is normalization all that's needed to ensure data integrity and quality reporting?

I've gotten out into the real world recently, and for the first time have had to really think about database design, as I've been developing across the entire Java stack. With that I've realized that ...
-3
votes
0answers
65 views

What can a programmer expect an employer to do to help her improve? [on hold]

As a junior, I got it into my head that the best way to become a better programmer is to work with excellent programmers who know a lot more than I do. So I got a job with some highly accomplished ...
5
votes
4answers
682 views

Is the use of one-letter variables encouraged? [on hold]

Is the use of one-letter variables encouraged in Java? In code snippets or tutorials, you often see them. I cannot imagine using them is encouraged because it makes the code relatively harder to read ...
-1
votes
0answers
21 views

Building an EXT 4 tree with JSON data [migrated]

I'm building an android app that posts collected battery data to a website viewable by the app user and I'm having issues building a tree to view the collected data. I'm looking to build a tree ...
0
votes
2answers
83 views

in trouble making a card game with pygame

I am designing a card game playable against the computer. The rule is very simple Both player and CPU gets 10 cards of 1 to 10. Player and CPU plays a single card at the same time, every round. The ...
5
votes
3answers
103 views

Design Pattern - DLL per Strategy

I usually found myself designing my application in the following way: One DLL containing interfaces for a desired subsystem. For example, Company.Framework.Persistence.dll. One new DLL per each ...
0
votes
2answers
117 views

Any benefits of writing coding articles [on hold]

I always wonder if there is any benefit of publishing programming/code related articles/tips either on ones own website or coding sites? I think it has a benefit that a programmer can have a record of ...
1
vote
1answer
36 views

Difference between synthesis and translation

Recently i have encountered two words describing transformation process of one language to another language - "translation" and "synthesis". I have some tips but i am not sure what is the difference. ...
-3
votes
0answers
24 views

How to allow users receive push notifications without having to register [on hold]

I have been reading about sending notifications to all my android users. I found Google Cloud Messaging (GCM). However this service doesnt really give what I want. The user who downloads my android ...
0
votes
0answers
21 views

Adding a chat api to infrastructure

I currently have a REST Api and will be adding a new real time chat feature. I want the applications to have a separation of concerns. I initially was planning on adding a new realtime messaging ...
-2
votes
0answers
22 views

A question to web service providers [on hold]

I'm a PhD student at the Univ. of Colorado and I'm doing research on cloud computing and services. I am trying to understand some operational aspects of running a web service. My question to web ...
0
votes
0answers
36 views

How to verify a method is only called once, with specific arguments (using RhinoMocks)

I'm just starting to use RhinoMocks. Now I'm wondering what test cases I should write. I want to assert that a method is only being called once, with specific arguments. Lets start with my ...
21
votes
9answers
3k views

What's the proper way to model this real-world activity that seems to need circular references in OOP?

I've been wrestling with a problem in a Java project about circular references. I'm trying to model a real-world situation in which it seems the objects in question are interdependent and need to ...
0
votes
0answers
13 views

Displaying and communicating an external file

I am importing and displaying an external swf into 'main' swf. I can send specific variable from external to main. However it is always 0 (zero) since it sends right after 'loading completed'. Initial ...
1
vote
3answers
97 views

Auto-save user input - the smartest way?

I'm developing a social network website and I'm working with php/mysql/jquery and I want users to have the most user-friendly website experience. That's why I try to avoid a save (submit) button at ...

15 30 50 per page