1
vote
2answers
65 views

BDD/TDD - exhaustively testing details which are low-level, but still behaviour

We're looking to concentrate more on testing behaviour (as opposed to every class/method individually) in all our automated tests, as espoused by various high-profile online discussions recently. I ...
0
votes
0answers
7 views

Using SVN with multiple developers but without creating branches

I'm a computer science TA working with some students in a senior capstone course (effectively, a consultant for a small team). I met with them to discuss how to use version control, and they're in an ...
0
votes
0answers
16 views

What are factors to take into consideration in choosing a programming language/paradigm for a rule-based natural-language translation program?

I have experience with object-oriented programming languages (C++ and Java), but I am wondering what kinds of programming languages — including OOP languages– or programming paradigms might be ...
0
votes
1answer
23 views

Finding metrics for development time in different languages

I'm trying to determine if a language I'm investigating (Groovy) is better for developing enterprise applications than our current language (Java). Specifically I'm trying to figure out if it will ...
-3
votes
0answers
10 views

QA Testing Suite?

I was wondering if there were any QA Software testers or IT professionals who might be able to provide some insight into their current setup. Looking for a solution for my QA guys that would include ...
10
votes
3answers
1k views
+50

What is the alternative to an enterprise portal strategy in the Java space?

Disillusionment with the Portal Space I'm seeing a disturbing number of large, enterprise clients who have become disillusioned with their enterprise Portal experience, especially those in the ...
0
votes
3answers
118 views

How to mark code lines licensed on MIT?

When I am using some code licensed on MIT license, but it's not in seperate files, is it OK mark it like this? /* Here starts code licensed under the MIT License (../MIT.txt) */ // code /* Here is ...
1
vote
1answer
54 views

What should I do when I want to use a probably non-valid licensed OS project?

Please correct me if I'm wrong, but I recently found myself in a pretty confusing situation and now I am unsure how to continue. I found the jQuery.xmleditor plugin from the UNC libraries and thought ...
0
votes
3answers
57 views

Security in an iOS game?

I'm part of a team building an iOS game which has multiplayer elements. A concern right now is how to make the game more secure, from user manipulation. I know there's a lot of multiplayer games out ...
0
votes
4answers
98 views

How to design RESTful Web Api to represent Resources

I'm developing an ASP.NET Web Api 2 RESTful web api with .NET Framework 4.5.1 and C# and I'm trying to understand how to expose resources through a Web Api: Imagine that I'm a group owner and I am ...
11
votes
3answers
3k views

How to become a technical architect from a developer

I have been programming in .NET for the last 5 years. I have used design patterns a lot in our projects. I do have some domain knowledge in financial jargon. My ultimate goal is to become a technical ...
16
votes
6answers
1k views

The importance of duplicate code removal [duplicate]

I tried to explain to a coworker the gravity of having duplicate code in a project, on this piece of code: + (void)createIapInParse:(SKPaymentTransaction *)transaction { Reachability *reach = ...
0
votes
0answers
5 views

Organize Web API Controllers by their associated Views, or by the logical type they operate against?

We're building a large Angular SPA that uses ASP.NET Web API on the backend. The application will have a large number of views (100-200). I'm debating whether to organize the Web API such that the ...
0
votes
0answers
17 views

Mixing newable and injectable in a Callable

I recently read http://misko.hevery.com/2008/09/30/to-new-or-not-to-new/ which discussed newable vs injectable objects. What would you do if you needed to make a Callable that talks to some service ...
0
votes
0answers
67 views

How far to go when future proofing fluent-method-chained-DSL test code?

Is it worth implementing interfaces, or using the getThis() trick, or even static factory methods to future proof against the need to extend this DSL? The current design is a pair of thin ...
-1
votes
1answer
63 views

What are guidelines for a Win/Mac/Linux C++ source tree? [on hold]

I'm learning C++ (C++11), specifically for cross platform game development using SDL. on Windows, I use Visual Studio 2012 (Considering buying '14' once it's out), on Mac OS X and iOS I'll be using ...
1
vote
1answer
73 views

