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

Type On... Excerpt Status Date
Edit Post #287349 Post edited:
added relevant tag
over 2 years ago
Edit Post #284596 Nominated for promotion over 2 years ago
Edit Post #287307 Post edited:
removed tag
over 2 years ago
Edit Post #287313 Post edited:
Fixed the code and minor spelling error fix
over 2 years ago
Edit Post #287313 Post edited:
fixed the tags
over 2 years ago
Edit Post #287314 Initial revision over 2 years ago
Answer A: How can I provide additional information when raising an exception?
Python documentation suggests that you can simply add other parameters when raising the Exception and retrieve them using args: Code ```python try: raise Exception('spam', 'eggs') except Exception as inst: print(inst.args) # arguments stored in .args x, y = inst.args # unpack ar...
(more)
over 2 years ago
Edit Post #287307 Question closed over 2 years ago
Comment Post #287300 EF is designed to track list changes (additions or removals) in DbSets only. It cannot know (or at least not in a predictable/performant way) that someone constructed some kind of list using dbset dereferenced values and then added/removed from that list.
(more)
over 2 years ago
Edit Post #287122 Nominated for promotion over 2 years ago
Edit Post #287298 Nominated for promotion over 2 years ago
Edit Post #287300 Post edited:
added a note related to not working directly with EF models
over 2 years ago
Edit Post #287300 Initial revision over 2 years ago
Answer A: Datagrid in MVVM saves edits but not inserts
Entity Framework is able to save the changes by using a tracking mechanism (i.e. what is added, deleted, removed). I guess `repository.GetAllGoals()` implementation is something like `context.Goals` or `context.Set()`, so when you are constructing the `ObservableCollection` you actually get a lis...
(more)
over 2 years ago
Edit Post #287288 Initial revision over 2 years ago
Answer A: How to define Polly policies when working with Refit library in ASP.NET Core?
Refit allows such configuration out of the box bt using `AddRefitClient` (which resembles the well-known AddHttpClient). This indeed requires explicit configuration for the HttpClient, but the configuration and usage will be simpler: Refit and resilience configuration ```c# private static ISer...
(more)
over 2 years ago
Edit Post #287287 Initial revision over 2 years ago
Question How to define Polly policies when working with Refit library in ASP.NET Core?
Note: this is based on my question on SO and subsequent activity there I am trying to add resilience using Polly to HTTP calls that are performed using Refit library. I am using the Refit factory method `RestService.For<>` and I have a working code, but I feel it is way more complex than it sho...
(more)
over 2 years ago
Comment Post #287272 I guess one way to understand what happens is to get your hands on the application (crash) logs and let us know if there is some relevant information there. [This](https://developer.android.com/games/optimize/crash) might be a good start.
(more)
over 2 years ago
Edit Post #287272 Post edited:
added relevant tag + improved the formatting
over 2 years ago
Edit Post #287235 Nominated for promotion over 2 years ago
Edit Post #287255 Question closed over 2 years ago
Comment Post #287255 I have edited your question to include the error message (which should be added in the question, not an answer). Can you provide more details such as the application type, relevant package versions, etc.? Without it, it is hard to receive an answer and the question will be closed.
(more)
over 2 years ago
Edit Post #287255 Post edited:
added details from answer
over 2 years ago
Edit Post #287235 Post edited:
added relevant tag
over 2 years ago
Edit Post #287242 Post edited:
added a side note
over 2 years ago
Edit Post #287242 Initial revision over 2 years ago
Answer A: How to refer to the same class twice from one Entity Framework entity?
I tried to replicate your case and the only workable solution I could find is to use OnModelCreating configuration (fluent style) instead of attributes: ```c# public class Contestant { public int Id { get; set; } public int AvatarID { get; set; } public virtual Picture? Avatar { get; ...
(more)
over 2 years ago
Edit Post #287152 Nominated for promotion over 2 years ago
Comment Post #287152 Never worked with Lua, but [this page](https://www.gammon.com.au/scripts/doc.php?lua=os.rename) suggests that the function returns two values: `ok, message = os.rename (oldname, newname)`. Does it work to fetch a message in this case and thus receive (hopefully) an error?
(more)
over 2 years ago
Edit Post #287152 Post edited:
added relevant tag
over 2 years ago
Comment Post #286910 @#54029 That's a good suggestion and this is currently being [discussed on meta](https://software.codidact.com/posts/287107). You might refine your comment and post it as an answer there.
(more)
over 2 years ago
Edit Post #287107 Initial revision over 2 years ago
Question Should asking about book recommendations directly connected to software development be on-topic?
Context We have recently received a suggestion to allow questions about recommending books directly connected to software development. The way I see this now (pros and cons) Pros: - allow more questions that help software developers Cons: - tend to be open-ended, unless there is not a...
(more)
over 2 years ago
Comment Post #286976 I have forked a StackBlitz from Angular docs and it seems to work as expected: https://stackblitz.com/edit/angular-c2kmlm?file=src/app/datepicker-locale-example.html
(more)
over 2 years ago
Edit Post #287010 Post edited:
over 2 years ago
Comment Post #287010 Do you receive any of those authentication errors when "it works" (Angular app renders something)? Anyway, this seems more of a networking issue rather than a software development one. [Power users Codidact](https://powerusers.codidact.com/) deals with such questions.
(more)
over 2 years ago
Comment Post #287009 http://acuriostudi.apps.cloud.local/api-hub/api-hub/designs is not solved for me. Also, this is an HTTP URL and your error suggests that an HTTPS resource (port 443 instead of 80) is used.
(more)
over 2 years ago
Edit Post #286974 Nominated for promotion over 2 years ago
Edit Post #286974 Post edited:
added relevant tag
over 2 years ago
Edit Post #286940 Post edited:
added relevant tag
over 2 years ago
Edit Post #286910 Post edited:
removed tag
over 2 years ago
Edit Post #286934 Post edited:
Made the title more specific + added relevant tag
over 2 years ago
Edit Post #286911 Nominated for promotion over 2 years ago
Edit Post #286813 Post edited:
added status
over 2 years ago
Comment Post #286910 We currently consider asking for recommendations [offtopic](https://software.codidact.com/help/on-topic).
(more)
over 2 years ago
Edit Post #286910 Question closed over 2 years ago
Edit Post #286904 Post edited:
Put a more relevant title
over 2 years ago
Edit Post #286813 Post edited:
fixed the tag name
over 2 years ago
Edit Post #286813 Post edited:
added resolution
over 2 years ago