2,205,446 questions
Tooling
0
votes
8
replies
81
views
Is switching from C++ to Python for DSA a good decision?
I am a student of an Associate Degree Program in Web Design and Development. I am currently in my 4th semester, and my goal is to become a software engineer.
In my 2nd semester, I studied Data ...
Advice
1
vote
9
replies
75
views
Understanding json()
I have been facing the problem of understanding the meaning of json and I'm confused since I'm new I don't understand what's the difference between .json and json.
If you could explain json() simply ...
Score of 0
0 answers
32 views
CUDA-Q cudaq.kernels.uccsd fails for odd electron count on qpp-cpu and nvidia backends
cudaq.kernels.uccsd fails for odd electron counts for some active-space sizes. I am using CUDA-Q 0.14.2 with Python 3.11 for a VQE calculation. Even-electron active spaces work, but when I use the ...
Score of 2
2 answers
60 views
Python multiprocessing worker hangs only after garbage collection runs with shared memory objects
I have a Python 3.12 data processing service using multiprocessing and shared_memory. Workers process large datasets and write results into shared buffers.
The service runs correctly for several hours,...
Score of -4
2 answers
46 views
Selenium Python options.add_extension() does not load Manifest V3 extension in Chrome 150 (extension ZIP is valid). i am in windows
enter image description hereenter image description hereenter image description hereenter image description here
I'm trying to load a dynamically generated Manifest V3 extension in Chrome using ...
Score of -6
0 answers
53 views
How can I configure IntelliJ to write Python code? [closed]
I'm trying to set up IntelliJ IDEA 2024.3 (Community Edition) on Windows 11 to write and run Python code.
I installed the Python plugin via Settings > Plugins > Marketplace, and restarted ...
Advice
0
votes
2
replies
86
views
Pros, what y’all think about this roadmap from AI?
I’m kinda new to this coding stuff; spent like a year at this teen IT academy doing only C#, but I do get the basic programming vibes. Then I started getting into cybersecurity on my own and the whole ...
Score of 3
2 answers
69 views
Asyncio worker silently stops updating shared state after exception handling
I have a Python 3.12 asyncio service with long-running workers that update a shared cache. Occasionally, after a temporary API failure, a worker prints the recovery message but stops updating the ...
Score of 1
0 answers
32 views
How can I make sure flush() has completed before creating a Milvus snapshot with PyMilvus?
I am trying to add Milvus snapshots to a small backup workflow that runs after a batch ingestion job.
I read the Milvus snapshot docs and found that snapshots are point-in-time images. The docs also ...
Advice
0
votes
2
replies
61
views
Python concepts for 'AI-ML projects' and 'OpenSource Contribution'
I'm interested in learning python and I'd like to know what are the exact concepts and frameworks of Python being used, so that I can learn them and practice to get better, and make projects related ...
Score of 2
1 answer
57 views
Previous page's custom HTML persists during page transition
I have a Streamlit (v1.30+, Python 3.10+) multi-page dashboard with custom page routing using st.radio() in the sidebar. When transitioning from page_heavy (which contains heavy custom HTML via st....
Advice
0
votes
2
replies
54
views
Should I remove records where pickup and dropoff locations are the same when cleaning the NYC Taxi dataset?
I'm working with the NYC Yellow Taxi Trip Records dataset using PySpark as part of a data engineering learning project.
During data cleaning, I noticed that some records have the same pickup and ...
Best practices
0
votes
7
replies
119
views
How to turn a split string into multiple dictionary keys?
I'm trying to make a read_file() function that takes in a filepath ("/test1/test2") and returns its contents from its place in a nested dictionary. (dict["test1"]["data"][...
Best practices
0
votes
1
replies
61
views
How can I build an AI automation workflow that extracts email data, stores it in a CRM, sends follow-up messages without creating duplicate records?
I am building an AI automation service for a client using a workflow automation platform. I work at CSG Technosol Pvt Ltd. The goal is to automate lead management by processing incoming emails, ...
Score of -2
1 answer
119 views
Encoding detected wrong, reading fails [closed]
I want to read CSV files with a German encoding saved by Windows.
I try to detect the encoding with this code:
# detect encoding
with open(impportFile, "rb") as f:
...