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
 
83%
+8 −0
Q&A Is MISRA-C useful outside safety-critical and embedded programming?

When discussing best or safest C programming practices with various C gurus on the Internet, the "MISRA-C guidelines for the use of C language in critical systems" often pops up as a source. This ...

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

Question c misra-c
83%
+8 −0
Q&A Is there a way to estimate the execution time of a statement in MySQL?

From time to time I will have large structural changes to make on my MySQL DB, things like adding columns, changing datatypes, adding indexes etc. These types of changes result in downtime and what...

1 answer  ·  posted 4y ago by Charlie Brumbaugh‭  ·  last activity 4y ago by meriton‭

Question mysql
83%
+8 −0
Meta Renaming sheets to the more specific google-sheets?

Google Sheets isn't a company name, it's a product name. A tag called google-sheets is perfectly fine. Google doesn't market this product as "Sheets", they market it as "Google Sheets". What is not...

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

Answer
83%
+8 −0
Q&A Is an ORDER BY required when looping through MySQL records with LIMIT?

Any time an SQL SELECT query does not have any explicit ORDER BY clause, I personally find it useful to mentally read it as saying "I don't care about ordering of the output of this query". If you...

posted 4y ago by Canina‭  ·  edited 3y ago by Canina‭

Answer
83%
+8 −0
Meta Are Linux-related questions on-topic?

I'm trying to learn Linux, and I've got plenty of questions to ask on the subject, especially when it comes to differences between Linux's command line and Apple's. Would such questions be accepted...

1 answer  ·  posted 4y ago by DonielF‭  ·  last activity 4y ago by klutt‭

Question discussion scope
83%
+8 −0
Q&A How can I emulate regular expression's branch reset in Java?

I've got this sample regex: Pattern p = Pattern.compile("(?:([aeiou]+)[0-9]+|([123]+)[a-z]+)\\W+"); It basically has the following parts: one or more lowercase vowels ([aeiou]+), followed by one ...

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

Question java regex
83%
+8 −0
Q&A Why would excluding records by creating a temporary table of their primary keys be faster than simply excluding by value?

Why would the second way be faster? Generally speaking, the first form will perform worse (as well as looking a lot worse) than the second. You are hitting an edge case where the opposite is true...

posted 4y ago by Jack Douglas‭

Answer
83%
+8 −0
Meta Asking software architecture related questions on Software Development community

Context Over the years I had a hard time addressing questions about software architecture like these ones . Soon after posting them, they receive a couple of downvotes and close votes which set the...

2 answers  ·  posted 4y ago by Alexei‭  ·  last activity 4y ago by shagie‭

83%
+8 −0
Q&A Should I cast to (void) when I do not use the return value

I saw at least one compiler (Codewarrior for HC12) warn me if I use a function without using it's return value. Other compilers (clang/gcc) do not issue a warning though, even when using the std=90...

3 answers  ·  posted 4y ago by Kami‭  ·  edited 4y ago by Monica Cellio‭

83%
+8 −0
Q&A How can I define a method on [&mut T] where T: MyTrait?

I'm trying to make a trait method callable on mutable slices of a type implementing that trait (see main). Rust doesn't like me for it. use core::convert::AsMut; trait A { type B; fn f(m: ...

1 answer  ·  posted 4y ago by wizzwizz4‭  ·  last activity 4y ago by r~~‭

83%
+8 −0
Meta Enabling 2FA should include some recovery codes

After enabling two factor authentication (2FA) for my account I'm only notified It is successfully turned On. I think it should include some recovery codes as well (to be used in case I can't acce...

1 answer  ·  posted 4y ago by lealceldeiro‭  ·  last activity 12mo ago by Monica Cellio‭

83%
+8 −0
Q&A What are the pros and cons of a composite primary key versus a unique constraint?

Facts In relational theory, each row in a relation is uniquely identified by a primary key. That's why some purists say that every table should have a primary key. Foreign keys usually reference a ...

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

Answer
83%
+8 −0
Q&A How are integers interpreted in contexts that expect a date?

SQL Server uses '1900-01-01' as a "zero-point" in DATEDIFF(dd, 0, some_date): select DATEDIFF(dd, 0, '1900-01-01') --> 0 select DATEDIFF(dd, 0, GETDATE()) --> 44066 days since the "zero-d...

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

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

In C#, I have two lists and need to mark records in the first based on the second. Here's a sample: public class Vehicle { public string Make { get; set; } public string VIN { get; set;...

3 answers  ·  posted 4y ago by FrankLuke‭  ·  last activity 4y ago by Andrew Shepherd‭

Question c# linq
83%
+8 −0
Q&A Is `uint8_t` always an alias for a character type if it exists?

Is uint8_t guaranteed to be a character type if it exists? Will using a uint8_t* to examine bytes of an object cause violation of the strict aliasing rule? Is the following legal code: #include &l...

1 answer  ·  posted 4y ago by Ayxan Haqverdili‭  ·  edited 4y ago by Lundin‭

83%
+8 −0
Q&A Is it correct to run code inside a method whose object has been destroyed?

Consider an object for which a method is invoked. Beyond certain point the method no longer accesses this at all. No read/writes of non-static members. No invocation of non-static methods. Is it ...

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

Question c++ multithreading
83%
+8 −0
Q&A Destroy std::mutex referenced but not owned by std::unique_lock?

No, such an operation is not safe. The documentation of std::unique_lock in the standard states that it's UB for the mutex do be destroyed while the lock still has a pointer to it. However, there ...

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

Answer
83%
+8 −0
Meta Are code troubleshooting posts allowed?

tl;dr: Allowing beginner-level "help me diagnose this" questions will generate large volumes of duplicates if the site ever scales. We need to think about how to structure things if we want them. ...

posted 4y ago by dmckee‭

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

Historically, compiling programs could take a long time. Interpreted languages did not need to be compiled. So if developers wanted to change the program, if it was interpreted they could just twea...

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

Answer
83%
+8 −0
Q&A Path separator for Atom / JavaScript on Windows

I have developed an Atom package which calls SyncTeX (a utility for reverse lookup for LaTeX), and then opens in Atom the file specified in the SyncTeX response. I'm developing on Linux, but now a ...

0 answers  ·  posted 4y ago by A. Donda‭  ·  last activity 3y ago by Kevin M. Mansour‭

83%
+8 −0
Meta Who should the moderators be?

As we have set up communities here on the Codidact network we've been appointing temporary moderators. Usually some people stand out from the proposal process and early activity. Ultimately, of c...

3 answers  ·  posted 4y ago by Monica Cellio‭  ·  edited 4y ago by Monica Cellio‭

83%
+8 −0
Q&A Why not call nullptr NULL?

It's a long story. Once upon a time, there were three ways to express a null pointer constant: NULL 0 ((char *) 0) This was true at least as far back as Unix V7 (1979). Maybe even further...

posted 2mo ago by alx‭  ·  edited 26d ago by alx‭

Answer
83%
+8 −0
Q&A Reusing HTML without rewriting it

Use a static site generator. There are other possibilities, but they seem more complicated or worse for your use case. A static site generator takes in source data in some combination of markup fo...

posted 5mo ago by Derek Elkins‭  ·  edited 4mo ago by Karl Knechtel‭

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