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 FoggyFinder‭

Type On... Excerpt Status Date
Answer A: Where is the `.fsproj` project file documented?
No, there is no single page. Simple answer - different project requires specific properties. For example, building a mobile app you'd be interested in whether NativeAot is enabled or not. More specific, building an Android app you can specify `AndroidPackageFormats`, `AndroidLinkTool`, etc. Tho...
(more)
6 months ago
Answer A: How to automatically add package reference into project file after installing .NET package?
> Once the package is installed (either with `nuget` or `paket`), I have to manually add a reference to the project file (either by editing it directly or with `dotnet add package`). You don't have to do that. Paket isn't really user-friendly so you may think you have to add reference to a package...
(more)
6 months ago
Answer A: Updating the database reverses previous changes
Disclaimer: I don't work with EF therefore not an expert. EF is tricky and has a lot of dark magic inside so if you're not sure how it all works best to use good old plain SQL or simple libraries. I think you see this behaviour because you return old "blog" object, which isn't the same as new...
(more)
almost 1 year ago
Answer A: Should I post a link to the Github repo for code reviews?
> Total noob here and noob to this site. I've written a non-trivial program in Python. I'm the only one who see contradiction here? Anyway, posting link to GitHub repo is absolutely appropriate. Moreover I'd say this is the best way for something that is more than 100 lines of code. One can ...
(more)
about 2 years ago
Answer A: How to dynamically change panel of ItemsControl?
This isn't the cleanest approach but at least it works. One can define two different templates (each of them contains `ItemsControl` with single difference in `ItemsPanelTemplate`) and switch between them as needed with a simple "selector": C#: ```csharp public class ViewTypeTemplateSelecto...
(more)
over 2 years ago
Question How to dynamically change panel of ItemsControl?
Let's say I have some collection of data. My goal is to provide different kind of view of `ItemsControl` depending on user`s preference. For simplicity, we can assume that user can select only between two states - horizontal & vertical. MCVE ```csharp public enum ViewType { H, V } publ...
(more)
over 2 years ago
Answer A: Get the length of a slice from a multi-dimensional array
You can use Array.GetUpperBound method > Gets the index of the last element of the specified dimension in the array. and Array.GetLowerBound one accordingly. ```csharp var arr = new int[,]{ { 1, 2 }, { 23, 42 } }; for (int i = arr.GetLowerBound(0); i ), new[] { 2, 2,...
(more)
over 2 years ago
Answer A: console.readline tag does not look good to me
While I tend to agree with @Alexei that reading from the standard input is quite a common issue I also think that `console.readline` tag is too narrow and therefore it shouldn't exists. On the other hand `console` tag (this one is already created) would fit.
(more)
over 2 years ago
Question An edit creates a new tag instead of adding correct one
History of edits to the Q shows that `status-bydesign` tag was added but instead a new `status-by-design` tag is created.
(more)
over 2 years ago
Answer A: Find the name of the student with the top mark, display their name and mark
That's nice that you're provided your attempts but, as it was already mentioned in comments, it would be better to show us all the parts. Again, if you're not sure how to write it properly in C# that's fine - just show us some pseudo-code and we help you from there. Anyway, this is a simple task t...
(more)
almost 3 years ago
Answer A: Saving modified data in gridview on clicking SaveButton
Well, actually I didn't use `SqlAdapter` to work with DB since I prefer using ORM or write everything by myself (without `DataSet`, `DataTable`, `SqlAdapter`, etc) but I still can give some advices. Here, you have mixed 2 separate questions: How to update data in a db from C# How to update U...
(more)
almost 3 years ago
Answer A: Can we migrate office suite related questions to the Power Users community?
My vote is also for moving such Qs. Main arguments: PU already contains some Qs related to office suite and they're OnTopic there. This kind of Qs doesn't fit well to software development. So it might confuse newcomers when it comes to what is ontopic here. I'm writing it as a separate answe...
(more)
almost 3 years ago
Answer A: C# WPF MVVM View & Get new record values
Some thoughts: 0. Consider using Github (or something like that, but I suggest Github due to its popularity) to share the project. It allows us not only to write some code but open PR with suggestions. 1. Do not use such names as `TechnicalBestBeforeDatesModel`, etc. Using of `` is against C# s...
(more)
about 3 years ago
Answer A: How to filter data from the view using MVVM Pattern?
I wrote quick (and somewhere dirty) example to show one of possible approaches: 1. Add properties corresponding to each filter: ```csharp private string productCode; private string productDescription; public string ProductCode { get => productCode; set => SetProperty(ref produ...
(more)
about 3 years ago