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
Code Reviews C# WPF MVVM View & Get new record values

Just looking to hear some reviews on my current MVVM Implementation, If I am heading towards the right direction. :) Code BaseViewModel public class BaseViewModel : INotifyPropertyChanged { ...

1 answer  ·  posted 4y ago by gzi98‭  ·  last activity 4y ago by FoggyFinder‭

Question c# mvvm wpf
66%
+2 −0
Code Reviews C# MVVM Login Project

Things you might consider to improve your code: Use nameof instead of magic strings. Example: OnPropertyChanged("User"); can be replaced with OnPropertyChanged(nameof(User));. This allows for ...

posted 4y ago by Alexei‭

Answer
66%
+2 −0
Q&A Tampermonkey userscript prevents pages from loading

The problem here was resolved by moving the @require script inside the DOMContentLoaded listener like in this link. I think the main problem was that the interpreter was causing conflicts, since i...

posted 4y ago by Razetime‭

Answer
66%
+2 −0
Q&A Confusion about using std::async with class member function

So,I'm having a doubt when I call std:async() on a member function of a class. The book I'm reading says (emphasis mine) You can also pass a pointer to a member function to async(). In that case...

1 answer  ·  posted 4y ago by hamsasimon‭  ·  last activity 4y ago by C. K. Young‭

Question c++ multithreading
66%
+2 −0
Q&A Tampermonkey userscript prevents pages from loading

I am currently making a userscript to interpret the APL programming language in a Stackexchange chat window. This is the code I have come up with: // ==UserScript== // @name APL chat // @ver...

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

66%
+4 −1
Meta How will you balance demanding high quality questions with maximising the number of users?

Is it a bad idea to create a newcomer-only Q&A category? Not now, but after a few years. ... or not a category but you know the tabs like "Meta" and "Code Reviews?" However those are called. C...

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

Answer
66%
+2 −0
Q&A min-height for HTML form's submit buttons from a web accessibility standpoint

I am styling a simple HTML-PHP-CSS contact form and I have considered to give some min-height pixel value CSS style to the form's submit button. I ran a Google search with the query: min-height...

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

66%
+4 −1
Q&A Dye all label asterisks Red with vanilla JavaScript

I want to dye all label asterisks Red with vanilla JavaScript. CSS isn't good for this because it would dye both asterisks and colons (:) instead just the asterisks: .labelWithColonAndAsterisk:af...

2 answers  ·  posted 4y ago by deleted user  ·  edited 3y ago by deleted user

66%
+2 −0
Q&A How to separate DB query logic from the application other than implementing a repository on top of an ORM?

p.s. I'm not sure whether the criticism applies only to generic repositories or not. This applies to generic repositories as most of their operations (e.g. get entity by id, update the entity,...

posted 4y ago by Alexei‭

Answer
66%
+2 −0
Q&A How to reason about transaction isolation during development

One way to go is probably to use some kind of transaction scope to include everything (SELECT from order and INSERT into shipment) with a high enough transaction isolation (e.g. SERIALIZABLE for SQ...

posted 4y ago by Alexei‭

Answer
66%
+2 −0
Q&A What is the latest, efficient way to create a login page in JAVA?

A login page is but the tip of the iceberg. For a login page to function, you need a way to store users and their passwords, verify passwords in a safe way, prevent the login form from being bypass...

posted 4y ago by meriton‭

Answer
66%
+2 −0
Q&A How do I configure log4net from an arbitrary data structure?

I'm used to working in Python, but my current project is in C#/.NET and uses log4net for logging. Out of the box, log4net uses an XML file for configuration. I dislike XML and want to use something...

1 answer  ·  posted 4y ago by ajv‭  ·  last activity 4y ago by Peter Taylor‭

Question .net log4net
66%
+2 −0
Q&A Is it possible to disable the "mysql: [Warning] Using a password on the command line interface can be insecure" warning?

For my purposes, it is secure enough to use passwords to execute MySQL commands on the command line, what I would like to do is disable the warning that says, mysql: [Warning] Using a password on ...

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

Question mysql
66%
+2 −0
Q&A How should we share some content between two otherwise-independent git repositories?

I was discussing this problem again with some coworkers, and one of them said "QA has that problem too -- here's what we're doing about it". At its core, having everybody add lots of tests to the ...

posted 4y ago by Monica Cellio‭

Answer
66%
+2 −0
Q&A Is it possible to disable the "mysql: [Warning] Using a password on the command line interface can be insecure" warning?

There are multiple ways to do this. Just picked two that I find more usable (not very insecure or hard to do). Use a configuration file to store the credentials mysql --defaults-extra-file=/f...

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

Answer
66%
+2 −0
Q&A What are the cons of directly mocking Entity Framework DbSets instead of working with an in-memory database when unit testing the application?

I have recently contributed to a Clean Code project and had a discussion about how to implement unit tests. The project author argues for using an in-memory database (which easily replaces the rea...

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

66%
+2 −0
Q&A How to automatically run Entity Framework Core migrations for an application which uses a user with read/write rights on certain tables?

I have decided to convert a legacy database-first ASP.NET Core project to code-first. However, I have noticed that the project used the same database as another bigger project and the Entity Framew...

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

66%
+2 −0
Q&A What are the cons of directly mocking Entity Framework DbSets instead of working with an in-memory database when unit testing the application?

The problem is that you have to write code for the test doubles and its behavior. In the author's eyes that is just unnecessary complexity because the required behavior is already provided by the f...

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

Answer
66%
+4 −1
Q&A How can I write an egrep (grep -E) regexp that matches lines containing two stanzas in arbitrary order?

I have line-based data on the form x1=y2; a3=b4; c5=d6; ... Matching this with a extended regular expression is fairly straightforward; for example, one can do something not entirely dissimilar...

3 answers  ·  posted 4y ago by Canina‭  ·  last activity 4y ago by hkotsubo‭

Question regex grep
66%
+2 −0
Q&A How can I write an egrep (grep -E) regexp that matches lines containing two stanzas in arbitrary order?

Can that even be done without having to repeat either or resorting to more advanced processing than pure regular expressions I don't think it can. If you don't want to repeat x1=y2 and c5=d6, you...

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

Answer
66%
+2 −0
Meta I answered a question that was deleted, then undeleted, and my answer disappeared

Yesterday I answered this question. This morning, when I visited site, the question has disappeared, so my guess is that it was deleted. But now I saw that it was undeleted (I initially thought t...

1 answer  ·  posted 4y ago by hkotsubo‭  ·  edited 4y ago by Monica Cellio‭

66%
+2 −0
Meta Error 500 when trying to comment

I've tried to post a comment in this question, and when I clicked in "Post" button, I've got this error message: 500 Internal Server Error If you are the administrator of this website, then ple...

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

66%
+6 −2
Q&A How do I choose the correct Perl module from these variations?

Perl modules sometimes have different implementations. The ::PP suffix means it's a "Pure Perl" implementation, where portability is the goal. The ::XS suffix is for the C-based implementation, whe...

posted 4y ago by ghost-in-the-zsh‭  ·  edited 4y ago by ghost-in-the-zsh‭

Answer
66%
+2 −0
Meta Add link dialog should capture enter

This was a tricky one to diagnose, but it's fixed now. Thanks for the report.

posted 4y ago by Monica Cellio‭

Answer
66%
+2 −0
Q&A Is it possible in MySQL to require each row in a table have at least one foreign key record in a join table?

ghost-in-the-zsh‭ provided a direct answer and I will try to offer a more general complementary one. One possible thing to try is a trigger that checks the integrity, but it cannot work for insert...

posted 4y ago by Alexei‭

Answer