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.

Search

Advanced Search Options

To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.

Further help with searching is available in the help center.

Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5

Filters
2.6k posts
 
77%
+5 −0
Q&A updating a function within a struct

What I want: An object that contains a function that I can update after creation. I created a struct that contains a parameter b and a function(closure?) named Internal_Fn. struct MyThing { ...

1 answer  ·  posted 3y ago by telefza‭  ·  last activity 3y ago by Derek Elkins‭

Question rust lifetime
77%
+5 −0
Meta Is it correct to ask customer service-related questions?

Asking customer service-related questions is generally offtopic unless there is a connection to the software development process. Taking your examples one by one: How do I get my Facebook deve...

posted 3y ago by Alexei‭  ·  edited 3y ago by Alexei‭

Answer
77%
+5 −0
Meta Renaming a tag to an existing one fails silently

If I try to rename a tag to an existing one it silently fails. Example: trying to rename data-archiving to archiving fails with console error only: application-f4dc10c11dc65439a992f7c98cb554bfbc...

0 answers  ·  posted 3y ago by Alexei‭  ·  edited 3y ago by Alexei‭

Question bug tags
77%
+5 −0
Q&A Why is the switch statement not executing the correct case blocks?

The problem is the fallthrough behaviour of case statements. Basically, once a case's condition is met, all the others after that are also executed. Example: int x = 2; switch (x) { case 1: ...

posted 3y ago by hkotsubo‭  ·  edited 3y ago by hkotsubo‭

Answer
77%
+5 −0
Meta Is this a good fit for Code Reviews, and if so, how to best post it?

This should perhaps be a comment rather than an answer, but I want to allow people to vote to indicate agreement or disagreement. "Complete code" doesn't necessarily mean an entire project. It mea...

posted 3y ago by Peter Taylor‭

Answer
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 Is it a good idea to have a permanent branch for a feature?

Your first diagram illustrates a pattern that doesn't really make sense and most likely doesn't reflect what you're actually doing. Specifically, it illustrates a pattern where the feature branch n...

posted 3y ago by Derek Elkins‭

Answer
77%
+5 −0
Meta Is this a good fit for Code Reviews, and if so, how to best post it?

400 lines is not that big, it should be fine to post the complete program below the Code Reviews post category. I'd post it as separate code formatted blocks with one block per file indeed. A revi...

posted 3y ago by Lundin‭  ·  edited 3y ago by Lundin‭

Answer
77%
+5 −0
Meta An edit creates a new tag instead of adding correct one

Hm... there was some weird stuff with Art and me attempting to edit the post at the same time and me making changes to the tag to conform to the standard name (without the additional dash), ...

posted 3y ago by luap42‭

Answer
77%
+5 −0
Q&A How can I find git branches where all branch-local commits are from specific people?

Let's consider the following git graph. The initial commit is 1. The colors identify the authors of each commit. Orange has left the project. Green, Blue and Pink are still active. cha...

posted 3y ago by Estela‭  ·  edited 3y ago by Estela‭

Answer
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
Q&A Warn of implicit cast in a function's arguments with GCC?

You can use -Wconversion but you should be aware that it is very prone to false positives. It's a good flag to turn on during code review etc to shake out a few minor issues, but it's not a flag yo...

posted 3y ago by Lundin‭  ·  edited 3y ago by Lundin‭

Answer
77%
+5 −0
Q&A Why often times data compression causes data loss?

I understand data compression as making data structures nearer (if they are mere machine code without any abstract representation) or representing them in less and less abstract computer languages...

posted 3y ago by meriton‭

Answer
77%
+5 −0
Q&A Why often times data compression causes data loss?

Data compression uses a wide variety of tactics to reduce the storage needed for data, including (just off the top of my head): Run length encoding - e.g., store aaaaa as ax5 Tokenizing commonl...

posted 3y ago by manassehkatz‭

Answer
77%
+5 −0
Q&A Is it worth using the Java Platform Module System in application code?

Is it worth using the Java Platform Module System introduced in Java 9 to structure application code? Given that the Java Platform Module System introduced in Java 9 doesn't manage dependency vers...

1 answer  ·  posted 3y ago by meriton‭  ·  edited 1y ago by __blackjack__‭

Question java architecture
77%
+5 −0
Meta reaction isn't available

The reaction feature doesn't quite exist yet. That post is a suggestion for a future feature. It was positively received, which means we'll give it a try at some point in the future, but building ...

posted 3y ago by Mithical‭

Answer
77%
+5 −0
Q&A How to break infinite loop in CTE

I have a parent-child relation in my table, with possibly circular cases. Is it possible to break the infinite recursion in CTE checking values of all previous rows? I would need something like thi...

3 answers  ·  posted 3y ago by artaxerxe‭  ·  edited 9mo ago by Michael‭

77%
+5 −0
Q&A Write to same file from multiple threads

Because you are using Qt in particular there is something to be said for not solving this problem yourself. Instead, create a single object that owns the stream or file and offers a writeLine slot...

posted 3y ago by dmckee‭

Answer
77%
+5 −0
Q&A Is *nix a formal term?

How can one differentiate what is or is not a *nix operating system even if that operating system (or its core/shell/common-utilities) allegedly behaves like any "other" *nix operating system? Is ...

1 answer  ·  posted 3y ago by deleted user  ·  last activity 3y ago by r~~‭

77%
+5 −0
Q&A Is migrating emails from one hosting provider to another a trouble?

This is a very common problem. First some basics: There are two very different things in email: Email Server (a.k.a. hosting) This is the system that sends, receives and stores email message...

posted 3y ago by manassehkatz‭

Answer
77%
+5 −0
Meta Why do I, a logged in user, have to solve a captcha to post?

We don't actually serve any captchas: it's all done by Cloudflare. Cloudflare runs a firewall that scans incoming requests and issues a captcha challenge to any that appear to be automated or malic...

posted 3y ago by ArtOfCode‭

Answer
77%
+5 −0
Meta highlighting code

Looks like it's guessed at a language for both of those code blocks, and got it wrong. If you need a code block without syntax highlighting, you can use ```plain to start the code block.

posted 3y ago by ArtOfCode‭

Answer
77%
+5 −0
Code Reviews Detecting balanced parentheses in Python

Instead of replacing the brackets, you could do just one loop, and keep a stack with the opening brackets. Every time you find a closing bracket, check if it corresponds to the stack top: if it's n...

posted 3y ago by hkotsubo‭  ·  edited 3y ago by hkotsubo‭

Answer
77%
+5 −0
Code Reviews Counting Sundays without Python datetime module

The problem You are given the following information, but you may prefer to do some research for yourself. 1 Jan 1900 was a Monday. Thirty days has September, April, June and November. All t...

1 answer  ·  posted 3y ago by justanotherpilgrim‭  ·  edited 3y ago by hkotsubo‭

Question python date
77%
+5 −0
Meta Drupal tag is not in lowercase

The Drupal tag is not in lowercase, as all other tags are. Is this intended?

0 answers  ·  posted 3y ago by justanotherpilgrim‭  ·  edited 3y ago by Alexei‭