Unanswered Questions
23
votes
1answer
1k views
How to implement a branch-and-bound in a functional programming language?
I am trying to write a branch and bound search on the set of all functions f: D -> R, where the domain size is small (|D| ~ 20) and the range is much bigger (|R| ~ 2^20). Initially, I came up with the ...
11
votes
0answers
184 views
Does Optimistic Concurrency per object imply Serializability if a transaction will never span multiple objects?
Given a system which provides:
Optimistic concurrency control / versioning per object (using CAS - Check-and-Set)
Transactions that never need to span more then a single object.
Snapshot Isolation
...
8
votes
1answer
90 views
How can I best manage Android Intent filter Strings across multiple projects?
In my project IntentExamples, I have this filter, corresponding to a service.
<intent-filter>
<action android:name="biz.rpcodes.apps.intentexamples.START_SERVICE" />
...
8
votes
1answer
92 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 ...
8
votes
0answers
180 views
Why do Haskell functors only have derived types in their target category?
In Haskell, the Functor typeclass functor is defined as follows (see e.g. Haskell wiki):
class Functor (f :: * -> *) where
fmap :: (a -> b) -> f a -> f b
As far as I understand ...
7
votes
2answers
164 views
Which data store is best for my scenario?
I'm working on an application that involves very high execution of update / select queries in the database.
I have a base table (A) which will have about 500 records for an entity for a day. And for ...
7
votes
0answers
251 views
DB migration and Azure deployment slots
I'm planning to push a new web application to an Azure Web Service (former Azure Website).
I'd like to make use of the deployment slots to be able to test my deployment before pushing it to ...
7
votes
1answer
221 views
Best way to accelerate data access to two data warehouses?
I am embarking on a business intelligence project which will require abstracting access to two existing data warehouses. I need to design an application architecture to allow self-service business ...
7
votes
0answers
235 views
How do CC licenses (0, BY, BY-SA) affect proprietary/closed source applications?
I think this question is specific to indie developers be concerned about. Think about it as a "license clarification" or a "license practical use case".
I need to know how must be my project basic ...
7
votes
0answers
345 views
Unit Testing a stateful framework such as Phaser?
TL;DR I need help in identifying techniques to simplify automated unit testing when working within a stateful framework.
Background:
I'm currently writing a game in TypeScript and the Phaser ...
7
votes
0answers
539 views
OAuth shared Authorization server for multiple apps
At my shop we have a couple .NET Web APIs that use OAuth tokens for authentication. Currently, each web API is both authorization and resource server. Users authenticate to all of these APIs using ...
7
votes
1answer
289 views
ActiveX, OLE, COM explanation or informative links
I've been programming a lot with C# on Visual Studio and many minor/other languages, but I'm having a really hard time to get the grasp of ActiveX, OLE, COM interfaces.
All I got is that they're like ...
6
votes
0answers
331 views
Object Constraint Language (OCL) for Stack in java.util package
I have an exam coming up and I'm looking at past papers to get some ideas of what to expect.
I'm a bit stuck on the following one and would really appreciate if someone could give some example ...
6
votes
1answer
205 views
Heuristic Approach for Flexible DIFF Implementation
I have created a DIFF implementation to compare document revisions at work. It is based on An O(ND) Difference Algorithm and Its Variations.
One thing that has become important is to take the list ...
6
votes
2answers
165 views
Efficient algorithm to merge n successive sorted arrays in place
I am developing an in-place sorting algorithm that leaves the array into a state where it is basically a succession of sorted subsequences of any size (most are bigger than log2(size(array))); then it ...