text
string
meta
dict
Q: How to calculate average asset price path after a certain event? I have a panda data frame that looks like this ticker Some index Asset price pct_change date 2016-01-01 -15.0 0.05799 NaN 2016-01-04 -14.0 0.05777 -0.003794 2016-01-05 -15.0 0.05768 -0.001558 2016-01-06 -19.0 0.05702 -0.011442 2016-01...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597246", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Crash in isEligibleForIntroOffer on device, works in simulator I try to use a very simple code in my root view controller's viewDidLoad function: Task { let eligible = await Product.SubscriptionInfo.isEligibleForIntroOffer(for: "MyGroupID") print(eligible) } It works on simulator (prints tru...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: DataTables - Export data with Ajax without downloading file I am using the DataTables JS library with Excel/CSV buttons, and it's working great. My next challenge is uploading that Excel/CSV file to another destination/server, without downloading the file locally to the machine. In other words, on button click, I ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Realtime - incoming call data & call complete data I've been trying to use Subscription to get callRecords to see if I can do a on hangup call to action. But subscriptions are too delayed to make sense. I need on call end immediately notify. Also I want to be able to get a incoming call's phone number before answeri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597252", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Downloading a file through SharePoint's REST API I'm having an issue with trying to pull some files out of SharePoint Online using Python, thought I don't think this is an issue with my code (but maybe it is) but more an issue with permissions accessing the file in question. I am using vgrem's Office365-REST-Python-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gradle Composite Build: How to Disable an Included Build Task from the Root Project? I have a composite Gradle (7.x) build and want to edit the root project gradle file to permanently prevent a specific included task from executing. I can successfully accomplish this from the command line with -x :included-build:ba...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597259", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I add the missing data between 24-02-2023 and 02-03-2023 in my table with the values filled according to the value in SQL? I have a table with the following properties: NUM1 STRING (Examp: 2343) NUM2 STRING (Examp: 0982) DOC STRING (Examp: 0987654321) CLASS STRING (Examp: RED / BLACK - 019 ) COD CLASS STRING...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Could we use Cloudinary Image service with our reactJs project (without backend) ? (typescript) I am working as a front-end dev and having a little confusion on as to how to use this cloudinary service with React. I am working on ReactJs. Just to show the authorities that the functionality for the image upload is wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I get the "platform specific library" for vowpal wabbit installation onto java.library.path for MacOS? Where is 'libvw_jni.dylib'? I'm following the instructions here. I am trying to compile code locally on my ARM Mac. The instructions say: This wrapper requires that the vw_jni platform specific library is i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use the Zenodo API to download a dataset by specifying the DOI in Python I am reading the API documentation for the Zenodo API, and it is unclear if I can use it to download a dataset by specifying the DOI of a given dataset (https://developers.zenodo.org/) There seem to be several third-party packages (zenodo_get),...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Function doesn't update entity correctly for some reason I've created an Azure Function which is triggered by a message, then updates a property from a database entity, and then does a status check to see if the process is finished. Now for one process we might get a couple of hundred messages, so that functio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Consolidating similar arrayformula functions in ranges of columns in Google Sheets A Source worksheet with a Desired output that repeats the use of 2 unique formulas varying only in cell locations (as shown below in table named Code). Can the "unique" Arrayformulas be combined so that I might only use 1 of each in 2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597267", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Share localization resources between an ASP.NET MVC app and a class library in .NET I have an ASP.NET MVC app with localized resources. I want to use a class library inside the app, and I want to be able to share resources from class library in my ASP.NET MVC app, and from the ASP.NET MVC app inside class library. W...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How/why does React know that a hook isn't called inside a function component when directly calling that function? Out of curiosity I wanted to call a React function component directly; like a regular function. However, React complains: Invalid hook call. Hooks can only be called inside of the body of a function comp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597272", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Strange anomaly on the trajectory plot I am writing a program to plot the trajectory of a rocket. I am meeting a strange result when I set the parameters to a certain values - the rocket accelerates more quickly shortly before the end of the fuel. Do you know what might have caused that? That's the plot of vy vs ti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I group in Java BIRT Tool two values from result set columns with dependency with JavaScript in the Data Collection Script option? I am using Java BIRT to create a report. I get my data from a database. I have 2 columns - activity and metric. Ive created these two columns in the Menu from Edit Data Set, in R...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597275", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why are unordered python dictionary lookups 10x slower than ordered lookups? I try to make fast dictionary lookups in python by iterating a list of integers. I noticed that unordered lookups are approximately 10x slower than ordered ones. Is there any way to speed up unordered dictionary lookups? Do you know any rea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: phpmyadmin corrupt configuration cause sporadic 403 forbidden I'm running phpmyadmin on ubuntu 18.04. I made a update to the newest version of phpmyadmin (4:5.1.1+dfsg1-3+bionic1)) and run in some trouble, because I enter a wrong database password. Therefore the software was updates but not the database. Of cause ph...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597277", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python loop through list of symbols for API request Kind, smart people: Please help me - I've been working on this for a week now and just can't figure it out. I'm trying to read a list (text file called testsymbol.txt) that contains 8 stock symbols, then take each one and make an API request for some historical...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597279", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I can't figure out why the output is undefined function greatestProduct(array,start,end) { if(end - start <= 0){ let productValue = array[array.length - 1] * array[array.length - 2] * array[array.length - 3]; return productValue; } let pivot = partition(array,start,end); greatest...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597280", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Confused about off session payment flow for Invoices I'm using Stripe to process off session payments. Basically my customer saves their default payment method on their Express customer portal. They make a bid on an item and if the bid is accepted, which could be some days later, an off session payment is made. I go...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597281", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ThreadPoolExecutor in Databricks and Driver Node Memory Issue I am using a threadpool executor and running notebooks in parallel. However, these parallel notebooks are not using executors at all and all the load is going towards the driver node resulting in running out of memory for the driver node and eventually cr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597282", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pdf-lib: Text Annotation generates error "Expected a string object" when interacting I am using pdf-lib to draw some text on top of an existing PDF page. If the text is too long to fit in the area designated, I want to add the entire text to a Sticky Note Annotation, so the viewer can read it if desired. I reference...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I create a date picker in a Python FMX GUI App? Is there any standard component for selecting a date in the DelphiFMX GUI library for Python? I'm looking for some kind of Date Picker component. Currently what I'm doing is making a couple of SpinBox components and then using them to enter a Date, this is my UI...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597285", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you use a $ in a Regex.Replace string Assuming string x = "$5." I have something like this x = Regex.Replace(x, @"(^\$?\d{0,4}\.?$)", "$$1.00"); Expecting x to be "$5.00" but I get "$$1.00". This x = Regex.Replace(x, @"(^\$?\d{0,4}\.?$)", "@$1.00"); Yields "@5.00" How can I use a $ in the replacement? A: x...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Can't get docker to run a development container for a Django app: python: can't open file '/app/manage.py': [Errno 2] No such file or directory I managed to get my production version of the app running using an entrypoint and a deploy version of the docker-compose file, however I still need to fix some bugs in the a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597289", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Latest keycloak server v21.0.0 admin api - create a realm failed Keycloak server v21.0.0 - Windows 10 - Admin API - create realm failed How i fix the issue? what will be the issue? please help/support start the server in dev mode set KEYCLOAK_ADMIN=admin set KEYCLOAK_ADMIN_PASSWORD=admin .\kc.bat start-dev --http-po...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Gforth can't find script it's supposed to start I tried to execute a cgi script written in Gforth through the terminal by ./myscript.cgi, however it throws an error: No such file or directory. Executing the same code as a .fs file throws the same error message-text. I believe the problem is that Gforth fails to open...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597292", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create user account in firebase authentication account by using createUserWithEmailAndPassword got callstack exceed error Here I attached part of my code. import FormInput from "../components/formInput"; import { auth, database } from "../firebase"; import { createUserWithEmailAndPassword } from "firebase/auth"; imp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does caffe's net.forward() turn my data negative? I'm very new to caffe and trying to utilize someone else's code for my specific case. I've narrowed it down to this minimal example: import caffe import numpy as np model_path = "mnist_model_rgb/caffe_model/mnist_model_rgb.caffemodel" model_definition = 'mnist_m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597295", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: windows key no longer opens windows menu the windows key on my keyboard no longer works as a shortcut to open the windows menu the shortcut doesn't work anymore I tried changing the idiot setting and restarting the computer but nothing changes, I think I need to set the key as a shortcut to open the windows menu but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bad:SQL tech Confusion (https://i.stack.imgur.com/EAO8g.jpg)](https://i.stack.imgur.com/dLF16.jpg) This is the computer that I use to execute MY SQL,but when I start to execute my code and it keeps crashing. Does anyone know how to solve this kind of problem? I want not to crashing.I already downloaded for twice, bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597300", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Emitting to specific emitter in SpringBoot WebFlux I am doing kind of notification system checking if something specific has changed in other of our modules and dispatching action in Angular app. I created another endpoint calling sink and emitting whenever I need. It works as expected. The problem is that it will n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VS 2022 17.5.1 wont find mac This had been working before I updated Visual Studio to 17.5.1 today(I was on 17.4 previously). After the update, My Mac will show up in visual studio but after it tries to connect it says host unreachable. I am able to ssh to the Mac using both the hostname and the ip address and run ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Treat multiple periods of huge outliers in time series data with weekly seasonality data How can I model a time series data (average sales is around 20K) with weekly seasonality that has multiple recurring outlier periods for example 4 days of huge volumes (around 150K) in March and 14 days of huge spikes in October...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597305", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I want a solution to the strange error problem? Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined in G:\xampp\htdocs\proget-2\login\php\post.php:32 Stack trace: #0 G:\xampp\htdocs\proget-2\login\php\post.php(32): PDOStatement->execute() #1 G:\xampp\htdocs\proget...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Is there a way to create a link to a RepositoryRestController from a normal RestController? I am trying to create a link to a RepositoryRestController from a normal RestController. The links being created by WebMvcLinkBuilder do not contain the expected spring.data.rest.basePath. RepositoryEntityLinks doesn't exactl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597307", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can we match JSON values returned as columns with rows appropriately Here is the sample JSON value returned from Azure LogAnalytics and I am not sure how to get a specific property's value "AuditEventID" & "TimeGenerated". enter code here { "tables": [ { "name": "PrimaryResult", "columns": [ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597310", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Command not found : Error: Process completed with exit code 127 I am running this workflow. The same workflow was running without any issues earlier but suddenly it's giving me the mentioned error when I changed the metadata4.vql file contents. Any suggestion/help would be highly appreciated as I am very new to GitH...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Image upload in form I have a problem with uploading images in the form. I'm using react-hook-form and zod validation. How to change images in the edit mode if the entity is already added? The form field is JS "File" and the already added entity has a URL from s3. And I don't know how to do it.
{ "language": "en", "url": "https://stackoverflow.com/questions/75597312", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React.JS react-router-dom v6.8 block navigation w/ custom modal I'm currently working on implementing a custom modal to replace the use of window.confirm() in order to notify the user about any changes that might be lost if they navigate away from the current page. However, I've run into an issue where I'm receiving...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597314", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mean, max and min of a measure in power BI I have a database, which you can see in the image "BDD" whose most important columns are: * *Program: Indicates the date of the program (when the ship service date was defined). *Date: The date of attention of the BT (This can change between programs). *Ship: The name o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error after adding horizontal lines in xyplot created via for loop I am trying to add two different horizontal lines to a xyplot(). Since It is a series of plot then I am using for loop: vector = c(0.06, 0.98) for (x in vector){ for(i in names((df1[,2:7]))){ SetMethods::xy.plot(x = i, y ='rec', dat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cv2 image resize imread" is not a known member of module i am trying to read the image folder from the local disk and resize it. how do I solve this problem? import cv2 import os import glob img_path = r'F:\4-1\CSE 4132 Artificial Neural Network Seassional\resizeTest' dest_path = r'F:\4-1\CSE 4132 Art...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597321", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Slack UI/UX design with collapsable columns I want to duplicate the collapsible functionality that slack has on its column. It lets you view 3 columns at a time. Upon expanding the the thrid column, the second column shrinks. When the second col reaches its min width, first column automatically collapses and second ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597323", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Timeout error while uploading to large file in adls I need to upload a 200 mb file to adls using python. I'm using the code provided in the official documentation - https://learn.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-directory-file-acl-python?tabs=azure-ad While calling the following function for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597324", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: rand.Seed(SEED) is deprecated, how to use NewRand(NewSeed( ) )? I am studying go just now. I an example I've this line rand.Seed(SEED) But the vscode extension about go is telling me rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: Programs that call Seed and then ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter iOS app rejected by App Store Connect because image picking from gallery crashed app with image_picker package I am using image picker package to get image from camera or gallery. Most of the times it is working when I test it on real device, I run into that issue twice. it gave me this error App store rejec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: tritonserver: one-to-many request (scoring models with mostly overlapping feature sets)? Is it possible to configure Triton Server for serving multiple models with different input shapes in such a way that just a single "collective" (features lists union) request can service all these models (instead of multiple req...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597328", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use the scrollTop if such a path is specified? I use this script for a smooth scroll to the element: var $page = $('html, body'); $('a[href*="#"]').click(function() { $page.animate({ scrollTop: $($.attr(this, 'href')).offset().top 400); return false; }); The script works fine if you specify such a p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597330", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Picture taken with camera does not contain location data but gallery images do when using image_picker I have got an app which includes image_picker to allow the user to choose an image from their gallery or take a photo directly within the app. I need the photo to contain location data so I need the GPS GPSLatitude...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597334", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to deduce types by template integers in C++ I have code: template<int I, typename = void> struct indexed_type { using type = void; indexed_type() { std::cout << "I is void: " << I << std::endl; } }; template<int I> struct indexed_type<I, typename std::enable_if<I == 1, char>::type> { using type = char; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597337", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No "iOS Development" signing certificate matching team ID "*****"with a private key was found in project I've checked similar posts but none of the solutions helped me. My ios builds started to break suddenly with the error No "iOS Development" signing certificate matching team ID "*****"with a private key was found...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Selenium unable to find button on webpage This is the HTML: https://pastebin.com/eRCgCvbd driver.find_element(By.XPATH, "//*[@id="'invite__sent'"]" I've switched to the active iframe as I'm able to enter text into a field. However when I'm going to submit the text it crashes saying it can't find the element. XPATH ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597340", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Export variables to shell in Jenkinsfile I have the function in Jenkinsfile, def dothis(String ENV) { withCredentials([ awsCredentials(), string(credentialsId: "${ENV}-db-root-password", variable: 'DBPASSWORD')]) { wrap([$class: 'BuildUser']) { dir("scripts") { echo "connecting to ${ENV}" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597344", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: generating a password for login instead of a token I'm new to Devise. I want that when a user clicks on forgot password link, he should get an email with an auto generated password which a user can use for login in my app, or even get both the auto generated password and a token to reset the password. I have looked ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597349", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Traefik Wont See Containers On Different Networks I am setting up Traefik 2.6 using Docker version 23.0.1 on a Raspberry Pi 4 with 8GB RAM. I have my docker-compose set up like this: version: "3.8" services: watchtower: image: containrrr/watchtower container_name: watchtower restart: always comman...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How Scroll horizontally keeping a middle Fixed :active div I have this slider https://jsfiddle.net/kaffa22/j4s9w2L0/14/ JS var slideIndex = "5"; showSlides(slideIndex); function plusSlides(n) { showSlides(slideIndex += n); } function RSC(n) { showSlides(slideIndex = n); } function showSlides(n) { var i; v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597357", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use the Apps Script API scripts.run method to execute a apps script function I created a Google Cloud Project, enabled the Apps Script API, created an Apps Script Project with the following function: function remoteEXE() { return "Ok Google." } Next I bound the Apps Script Project to the GCP created earl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problems depoying Openrouteservice to Azure using a container instance I'm new to containers and I'm trying to deploy an instance in Azure using a Container Instance. I want to do it using 'docker compose up'. I have being trying to follow the documentation on how to do it but I'm stuck in the step after I created a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597359", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Envoy websocket with OPA Verify the authorization for every message on websocket using Envoy and OPA. I am trying to do a use case where I have a websocket. The ideia is create a websocket passing in Envoy and authorize the client using OPA, in the first moment when the websocket is in handshake is work well, using ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597362", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to know that how many expertises are matched in single record using query Suppose a user have 6 expertises in their account and on the frontend when anyone try to search with filtered 3 expertises then the user should be appear after who has 4 expertise that are matched with the selected expertises. If 6 experti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597364", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can some one spot the error in this java code? I was doing kickstart. This was the question. My solution was import java.util.Scanner; public class Solution { public static void main(String[] args){ int temp =0; Scanner scan = new Scanner(System.in); int T = scan.nextInt(); for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597365", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Preloading fonts with tag in Nuxt.js app To preload fonts, I'm trying to add a <link> tag to my app.html file in Nuxt 2.15. The problem is that I don't know how to access my /assets/fonts folder. <!DOCTYPE html> <html {{ HTML_ATTRS }}> <head {{ HEAD_ATTRS }}> {{ HEAD }} <link rel="preload" href="~/assets/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASPX Page Submission but Retain Form Values I have an ASPX page with a form that drives a user through selections. First selection enables a form field and loads the field with data specific to the first selection. A selection in that field sets the third field and so on. Form is 37 fields. So the form is unique...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597370", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to use public ip list for selenium driver? I want to know if there is a way to use public IPs to trick Chrome and Google to show that the site traffic is coming from different countries? Is there a way to use public ip list for selenium 4 driver? I want to build a crawler to build my sites traffic. Bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597371", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: C++, overloading the operator*= reduces the performance I Created a struct of three integers and overloaded the operator*=, then created a vector of size 100000000 and filled it with 0 and 1 randomly. Then tested two versions of a function that sums up the elements multiplied by 2. When I use the function that uses ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597373", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can I create a curved 3d line/bufferGeometry in three.js? Hi I am currently trying to create this design using three.js. I also want to make it explode into many particles that's why I am using the Points class.my project [my project second picwhat I am trying to create](https://i.stack.imgur.com/JP92J.png) at f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: @property like syntax - but without declaring the property or variable inside a class? Looking for a way to achieve the following syntax: import myModule myModule.myString = "Foo" and be able to control how and where the actual data is stored & retrieved behind the scenes - ideally I would just have getter/setter f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597375", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the proper way to establish API thread-safety for an API that has both suspend and non-suspend functions? Suppose I have the following thread-safe class (note there are no suspend functions): @AnyThread class MyClass { @AnyThread fun foo(): Int { runWithoutConcurrency() // .. the res...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597376", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Lost connection to connected iPhone device when locked I am developing an iOS app with Flutter and it builds and loads on my connected iPhone. If I lock the iPhone and unlock it within a few seconds, the connection remains, but if I lock the iPhone for about 20 seconds the connection gets lost and I need to rebuild....
{ "language": "en", "url": "https://stackoverflow.com/questions/75597377", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Can't setup VSCode on Mac I am struggling with my VSCode since I bought a Macbook Air on M1. I can't set it up properly for c++. I have trouble with C++ standards. I change it, but my compiler doesn't react, and still shows an error. For example: #include <iostream> #include <string> #include <map> using namespace s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597378", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Regex for specific pattern ending with ) I have a big string, for example: "s#$_123 /HEC2w.,-&#--HALOENCRYPT(177ey7y37, 'zimba'),dnjekkq%12nnvHALOENCRYPT(ECRa12 _*,'grate'),eqn12&*;". I am looking to extract all the substrings with pattern "HALOENCRYPT(<Any_char_or_symbol_sequence>)" which means starting with 'HALOE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597379", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Extracting probability from BERT next sentence prediction embeddings I'm using BERT's next sentence prediction module (BertForNextSentencePrediction) and am trying to get the probability that sentence B follows sentence A. However, the numbers BERT outputs are almost always very close to 1 (or else very close to 0),...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597382", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Clearing a single Toastr message instead of entire thread I'm working on a SignalR notification system and each time the system updates, you get a toastr message alerting you of changes in a SQL database. I searched but could not find the answer I was looking for. Anytime there is an update you get multiple toasts. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597383", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Synapse "The specified option 'Ole Automation Procedures' is not supported by this edition of SQL Server and cannot be changed using sp_configure." I try to run a stored procedure. It includes: ... exec sp_configure 'show advanced options',1 reconfigure with override exec sp_configure 'ole automation procedures',1 r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597388", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to extend a function without changing the function itself I'm curious if I could augment/extend the functionality of a base function using functools techniques. I'm putting together a module with many methods returning generators, and I'm looking for an effective way to dispatch them (?) and also provide the abi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to use @EmbeddedId with @IdClass I have entity class @Entity @Table(name = "city") //@IdClass(CityId.class) public class City implements Serializable{ @EmbeddedId private Location location; @Id @Column(name = "citycode", nullable = false) private String cityCode; @Column(nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spawn not working in API call during client browser its not responding any err I'm tried same device using postman but its not working through API call ,but its working perfectly own device through node filename.js
{ "language": "en", "url": "https://stackoverflow.com/questions/75597393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is state updating on initial component render? I have an app that searches the results of an API call and displays the data. The user has the option to save an exercise to the database to view later. Why is the state being updated when a search is preformed for API data? I expect the postExercise() function to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597395", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Javascript jsPDF UTF-8 character problems I have a problem I am having utf-8 character problem when converting in jspdf window.jsPDF = window.jspdf.jsPDF; applyPlugin(window.jsPDF); function downPdf () { let doc = new jsPDF() console.log('asd') const elementHTML = document.queryS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: change the padding of FloatingSearchBarScrollNotifier when scrolling i'm using FloatingSearchBar widget, and the FloatingSearchBarScrollNotifier returns DynamicHeightGridView, what i need is padding the GridView to the searchBar, if the search bar disappears, i need to the padding to be changed. the above screensho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597397", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Duplicated call in node Readable stream? The problem So, I have this code, a Readable stream that reads the movements from de DB page by page, but I was getting duplicated records for some reason. const readMovements = new Readable({ async read() { while (true) { const movements =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597398", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shortcut for selecting all below lines from current dragged line in IntelliJ or GoLand on Mac? In VSCode, I can select the current line with Cmd + Shift + Right Arrow. Then I can do Cmd + Shift + Down Arrow to select all below lines from the currently selected lines. But I think Cmd + Shift + Down Arrow is not worki...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597399", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to resolve Error on closing document picker Setting up a document picker where users can select PDF files from the 'Files app' and save this to my app document folder to use in the app. Got the document picker to open, select file - but upon closing I get the following error: "[DocumentManager] The view service ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597400", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Terraform - How to create Azure Kubernetes Cluster with AGIC that creates an App Gateway with Private IP I am trying to create a AKS Kubernetes cluster with ingress_application_gateway add-on which will create an Application Gateway. I am using terraform to create this. Please refer to my terraform code below. resou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597405", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fill up missing dates (with default values) in a data frame date column What uniquely identifies a record in my data frame is the combination [location, date]. As I am doing some window/rolling calculations over time, I need to make sure that there's a full set of dates for each location for each year/month/date. I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597407", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NGINX Lua search in file and forward the request I have a request body that contains some numbers in JSON format. I need to forward that number to a specific host. For example, I have 4 .csv files locally and I need just search if it's containing that number. CSV files should compare the entries with an actual reque...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to only return consecutive values in a pandas dataframe I have a modified a dataframe to only include the line if its over a certain value. Now in this new dataframe, I want to modify it further to only include the lines that are consecutive. For example, if this is the dataframe with the index and then Timestam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597412", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: RedShift - array_position function Im trying to extract an array using array_position to return the position of a specific string. Unfortunately, redshift doesn't have this function. A: You will need to unroll / unnest / unpivot the array and apply a WHERE clause. See: https://docs.aws.amazon.com/redshift/latest/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I create a dropdown combobox from a list in a Python FMX GUI App? I'm creating a GUI using DelphiFMX GUI library for Python that has a ComboBox on it and I also have a list (array) of strings that I want to put into the ComboBox. Here's my current code: from delphifmx import * class frmMain(Form): def _...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597419", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Discord.js does not play mp3 That's my code, I searched a lot but I can't get it to work. The bot enters the channel but stays quiet. async execute(interaction, client) { //get the voice channel ids const voiceChannelId = TOKEN; const guildId = TOKENGUILD; //create the connection to the voice channe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597423", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to change IP address and subnet mask using bash script on Kali Linux? I have tried to figure out many times but couldn't work #!/bin/bash path=/etc/network/interfaces echo "Your IP address is: $ip " >> $path echo "Your subnet mask is: $mask " >> $path read -p "Please enter your desired IP address: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597424", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Rails where query from previous query results I have two models Stores and its associated Location. These are the results from a sort query that I'm performing on the Locations. locations => [#<Location:0x00007f11e46f3fe0 id: 1, street: "Av. Cabildo 2569, CABA", store_id: 1, created_at: Fri, 24 Feb 2023 15:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597427", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to convert a message in its bits counterparts I have the code below which should convert an user message input to its bits counterpart. For example "Hi!" should be converted to 01001000 01001001 00100001 #include <stdio.h> #include <stdlib.h> #include <cs50.h> #include <ctype.h> #include <string.h> int print...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597429", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: JAR not connect JAR file not connecting: What could be causing my Java project's JAR file to not connect properly, and how can I fix it? I have checked that the JAR is in the classpath, but I'm still experiencing issues. Are there any common reasons why a JAR file might not connect, and how can I troubleshoot this i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597430", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Python Counter with a certain count I know that you can use counterObjectName.most_common(n) to get the n most common Counter elements. However, is there a built-in function that would allow me to get the Counter elements with a count of a certain value or greater than/less than a certain value? I know that this can...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597431", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I write a program for how to use the maximum repeated observation value for repeated subject? I need to rearrange the following data, for the same ID with only a maximum value of A and B variables >j=read.csv(file.choose(),header=T) > j ID A B 1 22 9 8 2 22 10 8 3 23 20 9 4 23 40 9 5 23 50 10 6...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597433", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What does the square brackets mean in a Typescript type definition? I have the following Typescript code: export type MyType = { stuff1?: { [stuff2: string]: Stuff3; }; } What does this mean? I understand that this is defining a type MyType and it is an object with optional key stuff1. The type of stuff1 is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597434", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I have this code that on a few themes and since our webserver upgraded to PHP-8 Here is my code: add_action( 'widgets_init', function( '', 'register_widget( "home_widget_custom" );' ) ); Can someone please help me with a solution? I am unsure what to do here.
{ "language": "en", "url": "https://stackoverflow.com/questions/75597435", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }