Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Posts by Nick Alexeev‭

4 posts
75%
+4 −0
Code Reviews A state machine in Python

I think you've got an architectural error. A state machine (SM) determines it's own actions based on it's state and the messages it may receive. The calling code may send messages (information) t...

posted 4y ago by Nick Alexeev‭  ·  edited 4y ago by Nick Alexeev‭

Answer
71%
+3 −0
Q&A Declaring a callback function in usart.h, using it in usart.c but defining it in main.c

[ rb_put(UDR0) sounds like an AVR. I'll be using STM32 in some examples, because I'm not familiar with AVRs. You were asking about about STM32 on EE.Codidact recently. ] But I have a gut feeli...

posted 8d ago by Nick Alexeev‭

Answer
71%
+3 −0
Code Reviews JSON log formatter

Some exception objects carry additional fields. For example, a subprocess.CalledProcessError() exception carries returncode, output (the stdout), stderr, etc. It’s useful information, but self.fo...

posted 11d ago by Nick Alexeev‭  ·  edited 11d ago by Nick Alexeev‭

Answer
66%
+2 −0
Q&A Concise way to capture stderr output in an exception when calling a process from Python

I’d like to call an external executable from a Python script. If it exits with a nonzero code, I’d like an exception containing the return code and the stderr output. The exception will be caught...

0 answers  ·  posted 18d ago by Nick Alexeev‭  ·  edited 16d ago by Michael‭

Question python subprocess