All Questions

1
vote
0answers
3 views

how to efficiently use std::unordered_map in a recursive function?

I have std::unordered_map (let's call it umap) in recursive function foo() and since foo() is recursive, I want to avoid allocation and deallocation of the memory for umap in each foo() call. One way ...
1
vote
0answers
4 views

Including azure webjobs in continuous deployment

I'm trying to publish my azure webjobs alongside with my webapp, I use azure devops build pipeline. I've already tried other samples, however all of them didn't work. What can I do to include webjobs ...
1
vote
2answers
33 views

Where should the logic concerning a class's behavior reside? In the class itself or in the calling subroutine?

I have a car object. The car cannot be driven unless it is turned on. When should I check to see if the car is on before I try to drive it? In the main program? class Program { static void Main(...
1
vote
0answers
23 views

Linear “steps” of operations considered a state machine?

I have a set of tasks I perform to complete some larger operation. These tasks must be executed in linear order, and you cannot proceed onto the next task until the previous completes. For the most ...
1
vote
0answers
16 views

Creating an API for adding third-party JIT support to a VM

I have created my own VM/runtime environment engine and I would like to give my runtime environment an API so that a developer could interface any type of JIT compiler to my VM. So far I've created ...
1
vote
0answers
22 views

How should I document a method's complexity in the code

I am currently working on a project that has very little documentation overall. The team is working to change that. I am doing my part, by adding xml comments to the methods I make and the ones I edit,...
1
vote
0answers
17 views

How should propagation of service abuse information work within a microservice architecture?

At the moment, I'm working on a product that's being broken down from a monolith to a bunch of microservices, and it seems to be going well enough. However, if a user is abusing the service somehow, ...
3
votes
1answer
74 views

I feel like these constants should be in a different class?

I have a static class called RenderingUtilities that houses several useful methods and constants. Some of these constants are related to the Earth as an object such as the Earth's radius. I believe ...
0
votes
1answer
24 views

Should I run my tests against production build transforms (i.e. Babel)?

A coworker of mine recently setup testing in a new project (a JS library) where a transform step hooks in to the babel config for Webpack in the production config. For reference, this is the setting ...
1
vote
0answers
11 views

Test Results Database Design

I am trying to write a database to store test results for components, against a serial number, with different components potentially having different tests. I want to prioritise ease of adding new ...
1
vote
0answers
10 views

Does using ElasticSearch X-Pack Watcher make sense for emailing error logs?

Watcher for X-pack seems like an awesome technology for dealing with system events, however I think it may be overkill for my current use case. All I am trying to do at the moment is email an admin ...
-1
votes
0answers
70 views

How can I figure out where the code starts for a complex software project?

Say I want to (try to) read through and understand a fairly complex piece of code (for example the free software Coreboot firmware code, which can be found here). How can I figure out where the code ...
1
vote
0answers
28 views

When is it reasonable to register an activity on the SCRUM board and when it is not necessary?

In my work we use the scrum board for the registration of activities, however there is always a dilemma of what to register there, some colleagues want to register on the scrum board the email answer (...
-4
votes
0answers
36 views

What are several types of example cases where Inversion of Control does not demonstrate dependency injection? [on hold]

Dependency injection (DI) is one kind of Inversion of Control (IoC). So there should be cases where IoC does not demonstrate DI. How is IoC used without being DI ?
1
vote
1answer
48 views

Multiple APIs v One API

Is it normal to have a bounded context spread accross multiple APIs or should there really be one API per bounded context? I am trying to understand if I can use the Scatter Gatherer pattern (https:...
1
vote
1answer
211 views

Creating a control flow graph for a given function

Given is a short Java function and I like to create a control flow graph for it but I'm not sure if it's fine like that? Because I left some things away such as variables that have already been ...
0
votes
0answers
28 views

How to efficiently check if location is inside certain area? And how to set that area?

I would like to know what's the best way or the options I have to limit a user selected location (latitude and longitude) to be within a certain area, for example like Uber does with their rides when ...
3
votes
2answers
85 views

Should detected vulnerabilities in old commits be remedied?

One of my projects on GitHub has received a vulnerability alert, in this case of moderate severity. The vulnerability has been detected in a dependency of an old version of the code. Current versions ...
1
vote
1answer
29 views

Unit testing about API endpoints and parameters

Consider a simple web application, I'll use a Python(ish) example, but i think the question is relevant for other languages as well. The user is trying to fetch a page, and in order to render that ...
1
vote
0answers
62 views

What are the “gotchas” of refactoring code that is binary serialized? [on hold]

I have a few classes that I have to refactor and my particular concern is that they are marked as Serializable. I know with 100% certainty that these classes are parsed out into a file and read back ...
-1
votes
0answers
22 views

A question about errors and exception in production [on hold]

Let's say you have a production app that continuously explodes every 2 minutes on a specific route and return 500. What is your current setup for getting alerts? Are you using Airbreak, Pagerduty or ...
0
votes
0answers
25 views

Are groovy automatic getters and setter effectively any different to public variables?

To provide a very blunt example (as I am at work and can't currently think of a sensible example). If I write a groovy class like this class Wendy{ byte[] frank String doSomethingWithFrank(){...
0
votes
0answers
90 views

OS libraries and compiling for dynamic libraries [on hold]

I'm looking to make my own compiler / translator between languages, and can probably manage reading code etc... but I do not understand how dynamic libraries (.dlls) are handled by the compiler. To ...
-2
votes
0answers
14 views

Is it possible to implement to Mobirise my own vector icons? [on hold]

I need to create the site and I like the way Mobirise works. But I need to add to the project my own icons. Is it possible?
2
votes
1answer
32 views

Where to keep Ansible Inventory file

I keep my Ansible based deployment module in the same repository/directory as my application code. I use Mercurial for my VCS. The inventories file is ephemeral as the IP's of the cloud hosts keep on ...
-2
votes
0answers
37 views

How Nosql on SQL Server performance for million data?

I am trying to develop software with a Sql server database. I am using it as a document store for JSON documents. The queries use the JSON_VALUE built-in function to extract data from the document. I ...
-1
votes
0answers
23 views

What are some of the pros and cons of react-native-web?

We are using react-native to develop a mobile app. We also need to develop a web app that will have all the mobile app features plus some extra ones. Is react-native-web a good choice? What are the ...
-2
votes
0answers
18 views

Octave plots - how to flush out the plot (is it a pipe still?)

I am running Octave 4.21 - it works great, however, the command purge_tmp_files does not execute. I just want to make sure that when I run a script, that the previous script's run is completely "...
1
vote
1answer
103 views

Should I break functionality out into new classes?

I currently have an object that is composed from several simple objects. Each simple object is used to render a particular portion of the larger object as a whole. Think of it as building a 3D ...
-1
votes
2answers
83 views

Is QA/QC more related to proprietary softwares?

I'm not a software engineer, but I like coding for myself. Thus, I don't know what goes in IT companies. Keeping the amount I spend on GitHub, I never heard of the term QA/QC in regards to open ...
1
vote
2answers
86 views

Is it a good idea to use strings in a struct as values to static properties?

I'm in a discussion with a co-worker concerning the use of structs. I have a couple of structs that contain several static properties that are used throughout our website. The value of those ...
-2
votes
0answers
41 views

Creating a Wi-Fi Protected Setup broadcaster (WPS Push)?

Sometimes I am stumbling across devices which require WPS to work, but the router does not offer it (Either by hardware or software limitations). Therefore, my goal is to recreate / use the WPS ...
-2
votes
0answers
31 views

Example of Use Case that contains another use case

Use case diagrams can have an include relationship (eg., A include B). B could be an extension of A or steps in the flow of events. I understand the general intuition in diagrams, for example, verify ...
-1
votes
1answer
62 views

Can you Compile Assembly 6502 into a Stand-Alone Application With a Compiler? [on hold]

Before we go into this, I may as well tell you what Assembly 6502 is. Assembly 6502 is a language meant for humans to compile it themselves not compilers, its an older Assembly that powered the olden ...
0
votes
0answers
14 views

Sending push notifications to android by nodejs server

I am having the requirement in my project, that nodejs server has to send the notification (kind of push notification) to our mobile, and user( or mobile holder ) have to act on that notification like ...
2
votes
3answers
206 views

Do language features affect the use of dependency injection?

I've been looking into dependency injection, what it is, how it works, how it's being used. It's a neat system and to understand it a bit better, I'm going to implement a small demo app using this ...
-2
votes
0answers
36 views

How Reelgood communicates with Netflix?

I just saw Reelgood which is a video streaming aggregator but could'nt find any Netflix API available to implement this kind of functionality. Are there any api's available for this if not how can i ...
2
votes
2answers
114 views

TDD how to avoid test duplication across team

Our team has decided to develop using BDD/TDD in an effort to become the Agile team we're supposed to be. Vertical slicing appears to be an important part of agile working and gaining the quick ...
0
votes
0answers
21 views

How to have parent and child modules in Maven that both package as jar files?

I have an unresolvable dependency issue in a Maven project; different pieces of code depend on different versions of dependency A (i.e. most code needs A:0.15; some needs A:0.18). Fortunately, the ...
1
vote
2answers
108 views

How can I integrate Python code with c# code? [on hold]

I want to integrate code python (hierarchical clustering algorithm) with code C#. (The idea of ​​the project is to divide similar people and put them into classes using the algorithm. We use language ...
0
votes
0answers
29 views

Lightweight data mining + organization & visualization

I'm looking to do some simple data mining that consists of going once per day to a single page and collect the following information: List of movie theaters Movies today on each theater Session times ...
0
votes
0answers
24 views

Open URL if new document enters alfresco folder

I have a java applications where the user can add documents using alfresco. If fact the user uploads (scans) a document that is moved to the corresponding application folder then it is display in the ...
3
votes
4answers
204 views

If story points are about time, what is truly the benefit of using them?

Quoting the known Mike Cohn: The primary reason for estimating product backlog items is so that predictions can be made about how much functionality can be delivered by what date. If we want to ...
26
votes
6answers
6k views

Does Scrum create additional overhead for projects where requirements don't change?

I'm reading the Scrum - A Pocket Guide by Gunther Verheyen and it says: The Chaos report of 2011 by the Standish Group marks a turning point. Extensive research was done in comparing traditional ...
2
votes
3answers
204 views

Best approach to creating a secure offline login system in C#?

I'm rather new at programming so I'm still getting a grip on things. I'm creating an offline login system in C# that will have the ability add/remove users. The computer will not be connected to the ...
-1
votes
2answers
122 views

How many hours a day in a sprint in scrum framework?

I am trying to follow scrum framework as much as i can but i am facing some confusion. I like to know what are the standard guide lines for a sprint. I am designing the sprint but i am not sure to get ...
-2
votes
1answer
54 views

What goes into .env file?

Working on a huge application with lots of legacy code, I often encounter environment "checks": db_name = Rails.env.production? ? 'staging_db' : 'production_db' ... desired_processes_count = Rails....
0
votes
0answers
37 views

Getting into situations that requires mixin while building classes. How should I correct my class design?

I have the following classes for to solve a particular problem related to HTTP responses. Problem is for class ServerSentEventStreamResponseService I am in a situation where I need mixin because I ...
1
vote
1answer
42 views

Is Web API suitable as services for IoT?

The issue I care about here is high throughput, there are a lot of sensors (monitoring devices) which send data to the server at high frequency. It looks really like that we have to use UDP protocol ...
1
vote
1answer
40 views

Using frameworks that map database to RESTful APIs?

While researching RESTful API frameworks I've come across (generally speaking) two types of frameworks: The first type will (more or less) directly (or nearly directly) map an ORM/ODM scheme of your ...

15 30 50 per page