text
string
meta
dict
Q: Missing handlebars helper error when using helper in partials. express-handlebars I have registered helpers using express-handlebars like this: const { create } = require("express-handlebars"); //Sets our app to use the handlebars engine const hbs = create({ helpers: require("./config/handlebars-helpers"), }); app...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578205", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pod don't store data using PersistentVolume(PV) and PersistentVolumeClaim(PVC) I have created tow pods One is running a simple scala application, that uses akkaHttp to add user data into Elasticsearch and another Pod running an elasticsearch:8.4.5. Also created an external service for akka and internal service for e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578206", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why i am not able to install "node-sass-middleware"? enter image description here why it us showing this errors when i type, npm install node-sass-middleware why it's failing to install it?i want to install that package for nodejs project,i tried to reinstall npm etc etc
{ "language": "en", "url": "https://stackoverflow.com/questions/75578207", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting Users with react and a django/websocket backend I written code to connect to a web socket from react to a django/daphene websocket. The only problem is that when i try calling self.scope['user'] I get a lazy channel object that has no information. Here's my consumer code import json import datetime import bl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578208", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Power Query Data Source error-handling - skip further steps if an error is encountered Good day I have a Power Query query that pulls its Source from a Sql.Database() query. Sometimes the core tables are dropped pre-pull which creates a Data Source error as follows: DataSource.Error: Microsoft SQL: Invalid object n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578209", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Use Code Tunnel in VS Code to connect to website reachable from remote I have a remote computer that connects to a server via VPN. I'm able to mount the server's share onto my remote and access it via Code Tunnel in VS Code. This works quite good, but what I'm missing is access to a website that only reachable for t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578210", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spark/Python : PicklingError: Could not serialize object: TypeError: cannot pickle '_thread.RLock' object while applying function for each row I have a data frame with few columns and I have written a function that calculates a value for each row and a new column is added to the data frame. def function(x):     asin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578212", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Expo (React Native) Android build crashes, runs ok on emulator and iOS Been working with Expo before, like 4 yrs ago, then swithed to pure RN to avoid weird issues, and here we go again. Runs fine on emulator, but .apk builds made with eas build keep crashing, looks like there's no js linked to them. Same result aft...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578213", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to use Signer. Digital Chrome Extension in javascript to sign json string how to use Signer. Digital Chrome Extension in javascript to sign document in json format using usb token ? I installed the extension but I can't find the token
{ "language": "en", "url": "https://stackoverflow.com/questions/75578216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Paginaion in firestore: Jump to a specific page without knowing the first document in that page I have a Firestore collection with thousands of documents and I need to implement a pagination system where: * *Only 20 documents will be rendered at a time *Documents will be sorted by let's say, a created_at timestam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578217", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Jest code coverage of service execution (mock Axios call) React Jest code coverage of service execution (mock Axios call) I am new to React and Jest. I want to test the below line of code using Jest. I want to check if callback, dispatch, clearMessage, errMessage, and service are getting executed or not. Or wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578221", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you detect specifically an integer input but also check to see if the input to something is blank? I was wondering if it was possible to have an input variable look for an integer input but also be able to detect if the user leaves no input. I was wanting to make a simple app where the user chooses an option ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578223", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set GENERATE_SOURCEMAP false in vite Hi I deploy my react using vite, however all the source code showing from debugger. I want to hide it and already follow the step: * *add "build": "GENERATE_SOURCEMAP=false vite build", *using cross-env *and the last is try to set in vite config: build: { outDir...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to accept 'multiple files' or 'single directory' to single parameter on PowerShell? I'm trying to write a PowerShell script for processing files with FFmpeg. Since I'm trying to use it with PowerShell v5.1 which is shipped with Windows, I'm trying to code it with PowerShell v5.1. If it isn't possible with Power...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578226", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When I use pylint in python code this message comes to me "no module named ..." Here is my error message: C:\Users\pc\Desktop\python project\first project> pylint.exe c:/Users/pc/Desktop/python project/first project/ahmed.py ************* Module c:/Users/pc/Desktop/python c:/Users/pc/Desktop/python:1:0: F0001: No m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: postgresql as an embedded Database Need a small help regarding the embedded version of PostgreSql. I see that we can create an embedded form of PostgreSql https://github.com/zonkyio/embedded-database-spring-test . But the page specifies mostly a test oriented library and it does not specify if this can be used in a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Failed to open json file I need to load a JSON file and copy it into a string buffer but it is failing to open the file. What could be the problem, can I use any other method? My JSON file is as follows: { "ip": [ "212.253.144.10","192.32.12.1","192.12.1.1"] } and the code: #include<iostream> #include<fstream> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to setup same homepage url with language url in Multilingual Wordpress I have a difficulty I how to setup same homepage url (from logo) with language url in Wordpress using Polylang plugin. So, the homepage logo url is using maindomain.com, meanwhile homepage for language urls are using maindomain.com/en/ and ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the input dimension for a LSTM in Keras? I'm trying to use deeplearning with LSTM in keras . I use a number of signal as input (nb_sig) that may vary during the training with a fixed number of samples (nb_sample) I would like to make parameter identification, so my output layer is the size of my parameter nu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578232", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to use useLayoutEffect hook Code here: const insets = useSafeAreaInsets() const { params} = useRoute() const [isLoading, setIsLoading] = useState(true) const [isError, setIsError] = useState(false) const [info, setInfo] = useState(INITIAL_INFO) const [isMarked As Favorite, setIsMarked As Favorite] = useState(fal...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Retrieve custom elements with mgt-people-picker When using the mgt-people-picker, is there a way to retrieve extension properties that are defined for the selected user? A: At present there is not. If this is a feature that you'd like to see then please raise an issue on the repo and explain the scenario you'd like...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578237", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular accordion component not showing ng-template In Angular 14, I'm trying to follow this tutorial to create an accordion component: https://codesandbox.io/s/ng-accordion-ssscp?file=/src/app/app.component.html I mostly copy pasted the directives and accordion component, changing only the names of css classes and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Alignment in csv-table does not work when I use reStructuredText and Sphinx to generate PDF I want the words in the center in the csv-table when I use sphinx and reStructuredText and Sphinx. I use the align:center, but it does not work. The words are still left. Sphinx Version:sphinx-build 5.1.1 Python Version:Pyt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vue component's button callback: Cannot read properties of undefined Using Vue3+typescript, I'm trying to use a library called gtag-vue to send google analytics events to my account. The idea is that in a Vue component, when the user clicks a div, I'll send a custom event, myCustomEvent. <template> <div v-on:cli...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Which translation process in a MFC project? (given a resource approach) In a C++ MFC project, before making choices of resource implementation, I'm looking forward to know the consequences on the language files and the subsequent translation process. First, I know there are 3 approaches for language and resources fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578246", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MySQL - convert json array to json object as you see here , I have Json Data type of object, when i want accece to the email , I will use query Like this . SELECT customer_info, JSON_VALUE(customer_info, '$.email') FROM customer_extra but when I have Json Data Type of array Like this How I Can accest to the cart...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Method error in Julia when using Parameters.jl I want to define variables as below, but does not when I add the line time::Vector{Float32}=[a:step:b] using Parameters @with_kw mutable struct variables InetrpolationDegree::Int = 1 a::Float32 =0.0 b::Float32 =15.0 N::Int = 100 step::Float...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578252", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: when curl localhost:8080, 401 in centOS is it because of the jwt? My spring project works in IntelliJ with Chrome, but In linux it doesn't. It is the result in my linux below. >curl "http://localhost:8080" {"message" : FAIL AUTHENTICATION, "status" 401} I think it's because of jwt and spring security. So I change t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578254", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Docker Gui on Windows Host I want to display a GUI that is started from a docker container on my Windows Host display, but so far non of the thousands of articles out there did help. Details about my setup: * *I run docker via Rancher Desktop (via dockerd + WSL2) *I have XMing installed and running My minimal Do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578255", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update a row value in a itertuples I have a dataframe which I want to group based on the name. Once grouped, I want to go through each row of each group and update the values ​​of a column to then do other operations. The problem is that when I update a row, the value of the row is updated in the dataframe, b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578256", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiple files getting download by flutter downloader plugin import 'dart:async'; import 'dart:io'; import 'dart:isolate'; import 'dart:ui'; import 'package:external_path/external_path.dart'; import 'package:flutter/material.dart'; import 'package:flutter_downloader/flutter_downloader.dart'; import 'package:nb_utils...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to just reset submitted without losing the value of controls or reset the values of the form? How to set submitted property to false without resetting the values of the form? I type something in the input and then hit submit button. in the submit function, I call reset() or resetForm(), which changes the submitt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot get value or get text from the element I'm trying to get the value of this element; in this screenshot, it is the number 5934 However, I was only able to get the path I used getValue() and getText() commands but didn't work. Any idea why and how I can fix this? Many thanks! getValue() and getText() commands
{ "language": "en", "url": "https://stackoverflow.com/questions/75578259", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: AWS Beanstalk URL will not docket React App I deployed a dockerised React app to AWS Beanstalk, all the build stages passed on Travis and health check on beanstalk is ‘ok’. Updated the Dockerfile to expose port 80. This is a Udemy course that I’m following on Docker and now the url does not work to load React. Below...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Need create sso or auth with token in queryparams on openstack We need to redirect to the openstack and automatically log in to it (backend django rest). The simplest option would be to pass the token to the queryparam. But as I understand it is impossible and need to configure sso. Maybe someone has already done th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578262", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: left join two dataframe based on 2 conditions (column and in between datetime) I have a dataframe df which contains many columns out of which some of the important columns for this purpose are * *order_datetime_ams (date time) (time of order) *city (string) (city name) order_datetime_ams city --- --- --- ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578264", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Mass transit: Need to create and use a wrapper around IConsumer and Consumecontext I've created two projects: * *A WrapperMassTransit library *A Consumer App (Has dependency on WrapperMassTransit) Main purpose is to decouple mass transit logic from the consumer application The library contains MassTransit relate...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: LaTeX Beamer -- Horizontal alignment of tables I'm working on a beamer template and I'm stuck with trying to find out how to customize the horizontal alignment of tables. More precisely, I'm trying to add tables with a caption, but I'm trying to avoid them being centered at the same time. Let's say I have a case whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to access a port exposed by docker on linux virtual machine I am running apache superset on my linux VM that I created through azure, I used sudo docker pull apache/superset sudo docker run -d -p 8080:8088 --name superset apache/superset to setup an instance of apache superset, when I run sudo docker ps, to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why do I keep getting error when creating a React app? I'm trying to set up React to use with IntelliJ by following the Intro to React tutorial to create a tic-tac-toe game using option 2 on the website. I have created a Github repo and opened it in IntelliJ but when I try running npx create-react-app my-app from t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578273", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wordpress function for display conditional contents On my site I have two types of content: content reserved for members and free content visible to all. I would like to use ACF to decide from time to time whether the content is for everyone or members only. In the backend i have set up a custom selector field * *...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to parse json containg index number for an object in go lang below is the json string package main import ( "encoding/json" "fmt" ) type XYZ struct { //ParamName string Value string Values []string Parameters map[string]XYZ } type Service struct { Parameters map[string]XY...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ranking in sql using rank function I need rank group-wise: col A col B rank aaa 1 1 aaa 1 1 bbb 1 2 bbb 2 1 bbb 2 1 ccc 1 1 I need rank which I mention above in the table. Currently I am getting 1, 2, 3 in the same group.
{ "language": "en", "url": "https://stackoverflow.com/questions/75578280", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: The differences of move and la in MIPS? I'm a beginner of the MIPS. In my opinion, in MIPS move means transfer the value of a register to another, la means transfer the address of a register to another. But the result of the code really confused me. li $v0,8 #to get a string la $a0,($v0) move $t0,$v0 I use mars to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578281", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to select a choice by pressing keys in Colab? Problematic code image I try running the code "! accelerate config" and its choice need to be selected. How do I press a key inside the code cell to select a choice? I expect the solution or alternative solution of this problem.
{ "language": "en", "url": "https://stackoverflow.com/questions/75578287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I filter json basing on keys being in array in JQ How can this be achieved? Those are inputs: ARRAY=["keyA", "keyC", "keyE"] JSON={ "keyA": "valueA", "keyB": "valueB", "keyC": "valueC", "keyD": "valueD", "keyE": "valueE", "keyF": "valueF" } So basing on what I have in ARRAY (keys) how can I outp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: WPF MVVM - Binding Command not found because of ItemsSource I have a custom TabControl with an ItemsSource binded to it. Inside the ItemTemplate is a Button which Command I want to bind to a RelayCommand from my DataContext (ViewModel). The Problem is, that the application is looking for the Command inside my ItemsS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: columns type error when using a custom sorter function on Ant Design table I'm trying to add a custom sorter function to a column in an Ant Design Table component. To do this, I've defined a compareStringsByKey function that takes a generic type T and a key of type K that corresponds to the object property to be sor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578292", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to determine the step size linearly in gradient descent I have an objective function (f) that needs to be solved optimally by gradient descent, however, I don't know how to determine the step size. I learned about a linear approach to determining the step size when I reviewed some related codes, i.e., First, giv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578295", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error while sending whatsapp message using pywhatkit My Program should send whatsapp message using pywhatkit library by taking input from user by speech recognition. This is the function that send message. def WhatsApp(): speak("For Whom should i send message") Contacts = { 'mom' : 63XXXXXXX, # the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "How can I use Bloc to fetch and continuously display data from Firebase Realtime Database in Flutter?" i have a food mobile application and i am trying to make the admin portal where i am submiting the meal based on the days and i can also delete each meal seperately by searching for the meal id and then remove it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create columns with probabilities from multiclass classification model in Python? I created multiclass classification model and now i try to make prediction in Python. My code and questions: * *I try to create in my scored df 4 columns where will be a probability for each class df.SCORE_0, df.SCORE_1, df.SC...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578304", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Need to value of tooltip line wherever hits line data point in echarts Need to the line chart y axis value when tooltip hit the data point line. I have attached screenshot also for reference. Thank you in advance. Need to get the read line Y axis value
{ "language": "en", "url": "https://stackoverflow.com/questions/75578307", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to automatically include a concern in all Active Admin Page controllers? I have the following concern: ./app/controllers/concerns/activity_helper.rb module ActivityHelper extend ActiveSupport::Concern included do before_action :my_method, except: %i[update destroy] end def my_method ... end e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Power Query - filtering after grouping only in situations where there is more than one same value per one grouped value - is it possible? Have table in power query: Insurance Claim No Subcategory Code Approval Date Vendor Name IE0225873 I_REP_DAM 12.10.2022 XERO IE0225873 I_OTHER 12.10.2022 NERO IE022587...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flutter : How to set height for my TextField without make my screen bug? I want to add a textfield inside my row..... Widget build(BuildContext context) { return SingleChildScrollView( child: Column( children: [ Row( children: [ Image.asset("as...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Requests python not fetching data is there a reason why the requests isn't getting any data? I tried doing it on my VM, and it works normally but when i tested it in my server, it doesn't work at all. I've made sure that the requests library is installed in my environment I and also made sure that it's up-to-date wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578320", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to write laravel subquery in from condition how to convert this sql query into laravel? SELECT DISTINCT d.*,e.templateName from (select a.client_id, a.unit_id, b.clientName, b.branchName,a.template_id FROM client_template_map as a JOIN client_details as b ON a.client_id=b.clientID and a.unit_id=b.unitId) as d le...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578321", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add styling to part="native" child element I need help with writing SCSS to style some element that is in #shaddow-root in DOM in my Angular+Ionic 6 app. Here is the image how the DOM looks like; I want to give the class="input-wrapper" some fixed height but am unable to apply it. Here is my SCSS code: ion-item { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578324", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Downloading latest version of file from website / Getting latest download Link from button (Windows 10) I need to download the newest version of a bunch of files. That works pretty straight forward using direct links. The links I need to use look something like this: https://d.apkpure.com/b/APK/org.telegram.messenge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578328", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: caching authorized content in microsoft CDN I have a web service and microsoft CDN on top of it. I am using bearer token to gain access to the service. When I call service directly I get a header back: Cache-Control: public,max-age=6000 but when I call it via CDN I get: X-Cache: CONFIG_NOCACHE I suspect it is becaus...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Metadata registry Software - alternative to Aristotle Cloud Good morning, I am at the point of writing my master thesis on ISO11179 compliant metadata registries. Part of it is a comparison of commercial metadata creation tools. However, it is not about analysing this data, but defining it as in Aristotle cloud. How...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578330", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use the TEE technology in Android Studio.??Unavailability of the optee_client_java_api library I want to implement TA & CA in android studio project. For this i have follow this steps below. Download the OP-TEE Client source code from the following link: https://github.com/OP-TEE/optee_client Copy the re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create a dock using angular CDK I've been trying to build a Docking Panels component for angular, using @angular/cdk/drag-drop and Portals, something like this demo (github). Sadly this isn't open-source and you have to pay for it... Angular CDK contains a drag/drop module, and I tried to combine it with the Angular...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578338", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: glsl vertex shader glGetUniformLocation return null hello everyone i'm learning webgl and i can't get the location of the special variable here is the code vertex-shader uniform vec2 u_translation; attribute vec2 a_position; uniform vec2 u_resolution; void main() { vec2 position = a_position + u_translat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Authorization Server 1.0.0: javascript error while requesting /oauth2/token I have created a Spring Authorization Server - you can find the code on github https://github.com/costerutilo/UTILO-Authorization-Server I can't read the token via javascript. I created a simple Vue web app to get the clients authoriz...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578340", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Paytm test API keys not found in PayTM dashboard After clicking on generate Test API Keys in Paytm Dashboard, it just kinda loads and stops. On reloading the area where my test api details should be present, is just empty. I have also applied for production API keys but I don't know when I will receive them. Any ide...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578341", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hello everyone, I want to find this specific font that I saw in the tv-series I have one question that is not so much related to programming, but I believe that people in this community will be able to help me with it. I was watching a TV series and I saw this typewriter font and I really want to find that specific ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578342", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to efficiently remove all non-inherited permissions on a SharePoint site's subtree using Microsoft Graph API? We use Microsoft Graph API calls to remove all permissions on all files in a SharePoint site's subtree which are not inherited from the subtree's parent. Currently, we iterate through all files and folde...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578343", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am using Colab to run some python code but I keep facing attribute errors The code I have is for a vehicle routing problem with variable time windows (VRPTW). I am using Colab to run it and I am currently facing attribute errors. I am somewhat new to coding so if possible please let me know what I may be doing wro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578344", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Python Selenium - Detect firefox geolocation alert popup Selenium provides option to allow or deny geolocation access with the help of below config 1. geo.enabled 2. geo.prompt.testing 3. geo.prompt.testing.allow but before allowing or denying location access I want to check whether alert pop up is coming or not. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578345", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Appending two lists in Python I have two lists Ci and Ci2. I want to append these two lists and create a new list Ci. I present the current and expected outputs. Ci=[0.0, 0.0, 0.0, 0.0] Ci2=[0.04394923296183167, 0.04397049065885657, 0.04383744755612015, 0.043863884953252545] C=Ci+Ci2 print(C) The current output...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578347", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: db.create_all() is not ran and freezed I have this website built with flask and flask-sqlalchemy that is connected to a Postgres on Railway. Today the app sudden cannot be executed, nor did it give any error message. It just freezed. After some investigation I found out it was db.create_all() causing the freeze. I d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Select and count all entries and group them according to the entries I have the following table and i am supposed to count the entries(5,4,3,2,1) per column name ID ClientID Responsiveness1 Responsiveness2 Reliability1 1024 3511 5 4 3 1025 4571 5 3 5 1026 3827 4 5 4 1027 7652 1 1 1 1028 7778 2 2 2 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Flutter app that demonstrates the use of the moment_dart library for manipulating and formatting dates and times in Flutter I'm working on a Flutter app that demonstrates the use of the moment_dart library for manipulating and formatting dates and times in Flutter. import 'package:flutter/material.dart'; import 'pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578353", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I write the junit test for a thread pool executor configuration (AsyncConfig)? Following is my configuration for a thread pool executor- @Configuration @EnableAsync public class AsyncConfig { @Bean(name = "asyncExecutor") public Executor asyncExecutor() { //should not return null ThreadPool...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578354", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sorting dataset based on lagged column I have the following data frame. I tried to create a sequence for each unique Day Type - Direction combination, to understand the order of points (which are meant to form a line). However the order of the points in the dataset hasn't been maintained. I know that the 'Latitude ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: how to implement dynamic loss weight adjustment in tensorflow? i'm working on a multi-task regression problem, the total loss is contain three parts: f1_loss, f2_loss,(y_ture - ypred), the f1 and f2 is different derivative of neural network. my loss function is defined as: def call(self, y_true, y_pred): f1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why does the survival probability of the survival package return 0% at the end of the time horizon when there are survivors in the dataset? I've just started using the survival and survminer packages in R and am trying to understand its output. In the code below I create a dataframe with the first 12 rows of my actu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578365", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: create nuget package support the dependency injection DI i am creating a Nuget Package should supports the dependency injection (DI) throw a service called "IGETSum" with one method called "SUMorSUB" that’s take a two numbers and sum them or subtract them. every thing is done except call the method in program.cs, ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578370", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use the entered line as a parameter for PyMySQL Is it possible to use entered line using the input function as a parameter for function cursor.execute? connect = pymysql.Connect( ) l2 = input("Введите слово: ") condition = l2.isalpha() if condition == True: cursor = connect.cursor() cursor.execute("SELEC...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578372", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: VR indication using Oculus Quest2 and three.js I am planning to use Oculus and three.js to display VR. I thought I would check the operation with the official sample first. https://threejs.org/examples/?q=vr#webxr_vr_ballshooter I expected to be able to access the following official sample on my PC and press enter t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: slow select in (...) (springdata jpa in mysql ) I have a table "A", "A" has a Column AreaId, When I select * from "A", I wanna show results where AreaId in my account. Other, I hava a table "B",it means I hava some AreaIds, It possible thousands or hundreds. So, When I select from A , I will select * from A where ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578376", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: using pug face csp problems While I was tring to import the mapbox api into my app facing the problem. Here is my code doctype html html(lang='en') head meta(charset='UTF-8') meta(name='viewport', content='width=device-width, initial-scale=1.0') link(href='https://fonts.googleapis.com/css?family=...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578377", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Terraform ECS EC2 ASG how to zero task instance stop autoscaling code module "autoscaling" { source = "terraform-aws-modules/autoscaling/aws" version = "~> 6.5" name = "${local.name}-asg" security_groups = [module.autoscaling_sg.security_group_id] ignore_desired_capacity_changes = true image_id = jso...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578378", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't update Tkinter label from Thread I'm trying to update the text of a label from a Thread but it doesn't work. Here is a sample of the code def search_callback(): class Holder(object): done = False holder = Holder() t = threading.Thread(target=animate, args=(holder,)) t.start() #long...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578379", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Routing device to cloud messages from Azure IoT Hub to Azure Blob Storage I have an IoT device sending messages to Azure IoT Hub every 5 minutes. I would like to save every message inside an Azure Blob Storage Container. Inside the azure portal, in the Message routing section I created a new route like this one. Ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578380", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why isn't React Testing Library rendering all children inside a Dropdown component? I am using React 18, Testing Library and react-bootstrap Dropdown components and want to simulate a user click on the second dropdown option. The problem is that when the component is rendered, it's not rendering the Dropdown item ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578382", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: admin ajax request giving 400 error when accessing function inside php class I am using admin ajax request in wordpress plugin to access a function inside php class. But, it is giving 400 bad request error: my class file name: class.ajaxtest.php ajaxtest_PLUGIN_URL is defined in main plugin php file as plugin_dir_ur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578383", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update state of a nested object using useState with data collected from a React form? I'm new to React. I'm trying to make a simple form to register a user. I'm using useState hook in which the initial state is a nested object. How to update address fields in user object. My AddUser component is updating name...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578384", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Sphinx subdirectories are failing to be found from variables in code using './subfolder/xxx.csv' Here is my folder tree in Windows 10 x64, I am using conda python (3.9.16) and Sphinx 6.1.3 : ├───TradeTracker │ ├───docs │ │ ├───_build │ │ │ ├───doctrees │ │ │ └───html │ │ │ ├───_sour...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578387", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find rows in common between columns belonging to specific groups using R I have a data frame of 8 columns and 6 rows. All rows are numeric and contains positive and negative values. I have another file with 8 columns and associated group name (A, B, C or D) for each column. The first 2 columns are group A, the follo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to get Handler from User Profile Link in Facebook Flutter If User's Facebook account is private then we cannot get directly Handler from User profile link otherwise we can get Handler from User profile link. Is their any api to get handler without access token? Eg. I have one FB User profile Link from which I wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578395", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Use MapStruct mapping from non-iterable to iterable? List<MapStructureObjectEntity> toEntityTest(UUID mapId, MapStructureObjectDto.Update update); List<MapStructureObjectEntity> toEntityTestList(UUID mapId, List<MapStructureObjectDto.Update> updateList); I have a mapper that converts from List to List as abo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error convertig mp3 to aac audio with AVFoundation I am trying to convert a mp3-audio to aac-audio and I am getting the error Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '*** -[AVAssetReaderTrackOutput copyNextSampleBuffer] cannot copy next sample buffer before adding this o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SQL Date not match I created a stored procedure for calender, I have some challenges. My date column from the report does not match with the one I have in application. The one I have in the report start with a date and the one I have in the application is start with a year, and I want both to start with a date an en...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578406", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: lightbox wordpress gallery open popup automatics I'm using the Gallery Lightbox Lite plugin in my website for gallery popup option but I want open popup automatics after page load, do you have any javascript help me for this ? note: this is the link to gallery https://www.360cdm.ae/milanoorchid/en/services/kitchens/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578408", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Result of mysql query to use as variable for another query I am using one query to get the maximum value in the table and i want this value to be used as a variable for another query.There is a field ID in my table i want to fetch the maximum value of this id from a table and want this value to use as an variable($...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578410", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to update value inside platformViewRegistry in flutter web I am showing pdf in a pop up alert, here is the code pdfPreviewOk(String pdfSrc) { showDialog( context: context, builder: (BuildContext context) {return AlertDialog( scrollable: true, content: Padding( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot install ruby with asdf on ubuntu I encountered an error when installing ruby on my Kubuntu 22.04 using asdf. When I ran this code asdf install ruby 2.6.4 The terminal show this and stopped forever: Downloading ruby-build... To follow progress, use 'tail -f /tmp/ruby-build.20230227154534.54979.log' or pass --v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }