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
 
66%
+2 −0
Q&A How to implement `map` using the fish (>=>, Kleisli composition) operator in F#?

Is there a "cleaner" implementation similar to map's? Yes: let map f = id >=> switch f This follows from two of your other equations: map f = bind (switch f) g >=> h = g >...

posted 2mo ago by r~~‭  ·  edited 2mo ago by r~~‭

Answer
50%
+0 −0
Q&A How to implement `map` using the fish (>=>, Kleisli composition) operator in F#?

I'm learning monadic composition through Scott Wlaschin's Railway-oriented Programming post. Oncebind, switch, and >=> functions are defined, he introduces map to show how to "turn a one-trac...

1 answer  ·  posted 2mo ago by toraritte‭  ·  last activity 2mo ago by r~~‭

77%
+5 −0
Q&A Why does RFC 3986 (URI generic syntax) declare the "host" component to be case-insensitive when the syntax rules show it to be case-sensitive?

This question probably stems from misunderstanding what case sensitivity is. Being case insensitive does not mean only allowing one case - in fact, it implies the opposite! If one case was treated ...

posted 2mo ago by Moshi‭

Answer
71%
+3 −0
Q&A Why does RFC 3986 (URI generic syntax) declare the "host" component to be case-insensitive when the syntax rules show it to be case-sensitive?

First, a reminder to future self (the figure RFC 3986, Section 3. Syntax Components complemented with Section 3.2. Authority): The following are two example URIs and their component parts: ...

1 answer  ·  posted 2mo ago by toraritte‭  ·  edited 2mo ago by toraritte‭

Question url uri
66%
+2 −0
Q&A Filter stashes by pathspec

The documentation for git stash list says list [<log-options>] List the stash entries that you currently have. Each stash entry is listed with its name (e.g. stash@{0} is the latest entry...

0 answers  ·  posted 2mo ago by Michael‭  ·  edited 2mo ago by Alexei‭

Question git git-stash git-log
66%
+2 −0
Q&A How to easily support time frame grouping in queries?

In SQL Server 2022+, there's a dedicated binning function called DATE_BUCKET. Each of these statements increments DATE_BUCKET with a bucket width of 1 from the origin time: DECLARE @date DATETI...

posted 2mo ago by Michael‭  ·  edited 2mo ago by Michael‭

Answer
60%
+1 −0
Code Reviews Message consumption with priorities and consumer error handling using EasyNetQ library

Context I was tasked with developing a way to consume RabbitMQ messages that have various priorities (actually different levels of QoS). My restrictions are: high priority messages should have ...

0 answers  ·  posted 2mo ago by Alexei‭  ·  edited 2mo ago by Alexei‭

60%
+1 −0
Code Reviews GnuTLS config for my own root CA, for use on internal server

For future readers - based on input from Michael, and some research that was spurred by that improved version, this is the final config I arrived at: # https://gnutls.org/manual/html_node/certtool...

posted 2mo ago by matthewsnyder‭

Answer
75%
+4 −0
Code Reviews Pattern / architecture for interfacing with components in C

Code review part: Design (important!) Global variables/external linkage are to be avoided (Why is global evil?). You don't actually have private encapsulation in this code since the inte...

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

Answer
80%
+6 −0
Q&A Why is global evil?

Global variables make the code hard to reason about This is especially visible when debugging. Say you have a function which errors. The stacktrace tells you where the function got it's arguments,...

posted 2mo ago by Iizuki‭

Answer
70%
+5 −1
Q&A Why is global evil?

The basics of good vs bad program design All programs are divided in classes. (Or modules/abstract data types/interfaces etc - a rose by any other name.) Each class should only be concerned with i...

posted 2mo ago by Lundin‭  ·  edited 2mo ago by Michael‭

Answer
66%
+2 −0
Code Reviews Pattern / architecture for interfacing with components in C

I'm working on the architecture, where the assumption is to easily extend the options in the system and also to provide some kind of encapsulation (from the main we could only access the type1 / ty...

1 answer  ·  posted 2mo ago by patriko8520‭  ·  last activity 2mo ago by Lundin‭

Question c architecture
60%
+1 −0
Q&A Why is global evil?

A global variable or object is in scope everywhere. That means it's possible to modify it from any part of your program. Imagine a mature program, made up of thousands of lines of code and dozens ...

posted 2mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A PHP - Why using "global" considered bad?

Nothing in particular will go wrong. global is a valid and supported keyword, the code will work. There is no problem for the computer. The problem is for you. When something is global, it could b...

posted 2mo ago by matthewsnyder‭

Answer
75%
+4 −0
Q&A Why is global evil?

Many languages discourage global variables. Why is this?

3 answers  ·  posted 2mo ago by matthewsnyder‭  ·  last activity 2mo ago by mavavilj‭

60%
+1 −0
Q&A Maven JPA integration: processor not found

The annotation processor must be compiled before it can be used. This is not a problem if you're using it as a dependency from Maven Central, for example. If you want to use a custom processor, you...

posted 2mo ago by Zer0‭

Answer
60%
+1 −0
Q&A How to start creating a Giraffe web project and how to serve it?

I have to keep reminding myself that a Giraffe project plugs into the ASP.NET Core pipeline or is itself an ASP.NET Core application , so if I can't find answers to my questions in the Giraff...

posted 2mo ago by toraritte‭

Answer
60%
+1 −0
Q&A How to start creating a Giraffe web project and how to serve it?

Having some trouble with giraffe-template on Mac M1, so decided to set up a Giraffe project manually. Started following the Doing it manually section of the Giraffe README, but got stuck right away...

1 answer  ·  posted 2mo ago by toraritte‭  ·  last activity 2mo ago by toraritte‭

66%
+2 −0
Q&A PHP - Why using "global" considered bad?

In PHP why is using global like in the example below considered bad? $a = 1; class foo { public function bar() { global $a; // <-- Why is this considered bad? } } ...

1 answer  ·  posted 2mo ago by Vanity Slug ❤️‭  ·  last activity 2mo ago by matthewsnyder‭

50%
+0 −0
Q&A Maven JPA integration: processor not found

You say this is a personal project. I am sure you were free to chose the technology. I ask, because Java, annotations and Mvn are good tools for some requirements, but not necessarily the most eas...

posted 2mo ago by oucqjodvpqepaiwc‭  ·  edited 2mo ago by oucqjodvpqepaiwc‭

Answer
60%
+1 −0
Q&A Maven JPA integration: processor not found

Personal Project: I am new to Maven and have spent a few weeks troubleshooting pom errors with chatGPT. Tutorials are hard to come by online, because annotation-processing in Java is more complica...

2 answers  ·  posted 2mo ago by tylerbakeman‭  ·  last activity 2mo ago by Zer0‭

Question java xml jpa
66%
+2 −0
Q&A .NET dependency management: `dotnet add package` vs. Paket?

Based on what I know so far, there is no difference. Paket has been created more than 10 years ago to address (perceived?) shortcomings of NuGet. (Reading the .NET history made my head spin, and l...

posted 2mo ago by toraritte‭  ·  edited 2mo ago by toraritte‭

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

Matthew's list is pretty good, although I don't think one has to do all the things on it as a "minimum." I offer one minimum and a couple nice-to-haves. Some of these I have learned as a contributo...

posted 2mo ago by Michael‭  ·  edited 2mo ago by Michael‭

Answer
77%
+5 −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 2mo ago by matthewsnyder‭

Answer
36%
+2 −5
Q&A What makes people able but unwilling to contribute to FOSS projects? [closed]

Suppose someone has the requisite knowledge and skillset to contribute to a FOSS project, they have the free time to do so and they are aware of the project. Yet, they decide not to contribute. Thi...

0 answers  ·  posted 2mo ago by matthewsnyder‭  ·  closed 2mo ago by Alexei‭

Question open-source