Unanswered Questions
198 questions with no upvoted or accepted answers
4
votes
0
answers
54
views
API for operators and alerts
Note: The important chunks of code are pasted in the question but the larger representation of the app is available on GitHub.
Some time ago I was tasked to create a simple FastAPI app. I did manage ...
4
votes
0
answers
63
views
Use XYZ data to create cross sectional profiles across beach terrain, using OS Grid
This might be a slightly long question, but I've recently been doing a bit of R&D on the data processing workflows within the company that I work at and it would be great to see if there are any ...
4
votes
0
answers
130
views
Wrapper for Google_Service_Calendar as a Symfony service
My app interacts with Google Calendar. This Service wraps Google_Service_Calendar:
...
4
votes
0
answers
1k
views
Generic Unit of Work implementation
I am implementing the unit of work pattern to be used in the logic layer of my application. The goal is to abstract away the tasks of managing transactions
/ connections.
My implementation relies ...
4
votes
0
answers
2k
views
Red-black tree in Rust
Although I have done a few toy projects in Rust, I haven't really done anything related to tedious memory management tasks. So I set out to create a database with the help of the project 500 lines or ...
4
votes
0
answers
309
views
Script to make file hashes and track changes
I'm fairly new to python and decided to build something useful (I believe). So I made this script to track changes in user's files with DB with ability to "Accept changes", so end-user might track ...
4
votes
0
answers
273
views
In-memory file system context for the behat PHP BDD testing framework
I wanted to come up with a 'utility' context to enable testing of the file system with behat. Specifically this is aimed at helping with the behavioral testing of php command line applications that ...
4
votes
0
answers
117
views
Heterogenous tree in the application domain: How do I represent them?
The Domain
I have three types of items in my domain: ItemA, ItemB, ItemC. (I can't use their real names.) ItemA has one attribute: thing_id. ItemB has 6 attributes: thing_id, name, description, ...
3
votes
0
answers
44
views
SPA in Symfony UX Turbo
I am currently learning Symfony UX. My focus today was on UX Turbo. I basically wanted to create a very basic Single Page Application.
User can 'login' using a form, submitting the form should render ...
3
votes
0
answers
310
views
How can I filter and sort LinkedList faster and more effective?I have list of orders that should be processed
I have method that fetches all orders from Database and filtering, sorting that data(I know better to do It by specific query to Database but I dont know how).
I have Order entity that has following
<...
3
votes
0
answers
29
views
wordpress slow query shown in query monitor
I have a slow query on a wordpress site. How can I rewrite this to make it faster? I'm not having much luck. The query takes about 0.900 seconds I have both the query and the explain below, my goal is ...
3
votes
0
answers
888
views
PowerShell Script to get data from Third Party API and insert into database
I have created a PowerShell script that will call a REST API and then for each node returned, add the data into a database table. This particular endpoint only returns ~600 records worth of data, ...
3
votes
0
answers
45
views
Organizing and accessing data in xml database - VB.Net
So I made an XML database for my music player where I store songs data (title,artist,album,genre,year) the code for generating the database is working but slow as heck, the code works as following ...
3
votes
0
answers
63
views
SQL database implementation - statement execution
This is another class from my implementation of SQL in C#. It handles the execution of SQL statements, with the core method looking like this:
...
3
votes
0
answers
1k
views
Product inventory database with attributes and variants
I have design a model for product apps. This is the first time I am trying to create a product's database schema and then model it in Django. My code handles the following:
A product type can have ...