All Questions

Filter by
Sorted by
Tagged with
0votes
0answers
3views

How can I see the javascript that a webpage executes in order to calculate some number

the title may be misleading a bit but basically what I'm asking is if say for example we have a webpage that calculates the area of a triangle. And the formula is some type of javascript code executed ...
user avatar
0votes
0answers
7views

Jetpack Compose - How to search and display specific data from room in LazyColumn?

I want to fetch data from room table using a search query and present the result in LazyColumn instead of the main list I present there. Below is the basic setup: //*****data class @Entity(tableName =...
user avatar
0votes
0answers
4views

Apache mod_proxy_html and brotli compression

I'm using mod_proxy_html in a Reverse Proxying scenario. It has served me well for years. Now that the backend apparently has started to support Brotli compression it no longer works. My config looks ...
user avatar
  • 16.8k
-2votes
1answer
11views

Is there a 'protected' analog in golang for accessing an embded structs private methods?

In Java/C++ you can use the 'protected' to make private methods/attributes of base classes accessible from inherited classes. I noticed in Go there doesn't seem to be anything similar. If that's the ...
user avatar
0votes
0answers
9views

Reverse for 'temp1' with arguments '('',)' not found. 1 pattern(s) tried: ['userinput/(?P<id>[0-9]+)/\\Z']

