Latest Questions

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

Using C# LINQ with MongoDB Find

I am only about 3 days into using MongoDb and C# driver so be gentle. ;-) I have a MongoDB query working with AsQueryable. I would like to use the collection.Fi

Use HTML file with inline or external css in flutter

I am working on a flutter application, which consists of an EPUB reader (I have used the epub_view package to render the EPUB files). Since we already have a we

Checking response code of all URLs in a column [Airtable database]

We have an airtable database of over 24000 records. These records are websites, and many now have errors in them (missing "/", extra space...). We are trying to

Coefplot plotting same (name) estimate from different OLS models across three years in a single graph

Using coefplot in Stata, I am unable to plot the same estimate from different models across three years without having the estimates bunch up into a single year

How to remove Play Games Services from game?

I'm having a hard time setting up a Leaderboard using Google Play Games Services, so I want to remove Play Games Services from my game and restart from scratch,

conan + cmake generators : include directories not found during compilation

I am new to Conan, and I'm struggling to use specific conan packages in CMake. I started with including boost to my project using conan, and that worked out gre

Cannot import package in AWS lambda with Nodejs14.x ES module

I have a layer where the path of node_modules is nodejs/node14/node_modules. Using that layer, and I try to import a package in a Lambda function, say 'aws-clou

What does "100 *" mean in "100 * df. isna().mean()"?

Can anyone explain what is the use of 100 * in the following line of code: 100 * df.isna().mean() Is it intended to get the percentage of the average value?

How to cut the following shape(s) in Inkscape?

Using Inkscape, I'm trying to remove the diagonal straight line that runs through the circle, but none of the boolean tools or path editing tools seem to work.

Why the unary * operator does not have a constraint "the operand shall not be a pointer to void"?

C2x, 6.5.3.2 Address and indirection operators, Constraints, 2: The operand of the unary * operator shall have pointer type. Why there is no constraint "the o