2
votes
1answer
97 views

Onion architecture design question

I recentlly started working on a new project where the team was considering use onion architecture, which I was not very familiar with, so I started reading about it. The application is a simple 3D ...
-4
votes
0answers
18 views

Server and client change from TCP to UDP /// Using rcmd [on hold]

I need help with this program. I must change protocol TCP to UDP and I dont have any idea how do this ;x Server: http://wklej.org/id/2436724/ Client: http://wklej.org/id/2436725/
1
vote
1answer
38 views

Database Object That Reads From Two Tables and Writes to One

I am updating a database design that must be compatible with old and new applications. My goal is to make a design change which minimizes impact on the existing code. The Design Change Currently our ...
0
votes
0answers
36 views

Embedding custom business logic using Javascript in Java application

We have an application where the front-end is completely rendered dynamically. The web page is stored as JSON in the database. A simple JSON to display input field with a label is as follows: { ...
0
votes
2answers
54 views

Literals versus instantiating by name lists and dicts in Python?

In Python, what is the difference in these declarations… my_list = [] my_list = list() …and in these? my_dict = {} my_dict = dict() Are they interpreted the same, and why would you use one over ...
0
votes
1answer
48 views

Where do I create/instantiate repositories in DDD that are used my Domain Services

From what I understand a DomainService should be implemented against a RepositoryInterface, so we could change with easy the repository (which its a part of the Infrastructure layer) So, if I have: ...
0
votes
0answers
23 views

Place of a threading module in a MVP design pattern in Python

I am working on a GUI that displays images, 1 image or many (a video). Some processing is needed before displaying an image. Hence, I would like to do some threading in order to keep the GUI ...
0
votes
0answers
25 views

finding optimal token definitions for compression

I have a collection of strings which have a lot of common substrings, and I'm trying to find a good way to define tokens to compress them. For instance, if my strings are: s1 = "String" s2 = "Bool" ...
0
votes
1answer
74 views

Need help with figuring out a better method of my application layout, please

I am working as the sole .Net developer at a company and I have been tasked with a very large and complex project, an internal intranet site for inventory and time tracking. I have built a project ...
2
votes
2answers
41 views

When do I prefer a local DB over serialization for local data storage?

I recently started developing a small calendar application, in which I can add and view several calendar entries, which contain several data like name, date, alarm settings and so on. Those values ...
4
votes
0answers
39 views

Choosing a sequence of animations for an NPC - use a behaviour tree?

I am implementing an NPC to walk around a virtual space, specifically a cat. I have a series of short animation clips (3-5 seconds). My first instinct was just to choose a random animation when the ...
-5
votes
0answers
29 views

Twitter login through javascript [on hold]

I want to write only JavaScript code for twitter login and fetch logged user information like screen name , user link URL , user location etc.
1
vote
1answer
25 views

Angular View Model Validation

The view model seems to be the most appropriate place to perform validation yet Angular seems to be pushing me down the popular form validation route. Why Model Validation? DRY - Applying ...
0
votes
0answers
24 views

Inheritance and Parcels

In Android development, we have Parcelable interface. Since I wish to build Data Models that will run on multiple apps and services (not just Android), I would like to add two jar libs that will share ...
-5
votes
0answers
68 views

Does programming language matters for a developer? [on hold]

I have close to 3 years of experience in Java + PHP. I want to know : 1) Does being a specialist expert in one programming language important ? or 2) Being good at problem solving, algorithms is more ...
-1
votes
0answers
46 views

Integrating IDE with docker C++ toolchain

I have created a docker in order to compile C++ applications using a third party toolchain. My ideal work environment would be to leave the sources on my local directoy and to use the docker only for ...
-1
votes
0answers
47 views

Is it legal to distribute a Python commercial and closed source application together with QtPy or PyQtGraph linked to PySide? [on hold]

This question is a twin brother of the following question: Am I rigth that anyone can use PyQt free of charge for commercial and closed source applications?. But it still differs in important details. ...
3
votes
2answers
182 views

Web Application: OOP or procedural [on hold]

I'm building a Web Application that includes a search, user profiles, rating, gallery, comments, etc. While writing the outline I was not sure whether to do this by coding the functions directly in ...
0
votes
0answers
82 views

Am I right that anyone can use PyQt free of charge for commercial and closed source applications? [on hold]

This is a question about licensing mechanics of PyQt, GPL and optional Riverbank GPL Exception. The whole point of the question: Am I right that anyone can use PyQt free of charge for commercial and ...
-3
votes
0answers
33 views

How to download monthly reports from Google Play Developer Console? [on hold]

Google Play Developer Console reports are stores monthly reports on private Google Cloud Storage bucket. So is it possible to download these reports using Google API Client PHP Library? Or there is ...
3
votes
1answer
96 views

Idiomatic internal architecture of Go microservices

For learning purposes, i'm trying to implement a small project using (buzzword warning!) microservices. There are plenty of resources online talking about the 'macro' microservice world -integration, ...
-4
votes
0answers
32 views

Picking a random word in Python [on hold]

I have a tuple which contains three lists in python and I want the interpreter to pick a random word from each list to make a sentence. How do I do this? An example of what I'm saying is this: Tuple ...
4
votes
0answers
49 views

Generating sort keys when reordering items

We have a number of items which the end user will be able to organize into a desired order. The set of items is unordered, but each item contains a sort key which can be modified. We're looking for ...
1
vote
1answer
67 views

Is this indexed approach to java rts game development valid and how can I improve it?

I have class GameState laid out to basically hold an Array of Players, an Array of StarSystems, and a few other fields that need to persist from save to save. Each GameObject keeps track of its own ...
7
votes
2answers
229 views

Does there exist a programming language specifically designed for dependency injection?

Many general programming languages are flexible enough to allow you to support dependency injection. Even without library or framework support. But even if a language is turing complete enough to ...
-1
votes
0answers
34 views

J-Boss, Jackson, RESTEasy: what do these RESTful tools do?

I'm sure that question seems very asinine. I understand the purpose of these sorts of tools is to… Remove an unnecessary outer layer of Java servlet code that can be replaced by annotations. Handle ...
0
votes
0answers
16 views

Difference between RAISE and RETURN HTTPResponse in bottle framwork

I am using Bottle framework to implement API's. There is code return before I started, and they use from bottle import HTTPResponse @api.get('/some/api/url') def some_method(...): ... ... ...
-4
votes
0answers
52 views

Contribute to opensource and get better English [on hold]

Actually I have two goals: 1) to improve my English skills. 2) to improve my software skills. Is it real to find the open-source project where I can verbally talk with another developers and ...
4
votes
3answers
44 views

In CQRS/ES, can a command create another command?

In CQRS/ES, a command is sent from the client to the server and routed to the appropriate command handler. That command handler loads an aggregate from its repository, and calls some method on it, and ...
2
votes
1answer
130 views

Are there well known libraries that are frequently used in C/C++, which aren't written in C/C++/assembly themselves? [on hold]

I just wondered whether there are any other compiled programming languages made it into this "level". For "libraries" basically I mean a set of functions or classes in the same format as C++ ...
1
vote
1answer
56 views

Why does ORM persist() functionality use references to populate insert_id and not return?

My understanding of how ORM persist works: //ORM "persist" oversimplification function persist(&$entity) { ... $insertId = api_actual_db_insert(...); $entity->setId($insertId); } ...
-2
votes
2answers
144 views

Reverting back To Waterfall from Agile [on hold]

I place a lot of Software Engineers (A LOT). Recently I had a client tell me that they are reverting back to Waterfall after trying to move towards Agile. I have noticed with the PM's and Engineers I ...
19
votes
6answers
1k views

Is there any point in unit testing a client service that simply passes through data from the server?

Imagine a simple AngularJS REST Service which retrieves (GET) data from REST endpoints on a server. It maintains no state of its own and each method only passes back a promise to whomever is using ...
1
vote
1answer
60 views

When designing a URL router, is there a reason why some frameworks choose a configuration file vs. a naming convention?

I'm confused about routing. In some systems I've seen only naming conventions. In other's I've seen configuration, and in some I've seen both options (like in ASP.NET MVC5). In the naming ...
4
votes
0answers
34 views

Why does Mongo check for order of keys when matching embedded documents?

https://docs.mongodb.com/v3.0/reference/method/db.collection.find/#query-exact-matches-on-embedded-documents The following operation returns documents in the bios collection where the embedded ...
-3
votes
0answers
24 views

Laravel using {id} to for routing the controller [on hold]

I was experimenting the routes.php Route::get('/{id}',function($id){ return "'".ucfirst($id).'Controller@'.ucfirst($id)."'"; }); This is the output on the test code above. ...
1
vote
0answers
36 views

Namespaces for a custom XML like language: URIs or not

I am working on an XML like language that features a namespace system also. Now my question is: Should I use URIs as namespace names too (1) or should I follow the naming of java/.net/php namespaces ...
-5
votes
0answers
39 views

Confailulations to my images [on hold]

whats best way to create clip art for HTML 5 based games? i'd like to use standart art but would rather not get my game banned from some funny copyright or accidental trademark mumbo jumbo
5
votes
1answer
79 views

Is restricting endorsement using author's name compatible with GPL?

I would like to link a GPL project to another project with the following clause in its license: The name of the author may not be used to endorse or promote products derived from this software ...
0
votes
0answers
21 views

Best way to generate documentation for a React application

I use Redux and React to develop a front-end application, with ES6 but using React.createClass({}) syntax (community seems to agree that it is more flexible than ES6 classes). I would like to ...
-3
votes
0answers
61 views

Biggest palindromic number which is a product of two 3 digit numbers [on hold]

I've got to find the biggest palindromic number which is a product of two 3 digit numbers. I wrote a program for it in Java but something is going wrong. Here is the program I've written. public ...
8
votes
3answers
684 views

Is there a relation factor between meeting time and saving development time?

I am working on a project and we have regular (usually weekly), informal meetings, where we discuss the status of the project and the GUI of it. I'm the only developer there, the other 4-5 people ...
5
votes
3answers
92 views

How to decompose a sprint in scrum?

I´m struggling how to decompose a sprint in SCRUM. I know in many cases SCRUM is used only for the developing part in the software process, but I want to use it for the whole project (in our case: ...
-2
votes
0answers
26 views

I can not access $scope value from my controller within index.cshtml [on hold]

I am trying to create AngularJS, MVC ASP.Net single page application and I have stuck. I have created new folder within my project which contains app.js var myApp = angular.module('app', []); and ...
1
vote
0answers
53 views

How to escape regexes and paths in double quote strings without going crazy?

It often happens that after designing my regexp (on regex101.com) I want to paste it in my program. Consider this regexp that matches numbers and string (but keep in mind this is general question!): ...
-4
votes
0answers
101 views

How to add multiple numbers in C++? [on hold]

I learnt that we can declare multiple 'int's in C++ by typing something like int n[30]; and it can be done instead of typing int n1,n2,n3,n4,...............n30; Q1: I have a doubt if it is ...
-4
votes
1answer
78 views

How to Know if my code is good, clean, maintainable or just code that works? [on hold]

I Learned JAVA Programming from the Internet (not school) So whenever I need to code something I just see a lot of tutorials and then based on their code I try to produce my own version of code, ...
1
vote
2answers
74 views

Passing and returning domain object in create method

We have this bean with two properties: ContainerImage + name (final, not null) + id (null) Then there is this method: ContainerImage create(ContainerImage containerImage); It receives ...
-3
votes
0answers
32 views

Can Chrome app retrieve or inject data to web pages?

I want to develop an app (for Chrome desktop) that will retrieve data from different webpages the user surf to and aggregate it, or inject some added JavaScript functionality to those pages, later on ...
-4
votes
0answers
27 views

How can I use linprog in python 3.5.1? [on hold]

I need to find maximum profit of two products with, my program does not know scipy from scipy import optimize c = [-30, -50] A = [[2, 4], [3, 4]] b = [100, 120] x0_bnds = (None, None) ...

15 30 50 per page