2,207,753 questions
-3
votes
0
answers
14
views
Attiny13a Código bloqueado [closed]
Quero extrair ou copiar ou clonar um arquivo que tem nesse micro atmel attny13a. Ele ta bloque Pode me ajudar .
0
votes
0
answers
15
views
Unique combinations of length 2^N of four elements with constraints
I'm trying to generate lists of length 2^n of all the unique combinations of the following elements: A, B, X, Y.
This in and of itself is trivial. However, I have constraints! The elements are grouped ...
Best practices
0
votes
0
replies
15
views
Using matplotlib to build report of survey responses, what is the most efficient way to tally likert scores?
I am building out functionality in an existing app for a user to upload an excel file to plot out responses for survey questions. There are 4 likert questions with 2 comment response question. The ...
Advice
0
votes
1
replies
35
views
Can I with withdraw a submission?
I submitted a program which is not ready for review. I would like to withdraw the question while I work on it. I don't wish to tie up resources that could be better used elsewhere. The comments ...
0
votes
2
answers
14
views
Promptfoo: RAG-Metrics - context-faithfulness assertion requires string output from the provider
I'm planning to evaluate a fine-tuned LLM in the same RAG system as the base model.
Therefore, I set up a PromptFoo evaluation.
In the process, I came across an error that I just can't wrap my head ...
1
vote
2
answers
45
views
SQLite doesn't see all columns of my table [closed]
self.cur.execute("DROP TABLE IF EXISTS analysisResults")
self.cur.execute("""CREATE TABLE IF NOT EXISTS analysisResults(
subjectID INTEGER
...
0
votes
0
answers
21
views
Member permissions must be used when using member as author - LinkedIn API
I'm trying to get the posts in from my personal LinkedIn account and I generated a token using linkedin developer token tools after I created an app. the app has Community Management API product ...
3
votes
1
answer
36
views
Scrolling secondary scrollbars in webpage using Python Playwright
I am trying to automate a webpage containing more than one scrollbar. Sometimes the scrollbar is on the left side and sometimes it is in the middle of the page (e.g.: adjacent to a web table). These ...
Tooling
0
votes
1
replies
53
views
I am working on programming a Cartesian & Polar Parametric Grapher with python, any library recommendations?
I saw this website: https://www.calculators-math.com/graphers/parametric-curve/
I found it very interesting and I would like to create something like it, I saw some libraries being used to make a ...
4
votes
2
answers
75
views
Compile list with more than one argument
Why is the following line valid Python code?
code = compile('l = list(1, 2, 3, 4, 5)', '', 'exec')
The documentation says
Using the type constructor: list() or list(iterable)
I can even write the ...
Best practices
2
votes
9
replies
120
views
How to make my code less messy and more readable?
I am starting python and I wanted to do a Question/Answers game but I think it's a little bit messy. How can I make it more readable and efficient? the things I want to learn the most are built-in ...
Advice
0
votes
4
replies
67
views
How can I connect HTML and Python without using any libraries or frameworks?
Iâm trying to create a simple web project where a user submits data through an HTML form, and a Python script processes the input and returns a response. I want to do this without using any external ...
2
votes
0
answers
46
views
Calling DLL API is not success - how to resolve the issue
I have a DLL and have used a dumpbin tool to get one of the APIs names in it:
ordinal hint RVA name
56 3D 00005BB0 GetUserPass
It might be possible that this DLL is created using C++ / ...
0
votes
2
answers
81
views
Faster way to apply a function across rows?
If we wanted to apply a function across rows where there currently is no built-in method, like rank_horizontal, what is the fastest way?
data = {0: [0, 1, 0, 1, 1, 0, 1, 0, 1, 1],
1: [0, 0, 0, 0, 0, ...
0
votes
0
answers
38
views
How to apply a mask row by row in polars?
Lets say we wanted to find the most amount of consecutive 1's row by row, with the below df.
data = {0: [0, 1, 0, 1, 1, 0, 1, 0, 1, 1],
1: [0, 0, 0, 0, 0, 0, 1, 0, 1, 1],
2: [0, 0, 1, 0, 1, 0, 1, 0, ...