Latest Questions

How can I fetch data from a graphql structure which is in github?

I have a link to this repository ( https://github.com/scandiweb/junior-react-endpoint ). My question is, how can I clone this graphql structure to my react proj

Changing port on Apache Web Server results in "Connection refused"

I am running an Apache Web Server on my Raspberry Pi, which is basically just executing a CGI executable which is called by a PHP script, which is running on a

Calling a protected function from instance inside a derived class

Currently, I am trying to solve the following situation. I have a classB which contains some objects from a classA. Each classA has a function foo which needs t

How to throw exception when there is extra parameters in request body spring boot

In my last project, there was a requirement for throwing exceptions when the request body contains extra parameters. If the request will be like { "test":"bo

How to remove the Title Bar of Gnome applications

Problem I have one Ubuntu20 Desktop(Gnome) and I want it to be fully black and ideal. As reference, I have taken one Ubuntu20 Server and Installed openbox on it

What to do when pip dependency resolver wants to use conflicting django plotly dash versions of a application?

So I'm trying to integrate plotly with my django app however I'm having an issue rendering a chart. I was using VSCode which did not pick up the dependency conf

Coco-annotator server crashes unexpectedly

I'm running coco-annotator in a dedicated e2-micro Instance on GCP, and it first it was running smoothly, but recently it has been hanging very frequently, and

Is it possible to pick out an item from a list of widget's based on the widget's value in dart / flutter?

I have a list of PopupMenuItem<T> as part of showMenu and I need to access the key for any given item when its clicked. When you click on an item, the sh

WkWebview inside uiScrollview

I was wondering if you can help me please. I have a wkWebview that has horizontal paging content. Outside of that I have a scroll view that also has horizontal

Amazon.Runtime.AmazonServiceException: Unable to get IAM security credentials from EC2 Instance Metadata Service

I'm using .net6 and used docker to deploy into azure but in production, I got the error "Unable to get IAM security credentials from EC2 Instance Metadata Servi

Vertex AI - how to monitor training progress?

Question Is there a way to monitor the console output of model training progress during the Vertex AI training? Background Suppose we have a Tensorflow/Keras mo

How to impl LazyVerticalGrid with set full span or dynamic num of GridCells.Fixed in jetpack compose?

Just like Sliver in Flutter or StaggeredGridLayoutManager in android reyclerview so I can insert a banner or some thing else into grid layout

Epoll_wait() Does Not Recognize Client

I tried to make a simple server-client protocol where the server sends a set of fragmented files to clients, each client gets a fragmented file. I ran into an i

DAX How to return a table based on a condition - workaround for IF to return a table

How to return DAX table based on a condition? The IF function cannot return a table in DAX. IF( 1=1, table_1, table_2 ) It raises an error: The expression refe

Can't access state object in child component with React/TypeScript

I'm a beginner at TypeScript and I'm trying to access my state object (from App.tsx) within Questions.tsx. So I want/need to access for example chosenAmount in

Xdebug:Time-out connecting to debugging client

I am trying to setup xdebug using laravel sail with latest version, on my Ubuntu 20.04.3 LTS desktop, ie php 8.1 laravel 9 with below mentioned details to .env

"Cannot borrow `*arr` as immutable because it is also borrowed as mutable" in a function call

Please someone explain the code below and how can it be unsafe and why is borrowchecker complaining here? I am very new to rust and I come from a little bit of

Can't upgrade heroku postgres from hobby tier to standard

I followed this guide in order to upgrade the plan for postgres: https://devcenter.heroku.com/articles/updating-heroku-postgres-databases#updating-with-addons-u

Why are SwaggerResponse and SwaggerResponseExample complaining about HttpStatusCode?

Every example of SwaggerResponse and SwaggerResponseExample I found uses HttpStatusCode as is, but when I use it like this: [SwaggerResponse(HttpStatusCode.BadR

Return subset of union depending on class in generic function

This is very much like my other question, but this time using classes instead of plain objects. class Error1 extends Error { constructor(message: string, pu

React Virtualized List - How do you use the measureAllRows method on a List?

I'm trying to render my list of data using the WindowScroller and List from react-virtualized, but for some reason, only a portion of my data is rendering. I've

How to Show a Picture in Qt python

How Can I Show A Picture in PyQT6? My Code: from PyQt6 import QtCore, QtGui, QtWidgets class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.

how to run a kivy app on ASUS tinker board?

I am trying to run a kivy app (basic to print hello world) on asus tinker board and i am facing this error. I am new to the kivy app development as well as new

Query - select multiple rows based on condition

I'm a bloody beginner (working with Access). Suppose that I have two tables with data: list of students list of extracurricular activities I have a third table

Communication between multiple users of one extension

I am planning on building an chrome extension that would allow 2+ users communication on different devices. Basically one user would fill out the textarea and s

Localizing an IHP application

Some features of the Haskell web framework IHP produce strings that are sen by the user, e.g. the error messages from validators like nonEmpty, and they are all

Flatpickr inside of Bootstrap modal can not type in year input

I have a problem with Flatpickr rendering in a Bootstrap modal. When I open a Flatpickr entry within a modal, everything seems to work fine except for entering

Offset argument contained a NaN value flutter fl chart line chart

my purpose is to get a data set to plot a line chart using fl chart package in flutter. But i am getting a exception called offset contain nan value.But the off

Labels remain when polygon is hidden

I am using the Autodesk Viewer with the Edit2D extension and working on labels. The strange thing is that labels seem to leave a 'residue' when the polygon is

Preserve state and prevent initState of been called more than once

I have 3 page (all statefull widgets) : Home page Weather page Setting page The things is when i'm going from home page to weather page with a "Navigator.pushNa