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
 
80%
+6 −0
Meta How will you balance demanding high quality questions with maximising the number of users?

The question is not "what will you do", but "what will we do?" This site is community-run. While of course there are a few rules that we need to impose to be able to host a community, for the most ...

posted 4y ago by ArtOfCode‭

Answer
80%
+6 −0
Q&A How to store credentials for PHP scripts on a Windows machine?

I have a number of command line PHP scripts that are either run by a user or by Windows Task Scheduler. These scripts use DB and API credentials and I am wondering if there is a better way of stori...

1 answer  ·  posted 4y ago by Charlie Brumbaugh‭  ·  edited 4y ago by Charlie Brumbaugh‭

Question php windows
80%
+6 −0
Q&A How can I emulate regular expression's branch reset in Java?

I've kinda found a very limited, not so elegant, far from ideal "solution", using replaceAll: String regex = "(?:([aeiou]+)[0-9]+|([123]+)[a-z]+)\\W+"; System.out.println("ae123.".replaceAll(regex,...

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

Answer
80%
+6 −0
Q&A Is there a naming convention for table aliases?

Sometimes, either to reduce the amount of typing big table names or when joining a table to itself one will need to alias a table. Personally I find SQL statements with aliases harder to read and a...

1 answer  ·  posted 4y ago by Charlie Brumbaugh‭  ·  edited 4y ago by Alexei‭

80%
+6 −0
Meta Code Challenges Category (Code Golfing & others)

I was inspired by the contests on Outdoors and Writing, and thought that having some challenges over here would be fun as well. What do you all think about adding a new category where people can po...

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

80%
+6 −0
Q&A Multiple string concatenation in Excel

In Office 365 and Excel 2019 there is a TEXTJOIN: =TEXTJOIN(",",,A1:A10) which can be written into the cell where the output is required. Assumes A1:A10 has been populated to suit.

posted 4y ago by pnuts‭  ·  last activity 3y ago by Alexei‭

Answer
80%
+6 −0
Q&A Multiple string concatenation in Excel

In Excel I would like to concatenate several strings into one. I could type and fill in the blanks CONCATENATE(A1, A2, ....) but it is a lot of work This would be cool, but it does not work CONCATE...

2 answers  ·  posted 4y ago by James Jenkins‭  ·  last activity 3y ago by Alexei‭

80%
+6 −0
Q&A How are integers interpreted in contexts that expect a date?

I found a confusing construction in several stored procs in an MS SQL 2008 R2 database: DATEADD(dd, 0, DATEDIFF(dd, 0, some_date)) As I understand it, these are the relevant function signatures: D...

1 answer  ·  posted 4y ago by ajv‭  ·  edited 4y ago by Alexei‭

Question sql tsql sql-server
80%
+6 −0
Meta Asking software architecture related questions on Software Development community

Personally, I'd say that it depends on the question. Over on that other site, this ban was instituted to avoid opinion-based questions. For instance, suppose you asked: Is Angular a great framewor...

posted 4y ago by meriton‭

Answer
80%
+6 −0
Q&A Is it undefined behaviour to just make a pointer point outside boundaries of an array without dereferencing it?

I have heard that it is undefined behaviour to make a pointer point outside boundaries of an array even without dereferencing it. Can that really be true? Consider this code: int main(void) { ...

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

80%
+6 −0
Q&A Is it unsecure to use a password on the command line to run a MySQL script on Windows?

Its possible to execute a MySQL file from the command line like so, mysql -u USER -pPASSWORD < FILENAME which triggers a warning, mysql: [Warning] Using a password on the command line int...

2 answers  ·  posted 4y ago by Charlie Brumbaugh‭  ·  edited 4y ago by ghost-in-the-zsh‭

Question mysql windows
80%
+6 −0
Meta Can regular users add tag wikis? And what are the guidelines for creating them?

Checking the list of tags, I noticed that all of the tag wikis are empty, like this: I also noticed that I can't edit those info. Will it be possible for regular users to add tag wikis?1 And if th...

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

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

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 3y ago by deleted user  ·  edited 9mo ago by Alexei‭

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 Why is this symlink() call returning successfully while apparently failing to create the sym-link?

Summary I'm building an internal system (hardware simulator, using Rust) to help test some Python-based services that talk to hardware. (The services talk to hardware via TTYs.) To trick the Pytho...

1 answer  ·  posted 4y ago by ghost-in-the-zsh‭  ·  last activity 3y ago by ghost-in-the-zsh‭

Question rust linux