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
Meta Why did my question get a downvote?

I believe this should be answered by the downvoters on a case by case basis. Only they know the particular reason they downvoted that particular question. I am not a fan of canned feedback, becaus...

posted 3y ago by meriton‭  ·  edited 3y ago by meriton‭

Answer
60%
+7 −4
Q&A Are there references in C?

Yes there are references and pass-by-reference in C, though the language has no explicit syntax item called "reference" like C++. In a C context, it is irrelevant that C++ happens to have something...

posted 3y ago by Lundin‭  ·  edited 3y ago by Lundin‭

Answer
60%
+1 −0
Q&A What is malloc's standard-defined behavior with respect to the amount of memory it allocates?

Here's a relevant bit from the standard (C89, section 7.20.3): The pointer returned if the allocation succeeds is suitably aligned so that it may be assigned to a pointer to any type of object...

posted 3y ago by bta‭

Answer
60%
+4 −2
Q&A Question regarding an error message in my compiler to do with my code on linked list.

Can anyone help me, I'm currently learning pointers, this is the code I wrote to try and insert a node at the beginning of the list. However at the part where I included the comment of "error at th...

1 answer  ·  posted 3y ago by hamburgersarecool‭  ·  edited 3y ago by hamburgersarecool‭

Question c pointers linked-list
60%
+1 −0
Q&A Tracking what users are searching in a content management system

Every URL served by your web site is recorded in your web server logs. You could brute-force your way through it by grepping for whatever the prefix is for your search URLs (for example, /search?q...

posted 3y ago by Monica Cellio‭

Answer
60%
+1 −0
Q&A Conditionally ignore files in git

Per man gitignore there are four sources of patterns for ignoring files. Command-line arguments are probably too much hassle; .gitignore is itself version-controlled (unless you include .gitignore ...

posted 3y ago by Peter Taylor‭

Answer
60%
+1 −0
Q&A Can I set a memory limit for the .NET Core garbage collector to collect objects more aggressively?

forcing the GC collection after each operation - this can be done using GC.Collect(), but it is not recommended to do so ...unless you have good reason. Here you have good reason. The oth...

posted 3y ago by Peter Taylor‭

Answer
60%
+1 −0
Q&A cannot initialize a variable of type 'CFDictionaryRef'

Instead of reinventing the wheel, I would use SpaceInfo, a nice little command line tool to retrieve the current space number.

posted 3y ago by samcarter‭

Answer
60%
+4 −2
Q&A Watertight Mesh Representation

A watertight mesh is one which does not have holes, and for which each face has a designated inside and outside. Such a mesh can be "tetrahedralized", has a defined volume, and can be an operand in...

0 answers  ·  posted 3y ago by Josh Hyatt‭  ·  edited 3y ago by Josh Hyatt‭

Question validation data-structures 3d cad
60%
+1 −0
Q&A Order a subcollection from linq

If you are using .NET Core 5.0 or more you should be able to write something like the following (not tested): var data = context.TblOrder .OrderBy(o => o.OrderDate) .Select(o => ne...

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

Answer
60%
+1 −0
Q&A How to set update-crypto-policies to LEGACY in Dockerfile

Hi, so I solved this issue, I first ran my container in -it mode, went to this path- etc/crypto-policies/back-ends and made following changes to these files- openssl.config- replaced "DEFAULT"...

posted 3y ago by Megan‭

Answer
60%
+1 −0
Q&A How to set update-crypto-policies to LEGACY in Dockerfile

So im trying to do RUN update-crypto-policies --set LEGACY in my Dockerfile as I was getting an error "Failed to load certificate from file 'client-rsa.pem':''ee key too small". But when I build...

2 answers  ·  posted 3y ago by Megan‭  ·  last activity 3y ago by Megan‭

Question linux docker macos devops docker-compose
60%
+1 −0
Q&A Should a salt be stored in the same database as the hash?

With bcrypt, the salt is stored in the same string as the hash. This is done so that you have everything you need to get that hash identifier if you know the password.[1] Wikipedia breaks down the ...

posted 1y ago by Michael‭

Answer
60%
+1 −0
Q&A Do the elements of 'required' array need to be defined in 'properties' dictionary in JSON schema?

According to my reading of the JSON Schema Spec, the answer is no. required array can contain elements which are not in the properties dictionary. The example schema in question seems to be valid....

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

Answer
60%
+1 −0
Q&A What is the purpose of having a wrapper class for JarFile in Spring-boot-loader?

Why does the wrapper exists and why doesn't it override close()? Apparently, this wrapper was introduced to "Attempt to fix memory leak in JarFile class". The memory leak issue was caused by a cha...

posted 1y ago by Miss Skooter‭

Answer
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 1y 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