text
string
meta
dict
Q: ADF dataflow external library use case I'm using ADF dataflow to process my data. I have an use case where I need to convert a column X to Y based on custom logic in a library. When handling in code, we could import the library into the project to achieve this. Does ADF dataflow provides such capability ? I understa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621400", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I extract the string literals from a Mach-O archive or object without mangling? I'm working on a system for analyzing the binary size of mobile applications and I'm trying to match up literal strings with the objects / archives that they came from. The link map alone is not sufficient for what I'm trying to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621401", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is the code not exiting the while loop even though the condition to exit is valid? Why is the code not exiting the while loop even though the condition to exit is valid? I can't see any problem with that from pytube import YouTube url = input("Enter the link: ") yt = YouTube(url) while True: option= input...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can I select all columns of a dataframe, which partially match strings in a list? Suppose I have a Dataframe like: import pandas as pd df = pd.DataFrame({'foo': [1, 2, 3], 'bar': [4, 5, 6], 'ber': [7, 8, 9]}) Given a list of "filter" strings like mylist = ['oo', 'ba'], how can I select all columns in df whose ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621404", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: Docker compose: command: bash -c 'apt-get...'. apt-get: not found version: '3' services: jenkins: image: jenkins/jenkins:lts user: root ports: - "8080:8080" - "50000:50000" volumes: - ./jenkins_home:/var/jenkins_home environment: - JAVA_OPTS=-Djenkins.install.runSetupWi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621408", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connecting With AWS CLI to instance not working I've created an EC2 instance and used Bitnami image. When I try to connect to the instance using AWS CLI and either of these users: "bitnami", "ec2-user", "admin", then I get the following error: Failed to connect to your instance Error establishing SSH connection to y...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621409", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: can ping but not curl one container from another using docker compose service name I have 3 docker containers, one is a Node-Express app, one is a Python Fast-API app, and one is an opencpu container. The node-express app can communicate with the opencpu container through the service name. I can use curl and get dat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621410", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Structure for item system in rougelike game I am currently creating a rougelike game in unity which i am now creating an item system for. Currently in my architecture there are entities that can have items. The entities also have stats and when an item is added to an entity it should apply modifiers to the correct s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Fitting lasso regression distributed by spark I have a huge dataset as input for a multiple lasso fit. The predictor values have size of 1250 by 1milion and the target value is 1250 by 1250. This could be computationally expensive which really takes long and I am searching for a way to do it distributed or in parall...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How come font is different on iPhone and normal on desktops? I have created an HTML/CSS page, but the font appears differently on the iPhone Safari browser compared to desktop browsers. I want the font to be Comic Sans but comes out in a different font. @font-face { font-family: "myFont"; src: url("myFont.woff...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621419", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how do I include a range of columns to create a Marlett checkbox using VBA code? I am using the following VBA code to create a Marlett check box where the cell itself becomes a checkbox rather than inserting a checkbox. However the code only applies to one column (column D in this isntance). How do i write the cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621420", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access text value outside of initialization of Radiobutton fruit_frame = LabelFrame(root, text = "Fruit", padx = 15, pady = 15) fruit_frame.grid(row = 0, column = 0) veg_frame = LabelFrame(root, text = "Vegetables", padx = 15, pady = 15) veg_frame.grid(row = 0, column = 1) meat_frame = LabelFrame(root, text...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621422", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: What is the best practise to make parallel calls on GraphQL query? I am learning GraphQL using hotChocolate. I am trying to understand what is the best practice to achieve parallel calls on Query. Right now, I am playing with very small data (< 10 records) to learn basic concepts. But let's say tomorrow I have recor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621429", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Web Browsers do not always render between tasks added to Macrotask queue (using setTimeout) I thought the Javascript Event loop is meant to execute tasks in Macrotask queue in similar way across web browsers. In short simplified way (not considering evaluating script, microtask queue, etc.): * *take the oldest tas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621430", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can different SES instances in different accounts each receive emails in the same region with the same domain? This article shows you can have two accounts each with an SES instance running in the same region and same domain and each instance is able to send messages (see photo below) https://aws.amazon.com/blogs/me...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621433", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Value error while using plt.fill_btween from matplotlib.pyplot I want to fill area between two line graphs derived from two different dataframes. import pandas as pd import numpy as np import matplotlib.pyplot as plt import datetime df = pd.read_csv('') df=df.sort_values(by='Date') df["Date"]= pd.to_datetime(df.Date...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621434", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to get the computer (or hard drive) product name in grub 2.0? I've tried cpuid among other things, but I can't seem to get the computer model. For example, the output I'm looking for would be something like: grub> computermodel HP Notebook 2016 Thanks.
{ "language": "en", "url": "https://stackoverflow.com/questions/75621435", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Using asyncio to send the same data to 3 separate endpoints via post request in python I'm having a hard time using asyncio to send the same data payload to 3 separate endpoints. Mind you these are post requests. I'm new to asyncio so please bare with me. Since I have 3 different endpoints (all of which are using th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621436", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Handling an Out-of-Process .Net Framework COM Server callbacks in Custom DLL Surrogate? We are migrating our windows application from a x86, 4.8 .Net Framework to a x64, .Net 7 platform. We have a lot of third party software with issues to resolve: * *x86 only available *x64 .Net Framework available but not supp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621437", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Pytorch - round tensor values to nearest value in a list Given a tensor of values is there an efficient way to round every value in the tensor to the closest value in a list? So let's say I have tensor [[.5, .25],[1.2,2]] and list of values [0, 1, 2] then it should round the example tensor values to [[1, 0],[1,2]] (...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621439", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert pairwise distance matrix to newick format / ETE tree format using python I have a pairwise distance matrix which I want to convert to newick format using an algorithm such as neighbour joining so I can then import it into python's ETE. This question was previously asked but the answer is inconclusive, not en...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621441", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to import a .dbf file into R? I am trying to import a .dbf file into R Studio as following: install.packages("foreign") library(foreign) dis <- read.dbf("M:\\data\\Pro\\dis.dbf", as.is = F) View(dis) Please tell me if it is correct. Does the path needs an update ?
{ "language": "en", "url": "https://stackoverflow.com/questions/75621445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error "e=2: system cannot find file" encountered using Makefile, how can i solve it? so, i've recently installed Makefile and while trying to use it it gives me this error: cp build/main.bin build/main_floppy.img process_begin: CreateProcess(NULL, cp build/main.bin build/main_floppy.img, ...) failed. make (e=2): The...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621446", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I’m having an issue with R debugging this is what I get, when I try to resolve the problem enter image description here I tried this steps but still don’t work enter image description here
{ "language": "en", "url": "https://stackoverflow.com/questions/75621447", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: how to force group of data to be processed by a single executor in spark let say I have data as +-------+------+-----+---------------+--------+ |Account|nature|value| time|repeated| +-------+------+-----+---------------+--------+ | a| 1| 50|10:05:37:293084| false | | a| 1| 50|10:06:4...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621450", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to skip or accelerate slow printing in python? I tried this but doesn't work in my case, I want to convert it in a function that prints slow but if I hit enter just completes the whole sentence. I tried this but doesn't work. import time import sys from threading import Thread def controlled_print(str): # F...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621451", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: convert text data to a csv file using powershell new to powershell I have data in a txt file like below that need to be converted to csv file using powershell data in txt file: AAA BBB: Mango CCC DDD: Green Mango EEE FFF: Ripe Mango AAA BBB: Orange CCC DDD: Green Orange EEE FFF: Ripe Orange AAA BBB: Pineapple CCC DD...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621452", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS CLI adding inbound rules to a security group I have written an AWS script that scans all security groups that have a specific tag associated with them. It then modifies the ip address of specified inbound rule or adds the new inbound rule if it doesn't exit You pass 3 parameters to it, tag associated with the se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621453", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MikroORM is failing to connect to database lireddit on postgresql://postgres@127.0.0.1:5432 Doing the Ben Awad tutorial on building a reddit clone. Seen other people ask a similar question here previously but none of the answers have helped. (the issue is around 23-minute mark of the tutorial, his MicroORM is connec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621456", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "Using deprecated '-debug' fallback for parameter name resolution" warning persists in Spring Boot 3.0.3 when MongoMappingContext creates entities I am using Spring Boot 3.0.3, Spring Core 6.0.5 with Spring Data MongoDB 4.0.2. I see many warning messages of the form ocalVariableTableParameterNameDiscoverer : Using ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621457", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to persist entire operating system of Docker container Assuming I have a case of creating a Docker container with Ubuntu and giving RDP or VNC access to it to user. I need to persist ENTIRE user's system on /mnt/somevolume on the host system, so the next time container is starting (even if container is removed a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621458", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Active Directory Authentication for Connector-X Is Active Directory Authentication available to use in the connection string? I'm putting in :/?trusted_connection=true&Authentication=ActiveDirectoryIntegrated and get the error: Windows logins are not supported in this version of SQL Server. code=40607 Expecting that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621459", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python QuantLib cannot bootstrap - wrong number or type of arguments I have been trying to bootstrap par yields from South African IRS with QuantLib. I am new to the library and been having problems running the code below: import QuantLib as ql import pandas as pd calendar = ql.SouthAfrica() day_count = ql.Actual3...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621460", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change 'shipping' name in manual 'Add new order' area Is there a way that I can change the default 'shipping' name in manual 'Add new order' area, without it also changing the name anywhere else? I found this Changing the 'Shipping' text in WooCommerce cart and checkout pages: but I don't want to change the front en...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621462", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to transfer funds from an address to another in solidity I am working on crowdfunding website using the Ethereum blockchain that can create a campaign. I created an algorithm that creates a payable address, and it can be fundable. function createMyFunDity(string memory _addressName) public checkDuplicateName(_ad...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621463", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change qmake output path in QT VS Tools My project's MSVS settings produce the following file tree: |- .vs |- Build-x64 // output dir |- Debug // $(Configuration) |- .inter // intermediate files |- MyApp |- x64 // Qt output dir ... |- source files -MyApp.sln I want to output qt intermediat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621464", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Minor and major tick marks both in and out on all subplot x-axes I am having a subplot series where I want to display both minor and major tick marks on all x-axis in inner and outer directions for all of them. I tried something like : fig, ax = plt.subplots(3,figsize=(10,6), sharex=True, gridspec_kw={'height_ratios...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621469", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Page cutting off half way when in full screen Trying to create a login page for my capstone project and for osme reason the form I created isnt taking up the fullscreen Made a form for a login page with columns styled in Bootstrap, expected it to fill up the screen but for some reason just takes up about half with t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621471", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The type java.awt.Font cannot be resolved. It is indirectly referenced from required type javax.swing.JComponent I'm trying to run a program using the awt library, but VSCode shows me this error while importing the library. I can't find any reference to this error.
{ "language": "en", "url": "https://stackoverflow.com/questions/75621473", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Results difference between months-between function and date_diff function I am getting two different results running same query in Teradata side vs GCP: Teradata SQL SELECT MONTHS_BETWEEN(DATE'1995-02-02', DATE'1995-01-01'); returns the result 1.03 GCP Respond SELECT DATE_DIFF(DATE '1995-02-02', DATE'1995-01-01', ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621475", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PyCharm - how do I set a consistent working directory when running current file? When running the current file (via PyCharm's "run current file" action), it sets the working directory to the /Users/xxx/Documents/myproject/xy folder (the file path is /Users/xxx/Documents/myproject/xy/myfile.py). However, I want the w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621476", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vite compiled images in modal windows (Laravel) My goal is to show Vite compiled images in modal windows of my Laravel 9.5 app. The path is constructed dynamically via JS and images show up when I'm (testwise) hard coding the url to the modal view like <img src="{{Vite::asset('resources/images/myPic.svg')}}"> Brows...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621480", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Move and copy constructor Please help me understand. When implementing Class Abc (code below) should I provide both A and B constructors or C instead? Yeah, years ago it would copy the entire vector twice with C option, but heard urban legend that the modern c++ can automatically apply either reference or move whate...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to call a function and only getting the value on a variable without it printing For example I make a function like this: ` def printnums(num1, num2): print(num1, num2) return(num1, num2) Which I then call on a variable x = printnums(1, 2) Output: 3 Now I don't want that 3 to print as I call ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621484", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Hitting AWS Lambda function from an API hosted on railway.app throws 403 Error from CloudFront I have a NestJs application that is uses the serverless package to deploy my API onto aws lambdas and another NestJs application hosted on Railway that uses websockets. I haven't not configured anything to make my lambda u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621488", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Setting cookies in request are working on development environment but not working on google cloud run I have a next.js frontend and nest.js backend apps. They are deployed to google cloud run seperately. Let's imagine We have 2 links. FE: fe.com BE: be.com Here is my nest.js bootstrap file async function bootstrap(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621489", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Retrieving PDF signature names and dates with Excel VBA I need to read from a number of pdf files (digitally signed) the follwing info: * *date of creation *signers name(s) and date of signature(s) Can you suggest me a VBA routine doing so? I've tried this code: Sub Main() Dim AcroApp As Acrobat.CAcroApp ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621492", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Running into build errors when trying to build AWS Gamelift Server SDK for Unreal Engine here is the build error I am facing in CMD. -- Configuring incomplete, errors occurred! See also "C:/Users/nsg/OneDrive/Desktop/AWSStuff2/Attempt1/GameLift-SDK-Release-5.0.0/GameLift-Cpp-ServerSDK-5.0.0/out/gamelift-server-sdk...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621497", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to eliminate malicious code in my wordpress site a while ago my site was hacked and now I find that the site requests this url https://cdn.dokondigit.quest/wp-sentry-browser.min.js, do you know how I could eliminate that request, thanks in advance I took some security measures, installed a plugin to handle secur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Use unrelated SQL tables in an ASP.NET Core MVC view So I have an ASP.NET Core MVC application related to sports. I know that within the view, the data gets imported together with the controller which sends the data. Within this controller, I know you can include related SQL tables, however I want to view a unrelate...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CMS Open Payments: How do use contains operator in JSON request URL for multiple records? I'm looking to use a contains operator in my JSON request URL. Here's the URL: https://openpaymentsdata.cms.gov/api/1/datastore/query/50fae62c-ced9-5e10-ad26-1cbc3381ac6b?keys=true&limit=5&offset=0&conditions[0][property]=cover...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621502", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Proxy SPRINGBOOT i'm tryining to understand how to use proxy and aspect in springboot, is the first time that I use AOP and it's not easy.Someone can tell me if is it correct that code? I'm not sure if the aspects should point to the proxy method. Thanks This my proxy code package local.luddel; import org.springfra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621507", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how do I install @socket .io/redis-adapter on node.js const createAdapter = require("@socket.io/redis-adapter@8.1.0").createAdapter; const redis = require("redis"); I tried installing @socket.io/redis-adapter on my node.js code I wrote but I am getting an error which says the repository is private and I should try ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: list all files in a directory with url path I am serving a directory over my LAN with NodeJS and it works fine. What I am looking for is, how can I get the list of all file names inside the served directory remotely. How can I achieve this? Thanks in advance. EDIT: I am trying to access the list of file names from a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621514", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python Turtle drawing is off-centered I wrote the following code: import turtle t = turtle.Turtle() t.speed(0) t._delay(0) screen = turtle.Screen() screen.colormode(255) BLACK = (0, 0, 0) WHITE = (255, 255, 255) RED = (255, 0, 0) BLUE = (0, 0, 255) GREEN = (0, 255, 0) IMG_WIDTH = 8 IMG_HEIGHT = 8 TILE_SIZE = 3...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621515", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: can't publish message to SNS queue from EventBridge Assume an SNS topic that is configured with a "default" access policy as follows: { "Version": "2008-10-17", "Id": "__default_policy_ID", "Statement": [ { "Sid": "__default_statement_ID", "Effect": "Allow", "Principal": { "AWS": ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621516", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Data Flow source from output in pipeline Is it possible to create a Data Flow that gets data from the output of an activity in a Pipeline? Something like this: I want to create a pipeline that has an Azure function activity to process some data and then pass that processed data to a Data flow. But apparently ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621518", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: dataSetChanged in List Adapter displays scrollbars in Recycler View each time I have Recycler View (inside SwipeRefreshLayout) with vertical scrollbar with custom thumb color: <androidx.swiperefreshlayout.widget.SwipeRefreshLayout android:id="@+id/messages_swipe_refresh" android:layout_width="0dp" androi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Background color does not cover inner div I have a page layout that uses four divs. The idea is that we center a white box of a reasonable width. We get a light blue frame of 20px around this, then an inner div to actually hold the content on a white background for readability. I have no issue with the innermost di...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Wear OS (Java) Scheduled notifications while sleep over network on my GW3 / Fossil gen 3 i developed an app (java - with android studio) that starts a sperate foreground service for notifications request that were be fetched with okhttp3 via rest call to my srv. Very simple if there are any messages for that client ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621524", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bad Essential Matrix With OpenCV Overview I'm writing a simple Python program to calculate the distance to a chosen target from a pair of two arbitrarily located stereo images. Both images are taken from a single camera with known intrinsics K, and although the camera locations and poses are arbitrary, I always know...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621526", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Docker compose --detached (-d) not detaching right away I have a docker compose file that has 2 services. Service B depends on Service A using a health check. Service A takes about 30s to start up. The problem I'm having is, I'd like to start up the services and move on with my day without blocking the terminal. I'v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621528", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unexpected Behavior with Multi-Selection Functionality in React.js Currently, I am using pagination in the app, and I have noticed that when I select items on a particular page, it works as expected. However, when I deselect items on a current page, the functionality work as intended but when I click on the previous...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621530", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SOAP Envelope is dropped when sending message out in WSO2 I am trying to build a SOAP message with a proper envelope then body but I am unable to get it. Below are the lines of code I am writing to build it. <payloadFactory media-type="xml"> <format> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to flip the MSE Loss in Yellowbrick's ValidationCurve? I am plotting Validation Curves using the Yellowbrick package here. I am using a Regressor model, and so naturally, my score of interest is MSE (or neg_mean_squared_error as the actual parameter). The example code in the documentation uses R^2, so there is n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621536", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I stop the webcraping loop in Python when it hit the page that I want to scrape? I am writing code for webscraping, and I am trying to gather the webpage that requires me to keep clicking "the more" button. So, I finished code and ran it. However, it goes endless. I want the loop to be stopped when it reache...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to adjust groups of numbers to match ratios Imagine you have a list of objects which have 3 properties, R and U which can be both be either true or false, and a numeric value What I'd like to do is adjust the numeric values so 20% of the total is made up of R=true objects, and 85% of the total is made up of U=tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621538", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I get the values from an arbitrary number of checkboxes? (tkinter, python) I'm currently trying to create n number of checkboxes from n number of sheets in an excel workbook to choose whether or not to use corresponding sheets. I am having difficulty with accessing the state of each checkbox since it seems li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621541", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: .NET Core 6 CORS issue I have a simple API and when I call my API from another website I get CORS error. I have tested everything and nothing seems to work. The request works fine in Postman. I have an API key middleware and I have attached the code for it also. The other thing is that I only get the CORS error, if ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621543", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 32x8 matrix cascade command performance delay I have a cascade of 4 8x8 matrices working via max7219. I use stm32 f103 for send commands to the cascade. For some reason when I send CommandN, CommandN-1 performs. Here's my code int main(void) { clockInit(); SysTick_Init(72000000); initSwdOnlyDebugging(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: My remove rear function in a linkedDeque is not working Hi my remove_rear() is not returning the correct values. My thought process was to loop through to find the node that points to the rear and set it as the new self._rear. def remove_rear(self): if self._length<2: return None elif sel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Profiling functions in the cleanest way I would like to profile a large number of functions and would like to make it as clean as possible. If a generic function looks like this: export function foo( param1: string, param2?: Date | undefined, ) : string { if (param1 == "foo") return "foo"; return "bar" } th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular - "Simulate click on maps" Good day. I have a problem from a long time ago related to a separate component that I want to simulate a click on the google map in a specific coordinate or in a specific marker. I've tried a trigger but it didn't work. Html google-map width="1700x" [center]="{lat: la...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Bind a Main Class variable to Control Class event in javaFX Eclipse Application The Control class object is created in Main class. The button event of Control changes the value of Main class variable. I want to show the new value as text of same button. The variable value is changed but not shown in Button. I used b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621554", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Verilog Finite State Machine not updating state Edit - since question was closed as not specific enough The block: if( (FT6_RXF_N == 1) || (DataAvailable == 0) ) begin NextState <= STATE_BUS_TURN_AROUND_TWO; // Doesn't seem to happen when DataAvailable == 0 RequestData <= 0; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: adding chatgpt's api to a discord command in discord.js i have this code which is fine as far as i know but it keeps hitting me with error below, the api key is correct and the code is all good and the api is working so why am i getting this error. Code: const { SlashCommandBuilder } = require('@discordjs/builders')...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621565", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I apply box-shadow to so it looks like one single element to user? I am making a payment form where I want the amount input to have a leading $ sign. I've accomplished this with this html: <div class="prefix"> <span id="dollar">$</span> <input id="amount" type="number" name="amount"> </div> I've re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android Amplify: how to properly check for user authentication at start? I have been (naively) using Amplify.Auth.fetchAuthSession() to check for the user's signed in status to decide whether to navigate to a LoginFragment at startup. I noticed an issue when signing out a user via the AWS Cognito Web Console. I woul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot create interface IGroupKidModel I want to do Repository pattern and done everything about repositories, services and controllers. But Automapper does not want to create interface from 'IGroupKidModel' AutoMapper.AutoMapperMappingException: Cannot create interface KiddyStats.Models.Common.Interfaces.IGroupKid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PySpark - Exploding a lot of nested arrays optimally I'm reading JSON files using PySpark and some of them have complex schemas (a lot of nested arrays). My goal is to flatten the schema to not have any nested columns in my output DF. For that I flatten the struct type columns and explode the array type columns usin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Read Csv from s3 bucket with node Need some help, I have a AWS lambda, I am getting data from csv and parsing it in order to count the total amount of rows in the csv. I have tried different ways to count the rows and storage that information in an output bucket. Here is my last try to do it. I having an ouput but n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Docker. Django cannot connect external Mysql I'm new using Docker I try to dockerize my Django app, but i have the next problem: django.db.utils.OperationalError: (2002, "Can't connect to MySQL server on 'myexternalhost.com' (115)") I can connect to myexternalhost outside docker and when I enter via bash to the con...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How must a function pointer be defined, which points to a function with variadic arguments The goal is to have logging, both under Arduino / espressif platform and native. C++ 11 is used. For example: logx("Text val1: %d, val2: %u", a, 123); ------> 20:24:27.237 > [ 26][D][main-log3.cpp:60] setup(): Text val1: 2,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621578", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connect to Multiple Mongo databases of a same uri after server startup in Springboot I am trying to do the below: Create a new database in Mongo server for every single group and create collections in that database for that group. Based on the user login, I will find the group name and have to connect to the appropr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621582", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to custom sort a dataframe bymultiple columns I have a dataframe representing a collection of unsorted MTG cards. If anyone is familiar with MTG I'm trying to sort the collection the same way a set is sorted: * *Color: W, U, B, R, G, multicolored, colorless *Within each color sort by name of card in alphabeti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting "could not accept SSL connection: EOF detected" error after DP upgrade We had to upgrade the postgres version from 9.6 to 13.8. Our application was unable to connect to the DB post upgrade Then, found "could not accept SSL connection: EOF detected" error from the postgres log. what could have caused this is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: spring boot how can I protect an internal API I have an internal api that can only be called by another api but I do not want people to call it directly How can I do it in spring boot application 3.0.3? thanks, akaliza
{ "language": "en", "url": "https://stackoverflow.com/questions/75621589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: SwiftUI List Sections with JSON Basically I'd like the list in sections, but my if statement's not working either.. The JSON file is just simple, key: string statements.. I'm trying to have the list find from "region" and find the same regions from the json file. Any helps much appreciated! I know the code below is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set secret key in flask I´ve been trying to make a flask program, but everytime I try to start a session it asks me to set a secret key, I have looked for ways to do it, but everything Ive tried failed from cs50 import SQL from flask import * from flask_session import Session from werkzeug.security import che...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I properly determine when a conditionally rendered child component's forwardRef is initialized? I am working with a component which is wrapped with a ContainerLoading component which will conditionally render children with a forwardRef attached to one of the child components (TestChild) once loading is compl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Copy string based on number in adjacent column while incrementing number I have a table of 2 columns with rows. Column A contains text while column B contains the number of instances that should occur. I need to generate column C based on those values, appended with an incrementing value, as shown. A B C ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621593", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Instagram Graph Access Token Expiration NULL I am trying to access the Instagram Graph API and keep getting the following error: object(Facebook\Authentication\AccessToken)#16 (2) { ["value":protected]=> string(183) "LONG LIVED ACCESS CODE" ["expiresAt":protected]=> NULL } I am able to access the long lived token, b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Web API and Swagger authentication Environment I have a dotnet 7 webapi that uses Oauth2 Authentication Code Flow. It uses Swashbuckel.ASPCore for OpenAPI support. I am using Azure AD for authentication and authorization. Questions * *Should I register a separate application for the Swagger UI? *If so, how can I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Transpose a column vector in dataframe to row vector As titled,I have a dataframe that looks like this: Date Asset_name trade_price 2022-08-01 Asset 1 96 2022-08-01 Asset 2 94 2022-08-01 Asset 3 99 2022-08-01 Asset 4 98 2022-08-01 Asset 5 91 2022-08-02 Asset 1 ... .....
{ "language": "en", "url": "https://stackoverflow.com/questions/75621604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to connect spark master Docker container from Airflow container with docker-compose I have a problem when I submit a spark task with the SparkSubmitOperator on the Docker containers I run locally. I think it's coming from the way I setup the docker-compose network/exposed ports/container names... I'm setting ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CS50 - Week4 Memory Practice Problem Correct (Licenses), but Memory Leakage Issue The memory leakage occurs in the while loop where I am allocating space using malloc for a char* temp. I know that everytime I set temp to NULL and I free it, plates[idx] is set to the heap memory that initially belonged to temp. But I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can't rotate player object properly while they are a child of another object? When I stand on an object that my player is parented to, rather than me being able to rotate my character object (capsule with an in-built controller) manually via my own horizontal mouse movement which is what I want, my player rotates WI...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621612", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: @NotNull not working in spring boot even with @Valid I'm going thru all the post where @NotNull is not working. Most of them suggests about missing @Valid annotation. In my code I've applied it, but it is still not working. RestController: import org.springframework.http.HttpStatus; import org.springframework.http.R...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to solve an error saving script file in R? I can't save my scripts in R How could I solve this problem? On certain occasions, when I try to save a script, I come across this error shown above. It's the first time I've come across this on Win10. Never seen this on ubuntu 20.04.
{ "language": "en", "url": "https://stackoverflow.com/questions/75621614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring boot JPA With database views * *i want to read the data of all entities and update products and users. I have a view called **Projects **in my database and I want to retrieve its data using Spring JPA. I'm using the normal method as if it were a simple table. but There are relationships between this view a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }