2,205,907 questions
Best practices
0
votes
0
replies
16
views
Tracking visited nodes when traversing datastructure
I am new to Python, reading the book "Learning Python" by Mark Lutz, https://learning-python.com/about-lp6e.html.
It mentions avoiding cycles (or repeat visits) when traversing structured ...
0
votes
0
answers
23
views
Python 3.14 annotationlib throws NameError on local factory function defaults
I am testing the new Python 3.14 annotationlib module to build a dynamic validation tool. I want to inspect annotations lazily without causing import circular dependencies.
The problem is that if my ...
-1
votes
1
answer
25
views
'NormalizedLandmark' object has no attribute 'landmark'
I have NormalizedLandmark object has no attribute landmark but can't resolved I trying convert, tuple, list.
Error Output:
Exception has occurred: AttributeError
'NormalizedLandmark' object has no ...
-2
votes
0
answers
43
views
On macOS why does an unexpected python process keep restarting?
On my Mac mini M1 with system 26.1.3 I have a python script, SoilTempMonitor.py, I want to run in background to monitor data from a thermometer device via MQTT. The MQTT broker is running on the mini....
-2
votes
0
answers
27
views
How can I reliably extract and analyze JSON-LD schema markup from competitor websites in Node.js? [closed]
I’m working on a competitive analysis tool and needed a way to extract structured data (mainly JSON-LD schema markup) from competitor websites automatically instead of manually inspecting page source ...
Best practices
0
votes
1
replies
56
views
How do I revive vibe code that was automated by Claude
Are there any recommendations from the group here? What are the best practices to have a type of quality assurance, security review, type of verification when you do vibe coding?
Context is the ...
-2
votes
0
answers
58
views
Why does set() raise 'TypeError: unhashable type: dict' when removing duplicate dictionaries? [duplicate]
I'm trying to remove duplicate dictionaries from a list while preserving the original order.
I expected the result to contain only unique dictionaries, but using set() raises an exception.
Minimal ...
-2
votes
0
answers
30
views
Cannot time travel Delta table to version 0 Available versions: 2429 ... 2513 [closed]
when I cross checked my raw table history there are some vaccum commands start and end, after resetting the checkpoints for raw layer count increased for this table, but same thing when I did to stage ...
0
votes
0
answers
58
views
video generation in blender using python scripts
I am doing a task as to import glb file and adding keyframes and animation and generate it as a video, so i was working on it, I was able to work until I add keyframes and the animation is also ...
0
votes
0
answers
50
views
Can I access variables within a user-defined function in Jupyter Lab while debugging?
In Matlab, I can easily set a breakpoint inside of a function, then Matlab's console lets me access the variables inside of the function to do whatever I want with them as can be seen in the image ...
1
vote
0
answers
46
views
How to get counts from multiple cross lines using cv2 and Ultralytics' yolo26 model
I am trying to conduct traffic analysis of an intersection by counting the number of cars entering and exiting each "arm" of the intersection. I followed ultralytics' docs to create one ...
-7
votes
1
answer
114
views
JavaScript frontend not sending data through Flask backend to MySQL database [closed]
I am getting the error in the screenshot below when I try to send data from my JavaScript front end to MySQL database through a Flask back end.
Python is ran in terminal below with no output errors.
...
-3
votes
3
answers
139
views
How to select files from list using another list in Python with loop(s) or list comprehension? [closed]
I have a list of several file names. Here is a selection:
clist[0:31]
['ACCESS-CM2.ssp245.r3i1p1f1.2045-2074.LOCA_16thdeg_exceedence_summary_2.0sd.csv',
'ACCESS-CM2.ssp245.r3i1p1f1.2045-2074....
Advice
0
votes
13
replies
147
views
clarity and guidance for oriented plan to pursue computer engineer as career path
i have just completed my first year ,
CSE core engineering , i want to pursure as my career path ,
i have basic knowledge of python , cpp,c ,java,[can write a code for a probelm in a compiler window , ...
Advice
0
votes
6
replies
117
views
How do I generate realistic-looking fake sensor data in Python?
I'm testing a data pipeline and need to simulate sensor readings (CPU %, temperature) without real hardware. My first attempt used random.uniform(). But it looks like noise.
cpu = random.uniform(0, ...
