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 Kevin Krumwiede‭

Type On... Excerpt Status Date
Comment Post #290007 @#64277 I'm also advocating a highly curated database of content, just one that is positively curated instead of negatively curated. Flag "good" content and allow people to access it through an interface that only shows the "good" content if they so desire. This creates the possibility of multiple su...
(more)
3 months ago
Edit Post #290007 Post edited:
3 months ago
Comment Post #290818 IMO this is a specific, concrete problem suitable for a Q&A on the main site. Discussions is for opinion-based wisdom.
(more)
3 months ago
Edit Post #290723 Initial revision 3 months ago
Answer A: Can Swashbuckle.AspNetCore generate exclusiveMinimum validation?
This can be achieved with a schema filter. For this proof of concept, I based the filter on a custom attribute: ```C# [AttributeUsage(AttributeTargets.Property)] public class GreaterThanAttribute(double exclusiveMinimum) : Attribute { public double ExclusiveMinimum { get; } = exclusiveMinimum...
(more)
3 months ago
Edit Post #290719 Post edited:
3 months ago
Edit Post #290719 Initial revision 3 months ago
Question Can Swashbuckle.AspNetCore generate exclusiveMinimum validation?
Is there a way to make Swashbuckle.AspNetCore generate a Swagger `exclusiveMinimum` range validation for a model property? There doesn't seem to be any way to do this with the attributes recognized by `OpenApiSchemaExtensions.ApplyValidationAttributes`. Searching the code for "exclusiveMinimum" do...
(more)
3 months ago
Comment Post #290630 Maybe a parallel question about other approaches. In this question I'm only looking for a solution involving the Android API or developer tools.
(more)
4 months ago
Edit Post #290630 Post edited:
4 months ago
Edit Post #290630 Post edited:
4 months ago
Edit Post #290630 Initial revision 4 months ago
Question Is it possible to obtain the unlock code from an unlocked Android device via the Android API or the developer command line tools?
I have an Android 10 device where the OS is unlocked but the bootloader is not. I can't obtain the unlock code through the normal channels because of bureaucratic incompetence. Given that the device is already unlocked, it possible to obtain the unlock code via the Android API or the developer com...
(more)
4 months ago
Comment Post #290511 It's one thing to have followed the guidelines before 2017 and not changed. It's another thing to suddenly adopt the old guidelines after they were abolished. Sometime around 2022, my credit union not only started enforcing password complexity requirements, but forced me to change my username so it a...
(more)
4 months ago
Comment Post #290546 Thanks for the code. The decompiler in VS was leading me in circles. But this doesn't quite resolve my question. I think everything but the last catch and rethrow are what Eric Lippert called ["boneheaded exceptions"](https://learn.microsoft.com/en-us/archive/blogs/ericlippert/vexing-exceptions). If ...
(more)
4 months ago
Edit Post #290534 Initial revision 4 months ago
Question Does Socket.AcceptAsync throw SocketException for any transient reason?
I'm writing exception handling around a call to `Socket.AcceptAsync`) in a loop. One of the exceptions it's documented to throw is `SocketException`, but the documentation is vague: >An error occurred when attempting to access the socket. I want to know if `AcceptAsync` throws `SocketException`...
(more)
4 months ago
Comment Post #290502 The idea behind a rainbow table is that an incorrect hash for one password might be the correct hash for another password, so you save all your failed attempts in a giant database indexed by hash value. But this is only helpful if all the passwords are hashed with the same hash key. If every password...
(more)
4 months ago
Comment Post #290510 My answer applies even more to internal APIs because it's your own time and money that you're saving.
(more)
4 months ago
Comment Post #290502 Rainbow tables become useless if every password is hashed with its own random hash.
(more)
4 months ago
Edit Post #290510 Post edited:
4 months ago
Edit Post #290510 Post edited:
4 months ago
Edit Post #290510 Post edited:
4 months ago
Edit Post #290511 Initial revision 4 months ago
Answer A: Are "strong passwords" at all meaningful?
NIST Special Publication 800-63 says that "strong" password requirements are not only useless but counterproductive. They recommend only a minimum length requirement and a small blacklist of common passwords. >Length and complexity requirements beyond those recommended here significantly increase ...
(more)
4 months ago
Edit Post #290510 Initial revision 4 months ago
Answer A: Best practices for company internal Swagger Docs in production
Disabling Swagger docs is a terrible idea even for a public API. Swagger saves the consumer an enormous amount of development and testing. We're talking weeks or months of work done in seconds, with far less opportunity for human error than a hand-coded client. Swagger is so valuable that if you don'...
(more)
4 months ago
Edit Post #290411 Post edited:
5 months ago
Edit Post #290411 Initial revision 5 months ago
Answer A: CS8032 analyzer warnings in empty EF Core project in Rider
I resolved this by installing Microsoft's `dotnet-sdk-8.0` instead of Ubuntu's `dotnet-sdk-6.0`. Here's a loose summary of Microsoft's instructions. 1. Remove existing dotnet packages: ``` sudo apt remove 'dotnet' 'aspnet' 'netstandard' ``` 2. Deprioritize the Ubuntu packages by creating a f...
(more)
5 months ago
Edit Post #290410 Post edited:
5 months ago
Edit Post #290410 Post edited:
5 months ago
Edit Post #290410 Post edited:
5 months ago
Edit Post #290410 Post edited:
5 months ago
Edit Post #290410 Initial revision 5 months ago
Question CS8032 analyzer warnings in empty EF Core project in Rider
I'm evaluating JetBrains Rider 2023.3 on Linux and almost immediately ran into a compiler warning that I don't understand. Attempting to isolate it, I created a new solution containing a .NET 6 class library project. The project has only one explicit dependency, `Microsoft.EntityFrameworkCore` 7.0.14...
(more)
5 months ago
Comment Post #290007 I don't believe it has been or can be "proven scientifically." The studies reveal correlations. Understanding why certain things correlate with bugs is more important than mindlessly avoiding those things. For example, sometimes testing floats for equality is exactly the right thing to do.Thinking pr...
(more)
7 months ago
Comment Post #287604 As the converse of point (A) about `IList<T>` not being generally representative, don't *write* an interface for a type that isn't widely used and implemented solely so you can return an interface instead of a concrete type. YAGNI applies.
(more)
7 months ago
Comment Post #290007 It comes down to whether this site is interested in creating those productive experiences for its users. SO is explicitly interested in something different and exclusionary.
(more)
7 months ago
Comment Post #290007 I'm not talking about "cleverness" in the sense recognized as a Bad Thing by experienced developers. Quite the opposite. I'm talking about things like recognizing that "cleverness" is bad. This kind of wisdom only comes from experience. Unless something has changed since I was in school, they don't e...
(more)
7 months ago
Comment Post #289709 At this point, questioning that Google plays politics with their search results is the wild conspiracy theory. https://www.judiciary.senate.gov/imo/media/doc/Epstein%20Testimony.pdf
(more)
7 months ago
Edit Post #290007 Initial revision 7 months ago
Answer A: How can we grow this community?
Emphasize and expand content that competitors fail at or deliberately exclude. This section of What type of questions can I ask here? is already a big deal, but it could be bigger: > Best practices, as long as clear "best" criteria are provided. Examples: fastest execution, least memory use, wi...
(more)
7 months ago
Comment Post #289709 Be careful of thinking that SEO is a meritocracy. Certain sites might always be favored because they're ideologically controlled.
(more)
7 months ago