1
vote
2answers
322 views

Strategy for creating a websocket relay?

I own a Raspberry Pi and would like to use it as some sort of websocket relay, so that all people who visit a specific webpage would be able to communicate with each other. The key thing about this is ...
23
votes
5answers
1k views

Cannot understand a certain point in Agile Manifesto Principles

I was reading Agile Manifesto Principles. Everything seems clear and reasonable except for one point: Simplicity--the art of maximizing the amount of work not done--is essential. I dont ...
4
votes
2answers
111 views

How should an embedded OS be combined with user code?

As a side-effect of an embedded project I've been working on, I've developed a small operating system for an ARM processor. While the OS and my user code are in separate directories and have clean ...
1
vote
3answers
61 views

Deserializing an object at beginning of program which is used (much) later

I am writing a program, where in the beginning of the execution, I am instantiating a number of classifier objects using parameters stored in some files. I later use those classifiers in multiple ...
-2
votes
0answers
20 views

Which framework (if any) should I use with React/Flux? [on hold]

So I am coming from Angular. I have built a couple React components, but I have never used the Flux architecture. I am hoping to figure out if I am going about this correctly before I write any code. ...
-5
votes
2answers
76 views

Does CPU need local cache if Intel and Micron 3D XPoint is used? [on hold]

As Intel and Micron stated, the new 3D XPoint RRAM is 1,000 times faster than NAND. See link here. From speed perspective, does CPU still need L1 cache if Intel & Micron 3D XPoint RRAM is used as ...
1
vote
1answer
60 views

CentOS/RedHat devtoolset license implications

Can I use the RedHat devtoolset to build non-GPL-ed software? Do I have to mind any caveats? From my understanding, the devtoolset knows the limitations of the standard libraries shipped with older ...
-1
votes
2answers
129 views

Modelling a parcel management application

Scenario/Context: I am working on an application which would find out the highest volume of parcel delivery based on the pin code of a particular area by reading a text file which has the list of ...
0
votes
0answers
91 views

Integrate C++ DLL with C# GUI asynchronously (design issue)

This is more a design than an implementation question. I am aware of how to integrate a C++ DLL within a C# main app that acts as GUI. Believe me that I've read all other questions on similar topics, ...
14
votes
2answers
437 views

Is it good practice to store software version numbers in VCS?

A product version, such as v1.0.0.100, represents not only a unique production release of software, but helps identify feature sets and hotfix stages for said product. Right now I see two ways to ...
4
votes
2answers
308 views

Using private vs company devices for development at work

I'm employed at a mobile app development company since 4 months as Android developer. Currently I'm using my two private Android devices for development. Is it common practice that developers use ...
0
votes
0answers
4 views

Could not send form data in PHPUnit? [migrated]

I am new to PHPUnit with Symfony 2. I have a problem sending form data to client. I have login details needed to log in the page. so i send it as array. Every time i run test i got Error Message as: ...
1
vote
1answer
273 views

Dependency Inversion Principle [on hold]

I have been studying also S.O.L.I.D. and watched this video: https://www.youtube.com/watch?v=huEEkx5P5Hs 01:45:30 into the video he talks about the Dependency Inversion Principle and I am ...
-2
votes
0answers
51 views

What's the lhs/rhs equivlent of a single parameter? [on hold]

Typical operator overloading conventions go like this: MyObject operator+(const MyObject& lhs, const MyObject& rhs) { return MyObject(lhs.my_value + rhs.my_value); } What would be the ...
0
votes
1answer
33 views

Thread synchronization for multiple threads accessing a message stream

My project has a single message stream (communicating with an external device) which is accessed via multiple client threads. The workflow is: There is a thread (the "messaging thread") which reads ...
2
votes
1answer
174 views

Design pattern for ensuring the “signature” of generic lists is equal

I have an interface, Attribute, that is going to be implemented in various ways, class AttributeA implements Attribute{\\..} class AttributeB implements Attribute{\\..} Then I'm planning to have ...
0
votes
0answers
21 views

Should an API specification include roles?

I'm considering options for specifying an API in a code library (e.g., XML or JSON) that can be consumed by various clients. In addition to the standard kinds of input/output specifications, I'm ...
4
votes
0answers
29 views

Do classes in a JRE library support observable and/or asynchronous reads from external/non-JRE assemblies?

How can I implement my cross-platform library (e.g. on JRE) to operate in a thread-safe manner on object references, so that native front-ends on other platforms can observe the object and take ...
-5
votes
0answers
26 views

Are there example implementations of JSON-API servers that I can use as a learning tool? [on hold]

JSON API has been getting quite a bit of attention lately. I'd like to get a feel for the API, but I don't want to have to write my own backend service implementing it. Are there some JSON API ...
25
votes
3answers
16k views

Are there any advantages of SASS over LESS? [closed]

I'm trying to do research on these css preprocessors. Are there any advantages of using sass over less as a css preprocessor? Factors that i'm looking for include community size, software project ...
2
votes
2answers
370 views

Sharing code logic between controllers, through the Model layer?

As I originally conceived my Model layer, it was only supposed to hold data and no code. I receive DTOs from web-services, they are mapped into my Model objects. Those model objects usually end up ...
-5
votes
0answers
90 views

Bad project structure? [on hold]

OK, so first I'll start with an introduction. Recently, I've met a friend of mine whom I haven't seen for quite some time. He said he works as a C++ developer for a huge company (they make software ...
12
votes
3answers
4k views

How is the actor model used?

I have read a bit about the actor model, but don't really understand how to use actors in a real world situation – how to model a problem with them. Can someone please explain? A simple example or ...
-6
votes
0answers
33 views

What does it mean by state information? [on hold]

I'm doing some research, I've read about state information and I'm not all that sure what it is. What is used to maintain it? Cookies, query strings, local variables, and databases? I can understand ...
2
votes
1answer
95 views

Integration between services in a SOA

Assume we have a Bounded Context for Inventory (InventoryBC) and another one for Shipments (ShipmentsBC). These 2 BCs need to communicate together. They are hosted on 2 different services on different ...
-5
votes
0answers
21 views

Is CEF3 a feasible framework for supporting HTML5 audio and video on a desktop chat application? [on hold]

Our team is in the concept and design phase for a desktop VoIP / Chat / Video application. We'd like to use CEF3 because of its success with Brackets and Steam client but it looks like there may have ...
4
votes
2answers
195 views

When is it appropriate to use expression bodied members? [on hold]

C# 6 introduces expression-bodied members, which allow for simplified code in methods and properties that only return the result of an expression: public override string ToString() { return ...
12
votes
5answers
6k views

How many story points should you allocate in an initial sprint?

When first implementing Scrum within a team, how should you go about determining the amount of story points that are in an initial sprint when you have no idea of the team's velocity? Should you base ...
1
vote
1answer
288 views

What would be the best way to implement priority based programming without adding too much of if-else processing logic

We need to add priority based programming in our application using java programming language. For example, there are three priorities that a phone can have: A1, A2 and A3. Also there can be three ...
-2
votes
0answers
49 views

Paxos consistency [migrated]

I'm looking at the paxos family of protocols for solving consensus in a network of unreliable processors. I'm working through scenarios where processors fail, and I know I'm wrong, but I don't know ...
2
votes
4answers
90 views

Should create and edit be two separate user stories?

I often come across situations where creating and editing actions are very similar, but they are not exactly the same story. So should they be handled as separate user stories, or as one? For example, ...
4
votes
2answers
85 views

What document/artifact should alert me when an old requirement changes the scope of new one?

I developed a software application a year ago, I delivered it with a simple documentation. For example, it has an special and complicated login system as requirement. Now the customer calls and ask ...
0
votes
1answer
58 views

Is wrapping a message queue in a web service a bad pattern? [on hold]

We (our team) have a web app that was periodically polling a web service. The web service was querying a database (MySQL). Then, we considered using a message queue (like RabbitMQ) instead of the ...
0
votes
2answers
656 views

Is factory pattern a right pattern for the situation described here?

Is factory pattern a right pattern when we want to consolidate the related objects? Problem - In the Set-top box, I have a user-io, basically the interface to control the settop box - The user-io can ...
15
votes
2answers
4k views

Who was the first programmer?

Is there some consensus among historians on who was the first programmer ever? If so, who was it and what were they programming on? I find it more interesting to know more about the pioneers of ...
1
vote
1answer
80 views

Pattern for passing in a field as a parameter

I'm writing a Rails app which uses ActiveRecord ORM and a Postgres DB. I've got two attributes which are similar but are separate fields in the database. The assignment and saving of these is kinda ...
2
votes
0answers
61 views

Seperate settings and implementation class hierarchies

We use XML serialization to store class settings. Each setting-class has (but doesn't reference) corresponding implementation-class. Therefore we can easily make a "settings dll" without any ...
7
votes
6answers
2k views

How to implement a property on class A which refers to a property of a child object of class A

Not a very large architectual decision, but nevertheless I would value your opinion. We have this code (rest of the code is left out) public class Room { public Client Client { get; set; } ...
-1
votes
0answers
94 views

How to triangulate a 3D polygon? [on hold]

How can I create a set of triangles to fill a 3D polygon? The polygon is an ordered sequence of 3D vertices defining a single geometric contour (a closed path). Vertices are not necessarly coplanar. ...
2
votes
1answer
380 views

Merge two different API calls into One

I have two different apps in my django project. One is "comment" and an other one is "files". A comment might save some file attached to it. The current way of creating a comment with attachments is ...
1
vote
1answer
47 views

Does ReaderWriterLockSlim provide thread safety and speed efficiency (compared to a traditional lock) when using a List?

I have a list, to which I write once in every update Loop and then I spawn some tasks which create read that List and create a duplicate to manipulate that data. More or less it's List.ToList() call ...
4
votes
1answer
589 views

Capturing mobile device system (output) audio

I'm trying to figure out a way to capture the system audio of an Android and/or Windows Phone. The idea is to provide a stream based on the music I'm currently playing on my phone. What I'm not sure ...
2
votes
3answers
282 views

Why Session has implemented this way in Asp.net

I'm not a Asp.net/C# developer myself but recently had to slightly refactor a Asp.net/C# project and I had to use Session at some point. When working with the session, regardless of the data type that ...
2
votes
3answers
655 views

can you have too many dto/bo - mapping method

I have a windows service, 2 web services and a web interface that need to follow the same path (data wise). So I came up with two ways of creating my solution. My concern is the fact that the ...
0
votes
0answers
19 views

.Net MVC 5.0 Website using Asp.Net Identity

I have a newly configured website using web api 2.2 and the latest version of asp.net Identity. I have the authorization working great for users that login and navigate the site. I'm trying to ...
1
vote
0answers
47 views

Detecting surface faces of a huge 3D mesh/grid

I've written a module in my application that creates a mesh from existing coordinate and face data. The number of vertices in the mesh could easily exceed 10 million and the same goes for the faces. ...
-3
votes
0answers
17 views

Using regular expressions in Python to parse LaTeX code [migrated]

I am trying to write a Python script to tidy up my LaTeX code. I would like to find instances in which an environment is started, but there are non-whitespace characters after the declaration before ...
2
votes
1answer
186 views

Single complex or multiple simple autoload functions

Using the spl_autoload_register(), should I use a single autoload function that contains all the logic to determine where the include files are or should I break each include grouping into it's own ...
2
votes
2answers
126 views

Creating entities with validated Addresses via REST API

I am building a REST service. This services enables the user to create an entity that has an Address. For simplification, let say this other entity is 'House', so 'A House has an Address'. The system ...
0
votes
2answers
129 views

Architectures for polling APIs on behalf of multiple users [on hold]

I'm in the planning stages of a project that will be mashing up data from multiple sources. The nature of this work is approximately similar to reputation management tools or IFTTT. Users will grant ...

15 30 50 per page