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.7k posts
 
66%
+2 −0
Q&A Dealing with code maintenance when saving a large and complex entity in a single business transaction

Chain of Responsibility doesn't strike me as appropriate for this problem, at least as I understand it. You want to use CoR if you have multiple different requirements for the processing of the sam...

posted 2y ago by r~~‭

Answer
66%
+2 −0
Q&A TeamCity build variables

I want to pass a variable to TeamCity (on prem) to choose between deployment environments (there are 14 of 'em - don't ask) when running a TC deployment configuration build which uses a PowerShell ...

1 answer  ·  posted 2y ago by mcalex‭  ·  edited 2y ago by Alexei‭

66%
+2 −0
Q&A TeamCity build variables

I have created a Configuration Parameter in TC's 'Parameters' area: That can work, but from the rest of the question I think that what you actually want to do here is create an Environment Var...

posted 2y ago by Peter Taylor‭  ·  edited 2y ago by Peter Taylor‭

Answer
66%
+2 −0
Q&A Validating xsd schema that contains import from external http source in Java 11

In the example.xsd file I have an import to an external xsd file that looks like this: <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://test.example.com" ...

0 answers  ·  posted 4y ago by Janar‭  ·  edited 4y ago by Monica Cellio‭

Question java spring xsd
66%
+4 −1
Meta Meaning of the tag software practices?

Some new tag "software practices" just popped up, no wiki. What's the purpose of this tag and how is it useful? What exactly in software development is not "software practices"? Seems quite superfl...

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

Question discussion tags
66%
+2 −0
Q&A Nodejs wrap async function in synchronous function

I am writing a spoof of the fs module; the actual storage mechanism is not the the filesystem but rather a database. Overall, however, the api will function exactly like fs. So far my code is compa...

1 answer  ·  posted 4y ago by Gershy‭  ·  last activity 4y ago by Moshi‭

66%
+2 −0
Q&A How to protect the git respository for a public_html folder on a Linux server?

On a Linux server, if you leave the .git folder unprotected in the public_html folder, its possible that someone could download the folder and then gain access to your files. There are two ways I h...

2 answers  ·  posted 4y ago by Charlie Brumbaugh‭  ·  last activity 4y ago by .                                                .‭

Question git linux
66%
+2 −0
Q&A How to protect the git respository for a public_html folder on a Linux server?

