text string | meta dict |
|---|---|
Q: How does error handling work when you use Invoke-Command over several computers? How does error handling work when I use Invoke-Command over many computers? For example, what if a computer name is misspelled or the user doesn't exist on a specific computer?
Invoke-Command -ComputerName Computer1,Computer2,Computer3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: RegEx to find string between occurences of character I have pipe delimited file, something like that:
col1|col2|col3||col5|col6||||col10
(some columns might be blank as you can see above)
I want to fetch string between 5th and 6th occurrence of pipe. It would be 'col6' in this example.
How to do that with RegEx?
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: how to create ,update ,delete Places to Firebase Database and Show on google map android app how write ,update ,delete Places to Firebase Database and Show on google map android application for this?
source code for this programe .!
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75558336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Should I worry about conflicts with possible future ECMAScript changes if I want to add a generically named property to a Function object? I am trying to create a function which can be invoked through the following ways:
log()
log.error()
Based on my understanding, we can creating such a function by writing on the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Cannot resolve symbol foreach in Scala I have a data with Map Structure. I want to iterate on the data and extract a list of keys with special values. I wrote the below code:
val jsonString = os.read(os.pwd/"src"/"main"/"scala"/"config.json")
val data = ujson.read(jsonString)
for ((k,v) <- data) println(s"key: $k, v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# & ASP.NET MVC 5 : optional string in route URL using regex I'm trying to determine if it's possible to have an optional section of a string in a given route URL using C# and ASP.NET MVC 5.
For example:
[HttpGet]
[Route("~/hot-dogs{withMustard:regex(-with-mustard?)}/", Name = "HotDogOrder")]
public async Task<Acti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Difference in results between glmmTMB and zeroinf (in pscl) I applied glmmTMB and zeroinfl in pscl to the same dataset. I obtained the identical coefficients for the conditional part, but the coefficients for the binary part are somewhat different. Any idea on the potential factors that makes the difference?
Thanks!... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jquery Datatable - Uncaught TypeError: Cannot read properties of undefined (reading 'length') I am having the following error around undefined (reading 'length') on Jquery Datatable.
I am generating the table dynamically.
table#myTable.table.is-fullwidth
thead
tr
each ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Does anyone know how to create more releases of mongodb using digital ocean clusters? I'm trying digital ocean clusters I have 2 nodes 160gb available disk, 8vcpus and 16GB of memory, my cluster is empty and when I a ran
helm upgrade --install mongodb1 bitnami/mongodb --set auth.rootPassword=secretpassword --set aut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change column names in R I have two data frames df1 and df2. I would like to paste to df1 column names, HTO column content from df2 that matches the names of the columns from df1 and row names from df2. When HTO is missing for a given column in df1 paste "UN_". Please see an example of a result below
df1
ACG... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Removing duplicates in pandas dataframe - Python I am struggling with one code that I am trying to write. I have a simplified dataframe of this type:
ID RecordingType Date Sleep
1 MinsAsleep 17/01/2022 30
1 MinsAsleep 17/01/2022 40
1 MinsAsleep 17/01/2022 50
1 MinsAsleep 17/01/202... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: springboot application, already starts with this prefixed destination as "/topic/app", how could I do that? I need to create a connection destination in springboot with a fixed websocket, where when the application starts, it already starts with this prefixed destination as "/topic/app", how could I do that?
I need ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can Flyway Community Edition be used inside of an organisation The community edition of Flyway is licensed under the APACHE LICENSE, VERSION 2.0.I cannot seem to definitively understand whether the tool can be used inside of a company for free without breaking any of the licensing agreements. From what I can underst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: What Are The Various Ways of Checking the Success Of An SQL INSERT Execution Using mysqli And Prepared Statements I just want to learn the various ways of coding to achieve the same thing as I do not like doing things one way forver as that bores me.
So instead of coding forever like this following to check whether ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-6"
} |
Q: batch file: concatenating path in for loop I'm working on a batch file (I'm very basic with them). For now I want to make a batch that takes a list of folders and prints full paths to those.
Here's my code:
@echo off
rem Define variables for list of files/folders to delete and those to exclude
set delete_list="\RC\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Converting string list to a list of type abstract class I created an abstract class with an overloaded constructor. I had to create a list of type CMember. I am unable to convert the string list to the list of type CMember.
I am trying to create a list in a seperate class but I cannot seem to figure it out. I am ret... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Playwright placing cursor at the end of an input field I'm using playwright to write my tests. And I have a problem: I need to test the following behaviour:
*
*Apply the bold style to some text there's already in my input
*Check that the text I'm writing after keeps the bold styling.
To do it I need to go to the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does this Scala code pass type checking? Consider the following Scala code.
object Q{
trait C{
def f(x: Int) : Int
}
def applyTo3(c: C) = c.f(3)
def main(args: Array[String]) = println(applyTo3(x => x+1))
}
This looks like it shouldn't compile: the function applyTo3 expects an argument of type C, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how Do I dynamically Embed div inside a Div I want to loop through the products and show all products inside a div through the data I am getting in my response
This is my div inside which I want to embed my products div
<div class="row" id="">
<div class="col-md-6 col-lg-4">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to calculate the mean of a specific value in a column by a specific value in another column from a big dataset For each of the genetic clusters (βGenetic.clusterβ), derive mean days to heading (βDHβ), and mean overall appreciation by farmers (βOAβ)
Ciaoo I am struggling in finding the mean of DH and OA (which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: QPushButton brief delay when clicked event connect to disable itself I've observed this rather annoying behavior several times (at least on Windows 10), and I just can't figure out a workaround.
I have come up with a very simple test case:
def pba():
mainWindow.pushButtonA.setEnabled(False)
mainWindow.pushB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React Native - IntelliSense suggesting react-native/types instead of react-native I want to import <View from react-native but instead, what I got is react-native/types
How can I fix this? This is a new project start from scratch and I added TypeScript like the doc guide:
yarn add --dev @tsconfig/react-native @type... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Custom domain with SSL on AWS EC2 with multiple apps I've been extensively researching about this on the net and I could not find any result that matched my case, forgive me if this is a duplicate somehow.
So, I have an AWS EC2 instance running multiple apps on different ports. For the sake of this example let's say... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Trying to figure out my error for "Missing argument for parameter 'plans' in call; Insert 'plans: <#Plans#>'" New to SwiftUI and have searched everywhere to figure out what I think is a simple problem. So I'm turning to the community for help or education please. Any help is very appreciated and will help me get uns... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kubernetes unknown field "volumeMounts" I am trying to create MySQL Database Deployment but I am getting the below error.
Could you please check and help me to fix this issue?
Error Message:
C:\Users\Azvmadmin15.docker\YAML>kubectl apply -f mysqlpvc.yaml
service/mysql-srv created
Error from server (BadRequest):
erro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recursive statement not working correctly for this drracket code I've been working on the following code for so long and I know that there is an issue with the recursive case but can not seem to fix it. I am working with the beginning student drracket
This is one case, where s is 'asc. The list needs to return in an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558395",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Upload picture into MYSQL DB from Java/Spring and CRUD Repositories I'm studying Java, and I've just started with Spring.
Before Spring, I was able to upload pictures to my database, because I could write Queries by myself and I could pass everything I needed when calling Service and then DAO.
So to make the upload/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: when inputting a string with an integer the output makes an output for each word and number #include <iostream>
#include <string>
int x;
using namespace std;
const int START_SUPERBOWL = 1967;
const int MIN_ROMAN = 1;
const int MAX_ROMAN = 3999;
string roman_numeral(int x);
string roman_numeral(int x)
{
x = x -... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: While reading JSON using decoder and do, try, catch block data is unsusable outside block I am trying to use data from a text file containing json data. From various sources, I was able to successfully read an array of data from the file. However, when I try to use the code outside of the function in another do, t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Strange return value of Array after splice this I have a problem when i want dupplicate an object in array.
Example Array:
const fruits = [
{"name": "banana", "index": 0},
{"name": "orange", "index": 1},
{"name": "lemon", "index": 2}
];
I want to dupplicate 1 fruit and reorder their index with a function;
dup... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Irresolvable ModuleNotFoundError The problem should be resolved easily but after many hours I still cannot manage to make it work.
I simply try to use code from a gitLab project ( https://gitlab.iit.it/fellin-public/cite-on ) for biological imaging.
I first download and unzip the project in a new folder.
Open anacon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring app container cannot communicate with mysql container Im trying to use docker-compose to run 2 containers of 2 existing images ( SQL image with a database built in already & spring app container containing a jar file ) , but somehow i couldn't manage to make them communicate .these are the screenshots :
error... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Windows 11 Microsoft Edge Bookmarks Location I am wanting to create a PowerShell script that will run on a Task Scheduler schedule to back up my Windows 11 Microsoft Edge bookmarks. All the references I can find say that the location of the bookmark file is in C:\Users<Username>\AppData\Local\Microsoft\Edge\User Dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to do a simple calculation in an DAX AVERAGE function? My goal was a simple calculation inside my AVERAGE Statement in PowerBi. The value Einheitsvalue can range from 1 to 5 and I wanted to subtract it from 6 ( 6 - Einheitsvalue ) to get a inverse value.
In my PowerBi Statement it looked something like that.
AV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Retrieve Subject Name From Firebase I am trying to retrieve data from realtime database, but it doesn't work since I cannot call the section name.
Here's the Realtime Database Structure
I'm trying to retrieve the subject name.
database = FirebaseDatabase.getInstance();
dbref = database.getReference("Sections... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQS Source connector not producing message in JSON format I'm using Kafka SQS Source connector which consume message from AWS SQS Queue and publish messages to Kafka topic. All my messages are in JSON format but SQS source connector publish message in a different format. For example below:
Struct{ApproximateFirstRec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: define name on the cell in the same row, where the other cell is selected I want to create an entirely new workbook from my existing file with a robust list.
I've managed to create a new workbook with its sheets, but I really want to generate the custom workbook name based on the other cell in the row, where my cell... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How count the number of observations based on condition and grouped by My dataset is such:
structure(list(NUMERO = structure(c(22, 22, 22, 23, 23, 23, 24,
24, 25, 25, 25, 25, 26, 27, 28, 28, 28, 29, 29, 29), format.stata = "%12.0g"),
edat = c(51, 17, 14, 44, 36, 3, 67, 63, 35, 48, 17, 13, 73,
67, 73, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do i convert to ascii in RUST How do i convert a string, str or char to ascii
fn main() {
let key:String = String::from("A");
println!("{:?}",key.to_ascii_lowercase());
}
i was expecting the ascii representation of 'A' which is 65
A: I believe, what OP was asking, is how to get ASCII code representatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: engaged_session_event and session_engaged parameters in GA4 Raw Data I am trying to figure out exactly how engaged sessions are calculated in Google Analytics 4. So far I can clearly see that when the event is logged with the session_engaged parameter equal to 1, the session is considered engaged.
However, all of o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Tensorflow Getting summation over coherent pairs The problem I have using tensorflow is as follows:
For one tensor X with dims n X m
X = [[x11,x12...,x1m],[x21,x22...,x2m],...[xn1,xn2...,xnm]]
I want to get an n X 1 tensor which is the summation of coherent pairs, that is:
Each component of the n X 1 tensor is the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: error in django URLconf, I can't start the local server, an error pops up in the screenshot enter image description here
I have a ready-made html template with css. It seems to have done everything correctly, but it does not work.
project location C:\Projects\brew\brewtopia
location of the application C:\Projects\br... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What am I missing in the configuration of JWT which isnΒ΄t working in Quarkus IΒ΄m implementing JWT in my project and I followed the steps of the official web page of quarkus: https://es.quarkus.io/guides/security-jwt.
The problem is that server doesnΒ΄t authorized my JWT generated and I donΒ΄t know why.
I create the co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Requet to hasura with apollo client and NextAuth I'm trying send get data from Hasura with apollo client and the token of NextAuth but I cannot and I got the error message.
"Could not verify JWT: JWSError (CompactDecodeError Invalid number of parts: Expected 3 parts; got 5)"
I've checked some articles but I haven't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using Mockk to mock out a singleton object to ignore Auth journey I am using Mockk and I have the need to intercept when an API client is being created.
The API client does a bunch of REST stuff that I don't want to happen inside of its constructor. I have tried a bunch of things but can't seem to find a way to not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create Powershell arraylist inside a loop Want to create a Powershell 'ArrayList' inside a loop, array name is read from a csv.
This works,
$TestServers = "TestServers"
New-Variable -Name "Array_$($TestServers)" -Value @()
(Get-Variable -Name "Array_$($TestServers)")
Same way (or a different method) how can I creat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Git, BitBucket, SourceTree: how to not update an open Pull Request on another branch when pushing to your own branch in remote? I am not a big expert in working with git, only a general understanding of how it works.
Problem: When I open a pull request on another branch (from my remote branch to another), when I'm a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to add a search domain to an existing search filter in Odoo? I added a new title field to a Sales Order.
Now I want to also be able to search by that field in the sales order list view.
If I run the following code, it works, but it seems like an overkill:
<record id="view_sales_order_filter_inherit_sale" model="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why can't I justify-content: space-between or space-evenly on this? I'm confused I'm trying to evenly space out this one, its basically like a card layout. I'm confused as to why its not spacing despite doing justify-content: space-between or space-evenly. I wanted the "Others" to be evenly spaced.
Here is my JSX
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Cast issue, not presenting permission window I've added this into my info.plist file:
<key>NSBonjourServices</key>
<array>
<string>_googlecast._tcp</string>
<string>_4GGQVVZPNW._googlecast._tcp</string>
</array>
<key>NSLocalNetworkUsageDescription</key>
<string>${PRODUCT_N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using C-style arrays in std::vector - MSVC bug? I'm currently trying to get a legacy codebase to build under C++20, and I encountered something like this:
size_t someCount; // value comes from somewhere else
β¦
std::vector<const char *[2]> keyValues(someCount);
I can't trivially change this to something like std::ve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Why is Svelte not re-triggering a function and/or rerendering when some variable changes? I'm relatively new to Svelte and I understand some basic concepts. I know that it's reactive on assignment. But I can't seem to figure out why exactly this doesn't work. Here's a little demo snippet which is a feature of a much... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: minimum-stability issue when trying to install package I created a package and in that composer.json file I do not declare minimum-stability and therefor defaults to stable.
In another project I want to install this package with composer require --dev my/package. The composer.json in this file also has no minimum-st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Could not find the correct Provider above this BlocBuilder Widget I have a blocBuilder inside a seperated file but it not working because it cannot find the provider..
I think the problem from the showDialog context I tried to give it all possible context but still I cant solve it..need some help
First I defined the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Solidity Payable functions how does it work? function buy(uint256 id) public payable returns(uint256) {
require(msg.value >= listPrice[id], "Insufficient Bid");
bytes memory payload = abi.encodeWithSignature("transfer(uint256,address)", id, msg.sender);
(bool success,) = address(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Send email from MS 365 shared mailbox with PHP I would like to be able to send email from a MS 365 shared mailbox using PHP. Specifically I am using PHPMailer.
Shared Mailboxes do not have user credentials to login so I am thinking perhaps this is not possible. In which case, are there any suggested workarounds?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75558459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: calculate MSE for images in autoencoder model I am fitting an autoencoder model to my image data for anomaly detection.in order to define the threshold for anomaly flags i want to see the distribution of MSE values for my training set.
the code below read the training set images and preprocess them
datagen = ImageDa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simplest pybind11 example I am trying to create a minimalist example for pybind11. I am looking at the example from pybind11_docu
under "Creating bindings for a simple function", there is some code that I am trying to get to compile (I added a main function, so that I don't get a missing entry point compile error):
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Performance problem using virtualbox on asus strix g15 windows11 I am using virtualbox on an asusstrix g15, the operating system is windows 11, I am experiencing performance problems within the virtual machine, even with light distributions and with resources for the virtual machine of 8 cores and 8 ram, also the me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use a generic const value in a function with TypeScript? In TypeScript, this is perfectly legal :
function getFoo<P = "a"|"b">():string {
// P is a type, not a value!
return "foo";
}
getFoo<"a>">(); // no errors!
Is there a use case for this and, if so, how to use the P type inside that function, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Windows Cmd: How to terminate parent process without terminating its child processes I want to kill an process without terminating child processes.
Scenario: My process(process1) is launching another process(process2) to do some work.
In the flow I need to restart(terminate and start) the process1 but process2 shoul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JavaScript - Cannot get 2 arrays combined in 1 empty array using a nested loop I am new here and I am also just been coding for a few months. I am stuck with an example of testing a nested loop and I cannot get this solved.
I am trying to get 2 arrays with strings to be added to an empty array. I know how to do this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can a range name be used as a pivot table field? I have a dynamic range name for my pivot table. One of the field's header names is calculated and can change. Is there a way for the pivot table to use that field even when the header name changes? I was thinking if it was a range name that might work. Or, it is i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hibernate manyToMany with extra columns I have trouble with Hibernate and manyToMany relationship with extra-columns, below my code:
@Entity
public class TransactionEntity extends AbstractBaseEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long transactionId;
/* some fields*/
@... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to handle Quick Switcher events in Obsidian API? I making a plugin for Obsidian that will need the possibility to edit suggestions in Quick Switcher. (P.S. Quick switcher is a modal window to quickly search and select files.)
Is there any event handler for Quick Switcher or alternative for it? Or i can make it w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is my Python OpenCV video output in grayscale, even though I have color overlays? Background: my goal is to learn OpenCV and practice with barcode detection/decoding to make a barcode matching system using 2 cameras, or camera and barcode scanner.
I have an older industrial camera (IDS Ueye UI221) that I'm tinke... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Having trouble with live streaming stock chart I am trying to create a little trading simulator for my classroom but I'm pretty new to anychart.
I have a database of historical FOREX prices and I'd like to pull from that to create an initial chart up to a certain date/time and then pull from future quotes to simulat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: warning in tbl_uvregression: glm.fit: fitted probabilities numerically 0 or 1 occurred In my dataset I have numerous variables, either categorical (0/1) or continuous. I am trying to use the tbl_uvregression(method = glm) function to test my categorical outcomes (after I tested the continuous variables with the lm m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use Pythonnet in C# app deployment? It still requires python to be locally installed on any user machine Background
I was looking for something like IronPython for my C# app, but supporting numpy packages. I decided to give a try to Pythonnet. Everything works fine as long as I'm on my machine with Python ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Failed to connect to raw.githubusercontent.com Whenever i run ant command in terminal.
curl: (7) Failed to connect to raw.githubusercontent.com port 443 after 94 ms: Couldn't connect to server
I keep getting this error. Please help. Iβm new to this.
I already tried adding DNS 8.8.8.8. Nothing changed. Also VPN is di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "gam print aliases 2>$null" not Showing All Aliases I need to list all aliases in my domain (groups and users aliases) using Google GAM and I'm using the command below:
gam print aliases 2>$null
However, it's not bringing me an alias (l.suporte@domain.com) from a group that I can see through the command:
gam info g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Managing state outside of React I am using React for one part of a larger application. I want to manage state outside of React, but I still want my React components to update when said state changes.
How can I implement that?
Here's what I currently do. The React component is responsible for display only and it sub... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Kubernetes pods are in pending stage I am facing an issue about k8s pod is pending
Please someone help :
enter image description here
#Trying to fix taint issue for omit pending stage
enter image description here
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75558487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: FCM Notification receiving for Flutter I'm still trying to figure out how receiving FCM works for Flutter application. According to this article I need to register a listener for a foreground notifications and background notifications. So in main.dart I have following functions:
void main() async {
WidgetsFlutterB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React Native group of routes, DRY? In my react-native app I have a root stack that depending of user status will show different screens, thing is many of the screens are still the same so I was wondering if there is a way to group all these routes into a single container so I don't repeat myself:
{ !root.mapStore.is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Json converting json array object to json object I have json with below structure. I want to remove the array and make that a object as there will be only one element in that array. What is the best way to do this. I don't want to hardcode any node other than students and student node in the code
Input JSON
{
"stu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The command i tried implementing won't work for some reason. Is there anyway to fix this? (discord.py) I asked for some help to create a command script in which the discord bot would reply to the command with a sentence and randomized percentile.
This is the script given to me in question:
import discord
from discor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get the number of count which lies between in range We have one column which has integer values., and I have some ranges as list of tuples[(0,100), (100,200),....].
I have to get how many elements are present in 0 to 100, 100 to 200 in pyspark with or without Window function.
Example:
Input:
1
10
101
150
200... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: tomcat server does not start when I try to start my Tomcat server I have this error : The archive: /Server/tools/apache-tomcat-9.0.65/bin/bootstrap.jar which is referenced by the classpath, does not exist.but there is the file in the folder
I tried to launch eclipse as administrator and to disable the firewall
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75558496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: springDoc not generating correctly for HttpStatus.NO_CONTENT Any help or hint would be greatly appreciated it!!
I have a java code that return "ResponseEntity(HttpStatus.NO_CONTENT)". The "springdoc-openapi-starter-webmvc-ui" is generating the below response for "204". Is this correct?
[enter image description here]... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot make scrolling text in Pygame I'm new to Pygame (and Python in general). I wanted to recreate the boot sequence of the Nostromo computer from the first Alien (1979) movie using Pygame, with all the cool retrofuturistic sounds and stuff.
The unfortunate problem is with the sequence where there are five columns... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recording audio in the background I am creating an application for sound recording. Everything works, but only when the app is active, and when I minimize the recording immediately stops on the iPhone. I use Audio Expo. If someone needs to do something so that the recording does not stop, I will be very grateful
app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Invalid cookie header: Invalid 'expires' attribute I am using a standard RestTemplate of Spring boot 2.6.7, which corresponds to org.apache.httpcomponents -> httpclient -> 4.5.13.
Calling one public API causes some warnings to be present in the logs. The logger appears to be from httpclient from apache:
org.apache.h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error in update-database with EF Core in Package Manager Console I create a database with EF Core in ASP.NET Core 5 that involves four tables such as User, Role, UserinRole and Category. That is working properly.
Now I want to add a Product table with columns Productimage and FeatureProduct with add-migration comman... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Cannot use POST and PUT request at the same time I am trying to POST and UPDATE a new user using django forms.
I have this function in my views.py beforehand and the POST request is working alright but then I realised I couldn't update:
def user_form(request, id=0):
if request.method == "GET":
if id == 0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OR-Tools CVRP with delivery and collection of goods at same location I want to model a CVRP with reloads where goods are shipped from the depot to a location, and other goods are collected at that same location and brought back to the depot. Vehicles have a maximum capacity (e.g. 30 pallets). Sometimes a vehicle pic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get historical followers count in instagram using facebook api? I am trying to get daily number of total followers using the facebook api, however it is only returning number of new followers at that current day. I look into the documentation however do not find it. Can somebody help me? Currently my code is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handling of stop words in simple_query_string query in Elasticsearch I have the following mapping:
PUT idx_test
{
"settings": {
"analysis": {
"filter": {
"en_stop_filter": {
"type": "stop",
"stopwords": "_english_"
},
"en_stem_filter": {
"name": "mini... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I get a dereference of a possibly null reference in a method returning Task? And calling a method returning Task? The following code throws an error
Dereference of possibly null reference
at the line with the comment:
using System.Security.Cryptography.X509Certificates;
public class LowLevelClass
{
public as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I add a CASE expression in mikro-orm querybuilder? I need to translate this sentence
SELECT "si".*,
(CASE
WHEN sip_mapping.sip_identity_id IS NOT NULL THEN 'false' ELSE 'true'
END) AS available
to mikro-orm querybuilder but I can't find the way to do it.
Is there a way to add a n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Problem with Dependencies "Analyzers" in Visual Studio I have this problem with Visual Studio, I tried to uninstall Visual Studio and install it again but it doesn't work.
From what I see, the route of the "analyzers" is not the correct one, if someone knows how to solve it, I would appreciate it.
Visual Studio
I t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to receive RefObject in "IntersectionObserver" Showing multiple videos.
I was able to get the currently displayed video with "IntersectionObserver".
At this time, I was able to get the currently displayed "Element" with the "entry.target" code, but I don't know how to receive "RefObject" and the "content" of the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sveltekit build has no images I am building a simple web app with sveltekit. So far its a simple landing page that displays hard-coded html content. Nothing dynamic yet. I have it set up with my github and digital ocean accounts so that I can start building and improving updates as I go.
My issue is, when I run a bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I fill in values of a column based on multiple columns in R? I am trying to fill the values of a column based on multiple other columns and I am confused on how to approach this. Here is a example of the data frame I am working with. Each row represents a person. The women_line column is the index for the wom... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: dj_rest_auth (jwt) refresh token is empty when login - django rest framework im having a trouble with dj_rest_auth jwt package. when i signup for a new account it gives me both access token and refresh token in response, but when i try to login with credentials, all i get is access token, and refresh token is entire... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "Value out of range: overflow" error when executing SQL query on Postgresql I'm experiencing an issue with executing an SQL query for an internal CTF lab that's giving me the "value out of range: overflow" error.
The query is this :
update users set active = true where id = INJECTION
My objective is to trigger and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When I decorate a python function, VS Code shows the function's help, instead of the wrapper's , when hovered This question was raised some time ago: When I decorate a python function, VS Code shows the wrapper's help, instead of the function's , when hovered
Apparently it was fixed by PyLace. I have now the opposit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VScode - Unable to load schema for package.json So I was working on a project and today I saw an error about VScode being unable to resolve package.json schema:
CSS contributions to package.json
Problems loading reference
'vscode://schemas/settings/configurationDefaults': Unable to load
schema from 'vscode://schema... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the difference between HTMLDivElement and HTMLElement (except for the inheritance relationship)? I read HTMLDivElement - Web APIs | MDN and it seems that HTMLDivElement introduces nothing new.
But <div> would be rendered as a block while the autonomous element created from HTMLElement would be rendered as an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problems with Vue.js $ interpolation I am new to Vue.JS and not that expert with Javascript. I am watching a tutorial which is using Vue 2, asap i will switch to the v3. I have problems to replicate a simple code. Here the code:
var app = new Vue({ el: "#app", data: { name: "Mike" }, methods: { getFullName() { retur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |