text string | meta dict |
|---|---|
Q: How can I save a given project as template in Visual Studio 2022 community I have a C# Razor pages app in a tabbed container page. I want to save this project as a template. How do I go about doing that in Visual Studio 2022 Community edition?
A: See Microsoft docs Create project templates
On the last page, provide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can you set a string array to an enum via config? In .net core configuration you cap use config options, which maps a section in the config to an object. For Kestrel this seems to happen automatically. The bit I'm interested particularly is the 'SslProtocols' where you can state the protocols required in a strin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: compute mssql password_hash with php? i want to calculate a mssql password_hash with php
i suspect the problem is the hex format of the salt
i have tried all possible combinations of mb_convert_encoding (§password,"UTF-16"), bin2hex and hex2bin without success
can someone please give me a hint
my mssql server is a n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get data from db placed on k8s? I want to get data from Magento 2 placed on Kubernetes.
In order to Sql ExecuteQuery i need frends
Where i can take myServerAddress ?
What should I take into account for such a connection ?
I have no idea how to do it, so maybe someone have such experience and share information... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Chromium extreme compilation time difference when using a custom clang binary I compiled chromium's base_unittests benchmark using the clang binary shipped with the project and the compilation took only a few minutes. But when I use a custom clang binary, by setting args.gn as instructed here, although the benchmark... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Line 21, in image_id = annotation['image_id'] TypeError: string indices must be integers, not 'str' import json
import numpy as np
from PIL import Image
from keras.models import Sequential
from keras.layers import Dense, Dropout, Flatten, Conv2D, MaxPooling2D
with open('deepscores_train.json', 'r') as f:
trai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Repainting on candles that have a stop and then opposite entry I have a strategy in tradingview that takes long and short entries with stops. I am having a problem where it repaints but seemingly only on candles that there is a stop loss and then another entry on the same candle. are there any general reason why thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python: remove duplicate in json from 2 key value I have a json file organised like the following one and I would like to delete all duplicated from 2 key pairs element
[{'name': 'anna', 'city': 'paris','code': '5'},
{'name': 'anna', 'city': 'paris','code': '2'},
{'name': 'henry', 'city': 'london','code': '1'},
{'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AuthorizedKeysCommand without root possible for testing/development? I'm trying to develop a script for the SSH daemon's authorized_keys (command) in user-land and finding that AuthorizedKeysCommand seems to only allow execution of something with root access - making it a bit tough to develop a script if I'm constan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I prevent Xcode from suggesting unavailable methods? In Xcode 14.2 I frequently get autocomplete suggestions for unavailable methods. As an example, when I'm working on my current project with a minimum deployment target of iOS 14, I get the following suggestion:
In this menu, it's not clear that the minimum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: azure webapp app settings slow to appear in webapp I'm deploying a web app using terraform, this has some app configuration settings. Some of the settings are static, others are key vault references. Once this is deployed I'm using source control to deploy and build a small application.
Once the app is running, the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get user's attribute in spring boot with keycloak I want to keep user's custom properties in keycloak. I made some example attribute 'birthday' in keycloak, mapped there in client and get it in spring application:
private HashMap <String, Object> getUserCloakAttributes() {
HashMap <String, Object> result ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to dynamically change the location of plotly.js annotations on ternary plots when the figure size is changed? I originally made this same ternary scatter plot using Plotly for Python, and the annotations I added to that automatically change their positions relative to the figure size when the figure s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629712",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: (APL) About the power and circle functions Why does *○0j1 outputs -1 but *(○0j1) doesn’t? (¯1j1e¯16)
What is the difference between them?
Expected *(○0j1) to output the same thing as *○0j1
A: Assuming this is Dyalog APL, then it's because *○0j1 is recognised as an idiom and the exact expected result is returned rat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to convert the spotify track id in the Music Streaming Sessions Dataset to the common track id in Spotify API? In the Music Streaming Sessions Dataset (MSSD), a partial update and expansion of the Million Song
Dataset (MSD), we can get the music track id like t_aae12819-de17-4dd3-97b0-cad4dd7b9a56, however it's ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using PipedStream to upload file to SharePoint using Java Graph SDK causes Error "The Content-Range header is missing or malformed" As the title said, i'm trying to upload a vast generated in-memory file to SharePoint. To save memory, I try to use PipedStream to upload it but I have an exception with that cause:
com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Class A have 3 method , class B have 2 method ,classB inherited class A , how do you call method of class A by creating object of classB? Class A have 3 method , class B have 2 method , classB inherited classA , how do you call method of class A by creating object of class B
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75629719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Data Studio - Calculating percentages by group I have a table with two columns: Population and Answer. Answer takes three values: Yes, No and Not Sure. Population can take two values: Treatment and Control. I need to build a bar chart that compares treatment and control AS A PERCENTAGE of the total counts of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: AWS Linux EC2 run systemctl service in mounted nvme instance store drive A systemctl service that runs on an ec2 instance during startup should load an environment file and execute a script.sh file but fails with multiple AVC denied errors related to the service and files. The script.sh, app.env file, systemctl serv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Excel, SUM across all sheets not including last sheet when adding new row I have a simple SUM which adds up a specific cell from all 12 sheets (12 months) ranging from April 2023-March 2024
This works fine, but when I add a new line it only adds the SUM of 11 months, not 12. But some columns includes all 12??
My for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the most performant and non-repetitive way to instantiate 20+ child classes when all classes have 2 of the same constructors I have a structure where an Abstract Base Class, let's call it Animal Inherits from the interface IAnimal. It has two constructors one to create a new animal in memory and one to read o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629727",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find the closest pair of points within a vector? I have to write a program that inputs pairs of points from the user and finds the closest neighbor to each point, using the distance formula.
From the instructions I've been given, I must edit only the main() function and add a nested loop to compare each point... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Illegal invocation at elementClosest fullcalendar v4.3.1 I'm using fullcalendar library v4.3.1 inside a Salesforce LWC. All was working good in sandbox until I clicked inside an event and I get the following error:
aura_prod.js:999 Uncaught TypeError: Illegal invocation
throws at https://mybts--partial.sandbox.my.si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jfrog cli password is not validating. Credentials work with curl On Windows using jf.exe / arifactory . When I enter userid/password they fail to validate. If I enter the same credentials using curl it works.
The password has characters like: ?,%,/,!
Using jf.exe version 2.34.6
User / Password entered using "jf ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: explode spark column containing list of dict in str format How to convert this streaming dataframe in pyspark,
+--------------------+------+----------------------------------------------+
| timestamp|offset|stringdecode(value, UTF-8) |
+--------------------+------+-----------------------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The app is asking for consent twice in "app calls api" scenario I'm using two app registrations and implement the "expose an api" scenario. My CLIENT_APP is an angular application using msal-angular library. My SERVER_APP is a .NET server that's using "Expose an API" feature and defines a scope. It also lists CLIENT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Easy way to pass multiple className override props with styled-components I'm trying to see if there is a good way to do the following:
I've got a component which has multiple className override props, e.g., className, containerClassName, submitButtonClassName, etc. What's the best way to wrap that component like st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Automate Photoshop Cropping with JS I am using photoshop to automate the cropping of images. From my understanding, it can use scripts to do what I want. I need a JS script to do that and I have no experience. I need to automate the cropping of the SAME image into multiple formats, each saving its own file. Cropping... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Sorting issues by creation date in GraphQL from GitHub does not work query MyQuery {
repository(name: "dbeaver", owner: "dbeaver") {
issues(first: 100, filterBy: {labels: "bug", createdBy: "2022-01-01..*"}) {
edges {
node {
createdAt
labels(first: 100) {
edges {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting up an old application yarn got stuck I'm running an sh script and as part of it is using yarn to pull Angular,js packages:
rm -f yarn.lock
rm -rf node_modules
rm -rf web/statecharts
rm -rf release
rm -f fusion-*.deb
rm -f checksumFileList
make -C web clean
make[1]: Entering directory '/home/vagrant/fusion-bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Webpack: enabling terser property minification breaks dev server I've migrated my project to WebPack 5 and I'm struggling with following issue:
anytime I try to enable Terser property mangling I'm getting an error
config portion:
// isInvokedInDevServer is true if compiles using dev server
optimization: {
minimi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: do need I need to exlicitly disconnect to socket server when component unmounts? useEffect(() => {
socket.current = io(process.env.REACT_APP_SOCKET_22_URL);
socket.current.emit("register-socket", user_id);
socket.current.on("msg-received", (msg) => {
run_if_mounted(set_re_msg, msg);
});
soc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to convert date string which contains time offset to another format? I'm receiving this kind of string as date "2020-09-09T12:41:41 -04:00".
It seems like this string contains time offset.
I need to convert this to "3/15/2020, 1:23:09 PM " format.
How can I achieve this?
I tried to create new Date object with th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Hi, I am trying to attach a route table to my custom vpc, but getting an error enter image description hereI am deploying the below in stages, all has worked so far up until the route table block. I am very new to terraform and literally trying to replicate something I deployed manually in the console.
The line abov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CustomExceptionMapper only for a specific API Rest with Jersey My application has many different API REST build with Jersey 2.34. All the url starts with "/api/" following by the service's name, for example: /api/foo, /api/bar, etc.
In my web.xml, the servlet is declared:
<servlet>
<servlet-name>jersey-serlve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to stretch a portion of an image with flutter? I am new to flutter, and I want to achieve stretching a portion of an image.
For example, stretching the edges of a mouth vertically to create a "thicker" lip effect or stretching it horizontally to make a bigger smile effect. Additionally, I would hope t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React fails to add the same item to the list after removing it I have a hook array that can add items when clicking and selecting which one you want from a select list, and also remove on a button click but when I remove an item and try to add it right after, it is not added to the list but if I add another item and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure Devops Rest API - azure AD service principal I need to prepare automation for checking some Azure Devops object details like: list of az devops projects, list of projects, details about pipelines etc. I have powershell code prepared, I have SPN created in Azure AD, I grant API permissions for SPN (Azure Devops... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .net Combining lists without a common ID Using .net/c#
I have two lists that need to be combined, one list has depths and the other list has lengths starting from the top. Both lists have many other parameters which i also need to combine into this new list. The lengths and depths do not match up.
The list needs to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Symfony\Component\ErrorHandler\Error\FatalError Allowed memory size of 536870912 bytes exhausted (tried to allocate 282828416 bytes) I am trying to query a bunch of records from my database in a laravel api call and then concatenate parsed model properties to a string. That string will be used in a csv file.
However... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: golang yaml marshal url I'm trying to work with configuration files which have url fields and I would like to marshal and unmarshal this type.
The documentation point that I can do a custom marshal function.
In this golang playground you can see that the custom unmarshal function works fine but not the custom marsha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Trubo Rails appends content to outside of the body originally based on:
https://github.com/heartcombo/devise/issues/5564
My Turbo Rails 7 app appears to respond correctly but appends content to outside of the body, leaving the rest of the body in place:
Start the server with ./bin/dev
Go to http://127.0.0.1:3000/use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android game reverse http request body I'm trying to reverse requests that are made to an android game to learn more about how it works.
I was able to find endpoints requests that are made with frida and mitmproxy but now I'm stuck because the body of requests looks like encoded and I don't know what to do next.
Exa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React SVG import - wrong SVG is displayed I import three SVG's as:
import {ReactComponent as Logo1} from '../../assets/logo_1.svg';
import {ReactComponent as Logo2} from '../../assets/logo_2.svg';
import {ReactComponent as Logo3} from '../../assets/logo_3.svg';
The svgs are then used as:
<Stack direction="row" just... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: permitAll() still requiring login This is a very basic example of Spring Security filter chain but somehow it's not working, hitting /public still goes to login page.
I want to bypass the security on /public endpoint. Details below the code sections
@Configuration
public class SecurityConfig {
@Bean
publi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use name attribute inside a dynamically rendered radio button component inside a map function I want the radio button component inside every card to be completely independent. The issue i am facing is that I want to select one radio btn from the card per card. But When I select another one inside the same car... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can this JSON be turned into a std::map? Sample JSON:
[
{
"Hex": "#F0F8FF",
"Colour": "AliceBlue"
},
{
"Hex": "#FAEBD7",
"Colour": "AntiqueWhite"
},
{
"Hex": "#00FFFF",
"Colour": "Aqua"
},
{
"Hex": "#7FFFD4",
"Colour": "Aquamarine"
},
{
"Hex": "#F0FFFF",
"Colour": "Azure"
},
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Conditional jittering / if else statements in ggplot2 throwing errors First ever question so sorry if I don't get the formatting correct.
PROBLEM
Hi everyone, I am having some trouble overcoming this error. I am trying to conditionally jitter points and error bars in ggplot2. The MeVtrue variable is a column with on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Finding value from a third column based on specific row criteria of 2 other columns In the example provided below, based on conditions that will filter out rows on two columns, I want to filter them out again to get the CacheUID (third column)
The code below will allow you to recreate the following resultset:
Ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does C++ Eigen require casting for matrix operations between different scalar type? For example, if A is a double matrix, B is int matrix.
A * B raises compiler error and it hast to be A.cast() * B or A * B.cast().
Why does eigen require this?
It could have followed double * int = double convention of C++.
Is th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: ylim does not fix error bars in base r plot How to make error bars stay inside base R plot?
Code:
par(mar=c(4, 5, 6, 4), xpd=TRUE)
cort_fig2 <- plot(x = c(1:8), y = c(cort_plot2$b1, cort_plot2$b2, cort_plot2$b3, cort_plot2$a3), xaxt = "n", col = c("blue", "red"), pch = 19,
xlab = "", ylab = "Cortis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to properly use the node function I am trying to use data.tree in R to visualize an equipment hierarchy. However, when I am running the as.node function I am getting an error.
I have run pathstring and then when attempting to run the as.node function I get the following error:
Error in [[<-.data.frame(*tmp*, pat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Different row sizes of the array of shap values and the dataset that generated the array I'm building an array of shap values with a dataset of 1565 rows, but the array produced has 612 rows. They are supposed to have the same number of lines, because an error occurs stating that a certain index does not exist in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Plotly GO Table adds x-axis/y-axis elements when adding annotation I have a function to return a GO Table. When adding an annotation to this table, it puts an x-axis and y-axis, populated with generic numbers. Not understanding why this would display with a table.
Expected behavior is that the caption would appear o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: @nuxtjs/supabase error with client when signing out of users in the same session I am using the useSupabaseClient() function to get the client based on docs and when I do this I can login and pull data from tables without any issues from rls. However when I use the sign out function and then sign into another accoun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fixing the position of the child in relation to the mother I have a mini cart, the counter also shows the number of products added to the shopping cart :
When the number of products added to the shopping cart is, for example, 1000, The counter tilts to the right :
I want the counter to be fixed from the right, Rat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Express nodemailer not sending due to SSL error triggering unexpected expreshion When register a new user or resending confirmation email, my server crashes
My send email function starting getting a bad response. It say SSL and i have little clue about these things. But i spent ages testing this thing when i first b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you create a window in c++ for mac? So my question is simple: how do you create a window in C++ for Mac? I've seen many tutorials doing this for Windows, but none for a Mac. I am very new to C++ and don't know what many things mean. I hope this comment makes sense and that someone out there knows how to do it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: TypeError: 'decimal.Decimal' object cannot be interpreted as an integer I am running this code to convert the sample_time variables to datetime. However, I am receiving this error: TypeError: 'decimal.Decimal' object cannot be interpreted as an integer.
How can I rectify this without changing my python version to an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: After resolving conflicts, is it possible to continue a rebase without committing yet? Do we need to commit the changes after resolving conflict during git rebase command? I am asking this because I do not want to commit yet because there can be a situation of more conflicts in later commits with git rebase --contin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How, exactly, do you (manually) set the constraints for contentLayoutGuide. (And how do you remove any "existing" ones - are there any?) In some unusual cases, in a UIScrollView,
var scroll UIScrollView
you want to manually set (we could say override, force) the scroll.contentSize value.
This is problematic, becaus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: signed fractional multiplication using q(4,20) I am doing a simple test to understand signed fractional multiplication in ordinary format
and in Q(4,20) format (https://en.wikipedia.org/wiki/Q_(number_format)). I am using the fxpmath library (https://github.com/francof2a/fxpmath) to achieve the Q(4,20) conversion.
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Application on Ubuntu Looking for .net Runtimes in Different Places I am on Ubuntu using VS Code to write an AWS lambda function and debugging it with the AWS Mock Lambda tool.
When I run 'dotnet --info' I see this:
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.32 [/usr/share/dotnet/shared/Microsoft.A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you spy on structuredClone() using Jest? I want to spy on the structuredClone method and mock its implementation because when running Jest tests, I get this error:
ReferenceError: structuredClone is not defined
I've tried both spying and mocking as below, but I got errors with both.
jest
.spyOn(global, 's... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How should I get the add assign trait to work for a vector within a struct? New to rust. Would like to understand why this issue is occuring and how to fix. I don't think I can change the signature for the implementation of the trait method either which makes this more harder to fix.
use std::ops::{AddAssign};
pub ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to build model for colour part enter image description here
I don't know why there is na in summary. Is it because of the data? The colors represent each color from 0 to 6.
library(DALEX)
library(iBreakDown)
library(nnet)
library(questionr)
library(MASS)
data1 <- read.csv("combination.csv", header = T)
data2 <- ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Entity Framework tries to add entity that already exists, but hasn't been updated sorry but I hope someone can help!
My NewStarter Model ('Item' is just a model that contains 'ID'):
public class NewStarter : Item
{
public int Id { get; set; }
public string Name { get; set; } = "";
pub... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I get whole issues for xml string? I am trying to check a malformed XML string .
I created a XmlReader around a StringReader with the XML and read through the reader:
using (var reader = XmlReader.Create(something))
while(reader.Read())
;
If you don't get any exceptions, the XML is well-formed. But I have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Undefined nested values in an non-empty object in Reactjs I started react recently and work with it on a new app, using Msal auth.
I created a context to keep the user informations updated and use them wherever I need. It's working perfectly until I refresh the page.
The issue is : I have my object with all informat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to set the domain from to the sum of a field to the sum of another field? I would like to calculate the sum of "SUM A" to set this as minimum scale
value for all "X" axis.
And the sum of "SUM B" to set als maximum scale for all "X" axis.
I can´t get my head around how to calculate the sum of the rows and use the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Writing Dataframes to disk periodically instead of infinitely growing memory usage I'm collecting a bunch of data from an ever increasing pool of sites in dataframes, processing that data, combining it and ultimately saving it to disk.
This has worked well so far but I'm now coming to the end of my server's memory c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extremely slow performance of cv2.groupRectangles after cv2.matchTemplate (Darwin, M1 Pro) I am following a tutorial on Open CV and trying to rewrite the following code to work with macOS (Darwin, macOS running on an M1 Pro MackBook Pro): https://github.com/learncodebygaming/opencv_tutorials/tree/master/005_real_tim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Pandas Average If Across Multiple Columns In pandas, I'd like to calculate the average age and weight for people playing each sport. I know I can loop, but was wondering what the most efficient way is.
df = pd.DataFrame([
[0, 1, 0, 30, 150],
[1, 1, 1, 25, 200],
[1, 0, 0, 20, 175]
], columns=[
"Plays ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: UIInterfaceOrientation not working on iPad iOS 16 Please help. I'm trying to build custom views for portrait and landscape orientation with different offsets of ui elements.
Will not use UIDevice.current.orientation as there is no way to disable .isFlat and not change the orientation when laying flat.
For UIInterfac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why this is not working, I have already installed sklearn. it is showing the error when I'm trying to execute it Why this is not working, I have already installed sklearn.
I'm trying to create api for a ML model but getting so many errors in doing so . if anyone has done this please help me out.
I am using POSTMAN f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Failed transaction while trying to add liquidity to curve Here is the code:
def supply_curve(token_name):
try:
RPC = "https://polygon-rpc.com"
web3 = Web3(Web3.HTTPProvider(RPC))
account = web3.eth.account.privateKeyToAccount(privatekey)
address_wallet = account.address
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get column values from a table with multiple where criteria such as areas I'm trying to loop through a selection of areas to get the column value of all records that meet the criteria in selected areas for example Durban;Johannesburg;Chartwell . I need to populate a datatable as the datasource of a listbox.
From my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to exclude Program files (86) folder with Powershell I seem to be able to exclude any map with powershell using the following command:
Get-ChildItem -Path $folder -Exclude windows,program files -Recurse |
where {$_.Attributes -match 'Directory'} |
ForEach-Object {$_.FullName} > $search_pro
not P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I'm getting error: cannot import name ‘WhisperProcessor’ when trying to run HF whisper example I’m trying to run this example:
openai/whisper-small
And getting the error:
ImportError: cannot import name ‘WhisperProcessor’ from ‘transformers’
Environment:
python = 3.8
torch = 1.13.1+cu117
torchaudio = 0.13.1+cu117
t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to check whether an agent is busy or idle via API request? I'm trying to create a "counter" that counts how many agents in a pool are busy and how many are idle.
I was trying to achieve this by using the following API call
https://dev.azure.com/{organization}/_apis/distributedtask/pools/{poolId}/agent... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React hook form separate form and buttons useFormContext I'm trying to create a generic popup in Chakra-UI, where I can pass in arbitrary forms, with the form in the modal body and the buttons in the modal footer. I have it all rendering fine, and not generating any errors; but I don't have it working. Neither the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to display file name instead of count missing keys I am trying to create an application that allows you to upload json files and then checks which file is missing a particular key.
The application works almost perfectly, but I have no idea how to indicate in which file specifically the key is missing, so it curr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: styles 404 in refresh I just made a configuration for spartacus 4.3 and everything went well, but it turns out that when I enter the first time I request the styles from this URL
https://localhost:4200/styles.css
The time I refresh it request them from this url
https://localhost:4200/electronics-spa/en/USD/styles.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: C# Prevent serialization of model property which I don't control I'd like to return the list of [ValidationFailure] from FluentValidation.Results as a JSON array, however, there are properties on the ValidationFailure object that I simply don't need to return and only complicate the response.
Does anyone know of a m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: functions which() and match() do not work on descending sequences I have come across an odd thing I can't explain:
I am trying to find indices of elements from one vector in another vector, and I can do this with which() or match():
test = seq(.1, 10, .1)
match(c(0.1, 0.2, 4, 7), test)
[1] 1 2 40 70
which(test %in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why use a superclass's __init__ to change it into a subclass? I'm working on replicating the SHAP package algorithm - an explainability algorithm for machine learning. I've been reading through the author's code, and I've come across a pattern I've never seen before.
The author has created a superclass called Explai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to fix Doctrine to postgres connection refused error i have installed postgres db on my mac machine with brew installer and tried to run doctrine:database:create command to create a database. But i am getting a connection failure
but the connection successful with dbeaver client.
An exception occurred in driver:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ModSecurity SecRule to block a request when it contains a given word in the REQUEST_URI or QUERY_STRING I created the following configMap for my NGINX ingress controller:
apiVersion: v1
data:
allow-snippet-annotations: "true"
enable-modsecurity: "true"
enable-owasp-modsecurity-crs: "true"
modsecurity-snippet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: [Blazor]Data binding is invalid when property values are modified inside an object I bind the name of Student to the input Tag.
If i change the value in the input tag, the data bind is OK, but when i use the "start" button to invoke student.start() to change the name, it not work as expected, the value of input not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to write this piece of java code in a polished way? I have a method named toEntry which returns the following -
private Model toEntry(Map.Entry<Request, Message> entry) {
final Request req = entry.getKey();
if ((req.contains("companyName")) {
return new Model.ErrorEntry(
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Vaadin cannot be built after version upgrade because of license issue I have a personnal project using Vaadin.
If I run a
mvn clean package
in 23.2.6, it works perfectly.
If I update the pom.xml to go to version 23.3.6, I have the following issue :
Execution default of goal com.vaadin:vaadin-maven-plugin:23.3.6:bui... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sequelize how to update records in foreign tables I have a these 3 tables:
Hotel
Filters
HotelFilters
I can add hotels, filters and the associated HotelFilters correctly like this:
// Create and Save a new Hotel
exports.create = async (req, res) => {
// Create a Hotel
const hotel = {
title: req.body... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to check which format is date in python I'm getting the date in a string and it's not always same format, is there a way to detect what format is that date for example:
If data comes like this 2023-12-03
I want to somehow get output like this "%Y-%m-%d", so I know which format is using. This is just an example f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Connection checking in React causes a hook order change I'm trying to setup a React app where a verification of the credentials is performed on each page. Around each page, I already had a wrapper that sets the title of the page, so I thought this might be the best place. This works well 90% of the time, but I recen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Assigning phases to stock prices in R I have an R dataframe that looks something like this:
Date
Price UP
Price Down
2023-01-01
NA
NA
2023-01-02
10
NA
2023-01-03
NA
NA
2023-01-04
NA
4
2023-01-05
NA
3
2023-01-06
10
NA
2023-01-07
NA
2
I tried using for loop to assign 'Phase numbers' every time ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using RESULT_SCAN() to retrieve multiple query results from inside a stored procedure I am using pyspark in Databricks on Azure to run queries against Snowflake. I have a stored procedure in Snowflake that runs many individual queries (creates, drops, updates, inserts, selects, etc).
I have a pyspark notebook in Dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to pull data from a .txt file to sql I need to pull data from a .txt file to my SQL Server into a table.
This file is constantly updating from 1 to X amount of times per day giving from 3 to 5 new rows depending on needs and txt file name changes every day example today txt name is: 2023-03-03. I'm going to use ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Meshlab Deviation analysis not colored? I have been trying to find a way to visualise the diffrence between two models I have made. I have imported them into meshlab, aligned them and then used the Hausdorff Distance filter to calculate the diffrences. However, there is no colour map once it is applied. I was wonder... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rust FFI return Vec to Python and free pointer I am new to Rust. I want to use Rust to speed up an existing Python program I made. I know that the data type is f64 and I know the array length. I want to return an array and then free it from memory.
What's the correct way to free a Vec<f64> pointer from memory?
This ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Table empty in Azure Synapse lake database but parquet files are present in the data lake I've been playing around with the lake databases in Azure Synapse and have been trying to export data from my dedicated SQL pool using CETAS method to the datalake then using a lake database to map/read the parquet files that w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75629879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |