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
 
60%
+1 −0
Q&A MongoDB Java Morphia case insensitive criteria query?

So I googled some on how to make a case insensitive criteria query but could not find the solution very easily. So I basically have code that looks like this: ... query.criteria("fieldName").con...

1 answer  ·  posted 1y ago by propatience‭  ·  edited 1y ago by propatience‭

Question java mongodb morphia case-insensitive
60%
+4 −2
Q&A What happens when you “Sign in with Google”?

I believe when you sign in with Google, the web application running in your browser calls a command to request the Google Sign In page, and includes a “callback URL” as a parameter in that HTTP req...

0 answers  ·  posted 1y ago by Julius H.‭  ·  edited 1y ago by Julius H.‭

Question devise single-sign-on
60%
+1 −0
Q&A MongoDB Java Morphia case insensitive criteria query?

I realized myself what I should do: ... query.criteria("fieldName").containsIgnoreCase("regex"), ... Also mentioned here: https://github.com/MorphiaOrg/morphia/issues/832

posted 1y ago by propatience‭

Answer
60%
+1 −0
Q&A Can Swashbuckle.AspNetCore generate exclusiveMinimum validation?

Is there a way to make Swashbuckle.AspNetCore generate a Swagger exclusiveMinimum range validation for a model property? There doesn't seem to be any way to do this with the attributes recognized ...

1 answer  ·  posted 1y ago by Kevin Krumwiede‭  ·  last activity 1y ago by Kevin Krumwiede‭

Question swagger swashbuckle-aspnetcore
60%
+1 −0
Q&A How to hide files from the VS Code sidebar without pattern matching?

I want to clear my view of my file explorer sidebar in VS Code, and just see a few files I want to focus on. Is there an easy way to do this, using the mouse, and not file hiding using pattern mat...

2 answers  ·  posted 1y ago by Julius H.‭  ·  last activity 12mo ago by Monica Cellio‭

Question vs-code
60%
+1 −0
Q&A Method not found when emitting a custom signal, but the game seems to work when played.

My solution was to carefully disconnect every signal from every node involved, then re-implement and reconnect each signal. Now it works with no error.

posted 1y ago by TecBrat‭

Answer
60%
+1 −0
Q&A Drop-down values in Excel cells are not specified in Data Validation rules and global search didn't find them in workbook, so where do they come from?

On top of values seemingly coming from nowhere in multiple columns, they also affect each other's behavior: In the GIF below, if the cells in the left column have no value selected, then there is n...

1 answer  ·  posted 1y ago by toraritte‭  ·  edited 1y ago by toraritte‭

Question excel spreadsheet-formula
60%
+1 −0
Q&A How to automatically add package reference into project file after installing .NET package?

Once the package is installed (either with nuget or paket), I have to manually add a reference to the project file (either by editing it directly or with dotnet add package). You don't have to...

posted 1y ago by FoggyFinder‭  ·  edited 1y ago by toraritte‭

Answer
60%
+1 −0
Q&A Ghidra decompiler: c_str() used in phantom string?

Maybe Ghidra's decompiler can't handle C++ syntax that well. In that case one has to fallback to assembly in the listing view. Leading to the c_str() call is 00102b51 e8 8a f7 CALL ...

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

Answer
60%
+1 −0
Q&A How to programmatically evaluate Excel data validations using .NET?

0. State of the art (as 11/22/2023) The NPOI.SS.Formula.DataValidationEvaluator class seems to mirror Apache POI's DataValidationEvaluator class, but NPOI's version only implemented the IsType met...

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

Answer
60%
+1 −0
Q&A Is it possible to re-export types similar to JS?

I have not found a way of doing what I asked for in the question. However, from looking at Microsoft.Extensions.[...] packages, it seems .NET follows a different approach: For ease of developme...

posted 1y ago by raphaelschmitz‭

Answer
60%
+1 −0
Q&A How do I register the Chart.js Zoom plugin?

