-1
votes
0answers
8 views

Can I create an issue in a github repository by sending an email? [migrated]

Is there any way to allow team members to raise the issue on github by simply sending the details to some email address, like how Fogbugz allows it?
-3
votes
0answers
20 views

camera calibration with known size and distance from flat object [on hold]

I want to calibrate a camera with a flat object that I know the size of and distance from. I also only have one image of it. I want to calibrate the camera so I can find the distance between the ...
0
votes
0answers
39 views

Design Web API with large number of input parameters [on hold]

We are in process of designing a web api that has very large number of input parameters. There are very few basic parameters that are required and rest of the parameters are dependent on these basic ...
1
vote
1answer
65 views

Internationalization on a service layer of an application

My specific problem is how to handle internationalization of specific messages from an architecture layer that is not the view layer(e.g service layer). I've created an architecture based on ...
-2
votes
0answers
25 views

Fix java.lang.NullPointerException? .setColor(c) [on hold]

Code: JPanel randomPreview; {..} **66-70** public void showPreview(int pX, int pY, int pCol, JPanel pPanel) { Graphics g = pPanel.getGraphics(); Color c = new Color(pCol, pCol, pCol); ...
1
vote
1answer
66 views

What makes BEM better than using a nestable style sheet language like LESS?

A colleague of mine is heavily pushing the BEM (Block Element Modifier) method for the CSS in a project he's helming, and I just cannot comprehend what makes it better than the LESS CSS we've been ...
1
vote
0answers
37 views

What is the purpose of separating routes into individual modules with Node.js and Express?

My app uses Node.js and Express 4 and has the following code in the app.js file located in the root directory: var express = require('express'); var index = require('./routes/index'); var users = ...
-5
votes
0answers
24 views

Logical error help [on hold]

Sorry for the title, I'e been trying to get this program working for a while and it really beats me as to why I can't seem to get it work as I want so here's my whole code: import java.util.Scanner; ...
-2
votes
0answers
143 views

Why do C based languages use a colon for the case's? [on hold]

Why is a colon used at all? For example: switch( c ) { case 'A': CapitalA++; case 'a': SmallA++; default : total++; } Instead of: switch (c) case 'A' ...
1
vote
2answers
83 views

To convert to accurate data types or maintain default type of string

Scenario: I have a web application that records and checks data against two temp tables (1 table being a temp source and the other being a destination for the application). These temp tables are ...
-1
votes
0answers
27 views

How to realize HTTPS by using native api in Swift? [on hold]

I'd like to use Swift to write native api to realize HTTPS. There are some third-party frameworks, like RestKit、AFNetworking, but they are written in Objective-C and there might be some problems in ...
3
votes
2answers
133 views

Can the author of an MIT licensed project convert it to a commercial licensed one?

I came across bootstrapvalidator project on Github which was released under MIT license in the past. In the contributors list, I can see a lot many people other than the main author of the project. ...
-2
votes
0answers
39 views

Find kth smallest element in row wise and column wise sorted matrix [on hold]

One solution I have in mind is that I can construct a min heap of k insert first row/column, then one one by one extract k-1 element from heap and insert new element from corresponding row/column. ...
-1
votes
1answer
121 views

How to pay the users of my website according to the number of clicks they get on the ads placed on their page [on hold]

I want to make a website where A user can login and put content on the website and a google or Chitika add will be placed automatically on their content. According to the popularity of the content, ...
-4
votes
1answer
33 views

Data structure for concurrent look ups [on hold]

Problem: I am working on a research project at my university. One of the problems I am working on involves, tracking each malloc and free happening in user program and store some metadata for each ...
-2
votes
0answers
16 views

JComboBox to auto suggest in java se [migrated]

I want to know how to get an JComboBox to auto suggest the elements when we type in the combo box. For an example, If I had loaded a JComboBox with these names using MySQL, [Amila, Nimila, Nikila, ...
0
votes
0answers
21 views

MS SQL DB retrieve two coloumns from one query [migrated]

I have two tables as below: Students table work table: My query is: select stud_name from students inner join work on work.library=students.stud_id where work_id=2 It returns name of ...
0
votes
1answer
43 views

How can I automatically test my app on multiple OSes? [on hold]

I have a Python based desktop app that can run on Windows, Linux, and Mac. Each time I make an update, I would like to test that it works on each OS, because I have already had several OS-specific ...
-1
votes
0answers
10 views

Unable to retrieve result data [migrated]

I'm trying to retrieve a set of rows through a query. I am able to retrieve the number of rows using $query->num_rows(). However when I am trying to retrieve $query->result(), I am unable to ...
0
votes
1answer
141 views

Full screen command line app that user cannot close in any way [on hold]

All I'd like user to see is a "full screen" command line interface running my program. Users can enter certain input when prompted to, but they shouldn't be able under any circumstances to stop the ...
5
votes
6answers
529 views

performance versus reusability

How can I write functions that are reusable without sacrificing performance? I am repeatedly coming up against the situation where I want to write a function in a way that makes it reusable (e.g. it ...
-1
votes
0answers
138 views

What is a full-stack developer? [on hold]

I read the Stack Overflow Developer Survey 2015 report and do not quite understand what a full-stack developer is. I found several points of view: a person engaged in the development of code for ...
0
votes
0answers
7 views

Edit files on multiple domains on Mambo CMS

I have multiple domains on same web server, all running on Mambo CMS. Each site uses same template and has roughly same site structure. I need to edit the same page on each website - is there a ...
-3
votes
0answers
8 views

I am getting org.hibernte.InvalidMappingException: unable to read xml when i try to run my program [migrated]

I am a beginner to Hibernate and cannot understand in which part of my program I have made an error. Can anyone please tell what may cause this type of error : org.hibernte.InvalidMappingException: ...
1
vote
5answers
328 views

How to share memory between applications written in C/C++

I'm going through a program written in C/C++ for control in robotics. Basically, three different programs run at the same time, and they communicate via shared memory. Google-ling around I found ...
0
votes
0answers
123 views

How to web scrape [on hold]

So I am using a raspberry Pi for displaying calls to our fire department on a big screen. It works great but I want to customize the display. Currently, it takes the information from a webpage that is ...
-4
votes
2answers
75 views

How can I Identify which condition satisfied the if statement? [on hold]

Suppose, I am using a if statement as such: if(A || B || C || D) { echo "Hurrah! if is satisfied!"; echo "But! How can I know which was true of the 4 (A,B,C,D)"; } Is there any way I can ...
-2
votes
0answers
13 views

how to detect angle skew and correct it for text line segmentation with matlab code(OCR) [on hold]

(OCR )i work on text line segmentation. i want to use hagh transform for detect skew text line and correct image .it is cause better segmentation my work. please lead or write code with matlab or ...
73
votes
15answers
6k views

TDD Red-Green-Refactor and if/how to test methods that become private

as far as I understand it, most people seem to agree that private methods should not be tested directly, but rather through whatever public methods call them. I can see their point, but I have some ...
1
vote
2answers
24 views

how to paginate and combine results that come from different sources sorted

I have the following scenario: I have a user that needs to see some news feeds from different sites and I want to paginate them and sort them by date. The problem is I don't understand how to do ...
-3
votes
0answers
23 views

Which platform i can use to develop a VNC server between JCreator, Net Beans and Eclipse? [on hold]

I would like the develop a VNC server that will allow the remote connection of two computers located in different locations and connected in different networks.
0
votes
1answer
72 views

using node.js server with mysql-module and PHP for a penny-auction website?

I'm building a penny-auction platform like DealDash and just read into the WebSocket and node.js topic. I used PHP, MySQL and Ajax to build the website. I'm nearly finished and just have to implement ...
1
vote
2answers
132 views

How do I do SQL Server mapping with a new Desktop application written in C#? [on hold]

In 2 weeks I will be starting a new job as a software developer in a company that currently does not employ any professional programmers. My first task will be to rewrite a Excel/VBA application in ...
-1
votes
1answer
59 views

Withdrawal and bank balance in banking system [on hold]

I am making an online banking system(codes can be provided if necessary), my problem is with getting the balance of an account and withdrawal. How can i design this into the system, I can allow the ...
-1
votes
1answer
36 views

A good workflow to start with Continuous Delivery?

My team is facing a couple of new challanges in the near future, as we will start developing a couple of (micro)services which will run in a cloud environment. Therefore we want to establish a ...
5
votes
2answers
166 views

Designing exception classes

I'm coding a small library and I'm having some trouble with designing the exception handling. I must say that I am (still) confused by this feature of the C++ language and I tried to read as much as ...
0
votes
1answer
72 views

DI container with multiple instances of same object

I'm looking for idea to make a DI container that can store multiple instances of the same object. Usually, a DI container should store either a single instance of the object, or create new object each ...
0
votes
1answer
12 views

Can I ditch the persistence.xml file on JBoss?

I have a Spring based app where another programmer is using JPA's persistence.xml file to define the setup of hibernate and to define the entities that are being persisted. The app is using Spring's ...
-2
votes
0answers
44 views

How to make java games [on hold]

hi I am a student in IT (Multimedia Programming). I am new here in this website and really I like it very much . my question is ( I will make game about hidden objects by using (java eclipse) , so I ...
-1
votes
0answers
16 views

add an object or edit if exist (indexeddb) [on hold]

I have this code and i can add or edit the object if exists, but the "for" finish before the function onsuccess is called, then the index "for" is bad. How to pass the index onSuccess? Help!!! ...
-1
votes
0answers
76 views

.NET developer job postings all seem to want ASP.NET - where to start? [on hold]

I am a ~10yr experienced .NET developer. Have worked with Win services, web services, front end apps, even some mobile dev (iOS). Still, all the job postings for '.NET Developer' these days seem to ...
-1
votes
0answers
15 views

Is there a service that can do multi-OS testing of my desktop app? [on hold]

I have a Python based desktop app that can run on Windows, Linux, and Mac. Each time I make an update, I would like to test that it works on each OS, because I have already had several OS-specific ...
-1
votes
0answers
25 views

how to write an Extreme Programming report [closed]

I'm graduating this year, and i have to write a report for the application i made, the thing is i follow the Extreme Programming(XP) software development methodology, but i have no idea how to write ...
-2
votes
0answers
84 views

Most concise solution in Golang for Cheryl's birthday problem [on hold]

I found the Python code found on this page somewhat fascinating for its brevity https://news.ycombinator.com/item?id=9375643 What would be the most succinct way to code the same logic in Go? import ...
-1
votes
0answers
37 views

Honest Career Advise [on hold]

I would be graduating soon and looking for internships presently. Before joining the Masters program, I did work for about 3 years as a developer and failed miserably at it. Since then I decided I ...
0
votes
1answer
29 views

How do I effectively test, and log, network status with a Java Application?

I want to write an application (in Java) that basically detects when I lose my internet connection, and then log the time. To make things more challenging, I'd like to figure out the point of failure. ...
0
votes
0answers
21 views

Is there a detriment to using SQLite over a pList for persistence?

I'm making a fairly simple application and I've got a settings menu that stores times and some boolean values. I have the application storing and retrieving data already but I started to wonder if ...
-4
votes
0answers
11 views

Is it possible to install llvmlite Python package on Cygwin? [migrated]

When I try installing llvmlite Python package on cygwin, I get the following errors. GINMF in this case. I'm currently using Cygwin 1.7.35(0.287/5/3), Python 2.7.8, and Windows 7. $ pip install ...
-3
votes
0answers
22 views

Python … Strip carriage returns / line feeds from database records before they are written to csv [closed]

I have the following code that reads lines from a database and writes the matching results to a csv file. The problem I am running into is there are occasionally carriage returns / line feeds in some ...
0
votes
0answers
38 views

Experimentally determined timing of function/method calls vs locks, signals. Anti-pattern name? [duplicate]

Here is some pseudocode and paraphrased comments: // Allow time for screen to start before content reset. // Delay time determined by testing with platform version 5. delayCall(0.01, contentReset()) ...

15 30 50 per page