text string | meta dict |
|---|---|
Q: R: check if the column value falls between a range I have two data frames.
Frame-1
Frame-2
*
*Columns From and to of data.frame.2 are the ranges in which column Step of the data.frame.1 are present.
I want to combine these two data frames using the Steps with their range (From and to), and then assign them new_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: layerOutputs in dnn module in OpenCV does not return the row and column size correctly I am doing object detection using dnn module on trained weights of yolov5n model. I am getting layer output size as 1 for yolov5n. However when I check the size of layeroutput[i][j].rows, I get it as -1 due to which I not able to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I separate my collection management code from my component/page to make it more maintainable Below is my class, which I am trying to split in to two classes. Trying to place AddItemSelectors method and all the if's in two different class. So that it is easier to maintain down the line. But have trouble gettin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: I need python code in jupyter notebook that fills in the null values of a column given a specific set of circumstances I have a flight schedule dataframe named flight and a historical flight dataframe named hist. Within flight there are columns 'date', 'aircraft type', 'origin', 'destination', 'flight duration (minu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Read-only file system error when running trainer.predict(seg_module, datamodule=dm) on google colab I am working on the FLAIR challenge.
Link to challenge: https://codalab.lisn.upsaclay.fr/competitions/8769
They provide a jupyter notebook to train a U-Net model.
When running trainer.predict(seg_module, datamodule=dm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PhpStorm complains saying "Module is not installed" After having upgraded Encore to the version 4.2.0 (from ^3.0), PhpStorm started to complain with the error in the subject.
This is my webpack.config.js file:
/* eslint-disable no-param-reassign */
const Encore = require('@symfony/webpack-encore');
const path = requ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Select group by values depending on conditions I want to create a query when the result pick the minimum value if its starting with 2 and if it starts with 4 and no value starting with 2 then max of 4
Input:
value
fee
val_1
2001
val_1
4003
val_1
4002
val_2
4512
val_2
4186
val_3
4125
val_4
2058
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reuse class based component to dispatch different action I have class based component connected to redux. I am dispatching an action (updateDownloadCount) from this component. The component renders some ui, has internal state and some functions as well.
class MyComponent extends Component {
...
}
const mapDispatc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Graphics not rendering properly I am supposed to make a 2-dimensional time-step mesh in MATLAB, and while I think the equation is right, the graphic won't render properly. I am using Backward Euler's method to solve the heat diffusion equation (boundary conditions T=0 and T=1350). I have the code written, but when I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SFTP + R Studio Automation I'm working with a Marketing Intelligence tool called Datorama and I want to run logarithmic regression. However, the only way to do regression is to connect a report through SFTP (or email, or FTPS, or HDFS) to R Studio and run the analysis there. I've never worked with SFTP and there's n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Scheduler CRON job for every 4 hours not working in Java SpringBoot @Scheduled(cron = "0 0 */4 * * *")
@SchedulerLock(name = "InsightPhotoUploaderCronJob", lockAtMostFor = PT5M, lockAtLeastFor = PT5M)
Using above code to run a job every 4 hours. But after deployment of code it just ran once at 8:00 PM. Not sure wha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the effect of break; in this code I have a program that encodes a given string in ROT13 encoding. However, I realized that the encoding is partially wrong if I do not add a break; somewhere in the if statement
I'd like to understand why. See code below.
#include <stdio.h>
int main() {
char s1[] = "ROT13... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Decrypt code that is encryped by obfuscator const _0x4e7dda = _0x3fd9;
(function (_0x4b17ff, _0x14816d) {
const _0x2da65e = _0x3fd9,
_0xac08cf = _0x4b17ff();
while (!![]) {
try {
const _0x2f9a96 =
(-parseInt(_0x2da65e(0x106)) / 0x1) *
(parseInt(_0x2da65e(0x12d)) / 0x2) +
(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Mono throws System.LoadTypeException for target, but target runs fine by itself I have a mono/.NET application that I am trying to run with mono. The app runs just fine on its own, but when I try to run it with mono (i.e., <path to mono> <path to target>), there are problems.
I used the --debug flag to get more info... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The open-jdk build number is changing and it is affecting JAVA path set in the Dockerfile The open-jdk build number is changing and it is affecting JAVA path set in the Dockerfile.
The build number changed from java-1.8.0-openjdk-1.8.0.352.b08-2.amzn2.0.1.x86_64 to java-1.8.0-openjdk-1.8.0.362.b08-1.amzn2.0.1.x86_6... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is only the first boxplot changing color? I've written the following code to create a boxplot with multiple groups. I want each plot to be a different specified color but I can only seem to alter the first one in the series. I can change the first "blue" to any color but the other plots always stay gray. Any ide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any way to consume multiple service bus messages at a time in the service bus-triggered azure function? Is there any way to consume multiple service bus messages at a time in the service bus-triggered azure function?
Currently, my azure service bus triggers for single message in the service bus topic. Since... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python async client-to-client and server-to-server proxy As an input - exist one device which only is able to connect to 2 remote ports and redirect data through this connections.
I try to write a 2 specific proxy servers. One which will work on this device, and other one which will listen to two ports on the localh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Wrong Camera2 YUV_420_888 data on Samsung Galaxy device Afternoon,
I’ve noticed that when requesting Camera2 ImageFormat.YUV_420_888 VGA data on the specified device - Galaxy A23 (SM-A236B) - the Y, U and V channels have unexpected sizes and row strides.
Requesting a similar image reader (ignore syntax correctness!)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to spyon a service in angular test case in Jasmine In my angular app, I am writing a test case for a method which call service and returns an object.
I am using spyon and callFake and trying to return an Observable. Not sure what is wrong, it is giving an error.
Error is :
Argument of type '(this: Observable, su... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to close a Python FMX GUI App with a button click? Is there a built-in function for closing the app via code?
How would I close the app via code instead of clicking on the closing button in the title bar?
I'm using DelphiFMX GUI Library for Python
A: You can simply use the following line of code in your Button ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to join two lists based on the names of items contained in both lists I want to join two lists in R based on the names of items within the list. For example I have 2 lists that have shared tibble names in them (1-3). I want to combine these lists so that there is one list that contains all of the information bas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Problems setting up mac m1 for reactNative when installing bundler Trying to install dependencies for reactNative on mac air m1 but keep getting the same error.
I have installed homebrew, git, node, npm, watchman, ruby, gem, cocoapods.
When I initialize a appliction (npx react-native init project) I get the followin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Objects are not assigning the values in unit test cases I have a method GetConfig() where I am taking values from appsettings.json and assigning to globally declared variables.
I want them to be used in unittest cases so that they will get accessible at throughout class methods wherever needed.
I initialized them in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Show Quick Count When Affected Is there a Quick way to see how many rows are affected and merge it withe the following code?, create a popup or something,.
$sql = "IF EXISTS(SELECT 1 FROM subject WHERE artikelnummer > '') THEN
UPDATE subject
SET prijs = '$emapData[2]'
WHERE artikelnummer = '$emapData[1]... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why debugging PHP in Sublime Text 3 using Xdebug on XAMPP is not working? I noticed all the questions about this topic are quite outdated, so maybe I'm doing things wrong, not sure if Xdebug is still a valid option.
When I start the debugging it is not opening the browser with the ?XDEBUG_SESSION_START=sublime.xdebu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to use python code in a JavaScript web application I want to build a chatbot web application. I have already built a chatbot itself on Python, and now,I want to build the application itself on JavaScript using Node.js and Angular(front end and some of the backend). It is my first time building a web application,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: string split from column pandas in specific pattern key value extraction I have a column with values like below:
MATERIAL:Brush Roller: Chrome steel,Hood: Brushed steel | FEATURES:Dual zipper bag. | CAPACITY:6.1 dry quarts | SPECIFICATIONS:Noise
I want to extract value like
MATERIAL_Brush Roller: Chrome steel | MATE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: psens() function of rbounds package in RStudio stogether with the Matching package so i would expect the psens() function of the *rbounds *package i am using to do a rosenbaums sensitivity analysis for my matched data to work with an object created with the match() function of the *Matching *package.
psens(mgen1, Ga... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error - unable to resolve dependency tree while installing @microsoft/generator-sharepoint Node version 16.0
I was able to install Gulp and Yo glabally but unable to install the @microsoft/generator-sharepoint
I got the bellow error
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I ensure that GCP Document AI model to output JSON with the same name as the input file? I am using Python to BatchProcess PDFs through GCP Document AI ("DocAI"). The PDFs have long file names such as 71.169892_01-2022.10.15-21275188-1111.pdf. Often the only difference between the filenames are the last four... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I Route using variables in React? this is my constants.js
enter image description here
i need to route to the category.names, for example, if i click on Music(see the precious picture), it should routed to localhost:3000/Music, how do i do so?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75618909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CreateQuery is retrieving all the data, not applying predicates I am using auto generated OData Client, and I am trying to create a generic client class.
I want to get by some predicates.
public T Get<T>(Func<T, bool> predicate)
{
var entityName = GetEntitySetName<T>();
var query = _d365Context.CreateQuery<T>(en... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CHIP M apple script to connect share with UI mac os ##question solved, script run in wrong shell
thanks all
I have this script that is perfectly working on mac intel processor.
what about a similar script to use with mac with m processor ?
really thanks
best regards
#open windows ask credentials mac os xCUSTOM S
#t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use variables in kickstart file for RHEL installation I would like to use an environment variable in a kickstarter file as in this example:
NFS_KICKSTART=12.23.12.23:12222
nfs --server=$NFS_KICKSTART --dir=/kickstart/
# do some post processing
mount -o nolock $NFS_KICKSTART:/kickstart/ /mnt/temp
Apparently ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: where i am making mistake in hackerRanke. I am too much confuse I have done code in hacker rank day 0 question 2 but error come. maybe my code is good expected of hacker rank
enter image description here
enter image description here
enter image description here
enter image description here
enter image description he... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: State space model implementation in Thonny IDE I have a mathematical model i want to implement on a Raspeberry Pi Pico Microcontroller using the Thonny IDE.
Any suggestions on how to solve this problem would be appreciated.
Thank you.
I have tried the implementation of the model on Arduino IDE which worked but im ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Build SymPy matrix by alternating rows of two square matrices I have two square NxN matrices in SymPy. Lets say
from sympy import Matrix
x = Matrix([[1,2],
[3,4]])
y = Matrix([[5,6],
[7,8]])
What is the best way of creating a new 2NxN matrix which alternates rows to generate the following... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: vba macro manipulating text to column function in excel and change priority of info with same delimeter I am overall quite new to excel so any help is greatly appreciated, concerning my problem.
I download data from a vendor and the identifying data,(the first column), has an individual's name and their participant ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Check for Click of element then wait until element is disabled and has a specific text I currently am working with a java/selenium project (written by another dev) where we loop through and excel sheet for the elements and their attributes and perform an action based on the condition (click, mousehover, etc). There... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Should I be using another function other than `map_or_else` in the following? In the following code, I created a CommandError enum to handle two kinds of errors: ExecutionError and NonZeroExit.
I also created a run_command function that either returns an Output or a CommandError.
The NonZeroExit or Output is handled... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to change the limits of the scale bar when plotting a map? Want to change the upper and lower limits of the gradient scale bar/legend to -0.6,0.6, is this possible?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75618931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I test a constant value with mocha, chai, sinon? to everyone, that's my first time here so I hope to do all in the right way.
So, I'm writing unit tests for my app and nyc tell me that I have a file that is not 100% tested, that's a simple file to set the environment to load, and I don't know how can i test ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Nest.js ConfigService not working in e2e tests (Config validation error) My .env file includes NODE_ENV=development variable, but I get the following error:
● Test suite failed to run
Config validation error: "NODE_ENV" must be one of [development, production]
11 | imports: [
12 | DatabaseModule,
> 13 | ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Set default route without using "/" in react-router dom Is there a way to make a route the default route without using "/"? I want the route below to be the route users see when they open my page, but I don't want to change the path name.
<Route path="/about" element={<About />}></Route>
A: With a Redirect. If... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculate the Euclidean Distance Calculating Distance with Categorical Predictors. This exercise with a tiny dataset illustrates the calculation of Euclidean distance and the creation of binary dummies. The online education company Statistics.com segments its customers and prospects into three main categories: IT pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: angular https wait value I write the angularjs function like
$http.get("/shopquery/get?shop=" + shopId)
.then(function (response) {
$scope.shopName = response.data.shopName;
$scope.shopAddress = response.data.shopAddress;
}).catch(error => {
console.log(error);
but it cannot get value ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure Workbook - Authenticate to Azure Resources enter image description here
Having an issue with this spot, 'Authentication to Azure Resources' not sure where I should define workspace. I thought that was covered in line 2.
*
*I tried adding the workspace ID
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75618947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java- Cannot find symbol of a class defined in another file but belonging to the same package So I am currently learning OOP in java. I created a java package called circleClass and made two java class files. The Circle.java contains the Circle class and circleDemo.java is trying to create a Circle object.
Circle Fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a new data frame 3 based of partially matching values between data frame 1 and data frame 2 (error due to more than 1 match) I'm trying to do the following and running into an error due to more than one matching value:
My aim is to search values in df2 for partial matches to values from df1, and if a match,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Give youtube subscriber role discord.py Is it possible to give a user a role if he is subscribed to a current channel on YouTube using discord.py? If it is so, can you please give me a code sample
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75618956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Gromacs -2023 not using gpu I have installed gromacs-2023 with GPU support in WSL 2 Ubuntu. When I am running simulations, it is not detecting GPU. When I checked gromacs using gmx --version it is showing GPU support of CUDA and also showing CUDA compiler flags. Here I am sharing that:
GROMACS version: 2023
Preci... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: My contact form .PHP is not sending me any details, why? Here we go, I can't find what is wrong with my php code. When i receive an email i just receive the title without the information acquired from $_POST, can someone help me?
HTML CODE:
<div class="card card-style contact-form">
<div class="c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: R Commander: buttons in dialogue windows not visible anymore Using R Commander sometimes ends up with a strange behaviour with missing/not visible buttons to confirm/escape analysis settings to proceed.
However up to now I found no relevant explanation why the R Commander interface dialogue behaves like this. Additi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular ViewChild is undefined - why? I tried to implement (to test my skills) my own toast message service - dynamically add my toast message to the page. I developed a toast message service - which (I think) is not important here (nothing special inside). Also, I added a single ToastMessage component, which I didn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Service authentication in GKE similar to Cloud Run Is there a GKE service invocation authentication similar to OIDC tokens in Cloud Run? If not, how would one implement a similar functionality with GKE such that only authorized service accounts can invoke a service?
A: Hmm, you have to implement GFE and IAM service... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Transform nested json with array with AWS Glue I have a json that contains an array and looks like this:
{
"version": "0",
"id": "96a3a241-b205-4215-a211-19651d197d18",
"comparison": [
{
"question": {
"id": "01",
"section": "",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apply height and width of one image to others with JavaScript .getBoundingClientRect I'm trying to take the width and height of the first image and apply this to all subsequent images.
So far I have managed to apply the width and height of the first image to the second image, but not to the third, fourth etc...
I'm ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ValueError: Classification metrics can't handle a mix of unknown and multiclass targets site:stackoverflow.com when using classification_report() i am trying to execute a naive bayes model and display the results through classification_report()
from sklearn
from sklearn.naive_bayes import MultinomialNB
from sklearn.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to extract only non-empty deques in dict where key-value pair is int - collections.deque pairs I have a dict of collection.deque objects, dqs, where the key is some integer id. I would like to create another dict that only has the entries in dqs where the deque is non-empty.
Is there a quick way to do this witho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618983",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Want to develop an API in .net core which can run on both mssql and mysql I have developed an API project in .NET Core and I have hosted on Windows server now my requirement is this API should run on both servers i.e. Windows and Linux as well but for Linux I will need to connect MySQL so the API will decide if its ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618986",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How To Reference a Specific Column In an Event Handler I'm using the default ActionBeginHandler to determine what action to take after a user has selected Add, Edit or Delete in a Blazor Syncfusion datagrid. My aim is to make the component reusable with generic type parameters. Ahead of doing that, I can get it to w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OneLogin Protect authenticator manual setup code I implemented an MFA project using this library https://github.com/BrandonPotter/GoogleAuthenticator, and found one issue with OneLogin app.
The generated QR code and manual setup code by this library can be successfully used by Google Authenticator, Microsoft Authent... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I resolve unexpected keyword argument error using pvlib I am currently attempting to model a basic PV system using pvlib in python and am having an issue with the AOI model under when setting up PVSytem. The argument is not recognised despite matching what is required in the documentation and prompts. The err... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure WebsiteManagementClient for Python: how to get web app by ID? I'm using version 7.0.0 of azure-mgmt-web for Python. I know we can fetch a site with:
from azure.mgmt.web import WebSiteManagementClient
web_client = WebSiteManagementClient(...credentials here...)
site = web_client.web_apps.get(RESOURCE_GROUP_NAM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: como configurar el sonido predeterminado para notificacion push en ionic 6 y angular para android buen dia
no he podido configurar un tono predeterminado para la notificacio push que me llega de firebase estoy utilizando ionic 6 y angular con el plugin @capacitor/push-notificactions,
otra opcion seria activar una fu... | {
"language": "es",
"url": "https://stackoverflow.com/questions/75618992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I set the right format to this datetime column with pandas? In a dataframe I have the column "Date and Time" in the format (Year DayoftheYear Houroftheday). For example the first row is (1969 58 0).
I would like to set this column to pandas datetime format. So far, I´ve tried this:
df['Date and Time']= pd.to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find all documents where array is completely contained in another document's array Given the following documents in Mongo
{
'name': 'test1',
'members': [1, 2, 3]
},
{
'name': 'test2',
'members': [2, 3]
},
{
'name': 'test3',
'members': [1, 2, 3, 4, 5]
}
Find all documents in a collection where all 'members' in one a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618994",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can we have Datatable instead of plain class in Web API. Will it be a good design. What will be cons if used in API method? Below is an example.
[HttpPost]
public int Get(DataTable dt, int mode)
{
}
Just want to make sure its a correct design to have datatable or dataset in API as Argument
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75618996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to launch chrome using selenium webdriver and browse but class not found So I am trying to open a chrome browser in incognito mode and then do a few more things beyond that with selenium.
Here is the code and I am using selenium 4.8.1
package com.bocc.mavenbocc;
import org.openqa.selenium.WebDriver;
im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Terminal cannot find the Python interpreter My MacBook told me:"zsh: /usr/local/bin/pip3: bad interpreter: /usr/local/opt/python@3.11/bin/python3.11: no such file or directory"
How can I fix it?
My real Python placed in "/usr/bin/python3" and version is 3.9.6
Content of the PATH variable: "/usr/local/bin /System/Cry... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I configure vs code not to use the default dotnet path? How do I configure vs code not to use the default dotnet path?
I have configured the terminal $env:PATH so I can use .net6 which works great. When I try to run my code from the menu I notice the run command is not using the same path as the terminal. I d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there an easy way to use the quill editor from ngx-quill for my angular 12 application to output data as markdown? I am using ngx-quill 14.3.0 in my angular 12 application.
I have a quill editor which should get data from an api and should also be used to post to an api.
The issue I am having is that the data ret... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make a Url always stay in about:blank How do i always make my url for my google websites stay in about:blank?
Like is there a way? I see there is on other google websites but i don't know how to.
I tried Target_blank but it just says about:blank for 1second and shows the url.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75619011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: AttributeError: 'WebElement' object has no attribute 'username' at selenium? im trying to learn "Selenium" but i have a mistake in my codes but i cant find it. I imported some variable other file like that " from githubuser import username,password ". im trying to auto github signer but i cant :( can u help me ?
`
f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: AttributeError: module 'datasets' has no attribute 'map' getting
AttributeError:Traceback (most recent call last)
<ipython-input-13-36788303b378> in <module>
----> 1 tokenized_datasets = datasets.map(
2 prepare_train_features,
3 batched=True,
4 remove_columns=datasets["train"].column_na... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get all AWS vpcs and activate flow logs. Use a log group name with the last 3 vpc id characters The code below gets all vpcs and activates flow logs; but with the same log group for each vpc. How can I adjust the code so that every vpc uses a different log group. The log group name should contain the last three char... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OpenCV libraries conflicting? I wrote a program in C++ that opens a ROS bag file and export the images using OpenCV.
The image is in different colors because it is YUV422 so I tried to convert it to BGRA and it was successful.
Now I tried to view it with imshow instead of exporting the images to a folder, and I am g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Harvest data and attributes from Shewchuk's Triangle (python) Lets say; I have an area with regions and I execute a constrained Delaunay with Rufat's implementation of Shewchuk's Triangle (python)
import numpy as np
import triangle as tr
import matplotlib.pyplot as plt
# data
vertices = [[0, 0], [5, 0], [5, 5], [0,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Deadlock when waiting from multiple threads on same std::condition_variable_any::wait_for with std::stop_token In an application I'm writing I have a threading model which is a simplified as the following:
*
*a generator jthread (m_WorkerGenerator) is starting async tasks.
*the multiple async tasks work until the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unknown JSON parse error < and 502 bad gateway response in production App Hello does anyone know what could be the cause of this error.
This is a React Native App connected to a CRM backend written with Laravel and MySQL.
The CRM uses AWS, Twillio, and Google cloud services.
The source code for the CRM was recently ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to batch get requests for Google Cloud Storage I would like to be able to collect a group of files all at once from a Google Cloud Storage bucket
At the moment all I am doing is getting the files one by one, however it is slow and my suspicion is that the network latency is the bottleneck here
Is there a way to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Table taking out table lock on Delete using PrimaryKey value. It may be index corruption how can I fix this? Using SQL Server 2017, I have a table that has been working trouble free for years.
I started getting random database lock-ups which appear to be due to a table lock being taken out on one particular table.
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Alternative to retrieve data from "Query.prototype.exec()"? I was trying to console.log() some data from my posts collection using Mongoose, but turns out it no longer accepts a callback function from the ".exec()" method, so what would be an alternative for this?
Here I was accessing my variable "posts" which holds... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stacking Columns Vertically in Google Sheet I have a google sheet table that has 4 columns, Name (of project), Email (of user), Year 1 (revenues), Year 2 (revenues). I would like to convert it into 4 columns: Name, Email, Year, Revenue so that I can put that data into Airtable or similar.
Before
After
I can't seem t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Three docker containers with python image get mixed up in docker compose I have a docker-compose.yml file in which I have three services, each being a python script that needs to be executed.
Each service has a dockerfile
*
*Dockerfile.scriptA
*Dockerfile.scriptB
*Dockerfile.scriptC
In a folder called "python_t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error in Laravel 10 project - bootstrap cache directory must be writable I tried all the commands to solve this, but it still has an error. I'm using Laravel version 10 and Livewire in the same project; everything was fine, but I don't know how I got this error.
In PackageManifest.php line 178: The
C:\work\school\M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: metrical dashboard set sidebar auto open active by taking current url and checking href using javascript https://github.com/swapan730/metrical
this is the dashboard I use
I need to use javascript for the sidebar in this dashboard to check the page urls during page load and set it active automatically, but I'm confus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Select statement counting distinct records How can I count distinct records in a query using an iif statement?
something like this?
your text``SELECT joaccp,; your text SUM(IIF(b1wkno =1,b1qnty,0000000.00)) AS week1,;your text COUNT(iif(b1wkno = 1,custid,0) as custcnt;your textFROM wolf1;your textwhere b1vnbr =' ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change grid lines interval in mplstereonet Everytime I plot stereograms using grid, the grid lines are spaced for every 30 degrees (like below). Is there a way to set grid lines every 10 degrees? I'm using mplstereonet´
It used to be every 10 degrees, as the examples shown in the github page https://github.com/jofer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Excel - Concatenation without "-" Im probably over thinking this but here it goes.
So im trying to creat a user name based on a useres first inital and last name. Simple way of doing it.
Given a list of names such as:
John doe
Jane doe
Alvin a-chipmunk
Etc
I want it to be in all lower cast and skip the - in the las... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619043",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I integrate Microsoft Graph example into my .Net Core web application We have a large web application with several modules. In one of these modules, my goal is to use Microsoft Graph to collect some Sharepoint files, so the module can process them. Originally, I tried to set up Microsoft Graph on our web appl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert varchar to TRY_TO_NUMBER with decimal in Snowflake I need some help in snowflake where i need to convert a varchar to number type with 2 digits as a decimal values. Below is the sample input , the query i used and the out put i want. but unfortunately my query is not working as expected.
Sample
Co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does Hibernate validator give different response formats for similar setups? I am using Hibernate validator in a REST API to validate database entities after getting parse from JSON. This works fine, however usually if one of the members of the object violates one of the constraints declared with hibernate valid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why do the fitted regression lines not appear per group on my scattered plot? I have tried different approaches but I cannot seem to get a fitted line on my plot per group.
Plot ends up looking like the one on the attached photo .
This is my data
#first approach, did not work
df_algaeconsump %>%
ggplot(aes(x=`Li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find Specific straight lines in image with Python and CV2 I Have a specific image:
In this picture I try to detect the following lines reliable:
I tired to detect them with the following code:
def find_and_draw_lines(img):
# convert to grayscale
img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
# Apply Cann... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My modal form opens only on the first item Here my HTML code and it is dynamic. So on my page when someone place comment it display and under comment section there is button called Reply, but when I am pressing that button it opens on the first comment, how can I make them open on each comment
<div class="comment-fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "Upgrade: websocket" header is removed from SockJs Websocket connection request, sent only from an specific user laptop We are using sockJs to initiate a Websocket connection in our client side javascript app.
We are having an issue with a websocket request, initiated only from a specific client's machine.
The reque... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Exclamatory symbol (!) value is getting excluded return when decoding the string using powershell statement from batch script I am reading a file in a loop for parameters (input.txt) which has a encoded a string value and that encoded value will be decoded using the Powershell command however the Exclamatory "!" sym... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Keycloak user validation check via API before user self-registration We use Keycloak and let users self-register to our app.
We want to prevent users from using temporary emails. In order to do so, we intend on using a third-party service via API (such as IsTempEmail).
We would like to be able to make the API call, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75619061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |