Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

I'm working on a project that has a Discord client running in a background thread to listen to incoming messages. I noticed each time the client is stopped & restarted, it logs in 1 extra time, as ...
cmasupra's user avatar
  • 340
0 votes
0 answers
20 views

I'm trying to perform a Gaussian Process Regression on the following series of data points (X and Y): X Y 0.00001 -6.8200000000000003 0.00014 -6.8073846153846160 0.00042 -6.6818333333333326 ...
Josep's user avatar
  • 1
0 votes
0 answers
23 views

In the first code example, there is a crossfade animation that happens between changes. import sys import gi # Require specifically GTK 4.0 and Adwaita 1 gi.require_version('Gtk', '4.0') gi....
person's user avatar
  • 109
0 votes
0 answers
25 views

I am trying to build opencv from source to enable GStreamer support. I have followed this instructions here, but an error occurred. More specifically, the error occurred in this step: make -j$(nproc) ...
Eypros's user avatar
  • 5,743
-2 votes
0 answers
79 views

Imagine you get sequence of integers: [a1 a2 a3 ... an] where: 1 <= a <= 10^6 1 <= n <= 10^6 You are given a function f(x) that can change a number to the closest lower prime number, or ...
ToridFartFart's user avatar
0 votes
1 answer
43 views

I'm trying to create a Pandas DataFrame from a JSON file that looks like this: { "GameID": "1,218,463,841", "Date - Start": "1761097369", "Date - End&...
Margot Sibson's user avatar
1 vote
1 answer
75 views

I’m trying to solve the following Leetcode problem: You are given a 2D integer array intervals where intervals[i] = > [starti, endi] represents all the integers from starti to endi inclusively. A ...
Utkarsh Mishra's user avatar
-1 votes
1 answer
39 views

I'm trying to automate intraday financial analysis using OpenRouter's free models. My Python script rotates through several LLM endpoints, sending a prompt about a stock's symbol, change, and closing ...
Ad Du's user avatar
  • 1
0 votes
0 answers
59 views

I want to frequently test a Python application I'm developing with uv, which I publish to a private repository on a GitLab instance. I've generated an access token with read access to the repo and I ...
FLKR's user avatar
  • 67
0 votes
0 answers
24 views

We have an internal tool that was distributed simply by users cloning the git repository. The purpose of the tool is to configure newly created virtual machines for later testing our "real" ...
GhostCat's user avatar
  • 141k
1 vote
0 answers
45 views

I'm developing a WhatsApp chatbot in Python and want to implement a human handover feature. The goal is to temporarily pause the bot's automated responses when a human administrator opens the chat to ...
Tiago Silva's user avatar
Advice
2 votes
2 replies
42 views

I have the following use case. My main program is written in Python, and I want to accelerate some parts of it. The Python program makes use of dataclasses (~structures) to store parameters, arrays, ...
ninivert's user avatar
0 votes
2 answers
52 views

After converting module A to CPU, the origin parameter tensor still stays on the GPU? When it is released? Is it wrong if I reuse the parameter? My code: import torch.nn as nn class A(nn.Module): ...
jiwei zhang's user avatar
Best practices
0 votes
0 replies
33 views

I have this script in Tk and it works fine. I wanted to make it dark and ad hover options, so I changed it to CTk, but now it's not working. Can someone please help me fix this? I have both scripts ...
Royy's user avatar
  • 149
Best practices
0 votes
3 replies
63 views

I have a corpus of text which includes some accented words, such as épée, and I would like people to be able to easily search through it using an ASCII keyboard. Ideally, they would simply type ...
hackerb9's user avatar
  • 2,091
-5 votes
0 answers
49 views

How do you even load a captcha from one browser onto another/ even see the problem? does anyone have code examples how you can sort of stream captchas from a page to a secondary page? or just even ...
Callum Henderson's user avatar
Advice
0 votes
6 replies
77 views

I've installed a package from a cloned repository, in "editable" mode (pip install -e .). I can't import the package in a script in the virtual environment where the package in installed (...
Cutter's user avatar
  • 1,852
-2 votes
0 answers
33 views

Why does my Flask app not recognize the custom filter I created?
Shakti Sourav Swain's user avatar
-1 votes
0 answers
26 views

When I run this segment of code every item in the list is executed even printed out in the statement, however the last message in the array is always never arrives to the other node as if it is being ...
Caroline Pickett's user avatar
1 vote
1 answer
37 views

Consider this class Base: def __init__(self, bar: bool, **kwargs) -> None: self.bar = bar def foo(self, bar: bool, **kwargs): ... class Child(Base): def __init__(self,...
Engensmax's user avatar
  • 173
-1 votes
1 answer
47 views

The figure moves in different directions: left, right, up, and down. While moving, it should also fire in the direction it's moving when the space bar is pressed. In this code, when moving to the ...
fizer's user avatar
  • 1
0 votes
1 answer
48 views

I want to put the "Selecto a file to encrypt" on the left site, a try it separate too and it didn't work. tk.Label(frame, text="Select a file to encrypt: ", fg="black")....
v0id0100's user avatar
0 votes
0 answers
33 views

I have an Intel Mac and I'm trying to install Firedrake to use in python. I followed the instructions and ran $ brew install $(python3 firedrake-configure --show-system-packages) but I got this error:...
BBB's user avatar
  • 105
3 votes
1 answer
49 views

I've implemented an OCR queue using PaddleOCR and noticed that some documents are receiving the same extracted data as the previously processed document. So far, this behaviour seems to be isolated to ...
CIRCLE's user avatar
  • 4,959
Tooling
0 votes
1 replies
45 views

Good day, I would like to know how to export or import TOON (Token object oriented notation) in pandas. Thank you.
Rainb's user avatar
  • 2,557

1
2 3 4 5
44186