2,208,740 questions
1
vote
1
answer
16
views
Why does BLE-program ble_simple_central.py respond with <memoryview> instead of data
I have run the Micropython code examples at github connecting the Bluetooth example programs "ble_simple_peripheral.py" to "ble_simple_central.py" over a Bluetooth link. Running ...
-3
votes
0
answers
41
views
The ballon needs to pop in a certain way [closed]
enter image description here this is my code
enter image description here this is also my code
enter image description here this is the solution and what it is suppose to look like.
The first 2 images ...
0
votes
1
answer
26
views
Radar Microdoppler extraction Range Query
i have a code to extract radar microdoppler spectrogram but even at 1m range, i'm getting a weak spectrogram back; at very close range i get a decent spectrogram. The radar i'm using is bgt60TR13C. I'...
0
votes
0
answers
30
views
PyTorch: trying to create a joint dataset with different transforms results in both datasets having same transform
I'm very new to PyTorch and am attempting to create a dataset for which a given sample has both unmasked and masked data associated with it, or in other words, the first piece of data is just the ...
2
votes
2
answers
103
views
python function signature reuse with variations
I have two functions with 100% identical (and lengthy) signatures, but slight variations in internal code.
I'd like to use the first-class-object nature of functions to reuse the signature, and then ...
0
votes
0
answers
23
views
Unexplained delay between PyVISA - USB - GPIB - Keithley 2401
I am trying to measure a current-voltage curve using a Keithley 2401 SMU. It is connected via GPIB to USB; I am controlling it via PyVISA (Python 3.10):
def main():
rm = pyvisa.ResourceManager()
...
0
votes
0
answers
24
views
Cognee 0.5.1 - TypeError: MilvusAdapter.init() got an unexpected keyword argument 'database_name'
Context: I am using cognee v0.5.1 and trying to use Milvus (Zilliz Cloud) as the vector database and FalkorDB as the graph database. I am registering the community adapters as required by the new ...
0
votes
0
answers
36
views
Asynchronous Python+webview Issues When File Creation Is Involved
Basic Explanation:
I am working on a Python program that takes a number given by a user in through webview and uses the information to generate the number of random codes. Each random code is then ...
0
votes
0
answers
27
views
Why would hatch create build output in my project root directory?
Hatch builds for me have suddenly started putting sdist and wheel output in my home directory rather than dist. Even when I completely uninstall hatch, remove all config and cache directories that I ...
1
vote
0
answers
106
views
SQLAlchemy failing when querying an empty table in DB2
I have a table in my DB2 database with information about customer locations. Each location has a unique id (WLC = worklocation code).
I am trying to run a query in Python using SQLAlchemy to retrieve ...
1
vote
1
answer
199
views
If a value in at least one of the indexes of my sympy summation equals 1, how do I make all of the indexes have 1?
I'm coding in python using sympy specifically and I reached a problem that I can't figure out on my own. I can successfully change a value to equal 1 based on parameters that I set in my piecewise, ...
0
votes
1
answer
48
views
Disabling build-isolation in a pip config file
TL;DR - setting no-build-isolation to true in my pip configuration does not appear to disable build isolation. Are there additional values that need to be set?
I have a development machine that isn't ...
Advice
1
vote
8
replies
97
views
What is most enjoyable and high paying career options in tecnical field?
Can Anyone know what is the most enjoyable and career options in the tecnical fields like Android Development, Software development, Cybersecurity and their sub fields.... And other fields in tech....
...
1
vote
1
answer
46
views
uv authentication fails with Azure DevOps Artifacts using environment variables, but works with inline URL token
I am migrating a Python project from pip to uv on Windows 11. I need to install packages from a private Azure DevOps Artifacts feed.
I am facing a strange issue where authentication works perfectly if ...
1
vote
1
answer
73
views
Time function for Plasma simulation
I would like some input or suggestions to an aspect of a program I am writing. I am programming a simulation of impurities in a background plasma. The background data is defined on a certain grid and ...