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

7 posts
71%
+3 −0
Code Reviews Parsing numbers from a text file

This is my solution to the first task of the Advent of Code 2023. The task description is: On each line, the calibration value can be found by combining the first digit and the last digit (in t...

2 answers  ·  posted 5mo ago by GeraldS‭  ·  last activity 2mo ago by Feefladder‭

Question rust
71%
+3 −0
Q&A How can I interact with the target widget from a drop event

I'm trying to update a ListBox widget after dropping some files on it. This is the relevant part of my current code: fn on_file_drop(target: &DropTarget, value: &Value, ...

2 answers  ·  posted 4mo ago by GeraldS‭  ·  last activity 2mo ago by jmb‭

66%
+2 −0
Code Reviews PHP for simple HTML-PHP-CSS contact form --- aimed solely for RTL websites

general improvements Move everything that is directly related for the submission inside the if ... 'POST' condition. if ($_SERVER['REQUEST_METHOD'] == 'POST') { $to = 'example@example.com'; ...

posted 5mo ago by GeraldS‭

Answer
66%
+2 −0
Q&A how can I run pytest on Flask routes?

I'm trying to implement pytest for one of my Python Flask projects. The application is instanciated like this in appname.py def create_app(): app = Flask(__name__) app.config.from_pyfil...

0 answers  ·  posted 4mo ago by GeraldS‭  ·  edited 4mo ago by GeraldS‭

Question python flask pytest
60%
+1 −0
Q&A How can I create and modify a struct over iterations of a loop?

How can I have a mutable object (for example a vector) that is created inside a loop iteration and needs to be updated in later iterations of said loop? As a concrete example, consider parsing som...

2 answers  ·  posted 5mo ago by GeraldS‭  ·  last activity 4mo ago by GeraldS‭

60%
+1 −0
Q&A How can I interact with the target widget from a drop event

I managed to do this by changing my on_file_drop() function into a closure and adding the glib::clone! macro: Macro glib::clone Macro for passing variables as strong or weak references into a c...

posted 4mo ago by GeraldS‭

Answer
50%
+0 −0
Q&A How to establish a relationship between HTML elements (tags)? (i.e., how can one element refer to another one)

I wouldn't try to create another single document from this. I'd rather create one document per version, store it along with the version date and provide means to show diffs between versions. Any W...

posted 5mo ago by GeraldS‭

Answer