-1
votes
0answers
4 views

Appointment Handling in ASP.net C#

I'm planning to develop an dental clinic patient information with billing system and appointment handling system for our thesis. I just want to ask if you know some plugins that might be useful that I ...
5
votes
5answers
332 views

Do objects in OOP have to represent an entity?

Does an object have to represent an entity? By an entity I mean something like a Product, Motor, a ParkingLot etc, an physical object, or a concept, something that is well defined. Can an object ...
1
vote
2answers
40 views

Work out which parcel deliveries we ship ourselves and which we outsource

Firstly, I hope I'm asking this in the right place. I work for a large online retailer in UK. We ship approaching 2000 orders each day and are growing very quickly. We currently use multiple delivery ...
-3
votes
0answers
17 views

Unable to install Visual Studio Express 2013 on Windows 7? [on hold]

I am trying to install Visual Studio Express 2013 on my fresh Windows 7 install. I have Service Pack 1, and have applied a bunch of other updates also, but it states that my version of Windows isn't ...
3
votes
3answers
99 views

Changing requirements mid-sprint

I am in the middle of an agile sprint. Midway we realize that the requirement that we were working upon, could have been done in an easier fashion in a totally different way. The development work done ...
24
votes
6answers
4k views

Bad practice - switch case to set environment

In the last three years that I have worked as developer, I have seen a lot of examples where people use a switch statement to set the path (both in back-end and front-end) for a URL. Below is an ...
-2
votes
0answers
8 views

IPython notebook connection failed issue [migrated]

This is probably very simple; and I am embarrassed to ask; but I spent a long time trying to solve it already. I am trying to use an IPython notebook and on the click to get a Python 3 notebook, I ...
3
votes
3answers
55 views

Hamming Distance using a dictionary

First time poster. I'm currently programming a hamming distance program using a dictionary. So if we start with the word "cat" and we want to transform it into "dog", the sequence is ...
-3
votes
0answers
25 views

What makes unix based operating systems good for programming? [on hold]

Many people say that Linux based OS and Macs are great for programmers but no one ever explains why (properly). What makes unix based operating systems good for programming?
0
votes
2answers
31 views

What's a good way to name dictionaries?

If I have an array of events [Event] and a dictionary of events [Int:Event]. What is a good way to name the two? let events = [Event]() let eventsDictionary = [Int:Event]() The above isn't feeling ...
0
votes
0answers
21 views

IS there a desktop version of mobile deep links? [migrated]

I've seen links on the web like ts://[something] that opens an application called TeamSpeak on the computer, if you have it installed (For example). I need help researching and getting started on ...
-4
votes
1answer
53 views

how to compile a C program

I'm attempting to compile my first c program, self taught using the book : C Programming by Mike Mgrath "in easy steps" I am unable to compile because when I follow the step instructing me to use ...
1
vote
3answers
107 views

What does the “t” in int32_t signify?

In C, what meaning, if any does the t at the end of integer types like uint8_t and int32_t have? Where did it originate? Why wasn't the type just called int32?
-4
votes
1answer
31 views

How to start learn Big Data solutions in practice?

Lately I have got very interested in Big Data. I just feel its the area of IT which may fit my interests best. However, as far as I know, big data is still quite new topic and there are not too many ...
1
vote
3answers
99 views

What is the actual value of a consistent code style

I am part of a consultant team implementing a new solution for a customer. I am responsible for the majority of code reviews on the client-side codebase (React and javascript). I have noticed that ...
0
votes
0answers
48 views

Why were javascript's “escape” and “unescape” functions deprecated? [on hold]

Background:Why were javascript's “escape” and “unescape” functions deprecated? The reason I am curious is because OWASP's (Online Web Application Security Project) ESAPI library uses escape and ...
50
votes
2answers
4k views

Why have hardware-accelerated vector graphics not taken off?

