Unanswered Questions
1,042 questions with no upvoted or accepted answers
0
votes
0
answers
58
views
Element-wise natural logarithm of large array
Let X be a numpy.array of np.float32 with shape (100,100,100,100). I'm computing the variable lX with the following formula
<...
2
votes
0
answers
78
views
backward induction algorithm computation
Is there a way to significantly speed-up this code?
I'm solving a dynamic programming model using a backward induction algorithm. A crucial step is to calculate the current-period value function (VF), ...
1
vote
0
answers
99
views
Runtime function overloading / dynamic dispatch for Python (2nd revision)
Second revision of the original post: Function overloading / dynamic dispatch for Python
TL;DR:
Improved version of this library[^1] based on previous reviews and criticism. It provides runtime ...
2
votes
0
answers
137
views
How to make this arbitrary precision π calculator using Machin-like formula run faster?
Two days ago (or yesterday depending on your timezone) was π-day. So I thought it was a good day to calculate π.
I used Machin-like formula to calculate π, in homage of William Shanks, who calculated ...
1
vote
1
answer
101
views
Convolutional LSTM
I write code about convolutional LSTM, but I am not sure if mine is good enough. Is anyone interested in giving a look at my code?
...
3
votes
0
answers
80
views
Upload Data Products to OpenMetadata
I need to build a python application to interact with the OpenMetadata API (specifically, to upload a data in YAML format). However, I’ve encountered some intrinsic connections between the ...
4
votes
0
answers
212
views
Regression model is doing exceptionally very well on time series
I have the following task to do: I have time series data. Training by the consecutive 3 days to predict the each 4th day. Each day data represents one CSV file which has dimension 24x25. Every ...
1
vote
0
answers
69
views
Nostr OAuth 2 authentication using Fastapi
I liked the idea of being able to authenticate using your own private key using Nostr protocol. The idea is based on events, so you prove your identity by signing an event.
It's close to Wallet ...
0
votes
0
answers
145
views
Fuzz-test the performance of SmokeDetector's keywords regex
I had an idea for attempting to detect bad performing regexes in Charcoal-SE/SmokeDetector, by using Atheris (a fuzzer for python code).
The theory behind it is that a bad performing regex will most ...
0
votes
0
answers
52
views
Scrapy Spider - Code Audit and Optimization Suggestions
I've written a Scrapy spider to scrape product details from a specific website. The spider is designed to navigate through various pages, locate specific products, and gather detailed information ...
6
votes
0
answers
107
views
Optimizing SymPy Implementation of prime factorization in form of QUBO
I'm trying to reproduce a paper on Prime Factorization. This paper converts the problem into a QUBO form, which then we can map it to an Ising Minimizer. I've basically done everything and I've ...
3
votes
0
answers
109
views
Text-Based Multiplayer RPG Engine using Flask & React
As a final project for a software engineering bootcamp, I decided to make a text-based multiplayer RPG game engine. Using Python, Flask, & Flask-SocketIO for the backend and React & TypeScript ...
4
votes
0
answers
222
views
Resolve an entire NTFS Master File Table's worth of File Records to Absolute Paths
This is related to my previous question.
This is it, the full working code that resolves all file record segments in a Master File Table to absolute file paths. It is completely working and seems to ...
2
votes
0
answers
90
views
NLP pre-processing function optimization as it is extremely low on 92Mb data set
I have a data set that is of 300,000 rows approximately and two columns, each row contains a string, some might be larger than others. All in all, the data set in a ...
1
vote
0
answers
50
views
Making my code shine and pro: Python in Azure Function Retrieveing the Data From Rest API
The code retrieves the data from PBI API - it's my first one and I would like to learn how to make it pro.
Here is the list of my questions:
Can you please analyze 2 functions: GetReports and ...