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
Comment Post #290226 I didn't use paket for quite a while. Don't remember I ever used it with modern dotnet so not sure. I'll try to check it on weekends. No promise though.
(more)
about 1 year ago
Edit Post #290227 Initial revision about 1 year ago
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)
about 1 year ago
Comment Post #290173 Not related to the Q but have you considered using Avalonia instead of WinUi?
(more)
about 1 year ago
Edit Post #290226 Initial revision about 1 year 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)
about 1 year ago
Comment Post #289016 Sadly but community seems [voted against](https://software.codidact.com/posts/278189) Articles. I suppose we have to wait until Codidact gets more recognition and we could re-vote.
(more)
over 1 year ago
Comment Post #286000 @#61308 there is clear "and"
(more)
over 1 year ago
Comment Post #288121 Do you mean something similar to MAUI? [Configure multi-targeting](https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/configure-multi-targeting)
(more)
over 1 year ago
Edit Post #288084 Post edited:
over 1 year ago
Edit Post #288084 Initial revision over 1 year 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)
over 1 year ago
Comment Post #286164 You already got correct answers but to me it just doesn't look like right architecture. You either get inefficient structure (since you have to copy mutable list over and over again) or model class with an observable property that logically doesn't fit there. I think it'd better to move `AllValues` p...
(more)
over 2 years ago
Edit Post #286000 Initial revision almost 3 years 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)
almost 3 years ago
Comment Post #285839 I believe it happens because your data doesn't throw exception. The true difference will be noticed only when you're actually encounter overflow. If you replace your generator with something that returns big numbers you'd see the difference. And don't forget to adjust `GetSum` method: ```csharp...
(more)
almost 3 years ago
Comment Post #285784 I understand why Q received some downvotes. You didn't provide enough information to replicate what you've described in the Q. I'm certain that if you add additional information (see another comments for detaisl) downvotes would be removed.
(more)
almost 3 years ago
Comment Post #285438 @#55039 Can you please be more specific? Both Avalonia & CoDidact projects are open-source.
(more)
almost 3 years ago
Edit Post #285438 Post edited:
fix tag
almost 3 years ago
Edit Post #285440 Initial revision almost 3 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)
almost 3 years ago
Edit Post #285438 Initial revision almost 3 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)
almost 3 years ago
Comment Post #285067 If you've encountered an error I suggest creating a separate Q here with steps to reproduce (if it is possible) or just providing some information that is required to investigate the root of the issue
(more)
almost 3 years ago
Comment Post #284806 Disclaimer: I don't know enough about Python to suggest alternative approaches. Anyway, when it comes to performance Qs I'd recommend providing full working MCVE since it's easily to overlook something. It might turn out that a culprit lays in a totally different area.
(more)
about 3 years ago
Edit Post #284356 Initial revision about 3 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)
about 3 years ago
Comment Post #284345 Not quite sure but maybe you're looking for [Array.GetUpperBound(Int32)](https://docs.microsoft.com/en-us/dotnet/api/system.array.getupperbound?view=net-5.0) method?
(more)
about 3 years ago
Edit Post #283878 Initial revision about 3 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)
about 3 years ago
Edit Post #283688 Post edited:
over 3 years ago
Edit Post #283688 Initial revision over 3 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 3 years ago
Edit Post #282573 Post edited:
fix formatting
over 3 years ago
Suggested Edit Post #282573 Suggested edit:
fix formatting
(more)
helpful over 3 years ago
Comment Post #282558 One downvote is mine due to reasons that were indicated in comments above.
(more)
over 3 years ago
Edit Post #282552 Initial revision over 3 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)
over 3 years ago
Edit Post #282476 Initial revision over 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)
over 3 years ago
Edit Post #282272 Post edited:
over 3 years ago
Comment Post #282270 __I think Code Reviews is for this type of question.__ @Istiak‭ No, Code Review is about improving, receiving feedback in general for code that basically works.
(more)
over 3 years ago
Comment Post #282272 __But, what i want now that is new category or site for office suites.__ Regarding category there is Q about that: [Office suites category](https://powerusers.codidact.com/posts/281809) and there is proposal regarding new community: [Site for office suites](https://meta.codidact.com/posts/277548)
(more)
over 3 years ago
Edit Post #282272 Post edited:
clarification
over 3 years ago
Comment Post #282272 __SO has over than 1000 Q's on Office Suites. So, does it mean it is on-topic here?__ Of course, not. The point is PU allows such Qs and they're ontopic there
(more)
over 3 years ago
Edit Post #282272 Initial revision over 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)
over 3 years ago
Comment Post #282270 I can try to help you to understand what went wrong but I think it would be better if you add some comments to the algorithm so I (or anyone else around) can follow your thoughts.
(more)
over 3 years ago
Comment Post #282270 Disclaimer: I don't know Python. There're couple of errors. One of them, most obvious, `x=y=z=[]` - you actually have 1 reference instead of 3 independent list. You can use `copy` or assign the new list to each variable. The second error is that fact that your second loop is the same for all iteratio...
(more)
over 3 years ago
Comment Post #282008 Also, [Android Studio — How to replace custom templates](https://blog.thefuntasty.com/android-studio-how-to-replace-custom-templates-6329562e6131)
(more)
over 3 years ago