I just want to retrieve data dynamically. urls.py I think there is something error in views.py or urls.py from django.urls import path from . import views urlpatterns = [ path("", ...
user avatar
0votes
0answers
10views

This keyword and event handler this keyword [duplicate]

Why does this point inside array.forEach as window object. I understand this is because its a callback function .If so in case of event handlers also where we pass the handler function as a callback ...
user avatar
-3votes
0answers
14views

How do i start another python script(pygame) and when the game window is open go back to the program but the game should still work

This code starts my game inside of my voice assistant: elif Answer1.lower() == 'game5': import snake snake How do I start the game window, let the game work but go ...
user avatar
0votes
0answers
7views

redirect to react-router-dom hosting. For example github

I'm trying to make a redirect. It works on devServer, but I can't configure it to work on GitHub. const App = () => { return ( <> <Routes> <Route path="/&...
user avatar
  • 109
0votes
0answers
7views

Upload *.csv to be consumed by azure function

I have an azure static web app. I want to upload a daily generated *.CSV file from local, convert it to *.json format with azure functions (daily aswell), store it and then pass it to the static web ...
user avatar
-1votes
1answer
13views

dropna function on python

Please can anyone help explain why this code below keeps returning an error message? df2 = pd.read_csv("data/colombia-real-estate-2.csv") df2 = df2.dropna df2.shape The error message says: &...
user avatar
0votes
0answers
14views

Loop table row dynamically (Class Shedule Maker)

I am trying to make a student class routine from mysql data using php. Where each table row (day name wise like Monday, Tuesday) I have to put day's name manually, I want to loop table row dynamic <...
user avatar
0votes
1answer
10views

Inline event handler in Vue.Js with dots in the name [duplicate]

I am building a SPA using the latest versions of Vue.js 3 and Bootstrap 5. In the main page I am using the Boostrap Offcanvas element with a code that is very similar to the one in the documentation. ...
user avatar
  • 166
0votes
1answer
12views

Annotating (adding the values) to figure plot on seaborn (line and bar charts combined)

I have below code that produces the graph but my question here is how to add the values (numbers) to the bars and the markers on the lineplot? import pandas as pd import seaborn as sns import ...
user avatar
  • 1
-4votes
0answers
9views

As a solidity dev, how does Earth2.io work? [closed]

As a developer, I want to understand the technical aspect of how Earth2.io works (the on-chain/offchain deployment)?
user avatar
  • 13
-1votes
1answer
6views

How to delete/clear old commit history from pull request?

After a pull request and merge from my remote origin branch to upstream, I deleted the branch from my remote, but I rename the local branch and keep working on it (which I think is the reason why I ...
user avatar
  • 127
0votes
0answers
4views

how to set width of bootstrap crausal in react

how to set width of bootstrap crausal in react when we do full width the image is strech <img alt="..." /> <h5>First slide label</h5> <p>Some ...
user avatar
0votes
0answers
4views

Solidity Smart Contract on Tron - error on get contract with tronWeb

I've developed a Smart Contract on Tron ShastaNet. A previous similar contract was generated, and using it with tronWeb I don't have any issue. With this new contract, I got this error on Browser ...
user avatar
  • 83
0votes
0answers
6views

sqlsrv_fetch_array($stmt, SQLSRV_FETCH_ASSOC) returning all but empty records

I am creating a php API that fetches data from a stored procedure, the stored procedure is working fine on Dbeaver (retrieving records with values) but my api is retrieving null values without any ...
user avatar
0votes
0answers
9views

Matplotlib plotting values as linear function

I have two random variables x (sorted in ascending order) and y, each with 10 points. When I try to plot the two variables using plt.plot(x, y) I get the following linear graph. Why does that happen?
user avatar
0votes
0answers
5views

Ubuntu 20.04 frozen, keypad and touchpad were not working, and issue persisted after force shutdown and normal boot up [migrated]

I am using Ubuntu 20.04 and dual booted on HP laptop. I booted Ubuntu during startup and everything started up like usual. However, the screen seemed to freeze, touchpad/mouse and keyboard were all ...
user avatar
  • 75
0votes
0answers
3views

How to start calculations from first non 0 / non empty value in Tableau

I have a dataset on which I applied calculations to calculate the number of NULL values, the number of the maximum period with NULL values, etc... I would like to adjust the calculations so the ...
user avatar
0votes
2answers
38views

how can i return map inside map

I am trying to render the data I received from my json data with the code I wrote. my all code: import * as React from "react"; import PropTypes from "prop-types"; import Tabs from ...
user avatar
0votes
0answers
15views

discord.py command is broken

When I run my code it gives me errors such as channel is not defined. To use this code all you do is run the command in the channel you want the message in and, when you add the reaction to the ...
user avatar
  • 13
0votes
1answer
12views

How to structure firebase firestore database?

I am developing a react native(Expo) travel app in which the admin add all the places and destination category wise my question is how can I add places category wise in Firestore in react native and ...
user avatar
0votes
0answers
6views

How to handle theme changing when using android:configChanges="uiMode?

I am using android:configChanges="uiMode" to avoid recreating my activity but I have a problem with theme changing, here is my Light theme file: <resources xmlns:tools="http://...
user avatar
1vote
1answer
17views

(.net) Unexpected offest when call DateTime.Today.AddDays

I have a test that started to fail today, after a little investigation I found that the returned date differ by 1 hour, more precisely it results to have 1 hour offset (the current offset I have in my ...
user avatar
  • 1,967
0votes
0answers
3views

module resolve problems with React

So I'm having a problem with my modules. enter image description here my folder structure: my-app --app.js --src -- src/components -- src/components/Home -- index.ts (which has an ...
user avatar
0votes
0answers
9views

Redirect to user on specific area after login based on there role

i am creating web application using dot net core 6.0. application contain two type of user one is admin and second is simple user area. i want that when user is login base on there role he/she ...
user avatar
1vote
2answers
18views

how to lookup approximate in DataFrame Pandas?

I have a lab with 2 dataframes as below: df1 = df1.head(10) HT D 0 A BL 1 B 0 2 C NaN 3 D 2 4 E 3 5 F NaN 6 G 7 rng.head(10) Range ...
user avatar
0votes
0answers
11views

Find the distance between 2 stations and get all the stations that join the stations

Here is the metro Images as you can see So what i am thinking to make a metro app so i found that how to find stations between two stations. So i found that from some answers that djkshrtas algorithm ...
user avatar
  • 149
0votes
0answers
6views

how do I populate column 2 randomly from column 1 in this example array?

How can I populate column 2 with random from column 1 and column 3 with random from column 2 .... etc .... after column size is 1 ? Check if there is the same number on the column and display them in ...
user avatar
  • 23
0votes
0answers
11views

SQL injection attack. Best possible defense review

For the last few days my logs have been revealing an attack on my system. I don't know what they are trying to accomplish? They seem to be attacking my style sheets only with GETS and POSTS to them. ...
user avatar
  • 176
0votes
0answers
10views

Ugly font when complied application using Qt 6 in Linux

I compile a simple QT GUI application with Qt 5.15.2 and Qt 6.2.4 in Linux Ubuntu 20.04.4. As you see in the below figure, the font of the application compiled with Qt 6.2.4 (Right Fig) is bigger and ...
user avatar
0votes
0answers
8views

(Android-Mapbox)Failed to resolve: com.mapbox.navigation:android:2.3.0

I am trying the implement the navigation API of Mapbox into my android application. However, I have encountered the following issue: Failed to resolve: com.mapbox.navigation:android:2.3.0 May I have ...
user avatar
0votes
0answers
6views

Line extraction problem with Hough Transform on OpenCV Python

I am trying to extraction lineaments on DEM images using cv2.HoughLinesP with OpenCV (Python) but it's plotting lines onto DEM. I think I'm missing out some points about extracting just lineaments on ...
user avatar
0votes
0answers
6views

Optimise YouTube data API calls

I'm using the YouTube Data API to fetch a list of videos for some of my favourite channels. Functionally, it's all working great but I am hitting the daily quota now that the list of channels I am ...
user avatar
-1votes
0answers
9views

Does anyone know why paintEvent is not working?

I have a code here that would display image that has zoom and pantool function. I added the paintEvent fucntion so that I can draw on top of the image while it is on zoom state. Does anyone know how ...
user avatar
0votes
0answers
6views

Anaconda / Python / ExpainerDashboard / KeyError: "Couldn't find field google.protobuf.FieldDescriptorProto.proto3_optional"

Created a new virtual environments with python v3.7 by anaconda navigator. Installed explainerdashboard by conda forge.(conda install -c conda-forge explainerdashboard) Got the following error when I ...
user avatar
0votes
2answers
15views

How to create a Many-to-Many Relationship with unique column of a specific value using MySQL

I want to create a User which has multiple Items but only one item of a specific type. The tables will look something like this. 1st table: item id type name 1 first name1 2 first name2 3 normal ...
user avatar
  • 1
0votes
0answers
2views

JXLS2 remove header when filter condition dataset is empty

i am using jxls2 , and I'm trying to hide a header row, if a dataset after filter is empty.
user avatar
0votes
0answers
4views

Finding recurrence relation with a loop and complexity

I am trying to learn recurrence relations and their time complexity. Please kindly let me know if i am missing something. g(n) { if (n == 1) return 2 else for( i = 0 ; i < n ; i++){ //stmt ...
user avatar
  • 13
0votes
0answers
9views

Why does Vue3 need source element in the audio element?

can play mp3. Vue 2 version. but doesn't work with Vue3. <template> <audio src="../file_example_MP3_700KB.mp3" controls ></audio> </template> It needs to ...
user avatar
0votes
0answers
12views

How to increment the HTML <th> and <tr> tag in php loop

I want to display data in HTML Table format as shown in screen shot below. Every report has many different time. For each time mysql table has different student details. The time are supposed to be ...
user avatar
0votes
0answers
7views

Do any1 knows how to fix this display terminal problem?

I have problem with terminal text display. Like u see on the photo some of text(links at most) are not visible until I put cursor on it or mark this part.This is so annoying and i can't handle that. ...
user avatar
0votes
0answers
9views

Oracle Database Change Notification Not Working For JDBC

I am using Java 8 and using oracle version as the Oracle Database 12c Enterprise Edition Release 12.1.0.2.0. We are using below driver to connect to the database. <dependency> <...
user avatar
  • 599
0votes
0answers
6views

Cloud Run, domain mapping only www available

The www mapping succeeded very smoothly, but the default url mapping is not available. In cloud run, 4 A records and 4 AAAA records were provided, but the problem is that the domain provider I use can ...
user avatar
  • 31
0votes
0answers
5views

I have a problem that file encoding for arabic to utf-8

I have a problem that file encoding for arabic to utf-8 in vb.net i want know how can i do it thank you all Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click End ...
user avatar
0votes
0answers
11views

How to manage message visibility timeout effectively?

We have a process that takes from 30 seconds to 5 minutes depending on the event. Our base architecture looks as follows (python 3.9, boto3 to send_message to sqs): lambda function A looks up to the ...
user avatar
  • 1
-1votes
0answers
3views

How to build a dist file with index.php using gulp

I'm using pug and gsap in my project and I would like to create a build file to delpoy it. After running gulp build, there's no index.php file in the dist folder. Can someone tell me what should I do ...
user avatar
0votes
0answers
10views

Test neural network with less input variables than trained network - Classification of longitudinal (time-series) data

Short problem forumlation: I'm classifying longitudinal data using neural networks in my master thesis. I have samples from two one-dimensional curves at 12 evenly spaced time points, 100 samples per ...
user avatar
  • 183

15 30 50 per page