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.

Activity for sktpin‭

Type On... Excerpt Status Date
Comment Post #284510 I'm not sure what you are asking. Having a mechanism for calling executables seems quite nice if you want to execute, well, other executables? How would threads replace that?
(more)
about 3 years ago
Edit Post #284510 Post edited:
about 3 years ago
Comment Post #284510 I added where to look for the extra closing. As for the hint, I saw it in a similar scenario on a site I'm note sure is welcome to reference here, as, from what I gathered, this site was created for the very reason of the originators having some major beef with that other site... ;)
(more)
about 3 years ago
Edit Post #284510 Post edited:
about 3 years ago
Edit Post #284510 Post edited:
about 3 years ago
Edit Post #284510 Post edited:
about 3 years ago
Edit Post #284510 Initial revision about 3 years ago
Answer A: How kill a child process without read() hanging in the parent process?
Below is a new version of popen2() that works. Some pipe ends were not closed in the linked to original version. (see the branch for "pid != 0", where extra handles are closed - whether there is an error or not, but it's the parent process) (I also renamed the pipe variables to something more clea...
(more)
about 3 years ago
Edit Post #284481 Post edited:
about 3 years ago
Edit Post #284481 Initial revision about 3 years ago
Question How kill a child process without read() hanging in the parent process?
There is an external program I'm calling from within my C/C++ program, by using fork() and execl(), and redirecting the stdio with dup2() to be able to read the output from the external program. It's based on this code: A simple popen2 implementation In another thread just started, the timeout h...
(more)
about 3 years ago
Comment Post #280449 Stumbling on this again... Let me just add this for posteriority: generating other formats is of no use. I need both, meta info for the bootloader, and symbols for debugging, all for one session, at the same time, to be able to properly debug both, bootloader + app, using the IDE and its ways, so the...
(more)
over 3 years ago
Comment Post #281808 googling "first object oriented" vs. "first functional" programming language, there turn up Simula (1967) and LISP (late 1950's)
(more)
over 3 years ago
Edit Post #281000 Initial revision over 3 years ago
Answer A: Update list based on presence of identifier in a second list
Adding to Peter Taylor's reply: The OP requested something "more LINQ". I guess it can't get any "more linq" than... MoreLINQ! That library also has a ForEach(). If you only need that, maybe it's a bit much to use that lib, but if you like the other stuff in there, too, which I suspect... ...
(more)
over 3 years ago
Edit Post #280449 Post edited:
almost 4 years ago
Comment Post #280449 I added a section header table and some more info.
(more)
almost 4 years ago
Edit Post #280449 Post edited:
almost 4 years ago
Edit Post #280449 Post edited:
almost 4 years ago
Edit Post #280449 Initial revision almost 4 years ago
Question .elf file - What contributes to the resulting .bin file size?
I have found this nice library for parsing/writing .elf files as output by e.g. the GCC toolchain: ELFIO I have a bare metal embedded project with an ARM Cortex M target. My goal is to overwrite a certain section within the .elf file generated by the build process. One of the values I want to...
(more)
almost 4 years ago