text string | meta dict |
|---|---|
Q: How to find duplicated CSS code in a folder(with several css files)? i am looking for a solution to remove duplicated css from different css files a folder. I have found the following solution but this works in a single css file.
*Here are the steps to install and find the duplicated CSS classes:
*
*Go to extensio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I make my multipage marketplace (fake) site where I don't have to make another HTML, CSS, & JS in every "show product" page (e.g. 200 pages)? https://i.stack.imgur.com/em4FE.jpg
It's fine that I make different HTML, CSS, and JS for a few pages, like, for example, index.html (the home page), shop.html, locatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Arrayformula to index, match row values to the column title and an error checking row In this spreadsheet
Columns D and E reference the column “title” (row 2, J2:M2). If the respective value in row F is >0, the value in D is “Bank Account” and the value in E is the column title (J5:M5). (Vice-versa for E, negative i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to mask **some** of the previous tokens in causal language model training? I'm following this tutorial on training a causal language model from scratch. My dataset is a corpus of text:
my_dataset = ["some_text... _112_ some_text... _113_ some_text... _114_ some_text...", "some_text... _1423_ some_text... _1424_ ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a faster way to add users to a members group for a SharePoint site that you just created with a rest call? I am using the graph api and restful calls to do all sorts of things in SharePoint. One of the things I do is create a new site. That is relatively easy. I just call the "_api/SPSiteManager/create" end... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: django: NoReverseMatch at / When i'm trying to get into main dashboard it shows me this error:
NoReverseMatch at / Reverse for 'customer' not found. 'customer' is not a valid view function or pattern name.
customer was a class copied from previous project
main.html
</head>
<body>
{% include 'zatrudnienie/navbar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Howto get an OAuth token for azure EA when using the client credentials flow My goal is to create a web service which can be authenticated via OAuth token. The token must be provided by an Azure Enterprise Application via the OAuth Client Credentials flow.
I'm using the MSAL library for getting the token.
I did setu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OpenXml paragraph Numbering How to number and letter a paragraph in openxml docx.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75591696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding percentages by row to flextable columns Suppose I have a row of counts by multiple groups, and a row for the total across all groups. How can I add in a percentage by row within the same column using flextable?
For example, in this simple example, the column for setosa would read "45 (31%)":
library(dplyr)
li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python3 infinite list in list How do I do on python, List in list in list in list... Also I don't know how many list in list there will be. It should look like this:
def function(how_many_lists):
...
function(2)
#function output: [['hi']]
function(10)
#function output: [[[[[[[[[['hi']]]]]]]]]]
I have no clue h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: RISC-V function prologue 48-bit mystery shifts I am passing a 32-bit packed value to a function inside a sandbox, and then I am pretending it's a struct in the guest. All is well, but there are some mystery instructions in the prologue:
uint16_t stdCactusVisibility(Block src, Block dst, uint16_t facing)
{
// Onl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Typescript: Infer property type from another property type of a class I want infer a type from another class property type.
*
*if foo property is string 'x' the bar property type is interface X
*if foo property is string 'y' the bar property type is interface Y
*if foo property is string 'z' the bar property typ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Onclick listener object does not change when click | android So I have four buttons in a page and I want system randomly select one button at first and when user click on it, the system will randomly select another button again without duplicate until all the button has been clicked by user. But I don't know what i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SwiftUI DatePicker constraint conflict I am trying to add date picker to my app, but when I add it I get warning messages about constraints. And the message is:
2023-02-28 13:46:35.521600+0200 Warranty Safe[14957:3417410] [LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least one of the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using private dependencies with Codemagic I have a private repositories as Flutter packages in my app. Those packages are in bitbucket and codemagic fails to get them.
Warning: Permanently added 'bitbucket.org' (RSA) to the list of known hosts.
git@bitbucket.org: Permission denied (publickey).
fatal: Could not read ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to get data from about 10000 different tables(all having same schema ) in postgres efficiently how to get data from about 10000 different tables(all having same schema) in postgres efficiently.
(Moreover since I maintain a different table for every client that is why I have this much number of tables.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75591707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Compare and map the missing array of object values javascript I have two arrays, which look like this:
const arr1 = [{'id':'1' 'name':'name11'}, {'id':'3', 'name':'name13'}, {'id':'4', 'name':'name14'}];
const arr2 = [{'id':'1', 'name':'name1', 'phone' : 12345}, {'id':'2', 'name':'name2', 'phone' : 12345}, {'id':'3'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Add 2 different shape dataframes based on a value in column and aggregate another column I have a dataframe 1 and 2 like below -
df1
TransactionCode Region Discount Fruit Amount
5000 UK Y Red Apple 2
5000 UK N Red Apple 1
5000 US ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Fetching one decimal point data from database for multi languages not working For fetching one decimal point data from a database for multi-languages I am doing this
<td>{{ ___('cricket.overs', ['overs' => number_format($overs, 1)]) }}</td>
It should work but shows the output as just "Overs" not fetching data from ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to emit an event to uncheck a checkbox I am new to the $emit concept. I have tried something below but it is not working. When I press the button I want to emit an event to the SelectComponent to uncheck all checkboxes that are currently checked. How can I do this?
App.vue:
<button @click="$emit('UncheckCheckbox... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to retrieve Linkedin page posts usign its API in 2023 I have to embed the posts feed of a company in its website. I was going to use the API as it is mentioned here: Is it possible to get all Linkedin Profile Posts with Linkedin Api
However, I found out that they are shutting down this API today.
What alternati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to delete images in Firebase storage when update Firestore I want to delete the previous image stored in Firebase Storage when I updated Firestore.
User has her image in Firebase storage.
Firestore stores its url.
User
- id
- username
- image
First time when user register her image, she call COLLECTION_USERS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: react router dom v6 useNavigate not working with nested routes I'm trying to use useNavigate in one of my components but nothing happens and I have no errors.
I have a menu with subMenu so I got an error (nested a) because I have a Link in a Link.
So I'm trying to remove one Link and replace it with a navigate but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OpenCV countNonZero channels assertion I want to count how many pixels of a color image are equal to a specific color. I wrote a code similar to this:
cv::Mat image(100, 100, CV_8UC3);
cv::randu(image, cv::Scalar(0, 0, 0), cv::Scalar(255, 255, 255));
cv::Vec3b color(55, 30, 145);
std::cout << cv::countNonZer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I set up Dependabot to use ProGet Hopefully straight forward but strangely haven't been able to find the answer through a search. We are looking at setting up dependabot through Github to update dependencies for us. We use C# primarily & have libs in both NuGet & our own instance of ProGet. I can set the eco sys... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591727",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring Boot 3 + ADFS + oauth2 getting blank login page I was using Spring Boot 2.6.11 with adfs and my launch code was going correctly to index.html.
But, after upgrading to Spring Boot 3.x, my application is redirected to /login and page is coming blank i.e. no data / content is visible. I tried to adding my login... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why isn't the package declaration considered redundant? Numerous programming languages require each source code file to begin with a "package declaration", and in most cases, the package declaration is identical for all files in the same folder.
Taking Java as an example, the full package path is already implied fro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Why I can't place second pretrained model on second GPU with tensorflow? Im trying to achieve bigger batch size in my network (pretrained VGG16 + some dense layers) by splittling batch in half, process them both with pretrained VGG16 (from tf.keras.applications, both set to trainable=False), concat the results to "i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to format string to another format How to format from one input string to other
*
*Split at SPLIT_PART >> convert to SPLIT
*find the last split of the parenthesis
*extract first 2 arguments(page_url , ?)
*decrement thrid parameter by one and put into square bracket
*again iterate over it for the next paren... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How do I add a variable to my dataframe, that returns the most common value within a given year for each observation? I need to add a variable to my dataframe based on work status within a given month and year.
The work status can change for each person every month. Therefore, I want the workstatus that is present f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I Single sign on with Cognito without Hosted UI I'm thinking of using Cognito to SSO (if one is already logged in, the other will be authenticated without login), SPA on S3, web application on ALB + EC2, and these two applications.
I added each app client under the same user pool in Cognito.
The SPA provided... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ValueError: could not convert string to float: 'Male' SciKitLearn
I am unable to able to get the similarities by applying cosine similarity formula, instead I am getting a ValueError.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75591745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: VB.net - Add IP to textbox I'm working on a small project to retrieve info from computers and I was trying to figure out on how to retrieve IP info to a textbox. I've tried to call another Sub but it didn't work.
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.MouseClick
TextBox3.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Serialize type to an arbitrary string I've declared a struct TaxpayerIdentificationNumber, that contains private long and represents 13 digits.
I want to be able to serialize it into a mere string, that contains that private number (padded with zeros in front, but never mind it).
For example, we have DateTime, that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Change shape of a decision tree with tree.export_graphviz I want to change my decision tree boxes to circle or diamond with tree.export_graphviz but I can't. Is there any solotion for this?
Actully there is no solotion for this problem based on sklearn site.
sklearn.tree.export_graphviz involves:
sklearn.tree.export... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Any idea to have the jwt in spring boot grpc project Currently, I am using yidongnan/grpc-spring-boot-starter project to implement the grpc in spring-boot project.
Any idea to have the jwt in the grpc for authentication?
I have the following code, this only work when the client does not have the authentication.
Not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kubernetes - Azure Application Gateway Ingress Controller vs Ambassador I have a Kubernetes cluster (on-premise) with Ambassador. But now I am planning to move to Azure Kubernetes Service with Azure application gateway ingress controller.
With the Ambassador I can do the following things currently;
*
*Ingress rout... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Ansible Failed to update apt cache: unknown reason 17.111.111.111 - is Ubuntu 18.04 AWS EC2 instance.
Who faced this kind of error?
13:32:43 <17.111.111.111> ESTABLISH SSH CONNECTION FOR USER: ubuntu
13:32:43 <17.111.111.111> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
13:32:4... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Angular - how to block the action of changing the checkbox value visually and logically and change it only after the user confirms the alert I have a problem when using angular, I would like that when I click on a checkbox, it doesn't stay checked or change its value, and that only happens after the user confirms a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to implement Text Field select Click on the first one and then click on the second one if it is out of focus enter image description here
When I click the first one, I want to click the second one. At this time, the first one disappears, and the second one does not appear immediately. I have to click again. I wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: With Expo React Native, I want to display an interactive notification similar to the example in the offical docs? Within the offical documentation(https://docs.expo.dev/versions/latest/sdk/notifications/#notification-categories) there is an example screen shot of an interactive notificationexample screen shot of an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ConnectionRefusedError base on loading 'keras.dadasets.mnist.load.data()' dataset I ran:
(x_train, y_train), (x_test, y_test) = keras.datasets.mnist.load_data()
But it gave me the error:
Exception: URL fetch failure on https://storage.googleapis.com/tensorflow/tf-keras-datasets/mnist.npz: None -- [WinError 10061] N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Auto-Py-To-Exe, script can't run cause of No such file in directory I created a Tkinter GUI and made it into a Executable. Lets call it: test_app.exe
When I run test_app.exe it works and I have a few buttons.
I use these buttons to run another .exe file. Lets call it program.exe.
When I click the button and it start... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to use windows sandbox on ryzen 5 processor So, my goal is to use windows sandbox on my machine.
How can I make this work?
In my BIOS, SVM is enabled.
But when trying to install/activate windows sandbox via "Turn Windows features on or off" it just gives the error tooltip: "Windows Sandbox cannot be installed: V... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: sed command to merge two or more lines which has same keyword I have a input file.txt like below
ABC
Job: Farmer
DEFG
Job: Plumber
Job: Teacher
GHIJ
I want to combine all rows which has Job into one as below
ABC
Job: Farmer,Plumber,Teacher
DEFG
GHIJ
I tried below way which is not helping
sed '$!N;/Job: /s/\n/,/ fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Call remote Shell script from Ansible I have a Shell script on a server that generates a JSON object. The script is pretty basic as it just reads in two files using cat and then turns it into a JSON object.
Like so:
#!/bin/bash
public_key=$(cat "publickey")
last_ip=$(cat "lastip.txt")
json="{ 'public_key': '$public... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I set up a gitlab runner using the docker+machine executor? I have registered a runner via gitlab-runner register, but it won't pick up any job
I've made sure it's active and it can run untagged jobs in the settings
Here's the /etc/gitlab-runner/config.toml:
concurrent = 1
check_interval = 0
shutdown_timeout ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to assign custom colors to individual squares in matplotlib clormap? How to set the color of individual squares to a specific color?
This is what I have:
fig, ax = plt.subplots()
ax.matshow(quality_matrix, cmap=plt.cm.Blues)
for i in range(len(quality_matrix)):
for j in range(len(quality_matr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: config file that shared between the frontend and backend i need to write a config file to share with the frontend developer for common things like parameters name in requests.
for example in my view file, i have something like this:
class View(ApiView):
def get(self,request):
username = request.GET.get('phone'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Not able to filter the result of LEF JOIN using "AND" We have 2 tables vendor_location and order_location.
Query:
SELECT top 10 al.prsnpk,al.serviceid, al.locid al_loc_id, docloc.loc_id doc_loc_id
from vendor_location al
LEFT JOIN (SELECT DISTINCT locid FROM dorder_location)
docloc ON al.loc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jooq choose when statement on multiple columns I have this part of query:
case
when columnA = 'On'
and columnB <= current_date()
and columnC > current_date()
then columnA
else 'NoChange'
end)
is it possible to write it in Jooq, Java?
A: Just use the CASE expression in jOOQ almos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Spring Boot 3.0.0+ with JAVA class DTO
I am doing some testing in order to get a design idea. Through a request with JSON I want to create a DTO class within a GET
package org.crea.w4ag_mock.mocker;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does the merge of 2 types with a shared property name not work when making a type with that property from the merged type? type a = {
a: number
b: {d: string}[]
}
type b = {
c : string
b: {f: number}[]
}
type l = a & b
const ab: l = {a: 1, c: '', b: [{d: '', f:1}]}
const ac: l['b'] = [{ d: '',... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where to choose as the safest option to store sensitive files in Blazor Server application? I have a Blazor Server (.Net 6) application that I am working on. My application needed to store file uploads from users, into the server it is hosted in. That part is done, but the most important thing about storing these fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: flyway with docker fatal error: user root does not exist I am trying to setup a spring boot application. I use flyway and postgres14. I ran my application using ./gradlew bootRun command. It worked fine and the migrations ran. But the user it took to create the tables were not the one I provided using spring.flyway.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Boost TCP Socket blocking indefinetly I am debugging this library: https://github.com/IntelAI/he-transformer, because it is a bit too unreliable for me to use in its current state.
There seems to be a problem in the client-server communication, to be specific in the file src/seal/he_seal_executable.cpp. The followin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: website vertically not scrolling on mobile I am working on a website and website is not scrolling vertically on mobile device, it works perfectly on desktop. I have checked CSS and even there is no "overflow:hidden" issue in html or body tag.
Suggest solution to this.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75591798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to set the same color value in a cell as the color in a different cell? basically the same as the title, for instance How can I conditionally set A2's color to depend on B2's color so that when I change B2's color, A2 also changes to the new color? Even so, is it possible?
I've tried all conditional formatting o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Magento 2.3.4 minicart not working only on product detail page I have added a minicart on the header of my custom theme. The issue is that the items added to the cart only show on the product detail page. On other pages, the minicart dropdown only shows the checkout button. There is some error in the console.
Un... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find visible height of div element while scrolling (WITHOUT JQUERY) I need to know the height of visible part of block when scrolling to start animation. I found the solution on Jquery but I use vue/nuxt. Is it possible to get the height of visible part of block on pure js?
Solution on JQuery
Here my attempt ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ansible find files containing an IPv4 address, create a list of those files and display the line containing the IP address Reason for question
I have a requirement to check for any hard-coded IP address which may have been left within the Playbooks in our environment.
Scenario
The following code which will find file... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Replace DAQ Assistant for a voltage input with reading a WAV sound file I am trying to convert my WAV sound file into data without using DAQ Assistant. For starters I have this code I have to modify and find code compatible with what I want to do,
can anyone help ?
A: You may use just a single Sound File Read Simp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to access duplicate key values from a object in javascript?
// input
var data = {
"name123":"aditya",
"results":{
"name":"somthing"
},
"results":{
"name":"somthing1"
},
"results":{
"name":"somthing2"
},
}
// expected
// ["something","something1","somtheing2"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Regular expression for split by commas but skip commas inside "<" ">" I have this string:
String string = "contentType:string,header:string,alternativeIds:array<string>";
I want to split this String by "," but not get inside the brackets "<>", so in the example above the result that I get is good just by splitting ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I make an embedded browser in web by using react? At first, I'm frontend web developer with react and next.js and have few knowledges with backend.
I'd like to make an react webservice that is capable of modifying the client's web page.
Especially, translate the texts in the page(like web fiction platform)an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: setState() or markNeedsBuild() called during build Flutter - Providers I'm trying to use fl_chart dependency to add some charts
but every time I found this error setState() or markNeedsBuild() called during build
class PieChartSample2 extends StatefulWidget {
const PieChartSample2({super.key});
@override
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The homepage is not mobile resposive. I need to scroll horizontally. The site is made in Wordpress This is the screenshot of the problem that I have been facing with one of my client site. I have tried most of the solutions that I found but couldn't do anything.
I tried these of the solutions.
*
*This is the first... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: How to convert .jar file to .dmg? I have a Java Jar file, want to convert the .jar file in .dmg file which is supported in MAC.
Please comment if you have any solution.
Tried this steps but still not working. 1.Make a new folder and move all your jars and dependencies into it. 2. Go to applications->Utilities->Disk ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Is there any way to make nested array as main array in mongo aggregate pipeline? This the response of aggregate pipeline:
[
{
"data":[
{
"_id":"63ee1b07c2c7d98d1e6b7e13",
"username":"jhon_doe",
"image":"https://s3.us-east-1.amazonaws.com/b39d30-0c50-4427-9fdb-210... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make a db query when a date has passed I made an application with Symfony 6.
I have a reservation entity with startDate, endDate and state_id fields.
I would like to automatically change the state_id field (to a certain id) when the startDate field corresponding to DateTime('now').
I don't know how to do this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: encodeURI (or encodeURIComponent) returns different encodings in different parts of my code (disclaimer: this is the first time I post a question on SO, so I apologize in advance if I did anything wrong)
I have an URI pointing to an image with this structure:
(stuff...)/acryagl_violencia física/(more stuff...).jpg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Broadcasting FM signals from Android Phone Out of curiosity. Is it possible to develop an application that would broadcast FM signals from an Android phone without the need for any additional hardware?
Nothing so far. I'm hoping someone has already tried to embark on this particular journey.
A: An FM transmitter is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculate MACD using postgres I am trying to calculate the MACD of BTC. I have a materialized view/continuous aggregate like this:
CREATE MATERIALIZED VIEW IF NOT EXISTS candle_1_minute
WITH (timescaledb.continuous) AS
SELECT time_bucket('1 minute', time) as bucket,
product_id,
MAX(price) as high,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined I can't find a solution for this error:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
Every time when I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get all response for map interface I have struct like this
type ApiBamOptionGroupHttpRes struct {
ResponseCode string `json:"response_code"`
ResponseDesc string `json:"response_desc"`
Action string `json:"action"`
ResponseData []map[string]i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to extend the lifetime of one shared_ptr to that of a second std::shared_ptr in c++ I have an annoying library struct that holds an object by reference.
struct B {
A & a;
B(A & pA):a(pA){}
}
I would like to hold a std::shared_ptr<B> but also extend the lifetime of a so that I don't have to manually hold... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How link two variable for one individual in ggplot2? I have an issue on how to display segment with geom_segment in ggplot graph. I have individuals which are measurements on height and body mass related to Age, and after making a plot I would like to link those two variables (height and body mass) to see clearly on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: no provider for service, But i have added provider in spec file When i run test cases , NullInjectorError:No provider for organsService is coming, But I have added that service into my spec file,
is there my issue is with my app.component.spec file ?
anyone give me idea on this
spec.ts
import { ComponentFixture, Te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add a new line after a specific word on text file using powershell script Add the below line after the word "server {" in nginx.conf file.
location /nginx-status {
stub_status on;
allow all;
}
Using the script below adds a new line next to the word "server {" wherever that word occurs.
$Nginx_home = "I:\Anand\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ebay XML API and where do i find these data : P:UPC;P:EAN;P:ISBN? i am working on a ebay integration (XML API) to update my product stocks.
To match products i use the SKU. But for variations i dont get them often.
But in a csv export out of ebay, i find them.
In columns headed with : P:UPC;P:EAN;P:ISBN .
How ca i ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Server to server authentication using Azure AD Trying to implement server to server authentication between my APIs through azure AD.
First I am creating a token with following configuration
var oauthApi = RestService.For<IMidaApi>(
$"https://login.microsoftonline.com/{_settings.TenantId}",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Customizing ASP.NET Identity OWIN pipeline I'm implementing SSO in ASP.NET MVC 5, .NET 4.8. I am, of course, using Microsoft.AspNet.Identity for this, which in turn relies on OWIN middleware.
The OWIN pipeline is set up in Startup class, and this is where the relevant SSO identity provider parameters are set (concre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: (on Windows) Conda is corrupted after pip install conda I have already seen the answers from Conda is corrupted after pip install conda. But my anaconda was actually working on windows.
I can not reinstall or cover the new anaconda into the old folder where the corrupted old anaconda still be. The alert was saying"y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java Instant.now returns millisecond accuracy when running on under Wine We're running a Java 11 windows application on a Centos 8 using Wine 6.
When we made the switch from Wine 4 to 6 we saw that Instant.now started to return values in Millisecond accuracy instead of nanos/micros.
One of our developers at the time... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vaadin: Error forward & reroute can not be set at the same time I'm trying to set up navigation in Vaadin. In the current environment, when you go to the login page, you should be rerouted to an error page by using the beforeEvent method from the beforeEnterObserver. I used beforeEvent.forwardTo(ErrorPage.class), be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extension works only after refreshing the extension and web page I'm developing the extension for linkedin , and i'm using the context menu also , when the context menu is cliked the iframe will open , but it only works when the service worker is active , but every time the service worker is going to inactive state ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ssconvert mis-formatting data when converting from csv file to xlsx I am converting a file from csv file to an xlsx file using the following command
/usr/bin/ssconvert --import-type=Gnumeric_stf:stf_csvtab --export-type=Gnumeric_Excel:xlsx --import-encoding=UTF8 sample.csv sample.xlsx
The content of sample.csv is:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OverflowError: Python int too large to convert to C long when using randomized search cv in lightgbm I am trying to fit a light gbm model for the airbnb NYC data using randomized search cv. Price is taken as the target variable.
The data can be found on : https://www.kaggle.com/datasets/dgomonov/new-york-city-airbn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't Send SMS to Same Android device API level 33 I have an android app that requires verification of the phone number of a device for registration. Since we can't extract phone number of the device programmatically the app sends SMS to phone number which is provided by the user from UI and for my use case it is mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Splunk change chart color I have this graph:
How can I change the color for every column from x-axis?
For example, green for Low, yellow for Medium, orange for High and red for Critical
A part from query:
| eval status=case(duration>=0 AND duration<0.2, "Low", duration>=0.2 AND duration<0.5, "Medium", duration>=0.5... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: problem in initialising keyczar in import errors No module named 'errors' I am working with django python 3.10
and I installed encrypted_fields succsesfully which is depends on keyczar
its already installed but it shows error in import statement
ModuleNotFoundError: No module named 'errors'
I tryied to install pytho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unity 2020.x Oculus app build IL2CPP failed for "Exception: Failed running response.rsp" Building an oculus app with Unity 2020.x **IL2CPP **with target architecture **arm64 ** failed for:
Exception: Failed running "response.rsp"
stdout:
Fatal error in Unity CIL Linker
System.InvalidOperationException: No action for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to print Pdf via Wifi/Bleutooth printer? I want to print Pdf file via Wifi/Bleutooth printer but before that i want to connect to the printer
I have tried a methode to do that but the problem is my printer dimensions are small than Pdf page size (A4)
How do I make the file compatible with all sizes of printers?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot curl any ip on a subnet via openvpn I have an openvpn server running on 10.8.0.0/16 that pushes the subnet 10.10.0.0/16 (a docker network) to the client.
I can ping 10.10.0.0/16 from the client but I cannot curl from the client.
This is my openvpn server config file:
port 1194
proto udp
dev tun
ca ca.crt
cer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What is a "VLE" in Apache AGE? I see that term spread in some projects of Apache AGE and even in the source code, but couldn't find what exactly it is.
Is there an explanation of this somewhere for me to look up?
A: Variable Length Expressions
source: https://cwiki.apache.org/confluence/display/INCUBATOR/AGEProposa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CreateMHTMLBody operation aborted I'm using quite an old c# code. I can see that there is a method:
CreateMHTMLBody
var message = new CDO.Message();
message.CreateMHTMLBody(url)
When I set the URL to something that loads fast everything is fine but in my case, I need to render a report, which takes around 5... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Migrating from StreamingClient to AsyncStreamingClient in tweepy produces 401 I'm migrating my working code from tweepy.StreamingClient to AsyncStreamingClient, however I have 401. Reverting back to sync mode works.
import tweepy
from tweepy.asynchronous import AsyncStreamingClient
import aiohttp, async_lru, oauthl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CSS is not overriding 2nd child I have been trying to flexible grid element that contain DIVs with image.
See Screenshot with dev-tools open
CSS is as follows:
.pictures {
max-width: 740px;
width: 100%;
height: 100%;
max-height: 450px;
display: grid;
gap: 10px;
grid-auto-flow: dense;
grid-auto-column... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: buddy press change default activity tab to show groups instead of all hey guys anyone know how to change buddy press default tab from all to groups.
I have 2015 code that doesn't work.
maybe anyone know ?
I tried removing class .selected from activity all and adding to activity-groups but it doesn't work..
Find the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mmap-object and memory usage issue I have a large (ASCII) text file that I want to store as a memory-mapped file in Node.js, and I am using the mmap-object module to do so. However, I am having trouble understanding how to allocate the appropriate amount of memory when creating a new mmap-object instance.
The text f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |