0
votes
0answers
15 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
25 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
0answers
41 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, ...
12
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
127 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 ...
-2
votes
2answers
110 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
58 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
286 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
198 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
69 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
132 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
144 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
39 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
216 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
36 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 ...
-2
votes
0answers
61 views

Dealing with interview tests [on hold]

I have few years programming and right now I'm looking for new opportunities, today I made a programming test with 5 problems and I did really bad, I just did 2 and the others I just made them ...
0
votes
0answers
38 views

How to get values to output as a currency? [on hold]

I am working on calculating change, and investment rates with java. My code gives me the correct values, but does not display them how I'd like. For the first part, when I calculate the dollar amount ...
-2
votes
1answer
43 views

Is it bad to often switch to different learning path? [on hold]

I started developing applications using VB.NET and switched to Java because it is the language that our college teaches. I then switched to Android development after learning the data structures and ...
0
votes
1answer
66 views

How to split a Service class in two but still use them like one?

I've got a class: AuthenticationService findLoggedInUser() Checks session if User is logged in. If not, check client persistent user login cookie and log in. loginUser($email, $pw, $remember = ...
-1
votes
0answers
39 views

How to deal with timeouts even after setting a high timeout? [on hold]

I have started running into a timeout issue when scraping, I have the timeout on the request as high as 120000. This was my first time writing a scraper, so I am unsure of how to make the requests ...
0
votes
0answers
40 views

As a freelancer how do you quote/charge for a project [estimation] [migrated]

I am currently estimating effort, and therefore, the cost of a project for somebody who has asked "how much is it going to cost for X". After a discussion about functionality/scope I am providing a ...
0
votes
1answer
41 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 ...
-1
votes
0answers
41 views

How to jump from intermediate projects to large one [on hold]

I've been developing projects for five years. Since then I gained some experience on project planning, oop programming principles and a lot. I also integrated other SDKs to my projects, but mostly in ...
17
votes
8answers
529 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
29 views

How to change the alignement of contains in a JScrollPane [migrated]

I am working on a GUI to manage bank accounts. I use a JPanel in a JFrame to list all the account register as buttons, and a JScrollPane to extend the view. When I run the program, the scroll bar ...
32
votes
2answers
3k views

Why do some languages round to the nearest EVEN integer?

Programming languages like Scheme (R5RS) and Python (see this Question) round towards the nearest even integer when value is exactly between the surrounding integers (although exact is a matter of ...
-5
votes
0answers
22 views

Naming convention to be used in web development? [on hold]

Would you suggest best/most commonly used naming conventions to be followed for HTML ids,classes and names JavaScript functions PHP.
-2
votes
0answers
39 views

Auto generate project status reports thru email text analysis and summarization

I hate writing status reports for my boss. I usually spend an hour each Friday morning scanning emails trying to remember what the heck I did for the past week. A typical report looks something like ...
0
votes
1answer
62 views

Is it possible to create an arch that allows for an app to be downloaded and installed at the same time?

In theory, if I wanted to have a developer write some sort of computer architecture/OS, could I have him/her add the capability to download + install something at the same time. I'm thinking like ...
2
votes
0answers
38 views

Feasible to keep work to a minimum for distribution purposes?

I'm faced with image manipulation requirements for a mobile app I wish to develop that I could quite easily (or 'easier', at least) implement in C# or javascript, as it's what I'm most familiar with. ...
2
votes
1answer
71 views

Should this interpretation happen in the Controller or the Model?

Imagine an application where the user is allowed to create his/her own musical scales. The user selects notes from a list, arranges them to a group and presses a button to create the scale. In an MVC ...
-1
votes
0answers
28 views

Referencing Treenode Values? [on hold]

I have been scouring the internet for an answer and most likely passed it several time but I am trying to reference the value from Selected $treenode.tag. How would I find the value of the selected ...
-4
votes
0answers
33 views

payment platform which charges commission [on hold]

I'm desperately looking for a solution for this problem. I'm developing a website in which freelancers (programmers) offer their services and the client makes a payment. I want to charge a 10% ...
0
votes
0answers
4 views

Comparing Data In Text Boxes in Visual Studio 2013 [migrated]

So I mostly use Microsoft Excel for a lot of my work and the most "Programming" I do is writing basic logical functions in excel. I am setting up a windows form in Visual Studio 2013 and I want to ...
-2
votes
1answer
46 views

Effects of using visual basic dll in C# projects [on hold]

I have C# windows application that use Microsoft.VisualBasic.dll reference for the needed of use Interaction.InputBox is that have any negative effects on the project ?
0
votes
1answer
64 views

How are the tiles in WORDAMENT organized?

I'm trying to create a word game, just like WORDAMENT, in my spare time. In order to present a new round, I need to create a board with 16 letters organized in a 4*4 grid. Currently, I'm generating ...
3
votes
2answers
95 views

What is the extent of programming language localization dialects?

Apple's scripting language AppleScript was designed with localization in mind; allowing the language to be represented in multiple dialects resembling languages from around the world. In this way, ...
1
vote
2answers
318 views

c++ coding practice class vs. “free” functions

I am currently writing my first bigger project in c++. Its basic linear algebra. I am aware that boost libraries and others exist, but for various reasons I need to write my own. Purpose of the ...
0
votes
3answers
86 views

Does it make sense to have a separate init function?

I'm created an opaque type and I have two options for its management. The first looks like this: type_t *a = type_init(); int err; err = type_do(a, "foo", "bar", FLAGBIT1|FLAGBIT2, NULL); if (!err) ...
-2
votes
0answers
35 views

Example cases for each data structure? [on hold]

I've been looking all over the Internet for a page that lists cases for when to use each abstract data type. I expect that reading through a series of both surprising and obvious uses for each type ...
1
vote
2answers
90 views

how to upgrade software [on hold]

I am a beginner in computer programming with C/C++. I have previous experience in programming for the web. There is some confusion that I am having with the software development process in desktop ...

15 30 50 per page