text
string
meta
dict
Q: Laravel 8: send Ajax (Fetch) data to Controller via POST method I'm trying to get the request data in the inside a Controller, but Laravel doesn't show nothing. In the other controllers using GET method I can do it easily. I can't use page redirect in this case, so Ajax is my only option. I've searched the entire st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560578", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to pass asset image from app to a package in flutter? I'm trying to create a package that contains some custom widgets. the plan is ill import this package and ill just start using those widgets in my project. something like a UI component library. for this, in a widget, I need to pass an image file to decorate ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560581", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need help Scrolling down why when I use this, I can't see the texts after reaching the max lines in the window? #Creating ScrollText Windows st = Pmw.ScrolledText( POWERS, borderframe=1, labelpos=N, label_text=' Events ', usehullsize=1, hull_width=300, hull_height=300, text_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rendering does not work after login wait? I'm trying to render another component/pag with VUE 2 but I can't get it here my code: main.js import Vue from 'vue' import VueRouter from 'vue-router' import App from './App.vue' import VueSweetalert2 from 'vue-sweetalert2' import 'sweetalert2/dist/sweetalert2.min.css' impo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NGINX proxy_pass to Redis and PostgreSQL Docker Containers I have a website which sends traffic through the user's browser to both a Redis and a PostgreSQL docker container. In testing environment, the flask app is configured so traffic goes to: redis://xxx.xxx.xxx.xxx:6379 and postgresql://postgres@xxx.xxx.xxx.xxx:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Save an IPicture to Stream, putting it on a TImage Someone knows how can i get a IPicture and stores it in a TStream? My goals is work with that on memory, and shows to the user in a TImage. Using the OleSavePictureFile the image can be saved to any format (PNG, BMP, JPG etc), but, saving on disk. Someone knows how ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Advanced Linking of cells with VBA? OK this is a feature I have really wanted for sometime now. Trying to solve this in VBA and it's going no where. I want to link cells together. Not Just in A1 "=B1". But If I change the value in either one it will change the other one. I Problem is I can not change the value of A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Solana vanity wallet key didn't generate a seed phrase for me? I was creating a token on solana and was wondering why didn't I get a wallet seed phrase when I created the wallets needed for air dropping SOL and for the token it self. This is the command used for creating the wallets solana-keygen grind --starts-with...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding upper/lower cap to geom_smooth smoothed line I want to have a cap to the smoothed line produced with geom_line (ggplot2) using the loess method. My data do not go above 1, but the smoothed line does. The only post I found in this regard is from 2012. However, the problem did not receive a solution (see the fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: YouTube Data API: video.list endpoint returning 400 error invalid filters I am using YouTube Data Api v3 to fetch video statistics from a YouTube channel. But I am getting the error message below. I searched online, but couldn't figure out the error because I am not using the parameter in the request. # Define the Y...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: InMemoryUploadedFile Django File Read in Bytes - str vs utf8 I'm looking to read the binary content of a Django type InMemoryUploadedFile. The file type/encoding is a variable, so I don't want to assume UTF8, I simply want to read the binary content, then I want to encode with UTF8. Here's what I've tried: str(file....
{ "language": "en", "url": "https://stackoverflow.com/questions/75560606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Monkey patching a fetch call using unusual Javascript syntax I managed to monkey patch fetch calls of the more common type. But one tool I use makes fetch requests that my code is blind to. I found a fetch call like this which I do not completely understand how it works and how I could monkey patch it to intercept t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make the player move constantly and also move to fixed position smoothly? I want the player to constantly move into the z direction but also want to combine this with the option to move the player to one of 3 fixed x positions (either -1.5, 0 or 1.5) in a smooth transition like in the Vector3.Leap function. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Pico Robotics b'y' 121 output import PicoRobotics import utime board = PicoRobotics.KitronikPicoRobotics() board.motorOn(2, 'f', 100) This code to be used with the Kitronics Pico Robotics Board returns the following result in the terminal: b'y' 121 and the process does not terminate
{ "language": "en", "url": "https://stackoverflow.com/questions/75560615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create Github Actions dashboard Is there a way to crease a summary dashboard for all my Github actions. This is something we had with Jenkins. We could see all deployment status on a single page. From my research I found that there are tools out there like: ccmenu, nevergreen and so on but I am not too convinced abo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: helperSkipTransparentExpressionWrappers.skipTransparentExprWrapperNodes is not a function I've tried upgrading jest from 27 to 28. This is on a react library. On all of my tests, I'm getting back helperSkipTransparentExpressionWrappers.skipTransparentExprWrapperNodes is not a function and the tests are failing to ru...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Selenium "element click intercepted error " url=https://www.hipodromx.com/galop.aspx?Page=1 I want to click on all the tabs in order and print the texts in the tables opened under them to the list, but when I run the code, I get the following error, I couldn't figure out why. Image `driver.find_element_by_xpath("//i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Overriding BS5's color map with CSS rule Related to Overriding Bootstrap 5 colors doesn't change btn color classes, why is it that CSS rules cannot override colors defined in the BS5 color map? For Example the following custom CSS rule sheet won't override the $primary color in the BS5: @import "bootstrap"; .bg-pri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Grabbing data from separate dataframe using a string reference Given 2 dataframes: df_1 = pd.DataFrame({ 'Team': ['Team 1', 'Team 2', 'Team 3', 'Team 4',], 'Data 1': [10, 20, 15, 25,], 'Data 2': [12, 15, 23, 14,], )} df_2 = pd.DataFrame({ 'Team': ['Team 1', 'Team 2', 'Team 3', 'Team 4',], 'Data ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560628", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do i print the name of an array using the value inside an object? I am working on my first coding project (interactive cookbook) and I have met a road block, I am trying to print the name of the array (chocolate chip cookies) by entering the ingredients name (flour) in the terminal, I am using python to do this....
{ "language": "en", "url": "https://stackoverflow.com/questions/75560630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: grab value from an input to use in another div i was able to do what i needed via clone and insert after but that was creating a duplicate name when submitting the form. id like to grab the value from this: <input name="something" type="text" value="CASE0000622" maxlength="100" id="csg_name" class="something"/> to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: First person camera not rotating properly in LWJGL 3 I've been following this game engine tutorial and have reached the part where you set up mouse rotation for the first person camera, however, the tutorial is in LWJGL 2 and I'm using LWJGL 3 so there are some differences in the code I don't know how to account for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unresolved reference when using openApiGenerate build.gradle.kts I'm trying to get openapigenerator to help get responses automatically from a swagger for my mocked api. the build.gradle.kts looks like this buildscript { repositories { mavenLocal() maven("http://repo1.maven.org/maven2") } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use PHP variable as CSS id? Is it possible to write PHP in CSS? I'm listing data from database, and getting the id from db to <div> id as well. It's almost working, But I have no idea how to add the id in CSS too. e.g: The way I did it in HTML & JS below: <div id= <?php echo $data['id']??''; ?>> $("#<?php ec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating a unique id based on combinations of columns (ignoring order) Scenario Imagine a dataset that is the result of some process. The dataset contains two id columns, id1 and id2, that represent where parts of the data came from in preceding process. The two id columns can be int or string. I want to create a un...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Clear second drop menu when change the first drop down menu react final form Hi i would like to achieve in my code: Form with Options (this is part of the code....): <div className="row"> <div className="col-md me-3"> <label classNam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can I change a button value to remove from cart if product is already in session I been trying to changing the button add to cart to remove from cart if it happens that products is in session. This is the template: products.html ... <div id="products-list" class="grid grid-cols-4 gap-4"> {% for product in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NetFlow Collector Agent I have a problem with my python code that is about a Netflow collector agent. I run this code in virtual machine and must collects data from netflow agent that is a router which emulate in Gns3. My topology is correct and my devices can ping each other. But this application doesn't work. fro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: parent qdisc is not visible after adding child class I'm implementing a traffic classifier with a match filter using MAC address and then adding a child classifier based on fwmark. Below is the heirarchy root(1:) \ 1:5 \ 1:6 tc qdisc add dev enx1 root handle 1: htb tc class add dev enx1 parent 1: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typescript error Element implicitly has an 'any' type because expression of type 'string' can't be used to index type I am working on a project using Next.js and Typescript. I am trying to build a Tab component. I am having issues with Typescript working on the Object data. There is an error that I couldn't find a s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: IS there a way to avoid this code duplication in my gradle.build.kts? I'm new to Gradle and I have a feeling this might make some of you cringe, but I have about 20 tasks in my build script that look like this: tasks.register<Jar>("createModuleMODNAME") { dependsOn("assemble") archiveFileName.set("modules/MO...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I have Camel send an email on any error from a SFTP consumer and producer? I have a simple route defined such that a file is transferred via SFTP from one server to another server: @Component public class SimpleRoute extends RouteBuilder { @Autowired private DefaultErrorHandlerBuilder e; @O...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ how to return heap allocated c string without worrying about freeing it after it's been used? char *getPtrA() { char *temp = (char*) malloc(len); strcpy(temp, "something"); std::shared_ptr<std::string> var1 = std::make_shared<std::string>(); var1->assign(temp); free(temp); return var1->c_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: error on execute async function on redux and typescript I am having problems when I execute some async functions inside the store. For my application, I am using React, Redux and Typescript If you look below, I execute a fetch and then I dispatch 3 functions. First: activate the message visibility to true; Second: t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OpenIdDict Velusia Example: What triggers UserInfo to be hit? I modelled off strongly off of the Velusia OpenIddict sample (Authorization Code Flow): In the client, the first step to authorization is to go to the login redirect: [HttpGet("~/login")] public ActionResult LogIn(string returnUrl) { v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to insert latex Acrobatmenu to kable I was able to put a blue greek letter on the caption of my kable. Could someone help me to put on the kable caption the following latex arrow instead of alpha? {\\Acrobatmenu{GoBack}{\\color{blue}{$\\updownarrow$}}} This works: --- title: "Acrobatmenu" output: pdf_document da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to subsample a data set to determine new detection rates I have been tasked with subsampling a data set of cameras to determine whether we can get away with fewer cameras in our camera grid. The dataset already has detection rates for each species at each subplot. I have never subsampled before in R and was wond...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560670", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting index out of bound because the selected index item number is the same last item number in a list. how to solve it? At the top of form1: BindingList<MyListBoxItem> MyItems { get; } = new BindingList<MyListBoxItem>(); The class MyListBoxItem: public class MyListBoxItem { public Color ItemC...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mongo: Comparing two fields on different collection and set values I have an issue with inconsistent data and would like to clean it properly. Let's say I have two collections bookings and vehicles, I can 'join' with a vehicle_id property from the bookings collection. db.bookings.insertMany([ { "_id" : 1, "vehicl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Salesforce Integration with Middleware Design Choices I'm fairly new to Salesforce Integration and have been asked to design an integration for a Custom Object in Salesforce with an Object in SAP, using Middleware. The middleware is already in place in the SAP customer domain. I want to know what are the factors tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Using mapState in Vue with pinia is giving me an unexpected character error I've created a state in pinia: export const userStore = defineStore('user', { state: () => ({ email: '', loggedIn: false }), }); with a simple component that displays a log in screen if the user isn't logged in: <template> <HblLogin v-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jenkins Deployment and Monitoring We need to deploy the code on a set of servers, let Jenkins monitor the code for some time (say 2 days) on those servers and if the result is successful, deploy the code on some other set of servers. Is it possible to do? Is there a Jenkins plug-in that exists for this? We know that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The React page is not moved after the login depending on the roles import * as React from 'react'; import AppBar from '@mui/material/AppBar'; import Box from '@mui/material/Box'; import Toolbar from '@mui/material/Toolbar'; import Typography from '@mui/material/Typography'; import IconButton from '@mui/material/Icon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Read JSON from Redis using Java I am trying to query Redis and get a response using Java. I am able to connect to Redis, however I am not able to find the appropriate command to query. I have tried command.json.get, but I am getting an error. Given below is my code, example of Data I am trying to fetch, and the erro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560679", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to exclude multiple directories in pre-commit I have multiple file patterns I want to ignore with pre-commit. For example 'migrations/.' and 'tests/.' The exclude parameter available in the pre-commit configuration file only accepts a string and not a list though. My current configuration file: .pre-commit-conf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: file are getting automatically deleted if i want to move them into a google drive folder I'm trying to create some google drive folders and move some files into them according to the configuration and I want the script to ignore creating a new folder if a folder with the specified name already exists and then it sho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: PowerShell to msiexec uninstall with parameters inside function I have been uninstalling software via below my powerscript. But I have an issue inside powershell script. When attempting to run any software then I got the following the error message. My error message : PS C:\Windows\system32> doRemoveMSI -msi "msiexe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Elixir TDS with Trusted Connection I am trying to connect MS-SQL from Elixir with tds. I do not have an userid-password, instead use windows auth. Is there a way to use the windows authentication to connect to a MS-SQL server. Something along the lines - {:ok, pid} = Tds.start_link([hostname: "----", trusted_connect...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Send Email With Python smtplib [Errno 11003] getaddrinfo failed Error I want to send email with smtplib and no app password. But i get this output: with smtplib.SMTP("blabla@outlook.com",587) as prt: socket.gaierror: [Errno 11003] getaddrinfo failed My wrong code: import smtplib with smtplib.SMTP("blabla@outlook.c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Stop Visual Studio 2022 from Auto Opening Code Tab I'm running an asp.net solution in debug mode in Visual Studio 2022. While running, VS keeps automatically opening a code tab and setting focus to a line in it where there are no breakpoints. I close the tab to see the code I'm debugging, but as soon as the code res...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to exclude a certain subfolder while deleting files older than x days in a shared drive folder in batch script In a network shared drive folder, i want to delete files older than x days including subfolders files also(without removing subfolders). but i want to exclude a certain subfolder and the files for this ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How can I sort by timestamp mongodb documents, using atlas search index? I have multiple documents that have dates and timestamps really close relative to each other. Here is the data I have: /* 1 */ { "startDate" : ISODate("2022-11-29T14:28:38.166Z"), "startTimestamp" : 1669732118166, "customerName" : "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error "React will try to recreate this component tree from scratch using the error boundary you provided, ErrorBoundary." in NextJS app + 404 page I have a NextJS app. In the app, I have a custom 404 page that I literally took from https://nextjs.org/docs/advanced-features/custom-error-page. I also have a middleware...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need to check if the observation is from specific countries and return a 1 or 0 in a new column I have a column titled Country_Region which has observations of countries. I need to check whether the observations have entries "USA", "UK", "Netherlands", "Germany", "Singapore" and return a 1 otherwise return a 0 but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to send emails from js I have been working on website for shopping. I want to add new ability for customers to make their emails and get the verification code in email. I have watched bunch of tutorials but no progress. please help me if you can. I have watched bunch of tutorials but no progress. please help me ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Read/Write Complex Object in CoreData & Maintain Query-ability? Problem Description I have a complex object that I need to store in CoreData. The object has fields which are themselves objects, etc. Here is the main object: struct MyObject: Codable { let opportunityID: HOV_String let displayName: HOV_String ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Record with 'all' in database I have the following hypothetical scenario: A user can toggle aircraft categories wether he is interested or not. If the user toggles Helicoper the following checkboxes with sub-categories will appear: 'Chinook', 'Apache', 'Cargo', 'Military' to which the user can select from in form of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560706", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why do I not have permission to alter SQL database? I have a running Windows application that is using a SQL Server database called LakDB to run. I want to give an option to select another database file. The first thing I want to do is take the current database offline so I can setup the new data file with the same ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Whatsapp cloud API not delivering media messages to iOS / iphone I am working with whatsapp cloud api to send messages to clients, it is working fine with android but not working with IOS, are there any additional steps of setup for IOS ? Normal messages with only text are delivered properly, but messages with image...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Discord.py app_commands | Multiple arguments for function I want to setup an app_command function which can take unlimited arguments. Example code with unlimited arguments: def example(*arg: str): # instert code Example code where I want unlimited of amount discord.Role: @bot.tree.command(name='example') async...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Use Autodesk authentication v2 with ASP.NET Core I am testing v2 of Forge Authentication using ASP.NET core. However, it doesn't seem to work. I created a minimal repo that can be found here. To reproduce: * *Create an app at https://aps.autodesk.com (web server app) *Clone the repo above and put in client Id & s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using pptx in python, how can I replace text tagged Powerpoint charts using a data dictionary? I'm trying to create a tagged powerpoint deck that I can use a dictionary to find and replace instances of tags, and I've been able to do that with the below code. # Loop through each slide in the PowerPoint template for s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Running GRPC service on Raspberry Pi Pico I am looking to run a grpc service on a raspberry pico. This might sound outlandish to some people, specifically those who know what the problem I'm about to introduce is, but I think I could make it work with the right technical help. The problem, as some might know, is t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: c++ sdl game stops at collision bad_alloc at memory location Edit: While using local windows debugger in visual studio I noticed that the process memory increases exponentially during the collision and once it gets to around 2gb I get Unhandled exception at 0x754578A2 in Pacman.exe: Microsoft C++ exception: std::bad...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Wavelet Multilevel - Different Mother Wavelets I have an important question. I'm using a wavelet multilevel transform using the wavedec (pywt on python), but I need to change the mother wavelet on each level. It's possible to perform it? def filtro_wavelet(x, wavelet, nivel): #aplicar a transformada wavelet...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get react context data in ResizeObserver callback I have the following React getView component function getView() { const mainContext = useContext(MainContext); useEffect(() => { // data has values here const activeDiv = document.getElementById('active-div'); new ResizeObserver(dataMethod).observe(a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560725", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to replace values in array b by indexes from array a ? [numpy] For example, there is an array a. a = [ [1,2] ] And array b. b = [ [[0,0,0],[0,0,0]] ] How can I replace the values in array b with indexes from array a by 1 ? That is, the following array r should be obtained. r = [ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Three.sj rotation sending info via network not fit Any suggestion please , dont hate flag this Q. I not familiar with quaternion/eruler. I figure that object.rotation. is not axis angle of local rotation. There is the rotaion only on operation += . Something like velocity in physics.. My net player is fbx animation ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do you reference a second sheet within a single function? I am trying to clear data from two sheets within the same "master" sheet. I found a function that works to clear content from the first sheet referenced. I can't figure out how to call the other sheet and clear content from that with the same function usi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hadoop can't start. Getting error "sed: can't read : No such file or directory" I have freshly installed hadoop. However, running start-all.sh does not start hadoop. The following is the output.\ $ start-all.sh WARNING: Attempting to st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MySQL - ORDER BY prior to GROUP has no impact on result All the research I've done on this issue says a previously sorted result-set is the way to control the GROUP BY behavior, but it simply doesn't work here. I'm writing code to clean up duplicate values, and I need to save the highest item_state_c ID for each cam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to get values at start and end of each day in a time series I have a time series with 2 columns and ~10k rows: Time Value 2022-01-01 09:53:34 1.9342 2022-01-01 19:03:21 2.3213 2022-01-02 10:14:32 3.4332 2022-01-02 11:31:51 0.387 ... I want to summarize the data by day and get the start, end,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do resolution functions within promise constructors work inside of a setTimeout on the event loop? I'm working on some event loop knowledge refinement and I'm a bit stumped at the following code block: new Promise((resolve) => { console.log('in here, 1') setTimeout(() => resolve(3),0); console.log('in here...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How should I configure Jenkins for a SAAS product deployed on Azure Paas My company has a software package that runs on Azure App Services. Each client has their own App Service, their deployed code is 100% the same, and the only thing that varies between clients are configuration settings which are stored in a seri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Capturing WebRTC stream with gstreamer I'm trying to use gstreamer to capture the stream of my Google nest cameras through the Google Device Access api (https://developers.google.com/nest/device-access/traits/device/camera-live-stream#response_4). I'm quite new to gstreamer and webrtc. For example, I want to convert...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MLRun Users and Roles configuration I'm struggling to find how to configure users and roles in my MLRun instance. The documentation say that is possible to do this kind of control. Is this some feature of the premium version or I'm just being blind? I can't even find something similar to a login screen on the UI. A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Merge cells in HTML table in SQL I am using this query to create an HTML table and send it by email. Is there any way to merge the cells for the Group ID and Total Transaction Sum columns only if they have the same value to improve readability? Below is the result I want to get CREATE TABLE #list (GroupID int,Accoun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to auto-size a image to fit div when div width is in vmin `I am trying to run the following code but my image is always to large for my div so it comes partially .display-box { width:80vmin; padding:50px 40px; background-image: url("paper.gif"); background-size: cover; position: absolute; width: 80vmin; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: multiple component of the same type render only one instance I am rendering two sorting components and I am passing an array from the parent to those two children components as props to apply different sorting algorithms. The problem is when I am using the fillArray method inside the componentdidMount method in the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android/JDBC:JTDS and Sybase We are trying to utilize JTDS with Sybase and Android. We are using the "SQL Anywhere" formerly Sybase Anywhere (we think???) and it seems as if we are talking to Sybase (Sybase 9) because the exception is "Login Failure" and we are using a connection string such as: String conn_str = "j...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nginx Proxy Manager configuration not valid hello I tried to paste the code below into the "Advanced" section unfortunately the link is down every time what am I doing wrong? server { listen 443 ssl; server_name <your-caldav-domain>; root <your-roundcube-directory>/plugins/xcalendar/caldav; index ind...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trouble loading a csv into a struct where the last member is as an array of char I want to read a csv file and load it into an array of struct. I used the code that I found on youtube and github (https://github.com/portfoliocourses/c-example-code/blob/main/csv_to_struct_array.c). Now I want to change all the members...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Go routines sharing the same net.Conn connection hang on read after one routine exits I am working on implementing a set of client and server RPC applications. The connections talk to each using JSON over TCP. When I make a single call from my client, I'm able to complete the request and response cycle without issue...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I create a custom verb for an ASP.NET Web API? My original problem is that my GET request was being rejected for the parameters being too long. So I thought, oh I'll just POST the parameter that's getting too long. Well that doesn't work because that parameter is [FromUri]. So then I thought I'll just add som...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to write bits in EC of a laptop on FreeBSD? I am a new user trying to make FreeBSD my daily driver. Apparently, the only thing is now stopping me to use it as daily driver is unable to control the fan. I am using Gigabyte Aero 10th Gen Intel Core i7 with NVIDIA GTX 1660Ti card. I was surprised when everything wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: API request translation from other lunguages to Python I'm very new to requests and normally "developer guides" on API services include a Python section, but I've run into a case where Python was not one of their options. They included PHP, Java, and C#. My question is, how can I rebuild their API instructions to fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to show the result of the console in a label Java Script hello i want to show the hello world in a label how can i do it i am new in javascript.Hi guys, I have modified my question to be clearer and to be able to put the example. <script> function word() { let call = prompt('please insert a word'); console....
{ "language": "en", "url": "https://stackoverflow.com/questions/75560779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Drop duplicates in a subset of columns per row, rowwise, only keeping the first copy, rowwise only if there are 3 or more duplicates This is an extension to my previous question, Drop duplicates in a subset of columns per row, rowwise, only keeping the first copy, rowwise I also have a similar question here which ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560780", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: KeyError: 'PKCS11_MODULE' I am trying to work with the PKCS11 Python Module. I am following the procedure defined here: https://python-pkcs11.readthedocs.io/en/latest/ I am using python 3.10.6 on an Ubuntu 22.04 virtual machine. I am running this python project in a virtual environment however I have gotten the same...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unit test for S3 PreSigned API Im using s3's GetObjectRequest API to get the Request and use it to call Presign API. type S3Client struct { client s3iface.S3API } type S3API interface { PutObject(input *s3.PutObjectInput) (*s3.PutObjectOutput, error) GetObjectRequest(*s3.GetObjectInput) (*request.Reques...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I fix this insertion sort visualization function? I'm making a sorting algorithm visualizer, and this is my first time attempting animation in React. There are two major issues I keep running into. I find myself needing to close over a bunch of code in my setBarsToRender callbacks for variable scoping reasons...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to find installation candidates for watchdog I am trying to add watchdog as dependecy on my project. Using pip install watchdog, works fine, but with poetry I am getting: Unable to find installation candidates for watchdog at ~\AppData\Roaming\pypoetry\venv\lib\site-packages\poetry\installation\chooser.py:1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I remove the time portion from a epoch conversion in SQL I am trying to get ride of the time portion of a conversion from epoch time to human readable form. Here is what the data output looks like currently: Ticket Number Created Completed 14111487 2/1/2023 1:36 AM 2/15/2023 6:00 AM 14116522 2/1/202...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: I am unable to change the color of a bootstrap button to close a modal I am trying to change the color of my bootstrap close button, but it seems like I am unable to change the color of the "x" Initially I thought no CSS was being applied to the m-close class, but after changing it from color to background-color, th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Errors on CSS files because of the nesting rules I'm building a project which is using tailwindcss + postcss. I also have tailwindcss/nesting plugin, and that's where the issue comes in. I am getting VSCode errors on my CSS files because of the nesting rules. This is fixed when I change my .css file to .pcss, is thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Execute LEFT JOIN using GroupJoin, throws error (bug?) I'm at my wit's end here. All I want to do is a simple left join using EF Core. I want rows where the key exists, and NULLs where it doesn't, just like I'd get with a SQL query. I also want it to use Fluent calls, because that's what the rest of the application ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Dropdown Menu does not appear in copied website I have been working on a project where I have to copy a website and translate all the texts (English to Hindi). So far I have been able to translate all texts (google translate the page and save the webpage, then link the downloaded html files with the homepage). Howev...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Drop con HTML y JavaScript Hola que tal estoy trabajando sobre un drop donde arrastro elementos hacia dentro de mis contenedores enter image description here, la cuestión es la siguiente, cuando están dentro de mi contendor no cambia de color como en este ejemplo enter image description here, y es que lo que pasa co...
{ "language": "es", "url": "https://stackoverflow.com/questions/75560795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why are some slices nil? I put together this code to demonstrate my confusion: https://go.dev/play/p/HVp7p0w74Un the two slices, x and y are identical in terms of data (none), length and capacity. But one of them is nil and the other is not. I understand this as a fact but I don't understand WHY it should be the cas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Mysql min and max of timed series data -- create CREATE TABLE readings ( id INTEGER PRIMARY KEY, date timestamp NOT NULL, value int NOT NULL ); -- insert INSERT INTO readings VALUES (0001, '2023-02-22 10:00:00', '12'); INSERT INTO readings VALUES (0002, '2023-02-22 10:10:00', '13'); INSERT INTO readings VALUE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }