text
string
meta
dict
Q: how to exclude .git from doxygen I am new to Doxygen and recently came across an issue on how to exclude .git folder from being searched by Doxygen. Neither EXCLUDE = .git nor EXCLUDE_PATTERNS = */.git/* work. This does seem like an ordinary thing, having a git repository with doxyfile for the source code, in the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568093", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Updating rhandsontable using a custom renderer I have a question - How can I pass a variable inside the renderer. The value is getting generated outside and I would like to use it in if else operation within custom renderer. Say, cell formatting on the basis of 2 numbers but with calling the numbers by their name an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: R, trying to create a column from another one using lag(), grouping() and arrange() I seek guidance from the wise, I'm new to programming. I'm trying to create a new column in my dataframe with data from another column, by using the functions grouping(), arrange() and lag(). My simplified dataframe looks like this: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568095", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i implement a web app based on keystroke dynamics authentification I am interested in coding an application that uses keystroke dynamics recognition for user authentication. I would like to build a web-based application using Python and Django. What are the key steps involved in building such an application, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does "image literal" not show up in xcode when i am typing it? What it shows: This is what it is showing here... i want to change the dice image but the option "Image literal" is not showing in the suggestion box. I tried finding through the rest of the problem but it is not coming. Please help!
{ "language": "en", "url": "https://stackoverflow.com/questions/75568097", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to remove the UNREAD label from an email using gmail api, getting a takes 1 positional argument but 2 given error Im trying to write a script using gmail api, im trying to makr a function that gets a messageId and remove the 'UNREAD' label but im getting this error "TypeError: createMethod..method() takes 1 p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568102", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: GStreamer Distortion only on some PNG Files I’m building a streaming server where gstreamer renders image frames in sequence. Some png images are rendered fine and others don't render (black screen is shown in the autovideosink) and the pipeline crashes at the end with a segfault. $ gst-launch-1.0 imagesequencesrc l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to solve async setState poblem? I've code below. console.log from useEffect shows current "files" value, but console.log from handleInputChange function always show previous value. I understand this is because of async setState behavour, but I don't understand how to make it work. import React, { useState, us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568104", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to authenticate against a Docker Hub organization repository I am one of the owners of a Docker Hub organization. We want to start pushing images built on GitHub to one of our repositories on Docker Hub. The question: how to authenticate? Of course, we could store the personal access token of one of the org owne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Any way in SublimeText 4 to include a path for a file type? I want to include a global file path, specifically "C:\dev-tools\node_modules@types\jquery\index.d.ts" every time a JS file is being edited. Any way to do this? I can see in this question/answer that a custom plugin can be coded to automatically insert snip...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: can i merge an ethereum address, ipfs hash and a random int 32 to a single uint256 variable and convert it back to the original input I would like if somebody can provide some example implementation of the same in solidity. Or please let me know the reason how it is possible if possible at all or how it is impossibl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568111", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to constantly check if a player owns a badge I am making a "find the badges" type of game, and I am running into an issue with my index/inventory. Basically, the script finds each child of a folder in the workspace and then duplicates a template for every badge in the workspace, and updates the text accordingly ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python regex capture whole integer I am trying to extract several parts of a string from a log file. I can match the number I want, but only the first digit. There is a related question here, but it tries the opposite: matching only the beginning of an integer. Here is a minimal working example: import re regex = r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Authenticate a first-party app using Spring Authorization Server I am building a first party mobile application that authenticates via a Spring Boot backend server (acting as the authentication and the resource server). I planned to use Spring Authorization Server to handle logging into the mobile application via us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Scipy not found in Docker container I am trying to deploy a streamlit app with Docker. I need scipy, so I tried installing in a separate RUN command and with requirements.txt. The image builds fine, but when I run the app I get the following error: File "main.py", line 14, in load_models pickle.load(open("model.pk")...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568124", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Binary tree only printing first value with in-order traversal I created a binary tree program and I wanted to do in-order traversal to display the values and then eventually compare it to another tree, but the in-order traversal is only printing the first value. Why is this happening? I thought it might be the way I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Double join with the same table using hibernate criteria I have following query: select \* from flight join airport a1 on flight.from_id=a1.id join airport a2 on flight.to_id=a2.id where a2.town='pinsk' and a1.town='minsk'; How I can create same query using hibernate criteria I tried using following thing: code Que...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568129", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: trying to plot hline on pivots ta,pivothigh and ta.pivotlow will plot labels on pivot points, but I would rather draw hlines on the pivot prices. I tried modifying the standard script thus: //@version=5 indicator("Pivot Lines", max_lines_count=500, overlay=true) leftBars = input.int(50) rightBars=input.int(50) ph=f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568136", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connecting stackflow to kleoverse issues I cannot link the kleoverse profile to my stackoverflow account, any pointers? Ive already reset the connections and retried multiple times but no luck
{ "language": "en", "url": "https://stackoverflow.com/questions/75568149", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Data fetched is not showing on the material ui table My data is not showing on the console and as well as the table, the status of api call seems to be fine, data is shown in network, but when I console.log it, its not showing the array and there is also a bug that my data is not array, but when I checked it is an a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568152", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Maps Api Promise TypeError: Cannot read properties of undefined (reading 'null') I am having a hard time using the Google JavaScript Maps Api. I only have a html, css, and js file. This is the error message I am getting when I inspect the page. Uncaught (in promise) TypeError: Cannot read properties of undefi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568153", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Python enumerate for a datetime list I want to move from the "i=0 ... i=i+1" construct to use Python enumerate. I'm having trouble with a list of datetime values. I understand that datetime objects (themselves) are not iterable (if that's the correct word) but I would think that a normal "list" of these objects woul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Is there any way to send generated password with month expiration to customer when purchase product in woocommerce? I dont want use PPWP Pro plugin with Woo extension. It¨s too expensive a solution for me so Is there any way to send generated password with month expiration to customer when purchase product in woocom...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568158", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Underline animation on a link I want make an underline animation on a link this is my html <header> <div class="title"> <p>feldman</p> </div> <nav> <a href="intro.html">Intro</a> <a href="about.html">About</a> <a href="fieldman.html">Services</a> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568161", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to escape leading dashes when passing a string argument to argparse? I have a CLI Python application that I am attempting to add an optional command flag to to be handled via argparse. I'd like to be able to pass a value to a flag that starts with a dash - or potentially two of them. Naturally, argparse views va...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flask application works fine locally but not in deployment I have a problem with my Flask Application. It's work fine on my computer but it has strange behavior when I put in deployment. When the user login sometimes the login didn't work and the user must login twice before it's working. When the user logout someti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568172", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Homeassistant MQTT Mosquitto Broker not connecting to ESP I want to connect DIY-Arduino Projects to Homeassistant. (Not use ESPHome) In HAOS installed MQTT and Mosquitto Broker, using the default configuration. Now when i use a D1 Mini with this script: #include <ESP8266WiFi.h> #include <PubSubClient.h> // Replace ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Need the incremental Refresh for Powerbi - with mongodb database by using pymongo connection( import mode) Need the incremental Refresh for the Powerbi having MongoDB database and the data fetching to powerbi by using pymongo connection( import mode) we are importing the data using pymongo of MongoDB data(json data...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568176", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: display result of expression with variable parameters I have a couple of parameters bound to sliders, and I'm trying to figure out how to display a calculated field (in this case the current Mean Squared Error), based on these values and the data values. The two subproblems here: * *The calculation itself. I calcu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568178", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why is this a memory leak from valgrind? I am creating a program and while dynamically allocating an integer array, i try to delete the array from the heap in the same function I create it in. But valgrind is saying there are 20 bytes definitely lost/in use at exit. Here is the function: int whoStarts(Parent* parent...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568180", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to fan in multiple streams for projections while maintaining a decent global order? My initial idea is to buffer and re-order events based on their timestamp (as a fallback) within a tumbling window. I'm still shaping my thinking and figuring out some complexities, e.g., dealing with stream-lagging-related issue...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Redirect Each User to a new link from a multiple URL list I have a list of multiple URL's each user should be redirected to new link after 10 sec and that url should not be use again or if can be remove from the list or whatever but each user should get a new link after 10 sec. How can i do i not good enough at codi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why astra pro plugin cant be uploaded on my wordpress website Why does the server stop here https://serenecampsites.com/wp-admin/update.php?action=upload-plugin Was trying to upload the astra pro plugin
{ "language": "en", "url": "https://stackoverflow.com/questions/75568186", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google App Script Web App: Getting error while signed in a google account https://script.google.com/macros/s/AKfycbzRK7_7-zspDtSAY_mVSrqP01e0H_Hlef97h4gjK8lCnt9-v1mhLBGPIuZ4ZE5uqk96yw/exec?test=22 I have deployed my app script as web app like this and the link above is its URL. It simply returns all GET parameters. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568187", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typescript error when trying to extend a generic variable in a parent class Consider the following typescript code: interface IHookable<THooks extends object> { trigger<THook extends keyof THooks>(hook: THook, parameters: THooks[THook]): void; } interface MainClass<TExtendedHooks extends object = {}> extends IH...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568190", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How can I pull the most recent file dropped into a folder and loop through each line in the file? I have been working on my code for the past two days and keep getting an error. May, I please have help? Code Background I created a QR code generator, which successfully, monitors a folder to see when a new file is dro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568191", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CefSharp convert html to pdf doesn't work I create a project to convert an html page to pdf, but it returns null. Can anyone help me? using System.Runtime.ConstrainedExecution; using System.Threading.Tasks; using CefSharp.OffScreen; using System.Threading; using CefSharp; namespace CefTest { public class Progra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Quarkus - How to dynamically update properties at runtime We have an application that is multi tenant, the user has the option to select what company he will connect to. The company is simply a different database, need to point hibernate orm to this new database instead of the one that is set in application.properti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Auto layout constraints adjust view sizes despite complete constraints I have two buttons, button A on the left, and button B on the right, and a UIView below them. Here are the constraints for all of them. Button A Constraints: Width 75, Height 35 Top 10 to safe area Bottom 241 to uview(red color) leading 10 to saf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568197", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to remove ul class with css? I want to display:none; in a li class inside a ul class: <ul class="tt-options-swatch options-large"> <li class="active"> <a href="#" data-value="102x31x32"</a> </li> </ul> I want to remove ul class with css Thanks I tried display none but nothing. I did display none on li ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568198", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Can not use same fixture in two different tests I have two tests that patch the same function. If I run test by test everything works well. But if I run entire file the second test will fail due to it is unable to patch the function. And every other function patch will not work, just the first one. I tried several a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568200", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: "Lost connection to MySQL server during query" when trying to upload large CSV file to mysql I am trying to import a large CSV file into a mysql server, but I get this error every time: Lost connection to MySQL server during query Here is my code: def import_data(): cursor = db.cursor(buffered=True) cursor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: kubernetes- local storage class I have a Kubernetes cluster that includes 10 nodes. 5 nodes of the 10 include SSD disks that are installed locally on the node and I wish to run elastic on these nodes. * *I have labeled the 5 nodes with "storage=elastic" *I have created /data folder on all 5 nodes *I have created...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: flutter notifications disappear when app is closed on android My app successfully creates notifications on Android via the flutter_local_notifications package. But if I close the app (swipe it away) those notifications disappear. The API provides a call to determine if the app was launched by a notification, which s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568203", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to convert a python function to kotlin I am trying to convert code from python to kotlin. Don't know how to write this solution to be in Kotlin: error=sum(int(parity_list) * (2 ** i) for i, parity_list in enumerate(parity_list[::-1])) This is what it looks like in python # coding=windows-1251 from traceback i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568204", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Blazor blazor.server.js error on initial load I am getting strange error in the browser console seemingly caused by some JS associated with default JS files that Blazor framework ships. I can;t seem to be able to figure out what this might be related to. All application components seem to be doing OK. Does anyone ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568205", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to drag and drop inside a container in React? I'm trying to drag and drop card components which are rendered inside a div element of the parent component. These cards should only be allowed to be dragged inside this div container and only in some particular positions. I have tried using onDragStart, onDrag and o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568208", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error while clicking on element using Selenium Python I'm trying to click on the 'Make a payment' icon but I'm not able to click on it using XPath. I used: driver.find_element_by_xpath("//div[@class='a11y appmagic-button-busy']//button[@class='appmagic-button-container no-focus-outline' and @title='Click here to mak...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568209", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Module/Package resolution in Python So I have a project directory "dataplatform" and its contents are the follows: ── dataplatform ├── __init__.py ├── commons │   ├── __init__.py │   ├── __pycache__ │   │   ├── __init__.cpython-38.pyc │   │   ├── get_partitions.cpy...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568211", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Having trouble getting discord bot to respond to commands I am struggling with a discord bot command that I've been working on recently. I am trying to use randint in order to roll for different outcomes but the number stays the same when i use the variable x = (random.randint(1,100)) @bot.command() async def eight...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568212", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Spring Boot service - update one entity before updating another I am trying to update one entity before updating another but i am not able to figure out what is the problem with this. I do not want to instantiate new Stock, i want to update existing stock, which i get from repository - 'productInStock'. My Service m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568213", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My C# event is firing multiple times. How do I consume the event so it only fires once? I am writing a program that detects when a USB to serial device is removed from or attached to the PC. When a device is removed, it pauses a method that asynchronously reads from that serial port. When reconnected, the async me...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568214", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 'nuxt: not found' Docker with yarn workspace I've been trying to get a simple Nuxt 3 up and running with docker, yarn, and workspaces with the following setup: * *mkdir nuxt-app *cd nuxt-app *yarn init -p using just the defaults *mkdir config *mkdir config/admin *Add docker-compose.yml to root directory *Add...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting an error in entering time when default value for time is given in Django I made the below Django form. class SearchTimeSlotsForm(forms.Form): available_from = forms.TimeField(widget=TimeInput(attrs={'class': 'unbold-form'}), initial=time(0)) available_till = forms.TimeField(widget=TimeInput(attrs={'c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SPLIT_BUNDLE 2: Policy Declaration - Data Safety Section: Personal Info Data Type - Email Address | any solution for this ? received on 25 Feb 2023 We detected user data transmitted off device that you have not disclosed in your app’s Data safety form as user data collected. You must ensure that your app’s Data saf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: UX-builder just loading I see there has been a thread before, but I didn't find much there that would have been useful to me. In my case, I installed the Custom My Account for Woocommerce plugin because I needed to edit the registration page, but I found out that it's not good for me. So I deleted it and tried the a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Elegant way to apply curried function to indexed traversal I want to compose a curried function f :: i -> a -> b With an indexed traversal l :: IndexedTraversal' i s a apply it to an s and get back a [b]. I came up with s ^.. l . withIndex . to (uncurry f) But I would like a combinator itoListByOf that would allo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568232", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Test file update in cakephp 4 with phpunit I'm doing the test for the files I upload but in the test the file is treated as a string and I need a Laminas\Diactoros\UploadedFile. How can I mock this for the test? I have this is my controller: $animal = $this->Animal->patchEntity($animal, $this->request->getDa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use App script to send interactive Gmail and receive their response? Does anyone know how to send a Gmail with custom button responses "YES", "NO", "MAYBE". Like a calender event in Gmail. Using App Script. I can create Gmail in HTML format, but don't know how to set responsive buttons and receive response ev...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568235", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Deserialization json with field-type-container by GSON I has a json with field-type container like var inputJson = """ { "stringField1": { "string": "stringField1Value" } } """; Also i has a class package...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Adding and merging elements of list of lists comparing other two lists if match found on the same position So I have three lists of same length. a = [[24, 24, 24, 24], [24, 24, 24, 24], [24, 24, 24, 24], [7, 0, 0, 0], [1, 0, 0, 0], [17, 7, 0, 0], [6, 1, 0, 0], [0, 17, 7, 0], [0, 6, 1, 0], [0, 0, 17, 0], [0, 0, 6, 1]...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Middleware does not work correctly in NextJS 13 I have the following middleware. I said when the URL is "/contact" or "/admin" or "/about" the middleware must run. but when I go to / or http://localhost:3000 the middleware fires. It must fire when the URL is "/contact" or "/admin" or "/about". Why? import { NextRes...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568245", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error when trying to import module from different folder I have the following directory structure: foo.py │ └─── foodir/ │ └─── foofunc1.py │ └─── foofunc2.py I have a file foo.py that I'm trying to run that imports a function func1 from foofunc1.py that relies on an import func2 from foofunc2.py. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568249", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: data and salt required : hashSync i'm trying to hash the password inside the ueserRouter with hashSync to create a signup the error: data and salt are required if someone can help how can i declare data and salt in this function the code below: const userRouter = express.Router(); userRouter.post('/signup',expressAs...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Prevent a document from being updated more than once, MongoDB with Flask Hey guys I need some help with my Flask + gunicorn + pymongo application. I have the following route: @app.route('/test_update') def test_update(): doc_match = db.collection.find_one({ '_id': 1 }) # {'_id': 1, 'rate': ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568253", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ImportError: cannot import name 'ParameterSource' from 'click.core' I'm working on simple flask app, and I received this error from click.core import ParameterSource ImportError: cannot import name 'ParameterSource' from 'click.core' (/usr/local/lib/python3.10/dist-packages/click/core.py) I don't know why it's ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568254", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NO OUTPUT IN THE "OUTPUT" TERMINAL every time I create a Python File Why is my OUTPUT view empty every time I run python code? The TERMINAL area displays the code properly though. Python version is python 3.10.3 OUTPUT area has no output TERMINAL area has output in it A: If you just want to simply run a script an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: WordPress Password Reset link is invalid on localhost using XAMPP I have a fresh install of WordPress on my localhost and using XAMPP as my virtual webserver. After installing and logging out, it then asked me to confirm my account using a confirmation email. The problem is that smtp isn't working through sendmail o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Serilog forward logs From Unity (or any app) to Elasticsearch instance via ASP.NET Web API I want to send logs from the Unity app to Elasticsearch. However Serilog.Sinks.Elasticsearch seems complicated (if even possible) to run inside unity. The possible solution is to have an ASP.NET Web API service that can retrie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568264", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mouse position in state/props vs multiple event listeners I am looking for some guidance. I have a React application where I have multiple components (10-20) that needs to perform an action when the mouse position has changed. Currently I have an mouse move event listener in a parent component, where it is storing t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: chained select_related from many tables in django Here I have the following models: class GenericUserData(AbstractUser): username = None id = models.UUIDField(primary_key=True, default=uuid4, editable=False) email = models.EmailField(max_length=100, unique=True) date_joined = models.DateTimeField(aut...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python: split shell commands with $-substitution In python there's shlex.split to split a string using a shell-like syntax. However, if I have shell substitution in there, I get >>> shlex.split("echo $(echo complex command)") ['echo', '$(echo', 'complex', 'command)'] which isn't really how this command is supposed ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mapped incorrectly in macvim I was trying to navigate the jump list in MacVim and I noticed that <C-I> doesn't work, although it works fine in normal Vim. In insert mode, pressing <C-V><C-I> gives <D-<89>>. <C-V><Tab> gives ^I. (In normal vim (not MacVim), doing the same yields ^[ and ^I, respectively.) My first th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568270", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: The problem of not running the second loop I am looking for a code to transfer 10% of the row highest data to another sheet. In the first part of the code that I wrote, the data is recognized correctly, but in the second part, where the data must be transferred to another sheet, the code does not run. Please guide ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568273", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using mutate() but keep getting the unexpected '=' error I'm new to the mutate() function and I keep getting this message when trying to recode some of my values: Error: unexpected '=' in: "table %>% mutate(SEX_R = recode(SEX, 1 =" I use the same syntax recommended by countless of website, but it's not working. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568275", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i make auto login in Angular using interceptor? I have an application with a login user via interceptor. When user login i recive token JWT and user data from DB. JWT i save in localstorage. All this information i saved also in variable session. When refresh page, i lost session. How can i make auto login af...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can you find real time measurements of human body How can we built a program that can find the measurements of a human in real time like their waist size, chest height etc. A program that can measure the height, shape , size etc of human in real time no matter how far or close he is standing to the camera
{ "language": "en", "url": "https://stackoverflow.com/questions/75568278", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Beginner Problem: QCoreApplication::exec: The event loop is already running I'm new to python and I tried something to teach myself. I created a learning-"project" where I calculate something for linear functions. I also created a visualisation with pyQt5. The Programm is working fine but I get a Message "QCoreAppli...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why is my custom slug method skipping it's code? I am trying to perform the following actions to alter my urls: * *parse instances of "an-" from my url *remove a prefix of "the-" from my url if present. class BlogPost < ApplicationRecord extend FriendlyId friendly_id :custom_slug, use: :history ... def...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: virtual DbSet<> in the current EF Core (7 or 8) EDIT: This question has been closed because someone thought it is a duplicate for another question on SO. It is not. The duplicate question, and all of the (old) docs I've found, deal with adding virtual to entity class navigation properties to enable lazy loading. Thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I transform my html tags to blocks from a dictionary with python?(web-scraping with bs4) I was scraping the contents from a webpage but it got difficult at the description part, here is the website: https://web.archive.org/web/20200518073855/https://www.empireonline.com/movies/features/best-movies-2/ Here's m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: is there a way to uploading marlins code to arduino I'm having a problem uploading Marlin's code to Arduino, it's taking a long time and it doesn't work. What's the solution? If there is a better code than Marilyn tell me and guide me to accomplish this printer If there is a better code than Marilyn tell me and guid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: How to save to settings a checkBox state? private void checkBoxSaveRectangles_CheckedChanged(object sender, EventArgs e) { Properties.Settings.Default.CheckBoxSaveRectangles; } I tried: Properties.Settings.Default.CheckBoxSaveRectangles = checkBoxSaveRectangles.CheckState; but CheckState ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Am I abusing useEffect()? - Filtering data based on updated query Basically, I wanted to filter some data when a user clicks on checkboxes. The query will update and upon refresh, the filtered data is still there. I have two components, ShopPlants which is where the data will be displayed as well as filtering the da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568295", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add c library in flutter for iOS, using ffi I want to add a c++ library in flutter and create a library using flutter ffi package, I have compiled the binaries for iOS lib.a files but don't know how to use it.. The library is loading after attaching to xcode but it ffi lookup function is not finding funct...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568297", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: My Map restricting some places especially shot distance. Why site url: https://cabman.net/app2/customer/index.php login details: Email: tester@gmail.com PW: 12345678 Number: 08012342567 Hi Devs please i need your help. I have this javascript code for map with enable APIs, but is ignoring most places I enter, if I en...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: division of two 50 digit-numbers in C How can I divide to 50-digit numbers in C A: Troubles: Not compiling with all warnings enable scanf("%s",&a); --> scanf("%s", a); Not saving in a big enough buffer To save a string with length 50, takes size 51. Not using a width limit Do not use scanf("%s",... without a width ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568299", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to fix Compiler an object refrence is required for the non static field? So i was trying to make a type of executor for roblox, but I got the error an object refrence is required for the non static field on the KrnlApi.Initialize(); any solutions? namespace DolphinSploit { public partial class Form1 : Form ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568300", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Passing argument in Pinia I have Vue3 page that includes a header. The header contains user info, stored in DynamoDB in a 'student' table. One of the fields in the student data is 'school' which is a UUID. That UUID is the ID field in the 'school' table. Along with some student fields, there are a few school fields...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Pandas dataframe duplicates - Python I have a simplified dataframe like this: ID RecordingType Date Value 1 FEVR 2019-05-22 18:37:10 1.36 1 FEVR 2019-05-22 18:41:12 1.35 1 FEVR 2019-05-22 18:45:16 1.35 I am trying to run this code: df = df.sort_values(by=['ID...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568305", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kubernetes can't find locally built containerd images I'm running an on-premise K8s cluster. The problem is Kubernetes doesn't see the locally built container images, despite the images being visible in the k8s.io namespace - tested both with nerdctl --namespace=k8s.io images and crictl images commands. crictl guide...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change the orientation of a marker in a 3D scatter plot in matplotlib I work on the dynamics of ellipsoidal particles. And I want to visualise how they go about in space using matplotlib. Usually, to represent spherical particles, one can use a scatter plot with marker = 'o', but for ellipsoidal particles, I also wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Class inheritance in Javascript, call both parent and child method without super I'm currently facing a problem I don't know how to work around. Working on a primitive game engine in Three.js, I'm trying make a good organization of code with inheritance. To make it simple, I created a class called SceneManager which...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a package that allows me to make scrolling animations such as the tiled figure in this site? Saw this awesome scrolling animation and could not figure out how I could do it myself. Any direction is appreciated. https://www.bitcomplete.io/ is the site
{ "language": "en", "url": "https://stackoverflow.com/questions/75568320", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: To find length of an array in typescript(Angular application) enter image description here Need the length of this array. Any suggestions A: You can use the length property console.log([{}, {}, {}].length)
{ "language": "en", "url": "https://stackoverflow.com/questions/75568324", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how to call draggable.enable() on an ImageOverlay? How do you do var draggable = new L.Draggable(elementToDrag); draggable.enable(); to one of the react components, such as an ImageOverlay? Trying to make it draggable as per https://leafletjs.com/reference.html#draggable
{ "language": "en", "url": "https://stackoverflow.com/questions/75568326", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to remove files in order with python? I'm running a code where I compress files and then remove them, but I need that after compressing 1 file from this list it already removes and continues to compress the others and following this compact order 1 already removes, I can do this by putting several if's with the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Custom Validation Message in Spring Boot with internationalization? I am trying to apply a proper approach for my validation annotations as shown below: public class UserRequest { @Size(min = 3, max = 50) @NotBlank(message = "name cannot be empty and min 3, max 50 character length") private String name;...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568330", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: py2app data file not accessible to user I have created an app using python and packaged it with py2app. I have an excel file that is updated using a GUI and want this excel file accessible to the user. However currently the excel file is hidden and needs to be accessed by "Show Package Contents" and is stored under ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568331", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot use Essentia.TempoCNN I use Python 3.8.10 in Google Colab. I am trying to extract tempo feature using Essentia TempoCNN. As for first try I used an example code from https://essentia.upf.edu/essentia_python_examples.html (I have loaded model, library and changed filename to my path) import essentia.standard a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568332", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }