0
votes
1answer
25 views

Does variable type specification leads to any performance difference?

This question sits in my head for a long time now. Let's say I have a very long method which basically creates a responsive and resizable layout for a user interface by using a few fixed values, ...
2
votes
1answer
178 views

Open / Closed Principle

I found this code example explaining Open / Closed principle. Code before application of principle: public class Logger { public void Log(string message, LogType logType) { switch ...
-4
votes
0answers
19 views

Database Structure for Agents commission payouts generation with TDS deduction

Actually I am creating this for the first time to generate the commission payouts for agents for their sale. Commission need to be generated when the product is sold out and payout need to be done ...
0
votes
0answers
33 views

Configuring a microservice landscape, should the view be monolithic or be attached to core services?

I'm migrating my monolithic web application to a microservice based one. I'm going to use Spring cloud and I've got a discovery service where all the rest of the services are registered. A simplified ...
-4
votes
0answers
28 views

Working with large data sets on Php and Excel

I need to deal with larger datset in my upcoming project, so choosing a good tech for the same will be good. As we say "Right tool for right job" Project will be dealing with Large data sets, ...
0
votes
0answers
18 views

Implementing CMA-ES

I am attempting to implement the CMA-ES optimization algorithm in my favorite language (using the example code here as a guideline), but I need help solving a problem I am having. To test the ...
-1
votes
0answers
57 views

Any Real Disadvantage to Starting a New iOS Project in Objective-C in 2016? [on hold]

I may soon join a new iOS project in the following months. I have heard the project will be done in Objective-C, not Swift (for reasons I can't disclose). I've been coding in Objective-C since 2009 ...
-4
votes
0answers
29 views

How to certify/validate software for install on windows to prevent a warning message

I have written software for a daily print utility using windows task scheduler. When it is installed on a windows system it throws a warning. I know I can turn this off but a user installing my ...
-3
votes
0answers
72 views

What language(s) used to develop F-35 software?

I'm curious about what kind of technology used in the development of the F-35 fighter jet's software. I just read some news about how bug-ridden the system is, and would like to know what were used to ...
0
votes
1answer
27 views

How can I paint a custom circular JComponent without an “invisible box” around it?

I'm writing a JApplet that displays a diagram with numbers in circles and lines connecting the circles. I've created a class that extends JComponent to act as the circles. I overrode the ...
1
vote
0answers
39 views

Pattern to use (if any) to co-ordinate loosely coupled classes with strong interdependencies

I have a collection of cooperative classes whose behaviors are interdependent upon one another. But I wish to keep them loosely coupled, so I've created appropriate interfaces. I want to determine an ...
2
votes
1answer
111 views

Word game algorithm

Back in the days of 8-bit machines there existed an educational word game. I have no idea what it was actually called but for the sake of this question (since it involves pyramids) let's call it ...
-3
votes
1answer
57 views

Floating point error questions

Books teach us that single precision has 24 significands digits this is aproximatly 7 decimal significant digits. Now what would be the sense of printing a float with more than 7 digits? Im wondering ...
1
vote
0answers
53 views

Child class accessing its parent's method from Ancestor method

I find myself right now banging my head with the following issue (in PHP): I have an abstract base class, which has a non-abstract method, inherited and unchanged all over the inheritance chain ...
-5
votes
0answers
36 views

creation of .bat file to reboot the computer if the network isn't working [on hold]

I can't seem to create/put this script together, but I need this for my classroom of desktops. I only have some pieces. I need the desktop to reboot( shutdown -r -f -m \computername -t 0 ) when an ...
-4
votes
0answers
26 views

List aggregator web application [on hold]

I was looking to build a small web app to list pictures by group (ex. fruits, animals, cakes, etc.). Then allowing each user to select from the various lists and create their own master list from the ...
-4
votes
0answers
22 views

Subsetting in R [on hold]

I am new to R so that might be the reason why my question is so basic. I have data which looks a bit like what is shown below Hospital January February March April May June July ...
1
vote
0answers
47 views

Would the APM be faster or more efficient than TAP?

I'm doing some research for a project in which I will need to create a service which can handle millions of requests per minute. Clearly I want to use an asynchronous programming model to make the ...
0
votes
0answers
56 views

How do the conversions between signed, unsigned and float types work? [migrated]

The compiler I use is g++ (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4. I compile my programs with the following command: g++ -std=c++11 -pedantic -Wall program.cpp The program no. 1.: #include ...
0
votes
0answers
19 views

Recommendations for Big Data filter/formula language [on hold]

I'm working on a project which deals with terabytes of logging data which all must be preserved in it's original state. On top of this, to make it meaningful to the end user, it needs to have VERY ...
4
votes
1answer
95 views

Which C++ IO interfaces for a complex data source i.e. converter

My question: When you've got a complex converter like, that takes chunks or large result sets out of a database, converts it into a line by line file/resource in the end, should one either design it ...
0
votes
3answers
107 views

.Net Project architecture and DB connection

I'm looking at a new project to be developed in .Net, and I'd like to do it the right way. I'd like to create a solution with 3 parts : a front- and a backoffice, both using a the third part as ...
3
votes
3answers
52 views

Should we reuse web app logs for user behaviour analytics?

Our web app generates a large amount of logs. These logs include both events regarding background operations in the app (data arrives from the server, ajax failures, inter-component communication, ...
0
votes
0answers
19 views

WCF security with Java client

I'm about to develop a WCF service which is going to be called by an external Java client. I've developed a couple of services before but they were called internally, so security is now a concern. ...
-3
votes
0answers
49 views

new to JS looking for advice [on hold]

I'm a hobbyist web developer, I mostly focus on HTML and CSS and am now looking to conquer JS My girlfriend asked me to set up a website to show off her artwork (she makes birthday/christmas cards and ...
1
vote
0answers
38 views

Find minimum number of steps to a goal without estimator for how close intermediate steps are to the goal

I've been trying to find a good way of solving the following problem, but I'm not sure how to even frame it. I think there might be relatively well-known solutions I'm not familiar with, since I don't ...
4
votes
1answer
163 views

What is a Web API?

I am doing some reading on web technologies on the MDN page. I understand how HTML, CSS, and Javascript can be used to build websites. However, I am a little confused about Web APIs. Are Web APIs a ...
-2
votes
1answer
39 views

Javascript: Effect of passing entire object vs a property of the object as argument on performance

Does passing the entire object as argument rather than just a property of it, in javascript, effect performance? For example: <input type="button" onclick="getDetails(this)"/> vs <input ...
2
votes
2answers
105 views

Unit Testing and 3rd party packages. Do I mock or not?

I'm just getting used to unit testing and on my new project I decided to adopt a TDD approach. My code below is to test the UserServices class which is responsible for creating a user, deleting a ...
2
votes
2answers
74 views

Code size overhead by including unnecessarily extra header files

I have a program which includes lots of header files but it do not uses all the header files. I have removed some of them although it is working fine. I did not notice any changes in the performance. ...
0
votes
1answer
76 views

What is the responsibility of a class 'calling' other classes as workflow?

What if I have a class X that does the following: Read a file (within its own class). Parses the file by calling a Parse class Processing the parsed file by calling a Process class Outputting by ...
-1
votes
0answers
54 views

Individual developer in a big company [duplicate]

I work in a company as IT specialist/programmer, the company hires around 1 000~ employees and annual revenues is more than 1 MLN dollars. I am the only one who program. I wonder if using Visual ...
0
votes
0answers
47 views

Where do you put your profiling code?

I just developed an algorithm and additional to the usual unit tests I wrote a profiling "test" that I was using to measure and optimize its performance. It is structured similar to a test (arrange: ...
-5
votes
5answers
132 views

Java constructor: I can't understand

I am learning Java and I have a problem understanding the concept of constructor for the field variables. What is the problem with the following code. It shows "null" as an output. public class ...
-2
votes
0answers
18 views

Streaming video from android camera to web page [on hold]

My project is android app like ipcamera,want stream video from android camera to web page.I am using codes in this ...
-1
votes
0answers
35 views

How much poppler-utils is scalable?

We need to process large number of PDFs simultaneously to extract text, images and create htmls. We have been using poppler-utils for PDF processing and Ruby for making system calls to poppler-util ...
0
votes
0answers
28 views

Best practices for dashboard of near real-time analytics

I’m currently building a dashboard to view some analytics about the data generated by my company's product. We use MySQL as our database. The SQL queries to generate the analytics from the raw live ...
-3
votes
0answers
24 views

How use opaque object and service function separate underlying Implementation of object form code in windows kernel

Windows object kernel is opaque . To initialize object we must call on object service to get data out of an object or to put data into, for example windows use initializeObjectAttributes macro to ...
0
votes
1answer
172 views

Efficient way in comparing two lists

I have created two lists of objects: One is records from an xml and the other is records from the database. The rule is check if the record from an xml exist in the database then exclude. I have ...
-2
votes
0answers
36 views

Is it possible to access protected members of an object from the function of an object whose type is derived from type of first object?

I am aware that access-specifiers are class-based but I want to know if it extends to Inheritance also? Class base { protected: int x; } Class derived: public base { public: void f(base* pb){ ...
1
vote
0answers
17 views
+50

Windows Phone 8.1 & above - is there some equivalent for Apple's keychain

I want to store store some app specific secret on the phone - this should be available only for the app & no other app. I was looking at DPAPI - however, if the user does not have a logon ...
4
votes
1answer
102 views

Developing a system that connects to any datasource without much/any source-specific code

We are a small team doing work on a LoB system that needs to connect to varied systems such as ERPs and CRMs to extract business processes like invoices, customer info, production orders and the such, ...
1
vote
1answer
101 views

Is this an appropriate code structure, or is there a better one?

This is an iOS app but I will try to make it as general as possible because I think a wide audience could have good feedback. I have a application I am making for iOS. It has 4 main tabs in a tab bar ...
-1
votes
0answers
39 views

How does Microsoft's Cortana or Apple's Siri map inputs to actions [on hold]

I was wondering what method Cortana, Siri, and similar software use to map user input to an action (e.g. show the weather or create a remainder). I don't care about speech to text software, I don't ...
0
votes
0answers
14 views

Alternatives to a generic authentication to access an admin dashboard without session management

On my private homepage I am hosting some pages and corresponding files for some courses where my students can download material for the classes. Furthermore I am publishing news where I write about ...
5
votes
2answers
210 views

Report test failures “all at once”, or report them one by one

I am a sole developer working for an organisation that has no testing strategy. I am trying to integrate a crime system developed by a vendor with an external application I developed. The external ...
-1
votes
0answers
36 views

Branching for websites coming from base code [on hold]

I'm trying to develop a version control strategy for websites coming off of the same base code. I've been developing a plan and would like to request feedback as to the feasibility of it. For ...
0
votes
1answer
44 views

Impacts of a method's parameter that throws an exception according to object state

I'd like to know how bad it is to do something like this: public class FooBar { public bool CanOverride { get; } public FooBar(bool canOverride) { CanOverride = canOverride; ...
1
vote
1answer
33 views

TreeItem containing non-String object displaying strange text

Hello StackExchange community! This is my first post and appreciate any help anyone can offer. I'm new to Java, and I'm sure this issue is simply due to my misunderstanding of the fundamentals. I ...
3
votes
2answers
249 views

Is turning a method into a class too use it across many classes bad practice? [on hold]

Let's say I have a sort method inside of my class and another class that has no relationship with that class needs the same method. Instead of writing that method twice and breaking the do not repeat ...

15 30 50 per page