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 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%
+4 −1
Meta Should we disallow ChatGPT-User crawler (and others) from scraping Software Codidact?

robots.txt amounts to politely asking people to please not crawl you, so I wouldn't expect it to do much. At the same time, you might as well ask politely, to avoid giving the impression that you ...

posted 1y ago by matthewsnyder‭

Answer
66%
+2 −0
Q&A How can I build a string from smaller pieces?

+ is string concatenation and only be applied by strings. Non-string operands like numbers or class instances must be converted to strings using str(). That's all there really is to it, except Pyth...

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

Answer
66%
+2 −0
Q&A Why is git merge from rather than to?

I struggle to think of any use cases for merging from. Why was the merge command designed this way? The model here is that many developers on the same project are using branches to develop fea...

posted 1y ago by Karl Knechtel‭

Answer
66%
+4 −1
Q&A How can I build a string from smaller pieces?

Suppose I have some variables like: >>> count = 8 >>> status = 'off' I want to combine them with some hard-coded text, to get a single string like 'I have 8 cans of Spam®; b...

2 answers  ·  posted 1y ago by Karl Knechtel‭  ·  last activity 1y ago by Karl Knechtel‭

Question python string-concatenation string-formatting
66%
+2 −0
Q&A What does the w3c standard say about tabbing away from a disabled element?

I'm looking at the behaviour of Chrome and my test framework and trying to understand what the correct behaviour should be before raising an issue/ticket on one or the other (or revisiting how my t...

0 answers  ·  posted 1y ago by pureferret ‭  ·  edited 1y ago by Alexei‭

Question html standard w3c focus
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‭

Question javascript node.js event-loop async-await
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‭

Question bug status-completed tags
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‭

Question mysql database-trigger
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