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.6k posts
 
81%
+7 −0
Q&A Invalid memory access when trying to dereference a pointer obtained through a function call

Your function returns a pointer to a local non-static variable. Such a variable exists only during execution of the function and is removed on return. This means you are left with a so-called dangl...

posted 3y ago by celtschk‭

Answer
81%
+7 −0
Q&A Dealing with GETs with long query strings in ASP.NET Core

tl;dr Just use a POST. There's likely literally no reason not to in your situation. REST is not a standard. Being RESTful in and of itself is not a virtue. I strongly suspect that your current...

posted 3y ago by Derek Elkins‭

Answer
81%
+7 −0
Q&A Behavior of Pointer Arithmetic on the Stack

I'm able to access a, since b is below a on the stack. No, it's not! You have no guarantee in what order the compiler allocates temporary variables on the stack, and even whether it does so at al...

posted 3y ago by Olin Lathrop‭  ·  edited 3y ago by Olin Lathrop‭

Answer
81%
+7 −0
Q&A Problems with data structures and filestreams.

Notice You'll need to backpedal some! Read the answer by @r~~ above, but I expect you need some hints. This reads as either a selfstudy or schooling exercise task, so I'll stick to review + hints...

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

Answer
81%
+11 −1
Q&A Why would excluding records by creating a temporary table of their primary keys be faster than simply excluding by value?

I have two tables with millions of records. Every so often I need to join them and exclude just a handful of records where a bit(1) column is set to 1 instead of 0. I can do it with either, WHERE ...

2 answers  ·  posted 4y ago by Charlie Brumbaugh‭  ·  edited 4y ago by Alexei‭

81%
+11 −1
Meta Should we allow questions about installation and configuration of software development tools?

Generally, I would say: On-topic How to install, configure, trouble-shoot and use tools specifically meant for software development. Compilers, debuggers, IDEs and so on. Asking questions rega...

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

Answer
80%
+6 −0
Q&A How does PathData work?

The Android VectorDrawable builds upon the SVG file format. (https://developer.android.com/reference/android/graphics/drawable/VectorDrawable) android:pathData Defines path data using exactly s...

posted 3y ago by Dana‭

Answer
80%
+6 −0
Q&A How can I test my front end for accessibility to the blind?

I'd like my web front end to be accessible, including to people who use screen readers. I know the basics about labels and alt text for images, but there are some areas where I'm not sure what a s...

1 answer  ·  posted 3y ago by Monica Cellio‭  ·  last activity 3y ago by Peter Cooper Jr.‭

80%
+6 −0
Q&A Write to same file from multiple threads

Writing to the file on the HD is your massive bottleneck no matter how many threads you throw around. The limit is the physical memory access speed, not processing power. And since it is such a bot...

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

Answer
80%
+6 −0
Meta Is this a good fit for Code Reviews, and if so, how to best post it?

I've just dived into pygame and written a little game in it, of which I'd like a review (it's my first try of pygame). However I'm not sure if it is a good fit for the site, and if so, how exactly ...

2 answers  ·  posted 3y ago by celtschk‭  ·  last activity 3y ago by Peter Taylor‭

80%
+6 −0
Meta Sorting answers by score appears to be broken

This is both by design. Lundin's example is an answer link, which intentionally puts the selected answer at the top of the answer list. Because we only have two answers here, this isn't as intuiti...

posted 3y ago by luap42‭  ·  edited 3y ago by Monica Cellio‭

Answer
80%
+6 −0
Q&A How to show XML in browser?

I was searching further why it's not working properly. Then I created a CSS file. Linked that CSS to XML using the following command. <?xml-stylesheet type="text/css" href="test.css"?> Th...

posted 3y ago by Anonymous‭

Answer
80%
+6 −0
Q&A Why is it considered bad practice to use float for representing currency?

The main problem with using floating point is that the typical floating point type is binary floating point. But in binary floating point, most decimal fractions cannot be represented exactly. That...

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

Answer
80%
+6 −0
Q&A How to find out which packages target .NET 3.1 in a .NET 5 application?

After upgrading a Web application from ASP.NET Core 3.1 to ASP.NET Core 5.0, it worked fine on an existing server. However, when deployed on a server that had only .NET 5.0 installed, the applicat...

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

80%
+6 −0
Q&A Difference between puts and print for Array

The official ruby documentation explains the observed difference between the outputs of print and puts. The important bits are as follows: print For any non-string object given as argument (suc...

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

Answer
80%
+6 −0
Meta Do we need more specific up/down vote reasons for Software Development community?

The help center includes a rather generic (it's the same for all communities) article about voting. Recently a user flagged a question asking why it had received so many downvotes. While flagging ...

2 answers  ·  posted 3y ago by Alexei‭  ·  last activity 3y ago by Estela‭

Question discussion voting
80%
+6 −0
Q&A How to parse a date with more than 3 decimal digits in the fractions of second?

The solution depends on the Java version you're using. First, let's see the solution for earlier versions, that doesn't use SimpleDateFormat. Then we'll see why the problem happens and alternatives...

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

Answer
80%
+6 −0
Q&A How to parse a date with more than 3 decimal digits in the fractions of second?

I'm using SimpleDateFormat to parse a string containing a date/time, but the result has a different date, hour, minute, second and millisecond: SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM...

1 answer  ·  posted 3y ago by hkotsubo‭  ·  last activity 3y ago by hkotsubo‭

80%
+6 −0
Q&A Why does Firefox block based on a restrictive default-src directive, when more specific, more permissive *-src exist?

Each header is checked independently Having multiple Content Security Policy headers can only make it more restrictive I assume that each Content-Security-Policy: line you have is a separate CSP ...

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

Answer
80%
+6 −0
Q&A error[E0507]: cannot move out of X which is behind a shared reference.

Making a Nannou App that draws a line to the screen. My model only contains the window itself and a vector of tuples describing the points and color. Similar to this example(under Drawing Lines) ...

1 answer  ·  posted 3y ago by telefza‭  ·  last activity 3y ago by telefza‭

Question rust nannou
80%
+6 −0
Meta How much research effort is expected from the asker by the community?

Simply, there are search engines which you can find answers to your questions. Although there is Stack Overflow which answers many questions. Additionally that there is documentation and there are ...

3 answers  ·  posted 3y ago by Kevin M. Mansour‭  ·  last activity 3y ago by meriton‭

80%
+6 −0
Q&A Print value from constructor

That's because of this part of the code: Book(string aTitle, string aAuthor, int aPages){ aTitle = title; aAuthor = author; aPages = pages; } You're attibuting the properties from the cl...

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

Answer
80%
+6 −0
Q&A Strange change of object lightness and colour in Nannou application

Building a Nannou App from their template. I want a circle to slowly fade in color and randomly change color when hitting the boundary of the window. But there is something strange going on when ...

1 answer  ·  posted 3y ago by telefza‭  ·  last activity 3y ago by telefza‭

Question rust nannou
80%
+6 −0
Q&A Splitting a large HTML file into two or more HTML files without JavaScript

You can not do it with HTML only. In the past there was HTML Imports, but it is Obsolete since Chrome 73 according to MDN and deprecated in Chrome 80. You might want to use iFrame. However I have...

posted 3y ago by Kevin M. Mansour‭  ·  edited 3y ago by Kevin M. Mansour‭

Answer
80%
+6 −0
Meta "Review suggested edit" page doesn't display Markdown source correctly

I recently suggested an edit to an answer. Basically, I formatted some code, adding code fences around it: But at the "Review suggested edit" page, the differences are not clearly displayed. I...

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