All Questions

3,411 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
16 votes
0 answers
900 views

Is there a reasonable way for a TypeScript class to derive from a Dojo/Dijit class?

DefinitelyTyped has a Dojo solution which uses named modules and may work with legacy Dojo and explicit typing. But these declarations do not facilitate TypeScript import, since there are no anonymous ...
Corey Alix's user avatar
14 votes
0 answers
2k views

Caching Strategy: WCF Buffer pooling and size

I am currently trying to understand the best configuration for caching. I am using Azure In-Role caching (currently Colocated, but Dedicated at a later point) in a Web Api 2 application in .NET 4.5.1....
Dave New's user avatar
  • 897
11 votes
1 answer
683 views

Facebook authentication with an Authoritative Server for a Flash Game

I'm working on a multiplatform game in Flash. This game utilizes Photon Server for authoritative physics and user statistics tracking. I'm looking to leverage Facebook authentication as an alternative ...
Kody Manharth's user avatar
11 votes
0 answers
861 views

Implement FBP / Dataflow programming in VBA?

Intrigued by Flow Based Programming a la J Paul Morrison. I wonder if one can implement FBP in Excel/VBA. I searched quite a bit for a Basic-Lang FBP implementation to no avail. I've looked at some ...
klausnrooster's user avatar
10 votes
1 answer
537 views

Should I be concerned with dependencies?

Our organization uses IBM ClearCase to manage its versioning controls (for better or worse). We've been working on our application for several years now, and a large number of activities have started ...
Zibbobz's user avatar
  • 1,562
9 votes
0 answers
226 views

Is there any guideline from Unicode on how to deal with graphemes that have no base character?

A valid sequence of code-points can begin with one or more combining mark, which form a grapheme cluster that has no base glyph. I'm unsure how that should be handled, if at all. For example, consider ...
Wes's user avatar
  • 842
9 votes
2 answers
349 views

Proxying REST Backends

I have several backend services (REST+SOAP) that have to be consumed by a SPA (Single Page Angular2 App). As JWT (JSON Web Token) is not feasible for me for the moment, security is done using CAS ...
Cris's user avatar
  • 323
8 votes
0 answers
155 views

XDIME for Mobile Applications

I'm involved in a project that requires to mobile-enable some previously developed Portlets. The Portlets are deployed in WebSphere Portal, and the container offers a technology called IBM Mobile ...
Carlos Gavidia-Calderon's user avatar
8 votes
2 answers
392 views

Should an interface covariant on T ever implement an interface invariant on it?

I was reading through the Hacklang docs on Collections, and came across this curious definition [paraphrased slightly]: interface KeyedIterable<Tk, Tv> ... interface ConstVector<+Tv> ...
concat's user avatar
  • 517
8 votes
1 answer
1k views

Alternatives to Pessimistic Locking in Cluster Applications

I am researching alternatives to database-level pessimistic locking to achieve transaction isolation in a cluster of Java applications going against the same database. Synchronizing concurrent access ...
amphibient's user avatar
  • 1,591
7 votes
0 answers
280 views

Fortran-Python Interface

Disclaimers: This question is reposted from SO upon SO user's suggestion to put it here since there is no specific code in question. This question is a subset of my larger theme of Fortran ...
ximiki's user avatar
  • 345
7 votes
0 answers
3k views

Getting AWS SNS Messages into Azure Service Bus

I have a similar question to one already asked about SQS to Azure Service Bus - https://stackoverflow.com/questions/51650073/consume-aws-sqs-and-publish-to-azure-service-bus. I want to get messages ...
GRoberts's user avatar
7 votes
1 answer
1k views

Git Flow w/ VSTS Build Pipelines

I am trying to marry the git flow approach (w/ dev, test, uat, staging, prod env) & automated build and releases in Visual Studio Team System (VSTS). Slightly struggling due to VSTS needing a ...
m1nkeh's user avatar
  • 247
7 votes
0 answers
393 views

Rust and lifetime elision rules for structs?

In the Rust documentation, under the structs section, they give this example of how structs need lifetimes when they contain references: struct Foo<'a> { x: &'a i32, } because We ...
user avatar
7 votes
0 answers
266 views

Why does GHC represent recursion in Haskell with recursive binders instead of a fixpoint operator?

GHC's Core data type represents recursion with recursive binders in the Let constructor; as I understand it, all let expressions in Haskell are effectively let rec expressions. Why does GHC use this ...
DylanSp's user avatar
  • 275
7 votes
0 answers
194 views

Incorporating existing 2D OpenCL/OpenGL application in 3D scene

There is an existing real-time, scientific visualization application that uses OpenCL and OpenGL to render complex 2D graphs. My goal is to incorporate this application into a 3D rendered scene. At ...
Liam Kelly's user avatar
7 votes
0 answers
127 views

Intuitive dependency management with code includes?

I am building a PHP CMS system that parses template files and replaces tags with content. Sometimes this content is a HTML, CSS or JS snippet, but it can also be a code include. Most code includes ...
PIDZB's user avatar
  • 233
7 votes
0 answers
1k views

Zeromq bidirectional asynchronous transmission?

I have a system which consists of two applications. Currently, two applications communicate using multiple zeromq publish/subscribe sockets generated for each specific type of transmission. Sockets ...
blackmore_24's user avatar
7 votes
0 answers
121 views

Relationship between a mixin and its master invokation

I haven't studied Smalltalk or Strongtalk and am just trying to get an overview of the semantics of interfaces and polymorphism in O/O languages, particularly Dart. In the 2002 paper titled Mixins in ...
Tom Russell's user avatar
7 votes
1 answer
487 views

Maintenance Complexity of Gradle build scripts

I am currently trying out Gradle for my embedded development project. The existing tool is GNU Make. Across the internet I have read a lot of articles where people say that their build logic becomes "...
Müller's user avatar
  • 171
7 votes
2 answers
164 views

Which data structures and algorithms should I consider for a directed rooted tree that has high churn?

I need to represent a directed rooted tree in memory. What would be a good data structure and algorithms for performing main actions, given the particulars listed below? Size: ~40,000 nodes. But ...
DVK's user avatar
  • 3,586
6 votes
0 answers
252 views

Is it possible to use a reverse proxy authentication in a native mobile app

We have a few backend services that our frontend SPAs fetch data from. Right now, the SPAs use JS libraries to authenticate with the Auth server (Azure AD) which returns a JWT which is validated by my ...
Sayak Mukhopadhyay's user avatar
6 votes
0 answers
156 views

Rounding floats after modf()

I am trying to make an effective modf() function that uses floats instead of doubles. An embedded application I am working on only supports the float type. My modf() function works as expected with ...
user264480's user avatar
6 votes
0 answers
378 views

Rails on AWS Elastic Beanstalk - limitations

I have been looking at AWS Elastic Beanstalk service for the deploymeny of my rails application, and I came to think it was actually a bad idea given some specific requirements of my application. But ...
Cyril Duchon-Doris's user avatar
6 votes
0 answers
714 views

Feature Toggles for Front-end Redesign

We are planning a redesign of our front-end and would like to roll it out using a feature toggle. We want to expose the changes to limited sets of users as we iterate and perhaps allow users to opt ...
andyk's user avatar
  • 161
6 votes
0 answers
7k views

Assembler vs Entity Translator and Entities vs DTO

I was hoping that someone could explain the exact difference between an Assembler and Entity Translator. Martin Fowler describes the Assembler as a sort of Mapper(?) which converts DTOs into Domain ...
user2308097's user avatar
6 votes
0 answers
3k views

Is this Auto-Updating strategy for a program in C++ compiled with mingw32 for Windows correct?

I 've been thinking a lot on auto-updating, but wanted to check with you guys if you see any anti-patterns in my proposal: Context I'm coding a game in C++ and SDL, compiled in an Ubuntu (host) for ...
Xavi Montero's user avatar
6 votes
0 answers
2k views

How to tell SignalR Notifications Hub that there is a new notification without having SignalR poll on that table

I'm developing a push-notifications system for my ASP.NET MVC app. The idea is to use Redis for queueing, ServiceStack for queue processing and SignalR for push-notifications to implement a system ...
Sergei's user avatar
  • 161
6 votes
0 answers
2k views

Entity Framework - Loading Related Entities Explicitly

I have been using Entity Framework for a few years. I have flip-flopped between calling out to repositories in my business logic or using lazy loading to retrieve data as I work my way through the ...
Travis Parks's user avatar
  • 2,533
6 votes
1 answer
14k views

Should I mock ObjectMapper in my unit tests?

I have different services in a spring application that have a dependency on Jackson ObjectMapper, the unit tests rely on @InjectMocks to inject all the various dependencies to the class that is under ...
Pampa Nello's user avatar
5 votes
0 answers
925 views

GitHub flow: how do I test my changes that cannot be tested locally?

I am trying to start using GitHub flow in my project. I like that it is simple and, more importantly, it encourages continuous delivery. However, there is one thing about this flow that I cannot ...
yaskovdev's user avatar
  • 169
5 votes
0 answers
652 views

How to OCR and/or recreate lines of Egyptian Hieroglyphs in Unicode/HTML?

I am wondering how to take these Hieroglyphs and make them into Unicode. I read through the Tesseract docs on how to create training data, but it seems largely tailored toward "traditional" ...
Lance's user avatar
  • 2,615
5 votes
0 answers
236 views

How to protect potential attackers from finding emails that are already registered?

It seems common practice to not positively indicate during a password reset attempt whether the email requested is actually registered or not. This makes sense because knowing that an email is ...
QuietSeditionist's user avatar
5 votes
0 answers
975 views

How to implement micro-frontends with Native Apps?

I'm working with Web (react) and Mobile (IOS, Android) teams. And I find that even with a microservices architecture we end up always doing duplicated work at the front end/client level. How to ...
Txugo's user avatar
  • 151
5 votes
0 answers
914 views

Identity and access management in Clean Architecture and MVC design

The application user has a lot of standard functionality we see in most applications. At a high-level, this includes some form of authentication, authorization, and session management. At a low-level, ...
NLuburić's user avatar
  • 191
5 votes
1 answer
344 views

ReactJS with Elasticsearch App Architecture

I want some advice regarding my architecture and hosting options. I'm attempting to build an e-commerce site for e-books. It will use nestJS for the backend and ReactJS+Typescript for the frontend. ...
Ketra's user avatar
  • 51
5 votes
1 answer
2k views

Using PostgreSQL MD5 hash to calculate a 64 bit hash value for advisory lock functions?

I have a particular problem addressing the PostgreSQL advisory locking functions using the bigint variants. Basically I want to create a 64 bit bigint value from a text type obtained with the ...
πάντα ῥεῖ's user avatar
5 votes
0 answers
57 views

Decoupling redux reducer tests from state shape

Recently I have been refactoring state shape in a fairly large redux application, and I have found that one of the obstacles to doing to is that the tests for my reducers clearly have a lot of "...
samfrances's user avatar
  • 1,085
5 votes
0 answers
199 views

Should custom Django Admin be separate from client endpoints?

I am currently in the process of creating a Django REST framework project for a client server web app. I would like to ask the following: Should I write a custom admin if I want my app to be ...
 DJN's user avatar
  • 51
5 votes
0 answers
1k views

Efficiently sharing a large node_modules directory between TeamCity build agents

The CI flow for our Node.js app looks roughly like this: Currently, this all takes place in a single TeamCity 'job' with three 'steps' (the Test step runs 4 concurrent child processes). Problems ...
callum's user avatar
  • 10.4k
5 votes
1 answer
629 views

Applying Domain Driven Design - Model/Implementation

I'm quite new in the DDD-World and I'm just trying to figure out all the basics so please bear with me! I have the following Entities: - Datamodel - Object Types - Object Fields A datamodel can ...
w0wka91's user avatar
  • 59
5 votes
0 answers
203 views

What are best practices for deploying different configurations per environment in Kubernetes/OpenShift?

Kubernetes provides a very elegant mechanism for managing configuration for pods using ConfigMaps. What's not clear from the documentation is what the recommended practice is for using ConfigMaps to ...
arosca's user avatar
  • 151
5 votes
0 answers
483 views

Using C# to implement an F# type provider

I am in a situation where I believe type providers would be useful. Consuming type provider in F# could be the way I finally dip my toes in F#. However, I understand that writing type providers is ...
Tormod's user avatar
  • 359
5 votes
0 answers
2k views

Understanding the data flow in Spring REST layered architecture

I am new to Spring as well as layered architecture. So am a bit confused as how data flows among the different layers. What so far I have understood is: Layers: Controller (which accepts requests) ...
Jignesh M. Khatri's user avatar
5 votes
0 answers
532 views

Graph Database, Storing Transactions

I'm working on getting a handle on Graph Databases (using Neo4j) and am trying to wrap my head around where "the line" is between what makes a good fit for GraphDBs and what should be strictly RDBMSs. ...
jleach's user avatar
  • 2,682
5 votes
0 answers
175 views

Can integration tests be run asynchronously with Maven?

Because I work at a company with lots and lots of computers, I find it to be a little ironic that it takes half an hour to cut a release of the latest version of our software. The bottleneck seems ...
Peter Turner's user avatar
  • 6,915
5 votes
5 answers
3k views

Allowing users to add their own custom fields in a Spring MVC Hibernate application - What's an ideal approach?

We all may have seen applications like JIRA, or many CRM or other applications that allow its users to define their own custom fields to an entity, and do a variety of stuff with it, like making them ...
Sriram Sridharan's user avatar
5 votes
2 answers
515 views

Preferred approach to a matching process

I am currently in the process of putting together a matching algorithm. The matching process is as follows: Query data is used to perform a "lookup" on a set of reference data in order to determine ...
Ian's user avatar
  • 159
5 votes
0 answers
3k views

DDD directory structure for MVC app

As a means of learning and gaining some experience with domain-driven design, I'm restructuring/refactoring an old application written in PHP which utilizes the Laravel 5.1 framework. Below is a mock-...
alaric's user avatar
  • 159
5 votes
0 answers
3k views

Generic Type Parameters where one is itself Generic with a Type Parameter of the Other

I have a couple of classes with the following pattern that I am uncomfortable with. Is this the only way to do this, or are their other design patterns that would be more reliable. public class ...
RosieC's user avatar
  • 299

15 30 50 per page
1
2 3 4 5
69