0
votes
0answers
22 views

use of minOccurs=“0” without nillable=“true” in SOAP

I have received an XSD from a 3rd party supplier generated from a Java based system; which is to be used to create a SOAP endpoint for us to receive data transfers. Their XSD does not make any use of ...
0
votes
0answers
15 views

Implementing logging interceptor next to BeanPostProcessors and BeanNameAutoProxyCreator

I want to implement simple mechanism based on annotation on method in different classes. The case is, that I have some beans created as a proxies with transaction interceptors like this: <bean ...
0
votes
1answer
8 views

Comparing articles from various web-stores

Today I had the idea to write a program that compares the prizes between different web-stores. The key question I am asking myself is how to find (with a high probability) the same article on another ...
-7
votes
0answers
18 views

Anyone use devise-iOS [on hold]

I have started making an application. Basically going in just experimenting. I started out making a rails application where I used devise to sign up/in. I used Mongoid to store my database ...
-2
votes
1answer
34 views

Considerations when making data structure and algorithm choices [on hold]

What are some reasons you may choose a worse runtime algorithm? And what are some advantages of a linked list vs a hash table/array where access is constant time.
4
votes
1answer
778 views

Redux memory consumption

The Redux framework favors immutable state/pure function paradigm, which promotes creation of new state from the previous state in terms of the current action. The applicability of this paradigm is ...
1
vote
1answer
67 views

Multi-screen MVVM architecture/design - Should my “screen” ViewModels contain sub-ViewModels?

I'm getting beyond a simple MVVM program now, and I'd just like to sense check my current architecture and makes sure I'm going down the right path here. Everything is structured around screens, and ...
1
vote
1answer
34 views

Bluetooth - is rfcomm totally bypassable as a protocol?

I ask my question on programmers because: no coding is really involved this question is very conceptual concerning an exchange protocol. Bit of context: When you implement Bluetooth, like I do, ...
0
votes
0answers
15 views

Bundling binaries in Mac OSX applications

I'm creating a photo gallery OSX application. I'd like to include https://github.com/mattes/epeg in the package to do the thumbnailing for me. I don't want to make the user compile epeg themselves. ...
2
votes
2answers
49 views

can a single SQL Server connection be shared among tasks executed in parallel

Can a single SQL Server connection be shared among tasks executing in parallel? Each task would dequeue an item from a ParallelQueue, instantiate a SqlClient command, and insert a row into the table. ...
-4
votes
0answers
17 views

Getting directions using my own voice samples regarding a gpx track [on hold]

My goal is to create an app in android that loads a gpx track Compares my gps position to the track and gives me directions using my own voice (samples) as in Go to the right soon Go to the left ...
40
votes
13answers
7k views

Encrypted content in games

I have been having this idea of using encryption to prevent users from figuring out content in my program outside of the program itself. Like users may find textures never used in the game meant to be ...
2
votes
1answer
56 views

“Selected design can be derived from requirements” - meaning and difference against traceability?

ISO 12207 contains interesting points for design verification: a) The design is correct and consistent with and traceable to requirements. c) Selected design can be derived from ...
0
votes
0answers
20 views

How can I make a Python deserialization function useable from another module? [migrated]

I have some serialization and deserialization code which works well within one module (and within the universe of classes I care about). E.g. class A(...): ... class B(...): ... def ...
1
vote
1answer
41 views

Is there any value in using a Promises library versus ES6 Promises?

I see a lot of NodeJS articles recommending the Bluebird library for promisifying your code and avoiding callback spaghetti. Is there any value in using such a library when using Node 4.2.4+ given ...
1
vote
2answers
80 views

Decoupling external dependencies

We have a simple REST webapp which is dependent on multiple external services, mostly Kafka messages. An attempt was made to isolate external dependencies by encapsulating all external interactions in ...
0
votes
0answers
7 views

How to improve navigation on various Animators in an acitivity

I have various Animations going on simultaneously in my Android Activity, in MainActivity (like with Fragment pop-up, my Toolbar and some other views Animate Synchronously). How can I manage all such ...
2
votes
0answers
81 views

What was the first mechanical Turing-complete machine ever constructed?

We know that Charles Babbage designed the first Turing-complete mechanical machine - the Analytical Engine - in the 1800s, but it was never actually built (not yet anyway). In recent history, at ...
0
votes
0answers
17 views

How to turn off third party app store and side loading except my app store

I want to prevent installing apps using third party app stores but except only one app store. This specific app store is in my control. I can change it's code to send a message to the mobile device ...
0
votes
0answers
19 views

Questions to ask Product Owner during Story time [closed]

I'm a new Business Analyst, in an Agile project. Our team is developing the product in AngularJs- front end, SQL server backend. Using REST web services. We are trying to include a realtime reporting ...
3
votes
3answers
165 views

What's the point of hidden files?

What is the point of hidden files? In Microsoft Windows they exist, in Mac OS X they exist and in Linux they exist. It seems to me that it just makes detecting malware more difficult. The only upside ...
0
votes
1answer
45 views

Best way to flatten an XML document

Say you have a document like this: <names> <first>Joe</first> <last>Smoe</last> <phonenumbers> <phonenumber ...
0
votes
0answers
30 views

Azure Active Directory

I am developing a suite of applications that will be hosted in Azure. Some apps will be for customer use (not public tho, i.e. invited/paid up customers) and some for internal employees. For ...
14
votes
1answer
276 views

What is the origin of the C Preprocessor?