Having unwanted bits in version control history

Consider having a project which you would want to release as open-source. There are parts which you have removed, but still remain in version control history. License of those parts is not ...
0
votes
0answers
77 views

History of protocols and formats with different implementations and negative impact we have today [closed]

I trying to find some historic evidence about protocols or formats that had different implementations where the lack of a good interoperability led to problems we still face today. Bugs or different ...
-1
votes
1answer
56 views

Who is the copyright owner of a contribution (commit) to a GPL-licensed project?

Suppose, that Alice started a GPL-licensed project. Later, Bob married Alice, joined the project and made a 50% contribution to it. Then they broke up, Alice sued Bob and by court decision took his ...
0
votes
2answers
60 views

Is it a bad practice to keep database schema scripts (DDL) and manipulation (DML) scripts in different modules

we have a project structure like the following "module-shared" module depends on "module-database" module and some other modules depend on "module-shared" but no other module depends on ...
3
votes
2answers
96 views

To subclass or to wrap for “default” implementation?

I'm creating a toolset in Java consisting of many Natural Language Processing (NLP) tools, such as Tokenizer, POS tagger, Lemmatizer, Sentence parsing, etc. I want to put all good and publicly ...
-3
votes
0answers
21 views

Automatic download and print program [on hold]

I have basic understanding and ability to program with a number of languages, but mostly c and c++. I would like to create a program that automatically downloads the latest pdf file added to a ...
75
votes
16answers
23k views

When are Getters and Setters Justified

Getters and setters are often criticized as being not proper OO. On the other hand most OO code I've seen has extensive getters and setters. When are getters and setters justified? Do you try to ...
-1
votes
1answer
223 views

How do I create every permutation [closed]

I have a list of letters, this is just an example list: ['a','b','c','d','e'] How do I compute every combination of the list? The letters cannot repeat, for example. a,b,c,d,e a,c,b,d,e a,c,d,b,e ...
2
votes
1answer
116 views

Use and manage Front End Assets for Web

I am a beginner and am currently developing a kind of cms using PHP. The number of libraries that we can potentially use in the front end is large. I have a question about properly selecting, ...
13
votes
3answers
5k views

Efficient graph clustering algorithm

I'm looking for an efficient algorithm to find clusters on a large graph (It has approximately 5000 vertices and 10000 edges). So far I am using the Girvan–Newman algorithm implemented in the JUNG ...
0
votes
0answers
12 views

Does phpDocumentor tags order matter?

When we document our class, method and/or function with phpDocumentor, is there any specific order I should follow according to the standards? I know it doesn't matter for output the document. Since ...
1
vote
0answers
46 views

Java Desktop Application Requirement - Is sockets the preferred choice ?

I'm currently working on a requirement for a desktop application - using Java If for some reason the GUI crashes, it shouldn't affect the background process. Once the GUI is restarted - the ...
-3
votes
0answers
50 views

Good artices on programming conventions [on hold]

I'm young programmer (15 years) and I'm programming (mostly in JavaScript) for 4 years. I have good knowledge of the language, can create some algorithms,... But the thing is, everytime my older ...
0
votes
0answers
51 views

Java 8: Does it make sense to split up an existing multi-method interface into several single method interfaces just to take advantage of lambdas?

Say I have an existing callback interface that has multiple methods. To illustrate my point I use a callback the likes that you would see in code that performs some HTTP client operations: public ...
0
votes
0answers
59 views

how to use Sql query to search text in CSV file and avoid iteration

I have one A File and many input files ,All files have CSV format . I want to match text of one column of all input files with one of the column of A file . I have stored all column value of File A in ...
0
votes
0answers
24 views

Efficiently extracting data from pdf with a template system?

basically allow a user to label specific text in a pdf file. Use the label information to create a template, which a script uses to extract text from specific pdf. What would be a good pattern to use ...
0
votes
0answers
18 views

Implementing a universal timer for a game with multiple players in spring mvc

I am trying to create a simple online card game with multiple players. Basically, there's a dealer and multiple players. I have have already implemented most of the game and it's working fine. now I ...
-1
votes
0answers
46 views

Finding all the combinations of a word [duplicate]

Is there any algorithm that can find every combination of the letters in a word? For example, say I have the word air. I know from math that there are 3! different combinations. I want the algorithm ...
-3
votes
0answers
11 views

How to show different forms according to different users in vb.nwt 2008 from sql server 2005 [on hold]

My problem is how to show different forms according to different users... I am working on vb.net2008 and sqlserver 2005, so my problem is that I am using two usertype in datatable which fields ...
-2
votes
0answers
53 views

Adding if else in better way [on hold]

I have one old foundation for server connetcion class in my application. Now I got one new requirement to check if server name contains ### then change calling mechanism by adding parameters to it. ...
0
votes
1answer
249 views

Interface questions for using Command Pattern and Dependency Injection together

I have many projects that have essentially the same high level requirement: test all hardware on a device. Each device can have a different communication protocol, requires different test equipment to ...
2
votes
0answers
59 views

Dealing with browser cache in single-page apps

I'm trying to figure out how to properly handle the web browser cache for single page apps. I have a fairly typical design: several HTML, JS and CSS files implementing the SPA, and a bunch of JSON ...
0
votes
0answers
14 views

remote feature control for apps for a/b testing

I have a published app (Android/iOS) and I'd like to instrument the next version so that I can remotely enable/disable or adjust features, through a web interface. This could facilitate a/b testing ...
2
votes
1answer
110 views

Where do I put the changelog to display the recent changes to the user?

I want to create a changelog for my application to display the set of recent changes to the user. But I'm not sure where I put it. Do I create a text file and write in it? Where do I put this text ...
0
votes
1answer
40 views

Runtime analysis of functions that call other functions

If you have a function being called in another function, do you figure out the runtime for the being called and then "add" that to function you wish to analyze the runtime for? Function to be ...
-4
votes
0answers
24 views

Regarding R, what are the differences between the following commands? [on hold]

Regarding R, what are the differences between the following commands: read(), library(), require()
3
votes
1answer
285 views

LuaJit FFI and hiding C implementation details

I would like to extend an application using LuaJit FFI. Having seen http://luajit.org/ext_ffi_tutorial.html this is surprisingly easy when comparing this to the Lua C API. So far so good. However I do ...
0
votes
1answer
99 views
+50

Data model for persisting queries to database

I have been asked to build what is essentially a query builder for a reporting application. The variety of objects to query, potential modifiers, number of conditions, and so forth to be reported on ...
17
votes
8answers
471 views

Is it okay to use exceptions as tools to “catch” errors early?

I use exceptions to catch problems early. For example: public int getAverageAge(Person p1, Person p2){ if(p1 == null || p2 == null) throw new IllegalArgumentException("One or more of ...
-2
votes
0answers
36 views

Volunteering for a Scrum Project [on hold]

I'm a CSM and currently working toward CSP. I had participated in a couple of Scrum projects before and also used VersionOne and JIRA extensively. I'd like to join a Scrum project as a volunteer, ...
3
votes
2answers
191 views

When should I use ODBC?

I'm writing a software [edit: under Windows] in C++ which later needs to be able to connect to both MySQL and ORACLE SQL. Now the software needs to be as simple for the user as possible. Now I ...
-1
votes
2answers
90 views

Returning void from a function specified to return int [on hold]

int count_to_ten ( int count ) { /* we only keep counting if we have a value less than ten*/ if ( count < 10 ) { printf("%d",count); count_to_ten( count + 1 ); } return; } int ...
8
votes
2answers
1k views

Unit testing classes that have online functionality

When unit testing functions of a class that has private functions that require online functionality. How would one go about testing it? For example: public class Foo { public int methodA() { ...
2
votes
1answer
126 views

Local Updates in Persistent/Immutable Data Structures

I'm getting into ReactJS and am intrigued but also confused about persistent data structures. I love the idea, but I'm not sure how to take my MV*, Mutable, Observable Bindings experience in designing ...

15 30 50 per page