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 DavidCary‭

Type On... Excerpt Status Date
Edit Post #295676 Initial revision 6 months ago
Question How to partially pre-process a file, without expanding #include or #embed ?
I'm debugging some "clever" macros (similar to, but not exactly the same as, X macros https://software.codidact.com/posts/293492 ). Is there a way to get a compiler or a preprocessor (such as `gcc` or `cpp` or `gpp`) to expand only "short" macros and leave "long" preprocessor stuff alone? s...
(more)
6 months ago
Edit Post #294554 Initial revision about 1 year ago
Question How do I run Python scripts on Android devices?
How do I run Python scripts on Android devices? There seem to be a bunch of different approaches; what are the advantages and disadvantages? In no particular order (and likely missing some useful tools): Kivy Python framework Termux[^py-docs] Pyodide Scripting Layer for Android ...
(more)
about 1 year ago
Edit Post #294382 Initial revision about 1 year ago
Question What is a "security protocol"? Is it the same as a "cryptographic protocol"?
What is the difference (if any) between a "security protocol" and a "cryptographic protocol"? Or are they synonyms? Some of the references I've seen -- (a), (b), (c), (d), etc. -- mention both "security protocol" and "cryptographic protocol" with no clear distinction between them. Other art...
(more)
about 1 year ago
Comment Post #287754 Going the other direction, assigning a struct pointer to a block of memory allocated much larger than that structure, is common: https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html ; https://news.ycombinator.com/item?id=11674374 . (But I realize now doesn't answer your question).
(more)
over 3 years ago
Comment Post #282566 "The default is -Wunused-result" -- https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html seems to say that -Wunused-result is already enabled by default.
(more)
almost 5 years ago