Latest Questions

Hibernate : functionnally calling hibernate to recreate constraints

I have been deferring my hibernate DDL usage time after time, from create-drop, to update and now i'm using other tools for database migration, and, while still

update dictionnary through a list

I have this problem in my dictionary I have this list : l=['a','b','c'] so I'd like to append it in my list of dictionary d=[{ "type": "text",

Web API Pagination using List.Numbers Works in PowerBI Desktop but not in PowerBI Service

I have a PowerBI report that uses both a Web URL and SQL Server data. The Web URL only returns 100 rows per page, so I followed this tutorial to loop through t

Integrate Google Analytics directly or via Tag Manager?

I am currently building a large NextJS application. I just need to integrate Google Analytics 4 for the client. Should I rather include Google Analytics directl

TS Types for Google Calander API

So was experimenting with the Google Calendar API and working on it with TS. However, I can't seem to find a proper type for most of its functions. I do know th

Is it there something wrong with tensorflow?

Hello I have being using tensorflow and keras for a while. I use this packages to build neural networks. As I work on CPU I was used to recive a message like th

Issue with the prediction error plot using the yellowbrick library (regression)

I have three models for regression: linear regression: using ols_regressor = sm.OLS() random forest: using rf = RandomForestRegressor() artificial neural networ

CSS Image outside Clip-Path flickers during animations

Basically, I am trying to create a testimonial section with a circular image on left and some text on right. When the testimonial section is hovered the image b

How can I make collapse/expand for selected tags feature in react-select like props "limitTags" in material UI autocomplete

I am using Select in react-select in order to select multiple values. isMulti options={colourOptions} /> How can I make collapse/expand for select

Fix all const warning flutter

How to fix this all const warning in VSCode? It's hard if I fix one by one.

Editable Table functionality in R-Mobile Shiny

I see that datatable works well with Shiny web to have editable cells or rows/columns. They are caught using cell_edit events. But I cant find a similar thing f

Google Cloud Platform | No Cloud Run Services shown on specific region when creating back-end network endpoint group

On Google Cloud Platform, I'm trying to create a back-end service with a new serverless network endpoint group. The region has to be very specific (europe-west3

Typescript: Changing the definition of some third party types d.ts

I am a little bit lost how to do the following. I am trying to change the definitions of some third party types by creating a new file thirdParty.d.ts. Let's su

Select foreign key matching multiple criteria in a joining table (SQLITE)

Preface: this is all in a fiddle here https://www.db-fiddle.com/f/pMLFrz59aeL7B2jUsmTt9X/1 I have a table that contains items (item #100, item #101...) that eac

How can I check if an element still exists in the DOM?

How can I check if an element still exists in the DOM? <div id="parent"> ... <div class="my-class"></div> </div> let parent = docum

Automate user action export

I'm using ASP.NET WEBFORMS and Telerik and I want to export a document with Telerik components. I'm doing this with client export manager of Telerik https://dem

PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: after installing python-certifi-win32

I installed python-certifi-win32 package and after that, I am getting below error, when I import anything or pip install anything, the fail with the final error

Docker build command using Buildkit secrets fails in Gitlab

My Dockerfile (somewhat redacted here) looks like this: FROM python:3.9.9-slim-bullseye WORKDIR /tmp RUN --mount=type=secret,id=token echo "$(cat /run/secret

How to change from reading files to sys.stdin.readlines()

Here is my original code. f = open("p3.in","r") while True: n = f.readline() print(n) if n == 0: break Map = [[0 for i in range(n)] for

I just can't get it. What is wrong in this?

Please see the error and help me. Its showing error. I just can't understand where is the problem?? I have resolved all the errors that could be solved but stil

How do I tell my program to go back to a certain point after the wrong answer is selected?

In my midterm CYA game, you come across 2 staircases, left and right. You have the option to choose which one you go to, the right advancing you and the left (e

Use Envoy for Blue/Green Deployment

I am trying to understand if it would be possible to use Envoy proxy to route traffic between services based on the custom logic. In the example, I found: https

Epipolar line using essential matrix for calibrated camera is wrong

I wanted to get the essential or fundamental matrix for calibrated cameras (R, T, Ks are given). There are two cameras. Is this step correct to get the essentia

split long method in different methods

I have this method: public function createExcel(Task $task = null, Project $project = null, $projectTitle = null) { $this->spreadsheet = new Spre

Why am I Getting Null Pointer Exceptions in My Linked Lists?

Could someone check my code for why I'm getting NullPointerExceptions in various methods? I've been racking my brain and can't figure out what is wrong. I'm att

Double stack linked list segmentation fault

So I've been asked to make a C++ program Double stack with linked list. I can't find any tutorial or example on Google, most of them use Array to do it. so I ha

nginx: [emerg] "if" directive is not allowed here in /etc/nginx/nginx.conf:64

So I am trying to block certain web browsers (not that you need to know) and everyone says to add if ($http_user_agent ~* (Chrome) ) { return 403; } I do all of

Doctrine ODM query by subfield of reference-one [duplicate]

I have an existing MongoDb database: Foo { "_id": ObjectId(123456789), "name": "foo_1", "barId": 123, "sellerId": 456 } Bar { "_id"

PayPal Advanced Card Payments - how to test 3D Secure?

We are implementing PayPal Advanced Card payments: https://developer.paypal.com/docs/checkout/advanced/integrate/ We are in the final stage of implementing 3D S