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.3k posts
 
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 3y ago by mousetail‭  ·  edited 3y ago by Peter Taylor‭

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 3y 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 3y 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 3y ago by hkotsubo‭  ·  edited 3y ago by hkotsubo‭

Answer
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 3y ago by hkotsubo‭  ·  last activity 2y ago by Anonymous‭

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 3y ago by Kevin M. Mansour‭  ·  last activity 3y ago by Kevin M. Mansour‭

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 3y ago by Moshi‭  ·  edited 3y 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 3y ago by Alexei‭  ·  last activity 3y ago by Canina‭

Question discussion
81%
+7 −0
Code Reviews Detecting balanced parentheses in Python

The problem Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: Open brackets are closed by ...

5 answers  ·  posted 3y ago by Vinicius Brasil‭  ·  last activity 4mo ago by Dirk Herrmann‭

Question python
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 3y ago by Culyx‭  ·  edited 3y ago by Culyx‭

Answer
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 3y ago by hkotsubo‭  ·  edited 3y ago by hkotsubo‭

Answer
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 3y ago by Monica Cellio‭  ·  last activity 3y ago by hkotsubo‭

Question javascript datetime
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 3y ago by Alexei‭  ·  last activity 3y ago by FoggyFinder‭

81%
+7 −0
Meta Why do I, a logged in user, have to solve a captcha to post?

You should know I am not a bot by now ;-)

1 answer  ·  posted 3y ago by meriton‭  ·  last activity 3y ago by ArtOfCode‭

Question bug
81%
+7 −0
Q&A How to properly deal with impersonation in a Web application? (security vs. usefulness for tech support)

Context Our team has begun migrating a pretty old internal application and one aspect that got my attention is the impersonation. This is implemented as follows: only administrators are allowed...

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

81%
+7 −0
Q&A How can I find git branches where all branch-local commits are from specific people?

We have a bunch of dead branches in our git repository, and I'd like to clean them up. Ones that were merged (but not deleted at the time) are easy; we can see those in the branch list on Bitbucke...

2 answers  ·  posted 3y ago by Monica Cellio‭  ·  edited 3y ago by Alexei‭

Question git git-branch
81%
+7 −0
Q&A How can I find git branches where all branch-local commits are from specific people?

From the command line, the following command will give you a list of all authors who have made local-only commits to a branch some-branch: git log some-branch --not --remotes --format="%an" And...

posted 3y ago by r~~‭

Answer
81%
+7 −0
Q&A SQL timestamp for daylight saving day when clock goes 1 hour back.

This behaviour is documented here: "... an ambiguous timestamp that could fall on either side of a jump-back transition is assigned the UTC offset that prevailed just after the transition." S...

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

Answer
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 3y ago by Estela‭  ·  last activity 3y ago by hkotsubo‭

81%
+7 −0
Q&A Is there a problem in making Captcha an HTML builtin with an attribute setting which type of Captcha

As the comments in that thread mention, Captcha is a service, not mere software. The distinction is that Captcha are in an arms race with spammers, and must continually evolve to remain effective. ...

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

Answer
81%
+7 −0
Q&A Function call; `this` gets bound to unexpected value

I recently encountered a strange situation in javascript; if I have: let obj = { a: function() { return (this === obj) ? this.b : 'bye'; }, b: 'hello' }; I can call obj.a with this bound...

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

81%
+7 −0
Q&A How long in days is a MONTH in MySQL?

There is no fixed number of days in a MONTH interval. DATE_SUB is mostly just decrementing the number in the months position of the date provided. So DATE_SUB('2020-09-14', INTERVAL 3 MONTH) is '20...

posted 3y ago by r~~‭

Answer
81%
+7 −0
Q&A How do I customize merge behavior for a shared git repo?

I often find it useful to arrange things so that each commit on master's first-parent is a discrete change. It allows git log --first-parent --oneline to be used as a concise, automatically-generat...

1 answer  ·  posted 3y ago by ajv‭  ·  last activity 8mo ago by GrantMoyer‭

Question git git-merge
81%
+7 −0
Q&A How do I find the order that yields the shortest path?

This looks like it's a slightly restricted version of the circular dilation minimization problem in the theory of graph drawing. See, for example, https://doi.org/10.1080/00207168808803629. Specif...

posted 3y ago by r~~‭  ·  edited 3y ago by r~~‭

Answer
81%
+7 −0
Q&A How to choose backend technology for my project?

I am planning to build a "Customer Management Portal" as a hobby project using technologies like HTML,CSS,JavaScript,JAVA,JDBC,Oracle Database.The description of the portal is: 1)Customer details ...

3 answers  ·  posted 3y ago by aditya98‭  ·  last activity 3y ago by Matthewericfisher‭

Question back-end