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
 
66%
+2 −0
Q&A How do I strip file extensions from URLs with H2O?

It may be hard to find in the docs, but you can use mruby in H2O to rewrite URLs: https://h2o.examp1e.net/configure/mruby.html Unlike Apache, you can use an actual programming language to do the ...

posted 3y ago by jminer‭

Answer
66%
+2 −0
Code Reviews Measuring arithmetic overflow checking overhead in C#

Benchmarking is hard and there are a lot of potential issues with your code. I agree with Olin Lathrop that you want at least a few seconds worth of run time, not just due to the potential for a lo...

posted 3y ago by Derek Elkins‭

Answer
66%
+2 −0
Q&A Why is my last input box not centering (class: powerwall-battery-input)?

I found a form I wanted to duplicate on a roof construction website. All my input boxes are centered except the last one that's a bit off and I cannot figure out why. Here is my code: HTML <...

1 answer  ·  posted 3y ago by WannaBeAWebDev‭  ·  last activity 3y ago by meriton‭

Question html css centering
66%
+2 −0
Q&A How to check if a ldap username is valid without contacting the active directory via ldap?

I have some code connecting to an active directory via ldap. Something like this: public Response add(User user) { try { LDAPConnectionPool ldapPool = ldapConnectionPool.getPool();...

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

Question java spring-boot ldap active-directory
64%
+9 −4
Q&A Is omitting braces for single statements bad practice?

Consider this code: while(arr[index] != 0) index++; vs while(arr[index] != 0) { index++; } Personally, I prefer the first. The fact that the braces are not needed makes them -- u...

6 answers  ·  posted 4y ago by klutt‭  ·  last activity 2y ago by H_H‭

Question software-practices code-style language-agnostic
64%
+7 −3
Meta Site scope - draft proposal

I propose removing this from the off topic list System/network/server administration. I am not an expert, but I believe a lot of this has software implications. For example, a SQL AlwaysOn cluste...

posted 5y ago by James Jenkins‭  ·  last activity 5y ago by James Jenkins‭

Answer
63%
+5 −2
Meta Do we want a wiki (or similar) alongside Q&A?

Please no. I had a bad experience of SO's failed and cancelled "Documentation" project. I raised the same concerns on the Electronics site here. I'll quote that post: The worst that can happen is ...

posted 4y ago by Lundin‭

Answer
63%
+5 −2
Meta Community feedback: What type of questions can I ask here?

I propose that the following is added as off-topic: Off-topic Questions with artificial requirements and no practical use, including code golf and code obfuscation. This also covers artificial hom...

posted 4y ago by Lundin‭

Answer
63%
+5 −2
Q&A Is `git pull` dangerous?

I heard git pull is dangerous. Is it really dangerous? If so, why or how is it dangerous? Are there any flags that mitigate or remove the danger? What are the alternatives if it...

2 answers  ·  posted 10mo ago by alx‭  ·  last activity 10mo ago by alx‭

Question git
63%
+5 −2
Q&A Prevent vscode from inserting new lines in the middle of my code on format.

I am cleaning up java code in vscode to make it more readable. When I format my document there are instances when vscode inserts new line character when I don't want it. Here I show 2 examples of w...

1 answer  ·  posted 2y ago by Vanity Slug ❤️‭  ·  edited 2y ago by Vanity Slug ❤️‭

Question format vs-code
63%
+5 −2
Q&A Read all data from TCP stream in Rust

I'd like to write a TCP client in Rust that can receive the entire message sent by a server, but I have no information about the length of a message. I'm aware that TCP doesn't preserve message bo...

1 answer  ·  posted 2y ago by Matthias Braun‭  ·  edited 2y ago by Matthias Braun‭

Question rust tcp
63%
+5 −2
Meta How much research effort is expected from the asker by the community?

How much research effort is expected from the asker by the community? The kinds of research I expect varies with the question type. Before asking us ... about concepts or the meaning of wor...

posted 4y ago by meriton‭

Answer
62%
+3 −1
Q&A How do I filter an array in C?

It looks like filter() effectively takes two arguments; the array to be filtered, and a predicate expression resulting in a boolean indicating whether the entry should be included in the output or ...

posted 4y ago by Canina‭

Answer
62%
+3 −1
Q&A Are there practical reasons for designing a method-only class/object?

Are there practical reasons for designing/implementing a method(s)-only class/object? Follow-up background notes: This question is for languages that are not exclusively Object-Oriented, for exam...

3 answers  ·  posted 4y ago by CodeFarmer‭  ·  last activity 3y ago by hkotsubo‭

Question software-practices oop
62%
+3 −1
Q&A Reading contents of XML node

I'm writing some functions in C that parses a part of a XML file (using libxml), but instead of extracting the content of the XML node that has a specific name, it outputs a string that's not in UT...

0 answers  ·  posted 4y ago by southernisles‭  ·  edited 4y ago by Alexei‭

Question c xml-parsing segmentation-fault xml libxml
62%
+3 −1
Q&A PHP emails are sent when $message is a string, but not when its an array

I host my website on a CentOS-Bash, PHP and MySQL environment; my local email client is engined by Roundcube. I don't know almost anything about PHP nuances. While my web domain registration is do...

2 answers  ·  posted 4y ago by deleted user  ·  last activity 4y ago by manassehkatz‭

Question php
62%
+3 −1
Q&A Why content delivery networks often require a www. redirect?

Other than their preferred configuration options, nothing really "requires" that a particular resource be behind a particular subdomain. Content Delivery Networks (CDNs) are often just setup as sep...

posted 4y ago by ghost-in-the-zsh‭

Answer
62%
+3 −1
Q&A Is the concept of a PHP lint feasible?

When I review JavaScript files in various text editors (Visual Studio Code, Greasemonkey/Tampermonkey) I sometimes get notified about syntax errors. I never encountered this behavior with PHP file...

2 answers  ·  posted 4y ago by deleted user  ·  last activity 4y ago by nelson777‭

Question php
62%
+3 −1
Q&A Is this a known design pattern: a piece of code is responsible for acting as a central proxy for data distributed in various places?

I have several classes (C_1...C_n) and their instances (I_1....I_m). I have a "Registry" R of these. There are several pieces of data (d_1...d_k) spread across various instances. This much is set ...

1 answer  ·  posted 4y ago by peey‭  ·  last activity 4y ago by Alexei‭

Question design-patterns
62%
+3 −1
Meta Is it OK to use abusive content on code?

Yes, that particular post should be marked as abusive and the code replaced by. if(a==b){ print("We have a problem, a is equal to b") } Assuming that indeed the code is dealing with a sit...

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

Answer
62%
+3 −1
Meta Where should I ask git questions?

Questions about Git should be asked in Software Development. This is a case of bringing the question to the experts. Git is a general purpose version control system, that can be used to version an...

posted 11mo ago by matthewsnyder‭

Answer
62%
+3 −1
Meta The size of the code format window is much too small.

Seconded. This looks accidental, since the height is set to 20em, but the line-height is set to 1.5em, resulting in 20/1.5 = 13 lines being displayed. I wonder what that line-height is for? I know ...

posted 4y ago by meriton‭

Answer
62%
+3 −1
Meta Do we really need the [tools] tag?

During my review of the posts and tags, I have seen the tools tags. It is very generic and I am sure if it is helpful. What do you think?

1 answer  ·  posted 4y ago by Alexei‭  ·  last activity 4y ago by Lundin‭

Question discussion tags
62%
+3 −1
Q&A What would the pros and cons of storing the compiled CSS output of SASS in version control?

One thing to consider if you decide to store the CSS in version control is how to make sure that the CSS is always updated whenever the SASS is updated. (Of course this is true of the more general ...

posted 4y ago by r~~‭

Answer
62%
+3 −1
Q&A DST disrupting rsync twice a year

I'm facing rsync full syncs every once upon a time, I think it's because DST, notice an hour of difference: $ ls -l tier2/VIDEO-2020-06-17-15-10-27.mp4 /Volumes/KINSTON2/dat/laptop_kinstones/tier2...

1 answer  ·  posted 4y ago by .                                                .‭  ·  last activity 3y ago by .                                                .‭

Question rsync