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 Quasímodo‭

9 posts
84%
+9 −0
Q&A Vim: how to search for all instances of a string, except for those that are between two specific strings

Alternating between the two patterns seems to work! \(abc.*\)\@<!bird\|bird\(.*xyz\)\@! As a bonus, you can enable the very magic mode with \v to avoid backslashes! The resulting expression is ...

posted 2y ago by Quasímodo‭

Answer
83%
+8 −0
Q&A How to read lines into an array in Bash

1st issue As others have said, echo "$array" only prints the first element of the array; I suggest printf '%s\n' "${array[@]}" to print each element on a line. 2nd issue More importantly, th...

posted 3y ago by Quasímodo‭

Answer
81%
+7 −0
Q&A How to manage user-specific application data on Linux?

Indeed, the $HOME/.application-name is the old way. Doing that nowadays is frowned upon (this is an example of what happens if you try), mostly because, as you said, it clutters the home directory....

posted 2y ago by Quasímodo‭

Answer
81%
+7 −0
Q&A Qt Button changes drastically when setting its `border-radius`.

In a Qt application I have nothing more than a window with a button as its direct child. I set its background color and all is fine: Window::Window(QWidget *parent) : QWidget(parent) { but...

1 answer  ·  posted 2y ago by Quasímodo‭  ·  last activity 2y ago by r~~‭

Question qt css
77%
+5 −0
Q&A Warn of implicit cast in a function's arguments with GCC?

In the C program below, I make a mistake and call the function with (ld, ld) instead of (d, ld). #include <stdio.h> #include <limits.h> void print_int_long(int n, long l){ pri...

2 answers  ·  posted 3y ago by Quasímodo‭  ·  last activity 3y ago by Lundin‭

77%
+5 −0
Meta console.readline tag does not look good to me

The console.readline tag has been created for Q: How to read lines into an array in Bash, which uses a while read loop. That tag is inappropriate because Readline, the console and the read built-...

2 answers  ·  posted 3y ago by Quasímodo‭  ·  edited 3y ago by Alexei‭

77%
+5 −0
Q&A Keep local branch changes to resolve all remaining conflicts in a merge

On branch-x, I do git merge branch-y Now there are some conflicts, and git status shows Changes to be committed: new file: a new file: b Unmerged paths: (use "git a...

1 answer  ·  posted 2y ago by Quasímodo‭  ·  last activity 2y ago by Quasímodo‭

75%
+4 −0
Q&A Keep local branch changes to resolve all remaining conflicts in a merge

git checkout --ours -- * --theirs would do the opposite, i.e. keep the changes from branch-y. Don't forget to git add later!

posted 2y ago by Quasímodo‭  ·  edited 2y ago by Quasímodo‭

Answer
50%
+0 −0
Q&A What guarantees does Bash make about order of :- Parameter Expansion when it is not in POSIX mode?

The documentation seems to me to hint that WORD will be expanded whether I want it to be, or not. I don't agree, because as quoted: (1) If PARAMETER is unset or null, the expansion of WORD ...

posted 10mo ago by Quasímodo‭

Answer