text
string
meta
dict
Q: Unable to resolve: The class 'DatabaseHelper' doesn't have a constructor named '_privateConstructor' I am unable to resolve The class DatabaseHelper doesn't have a constructor named _privateConstructor. Try invoking a different constructor, or define a constructor named _privateConstructor. error, in my provider, e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75564969", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I find p-value of 100 samples I have used this code to find the t-value how can I find p-value of 100 samples. sample_mean = 12.75 sample_std = 2 sample_size = 100 pop_mean = 13.04 t_statistic = (sample_mean - pop_mean) / (sample_std / np.sqrt(sample_size)) A: To find the p-value from the t-statistic, you...
{ "language": "en", "url": "https://stackoverflow.com/questions/75564970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Separate date from a column and store in a new column I am trying to separate date from one column and trying to put the date in another column but the new column is horribly wrong when I compare the dates in both columns. I am attaching pic below. I am separating date from the started_at column and storing it in th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75564971", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Get error while trying to parse into a JSON object I want to build a payment API but I always get the following error: {"Unexpected character encountered while parsing value: e. Path '', line 0, position 0."} The code looks like this: var priceAmount = txtBoxTopUpBalance.Text; var client = new RestCl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75564977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Curl Sending requests This code sends requests successfully. I want to generate this error [CURLE_SEND_ERROR] what can I modify in code to make this error appear. Is there is option can I do to make the request fail? code Is: if(strcmp(XMLFILE, SIM_INFO_RESPONSE_JSON)==0) { curl_easy_setopt(pCurl, CURLOPT_TIMEOUT, 5...
{ "language": "en", "url": "https://stackoverflow.com/questions/75564980", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I make an responsive image slide on background image using bootstrap 5? i can add only caption on a image slide not an image instead of caption
{ "language": "en", "url": "https://stackoverflow.com/questions/75564986", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Tech stack for the Huge API request standalone Service? We are making a standalone api service which will get the sync requests via POST method and send to scraping servers for scraping job. As you know scraping takes some time due to that api will be waiting for the response to be returned. The problem is that what...
{ "language": "en", "url": "https://stackoverflow.com/questions/75564990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Working with Mongo data is not entered into database Is there any things i should add earlier for referenece.... I have tried many solutions from everywhere var express = require('express'); var router = express.Router(); var MongoClient = require('mongodb').MongoClient; /* GET home page. */ router.get...
{ "language": "en", "url": "https://stackoverflow.com/questions/75564993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python FastAPI server - Streaming in-memory images to HTML5 element Goal I'm trying to stream in-memory images from a Python backend written in FastAPI to a HTML (Vue3) frontend. However, I cannot get the video element to display the stream of images like a video. Minimal example attempt As a minimal example, I cre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75564994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Filtering instance based on absense of a label or a tag I want to make a filter for (service discovery in Prometheus, but it's not important here) based on 'opt-out' idea: everything is 'in' until explicitly asked not to. (The reason that is I don't want to run around and putting opt-in label on everything). My idea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75564998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why MOVZX r64, r/m8 behave like MOVZX r32, r/m8 Here is the code snippet int main() { unsigned long int ui64{}; unsigned char ui8{ 0xAA }; unsigned short ui16 { 0xBBBB}; ui64 = ui8; ui64 = ui16; } Here is the opcodes that will need MOVZX—Move With Zero-Extend ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeError: Network request failed, when fetching API request I am encountering an error when fetching a locally deployed API(Firebase). Pasting the API link in the web browser works, but not in my react-native app. When calling the function, it returns a Network Request Failed Error, when I check in the Debug, there...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert to string I have a variable that has the type <class 'dict'> but I need to convert it to str in python. Could anybody be of help here? Sincerely
{ "language": "en", "url": "https://stackoverflow.com/questions/75565004", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: DropdownButtonFormField Rendering issue I am doing a project in flutter web and I created a widget of DropdownButtonFormField. I am trying to do is that I select values from the dropdown and save them into the database and the next time when a user opens that page I fetched the saved values from the database and ass...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565005", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to interact with prefab instance independetly to other its instances? I am new in C# and Unity3D and I'm struggle using events so I need HELP. So I'm making hypercasual game to improve my skills. In the game I want if player hits an item to different things happened. For example: triggering bomb collider will de...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating a new window in a GNOME extension tl;dr How do I create an empty window in a GNOME extension? Context I'm working on an extension that will manage several windows within one. One of the first things I'm trying to achieve is to create a new empty window. What I've Tried I've found an example that does exactl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: If there is no more given inputs of numbers in a program, how will I stop it? calculate the sum of digits of a given input of numbers I can write: sum = 0 while i < n: sum = sum + i i = i + 1 print(sum) What would n be though or how do I clarify that the in program? Was this just a badly written question by...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Displaying steady_clock::now() using fmt library I'm able to display the current time using C++ fmt library using std::chrono::system_clock and std::chrono::high_resolution_clock but unable to displaying time using std::chrono::steady_clock. Here is the minimum reproducible example: #include <iostream> #include <fmt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Для логина через Facebook обязательно иметь собственную фирму? Настроил кнопку логина через Facebook. В Scope запрашиваю только Email. Но у меня показывается, что "Некоторые из указанных ниже разрешений не были одобрены для использования Facebook.". Что мне нужно сделать, чтобы это уведомление убралось? Или вход че...
{ "language": "ru", "url": "https://stackoverflow.com/questions/75565015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Given an array of sub-arrays how to identify the longest set with disjoint elements? I'm looking for an algorithm for a problem I have to solve, I try to give a definition but then I also give an example because I'm not a native speaker and this definition seems to me hostile :) Given an array of sub-arrays of integ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565017", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Mapbox GL JS, how can I move the logo AFTER the map has been constructed link to show logo position being set on construct (https://i.stack.imgur.com/3sXeW.png) I know how to reposition the Logo when created but how can i alter the location after. I have a bounding box and I can work out the best place for the logo ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565019", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PyQt5: How to bound 2 combboboxes and 1 spinbox correctly and without errors? My idea is that when the user selects a car make, after that "car_model_combobox" is changed according to "car_make_combobox", after that when the user selects a car model, "first_registration_spinbox" sets the minimum value that the curre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565020", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: fixing cannot get required symbol SSL_set_alpn_protos from libssl ASP .NET 7.0.103 MVC application is deployed to Debian Linux 8.11 (jessie). Kestrel server with Apache proxy is used. Publish settings in latest Visual Studio are: Trying to run it in Linux throws error Cannot get required symbol SSL_set_alpn_protos ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565022", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java.lang.IllegalArgumentException: Cannot locate declared field class org.apache.http.impl.client.HttpClientBuilder.dnsResolver Reference: https://devpal.co/blog/web-scraping-with-java-and-htmlunit/ I am doing exactly same steps as mentioned in the blog but getting error java.lang.IllegalArgumentException: Cannot l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565026", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NGINX Proxy pass, redirect all to one route I want to redirect all request to specific servers for example: /f - redirect to localhost:8001 /c - redirect to localhost:8000 /c/test - redirect to localhost:8000/test I try this code but all request to any url nginx will redirect to /c and proxy pass to localhost:8000 s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565028", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: does python allows elif statement without else statement? While teaching python to a friend i tried this statement : val = "hi" if (val=="hello") or ("w" in val): print("hello") elif(val=="hi"): print("hi") And to my great surprise it worked. I always tought in Python you couldn't do an elif without e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565030", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Package 'PresentationFramework 4.6.0' was restored using '.NETFramework,Version=v4.6.x instead of the project target framework 'net7.0' Package 'PresentationFramework 4.6.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETF...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565036", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Firebase Auth REst Api - deleteProvider idToken problem I have such a problem: by FIrebase Auth Api I want to remove Provider so i use this code: curl 'https://identitytoolkit.googleapis.com/v1/accounts:update?key=[API_KEY]' \ -H 'Content-Type: application/json' \ --data-binary '{"idToken":"[FIREBASE_ID_TOKEN]","del...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to solve TypeError: Cannot read properties of undefined (reading 'finally')? What's the problem in my code? Console show these error and i don't get where is the problem (i'm a newbie in coding, still studying): checkUserAuth.js:9 Uncaught TypeError: Cannot read properties of undefined (reading 'finally') im...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why are dates not appearing in my ag-Grid table? I'm building a web application that uses ag-Grid to display data, including dates. The dates are in the format "YYYY-MM-DD", but for some reason, they are not appearing in the table. I have set up the date filter using the agDateColumnFilter, and I have also provided ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565043", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to make this code to export the index.js log to mysql not inside virtual machine I don't know node js and i want to make this code log the redirects on mysql not on local file and to remove the creation off a new log with the date every day. Just to connect to mysql and create the table that it needs. const f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PointerWheelChanged not fired when use touchpad in ListView with WinUI3 I use winUI3 to build my app and use PointerWheelChanged event in ListView to capture mouse wheel but it only works with mouse device but not with touchpad. Thanks A: That is because touch pad is no longer firing PointerWheelChanged events. He...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565048", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: flutter - make menu or widget on keyboard like telegram chat when clicking on item that will focus on item and show you a menu if keyboard was up , the menu will goin on keyboard is there anyway or idea to make something like that ? the result picture i'm looking for that https://i.stack.imgur.com/CxyUu.jpg
{ "language": "en", "url": "https://stackoverflow.com/questions/75565049", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Decode and Decompress a Script I have a script that its encoding with PowerShell and compress... This is the code I have: <script language="VBScript"> window.moveTo -4000, -4000 Set kOovC = CreateObject("Wscript.Shell") Set dMO2BNvEvl = CreateObject("Scripting.FileSystemObject") If dMO2BNvEvl.FileExists(kOovC...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular and Ionic 6 Can't bind to '{ngModel}' error in console for ion-textarea I have an Angular 14 + Ionic 6 app where i have an ionic <ion-textarea> item. The app compiles corectly but in the browser console I keep getting this error: Can't bind to '{ngModel}' since it isn't a known property of 'ion-textarea' (u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JavaScript Flood Fill RangeError I'm developing a painting application with JavaScript and I need to add a paint bucket tool as well. For this, I did research on the internet and implemented an algorithm I found in my code, but this algorithm revealed an error in my code. When the area to be painted is large, I get ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gmail account got hacked after getting virus on my PC, can I do anything? Like the title says, my primary Gmail account got hacked, because I got virus on my PC (attached screenshot below), the recovery process from Google is not doing anything and I don't have my backup codes. Since I couldn't find any contact to G...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How configure the certificate when the octt (OCPP Compliancy Testing Tool) as the central_system use costume certificate? My project need to implement the ocpp tls , so i write the server and client using nodejs. And i use the costume certificate , i add the certificate to the server and the client , they can connec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565063", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiple Conqurrent Request Pause with axios-auth-refresh not working I'm trying to implement, whenever request gets 401, axios will call refresh token end point and remaining request will pause during this process and with refreshed token, they will be called again. Because of this I'm using axios-auth-refresh. Fir...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting java.awt.AWTError: no screen devices on Windows Nano Docker Image When running unit tests which try to invoke java.awt.AWT components within the windows nano docker image getting the following error : java.awt.AWT But the same test is passing windows server docker image. So is there any way we could try and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Sprite Looking At Cursor For A Shooting Game Using LÖVE2D In lua and LÖVE2D , I wanted to try to make a simple game about shooting enemies, in which player stands still but looks (points) at the cursor so it can shoot the enemy when you point at it with cursor. This is my code. It doesn't work. local data = {} push ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565069", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Merge two arrays of object by object key value I want to extend my array of objects by items from another array of objects by identic ids I try to make it with array.map function but result is not as i expected My arrays: [ { "objectId": 330, "items": [ { "status": 0, "id": 20, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565072", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Remove from RecyclerView specif item Kotlin/Firestore Hello i don't know how to remove specific item in firestore database. I already have position of this item but don't have an id of document. variable "product" is a position of this product in firestore database. fun deleteItem(product: Int) { db.collection("...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create Prisma model with related item Here I have two models, a venue and an address. Would it be better practise to have the venue address within the venue model or is it best to keep them separate? The second question would be how do I create a venue with a linked address? Having read the Prisma documentati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565076", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting index counter on a data frame I have the following data frame: import pandas as pd data = { "id_1": [1, 1, 1, 2, 2, 2], "id_2": [1, 1, 1, 2, 2, 2], "foo": [0.1, 0.1, 0.1, 0.2, 0.2, 0.2], } df = pd.DataFrame(data) df = df.set_index(["id_1", "id_2"]) which looks like this: foo id_1 id_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: React native - Click not triggered on Pressable when keyboard is up I'm essentially creating a very simple searchbar. The component is just an input followed by a list of results. Here is basically the whole component: interface Props { items: { id: number; label: string }[]; onChange: (itemId: number) => vo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565079", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python tkinter how do i get a result with my variables? I want to create a program that calculates the result from the variables I entered. But error messages are output again and again. Can someone explain where the error is? Thanks a lot # definition of the entry boxes Hoehe = tk.Entry(frame, textvariable=Hoehe) H...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565080", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why my code is not showing receiver message? Receiver is unable to see receiver message. The sender can see his messages but he is unable to see receiver message. Can anyone solve my issue I think my query is correct but I can not solve my issue .If the issue is with query please make the query in correct way. Here ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to remove elements from array of dates between hours ranges Rails? My array is generated by the start_date = (Date.today + 10.hours + 30.minutes).to_datetime end_date = (Date.today + 1.day + 18.hours).to_datetime period = 0.5/24 array = start_date.step(end_date, period).to_a this is the resu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565086", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I release my api for anyone to consume? I have a server made in go, gin and libpq, my front end is trying to consume the api but it is giving an error.. this error: Access to fetch at 'https://--brapoio-t.azurewebsites.net/-/-o' from origin 'https://localhost:8080' has been blocked by CORS policy: No 'Acce...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any R function for plotting dynamic systems Is there any R package which can be used to plot variables of giga size
{ "language": "en", "url": "https://stackoverflow.com/questions/75565088", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Expect-CT header per lighthouse When I run lighthouse, I'm told the following: Deprecated Feature Used The Expect-CT header is deprecated and will be removed. Chrome requires Certificate Transparency for all publicly trusted certificates issued after April 30, 2018. It tells me that one resource is affected, and it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Set a maximum memory limit (RAM) for R programs using Arrow package I would like to know whether it is possible to set a limit in terms of available memory (RAM) for a program written in R that creates Parquet file using Arrow package (exporting dataframes to Parquet). In a database like DuckDB which also allows to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu) I tried all the solutions I could to solve this...but still no luck. Here is the error I am getting. results = self.trainer.run_pretrain_routine(model) File "/mnt/beegfs/scratch/nahmed/eICU-GNN-LSTM_working/env/lib/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565097", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Postgresql slow on simple filter I had a largeish table (5 megarows) with log data which was getting slow so I pruned out old stuff down to 1.5 megarows, vacuumed it and performance went up. Next day, it's slow again! Row count good, table vacuumed. Even a simple count(1) with one where takes 40. No configuration ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565100", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: com.google.firebase.database.DatabaseException: Can't convert object of type java.lang.String to type com.edushare.edumathh.home.kelas.model.Kelas com.google.firebase.database.DatabaseException: Can't convert object of type java.lang.String to type com.edushare.edumathh.home.kelas.model.Kelas My app crash when i am ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apache VirtualHosts: subdomains of Domain1 point to content of Domain2 I'm using Apache2 on CentOS7. I have two domains configured with Virtual Hosts. Both domains correctly respond using www. and serve the right content. However, when I call any domain of domain2 (eg. http://anything.domain2.com), the content being...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python-docx table 'list index out of range' I tried to use Python access a table in docx file using Python-docx package, but got 'index out of range' error even the table have more rows/columns, see code & error in the image
{ "language": "en", "url": "https://stackoverflow.com/questions/75565105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add custom elements to a SUMO map? I perform a OSM query for retrieving highways. That I later convert in SUMO with netconvert and polyconvert. This stage works fine. Now, I have a set of Antennas I want to show on the map. I've tried to look online but I'm unable to find a solution. Each antenna has a lon an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why is one instance's CPU at 100% on my ElasticBeanstalk Environnent? I have an ElasticBeanstalk environment setup which scales up to 6 instances. All of the 6 instances are more or less receiving the same request, but regardless of the number of requests received one instance says it's using 100% of the CPU. I've ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Driver:org.testcontainers.jdbc.ContainerDatabaseDriver@27f6854b returned null for URL:jdbc:mariadb://localhost:32785/test I'm using Testcontainers to test my REST services, by default testcontainers jdbc mmodules (I'm using Mariadb) create a single schema but I need two; so I've created a customized image FROM maria...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565111", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element Even tho its there I've been trying to access this element I have tried XPATH, CSSSELECTOR and none worked. I'm trying to acces sitekey= and pass it into a variable. I'm expecting the function to return the sitekey ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Snowflake SQL - Conditional Insert into satement only If there is no row with particular value I want to do conditional insert in one table i.e * *If the table's column does not particular value then insert row based on *Where clause from other table I tried this query in snowflake but it throws error as Unexpe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565114", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: dart_frog: Parameter likes is not a list I'm trying to fetch data from PostgresSQL deployed locally using Docker Image. Package used * *dart_frog -> Backend *stormberry -> ORM I've used dart_frog ask backend. Now, I inserted following data in postgres using Postico client: As an ORM I'm using stormberry, for pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565116", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Qemu restart when I reload the segment registers with Rust inline assembly I'm currently writing a kernel and I have troubles understanding how to load the GDT. In particular, I tried the following code, but the kernel reboot when it hit an mov R, ax instruction with R any of the segment registers present below, or ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Django - authenticate() returning None even if user exists in database and the credentials are correct authenticate() returns None for credentials even if the user exists in the database and the credentials are correct. The function for registration, register(): def register(request): registered = False ctx ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565121", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't run Ktor project When I am creating a Ktor project in IntelliJ without adding any plugins (just clicking next) and run the project it works, but with this message 023-02-24 22:16:07.940 [main] INFO ktor.application - Autoreload is disabled because the development mode is off. Even when I write this in my buil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565124", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nginx proxy (or any other else) in Windows 10 I have Docker container (Ununtu) in my host mashine (Win10). And actually I need to use this container as a proxy for some requests in the internet. For example I am making request to https://host1.com/create?test=10. And I should not connect this resource directly. I wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Managing Manually Entered Data with Liquibase I'm looking for guidance on the best strategy for managing manually entered data with liquibase. Scenario: * *I have a java application which connects to a database and presents a UI. *I need internal users to manually enter data via the application. These users are n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565126", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: XML replacement with FLTTER I have designed for Login, registration, and forget password ... I also developed Android SDK Now I have a difficult task, which is to replace the Layout XML with Flutter I tried to include the SDK inside the Flutter project, but there are some problems in including libraries and versions...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565128", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: predicting next word using n-gram model NLTK I am trying to run the code for N-Gram Language Modelling with NLTK which is taken from https://www.geeksforgeeks.org/n-gram-language-modelling-with-nltk/. But it is throwing an error. # generate frequency of n-grams freq_bi = FreqDist(bigram) freq_tri = FreqDist(trigram)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565130", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When p-autocomplete is used inside p-accordion, space bar does not work on autocomplete. It toggles the accordion When p-autocomplete is used inside p-accordion, space bar does not work on autocomplete. It toggles the accordion. Need to ensure spacebar adds space in autocomplete. Am using Angular 13 with prime ng 13...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565132", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Moving sidebar to top in mobile instead being bottom as default with css/ php on wordpress Siderbar showed top bottom on mobile, so i moved it with css with this @media screen and (max-width: 450px) { .col-full { position: relative; } div#primary { float: left; width: 100%; margin-top: 100%; } div#secondary { float:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular - Toggle sidenav open/close from within the sidenav The Angular materials sidenav can be toggled open using a hamburger button on the nav menu. However, when the side menu comes out there is no X button to close it. You have to "click off of it" to close it. I would like to place a button on the sidenav that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565137", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Encoding a tree with serde_json I'm new to Rust and have a project that requires specifying a config that is a tree. In JSON this would be like: { "a": { "d": { "val": 10 }, "e": { val: 20 } }, "b": { "val": 5 }, "c": { "val": 1 } } Here the root has 3 children "a,b,c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: react router dom 6.8.1 nested routes What am I doing wrong? Why doesn't it go to the page "/block/:blockNumber/transactions" constantly hits the page "/block/:blockNumber". I tried it in different ways, but I don't understand why it doesn't go to the right page <Route element={<Layout />}> <Route path={RoutesEnum....
{ "language": "en", "url": "https://stackoverflow.com/questions/75565139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to matched a pattern of only static files with all modified changes to run zappa command in github action? In yaml file, how to run zappa command manage dev collectstatic --noinput and if condition for matching only static files pattern?### name: CI/CD on: push jobs: deploy: runs-on: ubuntu-latest steps: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565140", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to add a subquery to ANY operator in Postgresql The below query works well, it returns all the receipts which are composed of ingredients which can be found at home. The ingredients which are at home are: yiest, oil, flour, salt, water: SELECT * FROM receipts WHERE true = ALL( SELECT name ~~* ANY('{%yeast%,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565143", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Node JS : add optional filters with MySQL I'm trying to make a backend for an app And I try to add filters on the link of the site But how do I make the filters optional To be able to use it in the link or not I did a solution but there is a problem It fetches me data, but then stops the server exports.getUsersList ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565145", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a secure way to use Redis with a Next.js app hosted on Vercel? I spent a couple of hours yesterday trying to find a way to use Redis with an app that runs on Vercel. According to Redis docs on security, it is not a good idea to expose a Redis instance directly to the internet: Redis is designed to be acces...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565147", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Oracle apex items empty space when specifying item width I am trying to position 2 items side by side, but one item has a fixed width of 2 characters and when the width is specified the items are not "glued" together in runtime. Is it possible to achieve this? I am using Oracle APEX 21.2.8 A: This depends on seve...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Amazon SES API quotas of SendBulkTemplatedEmail I know that the destination of the SendBulkTemplatedEmail method can include up to 50 email addresses. So if I have more than 50 destinations, I will need to call this method several times. However, according to the documentation, the Amazon SES API also has the follow...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: why else statement cannot run in loop for C? Here is the code and when I run it, the statements show that the loop cannot jump into else function. I am not sure which part of code is wrong. bool isPalindrome(char A[], int n) { int flag = 1; int i; for (i = 0; i <= strlen(A); i++) { if (A[i]...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565163", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Cannot change Tailwind styles using variables in React I am building a skeleton which is consisted of 1 big div and 8 small divs. And to that small divs I want to give different widths. I did styling with variables like in my other component, but while mapping It does not work, Tailwind just not apply those styles. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565164", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I center an element? margin auto is not working and what should we do? enter image description here enter image description here
{ "language": "en", "url": "https://stackoverflow.com/questions/75565169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Spring - Is it possible to inherit a RestController with its RequestMapping Let's say I have a parent entity Vehicule and some children entities Car, Bike, Ship, Plane. I have one generic repository which handles all entities: public interface VehiculeRepository<T extends Vehicule> extends JpaRepository<T, Long> { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: : java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setId(int)' on a null object reference IDE points to: setContentView(R.layout.activity_main); it worked fine before and I reverted most of the changes, but it still won't work. Edit: Layout is not null. Edit 2: Added Stacktra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565176", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Serilog does not see configuration updates if the configuration is changed programmatically This is what my Serilog configuration code looks like. reloadOnChange is true. If I manually change the serilog.json file with the Serilog configuration, everything works. But if I change the serilog.json configuration file p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565178", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Possible to simultaneously run mongo cluster on AWS EC2 & AWS DocumentDB? We currently have a mongodb cluster of 3 EC2 servers setup on m5.xlarge instances. All 3 are standard RIs. The issue is that when particular queries are run, the server's CPU utilization goes to 99% & eventually it either slows down or stops. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why my game don`t take input from my script I have a problem with this script when I try to simulate I press key '1' from keyboard, script works properly in application like notepad/word but in game (Metin2 for example) doesn't work. Please explain me, I have a week science I try to resolve this problem. I try this ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565180", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: highlighted space display I have a question concerning vscode. A very simple one. why do I have highlighted text in python code (jupyter) as in the photo joined ? How can I cancel it ? A: You can use @installed to view the installed extensions in the extension store. Disabling the extensions related to this functi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: post method not getting form data in live site I have one php file, In this file, I have one form. I set an action after submit the form to navigate to another php file page1.php. I enter form fields and submit the form. <form id="form_data" action="page1.php" method="post" class="contact-form"> <div class="col-lg-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set css values from PHP variables in Wordpresss / Divi In my functions.php file is set colors with a color picker. That works because i see the color's hex when i echo them: <?php echo esc_attr( get_option('primary_color', '#ffffff') ); ?> Then i have the dynamic-css.php file that should set the H1 color acco...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565187", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kubernetes pod reach external resources identified through FQDN Kubernetes cluster is running on a node (Virtual Machine) which gets its network configuration from a DHCP server (this includes DNS settings). From within a pod I need to be able to reach external resources identified by FQDN. The DNS on the K8 node (V...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565189", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How would you set set device wallpaper from kotlin code I tried to google if there is any composable function or method that would help to set android device wallpaper from image available in the project drawable resource or through API but I didn't find any Most of the results available where javar or xml results I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565191", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: When should I close response for Interceptor? I have a Flink Job that is making a POST Request and an Interceptor that's handling 429 error code. Somehow I'm wondering if I need to close the response in the Interceptor. Sometimes I'm facing a warning about closing the response, and I want to ensure that the code is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to retrieve variable from Spinner to use it in RecycleView? I'm a kivy beginner and i cant retrieve this damn spinner variable. I'm a bit confused with the different ways python and kivy handle variables. Here is my (shorten) code: from kivy.app import App from kivy.properties import ObjectProperty, StringProper...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565193", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why does second HttpClient login to a site fail? I am developing a web site using .Net MVC. One of the features is a dialogue that scrapes data from another site and records it in a database for subsequent reporting. The dialogue is controlled by an MVC controller which logs into the other site, retrieves data and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pandas .loc method won't return empty dataframe when checking for equality I have created a calculated column of dtype float64, and preset precision 2 decimal places. data['Engine Efficiency'] = 4.0 * data['Engine Displacement'] / (data['# Cylinders'].astype('float64') * 3.24) I am trying to filter this column based...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: .NET MAUI - Rich Text I'm building an app using .Net 7.0 and MAUI. I've been struggling to find a way to edit and present RTF but I can't seem to find a way rather than incorporating a WebView with some editor like Summernote or CKEditor etc, something I don't want to do for a number of reasons. Is there a way to do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75565199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }