0
votes
3answers
89 views

Coerce bad input or always crash early

The general consensus seems to favor the Crash Early approach, the most reputable source being the acclaimed Pragmatic Programmer book. And while I understand and agree with the advice in many ...
-3
votes
0answers
20 views

Silverlight Mobile Compatibility [on hold]

I am wondering to publishing silverlight project on android, ios etc. Mobile devices are not supported silverlight. If phonegap, xamarin or etc. use, maybe it will run, actually I don't know. It is ...
1
vote
1answer
58 views

PirateBrowser Licensing

I am sorry if this question isn't appropriate here, but this made me confused. But what I read in MPL 2.0, any software derivated from a existing one with this license should keep it under such ...
1
vote
1answer
27 views

Maintain ordered collection by updating as few `order` fields as possible

I'm working on integrating a reorderable lists UI widget with a Meteor.js (MongoDB, in effect) collection: { order: ???, // what type to use here? property1: ..., ... propertyN: ... } Each ...
3
votes
1answer
34 views

(HTML) Form structure storage

In the context of a single-purpose website/application (for instance, based on Symfony2), I wish to have a set of forms fillable by users which then will be sent out as a formatted email (with the ...
5
votes
3answers
255 views

What are technologies like XML, JSON, and YAML classified under? [on hold]

What are technologies like XML, JSON, and YAML classified as? I already looked at Query Language Data-structured Language But neither appeared accurate... None of them are really meant for ...
0
votes
2answers
119 views

Is early binding legally constrained, while late binding is not? [on hold]

Is the following true, or do I have misconceptions about late binding and the law? If I do early binding to a code library, I need to reference that library at design time. In the U.S., I'm not ...
1
vote
1answer
49 views

Implementing “Trending Items” using linear regression in SQL Server

I'm building an MVC .NET website where people can rate and review movies (similar to IMDb). I'm using SQL Server for the back-end. I'll be implementing a feature where the homepage displays trending ...
0
votes
0answers
70 views

Dealing with several custom getters

I have a data structure with data units containing different types of data. I've wrapped the data in "Field" objects so that each field is able to independently parse user input in a desired way. ...
-4
votes
0answers
55 views

As a CS student 1st year, what should i learn and when? [on hold]

I'm studying computer engineering in a university here in Turkey, but the syllabus is mostly a mix of computer science and software engineering, so nothing to do with building CPU's or that sort, ...
1
vote
1answer
102 views

“Design patterns”, “Reactive programming”, etc…How do these terms fit together? [on hold]

The context: For all intents and purposes, I feel like I'm about the level of a pretty competent second year student at computer science. I have taken all the basic algorithms and systems classes; my ...
-3
votes
0answers
21 views

Restart Direct Sound device chrashes the application [on hold]

I have run into an obstacle while trying to restart a direct sound device on windows 7. What I'm doing is clasical stuff: Create the interface ...
3
votes
2answers
188 views

can a closed source commercial software make system(3) calls to GPL applications (not libraries)?

The closed source commercial software (CSCS), will just make system(3) calls to GPL applications. The user machine will run CSCS and it will call these GPL applications, in realtime, in the very same ...
-1
votes
0answers
33 views

Where can I get collection of programming problems from basics [on hold]

A collection of programming problems ( both language specific + general ) , kind of checklist to become familiar with programing. Long version : A lot of questions are targeting how to learn ...
-1
votes
0answers
47 views

Daily task manager with locked hours after task is set [on hold]

I need to create a daily task manager for a shipyard in php and MySQL. I've some boats recorded inside a MySQL database. Each of them has an INT field that is filled with the time (expressed in ...
-3
votes
0answers
25 views

How to rate a game boards? [on hold]

I'm attempting to build an AI for board games (tic tac toe, checkers, etc), I have the minimax/pruning algorithm I just need to know how to rate the boards to pass up values.
-2
votes
0answers
19 views

Campus Selection Advice [on hold]

I am a college student and I have Java and Android Programming knowledge. Also have basic knowledge of C,C++,XML. My campus selection starts in 8 months from now, and like anybody else my aim is to ...
8
votes
2answers
194 views

Best practices for serialization of DDD aggregates

According to DDD domain logic should not be polluted with technical concerns like serialization, object-relational mapping, etc. So how do you serialize or map the aggregates' state without publicly ...
3
votes
1answer
51 views

How should I represent composeable, associative computations to be repeatedly applied to units of data?

Spoiler My question is the following: Are there any design patterns for representing chainable functions that are for the problem described below? High-Level Decription of the Process I'm ...
-3
votes
0answers
31 views

a program to delete spaces from string [on hold]

i am trying to make a program to delete spaces from string and i wrote this code and doesn't work so please see what is wrong with it #include<stdio.h> #include<conio.h> ...
-2
votes
0answers
31 views

A library to be able to reproduce mp3 files in Raspberry Pi [on hold]

I've been having a hard time looking for a simple library to reproduce audio files (mp3 precisely) , i've tried pyglet for python, but didn't succeed, but look, the only thing i want/need is a library ...
-1
votes
0answers
51 views

What else can kill a JVM? [on hold]

When A JVM (Java process) dies unexpectedly, it can be an inside job (OutOfMemoryException, or OOME) or it could be from an external stimulus. As far as internal mechanisms go: Any uncaught ...
-4
votes
0answers
41 views

How to print The sequence of numbers in structure array [on hold]

I have the task which cannot be solved. My task is create a sequences of cards. How print my sequences ? i really need help. my solution #include <iostream> #include <fstream> #include ...
1
vote
1answer
43 views

Scrum in combination with ad hoc bug fixes [duplicate]

I worked in a company where they tried to use Scrum but in practice it was hard to create a solid sprint backlog because they had a very active userbase, that used the software 8 hours a day, and ...
0
votes
2answers
111 views

When should we work on GC optimiation?

So, I've learnt about how GC works and how can I monitor it via VisualVM, but my question is about why we should ever perform GC optimization? In our web project (JSF/Spring/Hibernate) we haven't ...
-4
votes
1answer
31 views

Field being skipped on use of Scanner .next() method and spaces being left out [on hold]

I have a class called Student containing certain fields and I was using the following details to enter the values in its fields: Scanner s1=new Scanner(System.in); Student[] s=new ...
1
vote
0answers
27 views

how to print the output in assembly [on hold]

This code takes a message from a user, it determines the position of the character in the message in binary, and computes the new character's position by reversing its original position in binary. It ...
5
votes
2answers
226 views

Should I use events or abstract methods?

Lets say I create an abstract class that manages some network functionality for me. I want to be able to be notified when something changes. For example: OnConnect or OnDisconnect. Should I create ...
1
vote
3answers
69 views

Question about multidimensional arrays

I was wondering something about the multidimensional arrays and then I got a doubt about a concept, specifically about their representation on memory. For example, an array can be defined as follows. ...
-1
votes
0answers
23 views

What do you call a form that adapts based on answers? [on hold]

I am looking for what to call a form that changes based on the answers entered. For example a web form that asks: Are you satisfied with your purchase? If you answer yes, it displays: How ...
-5
votes
0answers
59 views

Should I learn Java or Javascript? [on hold]

I am a college graduate living in Southern California with a very basic understanding of java and programming in general. If my goal were to get my first job(or internship) as soon as possible, which ...
-4
votes
0answers
25 views

User submitted html pages gripes [on hold]

On a particular browser game, users are allowed to create their own presentation pages using basic HTML. The only CSS allowed is via the style attributes of the HTML tags themselves. This rules out ...
-5
votes
0answers
43 views

which language is best to learn [on hold]

i know c,c++,html&css and basic java-script , i want to know that for which next language i should go for? i am totally confuse in ruby,java,php,asp,python,.net which should i start learning?? I ...
-4
votes
0answers
50 views

expected primary expression before 'bool' [migrated]

My program says "error: expected primary-expression before 'bool'" on the function call repeatOrNot (bool); under the main function. Why is this? bool fiveOrNot(); void repeatOrNot (bool); int ...
-2
votes
0answers
26 views

advantages and disadvantages of Dresden OCL Toolkit and Eclipse MDT/OCL [closed]

What are features provided by these two OCL tools? Overall difficulty of use: How easy or hard is the tool to use (understandability, learnability, operability)? Cost: How expensive (e.g. ...
2
votes
0answers
30 views

Merge directed acyclic graphs minimizing number of nodes

I have some DAGs (directed acylic graphs) and I want to merge them in order to minimize the number of nodes (we could say that every node has a cost, while edges are free). These four different DAGs ...
6
votes
3answers
218 views
+50

Maintenance cost of SIMD programming code base

Question: The software industry's consensus is that clean and simple code is fundamental to the long-term viability of the code base and the organization that owns it. These properties lead to lower ...
-3
votes
0answers
33 views

Class evaluate and linker error [closed]

I wrote class evaluate to compute the answer of postfix notation.Actually want to convert infix to postfix (like 2*3+5 to 23*5+).i used shunting yard alghorithm but when i compile my code i got this ...
-4
votes
0answers
41 views

How To Make A GUI In C++ [closed]

So, I have seen many programs (Microsoft Office, Google Chrome, etc) become predominantly coded in C++. So, I planned to started learning. I've gotten to the level of GUI, and there doesn't seem to ...
-1
votes
0answers
37 views

Persisting state of current execution in Java

I have specific use case, and I'm looking for opinion and suggestions on implementing this in Java as I'm fairly new to this. I have a dependency graph kind of process. The entity E in the processing ...
7
votes
3answers
725 views

When to use .ToString() when concatenating a string in C#?

int a = 1; int b = 2; int sum = a + b; string expression = "Expression: " + a + " + " + b + " = " + sum; Console.WriteLine(expression); //displays Expression 1 + 2 = 3 Should I use: string ...
-2
votes
0answers
20 views

std::memory_order_relaxed modification order consistency [closed]

from http://en.cppreference.com : Relaxed ordering Atomic operations tagged std::memory_order_relaxed are not synchronization operations, they do not order memory. They only guarantee atomicity and ...
5
votes
6answers
359 views

Are version numbers needed

We build a system which works as software as a service. Now I am wondering if it is needed to give the version number to the clients. For example Facebook doesn't give a version number neither does ...
-2
votes
0answers
23 views

Mapping keyboard cursor keys to main typing area. Where shall PageUp / PageDown go? [on hold]

Long story short, I want to keep my fingers in main typing area (that's how I call Left Ctrl - ~ - Backspace - Right Ctrl rectangle) 99% of time while coding/typing/browsing. So I used Linux autokey ...
0
votes
0answers
8 views

problem with select case assignment [migrated]

So i am trying to make a program that will decide which of two players wins by rollong 2 die per person and adding the value of those die together and comparing them. the problem i am having currently ...
1
vote
2answers
88 views

What is meant by “redundant, but not duplicative” in the Steelman language requirements?

The Steelman language requirements have this: The language shall require some redundant, but not duplicative, specifications in programs. I think I can see the underlying idea (that re-stating ...
2
votes
0answers
38 views

Is there a way shortcut type bounds in Scala? [migrated]

When defining a covariant class, all the method declarations need to contain something along the lines of: [B >: A] //A is the main type variable Is there a way to declare something at the class ...
2
votes
2answers
36 views

Include internal defects into the releasenotes?

When delivering a product, Release notes clearly contain known issues found by customer in the previous build. But should we include defects that we, as a supplier, found during our testing, those ...
3
votes
3answers
158 views

Is it misleading to label code as a particular design pattern if it only loosely fits the definition?

Background: I have a rough, but working understanding of ~15 design patterns. It's been my experience using design patterns in my own projects that the resulting implementations usually end up as some ...
4
votes
3answers
144 views

What's the purpose of keeping a changelog if everyone uses their VCS properly?

Every VCS that I've seen includes a means (and sometimes requires you) to make a log of what a particular commit does. If this history is being properly kept, what is the purpose of manually keeping ...

15 30 50 per page