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
 
71%
+3 −0
Q&A What are the disadvantages of using auto mapper libraries?

It's fairly obvious, but the greater the difference between the input object and the mapped output, the less valuable auto mapping becomes. The configuration and fluent syntax for the exception...

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

Answer
71%
+3 −0
Meta Reaction comment doesn't appear if previous comment for retracted reaction was deleted

On this answer I just reacted with “works for me” with comment, but then retracted it because of what finally turned out to be a mistake on my end, and deleted also the comment (and thus the commen...

1 answer  ·  posted 3y ago by celtschk‭  ·  last activity 3y ago by Monica Cellio‭

Question bug comments reactions
71%
+3 −0
Q&A How to write a macro that discards the const qualifier, for any type?

How to write a macro that discards the const qualifier, for any type? I hope some combination of typeof and a cast will do, but haven't found the combination. I tried this, without luck: #define...

2 answers  ·  posted 3y ago by alx‭  ·  last activity 2y ago by alx‭

Question c gcc macros casting const-correctness
71%
+3 −0
Q&A Explaining the result of an arithmetic expression in JavaScript

Now, (x != 42) which is false yields 0 OK so far. so I have expected to get in console "-42" No. As you say, the expression evolves: (x == 42) * -1 + (x != 42) * x (1) * -1 + (0) * x...

posted 3y ago by Olin Lathrop‭  ·  edited 3y ago by Olin Lathrop‭

Answer
71%
+3 −0
Q&A How to define custom configurations in new-style .csproj?

I decided to tackle this again via the route of creating a new solution project-by-project, and this time the configuration manager actually did something useful. Specifically, it added a property ...

posted 3y ago by Peter Taylor‭

Answer
71%
+8 −2
Q&A How to align my content to the left?

Misconception This isn't so much an issue of left/right alignment, as the browser beginning the rendering of each consecutive block wherever the content of the preceding block ends, instead of pas...

posted 3y ago by Canina‭  ·  edited 2y ago by meta user‭

Answer
71%
+3 −0
Q&A What is the difference between a decoupled, Headless and RESTful content management system?

Since you ask if a CMS necessarily must be implemented using all three, the answer clearly becomes a theoretical "no" if a CMS can be implemented with anything less than all three, and a practical ...

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

Answer
71%
+3 −0
Q&A document.open() and the DOM tree of the loaded (closed) browser window on which it works

If I execute in browser console: document.write("Hello"); A new DOM document with the text Hello appears in the same browser window. From MDN documentation: Note: Because document.write() w...

1 answer  ·  posted 3y ago by deleted user  ·  edited 3y ago by Alexei‭

Question javascript dom
71%
+3 −0
Meta Community feedback: What type of questions can I ask here?

I propose that we add the following: Off-topic Questions about code golf, programming puzzles and challenges. Please use Code Golf instead.

posted 3y ago by Lundin‭

Answer
71%
+3 −0
Q&A Disable import of Android SDK/Support Libraries

I am trying to re-build an unpacked apk, because it was unpacked the required libraries are already included, deleting the prepacked libraries would be feasible if it weren't for the fact that some...

0 answers  ·  posted 3y ago by Aidan‭

Question android android-studio gradle
71%
+3 −0
Q&A Hash sign as a path component in a user script's @match command prevents the script from running

I try to exactly match a login page in a website, for a user script manager (USM) script, which I run with Tampermonkey. This pattern didn't work: // @match https://example.com/#/login ...

1 answer  ·  posted 3y ago by deleted user  ·  edited 3y ago by Alexei‭

Question tampermonkey url-fragment user-script-manager
71%
+3 −0
Q&A Why does pushing to one array affect all the arrays in my two-dimensional array?

I was trying to initialize a simple two dimensional array as follows: const arrays = Array(3).fill([]); However, when I tried to push an entry into one of the arrays, it seems like it gets push...

1 answer  ·  posted 3y ago by Moshi‭  ·  last activity 3y ago by Moshi‭

Question javascript array
71%
+3 −0
Q&A Is `-isystem` a POSIX cc option?

Is -isystem/path/to/sys/includes a standard compiler option, or is it a compiler extension implemented by gcc, clang, and maybe other compilers? Can I rely on its availability? I couldn't find th...

1 answer  ·  posted 3y ago by alx‭  ·  last activity 3y ago by deleted user

Question compiler-options posix cc
71%
+3 −0
Q&A Move to the edit webpage of a webpage via the keyboard with vanilla JavaScript

You're getting close, just need a few adjustments. Instead of using the hostname property, I prefer to use host, because it also includes the port (in case the URL has one) - check the documentati...

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

Answer
71%
+3 −0
Code Reviews A class to access dicts using attribute syntax

It is useful sometimes, for example consider a program accepting input in the form of templates. An input of "Value: {obj.field}" is more readable than "Value: {obj['field']}". Such an examp...

posted 3y ago by luser‭

Answer
71%
+3 −0
Meta How do I search for "i++"?

It looks like the answer is "you don't", unfortunately. Because of how our search system works, the "+" character is always treated as an operator. Not that it matters, because non-word characters ...

posted 3y ago by ArtOfCode‭

Answer
71%
+3 −0
Q&A How to delete contents of a specific field, if it matches a pattern and there is nothing else in the field

For the regular expression to only match a full field of hyphens, you have, as others already have explained, to put the ^ anchor at the begin of the regular expression and the $ anchor at the end ...

posted 3y ago by Dirk Herrmann‭

Answer
71%
+3 −0
Q&A Is `-isystem` a POSIX cc option?

To use this StackExchange answer as a starting point, the latest POSIX standard does not specify a cc command at all: POSIX 1003.1-2001 (Single Unix v3) specifies c99 instead of c89, to use an u...

posted 3y ago by deleted user

Answer
71%
+3 −0
Q&A Retrieve user details from service in Angular

There are quite a few bugs there :-) Let's start with with the big one: In Angular (and most client side web frameworks) requests to the server happen asynchronously. That is, when a method does ...

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

Answer
71%
+3 −0
Q&A Retrieve user details from service in Angular

Angular 12; .NET Core 3.1 Following a code-maze tutorial, I have a working authentication (registration/login) service using .NET Core Identity. After login, I would like to add 'username' data ...

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

Question angular angular-services
71%
+3 −0
Q&A How kill a child process without read() hanging in the parent process?

Below is a new version of popen2() that works. Some pipe ends were not closed in the linked to original version. (see the branch for "pid != 0", where extra handles are closed - whether there is ...

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

Answer
71%
+3 −0
Q&A Is there any justification for having a single tempdb database to be used by all databases on a SQL Server intstances?

Despite the fact that I have programmed against SQL Server for quite a while I did not pay much attention to the tempdb database. This is especially true if application logic is mostly written usin...

1 answer  ·  posted 3y ago by Alexei‭  ·  last activity 3y ago by Derek Elkins‭

Question sql-server architecture tempdb
71%
+3 −0
Q&A Docutils rst2pseudoxml.py reported error: No role entry for "meth"

docutils's rst2pseudoxml.py is reporting this error: Unknown interpreted text role "meth". even though the build command: sphinx-build -b html -d build/doctrees source build/html runs fine and pro...

1 answer  ·  posted 3y ago by CodeFarmer‭  ·  last activity 3y ago by J-hen‭

Question python python-3 python-sphinx docutils
71%
+3 −0
Q&A What are the disadvantages of using static methods in Java?

I think I can access the static method without caring of class, isn't it? No. A static method is still a class method, and you still care about the class. The difference is that static methods...

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

Answer
71%
+3 −0
Q&A What are the disadvantages of using static methods in Java?

Is it better to use static method? I don't like to think of static (or any other language feature/mechanism) in terms of bad/worse and good/better (although I do that too, I constantly try to ...

posted 3y ago by hkotsubo‭

Answer