-2
votes
0answers
68 views

Could DeepMind Beat Best Chess AI? [on hold]

There have been many chess engines fine-tuned over the past two decades, and today the top 5 chess engines are all at least 300 points above the best human ever. As I'm sure you all know, DeepMind ...
-6
votes
0answers
22 views

How can I render Grid vs List view with css only? [on hold]

Requirements: Render both as grid (aka. tiled) and list view, as shown in this screenshot / jsfiddle, with just css Both should come from basically the same set of html markup Be able to order data ...
0
votes
0answers
14 views

Bluetooth - acl links

I have an embedded project with no OS. Bare metal. While reading the different bluetooth specification (v4.2) volumes, I get that I have to implement l2cap framework for low energy communications, as ...
1
vote
1answer
39 views

Data Structure for Form or Survey

I am planning an app which allows users to complete surveys/forms. I'm having trouble planning the data schema for the forms. I really want to have a data structure which can be mostly automatically ...
0
votes
0answers
32 views

Visual Basic 2015 - Dynamic List of Controls

I'm working on an application that is supposed to take upwards of 30 parameters from the user; depending on which type of feature is used, this list of parameters will be different. For context, ...
0
votes
0answers
14 views

Extract the main entity from a body of text for text categorisation?

I'm trying to categorise products based on various fields of data. I've had some success just matching search terms in the product names, but this naive approach doesn't work when it comes to larger ...
-4
votes
0answers
53 views

Wondering what programming language this is? [on hold]

I am very curious as to what language uses this syntax. I just loaded a website and it took a while to load and while it was i seen this {{ gb.xp || xp }} or similar. I feel like i've used it ...
1
vote
1answer
38 views

Ring buffers for data with unknown maximum size

I see ring buffers are very useful with their speed and if you have a known maximum buffer length they make a lot of sense. Let's say in the scenario where you have streaming data, but the playing ...
0
votes
0answers
86 views

Interaction between code and user interface

I'm developing a desktop app that has many different algorithms implemented. Some algorithms require additional input from user, this info might not be known before algorithm has started. My ...
1
vote
1answer
95 views

What would I call this design pattern in which an overloaded function translates it's arguements type to call a main function?

So, I've found I've been using this design pattern fairly frequently, but I'm not sure what to call it if it has a proper name. Essentially there is one "Heavy lifter" function that does some intense ...
4
votes
1answer
118 views

Importing namespaces inside another namespace

I generally like to organize classes I make into modules by using namespaces, and I also don't go more than 2 namespaces deep but it's still painstakingly hard to fully qualify everything. I've ...
0
votes
0answers
10 views

Dynamics CRM deployment: manage solution components dependencies

We are trying to create Dynamics CRM solutions (Online version), following some of the guidelines from microsoft - ALM best practices. One of the recommendations is to create a core entities solution ...
-1
votes
0answers
30 views

Showing a “context”-like menu in a span

It is about the MELT monitor (an alpha-stage GPLv3 free software, see also here). FWIW, I am now (feb 09, 2016) at commit 63632a7cd81471... I only care about Linux & recent Firefox (e.g. 44) or ...
5
votes
2answers
139 views

REST API design for web pages with wizards

I have a web page with wizard format. The submission button to the API will be in the 4th step of wizard. However I want the data entered to be stored in database before moving to the next step in the ...
-5
votes
1answer
65 views

Is there something like a “cookie stack” [on hold]

I would like to store a collection of cookies in the browser. On each subsequent request, the browser should pop one of these cookies off the queue and send it to the server. This way, a different ...
-5
votes
0answers
25 views

currency format “DH” in vb.net [on hold]

I am trying to develop an application in VB.NET, I use text boxe to enter amounts of money I will like to know how to get this format "DH" using the function FORMAT () thanks for reading
-2
votes
0answers
28 views

Which one needs to upgrade first [on hold]

I have a situation, the question is which one to upgrade first Java or Tomcat. We are migrating tomcat 6 to 7 and Java 6 to Java8. Do we have any guidlines anywhere and which is the best way to ...
0
votes
1answer
54 views

UML specification, understanding code

I was reading the UML specification (http://www.omg.org/spec/UML/2.5/PDF) and I found here an there some "code" of this type: body: if alias->notEmpty() then alias else importedElement.name ...
1
vote
0answers
50 views

Is Shiro's use of Auth Exceptions an example of control flow? [duplicate]

In Java/OOP-land, it is a well established anti-pattern to use exceptions for control flow. Apache Shiro is one of the standard Java security frameworks. When using Shiro, especially when ...
0
votes
1answer
91 views

Algorithm to get all possible forms of a word with varying suffixes

I'm writing an application in javascript where given a word, I need to get all the possible versions of the word with the suffix being the difference between each form. For example: "sponsor" should ...
-3
votes
1answer
84 views

URL links in Javascript frameworks

I am trying to sell to my client a javascript framework to replace a server generated website, but am having a hard time selling it because of URLs. My client would like to be able to have copiable ...
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
44 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 ...
-2
votes
0answers
26 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
36 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
150 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
28 views

Shadow Mapping Errors

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
83 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
82 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
31 views

Usage of (advance) data structures? [on hold]

We all are pretty much aware about Big Table is one of the data structure used by Google. There must be some other data structures used by industry leaders like Google, Microsoft, and Facebook. Can ...
-4
votes
0answers
28 views

Member function to compare calling object with parameter? [on hold]

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 ...
-4
votes
0answers
21 views

Travis CI + GIT HUB + BEHAVE + PYTHON - What is the command to run behave scripts in .travis.yaml file. Please give me few examples [on hold]

I am using Behave automation tool with python and GitHUB and Travis. Could anyone please let me know how to run the behave scripts in .travis.yaml file? I tried many options for this specific setup ...
3
votes
4answers
165 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
47 views

Entity validation in DDD

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
21 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
2answers
66 views

Controlling Video Camera (Output) programmatically [on hold]

I've never dealt with video at all, so I'd like some general information about requirements to guide my research (I hope this is an appropriate forum for this and am open to suggestions) I wan't to ...
3
votes
3answers
59 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
61 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
111 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 ...
1
vote
3answers
248 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
100 views

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

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
66 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 [on hold]

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
59 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
16 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
29 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.
12
votes
5answers
231 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 ...

15 30 50 per page