text
string
meta
dict
Q: How do I get indentation of bullet list (python-docx) I don't know what am I doing wrong. Based on the ruler in Word left_indent is the place where the text begins. So, I tried left_indent and it doesn't work, it only works on the normal text, with no bullet. Then I tried first_line_indent, doesn't work either. Btw,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does VBA code not work on hidden rows? So I have a clear_all() sub and it doesn't work on hidden rows (the blue marked rows in my screen). Only if I drag them to a certain size then the sub works. Sub clear_all() Sheets("sheet1").Range("D17:DX100000").ClearContents 'there are more sheets but they are al...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Express.js proper file not being sent as response I know this will be some stupid thing but I don't know why express.js is doing this. So, I am sending a HTML file in a GET request const express = require("express"); require('dotenv').config() const app = express(); const PORT = process.env.PORT || 5000; app.use(e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: For loop doesn't loop through all data from table It's a bit complicated but I'll give my best to explain everything so if someone is willing to help have a good understanding of the problem. I have Transaction and Wallet entities: Transaction @Entity @Table(name = "transaction") public class Transaction { @Id @Gen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Zendesk:where to put an .on('ticket.updated' in a react app in zendesk currently i have this code placing the on ticket updated function inside the use effect. the problem is that whenever i change the value of the use effect hook it seems to trigger the on(ticket.updated) eg i change the form value 3 times the func...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get previous state of a tracked entity in dbcontext after savechanges When we are working with DbContext it tracks what happens to the entities attached to it. If you modify a property, an entry will be added to ChangeTracker.Entries with EntityState.Modified, the same happens when you add or delete entites, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Verifying rewarded ads with flutter and firebase I have a Flutter app that comunicate with a nodejs backend in Firebase, and that backend with some APIs. I want to make the user watch 2 rewarded ads videos and let him access the APIs, but I can't find a way to verify in the backend that the user has watched succesfu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627800", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any SQL query to check if we are using a table or a column in any of our workflows (Sources or lookup)? I need to check impact of few of the columns/tables as some of the workflows are about to be decommissioned. One way of finding is to manually open each session of each of the workflows and check in looku...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unity Catalog is not enabled on this cluster I'm trying to set up Unity Catalog on Databricks and for that purpose I created a new cluster with runtime version 11.3 and Single user as Access Mode. I tried to run %sql create catalog if not exists playcatdemo from a notebook attached to the cluster I made previously ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CommissioningClient.API is not available on this device On running the code provided in code lab in https://developers.home.google.com/codelabs/matter-sample-app#1 I have tried to run it on physical android phone (with compatible android version and google play services version) as well as pixel 6 virtual phone on e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing a block with a method to an association acts as a filter? Consider the following models and associations. user.rb class User < ApplicationRecord validates :name, presence: true has_many :posts has_many :favorites has_many :favorite_posts, through: :favorites, source: :post do def by_other_user ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627808", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to send data and get headers on client side e.g. index.html from node server I want to send data from node server to statically rendered index.html I have tried setting cookies by res.cookies but not able to access those cookies on client side A: You can use EJS to achieve this EJS is a template system. You def...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Disable i18next falling back to "parent" key when missing translation I'm working on a project that uses i18next, react-i18next and i18next-http-backend. There are two namespaces: common which are translations stored in the app, and db, which is fetched from backend. The init looks like this: i18n .use(LanguageDet...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to call a method in a struct from inside my View struct I have a struct and I am using as a view struct CritterView: View { @Binding var critterViewIsShowing:Bool var body: some View { VStack{ CritterViewHeader(critterViewIsShowing: $critterViewIsShowing) } // this works ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Parallel and sequential run of unittest.IsolatedAsyncioTestCase I have test case: class HttpbinSuit(IsolatedAsyncioTestCase): async def asyncSetUp(self): self.client = Client("https://httpbin.org/") #... Then in the main I want to run it and see results, or generate allure-report. suites = { "pl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627816", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to proper implement client_secret_jwt Token request customize DefaultClientCredentialsTokenResponseClient I would like to implement client_secret_jwt client authentication. In the Spring security document it is said To customize only the parameters of the request, you can provide OAuth2ClientCredentialsGrantReq...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: score gets overwritten in next level. Will someone please help me Player starts and collects fuel cans, the fuel is deposited in a larger tank and next map loads. collected fuel sets to 0. In second map, fuel is collected but when you deposit it, the score will be overwritten, not added to. using UnityEngine; usin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error when trying to install openmc-plotter: 'qt.qpa.xcb: could not connect to display' I am running Ubuntu through WSL. I've download Anaconda3 onto this, and then followed some installation instructions to download openmc. https://docs.openmc.org/en/stable/quickinstall.html# This is all very straightforward, and o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Retrive a specific value from json using select in ruby I have this json value funny = [ { :name=>"cf_shank_1", :required=>true, :choices=>[ [ "firsttttt", "firsttttt" ], [ "seconddd", "seconddd" ], [ "thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Flexbox with flow: column wrap and height: min-content not wrapping I have a tiny CSS problem. I have divs with different heights and would like the parent element to have the height of the biggest element and the rest of the elements to wrap accordingly. This works perfectly for rows (the parent element having the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Informatica code to fetch email id from text Input: Data storing in column is string within that email ids are present. Need to fetch email ids.There is no fixed pattern. Example : Field 1 test – test12 – test@gmail.com - test1@gmail.com abc - abc@gmail.com - abc1@gmail.com - abc2@gmail.com ghi-ghi@gmail.com-gh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating azure AD app using az powershell I am creating an azure AD app, generating a client secret for it, and giving Reader role using az PowerShell I want to give Microsoft Graph. Directory.readAll permission to the app, but not sure how to do using PowerShell. Can anyone help? Here is the code I've written: #Con...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627830", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tkinter - Columnspan does not bring desired result: How to get widgets to their desired place? I am buildung a GUI for a file oranizer program. The program itself works, but I am having issues with getting my widgets into the right spot. The problem: I have too much space between my scrollbars and my textboxes, as y...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiplication of two large numbers of strlen 40 each #include <stdio.h> #include <string.h> #include <math.h> #define MAX_LEN 200 int checkValidInputNum(char*); int main() { char first_num[MAX_LEN]; char second_num[MAX_LEN]; printf("Please Enter your first number:\n"); scanf("%s", first_num)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error while mocking HttpUrlConnection call in REST service using Mockito in Java application I am new to Java. I wanted to write unit test for the following method using Junit and Mockito framework. This method takes in payload, establish the http connection and return response: public static Object callApi(String j...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to filter data with Spring Jpa over optional fields? I have a method using Jpa to fetch data (in this case it is Page object). (I am using MySQL) public AdvertSearchResponseDto findAdvertSearchAsPage(AdvertSearchPageRequestDto dto, Pageable pageable) throws CityNotFoundException { Page<AdvertSearch> adv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why do we need the "return" statement in a function when we can replace it with print() function? Question: Why do we need a return statement after all? My ambiguity: I'm asking this because we can use the print() function instead of the return statement and call our function without printing it. If we do this, we d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to control the data filtering using app audiences? I'm learning about power bi app audiences. Multiple audiences can be created. And one or more report/pages can be added to the app audience. So is this audience feature to control which users can see which reports? Because member of any audience can choose to fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Efficient solution in pyspark for a grouping problem So, my data are kinda messy, but I have to handle them in spark. Basically, I currently have a table with this form +------+------+----------+----------+ |new_id|old_id| new_date| old_date| +------+------+----------+----------+ | id4| id3|12-01-2021|11-01-20...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: @config-plugins/react-native-ble-plx dependancy issue I'm trying to installing this package to allow me to use react-native-ble-plx on expo app, yet I face dependency issue, can any one help please: npx expo install › Installing using npm > npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve depen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Simulator in behaviour cloning leson does not connect with back end I am working on the behavioral cloning lesson in self driving course from Udacity. First, I use a provided simulator to control a car manually to collect images and all information of the car to train a model. The model is created and trained with C...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627846", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to import packages that are outside a django project I have the following folder structure my project, the backend directory is a django project, when I run python manage.py runserver from the backend, I get an import error whenever I import functions from TwitterChatBot package, what's the problem and the solut...
{ "language": "it", "url": "https://stackoverflow.com/questions/75627847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I mock a function that is defined within another function in python pytest with magic mock framework? Considering the following peace of code: class X: def func_a(a): //function does somthing def func_b(b): // do something func_b(a) How can I mock function func_b(a) in my test? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pymongo upsert only certain records based on value I have the following python function. This looks up any existing fields with the same storeID and countryID. But i only want to update them if the updated_by field is "owner". Or insert them if the storeID and countryID don't exist. The problem with my current funct...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Msiexec a MSI package with passive got different results in administrator command prompt and normal command prompt I tried to make up wxs to build a MSI package. The target is to passive install in Standard User account. This MSI copies files, writes HKCU registry, creates folder under %LOCALAPPDATA% and creates a s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: can anybody help me with this python library's error? as i am new to python ccxt so i want to know that why i am getting ccxt authentication error though everything is correct. Traceback (most recent call last): File "c:\Users\user\Desktop\algotrading\basic_delta.py", line 22, in <module> print(order_book()) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-8" }
Q: Laravel WebSocket error: read ECONNRESET error I've implemented websocket and docker to my local app. Here are my files: * *I have set app/Controllers/WebSocketServer.php file as like that: <?php namespace App; namespace App\Http\Controllers; use Ratchet\MessageComponentInterface; use Ratchet\ConnectionInterfac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I don't know how to write rules on Firebase Cloud Firestore I have an Auth and Firestore project on Firebase. I'm quite new at Firebase. I don't know how to write rules. I want to write a rule that a user can read and write only one's documents. Can you help me how I can write such rule? You can see the collection b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unhide protected cells by a Google Script I developed a system where the user fill in information about their micro-business plan. On the background all kind of calculations are done, a combination of macro's and scripts. Only the cells where the user have to fill in date, are not protected, so that he or she doesn'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OPC UA [asyncua] CreateSigningRequest (CSR) I would like to implement the basic GDS (global discovery server) functionality using python https://github.com/FreeOpcUa/opcua-asyncio. From what I can see, currently freeopcaua has all methods available for this procedure except CreateSigningRequest https://reference.opc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I noticed that the "scope" has disappeared under Github. Any ideas on finding it? I tried regenerating different tokens, but none worked. A: GitHub currently offers two types of Personal Access tokens: Classic tokens, and new in October 2022, Fine-Grained tokens. Scopes is available under the "Classic" tokens:
{ "language": "en", "url": "https://stackoverflow.com/questions/75627868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: fill with specific value a specific textarea created dynamically ( themeleaf, html js) I want to add 3 button for each textarea that represent 3 different word (ok, non specific, no). When i click one button the program need to fill the specific textarea contained in the specific div <div class="form-group mb-0 sez...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kubernetes Load balancer - External-ip always pending I have Kubernetes 1.26 with containerd ona ubuntu VM, 1 control plaine and 2 nodes (ubuntu also). I did a deployment and a service with loadbalancer. When I run Kubectl get services the loadbalancer External-IP always in "Pending" status. I issued kubectl describ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does initialization of vector of class with implicit string constructor from string literal fail? The following code fails to compile. #include <iostream> #include <map> #include <vector> using namespace std; class mc { string s; public: mc(const std::string s) : s{s}{}; // mc(const char * s) :...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Consul agent running as docker container on a VM which is running consul server I have a consul server running on my VM and to test connectivity with a client, I installed docker on same VM and created a consul container. Consul server running on VM works fine with other Consul servers on other VMs. Error retrieving...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nuxt server file - Inaccessible I am attempting to create a Twitter Clone using Nuxt3. However, due to a location issue, I cannot complete my login page. So the following image is my file hierarchy: The important files are useAuth.js which is within components/login/, and login.post.js, which is within server/api/a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python: Drop all tables in MySQL database? I'm trying to drop all tables in a MySQL database. Function: def reset_database(): queriesToRun = ['SET FOREIGN_KEY_CHECKS = 0'] results = run_database_query("SELECT concat('DROP TABLE IF EXISTS `', table_name, '`') FROM information_schema.tables WHERE table_schema...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to Place OCO Order on Kucoin with Python? I have tried to place the OCO-Order on Kucoin with Python(Kucoin-API)But In API There is No OCO Order Placing Option. This is what i have tried? OrderSL = KucoinCC.create_stop_order(symbol=coin,type='limit', side='sell', amount=AvailableAmount, price=StopLossTrigger,stop...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Automate browser actions I need to execute a series of browser actions several times a day in a very precise hour. I'm a Linux user and I though about doing it through Lynx, but I don't know how. I'm not a developer but I could try to learn a bit if need. I guess that the ideal scenario would be to create some of sc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627884", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Send fields to API After payment completed with Woocommerce And Gravity Forms Product Add-ons I've disabled all the default woocommerce billing and shipping and have created just these 2 fields phone number and email address with gravity forms, So these 2 fields shows on every product page with the help of Gravity F...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why the properties map to yaml return null I have a java properties config look like this: spring.cloud.gateway.routes[9].id = dict-auth spring.cloud.gateway.routes[9].order = 0 spring.cloud.gateway.routes[9].predicates[0] = Path=/dict/user/plugin/login spring.cloud.gateway.routes[9].uri = http://10.98.176.2:11014 s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Looking for a CMD or script commands or way to export single registry entry from a registry key How can i export only a single reg entry from a reg key. I dont need all the subkeys or entries or values to be exported. Just a specific single reg entry. I tried reg export but it exports the whole reg key with whole re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: What is in a Azure DevOps PR artifact? I have two branches, develop and feature/cool_feature. When I create a PR to merge feature/cool_feature into develop, our Azure Devops will automatically run a pipeline for this PR. My assumption is that the resulting artifacts contain both the feature/cool_feature and the curr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I insert new data object in mongodb by using command line? Like the title of the question, how do I insert a new data object through the command line ? Right now this is the code in the mongo.js file. When I run the command node mongo.js password right now, it is working as expected as shown in the last parag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Running openpyxl in Azure function app gives an error on defined_names.definedName: I have a written in python an Azure function that itterates over the defined names in an excel sheet. I'm using Python 3.9 and Openpyxl 3.1.0. When I run this function localy it works al fine. But when I port this function to Azure I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Strapi admin panel keeps on loading after registration I tried to deploy my strapi application on my server, which was successful as the registration panel popped up. But after creating an admin user, the loading screen appeared and keeps on loading. So I don't get to see the Strapi admin dashboard. I'm using Postgr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: javascript update json value by list of keys I have an object which goes so deep. For example: section: { data: { x = 4 } } Real one is even more deep. How can I update the x value when I have such a function: const keys = [section, data, x]; const update = (newValue, keys) => { // it shou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Runtime error (warning?): Failed to create 0x88 image slot, does anybody have a clue? I'm writing an app in Storyboard/Swift (XCode 14.2). When I run the app on my iPhone (14 pro 16.3.1) or on an iPhone simulator (16.2) no error is given. But when I test my app in an iPad simulator (tried the pro, air and normal): ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627907", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Not able to use GetItem() in dynamoDb for C# I want to get item from DYnamodb table using C# Here is my method public static dynamic Dynamodb() { string region = "us-east-2"; string tableName = "RetailTestData"; var credentials = new BasicAWSCredentials(Environment.GetEnvironmentV...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627908", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why are VBA collections not zero-based? I'm wondering: why aren't collections in VBA zero-based? Is there a specific technical reason for this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75627909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Row of elements is only rendering the first tag I have a <section> dedicated to hold one row of five icons. The <icon> tag is imported in a vue.js file, my file is a handlebars file, and there are no manual css overrides. Of the five icons, only the first one is displayed. When I remove the first icon, the second o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627910", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Alternative to authorization code flow with PKCE for native mobile apps that provides native experience I've been searching for the most advisable standard/protocol for native mobile app authentication, and most of the articles/videos till these days suggest to use authorization code flow with PKCE and stating its a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++: Migrate library with libusb-1.0 from arm32 to arm64 I've a C++ library which depends on libusb-1.0. This library is used in another program which works fine on arm32. Now I'm trying to the same with an arm64 device. In the library I modified the -L path where to find the libusb-1.0.so to account for the differe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Modules lost upgrading to python 3.11 I just installed python 3.11 and noticed modules are missing. I am working on ARM, NVIDIA Jetson Xavier AGX, Jetpack 5.0.2 it comes with ubuntu 20.04 and python 3.8. In python 3.8 I can run import tensorrt, but in python 3.11 I get No module named "tensorrt" I tried python3.8 -m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627918", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WS_FTP Producing 0kb files locally when file isn't found on source server We run download jobs through a task scheduler (SMA OpCon) and sometimes we'll try to pull files down but if they're late or missing for a given day, and in this circumstance it creates a file with the filename locally, but 0kb... any ideas? We...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: XML Document created with SAX SVG Parser doesn't find attribute with getAttribute() I want to remove an image tag from a SVG file in case the image has a base64 encoded image. String parser = XMLResourceDescriptor.getXMLParserClassName(); SAXSVGDocumentFactory fac = new SAXSVGDocumentFactory(parser); Document svgDo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: \p{InLatin1Supplement} is an unknown unicode-character-property-name in Regex The docs for java.util.regex.Pattern specify: Blocks are specified with the prefix In, as in InMongolian, or by using the keyword block (or its short form blk) as in block=Mongolian or blk=Mongolian. The block names supported by Pattern a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: src/app.module.ts:6:21 - error TS2307: Cannot find module 'adminjs' or its corresponding type declarations enter image description here I have NestJs App with the docker, and i want to add AdminJs to it. I follow install guide and install everything, but when i compose it up it can not find the module, what can be a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627929", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to insert in MongoDB I'm doing CRUD in MongoDB. I tried this example but I'm its not working. I'm getting access violation error then stream read error. Here is my code: var fdCon : TFDConnection; fdMongQuery : TFDMongoQuery; mDoc : TMongoDocument; begin try fdCon := TFDConnection.Create(nil); fdMongQ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python - encrypting and decrypting a password that goes to sqlite3 database In my 'password manager' app there is an option to copy password. Password of the entry is stored in sqlite3 database. For safety reasons I want this password to be hashed/encrypted. I am able to hash the password, hashed password goes into ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627936", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Index Match return number of results or string results I'm trying to make a tracker of time on different users and different process entries with different durations. so far i've spread out the times in another sheet to create time span and compare it to 2 time values before and after. then i wanted to look up machi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627940", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why could'nt I can change my localhost to custom domain name in ReactJS I want to change local host to custom domain name in my react app.I have edited my hostfile with custom domain name and my package.json as homepage:"http://domainname.com"/. But after npm run build and npm start , it still runs on localhost, the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627942", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Trigger visual update of CSS-specified property after Gtk3 widget state change I have a widget on which I am drawing in a python-gtk3 application, and clicking on it triggers a specific action. I want to show some visual feedback on hover, to indicate the widget is interactive. After figuring out cursors are not the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627943", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Struggling to center align icons from font awesome I've tried many ways to align 4 icons to he center of the page, but i failed in all of them, pls help me. ill put a print of the icons html <head> <script src="https://kit.fontawesome.com/4e49a073fe.js" crossorigin="anonymous"></script> </head> <body> <div clas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627948", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I return custom return values to the calling gradle task, when running instrumentation unit tests on Android The scenario I am running a JUnit test suite, which creates various result files during the test run. These result files are then stored into a zip file to be returned to the development machine. My p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627950", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to binary search a column of a 2D std::vector without creating a new vector? I am solving Leetcode 74: Search a 2D Matrix in C++20 in which a partially ordered (in row-major) 2D matrix is to be searched for an element. The solution finds a row in which the target must reside, if at all, and searches i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Element fixed realtive to parent element even on scroll I have a React app. I wanna add a Switch Toggle Component from MUI. Now I have a problem: I give position: absolute to the element I want to fix. But when I scroll the parent element, this element that should remain fixed "disappears" under the Navbar. I have a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why doesn't cornerRadius work by SwiftUI? I designated the clipShape and just cornerRadius(20) for the image by SwiftUI. It did clip the image. But it did not correctly. Why? Image("sample_image") .resizable() .scaledToFit() .frame(height: UIScreen.main.bounds.width) .clipSh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WooCommerce global attributes not appearing on attribute list Products are loaded onto a site, when choosing colour, the normal process is a colour is selected from the attributes list, if it's a custom colour i.e. not a global attributes, a custom attribute is created. All worked well until today when a user went t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627962", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there any VS code extension to keep the two files with same name and same content in different folders in sync with each other? I want to keep two files with same name and same content but from different folders to be in sync with each other. If I make any change in first file, that change should also be reflecte...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Nginx gives 502 bad gateway but only for a few http requests I made a portfolio website using django and hosted it on a digitalocean droplet with Postgres, Nginx, and Gunicorn. After testing it I noticed that a few of the subpages of the portfolio projects gives back the 502 response after 1 second of loading but in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627966", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jupyter doesn't show full message when using Pandas When working in Jupyter Notebook sometimes very long posts in a column get cut off and I have to scroll sideways to see the entire post which is very awkward to read and I want the whole post to be seen without scrolling. I use the following options in Pandas: pd.s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: usb stick detected in userspace but not detected by u-boot I need that u-boot recognize my USB stick when i plug it to my custom board based on iMX8M plus. In my linux userspace USB stick is recognized. When i type usb start the following error is displayed: u-boot=> usb start starting USB... Bus dwc3@38100000: prob...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627968", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to merge 2 DataFrames of differenrt sizes on ceil(value x, value y) I have already asked a similar question : how to merge 2 pandas dataframes of different sizes/indices on floor(value x, value y) Got answers, which work. I cannot however obtain the upper boundary in the same fashion as suggested in the answers ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627969", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to use multiple filter using OR conditon in java 8 how to use multiple filter using OR conditon in java 8 return getAllData().stream() .filter(emp -> emp.getEmpName().equals(empName) && emp->emp.getEmpEmailId().equals(empEmailId)) .collect(Collectors.toList()); i've tried this butnits no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: C++ function not working properly with default char argument I have a snippet of code where C++ functions are declared with default argument of char and int type. #include <iostream> using namespace std; int print(char c = '*', int num = 10); int print(char c, int num) { for (int i = 0; i < num; i++) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627971", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Describe an array containing an object (stdClass) with @phpstan-return in PHP DocBlock? - PHPStan I have an example function in PHP (8.2) that returns an array. Inside this array there is also an object, more precisely stdClass. I use PHPStan as a static analyzer tool. How can I specify this (object shapes) structur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627973", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the stable version of Weka for Windows 7 32-bit? I run a laptop with Windows 7 32-bit, Java 8 update 333, and Java(TM) 6 Update 7. I used several versions of Weka, but everyone has a problem: * *version 3.9.3 and version 3.8.3: Logistic Regression classifier does not work + I face this error message "file ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627974", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Parse Error, no element found in myplaces.backup.kml Today I Started Google Earth Pro it threw up an Error and exited I restarted and i had lost every thing in my "My Places", when I navigated to the folder where it was stored i found a number of myplaces.backup kml files when i try to open these files i get failed...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627975", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Specifying Monitor SAMP C# Process.Start is there a way in C# using Process.Start run SAMP application that will automaticly launch the game on default monitor. I have a problem that if you have another monitor and you try to launch the game using Process.Start, it will rush the launch and will not ask what monitor ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regex: Replace with value inside quotation marks and ignore if just quotation marks I have this: "test dd","test","","test","tes_d" I would like this: test dd,test,"",test,tes_d It works with "([^"]*)", but it replaces third value ("") with empty string. A: You can use ("")|"([^"]+)" Replace with $1$2, see the reg...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627978", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Selenium code with python 3. I cannot figure out why is this code not working, its set up all corectly is_selected in selenium check_box = root.find_element(By.XPATH,'//label[@for="full-stamina-heavy-toggle"]').is_selected() sleep(1) if check_box == True: pass elif check_box == False: sta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AJAX call value with spaces I'm trying to send an ajax post call, for example the string 'first second third' my server gets only 'first'. Tried escape() and encodeURIComponent as suggested in Passing Value Including Spaces on Ajax Call but it still gives me only 'first'. My flask @app.route("/appoint", methods=["GE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Sagemath Singular interface crashing when computing Groebner basis I am trying to compute the Groebner basis for a large number of polynomials using Sagemath and its Singular interface. However, for some (largest) polynomials, Singular is crashing on the HPC I'm running my code in. My code simply calls singular.groe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fastest way to check if values in list are in dataframe using R What is the fastest way to check if values in a list are in a dataframe? Here is what I have tried (on a much larger dataset with a much larger list) #list list_vals <- list("a", "b", "c", "d") #dataframe df <- data.frame(col1 <- c("1", "a", "c"), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627986", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Assign child node from a JSON response to project variable everytime a request is sent in SoapUI I am new to soapUI and still figuring it out. Is it possible to extract data from a JSON response and assign it to a project variable which can further be used in another request. In my case it's an authentication token....
{ "language": "en", "url": "https://stackoverflow.com/questions/75627987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: git-filter-repo loses the remotes I previously got this rewrite of history commit messages to work: #!/bin/bash # Create a temporary file to store the commit messages temp_file=$(mktemp) main_head_hash=$(git rev-parse main) suffix="⚠️ rebased since!" # Use git log to retrieve the commit messages and store them in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627989", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Copy Google Cloud Storage buckets by preserving IAM permissions How to copy Google Cloud Storage buckets by preserving IAM permissions. I tried below gsutil command with -p option but the IAM permissions are not preserved. gsutil cp -pr gs://<bucketname1> gs://<bucketname2> Any suggestions ?
{ "language": "en", "url": "https://stackoverflow.com/questions/75627990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Lisp collect random items if they are even Coming from other programming languages, I recently found lisp and am amazed. Reading through the loop macro, I wanted to generate a list with random numbers with a condition (let's just pretend the numbers should be even). So I came up with this: (defun some-test (range) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: C++ composition: wrapper inherits from class it wraps A class has many pure virtual functions (VF). Following the C++ composition concept, a wrapper to it is created to provide concrete implementation of the pure VFs. Since the footprint of the wrapper and the class it wraps is the same, is it good practice to let t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }