0
votes
0answers
9 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 ...
-2
votes
0answers
9 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 ...
0
votes
1answer
22 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 ...
1
vote
1answer
52 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
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
16 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
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 ...
1
vote
1answer
70 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 ...
-1
votes
1answer
54 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 ...
-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 ...
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 ...
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
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 ...
-3
votes
0answers
48 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 ...
1
vote
1answer
61 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 ...
-1
votes
1answer
61 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 ...
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
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 ...
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 ...
-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 ...
3
votes
2answers
95 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 ...
-1
votes
0answers
44 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 ...
-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. ...
2
votes
0answers
58 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 ...
-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()
-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, ...
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() { ...
3
votes
1answer
115 views

What does the => symbol do in haskell?

I'm fairly new to learning haskell, so I don't really understand the typing system when it comes to constraints. There's this weird => symbol that doesn't make sense to me. Is it actually just ...
-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 ...
1
vote
0answers
54 views

How to efficiently handle related data in MVC?

Talking about MVC with servlets and JSP's, in a context about products and manufacturers , when querying the application for a list of products: the servlet loads a list of products from the ...
4
votes
2answers
271 views

Why do some programming languages have break statements, but not higher-order break statements? [on hold]

I may have been exposed to exactly the wrong languages, but though many have loops and break statements, none of the languages I am familiar with have higher-order break statements¹. While a regular ...
3
votes
2answers
190 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 ...
-5
votes
0answers
40 views

Access 2003 (ADP) + SQL Server 2000 - Project migration [on hold]

A rather old Access 2003 project (ADP) tight to a MS SQL Server 2000 db, should require a complete migration to a newer and supported platform. It currently consists of : - 43 tables - 50 forms - 15 ...
2
votes
2answers
67 views

Unit test database insert/remove and atomicity

I create my compact test database. This is a SDF file, embedded as a visual studio resource. When test suite starts this database is copied in %LOCALAPPDATA% so my test can use it. The first method ...
-6
votes
0answers
31 views

Map Editing Software and procedures? [on hold]

need a working map like google maps..if i point a location ,it must show me the nearest customs points to it. example: i get a location from user,and pint it on map. the nearest hospitals and ...
0
votes
3answers
117 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 ...
-2
votes
0answers
139 views

How to call a function with argc & argv? [migrated]

I'm currently trying to create a GUI for an existing command line program using QT, as a learning exercise. The original code was written in c, and I have included the c wrapper for the c++ bit. I ...
-4
votes
0answers
48 views

parameterized query… unexpected in database using C# [migrated]

Hello there I am trying to enter database records from window Form design and programmed using MS visual C# and it approved and entered database using an other Window Form and I call the child Form ...
1
vote
1answer
139 views

Do you use static keyword to declare single instance pattern? [duplicate]

I just come across this code and find it interesting to know whether you consider this as another single instance pattern? public class Initiator { private static String str; // there is many ...
-1
votes
0answers
47 views

Overlook part of code while debugging [on hold]

In maintenance projects I need to debug code that someone else wrote. While reading code or debugging using debugger, I tend to overlook parts of code and step over. I will need to do several ...
-1
votes
1answer
64 views

How to design RESTful URI to get all unread messages?

I'm developing an ASP.NET MVC Web Api 2 with .NET Framework 4.5.1 and C#. I have these entities in database: Users, which are members of groups. Groups. Messages. Users can sent messages to a ...
3
votes
0answers
66 views

Early return statements and cyclomatic complexity [migrated]

I prefer this writing style with early returns: public static Type classify(int a, int b, int c) { if (!isTriangle(a, b, c)) { return Type.INVALID; } if (a == b && b == c) ...
0
votes
0answers
6 views

Pointer to Array of Strings as CONST? [migrated]

i program a application with mikroC PRO for AVR on the Hardware mikromedia for XMEGA. I have different languages to show on a TFT Display. I must switch the languages at runtime. This works the ...
-2
votes
0answers
42 views

Where to learn C++ object linking? [on hold]

I'd like to use an open-source library in my application (we'll call it library X). There is a patch that I've applied to it (not my patch) that adds some pre-processor checks for a certain macro ...
-2
votes
0answers
38 views

ios application development job hierarchy in a software company? [on hold]

I tried to search for my question's answer before but I didn't get any success. I am an iOS app developer and I want to know about job positions hierarchy in software company in India or outside of ...
2
votes
1answer
209 views

Is it normal for a Software engineer to hate a technology? [on hold]

I am working in a web framework which shall remain nameless and I really hate it for the following reasons. -> It is very badly organized. -> It is built on a language that I really hate for my own ...
0
votes
0answers
35 views

Scale parts of image to fill bezier path with no wastage

I want to be able to take an image and stretch/contract each pixel row (or 5 rows for performance) to fit within a curved shape. I've been searching for this for the last few days and have turned up ...

15 30 50 per page