I'm working on an app that involves real-time manipulation of vector paths at 60fps, and I'm very surprised by how little information there is on the subject. At first, I tried to implement my idea ...
-3
votes
0answers
35 views

How to get/set value for pixels C++ SDL

I'm making a basic 2D rendering engine in C++ with the help of SDL but I can't find the answer to one question: how do you get/set values for pixels without having to access each individual pixel? ...
0
votes
0answers
33 views

How does the post increment operator work in GNU C?

While the run the below program in Turbo C compiler, I am getting the expected output, however, when I run the same program it using "gcc" compiler in linux, it is giving an unexpected output! int ...
1
vote
1answer
49 views

@Qualifier and Dependency Inversion Principle

I recently discovered SOLID principles and i'm trying to learn how to properly apply them. I have an application that had a huge interface: public interface NotificationService { public void ...
0
votes
2answers
86 views

bool accepts int literals, char literals, string literals - why?

Programming: Practices and Principles - Bjarne Stroustrup Drill in Ch 5 - Errors He wants us to correct the code: boo c = "fool"<s; On correcting boo to bool, this is a comparison, so that's ...
1
vote
2answers
45 views

Websites and browser extension security concerns

I'm working on a project where I own a website (website A) and I have written a browser extension to take information from a 2nd website (website B) and pass it to the site I own. There's nothing ...
2
votes
2answers
52 views

In C++, when should I use final in virtual method declaration?

I know that final keyword is used to prevent virtual method from being overriden by derived classes. However, I can't find any useful example when I should really use final keyword with virtual ...
1
vote
2answers
204 views

Testing front-end app that hits a REST service

A lot of questions about testing here... And I have another one. Forgive me, but I want to make sure I do this right. Let's say I have a front-end application, be it a mobile app, or a single-page ...
13
votes
5answers
5k views

Directly modifying superglobals

I've seen people (who generally write good code) directly alter the $_POST array with code like this: // Add some value that wasn't actually posted $_POST['last_activity'] = time(); // Alter an ...
0
votes
1answer
69 views

Agile development where customer collaboration is difficult

The agile manifesto states Customer collaboration over contract negotiation My question is how do you make this work effectively when there is distance between the developers and the users? ...
2
votes
0answers
162 views

What design patterns could be used here?

I'm trying to come up with a nice design (preferably pythonic) for the following use case. Say there's three services - A, B, C in multiple locations L1, L2, L3, etc. Each service provides ...
0
votes
1answer
84 views

Flat files for events and alarms

So I'm working on a project that I was introduced to a year ago. One of the features of project involves alarming the users when certain events are triggered. There is also a log of these events. ...
-2
votes
0answers
12 views

how to use segment trees to update range of elements in O(log n)

I'm learning Segment trees, and was looking for a good algorithm which can query, as well as update a range of elements in O(log n) time. I came across this post (the answer by Andres). At the end ...
0
votes
0answers
50 views

Conventions - Is it accepted to place the constructor of a class as the last member function?

I'm having a problem where I need to declare a constructor which asks for a var of type EntryType, which I declare as a nested enum class later on in the class. I was thinking that placing the ...
4
votes
0answers
41 views

Why does Apache have two separate tools for build and dependency management?

Apache has two separate tools: Apache Maven Apache Ant + Apache Ivy They seem to both fill the same niche. I have two questions: What are the highlights of the main differences between the two ...
6
votes
3answers
339 views

How to extract the active code path from a complex algorithm

I have been puzzled lately by an intruiging idea. I wonder if there is a (known) method to extract the executed source code from a large complex algorithm. I will try to elaborate this question: ...
-3
votes
0answers
23 views

Javascript Book (or other resource) Focusing on the Language Not The Environment [on hold]

I'm looking for resources to learn the JS language that primarily focus on JS itself and NOT what its being used for (frontend, node.js, etc). Most books I've found seem to end up talking about JS ...
-1
votes
0answers
9 views

