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

Type On... Excerpt Status Date
Question Angular Testing fails with Service.method is not a function
I'm trying to write a spec test for a (correctly working) Angular component, but it errors when calling a service method with: `TypeError: this.myService.getSomeData is not a function` The service: ``` export class MyService implements IMyService { constructor(private apiService: ApiHtt...
(more)
6 months ago
Question grep AND search for multiple words in files
I have text (xml actually) files. Some files contain 'foo', some contain 'bar', some contain neither and some contain both. It's the both I'm interested in. How do I do an AND search on words in files in folders (recursively) with grep? I'm using git bash in windows, so either a cygwin or win10...
(more)
11 months ago
Question Generating nested repeating values with JSON Generator
Hi, I'm trying to use the JSON Generator to create data with nested repeating values. I want to create 100 objects with an ID, Name, and Code. The Id is incremented from 0 to 99, but the Code (prepended with 'code-') is incremented from 0-24 and then repeats (so row 25 will have an Id of 24 and a...
(more)
11 months ago
Answer A: Should we allow answers generated by ChatGPT?
This may be a bit out of left-field, but I don't see anybody else taking the approach. Let's face it, ChatGPT and AI and all its quandaries are not going away. If we put a ban in, some clever clogs will work out a way to bypass, just for the sake of it. If we allow ChatGPT open slather, the qu...
(more)
about 1 year ago
Question TeamCity build variables
I want to pass a variable to TeamCity (on prem) to choose between deployment environments (there are 14 of 'em - don't ask) when running a TC deployment configuration build which uses a PowerShell script. I have created a Configuration Parameter in TC's 'Parameters' area: Image DEPLOYENVIRONMENT ...
(more)
about 1 year ago
Question Input date in Angular Material date picker in dd/MM/yyyyy format
I am trying to create an application that takes a date as user input which is then passed as a parameter to an API call. The local date format is dd/MM/yyyy. I want the user to be able to enter the date via the input OR the `mat-datepicker` in the local format. Standard syntax for reactive for...
(more)
over 1 year ago
Question Order a subcollection from linq
I am using linq/EF core to retrieve data via an API call. How do I sort the collection of related data for each retrieved entity? Assume the following structure: an Order is made on a certain date, and is comprised of (inter alia) a collection of OrderLines, where an OrderLine comprises a Prod...
(more)
almost 2 years ago
Question Are general questions (hopefully resulting in comprehensive, 'canonical' answers) in scope
Co I'm a database/desktop dev venturing into programming web apps using Angular and I've been informed 'functional reactive programming' is something I should be aware of. Some other site has a general question on FRP, but a) it is locked - off-topic but has historical significance, b) it is ove...
(more)
over 2 years ago
Question Retrieve user details from service in Angular
Angular 12; .NET Core 3.1 Following a code-maze tutorial, I have a working authentication (registration/login) service using .NET Core Identity. After login, I would like to add 'username' data to my app's header component and a 'Welcome username' message in the home component. I used `ng g s...
(more)
over 2 years ago
Question Save migration info in separate DB schema
When creating a code-first solution in dot net core using Visual Studio, you manipulate the database by changing model classes and migrating the changes. I can set the schema for tables that I create, but how do I set a schema for the migration table itself? Currently it defaults to 'dbo'. Is it...
(more)
almost 3 years ago