2,205,648 questions
Score of 0
0 answers
13 views
Zero-Downtime Column Addition to Large Time-Series Containers in GridDB Cloud
I'm having some issues with my GridDB Cloud setup. I've got these massive time-series containers – we're talking terabytes of data – and my application is constantly evolving. This means I frequently ...
Score of -2
1 answer
47 views
Trying to get VS Editor with Python to run pytest
I have Python installed at AppData\Local\Python\pythoncore-3.14-64\lib\site-packages (26.1.2).
I have pytest at AppData\Local\Python\pythoncore-3.14-64\lib\site-packages & Scripts.
I cannot get ...
Best practices
0
votes
1
replies
34
views
Math Operation to find points on a graph inside a functions slope
I don't know if this is the correct forum site to post a question like this but I don't ask alot. I am wondering a Mathematical operation or similar operation that, can find points that can be inside ...
Score of 1
0 answers
31 views
Optimizing Batch Data Ingestion for High-Throughput IoT in GridDB Cloud (Python/Java Native Client)
I'm wrestling with a pretty common IoT problem here, but specifically with GridDB Cloud. I've got a ton of time-series sensor data coming in – we're talking thousands of data points per second – and I ...
Best practices
0
votes
0
replies
36
views
Python: How do I "register" a text box for accessibility purposes?
I'm working on a fairly well-established program in Python and we're adding touch support. That has made me realize that the on-screen keyboard I use on my Linux tablet doesn't recognize our text ...
Score of 0
0 answers
24 views
Async Telegram bot freezes while processing voice messages with external API request
import os
import tempfile
import requests
from dotenv import load_dotenv
from telegram import InlineKeyboardButton, InlineKeyboardMarkup, Update
from telegram.ext import Application, ...
Best practices
0
votes
2
replies
60
views
How can I refactor a rule-based eligibility engine to avoid long if/elif logic?
I have a Python eligibility engine that reads criteria from a CSV file and classifies each row based on a user profile. The code works, but evaluate_criterion() has a long if/elif chain for operators ...
Score of -5
0 answers
82 views
How can I refactor a Python module to avoid repeated calculation logic [closed]
I have a Python module with multiple pure functions for calculating tax breakdowns, deductions, and regime comparison. Right now, some helper functions are shared, but the flow still feels a bit ...
Score of -1
0 answers
32 views
How do you set a user input as the filename for PyShiny-Express file download
I am creating an app in Shiny-Express syntax in Python and am trying pass a user inputted string to the download function, so that users can set the filename as they like in the app, like so:
ui....
Score of -2
0 answers
41 views
Is my SDENet re‑implementation faithful to the paper? A discrepancy in non‑trainable parameters [closed]
I am re‑implementing SDENet (Lightweight SDENet Fusing Model-Based and Learned Features for Computational Histopathology, IEEE JSTSP 2024) because the authors did not release code and the paper does ...
Best practices
0
votes
1
replies
64
views
How to correctly type hint a python field that accepts a pandas Timestamp?
I'm working on a python package where lots of method parameters and class properties are timestamps.
I work with the pandas.Timestamp class to represent these timestamps, e.g.:
class Event:
"&...
Score of 0
1 answer
53 views
How to access BigQuery Infomation_schema Columns from python
I have a Python script that connects to BigQuery, and can pull down data
from google.cloud import bigquery
import os
os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = "XXXXX.json" #file ...
Score of 2
0 answers
71 views
How to avoid cyclic dependency when using Flask as Viewer part of MVC setup?
I made a little multiplication table game with a multiplayer mode. For the future I have started to decouple the logic and the output, so I can easily (easier) add new math tasks like addition, ...
Score of -1
0 answers
80 views
What are some techniques from the OpenAI SDK and Pandas library to accomplish what I want to do for my SKU coding system program? [closed]
I've been working on an SKU coding system, and my plan is to incorporate the OpenAI SDK and Pandas library to my python application.
Here's how the program will flow, ideally:
1. It will first get the ...
Score of -1
0 answers
70 views
Errno 1112816 on Python 3 - unseen error code [closed]
I am running a pretty standard Flask app on a standard Ubuntu VM.
I am getting an OSError code that I could not find referenced anywhere online before:
File "/home/user/llmGuess/app.py", ...