Unanswered Questions
224 questions with no upvoted or accepted answers
4
votes
2
answers
501
views
Data processing pipeline design for processing data
I have a use case for which I need to build a data processing pipeline
Customer contact leads data coming from different data sources like csv, data base, api has to be first mapped to a universal ...
4
votes
0
answers
2k
views
Python and C++ repository structure
I'm refactoring the directory structure of a large Python repo that has a few dozen C and C++ files littered throughout. Is there a suggested architecture for a Python package that contains C/C++ code ...
4
votes
0
answers
68
views
Component needs to invoke class methods and instance methods (via ORM), how to structure
An interesting design choice/discussion has cropped up in code review, and I would like to understand more about proposed solutions. The original review includes re-factoring of a messy piece of code ...
4
votes
0
answers
1k
views
Calculating the multiplicative inverse of a number in a Galois field
I was told to come here from Stack Overflow because I was "looking for an algorithm". I'm trying to implement it in Python, but there is nowhere on the net that gives a straightforward way for ...
4
votes
0
answers
1k
views
How to Use Python as a "Macro" runner for a C# Application
I am working on an application that the user may wish to automate some features of (but we don't know what at the moment) I would like to provide them some kind of scripting interface so they can play ...
4
votes
0
answers
2k
views
Structuring a multi-language project?
I'm working on a project which involves writing code for multiple devices, each in its own language (in particular, Arduino and Python). I want to contain the entire project in a single directory, but ...
4
votes
1
answer
2k
views
Where to store formulas and formula "constants"?
I want to implement a database driven payroll system using CSharp. I already did it once, but the implementation sucks so I want to do it again and do it right.
My first thought is to create a static ...
3
votes
0
answers
85
views
Confused about how to test Python scripts that install and configure a development setup on OSX (VMware? Docker-OSX?)
In my company we hire engineers for various "disciplines"—iOS, Android, Web, Backend, Data, etc. Engineers follow an onboarding workbook to install what they need for their discipline. iOS ...
3
votes
1
answer
214
views
How to structure python modules/packages according to dependecy inversion
If I am working on a project, say it has this file structure:
car/
body/
__init__.py
doors.py
bonnet.py
engine/
cyclinderhead/
__init__.py
pistons.py
...
3
votes
0
answers
255
views
Architecture and Security in a Web/Native app while generating PDFs
I am trying to make a system where a user can view/download his statements (say salary slips). The user will have ability to download PDF versions of these statements and can also save them to Google ...
3
votes
0
answers
161
views
Can/Should I make an automatic installation of new python libraries after a git pull?
Imagine the following situation:
I'm working on a python project, and I install the library antigravity with pip.
I add the function fly() which uses the library, and I commit and push the changes.
...
3
votes
0
answers
129
views
Python3: How to change the design of a class hierarchy to improve access to objects there buried?
I asked this question already at stackoverflow together with a serialization related part and at codereview for the design part only. Since the design related part receives no answers or comments on ...
3
votes
0
answers
775
views
Design a Windows Service with self-hosted ASP.NET Core Web Services and UPD port listeners
I'm designing a software platform in automation that is responsible of many different tasks like:
Core functions
Driver interface for machines
UDP listener for machine messages from PLC
UDP listener ...
3
votes
0
answers
103
views
Creating bindable input handler in C++ spanning two separate modules
I have a wxWidgets application. This is the first, main module. The second module is an openGL engine. It's a model-view-(controller) structure, where application is the view (and the controller), ...
3
votes
0
answers
88
views
Memento and releasing resources
Let's suppose we have a class whose state has to be saved and later restored, and we resorted to the Memento pattern for that.
What if the state includes resources that have to be explicitly ...