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
 
80%
+6 −0
Q&A How can I make --reset-author the default?

You should be able to alias the string to something short. For example, I have git config --global alias.a 'add .' git config --global alias.ci commit and so instead of git add . git commi...

posted 4y ago by Charlie Brumbaugh‭

Answer
80%
+6 −0
Q&A Dye all label asterisks Red with vanilla JavaScript

In HTML, style information is applied to elements; it can't be applied to individual characters in a text node. Therefore, if you want to style the * differently, it needs a dedicated element. You...

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

Answer
80%
+6 −0
Q&A How to read lines into an array in Bash

I wish to fill an array with strings, using Bash scripting. The strings are in a file, one per line. Here is what I've tried: declare -a my_array=() while read line; do my_array+=( "$line"...

3 answers  ·  posted 4y ago by LVx0‭  ·  edited 3y ago by Alexei‭

Question array bash console stdin
80%
+6 −0
Q&A Is `uint8_t` always an alias for a character type if it exists?

Yes, it is in practice always a character type and you can safely assume as much, both in terms of (g)lvalue access and in terms of strict pointer aliasing. If not, the compiler would soon render i...

posted 4y ago by Lundin‭

Answer
80%
+6 −0
Q&A Update list based on presence of identifier in a second list

If you want to be more Linq-like without creating a ForEach method: vehicles = vehicles .Select( v => new Vehicle { Make = v.Make, ...

posted 4y ago by Andrew Shepherd‭  ·  edited 4y ago by Andrew Shepherd‭

Answer
80%
+6 −0
Q&A Python Regex to parse multiple "word. word. word."

As @ArtOfCode mentioned, it is not fully clear what you are trying to match. From the first line in your post, you are trying to extract THIS. THAT. out of THIS. THAT..OTHER . The following regex ...

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

Answer
80%
+6 −0
Q&A Python Regex to parse multiple "word. word. word."

I'm trying to parse lines like "THIS. THAT..OTHER " so that "THIS. THAT." is found. There can be more than one <word><dot> separated by a space except no space after the last one. ...

2 answers  ·  posted 4y ago by CodeFarmer‭  ·  last activity 3y ago by hkotsubo‭

Question python regex
80%
+6 −0
Q&A How to match standard email addresses with regex?

Matching a valid email address can be as complicated as you want it to be. If you want to be compliant with RFC 5322, the regex will be a monster (see below). But if you want a subset of it, with...

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

Answer
80%
+6 −0
Q&A Interpreted language: What is its benefit for being written in that way ?

Whenever I search in google why a specific language is interpreted language, I get differences between compiled languages and interpreted languages but nowhere the benefit for being interpreted rat...

3 answers  ·  posted 4y ago by aditya98‭  ·  last activity 4y ago by Olin Lathrop‭

Question interpreted-language compiled-language
80%
+6 −0
Q&A Interpreted language: What is its benefit for being written in that way ?

Interpreters are easier to write than compilers. For this reason esoteric and toy languages are often implemented by interpretation. But the dichotomy between interpreted and compiled languages is...

posted 4y ago by Peter Taylor‭

Answer
80%
+6 −0
Q&A Is migrating emails from one hosting provider to another a trouble?

I rent a shared-hosting environment with CentOS-Bash, Apache, PHP, MySQL and a web-based IMAP email client (Roundcube) and some more tools, on which I host my personal website; I don't have Cpanel...

1 answer  ·  posted 4y ago by deleted user  ·  edited 1y ago by Alexei‭

Question database email data-migration stability
80%
+6 −0
Q&A Is it correct to run code inside a method whose object has been destroyed?

Yes, it's correct. An object's methods aren't things that exist in memory with the object. They're in a completely separate section of memory, and a method exists exactly once regardless of whethe...

posted 4y ago by Hyperlynx‭

Answer
80%
+6 −0
Meta Cannot close a question as a duplicate due to "Invalid input for other post" error

Codidact doesn't support cross-community duplicates, like closing a question in a per-community meta category as a duplicate of a question on main Meta. However, our messaging there could be, uh, ...

posted 4y ago by Monica Cellio‭

Answer
80%
+6 −0
Q&A What is the meaning of "short circuit" operators?

When reading about various operators used by programming languages, the term "short circuit behavior" is often used. For example in this C code: int a = 0; a && b++ Someone explained t...

2 answers  ·  posted 1y ago by Lundin‭  ·  last activity 1y ago by matthewsnyder‭

Question c order-of-evaluation language-agnostic operators
80%
+6 −0
Q&A How do I properly render a quad in OpenGL using a GL_TRIANGLE_STRIP primitive?

It looks like your vertexSizeBytes stride variable doesn't include uvSize. To figure things like this out, use this kind of logic: The shape of the image isn't a square, so something is wrong wit...

posted 1y ago by djm‭

Answer
80%
+6 −0
Q&A What is the difference between hashing and encryption?

What specific algorithm makes it possible to scramble data into an unrecoverable form, yet still be usable for its intended purpose? It isn't any one specific algorithm. There are many differe...

posted 1y ago by manassehkatz‭

Answer
80%
+6 −0
Q&A What is the point of pipx?

They are tools for different audiences. pipx does not replace pip. In some more detail, pip answers the question "As a Python developer, how can I install Python packages and their dependencies" w...

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

Answer
80%
+6 −0
Q&A Is it okay to use python operators for tensorflow tensors?

No, you can't use and for this. In Python, a and b always, always, always means b if a else a. It cannot be overridden and cannot mean anything else. Likewise not, and any other boolean keywords, ...

posted 1y ago by r~~‭

Answer
80%
+6 −0
Q&A Name for host + path (parts of a URL)

Among other things, a URL consists of a host and a path: I was wondering (and couldn't find anything) if there's a name for the combination of host and path. Is there a name for these: examp...

1 answer  ·  posted 1y ago by Matthias Braun‭  ·  edited 1y ago by Matthias Braun‭

Question url
80%
+6 −0
Meta How should I organize material about text encoding in Python into questions?

I want to write one or more self-answered Q&As on the topic of text encoding in Python, to serve as canonicals and preempt future lower-quality questions. I can think of the following things th...

3 answers  ·  posted 1y ago by Karl Knechtel‭  ·  last activity 1y ago by Karl Knechtel‭

Question discussion scope content-quality
80%
+6 −0
Q&A How can I properly type-hint methods in different files that would lead to circular imports?

Import modules rather than names first to avoid a circular reference in the import statements; then use forward declarations, as before, to avoid a circular reference in the type annotations - like...

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

Answer
80%
+6 −0
Meta Email alerts for notifications

This feature has not yet been implemented. However, there is a feature request on Codidact Meta that requests it for all communities. You (and anyone else who would like to see this) can add your ...

posted 1y ago by trichoplax‭

Answer
80%
+6 −0
Q&A What is a reasonable minimum for making a FOSS project inviting to contributors?

I don't actually know the answer to this, but I'll post a provisional one while we wait for someone wiser than me to chime in. I think this is a small subset of the real answer. Don't forget the...

posted 1y ago by matthewsnyder‭

Answer
80%
+6 −0
Meta Is software system design on topic here?

Is software system design on topic for the software development site? For what I mean by system design, consider the "system design interview" commonly held these days when recruiting software eng...

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

Question discussion scope
80%
+6 −0
Meta Don't close questions for lack of detail/confusion

No. Terms like "too generic", "unclear", "too broad", "off topic" are absolutely not euphemisms for "stupid question, go away". They mean what they say; and when they are used Somewhere Else, mult...

posted 1y ago by Karl Knechtel‭

Answer