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
 
77%
+5 −0
Meta I comment on an answer on my question, and get this error: "New users can only comment on their own posts and on answers to them"

Raised on Codidact Meta Thanks for raising this. It turns out this affects other Codidact Communities, so it's not specific to Software Development Codidact. There's a post on the main Meta commun...

posted 6d ago by trichoplax‭

Answer
77%
+5 −0
Q&A How to keep git blame ignored commits up to date?

When I make a separate commit for code cleanup / style changes, I can suppress that commit from git blame so that I can follow a file's history easily without getting distracted by pure style chang...

1 answer  ·  posted 4mo ago by HeavyRain‭  ·  last activity 3mo ago by Alexei‭

Question git
77%
+5 −0
Q&A How do you implement polymorphism in C?

The topic of how to implement polymorphism in C tends to pop up now and then. Many programmers are used to OO design from higher level languages and supposedly OO is a "language-agnostic" way of pr...

1 answer  ·  posted 6mo ago by Lundin‭  ·  last activity 6mo ago by Lundin‭

Question c polymorphism oop inheritance
77%
+5 −0
Q&A How does the strict aliasing rule enable or prevent compiler optimizations?

Inspired by https://meta.stackoverflow.com/questions/432242, and the relevant main-space questions. I have heard that C and C++ something called the "strict aliasing rule", which means for exa...

2 answers  ·  posted 5mo ago by Karl Knechtel‭  ·  last activity 3mo ago by Lundin‭

Question c c++ undefined-behavior optimization strict-aliasing
77%
+5 −0
Meta Comparing our site scope to Stack Overflow

Some relevant history for consideration (not an answer about specific scope boundaries): When we started to discuss a programming or software community, we were concerned about premature fragmenta...

posted 5mo ago by Monica Cellio‭

Answer
77%
+5 −0
Q&A Json deserialization of enum, forbid int

I have a DTO that contains an enum field: @Getter @Setter static class Foo { Bar bar; } enum Bar { X, Y } When I deserialize a JSON, it allows int as values: var objectMapper ...

2 answers  ·  posted 6mo ago by talex‭  ·  edited 6mo ago by hkotsubo‭

Question java json jackson
77%
+5 −0
Q&A Differences between Haskell tools Stack and Cabal?

Haskell tooling can be confusing. Both Stack and Cabal appear to be build tools with similar goals. How do they differ? Why should you pick one over the other?

1 answer  ·  posted 6mo ago by Iizuki‭  ·  edited 6mo ago by Alexei‭

Question tools build haskell cabal haskell-stack
77%
+5 −0
Q&A make: How to compile all files in a directory.

I am learning how to write makefile to compile a c program. I have a directory structure like this: . ├── include │   └── library.h ├── lib │   └── library.c ├── makefile └── obj My makef...

1 answer  ·  posted 6mo ago by Vanity Slug ❤️‭  ·  last activity 6mo ago by Vanity Slug ❤️‭

Question c make
77%
+5 −0
Q&A Why does a lack of object encapsulation constitute a security breach?

In the current version of OpenJDK's JEP 401: Value Classes and Objects (Preview), it is said that value classes can leak data stored in their fields, and that this is potentially a security concern...

2 answers  ·  posted 8mo ago by Andreas demands justice for humanity‭  ·  last activity 4mo ago by LAFK‭

Question java security encapsulation
77%
+5 −0
Q&A How can I git checkout the previous HEAD?

After switching to a different branch, git checkout - can move me back to the branch I came from. This is handy for times when I wonder "wait, what was that last branch again?" But this does not w...

1 answer  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 8mo ago by hkotsubo‭

Question git
77%
+5 −0
Meta I answered a question that was deleted, then undeleted, and my answer disappeared

We rolled out a fairly major update this morning - implementing our new Abilities system. However, it... didn't go as smoothly as planned; the database apparently didn't update properly with new co...

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

Answer
77%
+5 −0
Q&A Are there best practices for sticking conditions in WHERE clauses vs the JOIN statement?

@BruceAlderman gave a good answer with different aspects that covers the most. I'm not very good at SQL, so my answer is more general. When I have to choose between two different things that are e...

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

Answer
77%
+5 −0
Meta Multiple code blocks have the code in different colors

#NotABugForOnce This is down to language guessing. If you don't tell the highlighter what language your code is in, it guesses. Sometimes, it guesses wrong, like here. I've edited the post and ad...

posted 4y ago by ArtOfCode‭

Answer
77%
+5 −0
Meta Who should the moderators be?

I nominate Alexei, who has a body of well-received posts on Q&A and meta, both asking and answering, and seems interested in helping to organize and expand this fledgling community.

posted 4y ago by Monica Cellio‭

Answer
77%
+5 −0
Q&A Search tree supporting efficient bulk sequential insert

For holding ordered sets of keys, there are well-known data structures (the red-black tree, for example) that support O(log(n)) lookup and insertion algorithms. Of course this means that there triv...

0 answers  ·  posted 4y ago by r~~‭  ·  edited 4y ago by r~~‭

Question data-structures algorithms search-trees
77%
+5 −0
Q&A Handling JSON files in Rust without manually creating mapping classes

I have JSON that looks something like this: {"id":"n-fsdf-6b6", "name":"JohnSmith", "revisionDate":1591072274000} The JSON data is named CharacterInfo. It comes from a static external URL. The str...

1 answer  ·  posted 4y ago by dustytrash‭  ·  last activity 4y ago by r~~‭

Question rust json
77%
+5 −0
Meta Community feedback: What type of questions can I ask here?

Off-topic questions about which tools, frameworks, or technologies to use, unless they are directly related to development (e.g. code, schema changes documentation tools) I propose removing thi...

posted 4y ago by r~~‭

Answer
77%
+5 −0
Q&A How does Caveat work?

One of the fonts available (to me) on Google Docs is Caveat. The following is in 18-point Caveat on Google Docs: I found that Caveat is available at https://github.com/googlefonts/caveat/tree/ma...

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

Question google-fonts fonts
77%
+5 −0
Q&A Mapping generic handler to generic query in MediatR

I am using MediatR in an ASP.NET Core 3.1 application and I want use a generic query and a generic request that deals with getting lists of some standard items I am using in drop-downs and similar:...

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

Question mediatr asp.net-core asp.net-core-3.1 generics cqrs
77%
+5 −0
Meta Asking software architecture related questions on Software Development community

These questions boil down to "what are do the people who curate the site want to maintain?" The higher the percentage of people who do that curation (and that includes closing and deleting content ...

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

Answer
77%
+5 −0
Q&A Does using an Integer have any speed/performance benefits over a string in JSON

JSON is a standard. Performance is implementation specific and dependent on what is being done with the data. The answer really depends on what your environment is. Some languages may have slight p...

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

Answer
77%
+5 −0
Meta How does the community feel about resource requests?

How does the community feel about resource requests? For example: I have been working on a project recently. By which I mean: mostly stumbling through by trial-and-error. The particular open source...

3 answers  ·  posted 4y ago by QuietEnigma‭  ·  last activity 4y ago by Lundin‭

Question discussion
77%
+5 −0
Q&A How to prompt a user for an expanded variable in Bash?

How about this for bash: #!/bin/bash echo "What is your web application root?" read web_application_root web_application_root="$(envsubst <<< "$web_application_root")" echo web_...

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

Answer
77%
+5 −0
Q&A How to match standard email addresses with regex?

I want to match standard email syntax (lowercased English, numbers and perhaps also some hyphens and underscores) with regex for a sed operation that matches and changes a single email address insi...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by hkotsubo‭

Question regex email sed
77%
+5 −0
Q&A F-bounded polymorphism, interface operators, and type inference in C#

C# language version 8.0 introduces limited support for static methods, operators, etc. in interfaces. However, there are still limitations. I was hoping to use the new language features to try a ge...

0 answers  ·  posted 4y ago by Peter Taylor‭

Question c# polymorphism type-system operator-overloading