text
string
meta
dict
Q: Service Stack JsonApiClient change base url I'm using service stack JsonAPiclient to login and manage auth. can't seem to figure out how to change baseurl after logging in. var client = new JsonApiClient(baseUri); my auth url is different than my normal api url. A: I'm not sure what the issue is, you initialize whi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to replace a element in a nested List in Python I can locate any listed content. In the example I locate 'q'. I manually mapped its index as [1][0][1][1]. Then I replaced it with 'z' and it works. My question is what is the magic to get the index(q) or Object Address(q) when the if() condition get set to True? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why are Mockito argument matchers unable to match with my builder-pattern object? I have a class similar to the following: package com.example.objects; import java.util.Objects; public class MyExampleClass extends SomeBaseClass { private String param1; private String param2; private MyExampleClass(St...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599670", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Amazon Athena experienced an internal error while executing this query I have been getting the below error recently in AWS Athena. For the same query I was getting the results earlier. Also, if I try running query again and again, sometimes it gives result. What could be the problem here? Is it anything with Athena...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How do I get the variable from a Future function? I have a Future function that retrieves data. It performs well, however, my goal is to display the data in a widget. The problem is that I can't seem to use the variable. Here is the code I used for the Future function: Future<void> param() async{ String url1 = "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No module named 'yolo_algo' from numpy import expand_dims from tensorflow.keras.models import load_model from tensorflow.keras.preprocessing.image import load_img from tensorflow.keras.preprocessing.image import img_to_array from yolo_algo import model # load yolov3 model model = load_model('model.h5') enter image d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Display Insert statement if RadioButtonList has a selected value of "Yes", otherwise display update statement. This is not working correctly I have searched the web, as well as this forum for answers but cannot find any solution that works for my situation. I have a RadioButtonList with a Yes or No value. Our requir...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Salesforce || Refused to connect to 'https://***********' because it violates the following Content Security Policy directive: "connect-src 'self I'm facing the issue while Calling the api In LWC ( lightning web component) even though i have added the base URL in CSP ( Content Security Policy ) And in Session Settin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to cast value in SML? Trying to take return type of S-Expression parser and convert to data structure I am using the S-Expression library included in SML/NJ. In my use case, my file containing the SExpressions will always be of type String List List List. The SExpParser.parse successfully parses my file. The pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't find cuda folder I have install Cuda 11.6 at : https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=runfile_local on my ubuntu-20.04. And I run successfully the nvidia-smi command. Next step I want to download cudnn but I can't find...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: python can't import module when running a file, but can import the module in interactive shell I got a strange problem. filegetter is a module developed by someone else and installed with python setup.py install. Here is a test file. #instance.py import filegetter when I run /home/ynx/miniconda3/bin/python /home/yn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get and combine an element from multiple lists in R? I have a function as shown below. f1<-function(x) { df1 <- rowSums(x) df2 <- colSums(x) return(list(Actuals = df1,Summary = df2)) } I am calling that function by group as shown below. out <- by( mtcars, INDICES = mtcars$gear, f1, simplify = TRUE ) N...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to perform update operations in distributed transaction before two-phase commit? Most discussions about two-phase commit only talks about how to commit, but they don't talk about how to update/delete/insert data before commit. Do those operations also involve two phases? Do they require the coordinator to log? W...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's the best way to reload submodules that are loaded by imports in __init__.py? I've got a package with several modules in it, and in the __init__.py file I have a from module import * for each module so that all of the functions in the modules will exist at the package namespace level. My problem is that when I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Exception for creation of user in social django I have disabled creation of user in social Django. It is redirecting to login page, but there is no message displayed. Settings.py Debug = False INSTALLED_APPS = [ ... 'social_django', ]``` LOGIN_URL = 'login' LOGIN_ERROR_URL = '/' MIDDLEWARE = [ ... ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I, given a url, use javascript to fetch text from the body of a website, and display the text via an html document? I'm trying to fetch text from the body of a website and display it in a different html file. website: "https://example.com/" the text from the body should read: " Example Domain This domain ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to integrate the HTML string into classic editor to show it in formatted string? How to convert the html string into formatted string using classic text editor here I used the Html.Raw() method but it is not working: <textarea id="@areaId" class="areacls" data-href="@item.Id" onclick="createEditor(@areaId)" n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cannot install better-sqlite3 with npm I run npm install better-sqlite3, but I get this hunky error: npm ERR! code 1 npm ERR! path C:\Users\lucap\Documents\! Development !\Discord Bots\assistant-platypus\node_modules\better-sqlite3 npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c prebuil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python to read barcodes pdf format I have to count png format now I want to count pdf format separately from pyzbar.pyzbar import * from PIL import Image image_barcode = Image.open("doc.png") decoded = decode(image_barcode) print(decoded[0].data.decode("utf-8")) made the conversion from png to pdf import fitz pdf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: all nodes become master on Azure Kubernetes deployment We've a Redis cluster (v 6.2.4) deployed on AKS. There are 3 masters and each master has 1 slave/replica. After sometime, all the nodes become master, i.e., now there are 6 masters and no slaves. Is it something related to Kubernetes configuration? Or something ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is it possible to access data from a DataTables column that is not visible? I am using DataTables with Jquery. The table uses the column selector button 'colvis': $(document).ready(function() { $('#example').DataTable( { dom: 'Bfrtip', buttons: [ 'colvis' ] } ); } ); Whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Native Simulation service or third party app for AWS cloud So just to surmise, last month we did migration of our windows 2016 server types to windows 2019 version (this was workspaces & not EC2). When we did this, many of our monitoring agents stopped working & we had to reinstall them on multiple workspaces, which...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to lie to Docker container processes about how much system ram is available? I'm dealing with a very annoying enterprise server application that assumes it owns the hardware it runs on. It reads the amount of available RAM on startup and appears to immediately claim almost all of it. As soon as I laun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599719", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: please help me How can i get the data from firestore using iniState to get the widget Im currently creating a pdf report where i can get all the data collection and it's field to be able to appear in the pdf file using widget, now i cant seem to figure it out how to make it appear, and i tried using this method. ple...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to correctly define and use enums in Stable AIDL interfaces? I am interested in defining a Stable AIDL interface: https://source.android.com/docs/core/architecture/aidl/stable-aidl with stability: "vintf" and @VintfStability annotation on all defined interfaces, parcelables, enums. While doing that, I am interes...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React native qr code share , not able to share the url link only share is title. why? In react native qr code share only title share not url link why? const shareQRCode = () => { myQRCode.toDataURL((dataURL) => { console.log(dataURL); let shareImageBase64 = { title: 'React Native', ur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Overflow when using vectorized code in coding the Successive-Over-Relaxation method I've been working on coding a SOR(Successive Over Relaxation) method on python. The code was taking a bit longer than I wanted so I vectorized the code. When I ran the code using the same parameters, the vectorized code returned a Ru...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Do I need to upgrade android SDK from 11 to 12 to implement latest release requirement I have written an android App back in 2021. And I need to do a software updrade on my Apo. I used SDK 11 and SDKtarget = 30 in gradle. So app store requires SDKtarget = 31 for latest releases. So I need to know if I need to ugrade...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find the x path of an element when the python selenium script clicks a button which in turn opens in a new window (element is in new window) The python(selenium) script fails when a new chrome window opens upon clicking a button. I have passed the x-path of the element from the new window(extracted the x-path...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I overwrite interface compile options coming from an imported library in CMake? I am running into a problem where my target has to link to a third party imported library that propagates a few unwanted compilation flags through INTERFACE_COMPILE_OPTIONS that I want to overwrite. Please see the below minimal e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599736", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: The USRP GNU radio sends and receives the same WiFi data every time I am trying to use Wime-project Wime-project to transmit and receive wifi data using USRP B210 in GNU Radio. Here is the complex representation of up to 5 lines of the transmitter side binary file of the first day: Day 1 [1.8619473e-40+4.8418168e+3...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Uncaught TypeError: Cannot read properties of undefined, even when the data is properly loaded: d3 js I am trying to render a force directed graph and an adjacency matrix in an animated fashion. The adjacency matrix is the default view and when the toggle button is clicked, the view should be changed to a force dire...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert UNIX epoch format %Y-%m-%d %H:%M:%S to UTC format, in example %Y-%m-%d with Ansible? I am trying to convert UNIX epoch formats to UTC readable for humans but it generates errors in many cases. * *convert UNIX epoch format %Y-%m-%d %H:%M:%S, value 1514764800 *to UTC format example %Y-%m-%d, value 20...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can we manage same database for flutter app and a website made form Tailwind CSS, HTML and JS in PHP? I'm making an flutter app and a website for my collage project but having difficulty to manage the same database for both in PHP, MySQL. The flutter app and the website are on different devices. If anyone have t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am trying to scale my data using MinMaxScaler. After i run the code below, i get an attribute error scaler = MinMaxScaler() x_train = scaler.fit_transform(x_train) x_val = scaler.fit_transform(x) x_test = scaler.fit_transform(x_test) x_train.head() AttributeError: 'numpy.ndarray' object has no attribute 'head'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: digitally signing the pdf document embedded on razor page I am trying to get the data from active directory. this is my code: UserPrincipal up = UserADIdentity.GetADUserInfo(WindowsIdentity.GetCurrent().Name.ToString()); public static UserPrincipal GetADUserInfo(string userName) { using (Principal...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Autosum for a column in SIde by Side question type in Qualtrics Qualtrics.SurveyEngine.addOnload(function() { var table = document.getElementById("tableID"); // replace "tableID" with the actual ID of your table var numRows = table.rows.length; var numCols = table.rows[0].cells.length; // create a new row...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Can you specify class a member as template parameter? I am trying to figure out if you can do this with templates: template <typename T, (something here)> void DoSomething(T& class_object) { std::cout << class_object.(something here) << std::endl; } In other words, can you pass a member object you would like to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Authentication fails trying to access SSRS Web Service API I'm trying to connect to the SSRS Web Service API and keep getting 401 errors. I'll start with background info and then outline what I've tried to troubleshoot. This is on a dev machine, so everything is setup locally, the app trying to connect, SQL Server, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue with Hugo theme when creating a website using blogdown I am trying to create a website using blogdown package in R. I used the hugo theme hugo-coder. The repo is here - https://github.com/luizdepra/hugo-coder. Everything works as expected except for one issue. When I write a blog in rmarkdown file and save it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can we increase "wait Until" plugin default time in cypress which is 5 seconds Actually when i use plugin of wait Until in cypress it allow only 5 seconds to wait by default but when if within 5 second if it doesnt find any element it give exception .So i wanted to know that can we increase its timing or not .If we ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can we use Java layout xml in react native I want to use layout xml in my react native code so is there a way to do it I had tried creating an activity in android folder but app is crashing when using Any layout type
{ "language": "en", "url": "https://stackoverflow.com/questions/75599761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Stange behavior of time in @react-native-community/datetimepicker IOS device I am having a very strange issue in the IOS device for @react-native-community/datetimepicker while using "TIME" mode. Whenever I change the time it automatically reverted back to the actual time, time reset on changing. Can you please guid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Integrating product page in hubspot How to integrate or create a new product page in hubspot? I am a hubspot developer and now I got some stuck in this area.
{ "language": "en", "url": "https://stackoverflow.com/questions/75599765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What does an interface with multiple call signatures mean in typescript? I was reading the typescript handbook in the documentation, and I stopped on the section Call Signatures They say, if you want to define a function which has properties on it, you can do it this way: type DescribableFunction = { description: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Boost 1.81.0 (chrono and thread) library compilation is failing with Sun Studio 12.5 Facing below error when i am compiling chrono or thread alone in sun studio 12.5 Error I am getting while build boost thread/ chrono is below "CC" -std=c++11 -m64 -xarch=sparc -mt -lCstd -xO4 -mt -erroff=%none -xldscope=hidden -m64...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need help converting a ffmpeg command to a gstreamer pipeline I am trying to convert a rtsp input stream to a mpegts stream using the command below ffmpeg -i rtsp://{{rtspUrl}} -f mpegts -codec:v mpeg1video -r 30 - I need to convert this ffmpeg command to a gstreamer pipeline which will do the same thing as the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Goldengate for SQL Server - exact from tables with CLOB/BLOB columns very slow We are running GG for SQL Server on a OCI VM. This is connecting to an on-premisis SQL Server instance. Initial sync and continuous replication works perfectly with most tables. We are running into issues when the tables have LOB columns....
{ "language": "en", "url": "https://stackoverflow.com/questions/75599773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: creating wiring task from among us I’m trying to code the wiring task for the popular game “among us” using flutter. The objective of this game is to simply connect wires based on the same color. And code examples would be greatly appreciated as I am new to flutter/coding. I’ve tried to research packages that would ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Why catalog types other than Ecommerce, like Travel, real Estate are not display in WhatsApp Why catalog types other than Ecommerce, like Travel, real Estate are not supported by WhatsApp Business API Multi product and Single product message types.
{ "language": "en", "url": "https://stackoverflow.com/questions/75599776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to migrate Firebase DB to Spring Boot? I create Android App with Kotlin and back is made with Firebase. I heard that Firebase has users storage amount limit, so this is useful with small business. However when data becomes bigger, need to migrate DB to something else. From here, I'm new to back-end so I need adv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I save the html code of a website with data from chrome browser using programming I need to scrap the data from one website which is working with session object and login id, password and OTP. once I am logged in, I can see the data in plain html format (Tabular) which I need to fetch. When I am using code to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to make variable visibility in block statement in Python? How to achieve an effect like : #there is no variable named `i` for i in range(1): pass print(i) #why I don't want to make i visitable after the for statement finished. But I don't want to use del i manually. A: This is just part of Python's design...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Divider is not visible in horizontal list view flutter Widget build(BuildContext context) { return ListView.builder( scrollDirection: Axis.horizontal, shrinkWrap: false, physics: const BouncingScrollPhysics(), itemBuilder: (context, int i) { return Center( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Are there any issues from both the child and parent destructors being called when a derived object is destroyed? If I have the below two classes: #include <cstdlib> class Parent { protected: int* mem = (int*) std::malloc(5); // pointer to dynamically-stored object public: Parent() {}; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: bookdown righ to left direction Recently I started to write a book with R package bookdown. As I want to write a Persian book (Right to left Direction), I want to change the text direction of book, but I can't find a way to do that, so if anyone faced with similar problem and solve it in any way, I will be happy to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599794", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: react/cjs/react.production.min react/cjs/react.production.min react/cjs/react.production.min
{ "language": "en", "url": "https://stackoverflow.com/questions/75599798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SyntaxError: Unexpected token '<' in React Native when running tests I have implemented detox for my react native app. I created dashboard.test.tsx to run my first tests. Below you can see a sample test I wrote in that file. import { device } from 'detox'; import { Dashboard } from '../app/screens/Dashboard'; import...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599800", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: php mysql probem.. Uncaught mysqli_sql_exception: Cannot add or update a child row: a foreign key constraint fails https://i.stack.imgur.com/KVCVV.png , https://i.stack.imgur.com/LLgoB.png, https://i.stack.imgur.com/OxX4C.png this app load a cvs file and shows some surveys answers
{ "language": "en", "url": "https://stackoverflow.com/questions/75599804", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: The reactiveValues() refresh the whole dataTable in shiny I want to build a table inclue some buttons. When we click the buttons, the value of certain row will show. Importantly, every button can only be click once. However, when I use reactiveValues() it seems refresh the whole dataTable. Therefore, the button must...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Set value based on previous value in previous group if it exists Say I have this: df = pandas.DataFrame( [ dict(a=75, b=numpy.nan, d='2023-01-01 00:00') , dict(a=82, b=numpy.nan, d='2023-01-01 10:00') , dict(a=39, b=numpy.nan, d='2023-01-01 20:00') , dict(a=10, b=82 , d='2023-01-05 00:00') , dict(a=9...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I'm getting the following error while I try to run my project in Neatbeans.I have used JSP and Java severlet.So please help me Type Exception Report Message Unable to compile class for JSP: Description The server encountered an unexpected condition that prevented it from fulfilling the request. Exception org.apache....
{ "language": "en", "url": "https://stackoverflow.com/questions/75599812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to make a persistent Material 3 Navigation Bar component The Flutter Material 3 NavigationBar widget is shown as persistent by the guidelines. There are these good examples of a simple and a more comprehensive application. I am having a hard time following the example with a button press that leads to a new page...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Default Country prop not detecting the country code MazPhoneNumberInput When I set the default country to Canada it doesn't detect the country code present in the phone number. For example, if the phone number is +15062345678 then it shows the +1 attached to the input. What I want is to remove the country code pres...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: filters are not working on nexus3 extended choice paramter jenkins plugin I am trying to fetch nexus latest builds as input paramters in jenkins,using nexus3 extended choice parameter for it, my repository is raw repository hence does not contain groupid and artifactid. I am able to fetch latest builds but only when...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not able to add customfield value to Issue res=issue.update(fields={"customfield_25361":[{"value":name}]}) print(res) error: response text = {"errorMessages":[],"errors":{"customfield_25361":"data was not an object"}} Adding the value to custom field to JIRA Issue
{ "language": "en", "url": "https://stackoverflow.com/questions/75599827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to disable event creation on certain dates only? I am using tui calender plugin https://ui.toast.com/tui-calendar and i want to disables the past date as you can see on picture please does anyone know ? please help me thanks. html view <div class="card mb-5 "> <div id="calendar" ><...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Open an URL in Browser and set value to specific element I had an application where I used to open an URL from my application in browser and set some values in different elements of that page. Code like below: Object o = null; Object URL = url; mshtml.HTMLDocument doc;...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599830", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to properly replicate a website's GET request to an API? I am trying to scrape data from this page, specifically all the information about the products. Using my browser's Inspect tool, I found that all of the products' data come from a JSON file; it is a response to a GET request sent to an API at this URL. Loo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Authenticate nextjs with keycloak using next-auth and docker I am trying to authenticate NextJS app with Keycloak using NextAuth in a docker. I have tried several options but keeps getting this error frontend-1 | [next-auth][error][SIGNIN_OAUTH_ERROR] frontend-1 | https://next-auth.js.org/errors#signin_oauth_erro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I want to show 24 month by using date range picker calendar I used this calendar Date range picker in my web page, And want to show 24 months instead of 2 month. I use this function numberOfMonts: '24' but it can't work for me. please see codepen Thanks in advance :)
{ "language": "en", "url": "https://stackoverflow.com/questions/75599835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I've uploaded a file using multer, expressJs, NodeJs. Now I want to keep a View Button to view the last uploaded file in the front end, help ,me out I've no idea of how to view the file in front end. I tried using, let fname = multer.diskStorage({ filename: (req, file, cb) => { cb(file.originalname); }, }); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix this exploding gradient in Multivariate Linear Regression? I tried implementing a multivariate linear regression model, on the Boston housing prices dataset, using python (in Google colab). The gradient is exploding wildly in just a few iterations, and I am unable to update the parameters. The dataset: ht...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why merge() aggregated sum and max differs? I am trying to aggregate the numeric variables while keep the string variable based on the maximum value of the numeric one. dat<-data.frame(Group=rep(1:2, each=3), Score=c(1,2,3,4,3,1), Info=c("a","b","c","d","e","f")) dat Group Score Info 1 1 1 a 2 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get last access time for the tables in Athena At present we do have 500+ tables in Athena located under different databases. Currently we are planning to drop the tables which are not used for more than 120 days, for this purpose I am looking for an option to identify the last access time for each and every A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java Group by color and Summing all Properties to produce a map There is list of widgets i want to group them by color while adding other similar properties and produce a map , something like this . class Widget { String colour; Double legs; Double arms; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599852", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does my SQS Endpoint break Elastic Beanstalk? I have some lambdas in a vpc that I thought needed an SQS Endpoint to access some SQS queues. After adding the SQS endpoint, I noticed that elastic beanstalk config changes were failing. Apparently the instances use a service called cfn-hup. This service does somethi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I remove unnecessary whitespace here? I'm having some trouble removing some whitespace, which looks to be pre-generated by Wordpress. The computed layout of the section including the whitespace is as follows for : Here is what the current result looks like: I'm not immediately seeing how the whitespace is b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599854", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: I have my php array error?can someone help me,please what is the error?{i cannot show real code} --code-- <?php $example=[1,2,3,4] $examplee=["a","b","c","d"] $count=0; for($count=0;$count==4,$count++){ echo $example[$count]." ".$examplee[$count] } ?> --output-- Parse error: syntax error, unexpected variable "$...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I stop AWS Sam Typescript application EsBundleStep failing when I add a dependency I am trying to build an aws sam application using Typescript. I wish to use the following node library https://www.npmjs.com/package/hanzi-tools. However I cannot get it to work. Below is my lambda import fetch from 'node-fetc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can we minify JavaScript when it is export as module I created an 'indexScript.js' file and exported then I imported it in "index.js" file. I would like to minify the entire code in the 'indexScript.js' only when I exported or imported. I mean the original 'indexScript.js' file should not be minified. Because I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pandas split corresponding rows based on separator in two columns duplicating everything else I have an excel sheet Col1 Col2 Col3 Col4 John English\nMaths 34\n33 Pass Sam Science 40 Pass Jack English\nHistory...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Not able to access admin on Strapi STrapi page is working correctly for me on local host but when i hosted it on replit it gives these errors main.9c01de7f.js:2981 Refused to connect to 'http://localhost:1337/admin/project-type' because it violates the following Content Security Policy directive: "connect-src 'self'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: input excel file from UI in fastapi Hi I'm trying the following for api input def upload_excel_parser(file: UploadFile = File(...)): s_filename = file.filename unique_id = str(uuid4()) project_id = s_filename + unique_id df = pd.read_excel(file) return "success" also tried df = pd.read_excel(file.file) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I continue add position based on my current position Below is my current script. I want a Martin strategy which could continue add multiple positions after my first position. Based on the strategy.position_avg_price and strategy.position_size. At most add 10 times. Would you please do me a favor on it? My ad...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PanResponder inside of PanResponder Currently, I have a View (let's call it View A) with a panhandler that calculates the x and y values of a touch position (x, y coordinates of a touch). I have a second view (let's call it View B) inside the parent view (View A) with a different panhandler. The purpose of the 2nd ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599871", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: window.history.pushState() does not work on URLSearchParams Hi I am trying to pass params to backend from frontend using URLSearchParams to filter a list. The filtering did not happen without reloading the page because URLSearchParams wasn't updated. I wrote code as follows by searching the answers on this website b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: keep old value input in django model form In Laravel, we used old('field_name') to display previous input values. How can I do this in Django form model? I mean If the validation is unsuccessful the input value will be deleted. I want its previous value to be preserved and not need to be typed. mean when submitting ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to add checkbox header column to check all when checked? I work on sp.net web forms . I face issue I can't add column checkbox to grid view as Header column . so when header column checked then all rows checked on grid view and when header column not checked then all rows not checked on grid view . meaning all ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Code generating Value Error on Amazon Sagemaker I am performing training of Age Gender Estimation on different dataset using this code (https://github.com/yu4u/age-gender-estimation) train.py. I am using Anaconda Navigator Spyder & Jupyter Notebook to train it on my system, the codes works and generates model. But d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cocos-creator - class is not exported, native plugin not enabled I am trying to create Native Plugin for Cocos Creator following this tutorial and example project However, upon building the project, it is showing FAILED: class is not exported, native plugin not enabled? instead of the expected Demo message.. Is ther...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What happen if I use getAccessTokenSilently without params? I want to use auth0 only for authentication, not authorization. What i want to do is to check if the user signed in or not. What happen if I use getAccessTokenSilently without any params? Does it work? In my case, I don't need scope because I don't case use...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get all k-length combinations of an n-length array in JavaScript? I have this question How to generate all possible melody strings for this melody generator, minus the duplicates offset by some number of beats? but perhaps it can be simplified into subproblems, such as this current question. Here, I am wonder...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Firebase Magic Link in Jetpack Compose (II) TLDR; Deep link data is observed at the Activity, but is null at the Composable. I'm refactoring a view-based screen which contains an Android App Link. My legacy implementation was operational but I'm missing something as I do this work in Compose. The expected value of l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599888", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can i print zero at the first of output #include <stdio.h> int main(void) { int Phone_number1,Phone_number2,Phone_number3 ; printf("Enter phone number [(xxx) xxx-xxxx]: "); scanf("(%d) %d-%d" , &Phone_number1 , &Phone_number2 , &Phone_number3); printf("you entered: %d.%d.%d ",Phone_number1,Phone_nu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Convert.FromBase64String "The input is not a valid Base-64 string" - in Azure Functions Test Run I need help as I seem to be missing something. I have a simple Convert.FromBase64String() in my C# Azure Functions. I'm testing this via test run, the string is copy pasted from this. I removed the audio/webm;base64, at ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Trigger Airflow when a file is created in HDFS directory recursively I have a file path on HDFS: /project/abc/xyz/private/external/analysis/base_table/region=APAC/date=2023-02-27/dataid=1677495316473/execid=2852805699842621951/part-00394793242.avro Till the /project/abc/xyz/private/external/analysis/base_table/ (<b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599891", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular TinyMCE Failed to load model: dom from url models/dom/model.js I have an Angular 14 project and I'm trying to integrate the open source Tiny MCE editor in my project and I'm getting an error when I add the editor code to the HTML. node_modules\tinymce\tinymce.min.js:4 Failed to load model: dom from url model...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to pivot tables with 2 aggregate functions through SQL? Table 1(Start Table) ID Date Designation 1 12/6 a 1 12/6 b 1 12/6 c 2 12/6 d 2 12/6 e 2 12/3 f 3 1/2 g 4 2/4 h Table 2(Result) ID Date Designation1 Designation2 Designation3 1 12/6 a b c 2 12/6 d e 2 12/3 f ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599894", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to connect to Wifi network programatically on Android 10 and above? val ssid = "Your WiFi SSID" val password = "Your WiFi password" val networkSSID = "\"$ssid\"" val networkPassword = "\"$password\"" val wifiConfiguration = WifiConfiguration() wifiConfiguration.SSID = networkSSID wifiConfiguration.preSharedKey =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }