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
 
83%
+8 −0
Q&A How to set text-align for whole column of HTML table?

In addition to what Moshi already told you: Among web designers, W3Schools has a somewhat tainted reputation, because it often makes things simpler than they really are. In my experience, this lac...

posted 3y ago by meriton‭

Answer
83%
+8 −0
Q&A How to set text-align for whole column of HTML table?

To start off, here is the complete HTML of a simple example table: <html lang="en-US"> <head> <title>Title</title> <style> table { width: 20em; ...

2 answers  ·  posted 3y ago by Olin Lathrop‭  ·  edited 3y ago by Alexei‭

83%
+13 −1
Meta Is it OK to use abusive content on code?

"Brainfuck" is the name of a programming language; using the full name of the language is perfectly fine. We don't need to bowlderize proper names. As for your other example - foul language in cod...

posted 3y ago by Mithical‭

Answer
83%
+13 −1
Q&A Is strcpy dangerous and what should be used instead?

Summary (TL;DR) Using strcpy directly on non-sanitized user input is bad, otherwise it's fine. strncpy is a dangerous function that should be avoided. Its presence in your source is a muc...

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

Answer
83%
+8 −0
Meta Codidactyl game and code - creation process and obfuscation

I am interested in knowing how the recent Codidactyl game and its code were created and obfuscated. See the non-announcement. From other posts, it appears that luap42 and Monica Cellio may have wo...

1 answer  ·  posted 3y ago by mbomb007‭  ·  edited 2y ago by Alexei‭

83%
+8 −0
Meta How to inhibit auto link generation?

I have a post where I mention a script named dead.sh Ok... now I have two posts like that. But that is not a website. It is a filename, and not one reachable through an URL. How can I inhibit aut...

1 answer  ·  posted 3y ago by Estela‭  ·  last activity 3y ago by Moshi‭

83%
+8 −0
Meta How to inhibit auto link generation?

Method 1: <span> (or other HTML tag) It appears that Markdown isn't detected within HTML tags, so you can wrap the URL-like in a span or other tag and it won't turn into a link. <span&gt...

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

Answer
83%
+8 −0
Code Reviews Counting Sundays without Python datetime module

First of all, I've added a print in your code to show the dates: if days % 7 == 0 and current_day == 1: print(f'{current_year}-{current_month:>02}-{current_day:>02}') sundays += 1 ...

posted 3y ago by hkotsubo‭

Answer
83%
+8 −0
Code Reviews Detecting balanced parentheses in Python

Use a stack while just scanning your string once from left to right. No need for multiple (performance-wise) expensive string replacements. If implemented right, the stack will only ever contain at...

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

Answer
83%
+8 −0
Q&A Tools for debugging coredumps

For debugging running programs I often use whatever is integrated with the IDE I am using. QtDeveloper right now, but also used Eclipse, Netbeans and others. Most of them just use gdb under the hoo...

1 answer  ·  posted 3y ago by Estela‭  ·  last activity 11d ago by Invisible Mender‭

83%
+8 −0
Meta Should "Hello", "Thank you", "Morning" and similar greetings be removed from posts?

I just started to see greetings in posts like: "Hello", "Thank you", "Morning" and other types of greetings. Should this greetings be removed from posts or we just keep them? Sometimes I think th...

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

Question discussion
83%
+8 −0
Q&A What is a good modern language to use for a Business Rules project?

Caveat When making a decision of such lasting impact, you should conduct your own evaluation according to the criteria that matter to you. This post does not attempt to replace such an evaluation,...

posted 3y ago by meriton‭

Answer
83%
+8 −0
Code Reviews BMPL: The language I'll bring to life

First of all, I realize that this is mostly a library you've implemented while learning programming, for the sake of learning, which is great. So I would rather not put a "wet blanket" over your at...

posted 3y ago by Lundin‭

Answer
83%
+8 −0
Q&A constructor in C

The warnings just say that you can't pass a string literal with type char[] to a function taking a struct Book* parameter. The function should be declared as: void init_Book_types (const char* tit...

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

Answer
83%
+8 −0
Q&A Which functions in the C standard library must always be avoided?

It would seem that the C standard library is a collection of diverse functions that pretty much just ended up in the standard by tradition or "accident", rather than through some careful plan or ra...

1 answer  ·  posted 2y ago by Lundin‭  ·  last activity 2y ago by Lundin‭

83%
+8 −0
Q&A How to delete contents of a specific field, if it matches a pattern and there is nothing else in the field

How do I delete contents of a specific field, if it matches a pattern, and there is nothing else in the field? I have a several GB tsv file, and I am interested in a specific field (72). If it cont...

3 answers  ·  posted 2y ago by LVx0‭  ·  last activity 2y ago by Dirk Herrmann‭

Question awk text-processing
83%
+8 −0
Q&A Vim: how to search for all instances of a string, except for those that are between two specific strings

As @Quasímodo‭ has shown, the search pattern \(abc.*\)\@<!bird\|bird\(.*xyz\)\@! solves your problem. But, why does it work, and why does your original approach not work? What you want to achi...

posted 2y ago by Dirk Herrmann‭

Answer
83%
+8 −0
Code Reviews Solving logical puzzle with negation and undefined aspects in Prolog

Assume this trivial logic puzzle which I have made up: There are three boys, Fred, John and Max. No two of the boys have the same age. Max is older than John. Fred is not the oldest one. Quest...

0 answers  ·  posted 2y ago by Dirk Herrmann‭  ·  edited 2y ago by Dirk Herrmann‭

Question prolog
83%
+8 −0
Q&A What is [{options}] in JavaScript?

Given the link where the code comes from (based on your other question), this is just a, let's say, "free-form/pseudo-code/documentation example". It's not a valid JavaScript code. It's more like...

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

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

Since accessing the memory allocated by malloc beyond the size given to the call is undefined behaviour (which means that the standard poses no restriction to the behaviour of a program that does t...

posted 2y ago by celtschk‭  ·  edited 2y ago by elgonzo‭

Answer
83%
+8 −0
Q&A How to deeply clone an array in Angular / TypeScript?

By "deeply clone", I assume you mean "also make copies of whatever nested structures the object might have". And for those, I guess libraries like Lodash are more reliable and appropriate if you wa...

posted 2y ago by hkotsubo‭

Answer
83%
+8 −0
Q&A When stored procedures are preferred over application layer code?

There are a few reasons for wanting to move computation closer to data. One is performance, which you've mentioned. Another is security. Databases enforce their own security boundary, and data that...

posted 2y ago by r~~‭

Answer
83%
+8 −0
Meta Are general questions (hopefully resulting in comprehensive, 'canonical' answers) in scope

Co I'm a database/desktop dev venturing into programming web apps using Angular and I've been informed 'functional reactive programming' is something I should be aware of. Some other site has a ge...

3 answers  ·  posted 2y ago by mcalex‭  ·  last activity 2y ago by Monica Cellio‭

Question discussion scope
83%
+8 −0
Meta Why did my question get a downvote?

Currently, there is no consensus about whether to provide tooltips for the voting buttons (especially the downvote one). However, the community now includes quite a lot of questions that attracted ...

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

83%
+8 −0
Meta Should posting on Meta affect reputation?

When we launched this community, we did not yet have the ability to set different reputation grants for different categories. We've had this for a while but we failed to follow up before now, sorr...

1 answer  ·  posted 11mo ago by Monica Cellio‭  ·  edited 6mo ago by Monica Cellio‭

Question discussion