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
Meta Should we allow answers generated by ChatGPT?

It is a relevant but not decisive point whether ChatGPT can produce citations to back up its output (and whether the citations exist and are on point). I asked it for a citation today and got a so...

posted 2y ago by Fred Wamsley‭

Answer
66%
+2 −0
Q&A Can freed pointers undergo lvalue conversion?

p is assigned a value and then it becomes indeterminate when the pointed at object has reached the end of its lifetime (C17 6.2.4). Pointers may have trap representations (C17 6.2.6.1/5) and in ca...

posted 2y ago by Lundin‭

Answer
66%
+2 −0
Q&A Ignore NPM Modules Digital Ocean App Platform

I solved this last night and meant to come back and update, the problem is totally mine. Jest requires a package-lock.json file in GitHub actions to run. DigitalOcean App platform checks for a Do...

posted 2y ago by fausty‭  ·  edited 2y ago by fausty‭

Answer
66%
+2 −0
Q&A Input date in Angular Material date picker in dd/MM/yyyyy format

I am trying to create an application that takes a date as user input which is then passed as a parameter to an API call. The local date format is dd/MM/yyyy. I want the user to be able to enter t...

1 answer  ·  posted 3y ago by mcalex‭  ·  last activity 3y ago by tmpod‭

Question angular date-parsing angular-material
66%
+2 −0
Q&A Assert that some code is not present in the final binary, at compile or link time.

Calling an undefined function will have that behavior at link time: landmine.c: #ifndef CONSTANT #define CONSTANT 0 #endif #define assert_not_in_binary_if(e) do \ { \ if (e) \ undefi...

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

Answer
66%
+4 −1
Q&A Create a list of Niven numbers in Python

Think of what your for loop is doing, specifically at iterations 11 and 12. for i in range(1,n+2): while not g(i): i+=1;continue a.append(i) In pseudo instructions: for-loop iterati...

posted 3y ago by Moshi‭

Answer
66%
+2 −0
Q&A How to correctly daemonize a Rocket-based app?

I did not find a way to get Rocket and Daemonize to work together without problems. However, I was able to get a more recent version of start-stop-daemon installed in the system (v1.20.11), and was...

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

Answer
66%
+2 −0
Q&A How to get a default value from an assoc in Factor programming language

: at-default ( default key assoc -- value/default ) at* [ nip ] [ drop ] if ; inline 100 1 H{ { 1 2 } } at-default . 2 100 10 H{ { 1 2 } } at-default . 100 You can also just do this...

posted 3y ago by erg‭

Answer
66%
+2 −0
Meta Renaming GNU/Linux tag to gnu

All three obvious current possibilities are problematic, but for different reasons. Ignoring the matter of how to format the tag name for a moment... GNU/Linux focuses on one (admittedly very...

posted 3y ago by Canina‭

Answer
66%
+2 −0
Q&A Can UWPNuGetPackages be moved to another drive?

I'm trying to make a UWP app in Visual studio, but the NuGet package files have been huge. They just don't fit on my SSD, but I do have an HDD I could theoretically use. After a bunch of tinkering...

1 answer  ·  posted 3y ago by Ullallulloo‭  ·  last activity 7mo ago by Alexei‭

Question visual-studio nuget
66%
+2 −0
Q&A How to create a quotation containing the given token in a syntax word in Factor programming language

I am trying to define a syntax word as follows: USING: kernel syntax parser fry prettyprint ; IN: syn-try SYNTAX: syn scan-word '[ _ ] . ; Given a word, I want to create a quotation conta...

2 answers  ·  posted 3y ago by Razetime‭  ·  edited 3y ago by Alexei‭

Question syntax factor factor-quotations
66%
+2 −0
Q&A How to create a quotation containing the given token in a syntax word in Factor programming language

When you curry or fry a word into a quotation, the word is first placed into a wrapper object. This way, when the quotation is called, it places the word literal back on the stack instead of callin...

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

Answer
66%
+2 −0
Q&A EF-core Find method doesn't include other entities

What you want would be called DbSet<>.Find() combined with eager loading of the related entities. According to the docs, eager loading is not mentioned and its sole purpose is to easily get a...

posted 2y ago by Alexei‭  ·  edited 2y ago by Sylvester‭

Answer
66%
+2 −0
Q&A How to inject environment configuration values when deploying an Angular application in Kubernetes or similar infrastructure?

I'm not quite sure I see what the issue is. As far as I can tell, you could continue to do exactly what you're doing now, you'd just do the token replacement on the bundle.js when a container is pr...

posted 2y ago by Derek Elkins‭

Answer
66%
+2 −0
Q&A Python Parallel plotting and and input reading

After moving the plotting while loop in the second edit inside with context manager and declaring stop_flag as a global variable inside fetch_input it worked as expected. Lessons learned: Use m...

posted 2y ago by kek‭  ·  edited 2y ago by kek‭

Answer
66%
+2 −0
Meta Deciding if a concept can be materialized to a tag

The sole purpose of tags should be to help classify posts into what they are roughly about. Being able to easily get the broad topic of posts is obviously useful in searches, but may also be usefu...

posted 2y ago by Olin Lathrop‭

Answer
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‭

Question variable teamcity powershell
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 2y 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 2y ago by matthewsnyder‭  ·  edited 2y 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 2y 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 2y ago by Karl Knechtel‭  ·  last activity 2y 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 2y ago by pureferret ‭  ·  edited 2y ago by Alexei‭

Question html standard w3c focus
66%
+2 −0
Q&A How to easily support time frame grouping in queries?

In SQL Server 2022+, there's a dedicated binning function called DATE_BUCKET. Each of these statements increments DATE_BUCKET with a bucket width of 1 from the origin time: DECLARE @date DATETI...

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

Answer