Latest Questions

@nestjs/swagger cant be used with angular

We have a monorepo with nestjs, angular and libs. In one of those libs we defined all DTOs and some of them use mapped-types from @nestjs/swagger like OmitType

Quill editor loading content with linebreaks issue

I'm using quill editor v 1.3.7 inside primeng Editor. There is a strange behavior with whitespaces before an element. First line is my inout, second line is th

can't figure out why my entry() widget is returning null

I've been trying to pass data from an entry box inside a function to another function but the entry.get() function seems to be returning nothing. here is a part

Ambassador timeout_ms is not working, if value is greater than 30 secs

I am using Ambassador for external authentication and rerouting. I have created a service that sleeps for 31 secs and returns 200. I have deployed the service w

SAS : Problem with put function in a proc sql

I'm trying to create a table using a sql procedure with a column in date9 format, however, despite the put function I use with the date9 parameter, my column is

Mean and Standard Deviation of x>=5 of 10000 data points binomial(10, 1/4)

I have a data range of 10,000 points as per: data = rbinom(10000, size=10, prob=1/4) I need to find the mean and standard deviation of the data values >=5.

How to use linq2db to insert sql geography?

It is simple really: var a = SqlGeography.STGeomFromText(new SqlChars("POINT(-122.34900 47.65100)"), 4326);` and then insert await _geoDb.Table.Value(x => x

EFS on AWS fargate using Terraform- Can't connected

Good day, I'm having issues connecting to my EFS module from ECS fargate. Everything is built in Terraform. Here are the relevent files: efs.tf resource "aws_ef

Laravel Nova Card Options Missing Function

I was recently given a Laravel app that uses Nova and Vue in it - all three of which I've never worked with before, so apologies in advance if I ask something t

While building GCC 8.5.0: "error: `CC' has changed since the previous run"

I'm building GCC 8.5.0 on a Devuan Chimaera GNU/Linux system (using GCC 10). I've configured with ./configure --disable-gnat, then ran make. At some point, I ge

Xcode program: Text box that the user can interact with through touch

I am new to Xcode and Swift. I want to create a text box for a video game that acts as the dialogue between the game and the user. for example I want the text b

Get all numbers 1-100 per ID even without data

I have a table which looks like this: ID money_earned days_since_start 1 1000 1 1 2000 2 1 3000 4 1 2000 5 2 1000 1 2 100 3 I want that rows, without a days_s

How to generate dynamic paths for non-default locales in Next.js?

I am building a Next.js app with internationalization using next-i18next. Pages are generated for all the pages of my site for both English and French, except f

GCP Bigquery - Time Travel - Max and Min Window time for a table

I understand the BigQuery provides 7 days time travel. I'm trying to get Max and Min of time travel possible for each table like Min and Max of timestamp. Is th

How can I get my counter to work properly?

I'm doing my c++ homework on arrays, everything seems to be working fine except the counter for the problem. Before I show the code these are the requirements f

Dataframe in Scala

I am trying to train the model for recommendation for movie. I have a dataset which has list of all the casts, movie details with description. based on the occu

Big blank space at the bottom of page

I'm having this problem, when I added a background image to a flexbox column, I can see that there is a big blank space at the bottom at the bottom. I tried to

How to use flutter_inappwebview in Scaffold body

I want to use flutter_inappwebview plugin top show the web page in the body of a Scaffold page. I do know how to do it with webview_flutter, but with flutter_in

How to Launch the Same Job in Parallel with Spring Batch?

I am trying to launching the same Job in parallel, which the Job does reading with JdbcCurorItemReader from a database table and write it to a different table.

Update a value in a nested field?

user :["id": 1, userObj:[{"bookid": 1, "library":"Oxford", "taken":true}, {"bookid": 2, "library":"Cambridge", "taken":true}]] I would like to update the value

OperationalError: (psycopg2.OperationalError) could not translate host name "143@postgres" to address: Unknown server error [duplicate]

I want to import a large csv file without creating table before for that csv file into postgresql. While searching on stackoverflow, one of th

If I try to clear dynamically added tabs using clear_widgets function I get an error(mdtabs can remove only subclass of MDTabslabel or MDTabsBase

from kivy.lang import Builder from kivy.uix.scrollview import ScrollView from kivymd.app import MDApp from kivymd.uix.tab import MDTabsBasefrom kivy.lang import

AWS CDK add CreationPolicy to EC2 Instance

Question in the title, trying to figure out how to add a CreationPolicy to an ec2 instance in the cdk so that I can then send a cfn-signal command once the scri

Bottom overflowed by xxx pixel using TabBarView() in flutter

I have 2 columns on the top is simple container and the the bottom is TabBarView() what I want to achieve is the tabbarview() result is scrollable using singlec

How to select distinct value

I need to select all supervisor records. Our HR employee table set up like below Firstname Lastname Email Supervisor Frank Johns fjohns Taylor, Don Pat Hope ph

TwiML for Connecting an Outbound Call?

I'm attempting to create a TwiML app, but the documentation is a little overwhelming for my simple use-case. Outbound calls from soft phone are bridged with ano

Return simple array from array of objects

Let's say we have this array of objects array = [ { id: 1, type: 'car' }, { id: 2, type: 'bus' }, { id: 3, type: 'train' } ]; and I want to loop th

How to tell the compiler about window.Cypress in .tsx files?

I'm building an app with Cypress and TypeScript. I have the following code, which slightly alters the behaviour of the Magic SDK based on whether it runs inside

Why an installed app is not listed by Ms Graph API?

I am trying to upgrade an app which belongs to a chat. If the app is not installed, below code successfully install it: await graph.Chats["19:[email protected]"]

Has anyone received this error when inserting a calendar event using the Google Calendar API? Related to BodyResponseCallback<Schema$Event> ts(2769)

I am coding in Typescript and trying to insert an event but I am getting this error that the body of what I am inserting "is not assignable to parameter of type