Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
16 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
22 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
75 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
41 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
38 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
58 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
44 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
48 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