text
string
meta
dict
Q: How to make an azure function to read from the dist folder generated by Typescript? I have an azure function that works great in JS but I've migrated the code to TS. When I run the deployment I do see the dist folder generated by TS, however, if I go to the Azure portal I still see my old JS function but there's no ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nullified stored data can you please explain me what i do wrong. I Am learning JPA and i'm stuck with tests. On the first test "teslaOne" i create and persist Entity to the db and i would like to get access to this data from second test "teslaTwo". When i use Persistence.createEntityManagerFactory("h2database") it w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I build and deploy a shared library within a sub project using CMake? I have a larger project which already has a CMakeLists.txt file and that builds fine. I'd like to create a C++ library from a file named interface.h within sub_project/include/ and the larger project will link to this shared library. The f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Need help finding overlapping dates between two tables and creating a Y/N flag in SAS I have 2 datasets that I am working on which have a few overlapping dates. I want to create a flag which will check each 'date_lab' date for each id in TABLE B and cross reference it with the the start and end date ranges in TABLE ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Clone submodules via SSH recursively failing on GitHub repository Issue Cloning the repository git@github.com:revanced/revanced-documentation.git which contains submodules fails at cloning the submodules recursively: Cloning into 'revanced-documentation/repositories/revanced-manager'... git@github.com: Permission de...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't figure out how to put contents of txt file into 2d array I'm working on a data structures and algorithms problem for a class I am taking. I am asked to put the contents of a .txt file into a 2d array and find the lowest value and the number of times it appears in the array. The .txt file contains a large numbe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to replace query with multiple like statements? I've the following SQL query to be run from SQL server. How do I replace like with multiple patterns? select * from dbo.mastertable where (name like '%pattern1%' or name like '%patter2%' or name like '%pattern3%') Here I would like to replace @pattern in the query...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Trying to update my AWS DynamoDB call from v2 to v3 in js but it's giving errors ` import { DynamoDBClient } from "@aws-sdk/client-dynamodb"; // ES6 import const { DynamoDBClient } = require("@aws-sdk/client-dynamodb"); // CommonJS import import { DynamoDBDocumentClient, PutCommand } from "@aws-sdk/lib-dyna...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular before optimized image loaded I'm using NgOptimizedImage to load images: <img [ngSrc]="imageUrl" fill> And it works, but before it loaded there is just empty room. How can I put there an image before the original loaded? Is there something like this I can do: <img [ngSrc]="imageUrl" (load)="hideReplaceImag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: JSDoc generic typedef for TypeScript function I'm using JSDoc in a mjs to mimic a ts function that I have. The mjs is checked using the TypeScript compiler. The original function (overloaded), from ts file is like this: export function inline<TypeS extends boolean, TypeT = unknown, TypeF = undefined>(S?: TypeS, T?: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get ssjs variable(concat of different variables) to HTML href tag? It's like a link for tracking shipment in the email I have a ssjs variable str(it has multiple variables concated) to create dynamic link in the email I want to send this var to HTML -a href tag to create a link to track shipment. Please let m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: `rsync` files-from in a numerical order I have thousand of files named as 1.tld, 2.tld, 3.tld, ... 3550.tld, ... Because I am using a mobile modem which has a SIM card with a limited amount of Mbytes of data transfer I manually CTRL-C a rsync command when I see I'm near that limit. I want to know which files were sy...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert "published to web" google sheet to json Is there a way to modify the url to return json or should I just use something like Puppeteer to scrape the data? It's a public sheet but I don't have access to the sheet itself. The sheet url I have is something like https://docs.google.com/spreadsheets/d/e/GOO...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jetpack related posts not included in REST API response When I query the Wordpress REST API for a post with /wp/v2/post/:postId the response includes a jetpack_related_posts field but it’s always an empty array. Visiting the blog post itself does show the related posts, however, so that functionality is working some...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cheerio not selecting class I am attempting to build a web scraper that will ultimately list an array of properties from this website called landa. Learning Cheerio to do this, and I seem to have been able to create an array of 'divs' but when input a class like '.PropertyItem_propertyItem__Fla4I' it returns an empt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cloud sql (postgresql) can't connect to spring boot It's my application.properties #Datasource Configuration spring.datasource.hikari.maximum-pool-size=4 spring.datasource.url=jdbc:postgresql:///atopy-database?cloudSqlInstance=atopy-database&socketFactory=com.google.cloud.sql.postgres.SocketFactory&user=[username]&...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to make Cucumber plugin in WebStorm IDE to work for test steps written in TypeScript with on-the-fly ESM transpilation I don't find a way to correctly configure the Cucumber plugin in WebStorm IDE to work with my TypeScript configuration. The setup I would like is the following: * *CucumberJs should be able...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can one explain the error I get when using qrtools package on a Mac? Running Python 3.10 on a Mac I run pip install qrtools successfully. In my code, I have from qrtools import QR when I run my code, I get the following error: File "/.../qrcode/main.py", line 3, in <module> from qrtools import QR ImportErro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get specific child of a specific child <div class="container"> <div class="form"> <div class="row"> </div> <div class="row"> </div> </div> <div class="form"> <div class="row"> </div> <div class="row"> </div> </div> </div> New to jquery ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to change from using replace to using swap #include <iostream> #include <fstream> #include <algorithm> #include <string> using namespace std; // global constant and variables const string INFILENAME = "sudokutest.txt"; const char PRE_NUM1 = '9'; const char PRE_NUM2 = '8'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: label not found in axis when using tfdf.keras.pd_dataframe_to_tf_dataset I am in a google colab environment and trying to train a tensorflow decision forest. I loaded my dataset in like so:dataset_df = pd.read_csv("/content/drive/MyDrive/Medical_Error_Test_Data-_1_.csv") I proceed to take out NaN values: labels =da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562636", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: internal compiler error: Segmentation fault with gcc 7 I am facing Segmentation fault issue during source code compilation. I came across few other forums here where upgrading gcc version would help. But i am already in later version than the one mentioned in above forum. Log: x86_64-pc-linux-gnu-g++: internal compi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Replace Only Double Quotes Not Present Inside Other Double Quotes My issue is I have double quotes inside double quotes, but I only want to replace the quotes on the outside. Example {\"id\":\"apache \"obsolete\" version\",\"instances\":2} Using REPLACE({\"id\":\"apache \"obsolete\" version\",\"instances\":2}, '\"'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562638", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating a Specific Path in React Native I need your help...I am developing a React Native application and the app has some svg components, I've built a circular progress indicator and now I want to add dashed border in. I know I could've use Circle and set the strokeLineCap attr to 'round', but I want the corners o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trimming dynamic listview Text object I have a Dynamic ListView loading some data. One of the items is a string in a TextObject. I am trying to set the Text Trimming for this text object to Character. I have set the properties in the Object Inspector set to WordWrap: True and Trimming: Character. On Android, it seem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Want to limit results from dbms_metadata.get_granted_ddl for object_grant in Oracle I am trying to do an Oracle schema level transfer from one database to another. I have discovered that grants to SYS objects are NOT transferred with a schema. This is documented here: Doc ID 1911151.1 but the proposed solution scrip...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562645", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PySpark write parquet file on windows I tried to experiment PySpark. My first task was to write parquet file from rdd. But There is some issue with the error "An error occurred while calling o123.parquet.\n: ExitCodeException exitCode=-1073741515:" Here is my code : spark = SparkSession.builder \ .config('spark...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pushing NSOpenPanel to front when opened from Mac menu bar app and new PHPicker glitching when applied to menu bar app I have a Mac menu bar app that opens the NSOpenPanel so that the user can choose an image to upload. However, when I open NSOpenPanel, it shows up in the background and is not clickable at first if ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Shopify Dawn Theme - Reduce Footer Size I am creating my website and using the Dawn theme, from Shopify. I want to reduce the footer size, since it looks too height: (https://i.stack.imgur.com/2tHGT.png) I tried to use this code in section-footer.css, but didn't see any changes: @media screen and (min-width: 750px) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Event procedure working when subform is open directly but not when in parent form I have a form containing a subform with a query results. I associated a procedure to the on Click event in the subform. If I open the subform directly the procedure is working properly when I click on a record. However when the subform...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Sharing videos from my website to whatsapp and show the video preview I have a video hosting website similar to youtube where subscribers can upload unlimited amount of real estate videos. But when a video is shared from the site to whatsapp, whatsapp will display only the link of the shared video. Unlike youtube, w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: "Error using Keras concat to join two LSTM layers -Nan in epoch" what's the error? Newbie here. goal is to predict scores and distances based on data interdependently and so used concat, but it always results nan in epoch. I tried following steps but still same result: * *Reduced the learning rate Added regulariza...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: metatrader 5 don't let me make orders? I get this error: AttributeError: 'NoneType' object has no attribute 'bid' from here price = mt5.symbol_info_tick(symbol).bid what's wrong?
{ "language": "en", "url": "https://stackoverflow.com/questions/75562654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change a row background color according to the value of one cell? I have been trying to change the background color of a row based on where the key is present in my lists. import numpy as np import pandas as pd item_added = ["UUID1", "UUID22"] item_removed = ["UUID2", "UUID89"] item_changed = ["UUID3", "UUI...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Saving video on the drive created by moviepy I have a code that gets a picture and some text and creates a video. Everything looks fine until the last line which is supposed to save the video created on the local drive. Here is the code: from moviepy.editor import * # set up the video dimensions and duration width,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I have a numpy package which is compatible with my mac, to run my code without a problem? Having updated to the latest version of numpy, I still cannot run my code in Python 3.8 version of PyCharm. Is that better to install the IDE again on my mac(macOS big sur), since it seems to be a problem from my comput...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there a way to use templated columns in liquibase yml files I came across a project that is likely to get some more tables in future versions. All current tables and future tables will have an id column, which is an integer primary key column. Like this columns: - column: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting this Average/STDEV excel formulas to VBA I am a total beginner on VBA, I use excel a lot for school and I usually need to input the following formulas into excel to calculate data: "Calculate Mean" =ROUND(AVERAGE(AVERAGEIF(D:D, FILTER(D:D, ISNUMBER(D:D)), C:C)),3-(1+INT(LOG10(ABS(AVERAGE(AVERAGEIF(D:D, FI...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: vscode dev container doesn't install extensions, behind corporate proxy I have been trying to set up a dev container for a c++ project but cannot get vscode to install the extensions I've listed in my .devcontainer/devcontainer.json file. I am behind a corporate proxy (zscaler). I have acquired a CA certificate and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cant take the Set-Cookie Header in Client Set-Cookie, Client, Express, Javascript I am sending the cookie to the respone with this const oneDay = 1000 * 60 * 60 * 24 res.cookie('token', token, { httpOnly: true, expires: new Date(Date.now() + oneDay), secure: 'production', signed: true, }) retu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Recharts not rendering dynamic dataKey I'm trying to dynamically add data keys to a line chart in Recharts. It renders the graph, but no lines. Here is the data structure: const productDataset= [ { name: "2023-02-18", flavor1: 14, flavor2: 10, flavor3: 9, }, { name: "2023-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What is the best way to organize Python import paths for multiple but independent projects? Say I have three projects A, B and C in my home directory, all written mainly in Python: . β”œβ”€β”€ project_A β”‚Β Β  β”œβ”€β”€ data β”‚Β Β  β”œβ”€β”€ plot β”‚Β Β  β”œβ”€β”€ result β”‚Β Β  └── run.py β”œβ”€β”€ project_B β”‚Β Β  β”œβ”€β”€ data β”‚Β Β  β”œβ”€β”€ plot β”‚Β Β  β”œβ”€β”€ result β”‚Β Β  └── r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get payload from Expired JWT I am using https://github.com/firebase/php-jwt to generate JWT and i am using this token at firebase with 1 hour expiry and using same token at app server to validate request.After 1 hour (Expiry of token) the validation start getting failed with Uncaught Firebase\JWT\ExpiredException: E...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multi-threaded fixed-size matrix-vector multiplication optimized for many-core CPUs with non-uniform caches I would like to implement a parallel matrix-vector multiplication for a fixed size matrix (~3500x3500 floats) optimized for my CPUs and cache layout (AMD Zen 2/4) that is repeatedly executed for changing input...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562672", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Difference of two datetime excluding weekends I have to datetime fields. Start date is "10/29/22 5:30 44 pm" End date is "10/31/22 2:53 54 pm" I need to calculate the difference of these two datetime in day,hours,minutes, seconds It should give me result (0days 14hrs 53min 54sec) because 10/29 and 10/30 is weekend a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error executing CLI: Did not find any shells to install When I try to install terraform with chocolatey, in the step $ terraform -install-autocomplete throw an error $ terraform -install-autocomplete Error executing CLI: Did not find any shells to install A: Terraform supports autocompletion only for the Unix shel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how to use conditional inclusion statements in headers used in RcppEigen project I have an RcppEigen package that has a bunch of .h header files in it that I copy/pasted from my other library. These header files exist in two places, and right now there is only one difference between copies. In the pure c++ library, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I want to transform my json using jolt. I have a list of type strings. i want to split the string and change to key value pair Here is my input format : { "id": "abc", "type": "car", "size": "small", "carInformation": [ { "Licence": { "code": "AP123" }, "additionalInformation": ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is AWS SES' create-custom-verification-email-template returning a BadRequestException? When running the following command: aws sesv2 create-custom-verification-email-template --cli-input-json file://template.json --profile my-profile --region us-west-2 ...I get the following response: An error occurred (BadRequ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fixed outer container with scrollable inner container Intended outcome: Allow for inner container to be scrolled as content populates the div. Outer container should not scroll, only inner container. I have a box with a dropdown where users can make a selection and then see an answer get 'typed' out inside the box d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how do I export a dictionary of dataframes to excel with each unique value being a new sheet? I'm trying to learn python but encountered a problem when trying to export loop through a dictionary and print each data frame to a new sheet. here's some of the code: data = {'company_id': ['a', 'b','c','d','a','b','b','d'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find all the vertex in a graph (maybe using igraph-python)? I want to find all the members in a community, i.e. all the vertex in a graph. For example, I have a graph consists of 2 components like below. The first one have 10 vertex [1 2 3 4 5 6 7 8 9 10] and the second one have 5 vertex [11 12 13 14 15], is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Ghost Installation on Mac shows 'Command failed: yarn install --no-emoji --no-progress' and 'The engine "cli" appears to be invalid.' I'm extremely new to development. I'm trying to install a Ghost instance (apologies if this is not the correct terminology; feel free to correct). I created a directory on my desktop ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I properly code platformer physics in pygame? When I run the following code the player movement works as expected until you run into the wall and teleport on top of it. I'm really scratching my head on how to fix this. I followed this video https://www.youtube.com/watch?v=a_YTklVVNoQ and tried to implement ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can i build like this scrolling card in flutter? i need to build like this widget. , i know it's a packge but i can describe it can any one help me
{ "language": "en", "url": "https://stackoverflow.com/questions/75562695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Compare first letter of input to vowels and return true if they match and false if they dont Write a function definition named isVowel that takes in value and returns true if the value is a, e, i, o, u in upper or lower case.
{ "language": "en", "url": "https://stackoverflow.com/questions/75562696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Kafka 3.4 with Kraft without Zookeeper with 3 brokers I need 1 cluster kafka with 3 borkers with kraft. I try with Below docker config: Config for 1st broker: version: "3" services: kafka-1: image: "bitnami/kafka:3.4.0" hostname: kafka-1 environment: - ALLOW_ANONYMOUS_LOGIN=yes - KAFKA_ENABLE_KRAFT=yes ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Running a for loop with an ICA/AMICA without a window for each participant I'm trying to create a for loop allowing me to run an AMICA for every participant on EEGLab using Matlab. Here's the script. On each participant, I have to click "OK" on a window and I'd like instead to let the program run everything. Is ther...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing View as a view modifier content to a function parameter I am creating a reusable bottom up panel where the view displayed inside the bottom up panel will be different. I also wanted this panel to be a view modifier. I have created view modifiers in past, but hasn't passed view as a view modifier content ever...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.lang.String java.io.File.path accessible error in java 17 I am upgrading my application from Spring Boot version 2.7.3 to 3.0.2 and Java version 8 to 17. My build is successful but during server startup I am getting below exceptio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Inexact objects in Typescript I used to using Flow for typing. How do type an inexact object? I have this array: const arr = [ {label: 'Set', value: setNumber, id: 'setNumber', set: setSetNumber, type: 'text'}, {label: 'Name', value: name, id: 'name', set: setName, type: 'text'}, {label: 'Sou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Dump z3's configuration? Is there a way to have Z3 dump all its settings when run from the CLI and from Python? I have a large optimizer (maxsat) program that runs in 2m from the CLI but never finishes when run in Python and I want to understand what the differences are. For this test, I create the program in Pytho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What are esd CSS Classes used in e-mail templates? I'm doing some fixes in a legacy system and it has an e-mail template which uses a lot of esd-something css classes. Examples: esd-footer-popover, esd-email-paddings,etc. I even found some articles explaining how to build an e-mail template using these classes, but ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reshaping/Deduping long data to wide in R I've been trying to reshape this long data into wide format by ID within excel with no luck. I tried using dcast but it did not give me the results I was expecting. I've attached a csv of how the data is currently formatted in cells: (a1:c10), and cells: (f1:n4) is how I'd l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562719", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Sliding hamburger menu children doesn't slide with parent I'm currently creating a sliding navigation menu that comes up when you click the hamburger icon. However, I cannot seem to get the <a> children to slide with the parent div. Here are images of what it currently looks like. What it looks like when the menu is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I render/view/read imported excel files with multiple sheets on web page in Angular? import { Component, OnInit } from '@angular/core'; import * as XLSX from 'xlsx'; @Component({ selector: 'app-xlsheet', templateUrl: './xlsheet.component.html', styleUrls: ['./xlsheet.component.css'] }) export class ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Parse multiple lines of route target values from running config without running into the next section I have a Cisco config file and I want to parse all vrf information, route-targets, policies etc. The problem I have is parsing multiple lines of route-targets as they do not have an associated descriptor in the same...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to ensure numeric values are ingested as "Integers" or "Floats" in Python I have a large dataset derived from the ingestion of a CSV file. Every time I pull the data in using df = pd.read_csv, the features in the dataset show up as "objects". This leads me to the following questions: * *How do I ensure intege...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to delete rows of a panda dataframe based on the count of occurences for specific column value? I have a dataset which records days of flying and days of maintenance. Values in 'Fly' calendar = pd.DataFrame(columns = ['Date', 'Fly', 'Maint']) Values in 'Fly' and 'Maint' equal 'Y' or 'N' for each element. I woul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ScrollView reset position after switching view in SwiftUI I'm started to SwiftUI and I have problem, after switching view, their is gap between The top of my page and I can't solve it ! I want this (img1): img1 but I have that (img2): img2 How I can solve it ? That is my code : file : AllNewsDescriptionView: import ...
{ "language": "fr", "url": "https://stackoverflow.com/questions/75562734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to write an Update Statement to update multiple columns where columns are in rows in another table In my scenario I have a table where column names are stored in rows. Using this table columns and data I have to update another table column values. Below are my tables: Table:Product ProductName ProductCount I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to convert a base64 encoded public key to crypto.PublicKey or a ecdsa.PublicKey As the question states can anyone show me how I can convert a base64 encoded public key into a crypto.PublicKey or a ecdsa.PublicKey ? I am unable to find an example of this online. Any documentation or snippets on this regard would ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Navbar menu issue when click on a dropdown I use boostrap 5 I have a navbar with a dropdown menu. When i put mouse over Project, menu appear, but if i click on project, like a second menu open. <div class="collapse navbar-collapse" id="navbarCollapse"> <div class="navbar-nav mx-auto bg-light pe-4 py-3 py-lg-0"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i use multithreading in discord.py? I've recently tried doing some image generating with craiyon's API, and send the image through discord.py, But i realized that it takes a long time and it would stop the entire bot from working all together. I tried to implement multithreading, but i had no way to send the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tensorflow SavedModel error for translator I'm following this tutorial to build a translator using transformers: https://www.tensorflow.org/text/tutorials/transformer I followed this code to a T. I trained the model on colab and it works fine on colab. However, I want to download the trained model to do some further...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 405 error with Lumen api and Nginx and I am at my wits end I am developing a website with an Angular front end and Lumen back end on an AWS Ubuntu EC2 using nginx. When I try to make a POST command to the login API endpoint it gives me a "405 Not Allowed" error and I cannot figure out why, and I desperately need the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can WebView2 be used inside a Dll? Tested the WebView2GettingStarted project. Worked fine. Created a MFC Dll and copied the HelloWebView.cpp file and added it to the Dll project. Renamed WinMain to something else. Installed the packages from NuGet. When the Dll is compiled, I get the error: Error C2440 'speciali...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I have a problem with css and my server Hostinger When we upload the page to the server, the CSS is not detected, although I have already checked it several times and everything is fine. From the localhost everything works normal. What could be the problem?. (Server: Hostinger) Server: https://nixcba.com.ar/ Localho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Cannot add a complication to an existing watchOS project I have an existing watchOS app. It's deployment target is 6.1. I added a new widget extension by going to File -> New -> Target -> Widget Extension. I did NOT check the "Include Configuration Intent". In the "Embed in" drop down I chose the WatchKit Extension ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Inserted records are disappearing shortly after insertion I'm seeing some odd behaviour when inserting records to a table of a sqlite DB in a Ruby application. I have an application that fetches data from a series of API's, manipulates it and stitches it back together before inserting to a sqlite table. I'm seeing a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way I can see '\0' (null character) in Visual Studio's text editor? I am making my own file format. It looks like so: <GameObjects> { <GameObject> { <int id> 0 <std::string name> GameObject0 <Transform> { <vec3 position> { 0, 0, 0 } <ve...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Parse Test Data from Yaml file into Object I have the following Yaml file of test data: SEARCH_CREDENTIALS_TEST: testName: FB_0001 nttProductName: TESTNTT tpanProductName: TESTTPAN userProfile: USERPROFILE credentialType: E_COMMERCE_SHORT_FORM_DYNAMIC tsp: AETS scProfile: Internal otherCredentialTy...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to scrape data from a webpage? There's a webpage which is an interactive version of a dataset where you can view an data example and a few associated labels in boxes. I'm trying to get this data into a pandas dataframe where I extract the example and all the associated labels. The data is divided over multiple p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Making volume adjustments at precise time with ffmpeg -filter_complex I am using the following command to mute parts of the audio file with ffmpeg: ffmpeg.exe -y -i "C:\temp\inputfile3.wav" -filter_complex_script "C:\temp\filter_complex_cmds.txt" "C:\temp\outputfile3.wav" Inside filter_complex_cmd.txt I have: [0]af...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Communicate between Raspberry Pi and Arduino using Serial Pins? (C++, RP 4, Teensy 4.0) I'm attempting to send a message over a serial connection from a Raspberry Pi 4 to a Teensy 4.0 (an Arduino-based microcontroller), from the TX-RX pins on the RP to the TX-RX pins on the Teensy. I'm using C++ and the wiringPi lib...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I have a project given named backend,I created login api and email sending app in different folder,How do I merge them to backend project, I have project named backend, I created login api and email sending from django in different directory, Now I have to merge login api and email to "backend" project and push to g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: I keep receiving an empty email from my website (Flask) I just deployed my website last week using Flask, and the next day I kept getting an empty email. My website has an html contact form where users can submit their information and it will be sent via email (Flask-mail). I have put a required tag on my html form,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Shiny automatically scrolldown PRE element This is my MWE: library(shiny) ui <- fluidPage( uiOutput("log"), actionButton("test","Click") ) server <- function(input, output,session) { RV<-reactiveValues(myText=as.character()) observeEvent(input$test,{ text<-as.character() for (i in 1:100) text...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Elementor Post Widget is not calling the custom query Here is my code. The first part is for storing the property IDs that a user browsed via cookies. The second part is to display a recommendation using the Elementor Post Widget via custom query. For some unknown reason to me, the post widget ignores the custom que...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Docker-in-docker inside GitHub Actions, can't access Container from within Container I'm running my CI from within a docker container with docker installed. Inside that docker container, I'm running docker-compose with a postgres database. Even though the postgres database has fully started, I can't access it at loc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: how can i fix the " list index out of range" error in PYTHON I am creating a web scraping application, extracts some data from a table of a website then trying to save this data to a sql server (sql server microsoft studio) Database and this error keep showing up ( IndexError: list index out of range ) even i belive...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Discord.js Skip method is skipping current song + first song of the queue instead of skipping the current song only I'm currently working on a discord music bot with Discord.js 14 I'm on the skip song part. However when I'm skipping the current song, it skips the current song plus the first song of the queue and it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Execution failed for task ':react-native-otp-verify:verifyReleaseResources' start having this error in my project without, apparently, having transformed something. enter image description here I tried to update the react-native-otp-verify lib, but I didn't succeed. A: react-native-otp-verify is using targetSkVersi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot use 'plot' in local scope Pinescript When i try to save below script in pinescript `//@version=5 indicator("Elliott Waves", overlay=true) // Check if the current wave is complete current_wave_length += 1 if current_wave_length >= wave_length // Calculate the wave amplitude wave_amp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter Just Audio Background not playing audio when navigating to other screen I am using just audio background package to play audio in the background. As you can see I am using the example code available on pub dev as I have just modified it. The problem is that the audio in the background stops when I navigate ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PHP Keeps Previous Javascript Cookie Value This little snipped of code is supposed to call a javascript function that creates cookie, then PHP reads and deletes it. My problem is that in successive runs, the PHP gets the cookie value of the previous run. On the first run of a session, if I set user_data to 123, i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to make an error flagging array in VBA and translate all array elements as a string message? In Excel I'm looping through some data in a sheet called "temp" and checking if any cell is red (this indicates an error). Before this code below, I take my data (2 columns of data, 8 rows long) in Sheet "temp" through a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562800", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Javascript Set delete method syntax In working with a new Set as opposed to a new Array, because the Set handles duplicate entries well, I struggled with the syntax passed using the delete() method. This would apply to other methods but my problem primarily pertained to the delete() method in this case. In passing a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562802", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: In cPanel, can you get modifications to MultiPHP INI Editor to apply to all subfolders? In order to use file_get_contents() with a URL, you need to enable allow_url_fopen. I did this for a domain in that domain's cPanel MultiPHP INI Editor. However, this only seems to apply to the domain's main public_html folder. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562804", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: EF Core 7: How to find top-level parent of an EntityEntry derived from ChangeTracker Using EF Core 7, I am implementing an Audit log solution for the top-level parent (aggregate root) entity. I have a list of EntityEntry that the ChangeTracker provided me. Question: Is there a way to determine for each EntityEntry i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562808", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }