0
votes
3answers
67 views

DDD: Saving changes from UI to domain object

In many cases, there are different kind of forms in an application's user interface, and these forms are use to collect all the data - that is needed to update (or create of course) domain object ...
-1
votes
0answers
45 views

What classes should I use for API -> logic -> API?

I need to fetch some information from an API, parse through it and push the relevant data to another API. How should I design this? One class handling everything? One class per API and one for the ...
-3
votes
0answers
28 views

Saving Passwords in iPhone device

In my application login user details (in one is user password) save in my iPhone devices. What way better to save user password in iPhone devices. I have what way use like NSUserDefault, Core ...
2
votes
1answer
37 views

Best practices for releasing patches that affect multiple development stories

My team uses a Kanban style approach to development where feature and bug fix stories filter through to Production as and when they are ready. We currently are using SVN as our VCS and take a feature ...
0
votes
2answers
166 views

How to reduce size of jar file?

I dont know how to reduce the size of jar file. When we normally code in Java Swing the jar file is created, is there any way to reduce the size of jar file? I can't remove the images and other stuff ...
-2
votes
0answers
31 views

Shadow Mapping Errors [on hold]

I recently started to create a shadow mapping system in OpenTK. I ran into a problem: The depthtexture is always completly white -> no depth. Even if the color from the shader is changed (I know it ...
-3
votes
0answers
17 views

Emacs upgrade problem on Debian [migrated]

I am new to programming, Debian and emacs. I tried to install packages of smex on emacs and I downloaded it from smex@marmalade but when I do the install step, emacs told me there is no match for ...
-5
votes
1answer
89 views

what is the usage of binary tree in applications?

this question might be very general but after a lots of reading I still don't know the usage of binary tree in application or systems structure design. how this could help exactly. i know what is ...
0
votes
1answer
92 views

How to mock the private property of interface for UNIT testing [on hold]

//---Interface.... using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClassLibrary1 { public interface IDummyInterface1 ...
-4
votes
0answers
38 views

Member function to compare calling object with parameter? [closed]

I'm writing a class with temperature and I'm not sure how to write a member function that requires you to compare the calling object and the parameter. (Like if calling is lower than parameter output ...
3
votes
4answers
183 views

Selecting a CPU or microcontroller needed for a given software application?

Say I had a software algorithm (for example, an FFT), and I need it to process (n) amounts of data in (t) milliseconds. This is a real-time task written in C. There are a lot of CPUs out there, and ...
-2
votes
1answer
51 views

Entity validation in DDD [on hold]

I am always curious how the validation is done for the following: Attribute/Property validation. Using preconditions/invariant/postcondition? for value object use self-encapsulation. Validating an ...
-4
votes
0answers
25 views

How to find resource id's on a file sharing site

I have found an api with a .aspx extension under the name resource.aspx, the only parameter which I can see associated with this app is an id parameter. The usage for the parameter is ...
3
votes
3answers
77 views

Where in scrum methodology do you define the approach/concept for a certain task

We have a sprint planning every sprint which takes 2 hours. In this little time we discuss 10 user stories, write them down and estimate them. Very often after the estimation (during sprint) I ...
0
votes
0answers
18 views

Approach for querying an arbitrary set of user submitted fields and values in Spring application? Like a shopping site sidebar search?

I am working on a Spring Boot and Angular application which has a requirement to search based on any number of the available filters being applied to a list. For example, a user searches on 'Title' ...
1
vote
1answer
64 views

using source code for individual organization vs sharing source code outside organization

If an organization develops their own software internally (with no license agreement) but uses other software frameworks that are open source that we modified to those frameworks work for us ...
2
votes
2answers
115 views

Can a tree be used to create a stack?

I'm aware that linked lists, sets and arrays can be used to create stacks by themselves. The theory behind it is this linked-list: In some languages, a linked-list is substitutable for an array. ...
-5
votes
0answers
23 views

java-gnome Builder: GtkSoureView invalid object type

I'm trying to use java-gnome with Glade but when I run it then Java write this error: Exception in thread "main" java.text.ParseException: Invalid object type „GtkSourceView“ on line 255 at ...
4
votes
7answers
508 views
+100

Why aren't there more multi natural language programming languages?

Are there any programming languages that are available and extendable in more than one natural language? For instance, an english version with a do..while loop, a Spanish version with a ...
0
votes
0answers
101 views

What is missing in my (mis)understanding of OOP? [closed]

As far as I currently understand Object Oriented Programming, every instance of any variable type is an Object. So, every distinct variable (data) type--such as int, bool, or string--is a different ...
0
votes
1answer
70 views

Relationship between REST APIs and Databases

I've been studying databases and rest APIs lately and I have a question about the relationship between the two. Imagine I have a database with three tables, STUDENTS, ENROLLED, and CLASSES. STUDENTS ...
-6
votes
0answers
25 views

Can not redirect index.php file in codeigniter [closed]

I have created a sub domain, while I've tried to load page from, showing the below error message. But my actual domain working fine.
0
votes
1answer
60 views

Do I require an external server for my new mobile app? Only minimal text content to change within my app every couple of weeks

A very simple question, apologies if I offend. I am about to submit my new app to the App Store. It's very simple. The app generates a random motivational quote and displays it onscreen. I have a ...
1
vote
1answer
38 views

Is there a design pattern to handle construction of complex objects with a [1 → 1..*] multiplicity relationship?

I have two classes (A and B) that are both complex to construct, with multiple properties that must be validated at construction time. I want to use the Builder pattern to construct these objects, but ...
0
votes
0answers
30 views

Can deployment diagrams have components in UML?

I have these two questions: Can deployment diagrams have components in UML? Can component diagrams have nodes in UML? I've seen many diagrams mixing diagrams elements and is making me confused.
15
votes
5answers
325 views

Splitting coding progress into meaningful commits without too much overhead

When working on a fix or a feature, I sometimes stumble over other tiny issues that can be improved on the fly in a matter of seconds. When I do them immediatly and then commit the finished ...
-3
votes
0answers
37 views

Should the Payment server be a separate server? [closed]

I am thinking of a web architecture for my project. My project is going to have a payment option. Should I keep the payment module within the same application project or should I make separate payment ...
4
votes
2answers
97 views

Stateless service classes and method decomposition

I like implementing service classes as stateless. However, I also like to decompose my logic into more, simple methods or functions. In some scenarios it seems like the two are somewhat against each ...
2
votes
2answers
96 views

Is there any value in asserting values prior to acting in unit tests?

Here's a silly psuedo-object to illustrate the point: public class Testing { public object MyUnderlyingObject = new object { Property = 44 }; public MyPropertyWrapper { get ...
1
vote
1answer
153 views

Any reason to continue using plain strings in ES2015?

My current coding style is to use single-quoted strings as a default, and use backticked template literals whenever I need to concatenate a value into a string. But I'm now wondering what's the point ...
2
votes
1answer
75 views

Respectable design pattern for making node modules flexible/testable?

I am looking to get some input from some more experienced testers than what I am. :) I am trying to make my node modules testable, allowing for dependency spying/stubbing/mocking without the need to ...
-1
votes
0answers
29 views

Creating a Facebook plug-in using the Facebook API

As part of a project, my supervisor suggested to use the Facebook API to create a plug-in. I've done my share of research, but I can't find the information: The API seems to be a tool to embed ...
-3
votes
0answers
60 views

Writing C# Class on ASP.NET Website [closed]

I've created a website using ASP.Net on Visual Studio 2013, I want to add CMS(Content Management System) to the project with classes developed in C#. I started by changing the development platform ...
2
votes
1answer
102 views

Project structure: Where to put object factories

I am working on a C# programming project in Visual Studio. I have created various VS library projects inside the VS solution containing the various components of the solution. Without giving it too ...
3
votes
1answer
125 views

How to improve our source control process

Background: We are using agile project management and follow sprints to do development. We are using a single repository in bitbucket.org that uses mercurial. Repository is hosting 3-4 products. ...
2
votes
1answer
192 views

Is it possible to write a regex that does one search then uses its results to do another search?

I'm searching for strings matching the pattern [A-Z]\W*[0-9]+, so that in V-2345 35A235 Q252 the V-2345 and Q252 would match. In another list, I want to find equivalent items that fit the same ...
1
vote
0answers
50 views

Suggestions for Storing large collection of related words

I am trying to create a simple sentence generator that uses templates and a database of words. It will be a website where essentially a user could click a button to generate a sentence. For example: ...
0
votes
1answer
44 views

How should I express the complexity of two nested loops over different datasets in Big O notation?

I'm more or less teaching myself big O notation, so please forgive me if this is a duplicate of a question which applied to my question without me having the wisdom to realise it. For my own ...
-2
votes
0answers
20 views

interfacing microcontroller 8051 with webser [closed]

In my project am using a php script for retriving data from database.And i want to send this data to my microcontroller 8051.And also am using gprs. how can i do this data transfering from webserver?
-1
votes
1answer
43 views

Finding register parameters for system calls

By consulting various scattered tutorials and books, I've been able to learn that the 64-bit Linux "exit" system call is 60, and the status value is moved to edi. Similarly, "write" has call number 1, ...
0
votes
1answer
76 views

“Fuzzy” parsing in different languages

I have a bunch of plain-text like this: 1 MILE, PACE, PURSE $1,100. FILLIES & MARES N/W $541 L5 STARTS AE N/A $301 L5 & N/A $60 PS IN 2015-16 DRAW INSIDE ...
2
votes
2answers
132 views

Connecting directly to another computer knowing only the MAC address?

From my understanding, ARP translates an IP address into a MAC address, and then the computer uses the MAC address to establish a direct connection. If I already know the MAC address of the computer ...
1
vote
0answers
50 views

Visual interpolations: independent or linked to object?

I have a class that I use to render GUI elements on the screen, this class has a tree structure (with children, parent, and siblings). I created an additional class which allows me to interpolate some ...
0
votes
0answers
20 views

Should/can a web crawler be a separate microservice?

I've never built anything using microservices and all the articles I can find are not very practical. I'm building a web application that relies on a web crawler to scrape data into a database, a ...
0
votes
0answers
49 views

Implementing a one way web request/response in .NET

What is the better way to implement a request/response in .NET when dealing with just getting an xml web resource for the external source and process it to your system? By the way, to access this xml ...
1
vote
3answers
143 views

When and why would you extract an abstract method from an abstract class to an interface?

I have been asked the following question in an interview: "What is the need of an interface when you can have an abstract method within an abstract class?" Which I did not know the answer to. Could ...
1
vote
0answers
38 views

Can Bower be replaced by NPM?

Bower has this ability to resolve shared dependencies versions with a common version. This was not possible with npm v2 but this feature will be available with npm v3 as described in the npm v3 docs. ...
0
votes
2answers
70 views

Is providing a user login a functional requirement of a system?

Is providing a user login a non functional requirement? Since this is concerned with security which is a non functional requirement, I feel that providing a user login is also non functional but ...
0
votes
3answers
75 views

Is synchronously inspecting a promise an anti-pattern?

ES6 native promises do not allow you to synchronously check if they're resolved/pending/failed or to extract their value. I sometimes need this functionality and thus I have to code it manually. Is ...
0
votes
3answers
83 views

Is denormalising a data structure essentially a code optimisation, to which the normal rules apply?

One of Bloch's Effective Java items 55: Optimize judiciously extends Jackson's rules on optimization: Rule no. 1: Don't optimise! Rule no. 2 (for experts): Don't optimise yet! Extra ...

15 30 50 per page