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 dig -6 works but dig -4 does not

From the further details you added, it does indeed sound like you have some stale connection state on your system. The fact that you can get DNS replies when you query a DNS server by IPv4 address,...

posted 4y ago by Canina‭

Answer
66%
+2 −0
Q&A Will my implementation of a Spring Boot app work after being deployed on the Internet?

Say I want to implement a very basic group chat application. I use the H2 database, a user class, a controller, and a text file in the Resources folder that stores the chat texts. All texts would b...

1 answer  ·  posted 4y ago by sonofel‭  ·  last activity 4y ago by Moshi‭

Question java spring spring-boot
66%
+2 −0
Q&A Will my implementation of a Spring Boot app work after being deployed on the Internet?

Now of course this will directly work only within my network. But if I upload this project to Heroku or something similar, would it still work as intended? I'll assume that you actually have the ...

posted 4y ago by Moshi‭

Answer
66%
+2 −0
Q&A Highlight the maximum value per row across multiple columns

An as yet unanswered OpenOffice Calc - Highlighting the higest value in multiple columns posted by Rui on Super User from early this year asked whether a condition was possible to: fill with a c...

0 answers  ·  posted 4y ago by pnuts‭  ·  last activity 4y ago by pnuts‭

Question conditional-formatting openoffice-calc spreadsheet-formula
66%
+4 −1
Q&A Combine the first character of a cell with another cell

A Q on Stack Exchange from a very long time ago included: I have first names in one column and second names in another, I want to create a third column that contains the first character from the...

1 answer  ·  posted 4y ago by pnuts‭  ·  edited 2y ago by ArtOfCode‭

Question excel text spreadsheet-formula
66%
+2 −0
Q&A How can I assign the result of an operation from within a function to the global environment?

In order to assign a variable to the global environment from within a function, there are two ways to proceed: either using the assign operator <<- or using assign(). <<- comes with the...

posted 4y ago by Zerotime‭

Answer
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%
+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

Question javascript html validation contact-form accessibility
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 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‭

Question html css accessibility
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‭

Question entity-framework-core unit-testing dbset mocking
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‭

Question security entity-framework-core entity-framework-migrations
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‭

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

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