0
votes
0answers
4 views

about Max MSP program, how can I do a list of one columns data that has 2 columns

I am using the Max MSP programming language, Windows 10. In my patcher file I have two columns: data value and its size frequency. I like to sort the data value according to the appropriate size ...
1
vote
1answer
32 views

How to find the closest right neighbour in a tree?

Given a class: public class Node { public List nodes[]; public Node right; //NULL for now } What's the best way to fill the "right" element of all tree nodes? N ...
1
vote
0answers
11 views

Refactor presentation logic from model

I've seen this pattern used in a considerable amount of MVC applications. Let's assume we have a User model with the methods: hasSessionExpired displaySessionExpired The first method ...
0
votes
0answers
8 views

Passing data from matlab to c interface

As the title indicates. I have a wrapper function in matlab function [status name] = GetCanCaseName(canNum) [status name] = calllib('Test','GetCanCaseName',canNum, 'temp',0); And the corresponding ...
-1
votes
0answers
14 views

Background service to act as ad-hoc API?

I've been given a new project at work, and I'm fairly new so I'm not entirely sure where to start. My boss uses two different applications to track his IT Service work. He uses one third party ...
-3
votes
0answers
19 views

Given a set of N coordinates, how can I determine which of them are closer to each other? [on hold]

I would like to know what's the best way to solve the following problem; Given a set coordinates: coords = [ [ 6.200992, -75.578738 ], [ 6.174297, -75.348264 ], [ 6.199156, -75.573768 ], [ ...
-5
votes
0answers
26 views

Can I develop a program on a computer with no operating system? [on hold]

The situation is tricky, my windows 10 OS is no longer booting off my computer, and when I attempt to boot from the BIOS I get the error "ERROR: Disk Boot Failure" on my HP Pavillion 500 (2TB, W8) ...
3
votes
2answers
64 views

Why does ISO 8859-1 contain letter-free diacritics?

ISO 8859-1 contains a few letter-free diacritics: The diaeresis (¨), the acute accent (´), the cedilla (¸) and the macron (¯).¹ Why were they included? As far as I know (please correct me if I am ...
15
votes
4answers
589 views

Why is it the caller's responsibility to ensure thread safety in GUI programming?

I have seen, in many places, that it is canonical wisdom1 that it is the responsibility of the caller to ensure you are on the UI thread when updating UI components (specifically, in Java Swing, that ...
1
vote
3answers
86 views

How does recursive backtracking work ?

I am trying to figure out recursive backtracking, i have good understanding of recursion and till some extent the concept of backtracking too but i am having difficulty understand the chronological ...
1
vote
0answers
48 views

What is the use of stateless object? [on hold]

While it is possible to create a stateless object, I am curious to know a use case or advantage of the same. If a stateless object is created for only providing the behavior then I would prefer static ...
0
votes
1answer
37 views

Testing a windows game application against older versions of windows

If I were to build a game using Visual Studio 2015 and (Most likely) SDL2, I think I'm right in assuming that in order for that game to run, the user's target windows version needs to have Visual C++ ...
-1
votes
0answers
36 views

MVVM & Threads: Which layer should dispatch on the UI thread? [on hold]

I am implementing the MVVM pattern on an iOS native app. Say the model runs something in other thread than the UI one, and notifies about something's completion to the view model, which at the same ...
-6
votes
0answers
18 views

How to Display other user details through where clause = Session variable [on hold]

I want to display the user's Firstname, Lastname, Birthday and Gender. The session works fine but i dont know the Echo code for this, Thanks!! $sql = "SELECT lastname FROM user ...
-2
votes
0answers
62 views

What's the right way to ask if a GitHub project is maintained? [migrated]

It happens all the time. You come across a useful-looking project that has few or no recent commits, many long-open issues and pull requests, and nothing is changing. How do you usually ask if the ...
0
votes
2answers
56 views

Add GPL to an existing application

Me and 2 of my friends been working on a small app. The source code of the app is on a private repository on BitBucket but now we would like to make the code of our app public under the terms of GPL. ...
-6
votes
0answers
69 views

Recruitment Questions for the UK [on hold]

this is a bit cheeky of me but I've been referred here by a developer friend of mine. I Work for the UK government and we have always used external companies for our coding needs. We have decided it ...
4
votes
1answer
37 views

gitflow model with UAT releases is too chaotic, how to simplify?

At $DAYJOB, we have the following release/delivery pipeline: Get new features, work on new features. Once all features are completed, our own QA performs regressions, etc. QA signs off on first UAT ...
1
vote
2answers
84 views

Class design, responsibility granulation, efficiency and performance

I am in a design dilemma. I have a set of data that can be interpreted in numerous ways, but I cannot really decide how finely grained should it be. To illustrate it with some simple code: class Base ...
23
votes
3answers
2k views

What happens if a feature merged into develop is postponed by management?

We recently had a problem whereby a feature for our webapp (automatic signup) was postponed by management because they felt the start was too "cold" but they wanted all the other features we had been ...
-4
votes
0answers
54 views

Why didn't Facebook implement WhatsApp web app as a standalone service? [on hold]

I don't think I have seen a company implement a web app the way Facebook did with WhatsApp. I don't use WhatsApp, but my understanding is that the web app is somehow pulling data from the phone, and ...
0
votes
1answer
43 views

How to encourage code review with team members working on different projects and platforms

With the previous team I used to work with, we used to work on the same project at the time. Or at least we used to use the same platform/programming languages. Code review was almost daily routine ...
0
votes
0answers
42 views

Manipulating data for a single file

I'm looking for a best practice solution for creating an object whose responsibility it is to handle file storage for a single file. I want to be able to read data from the file, write to the file, ...
-5
votes
0answers
27 views

Can web service application hosted in IIS call a method in a service hosted in windows service? [on hold]

We have a WCF hosted in windows service. How to call their methods from a web service hosted in IIS ?
-5
votes
0answers
41 views

Proper software design and implementation [on hold]

i am having hard time in the time between analyzing the requirements for a software (as well describing them) and implementing them. The question is not language specific, but SDLC connected. Very ...
0
votes
1answer
46 views

Sending files from two computers on different networks

I've tried to achieve some sort of peer-to-peer TCP connection through UDP hole punching (as both computers are behind routers with NAT) but I haven't got it to work. Now I'm wondering whether it is a ...
0
votes
0answers
20 views

Roundoff numbers [migrated]

How to round off the number 1452.1589758654654654678798751268549874654657497 & 1452.8589758654654654678798751268549874654657497 to next nearest number. After roundoff I need that number to be 1453 ...
-2
votes
3answers
57 views

Best open source software for managing developers projects [on hold]

I work as data analyst for an e-commerce company in the UK. The team is relatively small, so there isn't a structured tasks assignment procedure. So projects might begin as a team project then can be ...
-3
votes
1answer
34 views

What method/approach can I use to transpose and transform data to different formats [on hold]

What approach can I use to transform or transpose data for use with Machine Learning Algorithms like Support Vector Machines or Neural Networks ? I get my data from sql by joining multiple tables. ...
0
votes
1answer
19 views

How do I use type assertions in Go when returning an interface type?

A struct I'm working on called fieldDefinition holds metadata about a field used by an object in my web app. One of the fields on fieldDefinition (it does get a bit confusing) looks something like ...
-4
votes
1answer
109 views

Unexpected IndexOutOfBoundsException [on hold]

I was given a project in which there are lines like Object item = null; try { item = mShowsAdapter.get(0); } catch ...
4
votes
2answers
191 views

Why override a static method of an abstract base class?

I'm working on C# code where a static method of an abstract base class is being overridden by the class that inherits the base class. Why is this being done? I thought that only a virtual method of an ...
13
votes
0answers
1k views

Can an abstract class be instantiated? [migrated]

abstract class A { public void disp() { System.out.print("Abstract"); } } public class B { public static void main(String args[]) { A object = new A(){ }; ...
-4
votes
0answers
52 views

What well paid programming jobs can be gained for maths majors [on hold]

I have been a programmer for 15 years with most of those years spent as a web developer. I currently write a lot of ruby and javascript but I am a hobby functional programmer and I love clojure. I ...
-2
votes
0answers
15 views

Exception during Deserialization of a Xml file - Xamarin Android [on hold]

I am trying to deserialize one xml file to create an object. But I am getting Unknown identifier exception during deserialize call. I am working on Xamarin Android application hence using C#. Below ...
1
vote
1answer
73 views

Will issues arise packaging libc and pthread with your C apps?

The issue I hit, is that I am packaging shared libraries with my code in order to load GNUTLS, except for libc, because I figured any system will have it. Most of them don't have the required 2.14 for ...
-2
votes
0answers
34 views

How to write some specific codes in python for newbies [on hold]

The problem says (translated into english) A is an array that contains n integer A[1], ..., A[n] sorted in order increasingly such that A[1] <= ... <= A[n]. We refer to the following pseudo ...
-3
votes
1answer
54 views

Polymorphism: How to explain it? [on hold]

I was having a conversation with a stranger in which they asked me to explain Polymorphism. I told him that to implement Polymorphism you'll need at least 2 classes, or more generally, 2 things. They ...
-4
votes
0answers
28 views

How to write login program in Python [on hold]

I am currently trying to write a python program so that when I run it, it will log myself into my Gmail account (I will supply it with my username and password.) Unfortunately, I have been unable to ...
0
votes
0answers
17 views

Craigslist-like email relay system - or internal messaging system? [on hold]

A client wants an app, where users can email each other without revealing their actual emails. So we've come down to 2 options: Email relay system, much like Craigslist Custom messaging system ...
-5
votes
1answer
46 views

Architecture of my starup web application: full-js vs django [on hold]

I am going to code a simple web application: On the customer side: Home page Login/Logout/Create account Show some tables from a database On the admin side: CRUD operations on database tables ...
1
vote
0answers
129 views

Why aren't Java Collections put in a dedicated package

Why do they just reside in java.util and not somewhere more specialized like java.collections or java.util.collections? It could contribute to mess up with different unrelated code. Couldn't it? Was ...
1
vote
2answers
58 views

Monitoring a web service

I don't know how to phrase this question properly so please feel free to suggest edits. I've helped develop an in-house RESTful service for a company I'm working for, and it seems to have hit a wall ...
-4
votes
1answer
35 views

How to create a single file with two different binary data sets and read it again [on hold]

I have two sets of binary data 000001111100011101010101 & 001101010011001010100110 (but the data can vary in length each time), and these data are stored in two bitarrays (not byte arrays). From ...
0
votes
0answers
22 views

Distributed transactions with Kafka

I need to implement a transaction that spans over loosely coupled (SOA+MOM) components. When a particular event is received, FOO and BAR need to do a transactional operation: that is, both the ...
1
vote
0answers
13 views

Azure Webjob Creation and workflow management

I am attempting to create a long running job to be used in Azure. I would like to be able to run multiple instances of this job if I needed it. I was thinking of seperating the primary functionality ...
5
votes
3answers
545 views

Multiple Small Programs Connected via Sockets vs One Large Program [on hold]

I am at the beginning of a project which involves reading from several sensors and fusing the data from those sensors together. Altogether there will be 4 sensors connected via USB and a webcam, also ...
0
votes
0answers
41 views

Best way to implement signal/slots for application menu

I want to create a desktop application using Qt framework. The main application will have a menu bar and every menu many actions. In order to achieve this I've a MainApplication class, a MenuBar ...
1
vote
1answer
109 views

Understanding Flux pattern

I'm actually studying the flux pattern and there's something that I can't understand concerning the stores. What are they exactly? I have read many articles, and it seems that it concerns the ...
0
votes
0answers
48 views

MVVM with multiple view models that share a model

I have an application where there is an "inventor" model whose data I would like to display differently in different areas of the application. Therefore, I'd like to create different view models ...

15 30 50 per page