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
 
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 11mo 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 11mo 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 10mo 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 11mo 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 11mo ago by daviewales‭

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 11mo ago by martixy‭  ·  edited 11mo ago by martixy‭

Answer
60%
+1 −0
Q&A How can one import two classes with the same name in Java8?

Elaborating with an example: Java doesn't allow imports to aliased (not currently), to my knowledge. The current standard is writing out the fully-qualified name: ClassA.java: package com.fol...

posted 11mo ago by tylerbakeman‭  ·  edited 11mo ago by Michael‭

Answer
60%
+1 −0
Code Reviews Message consumption with priorities and consumer error handling using EasyNetQ library

Context I was tasked with developing a way to consume RabbitMQ messages that have various priorities (actually different levels of QoS). My restrictions are: high priority messages should have ...

0 answers  ·  posted 11mo ago by Alexei‭  ·  edited 11mo ago by Alexei‭

60%
+1 −0
Q&A Tidy Ansible assert module loop output

Use the quiet parameter: - name: Assertions ansible.builtin.assert: that: - item quiet: true loop: "{{ loop_items }}" vars: loop_items: - true - true ...

posted 1y ago by Iizuki‭

Answer
60%
+1 −0
Q&A Listen for key events in a CLI app

First of all, the standard keystroke for interrupting a CLI program would be ctrl + C or whatever the windows equivalent is. Therefore, you will get the most consistent user experience if you use ...

posted 1y ago by mr Tsjolder‭  ·  edited 1y ago by mr Tsjolder‭

Answer
60%
+1 −0
Q&A Tidy Ansible assert module loop output

Looping in Ansible usually produces a neat output of one line per iteration (per host): ... ok: [Arch] => (item=something) ok: [Arch] => (item=something_else) ok: [Arch] => (item=yet_a...

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

Question ansible
60%
+1 −0
Q&A Android Studio "not showing null elements" in unit tests.

This is a default setting in Android Studio. You can change it in the Settings. In the File menu, select Settings, then choose "Build, Execution, Deployment". Here, you select the submenu "Debugg...

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

Answer
60%
+1 −0
Meta How should I organize material about text encoding in Python into questions?

Here is my current thinking on the matter. Regarding questions/facets that are "two sides of the same coin" - encoding vs decoding the data, reading vs. writing files - I think they should be ...

posted 1y ago by Karl Knechtel‭

Answer