Flat profile calculations from traces

I've a traces for function entry/exit with timestamps. I'm interested to process traces and create the flat profile summary, meaning: for each function I want the self time, cumulative time, number of ...
2
votes
3answers
58 views

Approaches for storing and analysing large amounts of time-based data

I've been asked to develop a "telemetry" application that records data generated by a hardware device, which I read every 100ms. There are approx 250 data points (32-bit values), but only a subset ...
0
votes
3answers
143 views

Difference between hotfix and bugfix? [on hold]

I know this is a very basic question but I cant seem to find the answer with Google. What is the difference between a hotfix and a bugfix?
2
votes
2answers
134 views

Post-mortem of a project

Scenario: I've been working for half a year on a small project with a team of two people. They are working in a foreign country, so most of the time we worked via video conference tool. While those ...
-2
votes
0answers
25 views

Support for wrapping Qt in SWIG and Thrift

I'm involved in a substantial project architected around Qt (5) libraries. I've always used Swig to generate a Python wrapper for such projects. For this one, though, the use case is a little more ...
-5
votes
0answers
48 views

Algorithm to find nearest cabs used by Uber? [on hold]

What is the algorithm used by Uber/Ola Cabs to show nearby cabs on their application? Also, How is the time to reach the user calculated ? A link to a blog or a paper would be highly appreciated. I ...
2
votes
2answers
330 views

Designing a list class with filtering and sorting

The app I'm developing needs to display lists of items. Simple enough, but there are a number of things which can change based on user input: Items can be added to/removed from the list. The items ...
0
votes
0answers
127 views

Why Java does not stick to parameter names? [on hold]

An example of what I mean: interface Stack { void push(int); // Not possible in Java void push(int howShouldICallYou); } class StackImpl implements Stack { @Override public void ...
2
votes
2answers
118 views

OO Design Question - Library/Objects for API which includes id references

Public api: getClients / getClientById - returns a json object like: { clientid: 1, name: "Client1" } getProjects / getProjectById - returns a json object like { projectid: 5, name: ...
-2
votes
0answers
28 views

Java ee and spring

I am a core Java developer with around 6 years of core Java experience. To learn Java EE I joined a company where I started working on Java EE applications but in maintenance and not as a dev. I have ...
-1
votes
0answers
39 views

Two color bars in one image [on hold]

Can anyone have idea how to plot two different temperature in same imagesc of MATLAB like the attached figure. I have two different data sets, say, one is ranging from 10 to 1000 and another is ...
3
votes
1answer
340 views

Large Scale Application Development in Android

Since, I am fairly new to large scale app development in Android and Java, I thought I would ask for advice. My team is faced with developing a prototype of a fairly complex medical software. ...
1
vote
2answers
33 views

Security and sanitizing user-input with limited control over 'output' targets

I have recently joined a team working on an application with an integrated chat system. It is a standard chat system that allows clients to communicate, with messages routed through a central server. ...
12
votes
3answers
15k views

Is Java free/open source or not?

On November 13, 2006, Sun released much of Java as free and open source software, (FOSS), under the terms of the GNU General Public License (GPL). On May 8, 2007, Sun finished the process, making all ...
-1
votes
2answers
128 views

How to debug a program after it appears to fix itself [on hold]

While chasing a segfault around a complicated and grouchy c++ program I added several //comments and cout statements, but no 'actual' code. Then, suddenly, for no apparent reason the segfault ...
0
votes
1answer
111 views

BDD, Cucumber best practices

I'm trying to understand some best practices when it comes to BDD and Cucumber. I've only recently started to use it, and the first feature I have written a test for is testing a search feature, more ...
2
votes
3answers
74 views

Should updating to a newer library be done incrementally or in one big leap?

The project that I am currently working on is using a library (well, sort of a library, it self-describes as a toolkit, Geant4), that is several versions out of date. As there are bugs in it, that ...

15 30 50 per page