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
 
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 4y ago by Quasímodo‭  ·  last activity 4y ago by Lundin‭

Question c gcc compiler-warnings implicit-conversion
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 4y ago by Lundin‭  ·  edited 4y 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 4y 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 4y 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 4y ago by meriton‭  ·  edited 2y 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 4y 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 4y ago by artaxerxe‭  ·  edited 1y ago by Michael‭

Question sql sql-server common-table-expression
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 4y 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 4y ago by deleted user  ·  last activity 4y ago by r~~‭

Question linux terminology unix *nix
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 4y 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 4y 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 4y 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 4y ago by hkotsubo‭  ·  edited 4y 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 4y 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 4y ago by justanotherpilgrim‭  ·  edited 4y ago by Alexei‭

Question discussion status-completed tags
77%
+5 −0
Q&A Validate All Object Properties with JSON Schema

I'm writing a JSON schema to validate asset files for a program. The JSON I need to parse is structured so: { "jobs": { "software-developer": { "job-description": "sw-dev.md:0", "pay": 800...

1 answer  ·  posted 4y ago by Josh Hyatt‭  ·  last activity 4y ago by elgonzo‭

Question json validation
77%
+5 −0
Meta Is it correct to downvote answers to bad questions?

I think there are two aspects here: What to do about offtopic questions? Being offtopic should trigger a close/flagging action. I see voting mostly related to the post quality (useful, shows some...

posted 4y ago by Alexei‭

Answer
77%
+5 −0
Code Reviews Is this HTML sanitizer safe?

Is there any disadvantage of doing it this way that I should be aware of? In general whitelisting is the best way to sanitise, but it does create important error classes, especially missing it...

posted 4y ago by Peter Taylor‭

Answer
77%
+5 −0
Q&A updating a function within a struct

You are correct in your analysis (though I would not call new_b a "parameter" but a captured variable). What you want is for the closure (anonymous function) to take responsibility for new_b and n...

posted 4y ago by Derek Elkins‭

Answer
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 4y ago by telefza‭  ·  last activity 4y 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 4y ago by Alexei‭  ·  edited 4y 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 4y ago by Alexei‭  ·  edited 4y ago by Alexei‭

Question bug tags
77%
+5 −0
Q&A Can I access an array element from a pointer to an object contiguous with but outside the array?

The problem with undefined behavior due to array out of bounds happens whenever we use pointer arithmetic, which is only defined to work within the bounds of an array. Where plain variables, "scala...

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

Answer
77%
+5 −0
Q&A What determines where the focus goes back to when clicking on a browser's back button?

As far as I can tell, it is in part determined by the HTML spec's History API1, specifically the value of history.scrollRestoration. Quoting the HTML spec's scroll restoration mode paragraph: ...

1 answer  ·  posted 1y ago by toraritte‭  ·  last activity 1y ago by toraritte‭

Question html accessibility html5-history screen-readers
77%
+5 −0
Q&A Why does RFC 3986 (URI generic syntax) declare the "host" component to be case-insensitive when the syntax rules show it to be case-sensitive?

This question probably stems from misunderstanding what case sensitivity is. Being case insensitive does not mean only allowing one case - in fact, it implies the opposite! If one case was treated ...

posted 1y ago by Moshi‭

Answer