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.

Activity for Michael‭

Type On... Excerpt Status Date
Answer A: Understanding the Matrix protocol vs Matrix server and what can be implemented from scratch
Specification You understand correctly. [Matrix][] is an interface for federated encrypted communication. From the first page of the spec: > Matrix defines a set of open APIs for decentralised communication, suitable for securely publishing, persisting and subscribing to data over a global open...
(more)
about 1 month ago
Question Filter stashes by pathspec
The documentation for `git stash list` says > ### [`list []`][doc] > List the stash entries that you currently have. Each stash entry is listed with its name (e.g. `stash@{0}` is the latest entry, `stash@{1}` is the one before, etc.), the name of the branch that was current when the entry was mad...
(more)
about 2 months ago
Answer A: How to easily support time frame grouping in queries?
In SQL Server 2022+, there's a dedicated binning function called `DATEBUCKET`. > Each of these statements increments `DATEBUCKET` with a bucket width of `1` from the origin time: > > ```sql > DECLARE @date DATETIME2 = '2020-04-30 21:21:21'; > SELECT 'Week', DATEBUCKET(WEEK, 1, @date) > UNION ...
(more)
about 2 months ago
Answer 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 contributor; some as a maintainer. Must 1. Don't be a jerk. When people engage with your project, don't be d...
(more)
about 2 months ago
Answer A: GnuTLS config for my own root CA, for use on internal server
Does GnuTLS support CA Name Constraints (RFC 5280, 4.2.1.10), so you can limit the valid domains directly in the root CA? I'm not aware of any CAs that self-limit this way,[^moz] except for when the US government tried (unsuccessfully?) to get one approved by the CA/B forum for `.gov` and `.mil`. ...
(more)
3 months ago
Answer A: Should a salt be stored in the same database as the hash?
With bcrypt, the salt is stored in the same string as the hash. This is done so that you have everything you need to get that hash identifier if you know the password.[^pepper] Wikipedia breaks down the format: > ## Description > The input to the bcrypt function is the password string (up to 72 b...
(more)
4 months ago
Answer A: Git apply vs git am
Each of them has an analog to another Git command. But instead of objects in the repository, these take text file(s) created either by you or someone else. `git apply` Think of this as Applying a `git stash` from a text file. Applies a delta to your worktree. It's nominally a Git-flavored ve...
(more)
4 months ago
Answer A: Are "strong passwords" at all meaningful?
Passwords are annoying. Nobody really enjoys passwords, which is why "The End of Passwords" articles keep circulating. I'm looking forward to the day the prediction comes true, but in the meantime passwords are the most common way to do authentication anywhere with a computer. I made a chart to cl...
(more)
5 months ago
Answer A: How to display overlapped content in an e-mail
I don't understand your "Venn Diagram" explanation. Are you wanting the image behind the text? If you mean wrapping around the image, you can do this: Instead of cells of a big table, put the image into its own table and `align="right"` the table. Then text will reflow around the table (even in yu...
(more)
5 months ago
Answer A: Can GitHub rewrite authorship of commits?
It doesn't change commit data when you push. You have to set your local email address to the `noreply` one. > ## About commit email addresses > [&hellip;] > > If you'd like to keep your personal email address private, you can use a `noreply` email address from GitHub as your commit email addres...
(more)
6 months ago
Question Can GitHub rewrite authorship of commits?
GitHub has a setting wherein they offer to "anonymize" your user email from, say, somebody@example.com to somebody@users.noreply.github.com. I presume this is to prevent you from getting spam from a scraper that reads the metadata on commits to public repositories. How do they do this without inva...
(more)
6 months ago
Answer A: What are the benefits of starting a Git repo with an empty commit?
This sounds to me like someone had a problem once and they've decided upon a somewhat silly way to keep that from ever happening again. The big repository hosts have a different way of addressing it. They (offer to) make you a README.md and a .gitignore for the first commit and you can stem everyt...
(more)
6 months ago
Answer A: Command to format code from repo into single markdown file
Sylvester's answer is great, but I wanted to point out that interpolation only happens in double-quoted strings (`"`), not in single-quoted ones (`'`). If you have lines that don't need any variable or command interpolation, you can single-quote and skip escapes: ```bash find . -name ".py" -pr...
(more)
7 months ago