I am attempting to use the chartjs-zoom-plugin v2.0.1 with Chart.js v4.4.0. I have the plugin as the file chartjs-plugin-zoom-2.0.1.min.js, and I have imported it into my page using <script ty...

1 answer  ·  posted 1y ago by CavanWright‭  ·  last activity 1y ago by surajrao‭

Question chart.js
60%
+1 −0
Q&A What software architecture are available for developing an application with multiple business domains that only share some common aspects?

Important note: this is primarily based on personal fairly long experience with monolithic architectures and limited microservice-based architecture combined with others' experience with microservi...

posted 1y ago by Alexei‭

Answer
60%
+1 −0
Q&A What software architecture are available for developing an application with multiple business domains that only share some common aspects?

If I ignore the example and answer the title generally: You would put the common logic into a third piece of software that becomes the dependency of both domains. For example, let's say you are wr...

posted 1y ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A Command to format code from repo into single markdown file

I'm trying to flatten a repository of Python code into a Markdown file where each file is formatted like: relative/path/to/file1.py # contents of file1.py I'm using this command: find . -name...

2 answers  ·  posted 1y ago by ShadowsRanger‭  ·  last activity 1y ago by Michael‭

Question bash
60%
+1 −0
Q&A Using an existing web server vs writing your own

Is this project a web server? Or a web application? The people who have made nginx, apache, etc.. Are building web servers. 100% of their effort on those projects goes towards making the web serv...

posted 1y ago by questor‭

Answer
60%
+1 −0
Q&A Using an existing web server vs writing your own

A related approach is to extend or customize an existing open source web server or web library. If you can code in C or C++ (on Linux), consider writing your web server software above libonion (it...

posted 1y ago by Basile Starynkevitch‭  ·  edited 1y ago by Basile Starynkevitch‭

Answer
60%
+1 −0
Q&A How do I register the Chart.js Zoom plugin?

Once you have added the scripts: <script src="path/to/chartjs/dist/chart.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/hammerjs@2.0.8hammerjs@2.0.8"></script&gt...

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

Answer
60%
+1 −0
Q&A Ghidra decompiler: c_str() used in phantom string?

I loaded a binary into Ghidra for analysis. The decompiler says undefined8 main(void) { basic_ostream *pbVar1; char *pcVar2; [--snip--] pbVar1 = std::operator<<(pbVar1,"PXZ ");...

1 answer  ·  posted 1y ago by nteodosio‭  ·  edited 1y ago by Alexei‭

Question c++ ghidra
60%
+1 −0
Q&A Why is global evil?

A global variable or object is in scope everywhere. That means it's possible to modify it from any part of your program. Imagine a mature program, made up of thousands of lines of code and dozens ...

posted 1y ago by matthewsnyder‭

Answer
60%
+1 −0
Code Reviews GnuTLS config for my own root CA, for use on internal server

For future readers - based on input from Michael, and some research that was spurred by that improved version, this is the final config I arrived at: # https://gnutls.org/manual/html_node/certtool...

posted 1y ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A How to merge Django model query results?

Just found the How Can I Combine Two or More QuerySets in a Django View? article by James W. that perfectly answers my question (and just learned that a "Django model query" is called a QuerySet). ...

posted 1y ago by toraritte‭

Answer
60%
+1 −0
Q&A PHP - Why using "global" considered bad?

Nothing in particular will go wrong. global is a valid and supported keyword, the code will work. There is no problem for the computer. The problem is for you. When something is global, it could b...

posted 1y ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A Convert Synapse SQL Server hex `sid` to Azure Entra group object ID.

Suppose I have an Azure Synapse Serverless SQL database. I can run the following to get the sid of added groups: select name, type_desc, authentication_type_desc, sid from sys.database_principal...

0 answers  ·  posted 1y ago by daviewales‭

Question sql-server azure azure-synapse
60%
+1 −0
Q&A Images won't fit flex container on chrome

#3: I still don't know what exactly is going on, but experimenting today, I found a workaround at least: align-items: normal; on the container and object-fit: scale-down; on the image. Due to the...

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

Answer