If you can, have the repository locally and/or in a Git server. Use rsync to deploy updates to public_html. If the repository still needs to live in that same server, same applies (rsync, just loca...

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

Answer
66%
+2 −0
Q&A Nodejs wrap async function in synchronous function

What are my options here? Do I need to switch the module I'm using to access the db? Do I need to write C code? Or is there a really clever technique to directly solve this problem, using only nod...

posted 4y ago by Moshi‭

Answer
66%
+2 −0
Q&A In a stored procedure, is it possible to get the total number or rows updated by different statements?

This is possible in SQL Server using the built-in @@ROWCOUNT variable. Something like this DECLARE @rows INT = 0; -- INSERT ... SET @rows = @rows + @@ROWCOUNT; -- UPDATE ... SET @rows = @rows + @...

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

Answer
66%
+2 −0
Meta How can I fill in tag information?

I've just lowered the reputation requirement for both Edit and Edit Tag from 250 to 200. If folks here want it to be lower -- young communities have different needs, after all -- please make a met...

posted 4y ago by Monica Cellio‭

Answer
66%
+2 −0
Q&A Can regex be used to check if input conforms to a very strict subset of HTML?

Okay, I'll be the contrarian. For this case, yes, I think a regex-based approach can be used to validate these properties. This approach will not guarantee that the provided input is valid HTML; in...

posted 4y ago by r~~‭

Answer
66%
+2 −0
Q&A Is concatenation a logical AND?

I think your edited post merits a new answer! You're right that you can make some sort of connection between addition, concatenation, and logical ‘and’—these are all operators that can be considere...

posted 4y ago by r~~‭

Answer
66%
+2 −0
Q&A How can I reduce the size of .svn folder?

svn cleanup --vacuum-pristines can be used to clean up the pristine copies that might take a lot of space (version 1.10+). In Windows, TortoiseSVN client has the option Vacuum pristine copies to ge...

posted 4y ago by Alexei‭

Answer
66%
+2 −0
Q&A How to perform LINQ joins with multiple fields in a single join?

Note: this is an aggregate of the answer provided for this question. I want to get the LINQ equivalent of the following from SQL: SELECT .. FROM entity1 e1 JOIN entity2 e2 ON e1.field1 = e2.fie...

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

Question c# linq join
66%
+2 −0
Q&A How to perform LINQ joins with multiple fields in a single join?

The quickest way is to make an equal join on two anonymous objects: var result = from x in entity join y in entity2 on new { x.field1, x.field2 } equals new { y.field1, y.field2 } Ano...

posted 4y ago by Alexei‭

Answer
66%
+2 −0
Q&A Can regex be used to check if input conforms to a very strict subset of HTML?

Can regex be used to check if input conforms to a very strict subset of HTML? The theoretical answer is Yes. The Javascript regex language is more than powerful enough to parse a recursive gramm...

posted 4y ago by Stephen C‭  ·  edited 4y ago by Stephen C‭

Answer
66%
+2 −0
Q&A In a stored procedure, is it possible to get the total number or rows updated by different statements?

One rather complicated way to get what you want (may be extended to multiple calls of statements and/or procedures) is through usage of MySQL Row-Based Binary Logs as explained here. This allows fo...

posted 4y ago by Alexei‭

Answer
66%
+2 −0
Meta Adding a parent to a tag crashes on the server side (500)

Cross posted to Meta: https://meta.codidact.com/questions/278198 If I try to provide a parent to a tag, it crashes with 500. Error Id = 6bd06f30-539d-4b88-8743-eca32a8465cd Tag to edit = htt...

0 answers  ·  posted 4y ago by Alexei‭  ·  edited 2y ago by Monica Cellio‭

66%
+2 −0
Q&A In MySQL, is it possible to disable triggers for only certain queries or users?

Almost every table in my DB has triggers that fire on INSERT, UPDATE, DELETE and write the changes to a separate read only DB. This makes it possible to track changes and undo things well after the...

1 answer  ·  posted 4y ago by Charlie Brumbaugh‭  ·  edited 4y ago by Alexei‭

66%
+4 −1
Meta Do we want a wiki (or similar) alongside Q&A?

I hear the walk-before-we-run argument. I think this would be a good thing to try once we reach running speed, though. Personally, I don't like self-answered questions; I think they're an awkward f...

posted 4y ago by r~~‭

Answer
66%
+6 −2
Meta Give actionable feedback when closing questions

Having had the dubious honor of experiencing the closing process from the perspective of a question author, it seems to me that closing does not adequately communicate why the question was closed, ...

4 answers  ·  posted 4y ago by meriton‭  ·  last activity 4y ago by Mithical‭

Question discussion
66%
+2 −0
Meta Give actionable feedback when closing questions

We rather need to make a close reason for every kind of off-topic reason. In this specific case, the reason could for example be Purely subjective question rather than the old "primarily opinion-ba...

posted 4y ago by Lundin‭

Answer
66%
+2 −0
Meta Give actionable feedback when closing questions

To expand on my comment somewhat... In a question and answer format, personal questions like "What do you personally think?" don't tell to fare too well. There's not really any way to identify righ...

posted 4y ago by Mithical‭

Answer
66%
+2 −0
Q&A How to filter data from the view using MVVM Pattern?

I wrote quick (and somewhere dirty) example to show one of possible approaches: Add properties corresponding to each filter: private string productCode; private string productDescription; ...

posted 4y ago by FoggyFinder‭

Answer