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
 
81%
+7 −0
Q&A SQL timestamp for daylight saving day when clock goes 1 hour back.

On 25th October 2020 in Europe/Berlin clocks where set back from 03:00 AM to 02:00 AM to change from summer time (CEDT) to winter time (CET). Which means there is a 1 hour separation between 02:30...

1 answer  ·  posted 4y ago by Estela‭  ·  last activity 4y ago by hkotsubo‭

Question sql timestamps postgresql datetime timezone
81%
+7 −0
Meta Enable syntax highlighting for D language

According to this answer, Codidact uses highlight.js for syntax highlight, and "support whatever languages are enabled by default in that package". And according to this table (in highlight.js Git...

0 answers  ·  posted 4y ago by hkotsubo‭  ·  last activity 3y ago by Anonymous‭

Question support status-deferred syntax-highlighting
81%
+7 −0
Q&A What's the difference between placing <script> in the <head> and placing in the <body>?

While learning JavaScript, I started to see sometimes the <script> is placed in the <head> and sometimes it is placed in the <body>, What's difference between placing the <scri...

1 answer  ·  posted 4y ago by Kevin M. Mansour‭  ·  last activity 4y ago by Kevin M. Mansour‭

Question javascript html performance
81%
+7 −0
Q&A What's the difference between =, == and === operators in JavaScript?

Assignment = = is the assignment operator. There's nothing much to say here. Abstract Equality == == is abstract equality - it will attempt to perform a type conversion before evaluating equalit...

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

Answer
81%
+7 −0
Meta Using Software Codidact as a private community within a company

Short version As you probably know SO offers Stack Overflow for Teams as a product for a knowledge management tool for private use (private teams). I am wondering if it is possible for Codidact t...

1 answer  ·  posted 4y ago by Alexei‭  ·  last activity 4y ago by Canina‭

Question discussion
81%
+7 −0
Code Reviews Is this HTML sanitizer safe?

I wrote this HTML sanitizer for use in web scraping. The idea is to safely copy content from a site but apply my own style-sheet and remove any unsafe elements. This whitelist approach seems very d...

1 answer  ·  posted 4y ago by mousetail‭  ·  edited 4y ago by Peter Taylor‭

Question javascript web-scraping
81%
+7 −0
Meta How much research effort is expected from the asker by the community?

There are multiple questions/aspects in your posts, so I will go one by one: Stack Overflow which answers many questions While this is true, for many questions SO has an important drawback. I...

posted 4y ago by Alexei‭

Answer
81%
+7 −0
Q&A Find the name of the student with the top mark, display their name and mark

That's nice that you're provided your attempts but, as it was already mentioned in comments, it would be better to show us all the parts. Again, if you're not sure how to write it properly in C# th...

posted 4y ago by FoggyFinder‭

Answer
81%
+7 −0
Q&A Accessibility standard/s for multilined <input type="text"> fields

The standard for multi-line text input is to use a textarea. Don't use input type="text", it won't work. I'm not sure why you don't want to use a textarea, but after reading this answer, I hope you...

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

Answer
81%
+7 −0
Meta Can we migrate office suite related questions to the Power Users community?

Power Users has just been launched and I remember that Software Development has some content related to office suite usage (example). Is it OK to migrate these questions to the Power Users communi...

3 answers  ·  posted 4y ago by Alexei‭  ·  last activity 4y ago by FoggyFinder‭

Question discussion content-migration
81%
+7 −0
Q&A Why is this client code getting the wrong date for a few hours a day?

Our web site has a widget that displays some date-based information that we retrieve from some JSON-formatted data (one object per date). We get the current date from the environment, possibly adj...

2 answers  ·  posted 4y ago by Monica Cellio‭  ·  last activity 4y ago by hkotsubo‭

Question javascript datetime
81%
+7 −0
Q&A Why is this client code getting the wrong date for a few hours a day?

First of all, we need to understand what a JavaScript Date actually is. And surprisingly, it's not exactly a date (at least not in terms of having unique values for day, month, year, hour, minute a...

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

Answer
81%
+7 −0
Q&A Modern CSS for splitting form sections into columns

A simple way to deal with this is flex, wrap your 3 columns in a flex container: <div class="container"> <div class="formField"></div> <div class="formField"><...

posted 4y ago by Culyx‭  ·  edited 4y ago by Culyx‭

Answer
81%
+7 −0
Q&A Are "strong passwords" at all meaningful?

NIST Special Publication 800-63 says that "strong" password requirements are not only useless but counterproductive. They recommend only a minimum length requirement and a small blacklist of common...

posted 1y ago by Kevin Krumwiede‭

Answer
81%
+7 −0
Q&A Git apply vs git am

What are the differences between git apply and git am commands? Both seem to be used for applying patches to repositories. When should one be used over the other?

1 answer  ·  posted 1y ago by Iizuki‭  ·  last activity 10mo ago by Michael‭

Question git
81%
+7 −0
Q&A Git apply vs git am

Each of them has an analog to another Git command. But instead of objects in the repository, these take text file(s) created either by you or someone else. git apply Think of this as Applying a g...

posted 1y ago by Michael‭  ·  edited 10mo ago by Michael‭

Answer
81%
+7 −0
Q&A What is the point of triggering CI/CD with an empty git commit?

I read posts (e.g., 1, 2, 3) that recommend triggering a CI build process by pushing an empty git commit. I don't understand how this is a good idea as the commit history will be peppered with mea...

3 answers  ·  posted 1y ago by toraritte‭  ·  last activity 1y ago by matthewsnyder‭

Question git ci/cd
81%
+7 −0
Q&A Git add/stage only part of a file's changes

Say I've made a bunch of changes to a file and would like to split those changes into two or more commits. Normal git add however stages the whole file in one go. So how to add only some of the ch...

1 answer  ·  posted 1y ago by Iizuki‭  ·  last activity 1y ago by Iizuki‭

Question git
81%
+7 −0
Q&A How to delete a remote branch in git?

The other answer already provides the more straighforward solution (push with --delete option). But there's an older syntax that also works: git push <remote-name> :<branch-name> N...

posted 1y ago by hkotsubo‭

Answer
81%
+7 −0
Q&A Understanding mutable default arguments in Python

Terminology "Mutable default argument" means exactly what the individual words would suggest: it's an argument which is supplied as the default value for that parameter, which also is mutable. To ...

posted 1y ago by Karl Knechtel‭  ·  edited 1y ago by Karl Knechtel‭

Answer
81%
+7 −0
Q&A How to revert main branch to an earlier commit in git?

How to move the main branch back to an earlier commit in git?

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

Question git
81%
+7 −0
Q&A How to revert main branch to an earlier commit in git?

With git reset, but first, you may want to save the current state in another branch: $ git switch main $ git branch backup-of-main Now the (perhaps messed up) state is safely stored in branch ...

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

Answer
81%
+7 −0
Q&A How do I remove an element from a Java array?

Arrays in Java are created with a fixed length, which cannot be changed in its lifetime. The only way to really change the length of the array is to create a new array with the intended length and ...

posted 1y ago by E_net4‭

Answer
81%
+7 −0
Q&A 2D-array pointer as a struct member

I have an array of struct: static struct basket baskets[MAX_ITEMLEN + 1]; struct basket { char *items; // malloc(itemlen * itemcount) int itemcount; }; char *items does all I nee...

3 answers  ·  posted 4mo ago by wasIzy‭  ·  last activity 3mo ago by wasIzy‭

Question c array
81%
+7 −0
Q&A Is it possible to query all known domains from a DNS server?

Normally you ask a DNS server to resolve a domain like example.org to the corresponding IP address. The server either knows the answer right off the bat (cached or authoritative), or where it might...

0 answers  ·  posted 11d ago by Iizuki‭  ·  last activity 6d ago by Mithical‭

Question dns