The C preprocessor is attached to C, but it has a completely different syntax from the main language: syntactically significant whitespace (end of line terminates a statement, gap after the macro ...
1
vote
1answer
80 views

Use the chance to return booleans after method calls for an optional layer of exception handling?

I would like to ask a follow-up to a question I just asked: Better to have 2 methods with clear meaning, or just 1 dual use method? I now understand why it is best to separate charge(float c); and ...
1
vote
1answer
20 views

Pull requests and work item linking in Visual Studio 2015 with non-TFS remote Git repo

We use TFS and Visual Studio 2015 at work but don't get full benefit from the ALM features as we have code in non-TFS Git repos. We would like to integrate these products in with all the TFS goodies ...
25
votes
6answers
2k views

Better to have 2 methods with clear meaning, or just 1 dual use method?

To simplify the interface, is it better to just not have the getBalance() method? Passing 0 to the charge(float c); will give the same result: public class Client { private float bal; float ...
0
votes
1answer
58 views

How to automate tasks performed on a web page [on hold]

I apologize if this has been asked before, I don't know what this would be called and as such I don't know how to phrase the question. I work for a large company, and as such it has many people ...
-4
votes
1answer
69 views

C++ substitution cryptography [closed]

Is there a way to encrypt a text message by simple substitution? Ex: input +5 Hello World Output Mjqqt Btwqi Where +5 is the char incrementation for the substitution. I'm stuck splitting the ...
-2
votes
0answers
26 views

Which database to use for real time data update for trading and analysis? [closed]

I am thinking about a website for trading and analytics. I am thinking which technologies can be used for this kind of website and so I have doubt with database. Which database is suitable for a ...
-4
votes
0answers
21 views

A Java program that will data KML data from a folder [closed]

I want to write a program that will take KML data from a folder and displace it on Google map and some other global map and continue update this data. I don't know what part of Java I need to use to ...
-6
votes
1answer
81 views

How to enable 'for-each' loop in my own linked list class? [closed]

Please guide me on code additions that will allow someone to iterate over a custom linked list implementation using "for-each" loop, just like existing collection classes or arrays. All I know is that ...
4
votes
2answers
96 views

Is Module Pattern in JavaScript is useful only for singleton creation?

Some articles (JavaScript Module Pattern In Depth, Mastering The Module Pattern) describe defining modules in JavaScript like in the snippet below (from Addy Osmani's "Learning JavaScript Design ...
4
votes
4answers
143 views

Avoiding Division by Zero Using Float Comparison

Source code analyzers (like SonarQube) complain about float (or double) equality comparisons because equality is a tricky thing with floats; the values compared can be the results of computations ...
0
votes
3answers
131 views

How far should I validate user input in my own created API?

I got something here that bogs my mind a bit. Let's say I write me this API (in TS), check out some of these properties: export class MyAPI{ ...
0
votes
0answers
24 views

Detailed Page for multiple hierarchy structure [on hold]

I am planning to make an application that can read files and contains data in a hierarchy, e.g. Level1 elements, containing 0 or more Level2 elements etc. The GUI should look like: >Level1 item ...
4
votes
2answers
94 views

Understanding the Single-Writer Principle

The article on the Single-Writer Principle of the Mechanical Sympathy blog explains how bad queues are (performance-wise), because they need to be able to receive messages from multiple produers, and ...
1
vote
0answers
95 views

OMG ASTM and weird languages (like Scheme, Ocaml, Haskell)

Abstract Syntax Tree Metamodel (ASTM) is an OMG standard to represent ASTs. In my very partial and limited understanding (I only spend an hour or two glancing into that spec), it is notably defining ...
1
vote
1answer
39 views

Side-by-side Functional and Acceptance Testing (SpecFlow)

Edit: I have found a closely related question: StackOverflow This question is not about the differences between functional and acceptance tests! Almost all the info I could find on the web just ...
6
votes
4answers
315 views

Is it possible to move a pointer from one item to another on the stack? [on hold]

I had a question in an interview asking whether it was possible to use an existing pointer to point to another object on the stack reliably without directly referencing the second variable. For ...
0
votes
1answer
44 views

Organizing effectively the project

One of our assignments is to write a website which should use a database. I would like to have some help organizing it. Here are characteristics of our work. The assignment is for a group of 5 ...
0
votes
1answer
42 views

Database searching for string across different tables

Scenario: application will search in database almost all columns across about 8 tables/views for defined string and return all rows containing that string (will return collection of objects or JSON). ...
0
votes
1answer
32 views

Does variable type specification leads to any performance difference?

This question sits in my head for a long time now. Let's say I have a very long method which basically creates a responsive and resizable layout for a user interface by using a few fixed values, ...
2
votes
1answer
208 views

Open / Closed Principle

I found this code example explaining Open / Closed principle. Code before application of principle: public class Logger { public void Log(string message, LogType logType) { switch ...
-4
votes
0answers
20 views

Database Structure for Agents commission payouts generation with TDS deduction [on hold]

Actually I am creating this for the first time to generate the commission payouts for agents for their sale. Commission need to be generated when the product is sold out and payout need to be done ...
2
votes
2answers
131 views
+100

Configuring a microservice landscape, should the view be monolithic or be attached to core services?

I'm migrating my monolithic web application to a microservice based one. I'm going to use Spring cloud and I've got a discovery service where all the rest of the services are registered. A simplified ...
0
votes
1answer
23 views

Implementing CMA-ES

I am attempting to implement the CMA-ES optimization algorithm in my favorite language (using the example code here as a guideline), but I need help solving a problem I am having. To test the ...
-4
votes
0answers
31 views

How to certify/validate software for install on windows to prevent a warning message [on hold]

I have written software for a daily print utility using windows task scheduler. When it is installed on a windows system it throws a warning. I know I can turn this off but a user installing my ...
0
votes
0answers
29 views

How can I paint a custom circular JComponent without an “invisible box” around it? [migrated]

I'm writing a JApplet that displays a diagram with numbers in circles and lines connecting the circles. I've created a class that extends JComponent to act as the circles. I overrode the ...
1
vote
0answers
57 views

Pattern to use (if any) to co-ordinate loosely coupled classes with strong interdependencies

I have a collection of cooperative classes whose behaviors are interdependent upon one another. But I wish to keep them loosely coupled, so I've created appropriate interfaces. I want to determine an ...

15 30 50 per page