text
string
meta
dict
Q: Set a power automate trigger condition to only allow flow to run if power bi data array = 1 I'm attempting to use power automate visual in power BI to make a button that updates an item on a SharePoint list. I'm able to make the flow work however I am attempting to use trigger conditions inside of the power BI step ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: springboot returns different pojos according to different controller I would like to ask when I have controllerA, I want to display id, emailTitle, emailBody, and when controllerB, I want to display emailBody and correspondingApi. I would like to ask, is it possible to achieve this assuming there is only one pojo or...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use requests.post to use a bot command? I'm trying to use the "/meme" command on dank memer but the bot doesn't reply and it only sends the message and I'm wondering how I can fix this error screenshot This is my script: import time import random import requests import json last_message_id = None pause_tim...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Error while loading a folder with images using PySpark I am new to py spark and trying to process images that are in a local folder. However, I come across an error when I try to read the directory. Here is the code: spark = SparkSession.builder.name('test').master('local').getOrCreate() dir = "mock/Unframed/A/*.jp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to check SonarQube code coverage in Eclipse for a specific test class, Maven and Gradel? Is there any way to check SonarQube code coverage in Eclipse for a specific test class, Maven and Gradel? In a project many Test classes are there so sonar is giving result of all the test cases, so is there any way to check...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I add graphics to a content box for my website? Stylized Graphical interface ^see pic related for reference^ I'm about a year into frontend dev as a hobbiest. I'm looking to make a pop-up notification box that a retro style to it, where I can insert text onto it and make it interactable . I figure it's not p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: styled component is not rendered at first in browser import styled, { keyframes } from "styled-components"; // keyframe const firework = keyframes` 0% { width: 5vmin; opacity: 1; } 100% { width: 45vmin; opacity: 0; } `; function customFirework(count: number = 20): string { let styles...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Inputing a (large) string and printing character counts x86 NASM 32-bit Im pretty new to assembly (x86 NASM 32-bit) and trying to write a program which prompts the user for a string. The program then prints the count for each of the 26 letters of the alphabet, not distinguishing between upper case and lower case, an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: ADO in VBA to read txt/csv file but get lesser columns than expected I'm using ADO txt/csv connection string below in vba to get data without me actually opening excel. Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & FolderPath & ";Extended Properties="text;HDR=Yes;FMT=Delimited(,)"; Dim rs As New ADODB.Records...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: os.path.join() error. error: 'str' object has no attribute 'path' here is the code, it is meant to print out Extraction.Txt. main def is then called elsewere, which works with other stuff. def Extraction_files(): output = Extraction_Txt folder_name = "C:/Desktop/AIO-1/results" file_name = f"{device_name}...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: dotnet test --collect:"XPlat Code Coverage" taking too long to execute nearly 30-40 minutes in local or Azure pipeline coverlet-coverage I have a .net6 application with the below dependencies <ItemGroup> <PackageReference Include="Abp.MemoryDb" Version="6.4.0" /> <PackageReference Include="Microsoft.Data.S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FFMPEG: convert HEVC with alpha in .mov to VP9 with alpha in .webm, webm won't play I am attempting to convert a HEVC video with alpha channel in a .mov container into a VP9 video with alpha channel into a .webm. While the video is produced, it actually won't play in Chrome. If I try to create the webm directly fro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C: How to create and pass multiple file pointers around in recursive function I am working on a recursive function to generate a large file tree containing system directories and text files within them. It should return a value of type int, indicating error or success. The problem I am having with it is very difficu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: `Undefined reference` errors when calling a C++ classes' static method from assembly Here is my code: * *interruptstubs.s: .set IRQ_BASE, 0x20 .section .text .extern _ZN16InterruptManager15handleInterruptEhj .global _ZN16InterruptManager22IgnoreInterruptRequestEv .macro HandleException num .global _ZN16Interr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to pass an async function at jwtFromRequest in passport-jwt? I have this code: const fakeDB = require("../data/fakeDB.json"); function getJwt() { return fakeDB.loggedin.Authorization?.substring(7); } const jwtCheck = new JWTstrategy( { secretOrKey: process.env.SECRET_JWT_KEY, jwtFromRequest: getJwt, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Order of columns of a Pandas df between training and inference time Suppose, I have a data frame (df) like the following: Feature A Feature B Target 0 value 1 value 2 Yes 1 value 3 value 4 No The df is fed to the XGBoost algorithm. Now, at the inference time, I might receive a df like the following: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android WebView Chromium The first version of webview released by Android 6 is equipped with which version of Chromium, I want to compile the @vue/cli@4.5.19 project to a webview that supports this version.
{ "language": "en", "url": "https://stackoverflow.com/questions/75622764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: error SVC-SOCRECV & marklogic gives a code 408 when I sent a http-post I give a http-post request with 30, sometimes marklogic response error with code 408 while execute this http-post call. I am just so wired what does the 408 means? I search some document on marklogic community, and I recognized some information h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: in kafka, what's the difference between group coordinator and the controller? I see in the doc controller: we elect one of the brokers as the "controller". This controller detects failures at the broker level and is responsible for changing the leader of all affected partitions in a failed broker. In a Kafka cluster...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does one use pandas.merge in order to merge two dataframes, so that one is added multiple times to the next? I am currently working on a Movie Recommender system as a project. In order to do so, I had created two datasets- (pics included) df3, which has a user ID, movie ID, and the rating given to the movie. df,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I access a historical weather API from open-meteo in Excel using VBA? Trying to get the weather from open-meteo.com into Excel via VBA, and I am getting an error for historical data. The error is: "Run-time error '-2146697209 (800c0007)' No data is available for the requested source." I can see the source i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a variable value once read by a thread does't change by other thread when other process started in spring boot I'm using spring boot rest controller from there it is calling service to get data and the return type is List in service class. It is Async rest controller. My Issue is for the first hit I'm ge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to loop through an ExtendScript function with a delay I have an After Effects .jsx ExtendScript file that loops through an array executing a particular function. Rather than simply using a for loop based on the length of the array, I need to delay each iteration by roughly 0.5-1sec but cannot figure it out. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a request timeout mechanism for puma web server? When a request is taking too long to complete, is it possible to configure a timeout setting in puma to stop the request process? In my server, there is a case where a worker thread in puma consumes a lot of CPU and RAM and takes a very long time to finish. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How would this query be done in Eloquent? I am learning to use the laravel eloquent and I have this query SELECT SUM(precio_total) FROM `venta` GROUP BY (MONTH(fecha)); So far i wear this $cantidad_venta = Venta::select('SUM(PRECIO_TOTAL) as suma_precio') ->groupBy('MONTH(fecha)') ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problems with change states (true n false) in React-Native Firebase Im trying throgh a checkbox, change states in my Firebase bd, but it still doesnt work. Here's my code: export default Task = (props) => { const [title] = React.useState(props.title) const sectionId = React.useState(props.sectionId) const task...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: keep alive, what is the difference between HTTP1.1 and TCP There are two headers relate to Http keep alive, Connection: Keep-Alive Keep-Alive: timeout=5, max=1000 * *Which side sends HTTP1.1 "Keep-Alive: param"? *When client and server use HTTP1.1, will client send TCP keep alive probe? *In order to use HTTP1.1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Keeping unique values in column w duplicate values - array I would like to remove the duplicates in column 3, while leaving a single value. What will be the best approach for this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75622784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Exclude all modules except one from babel plugin is it possible to exclude all modules in node_modules from a babel plugin except one? This is my webpack config: As you can see I included chart.js and pdfjs-dist to be transpiled with babel-loader, all other node_modules are excluded { test: /\.js$/, exclude:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why error readyState: 4, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, …} I experienced an error when I was going to bring up data into the data table it couldn't appear but for the ajax call it was able to when it was checked. this my code : Controller public function log...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Styling data frames cells in pandas I got an adjacency matrix in a data frame in python for reachabilty HW And part of my HW is to check that the solution is correct So my idea was to change the color of the cells: if adjM[vi][vj] == 1: df.iloc[vi,vj] #changeColor(green) df.iloc[vi,vj] #changeColor(red) but i on...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the meaning of "Number of Replicas" in the pop-up window when Galaxybase starts the cluster? I'm using a graph database called Galaxybase database. What is the meaning of "Number of Replicas" in the pop-up window when Galaxybase starts the cluster? When the number of replicas shows 1, does it mean that a bac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Steamworks SDK ISteamNetworkingSockets->ConnectP2P I'm trying to connect two peers using SteamNetworkingSockets->ConnectP2P which should establish a datagram relay between two peers. My server uses CreateListenSocketP2P which the client uses ConnectP2P and SteamNetworkingIdentity. The issue is the client is unable t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: what's wrong with this datatable? if i click 3 times $("#thcmp").on( 'click', 'td.editor-grade', function () { var tablex = $("#thcmp").DataTable(); var isix= tablex.row( this ).data(); detailcmp(isix.kode_kartu_cmp); // to the "tdcmp" table }); then i click on this and run the delet...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Option chain data from url = "https://www.mcxindia.com/market-data/option-chain" using python code I need to get the real time option chain data from MCX website url="https://www.mcxindia.com/market-data/option-chain" using python code. I am unable to find which json link or .js file to refer for getting the respons...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Trying to code a submit button in VBA that inserts userform data in a database, but i can't seem to be able to insert a top row below headers Full disclosure, I'm very bad at VBA and basically just mashed up "a la Frankenstein" all the workbook's codes with Stack solutions, YT tutorials, free UDEMY courses and ChatG...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622794", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am experiencing some issues when inserting time to database I have created a website for my booking system and connected it to my database using PHP. Everything works fine, its just when the user selects a time, the time displays different in my database for example if I book a time at 14:30:00, it displays as 00:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: passing variable into JQ to select a value from the piped output below is the aws cli command that works. aws elb describe-load-balancers |\ jq '.LoadBalancerDescriptions[] | select(.DNSName == "internal-elbdnsendpoint1.us-east-1.elb.amazonaws.com") | .LoadBalancerName, .SecurityGroups[]' I am tryi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622802", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get documentID for currentUser firestore using react I am trying to get currentUser data from firestore and feel like I am close to a breakthrough except for the minute detail of getting the documentID from the logged in user. Here's what my method looks like so far firebase.firestore().collection("users").doc("jKJ9...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error communicating with database: Cannot assign requested address I failed to build my Rust API in docker due to this error below. I reckon that it could be due to the Postgres connection issue. #0 131.9 error: error communicating with database: Cannot assign requested address (os error 99) #0 131.9 --> src/persi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622804", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Generate keys in openssl using subprocess to open prompt in a python script I need to create a python script to open the prompt, open openssl and launch the command to generate the public and private keys. follows the command I use to generate the keys manually by opening the windows command prompt: openssl > req -x...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622805", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to connect Visual Basic application over SSL to AWS RDS Instance I've recently created a new RDS instance and am trying to edit a Visual Basic application to access the MySQL 8.0 database using an SSL connection. Server side, everything seems to be okay. I have enabled require_secure_transport and have confir...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter Android TV App Rejected for D-Pad and Overscan I am, trying to get my Android app approved for Android TV but it is getting rejected with two issues: * *Missing DPad functionality *Text cuts off edges of screen I have tested the app on Android TV emulator and the app looks good and works with D-Pad. In ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why won't my preloader disappear and show my page when it loads? And why does it only spin twice? I'm a student who is pretty new to coding, and I'm trying to get my preloader to disappear and show my webpage. However, the spinner rotates twice and then freezes. It won't show my actual webpage once the page is loade...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to make fetch size work in OpenSearch SQL plug-in? OpenSearch documentation says that fetch_size is supported and should work. However, this definitely is not working for me in OpenSearch 2.5.3. Query 1: POST _plugins/_sql/ { "query" : "SELECT start_time FROM my_opensearch_index" } Response 1: { "schema": [...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to define the color of scatter point by custom metric? Assuming that I have an nx4 matrix (pos), the first three columns are x, y, and z coordinates, and the fourth is some custom values ([min, max]). I have plotted the scatters with the following code scatter3(pos(:,1),pos(:,2),pos(:,3), point_size,'filled'), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update knockout js input field from content script on Chrome extension? I am creating my first complex chrome extension using javascript to update an input field on a 3rd party website. After hours of research, I found that knockout js is being used. Here I found the answer but it´s not clear to me how to imp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Error en python django Could not parse the remainder: '['fields']['Nombre']' from 'record['fields']['Nombre']' I am new to Python and Django what I am trying to do is to connect to airtable through API, and I want to display that data in a table in html but at the time of displaying it I have that error, I already m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to deploy application to staging and to production with the same docker containers? Our app is dockerized and we are using docker-compose to deploy (k8s not required right now). Everything runs on Azure :VMs,container registry as well as Azure devops for build pipelines, there are two servers for staging and pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: DLL load failed: Specified module not found in jupyter notebook import Apologies for any mistakes, I'm new to this. I installed a program in jupyter notebook it contains a bunch of .ipynb files and a folder which contains a bunch of .dll files and then persis_homo_optimal.py. Then in one of the .ipynb files it has c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to delete directories in Python I have a directory temp/2022/08/22/model.parquet i have to delete whole directory except temp. My desired output is temp/. so how i can do this A: As @michael mention through os.walk we can achieve this for path, directory, files in os.walk: print(files)
{ "language": "en", "url": "https://stackoverflow.com/questions/75622825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Getting a Ruby 3.x argument error on a proc line in an rspec test I am trying to convert a Ruby 2.7 application to Ruby 3.0.4 . This app is running Rails 6.1.7 and rspec 5.1.2. I have a CommonIssue model with a has many relationship to Issue. I am getting #<ArgumentError: wrong number of arguments (given 2, expected...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: add custom text in elementor mini cart widget I am using elementor and woocommerce on my website. in the header is the elementor mini cart widget (Menu Cart Widget). in the widget configuration is: Cart type: 'side cart'. Using the code snippets plugin I want to add custom text located below the 'view cart' and 'che...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622830", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python 3.11 having different None or json behavior when used with flask request.get_json() I'm seeing a test case fail since I upgraded from Python 3.9 to 3.11, and I can't figure out what changed between versions (both using Flask 2.1.2). Tests are run using Bazel's py_test with rules_python 0.18.1 Did a behavior o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Method- taking two double parameters, and returning an integer value using a method I am having trouble writing a method. I need to write it to take two double parameters, and return an integer value public class MyClass {       public static void sizeOfRange (  )  {       } } //This is all I have so far. A: By loo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Python SyntaxWarning: 'int' object is not callable I was trying to build a program that tells you the monthly payments a person has to make for a loan heres my code: ` loan_amount = 650000 annual_interest_rate = 5 loan_length_years = 20 months_per_year = 12 i=annual_interest_rate/12 n=20*12 amt=loan_amount(i/100(1+i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Accessing declaration files from outside a package I am developing a set of Typescript libraries in a monorepo setup and have run into trouble managing declaration files for libraries dependencies. I could use some pointers! Here's the situation: * *my-library-x depends on an NPM package external-library. *extern...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make SAP Cloud SDK OData client send request call to Spring MockMVC fake test servlet and get the response? We are using Spring MockMVC to test our OData endpoints of our application. The headache part of such integration test is, every time we have to construct the complex OData query url string by ourselves...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Oracle SQL Query converted into VBA yet no longer produces results Having become incredibly rusty I was given some SQL to turn into a Macro and have made the below which unlike its original SQL doesn't produce any result. The VBA is a rehash of most of my old tricks learned ages ago and it runs, yet produces no resu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Office script: link workbook & make vlookup formula I am trying to make an office script to do below functions: * *User clicks button to navigate and select excel workbook in Sharepoint. *Vlookup formula is generated based on selected workbook. *vlookup lookup range is set, only workbook is dynamic. I have made ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ACS NYC total population not summing to correct number when reading in using cenpy Using the following code I wanted to pull NYC's total population using ACS via cenpy. However when I sum the total population variable it adds up to only little over 3M and NYC population is +8M. import cenpy total_population_df = ce...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Looping through an ML model I want to make 25 train/test dataset splits, fit all of them to the LGBM model and then calculate the accuracy accuracy score of the model for all 25 sets. I tried to make a loop but I guess it’s not working :( does anyone potentially know the reason why? Looping Through Model & Calculati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Emojis con API de Whatsapp Dart-Flutter Trato de enviar un mensaje con emojis pero aparecen con un rombo y un signo de interrogación en el centro(� ). Más o menos asi esta el contexto, pero ya intente de todo sin lograr que se muestren los emjis en el mensaje, en el navegador se evisualiza el link, ahí si puedo ver ...
{ "language": "es", "url": "https://stackoverflow.com/questions/75622854", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Why did the authors of `pd.var()` choose a default of `ddof=1` compared to `np.var()` whose default `ddof=0`? Source * *https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.var.html *https://numpy.org/doc/stable/reference/generated/numpy.var.html I understand the choice of degrees of freedom relates to t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: daemontools can not automatically restart the process I killed the process using kill -9,but the process cannot be automatically restarted. I confirm that I have not used svc -d to stop the process. I can only manually restart the service using svc -u.
{ "language": "en", "url": "https://stackoverflow.com/questions/75622859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Iron pdf print so slow when using a style or css I have the following code which uses iron pdf version 2023.1.11416 in .net 6.0 project to print pdf from html. The problem is that when the html is large(about 400 pages or more) and have style/css the pdf rendering is super slow about 3 -4 minutes. string workingDi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to execute command in cloud-init my cloud-init file looks like this I want to append random 1-byte hexa #cloud-config runcmd: - [ sudo, ip, link, set, dev, enp1s0, address, f4:f2:c7:f3:f4:"$(openssl rand -hex 1)" ] no issue if i set static 6 bytes hexa like below - [ sudo, ip, link, set, dev, enp1s0, addres...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: bigquery load from json fails I am trying to load a json file from google cloud storage to bigquery and am hitting an error that I am not fully understanding. I want to load the json without getting autodetected. Basically, the complete json from test.json should show up as a row in the table. Here's my python scrip...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel Searching Data based on relation table I have two relation tables * *Categories *Task and i want to search data task's title based on categories relation(categories->task->title) this is my Categories model : class Category extends Model { use HasFactory; protected $guarded = ['id']; public ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to Use jQuery to make a "get" Ajax call to the "/search" path on the server I need help debugging my project because it's not running correctly- in particular the JQuery/Ajax calls is where I think I have an error. The project essentially reads in a CSV file with artist, title, and a value of 0/1 on each line. T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to bundle and access resources in Kotlin Multiplatform for native targets like linuxX64? I want to bundle a file along with my Kotlin Multiplatform library. The library supports both JVM and linuxX64 targets. On the JVM, I am able to access a bundled file using MyClass::class.java.getResourceAsStream() and frien...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Problems with installing mongodb 5 on ubuntu 20.04 Focal I was trying to install mongodb on ubuntu 20.04 on vm. When i keyed in this line and hit enter: wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add - nothing happened. Why is that? 'OK' is supposed to be output but nothing came out...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622871", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Drupal 9: Get rendered view within Content type I have several views that I need rendered within pages. I have a field to pull in these views as blocks within the content editor, but I am running into an issue where the only display options for this field I get are "Label" or "Entity ID". How can I get Drupal to giv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add colors to integer values inside a dictionary in python? I want to add green color to an integer value which is <= 5 and red color to an integer value >5 , inside a dictionary in python. from colorama import Fore, Back, Style input_dict = {'key1': 217, 'key2': 2, 'key3': 9, 'key4': 4, 'key5':6} for key in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622876", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Exclude file pattern Hi I want to rsync data but not including some files. There are some security files in the root folder .name.cfg.lXrMLc, name.cfg.FT3uKg, name.cfg.pQ82bS, etc that I don't need, seem like the pattern start with name.cfg. following by different id. I tried rsync --exclude=.*name.cfg, --exclude=.*...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to display both XML and HTML in php? -MY GOAL is to display the html tags "My page and TESTING on the page" on the same page. -If I remove the html tags. It give me the XML. -If I removed the header('Content-type: text/xml'); I get only the html and not the xml. HOW CAN I HAVE BOTH IN THE SAME PAGE. The code is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why is my Alder Lake CPUID reporting it is not Hardware P-States capable? I have an Intel i5-1235U. The CPUID reports that it is not Hardware P-States (HWP) capable. According to Intel, all of the Alder Lake CPUs support HWP. The CPUID is reporting no HWP on both Windows and Linux. Here is the relevant output of cpu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: animationTool not works for videoCompositionWithAsset:applyingCIFiltersWithHandler when I use videoCompositionWithAsset:applyingCIFiltersWithHandler to construct the VideoComposition, the animationTool is not working let videoComposition = AVMutableVideoComposition(asset: asset) { request in request.finish(with:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i share a file with a password in spfx using @pnp/sp/sharing I am using @pnp/sp 3.7.0 version I had a function that is not working. Thanks for your help. I've tried this function but never got it working public async shareLinkWithPassword(fileUrl: string, password: string): Promise<string> { cons...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622884", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unity WebGL with Google API does not validate the certificate My script to validate the SSL certificate for Google APIs does not work in WebGL. I have tried several approaches, including using the JSON format, but I have not been able to get it to work. Currently, I am using the p12 format. All tests in desktop or i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure DevOps - git push --mirror errors with HTTP 503 curl 22 The requested URL returned error: 503 In Azure DevOps , I am trying to migrate a repository from one project to another. I was able to do 15 repositories migrated successfully using git clone --mirror https://<Org>@dev.azure.com/<src_Org>/<src_Project>/_g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to connect to local's database from docker containers using docker-compose? I'm working on Spring-boot app I want it to connect to the local's database from the insider docker containers. I'm using Ubuntu 18 and 1.28 for docker-compose. I have found several solutions but no luck on me, Below are the solutions I'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GitHub re-triggering all checks on push irrespective of path I have a repo with multiple workflows with pull request trigger. on: pull_request: branches: - develop Paths are also defined so that the workflow is only triggered when files within certain directories have changed, e.g. paths: - '/proj...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Broken pipe error in threadpool backend after a lot of requests My problem is similar to this post but I followed the advice and I still get a stack overflow and broken pipe error Getting Segmentation Fault in C when using sleep with Pthreads I am modifying a simple webserver to use a thread pool as the backend I on...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to use aws alb ingress for kubernetes dashboard I need some guidance on how to set up the ingress for the kubernetes dashboard. I have a wildcard acm cert that is valid. The setup is on a VPC that is not publically available. my yaml is: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: kubernetes...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to call subnet id from data source , when i am creating ec2 instance and sg in existing vpc via terraform I need to create a ec2 instance and sg group in existing vpc and subnet I have created ec2.tf, we have used local function to get vpc_id and CIDR block resource "aws_security_group" "test_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Controller not returning ajax response ASP.NET MVC I am looking to cascade the dependent State and City list from drop-down on selecting Country. So, I select India => Maharashtra => Cities from Maharastra should cascade. In the Controller I am able to see city list, but same is not returns to ajax success call in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python-ldap: move User to other OU i have ou_demo_h1 = 'OU=demo_H1,OU=ODOOTEST,OU=Testing,OU=ILAVietnam2,DC=ilavietnam,DC=com'. ou_demo_h2 = 'OU=demo_H2,OU=ODOOTEST,OU=Testing,OU=ILAVietnam2,DC=ilavietnam,DC=com'. user_test = 'cn=test.long1,OU=demo_H1,OU=ODOOTEST,OU=Testing,OU=ILAVietnam2,DC=ilavietnam,DC=com' I hav...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not getting value on console in react Its a simple Todo react app. I want to fetch the user input on the console. but i am not getting any as i type in the input box. Its a simple Todo react app. I want to fetch the user input on the console. but i am not getting any as i type in the input box. import { useState } f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622899", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excuse me, I want to ask what is the use of the PHP programming language? Excuse me, I want to ask what is the use of the PHP programming language? Excuse me, I want to ask what is the use of the PHP programming language?
{ "language": "en", "url": "https://stackoverflow.com/questions/75622900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Return the value in case of pickle serialization exception instead of failing the whole call from dogpile.cache import make_region TIMEOUT_SECONDS = 10 * 60 def my_key_generator(namespace, fn): fname = fn.__name__ def generate_key(*arg): key_template = fname + "_" + "_".join(str(s) for s in arg) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622901", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Javascript comparation array I am trying to use javascript to complete my project, I found a problem that I have a data type between 1 - 10 for the input data comparison variable. This might make more sense looking at the example. Example input might be: databased material: name material_std material_xyz 30 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622902", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can class with const members be assigned or copied According to abseil.io/tips/177, it said Specifically, if your class has const members, it cannot be assigned to (whether by copy-assignment or move-assignment). The language understands this: if your type has a const member, copy-assignment and move-assignment ope...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to disable triggering HEAD request method when fetching the translation files with next-i18next The next-i18next is using HEAD request method when matching the previous translation file if its still the same or it still match My code look like this: import { serverSideTranslations } from 'next-i18next/serverSide...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gitlab Error 500 Whoops, something went wrong on our end I have a trouble that when I enter the Setting/Repository in the menu bar on the left side of the page, I will get a 500 web page, shown here. enter image description here enter image description here I was trying mirror this repository from gitlab to github b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to insert nothing or a blankinto the list if it is not alternately in python? For example, here is a list: ['1','a', '2', 'b', '3', 'c', '4', 'd', 'e', '6', '7'] How to insert ' ' into the list where '5' and 'f' are missing and separate them into two lists? I would like to have the following ouput. Expected out...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622908", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I reference a CSS stylesheet in the default index.html file to work with both the default url and the url with index.html? I have an index.html and a stylesheet CSS file which I want to use with the index.html. The index.html references the stylesheet with: <link rel="stylesheet" href="stylesheet.css"> Howe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622910", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Terraform : Data source retrieves only from one source I have a Network Load Balancer resource -> resource "network_load_balancer_network_load_balancer" "nlb" { count = 2 . . } and a data source for the same -> data "network_load_balancer_network_load_balancer" "nlb" { depends_on = [network_load...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kali Linux Black Screen Hyper-V I recently installed Kali Linux on Hyper-V, but upon rebooting, I encountered a black screen issue after the Kali Linux logo appeared. Despite my efforts to troubleshoot and resolve the issue, I was unsuccessful. I tested Ubuntu, and it worked without any complications. However, the b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I create a dashed line in the background and increase the point radius when hovering over a chart using Chart.js? I want to display a vertical dashed line when I hover over a line chart's y-axis, and increase the point radius. I did this with custom plugin, so , this is i actually need , but the custom plug...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622915", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }