text string | meta dict |
|---|---|
Q: How to grant save dashboard permission in OpenSearch Dashboards I want to provide a user e.g. an analyst a set of permissions that will allow him to:
*
*read index
*build dashboard around it
*save dashboard
First two activities are easily covered by the permissions I found (using cluster_composite_ops_ro and in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding parameters to a @Subselect Entity using @Filter and @FilterDef I've been attempting to accomplish the same thing mentioned here without success:
Bind parameters to the sql request inside a @Subselect annotation in Spring boot?
I am trying to limit the results of this subselect to objects in table2 that have a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: returning double.NaN doesn't compile I'm currently working on an old solution developed by somone whom i don't have any contact with.
when i compile it i get the error:
syntax error at token '-' in: IL_0000: ldc.r8 -nan(ind) EntryPoints
And this concern this C# file:
using System;
using System.Runtime.Int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I do a selection from table and a mapping using one of the column from the table as key? Given the table main:
abc
pqr
price
lang
hello
hallo
2.34
en_de
world
welt
1.23
en_de
coffee
cafe
9.23
en_fr
And a map that looks like:
with mappings AS (
SELECT MAP (
ARRAY['en_fr', 'en_de'],
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I append [(ngModel)] to el.nativeElement using Angular's Render2? I am dynamically creating an input element using Renderer2. I need to append the following to the nativeElement as seen below but setAttribute errors out and setProperty does not add them.
const nativeElement: HTMLElement = this.el.nativeElemen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: LSTM-Keras Error: ValueError: non-broadcastable output operand with shape (18,1) doesn't match the broadcast shape (18,15) Good afternoon. I'm new to machine learning. I'm trying to implement an algorithm using Keras and pandas, and I'm having a problem when I'm going to invert my results after I've done the trainin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Calendar month counter React I'm making a calendar in React and I have a problem switching between the years.
const allmonth: string[] = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
const [currentMonthByNum, setcurrentMonthByNum] = React.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Oracle 19c :: ORA-00918: column ambiguously defined I've run below query on 2 different 19c db.
select t.table_name, o.* from all_objects o
left join all_tables t
on o.object_name = t.table_name
left join all_tab_columns t
on o.object_name = t.table_name
where object_name = 'DUAL';
It runs fine on 19c db with VERSI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to conditionally checkout repository branch in Azure DevOps pipeline? I have this pipeline which has a parameter primary_region. I would like to conditionally checkout the Export repository's branch depending on the value that is provided to that parameter.
For example, I tried to add conditional expr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any way to sort how to sort a list of 3-element tuples I have a list of 3-element tuples, something like this one:
lst = [(0, 0, 'C'), (0, 1, 'C'), (0, 2, 'C'), (0, 3, 'C'), (0, 4, 'C'), (1, 0, 'C'), (1, 4, 'C'), (1, 1, 'B'), (1, 2, 'B'), (1, 3, 'B'), (2, 0, 'C'), (2, 4, 'C'), (2, 1, 'B'), (2, 3, 'B'), (2, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Link to all my iOS AppStore apps ("More Games" button)- iOS15+ I'm trying to put a simple "More Games" button in one of my apps to deep-link into AppStore and show the rest of my apps.
Most of the posts around that are pretty old, or at least I can't figure out how to use them in the current state of things.
The onl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Generating AWS signature with php I am trying to generate the AWS signature in php
I can get the session token using postman every time so its not the credentials
I've double and triple checked the access key / secret key e.t.c.
I am currently using this:
https://github.com/avi-wish/aws4-signature-php
but keep getti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Exponentiate at different levels with tbl_regression in gtsummary I would like to use tbl_regression in gtsummary to exponentiate for my ORs, but at different unit values. For example, I have a logistic regression model in which for some predictors I would like to express the OR per 5 or 10 unit increase (not just 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gitlab CI: JAVA_HOME is set to an invalid directory: /opt/java/openjdk when building the Docker image I have a Gitlab CI file to build and push the Docker image to our container registry, here is the job I want to run inside the .gitlab-ci.yml file:
vcrawler-finance-docker-build:
stage: build image
only:
ref... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript - removing a class that was itself added by Javascript I'm having trouble with some JavaScript, namely removing a class.
In general removing a class works fine.
However, if I have also added in the class via JavaScript, then it doesn't work. I am unable to remove it.
I imagine this is because the referenc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: rename columns with a loop Afternoon. I have a dataset with multiple scales in them. I'm renaming the columns with the scale name and item number (ex_1, ex_2... etc.) Is there a more efficient way to do this if you know the column positions in the df?
This is how I've been renaming.
df_R <- df %>% rename(ECR_1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to remove points hover animation duration? I'm currently working on a project including Chart.JS and I pretty much removed points appearances when they're not hovered ; when they are, I just want a point to spawn on them without delay so that the user could slide his mouse up and down the graph to see... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can favicon svg use root CSS variables? I've setup an SVG favicon which is functional.
<link id="favicon" rel="icon" type="image/x-icon" href="favicon.svg">
However, the svg cannot seem to access any outside CSS.
<head>
<style>#favicon { fill: red!important; }</style>
<link id="favicon" rel="icon" type="image/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why is npm start is not starting the development server on my node project? I had to reset and download all my files again, including node.js. Now I am having problems starting my development server from my node.js project. Every time I try npm start the development server gets stuckterminal output. I have tried all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: POST Request multipart/form-data with multiple files and a resource object I'm trying to convert a functional curl command to a suitable python request. I've read the basic doc and particular doc about multiple files. Also multiple related questions: How to POST multipart/form-data in Python with requests and Python... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I get this Error: Error: Route.post() requires a callback function but got a [object Promise] app.use('/api/auth', (req, res) => {
console.log("AUTH");
authRoutes(req, res, app);
});
export function authRoutes(req, res, app) {
console.log("Auth Routes");
app.post("/login", authController.login(req, res));
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to remove data from a field in elk I am quite new but not so new in elastic stack and have a need for my company to delete data from a field
example
I have a field sent after being parsed on logstash to elasticsearch
let's call it remain_logs
If we read it from kibana on discover tab, we can see it values:
remai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to reduce the time complexity of this python code? Given: 20<=y<=10^9
2<=score<=10
The output which is shown to me is: Time limit exceeded
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75605936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Python3.9 Django Web API FrameWork Models - join Tables and convert to API I have two tables, table A & table B, table A is managed = 'true' and table B is false.
table A data from user input and table B data is from JIRA, table B will have more records compared to table A. I'm loading table B data from csv using lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Combination of checkboxes in streamlit app I am building stream lit app, I know how to define if option_1 is chosen do something, but what if a user choose option 1 and option 2? I want the code doesn't runs if a user select anything rather than only option_1, even a combination of option_1 or option_2.
option_1 = s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PySpark to pandas DataFrame error: objecthas no attribute 'dtype' I have been trying different ways and configurations now to use .toPandas() to create a pandas DataFrame on which I can perform regular Python commands from my PySpark DataFrame. However, I keep getting this issue:
/databricks/spark/python/pyspark/sql... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extract features by a CNN with pytorch not working I am trying to use the RESNET-18 pre-trained CNN with Pytorch to act as a feature extractor for new images. To do that, I followed this tutorial.
Basically, I want the output of the penultimate layer, which would give me 512-D vectors as features for every image. Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to solve 'Error: expect 2, got 1' if I can only Input one value? I am a newbie in programming and I am doing my python assignment. Sorry if my problem is silly.
I was asked to Write a python program for a two-player rolling dice game.
Each player has a counter to record their scores. Each time, a player would ro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Parsing arbitrary Ruby code to create a list arguments passed to all invocations of a particular method I have an inherited codebase analogous to the following trivial example:
request_handling_helper_methods.rb
def send_response(response_code)
# create and post a response using response_code
true
end
def handl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Uncaught SyntaxError: Cannot use import statement outside a module headroom Uncaught Syntax Error: Cannot use import statement outside a
module[enter image description here](https://i.stack.imgur.com/aqrRC.png)enter image description here
i wann solve this problem
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75605957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to remove old virtual environment paths on the select interpreter list in VSCode I am familiarizing working with Django virtual environments in VSCode. Created a couple of virtual environments, some are no longer but I still can see them listed in the select interpreter section.
How can I remove, or clean up thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting the AuthToken from a broswer using specflow Currently, in my company, we have many smoke tests, and there are many logins, This causes some logins to fail and so it was suggested that we should get AuthToken from the browser and pass this to other Scenarios. I can't find any example of how to do this. So far... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Writing a Java Arquillian test for a Map Tuple method I'm attempting to write an Arquillian test to test the following method:
// provinceName is key, provinceAbbreviation is value
public Map<String, String> regionMap() {
return em.createQuery("""
select distinct p.provinceName as prov_id... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a roaming settings equivalate in Teams app? I'm working on a Team App using MicrosoftTeams.js, the issue is when a user leaves the app all the data is lost.
On Office.js there is an tool Roaming Settings (https://learn.microsoft.com/en-us/javascript/api/outlook/office.roamingsettings?view=outlook-js-preview... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Serialize rusoto_dynamodbstream::AttributeValue to JSON I'm creating a Rust script that get from event the DynamoDB Streams data and save it to a S3 Bucket.
After retrieving the data from the event body, I cannot convert the data to JSON because AttributeValue is not Serializable.
How can I do it?
Here below my not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Im trying to write a function to get an average out of a table in python but I get an error saying 'List index out of range' Im trying to make a function in python to find an average out of a table.
In number_table there are 4 items so I put the count to 4. The error says : sum += table[i] IndexError: list index out... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Having Default Spring Security Autoconfiguration with all requests being secured but have possibility to have endpoints to be excluded So I am building an Autoconfiguration for Spring Boot Applications with some specific stuff which should be configured per default.
Per default all requests should be authenticated. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Searching for "credential store" service for my apps landscape this is not a typical developer question, but it's related to development:
I need a kind of credential store service that my applications get use to get credentials/accesstokens to f.i. access webservices, databases, ... (don't want to store the password... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: bwa index file faile to locate I am currently experiencing some troubles when using bwa mem.
I have indexed my reference file and even created a fai index through samtools.
All the files required are in the same directory. but when I tried to use bwa mem, the error returns as [E::bwa_idx_load_from_disk] fail to loca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Polars: how to handle 'window expression not allowed in aggregation'? I have a task on hand where I want to perform regressions of transformed columns on a set of specified columns in a polars dataframe. The transformation and set of independent columns are all controlled by a specs dict.
Below is a simplified mini ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there any way to load only certain portion of a dataset Trying to use torchvision.datasets.kinetics to load first 150 videos of test split of kinetics 400
Trying to load dataset using torchvision.datasets.kinetics but it starts to download all the videos is the test split (34045) to be exact which I cannot possib... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: react-router-dom Link's state doesn't persist in middle- or right-clicks (open in new tab/new window) I have a regular Link component from react-router-dom v5, I am sending an object as a state prop in the link. I am accessing it through useLocation(). Everything works fine with left click, however, with middle-clic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What is the advantage (if any) of using Cohen's w instead of Cramer's V for effect size? I'm wondering why I should or should not use Cohen's w (omega) for effect size over Cramer's V for a chi-square goodness-of-fit test?
What would be the advantage or disadvantage of favoring Cohen's w?
I am using the rcompanion p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to swap two strings in O(1) time complexity in C or C++? I want to swap two string without copying all the characters as it takes more time. I think using address of the strings it can be done within O(1) time complexity. But I am not being able to figure it out. Can you help me to do it?
I tried it using addres... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605980",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: Overriding HTML & Body font-size when using the 62.5% font-size trick I have developed a web component that has been bundled into a JS SDK that can then be imported into any website. It has been turned into a Woocommerce and Shopify plugin too but Magento seems to be causing a problem with font-sizing.
The web compo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Attach Image with openXML for Docx? I have Tried multiple approaches to get the images in the docx.
Here i'm looking for any solution to convert image to openxml
Image URL Attached with openxml and created Image Base64 and tried to attach with openxml.
both the way its not working.
seeking for a solution to c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: SwiftUI custom map annotations are not shown continuously during pan and zoom Setup:
My app has a SwiftUI Map that can show annotations and the user location. It is possible to pan or zoom the map. Here is the relevant part of my code:
struct MapViewSWUI: View {
@Binding var show_map_modal: Bool
@ObservedObj... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605983",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Webscraping using Beautiful Soup returns empty list I´m trying to scrape the price information for the products in the site using Beautiful Soup: 'https://www.compracerta.com.br/celulares-e-smartphones?page=1'
But the price returns an empty list i.e. [].
Below my code:
from pandas_datareader import data as pdr
impor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605986",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why do we need pageKey and scaffoldKey in this example? In the Google Codelabs about using Responsive Design in Google (Take your Flutter app from boring to beautiful), they use two keys for each route.
GoRoute(
path: '/',
pageBuilder: (context, state) => const MaterialPage<void>(
key: _pageKey,
child: R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: i'm getting user is not iterable while configuring CKAN plugin I'm working on CKAN, I used an extension for authenticating my CKAN by Azure Active Directory, and I got TypeError: cannot unpack non-iterable NoneType object i reached the extension developer but I didn't get any response from the developer.
here is my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I have trouble assembling and linking my 64-bit assembly file. How can I fix the error? I am learing assembly language recently and I want to run 64 bit assembly code file.
but when I try assembling and linking my file with gcc -o test1 test1.s command, I encounter an error:
/usr/bin/ld: /tmp/ccdyRWWG.o: relocation ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: preloading fonts in javascript? I know I can preload fonts with <link rel="preload">. Problem is, my font file is quite large, so preloading them (with no cache) might take a while and affect FCP. Then I tried dynamically adding CSS font-face after onload for a better FCP score, but that introduced FOUT (a refresh o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Convolution/weighted average of two arrays in python I have an equation that I need to calculate numerically, but I am having doubts about my approach.This is the equation:
where $\chi$ is a volume mixing ratio in the stratosphere, $\chi_0$ is a volume mixing ratio in the troposphere and G is an age spectrum (a dis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to break long rows in HTML table? A similar question has been asked before here: Wrap table row to the next line, but with no satisfactory answer.
I need to have a HTML table that wraps long rows to a new line while maintaining the alignment of each column and column heads, i. e. the table should display normall... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How would I set up HttpHeaders in .NET so logging out prevents the back button being used to see sensitive data, but still preventing document expiry? I'm having an issue where cache control attributes were implemented at my company to prevent the back button being used after logging out to view potentially sensitiv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a modal window with a tail in CSS?
I create a triangle:
&--triangle {
position: absolute;
top: 40px;
left: 25%;
width: 0;
height: 0;
border-left: 40px solid transparent;
border-right: 40px solid transparent;
border-bottom: 50px solid $col... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75605999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to generate GraphQL schema with Apollo? I'm trying to move from using a gql string to using a .graphql schema file. I'm having issues even though it seems as though the schema is being generated correctly. Does apolloserver not support this format of schema?
/* eslint-disable import/prefer-default-export */
impo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I write a nested tibble to separate files I want to write separate .csv files for each group in a nested tibble. So far I tried something like
mtcars %>%
dplyr::group_by(cyl) %>% tidyr::nest() %>%
dplyr::group_walk(~ readr::write_csv(.x$data, paste0(.y$cyl, ".csv")))
This gives the error message
Error in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL stacking columns I'm looking to stack two columns into one. I know this can be done with a Union. But the bit I'm struggling with is I need to still identify which column the figure originated. Example below:
from:
A
B
C
X
1
2
Y
3
4
Z
5
6
to:
A
new
X_B
1
Y_B
3
Z_B
5
X_C
2
Y_C
4
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to transfer rows with specific strings from excel to another excel sheet using Python I need your help grabbing specific rows from excel that matches certain strings and printing the whole rows to another excel sheet so I could edit them. File1.xlsx is where my data is stored, file2.xlsx and file3.xlsx is the ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Astro load fonts dynamically I am trying to load an unknown amount of webfonts in Astro.
function getFonts() {
return `
${global.font
.map((item) => {
return `@font-face {
font-family: ${item.name};
src: url(${item.url2}) format('woff2'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JQuery how to show/hide html when user clicks a tag I am trying to toggle (show/hide) an HTML table when a user clicks on a menu item (a span tag), then pass the data to ajax so I can GET/POST to a php file. The ultimate goal is to show a comparison table based on the items as they are clicked.
The problem is that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: KeyError: 0 Python - Can't find the issue in the code I'm making a flappy Bird clone for a college project and keep running into this issue:
Traceback (most recent call last):
File "E:\computer science\ROCKETGAME\RocketGame.py", line 215, in <module>
menuscreen()
File "E:\computer science\ROCKETGAME\RocketGa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tailwind CSS IntelliSense in Visual Studio Code does not provide suggestions in an inline script? I am trying to get the TailwindCSS IntelliSense working inside an inline script. I am using handlebars in a simple One-Pager, however the autocompletion doesn't work in side the script tag.
<div id="template" class="w-4... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606020",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: name 'corr' is not defined I was trying to make a correlation circle for my project, but when I keyed in the inputs it only comes
out as name corr is not defined. I don't really understand why. I'm quite new into python so I don't really know what's going on with my code. Can anyone help me?
('**NETWORKX (Correlatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I find the location of settings files for User/Workspace/Folder scopes in an extension? Is there a way to find location of settings file for User/Workspace/Folder scopes from an extension?
This is not to update the settings, but the extension I am working on just needs location of these files to show to user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is a declared javascript class I'm extending return console error: 'Uncaught ReferenceError: [superclass] is not defined'? I'm trying to extend a class to take advantage of its quickAddItem methods. However, when I go to extend it into a new class, the console error Uncaught ReferenceError: QuickaddDrawer is no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: process.env.REACT_APP_ not working in Pods in some cases even though they show up in printenv I have two process.env.REACT_APP_ environmental variables that I have verified are in the Pods using kubectl exec -it <pod> -- printenv.
Some work and some don't within the same environment; some work in one environment, bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find the highest distinct count value of a date from the last month excluding the weekends? I have a Table with the name VW_accession that looks like the table below -
Accession No
Date
8575/a
01-01-2023
…
…
5487/v
30-01-2023
9325/r
31-01-2023
1458/r
31-01-2023
7633/t
31-01-2023
8645/e
31-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Struggling to print objects in Python using list comprehension I am learning Python for the first time and am trying to build a full fledged object oriented program, based on a childhood nursery rhyme/game about counting fists (Bubblegum Bubblegum in a Dish...)
I have a class/Player object, which has fists as an att... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Elementor adds automatic background to inner section I am making an intranet page, I want to add an infobox to the home page with blogger, the page is currently as in the picture.
enter image description here
but I want to do as in the picture below, for this I add an inner section, but it adds an automatic backgrou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why is my GroupedTfidfVectorizer not working as expected I'm currently scratching my head over the issue below. I have created at simple GroupedTfidfVectorizer which isn't doing more than a groupby() a column in order to train a TfidfVectorizer which is a member of GroupedTfidfVectorizer.
However, it appears that th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reading a specific file from a zip with multiple files url="https://s-media.nyc.gov/agencies/dcp/assets/files/zip/data-tools/bytes/nychdb_22q2_csv.zip"
housing_production_since2010_df = pd.read_csv(url)
running the code above I get the following error:
Multiple files found in compressed zip file ['Housing Database ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: is it possible to configure the azure bicep visualizer As soon as my bicep script grew a bit it becomes hard to view the visualizer.
you can choose to either have view that is zoomed out and you can not read the texts or zoomed in where you don't see all the graph...
I was wandering if there is a way to configure th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PL/SQL - How to create a trigger that checks if a name follows a specific pattern: it must consist of a letter and two numbers I have a table called CREWS with a column CREW_NUMBER.
Each CREW_NUMBER must follow a 1 letter 2 number format, e.g. A07, B33, G86, etc.
How do I create a trigger that checks on insert or up... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to correctly use button in stream lit app and just run a piece of code relevant to it in streamlit app I am building an stream lit app, I defined 3 button on top of my code.
I have a large set of codes that does different things. If a user choose button1, I want to show just graphs (so it has only run the releva... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606043",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 'No module named PIL' Gitpod I'm building a real estate website. So I've run the command "pip3 install pillow". it has been successfully downloaded it. Tho when I try to add a listing to the page it gives me the error "No module named 'PIL", and refers to the code below:
def createListing(request):
form = listin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why doesn't my JS click event work once the user has scrolled on mobile? I'm looking for some help with the JS on a same-page navigation menu I'm trying to build, specifically with its behaviour on mobile. Currently, the menu is open by default and I've written a function that collapses it when the user either click... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Loop over a C++ list of maps I have a C++ class that stores different (index,value) pairs where the values can be of different types.
To do so I decided to use different maps that store three different types (double, int, string).
I also need to access the values stored in the different maps. All very simple, but th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to properly mock Classloader to not break the real one Thread.currentThread().getContextClassLoader() I have in legacy method Thread.currentThread()
.getContextClassLoader()
.getResourceAsStream("security/" + keystoreName), So when i am mocking Classloader then i am broking real classloader and next tests doesnt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WP All Import: function str_replace to map woocommerce shipping class with product category and xpath i have an xml file that i'm importing in woocommerce. I have trouble assigning shipping class in woocommerce with data from my xml file. I'm trying to use subcategory-id of the product(which is a number) to convert ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Prove for worst case Ω(log n) for comparison based algorithm Person list A is an array in which pairs of person names and scores are stored.
Given a person list A and person name in A, I want to determine the score of the respective person. Prove that any comparison based algorithm that solves this problem requires ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: BlocProvider in flutter in error Navigation I'm making an app in flutter and in the main, when I navigate with a button its shows an error:
This happens because you used a BuildContext that does not include the provider
of your choice. There are a few common scenarios:
1.You added a new provider in your main.dart an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make button in tree view clickable? I have tree view added in wizard. I made wizard window wider due to higher number of fields.
I have added button to tree view according to these guides:
https://www.odoo.com/es_ES/forum/ayuda-1/adding-buttons-to-one2many-list-tree-view-as-one-column-182263
https://www.youtu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: If-else statement working in one server but not working in another server I am having a weird problem. The given code is working fine in one server but when I am using it on another server it is not working. What may be problem?
$status=htmlentities($result->Status);
if ($status==0){
$st="Letter not received b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Typescript typing event subscriber, compare types of the same function I'm currently working on eventSubscriber implementation.
eventSubscriber(
functions => [
{ event: UserRegisteredEvent, function: functions.sendEmail },
{ event: UserRegisteredEvent, function: functions.sendSMS },
],
{
sendEmail:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get property value assigned in function definition to property decorator I am new to using decorators in typescript, I am using property decorator and when this property changes later, I want decorator to receive this new value. But decorator is not invoked!, I want decorator to receive newly assigned value, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get all the values of two tables using join Error occurred while running below sql query
select transactios.*, date.*
from transactios
inner join date on transactios.order_date=date.date;
why this not working, transactios and date are tables and i want to retreive all the columns from both the tables using joi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: New to JWT, need to find what middleware to use to validate the JWT token Have a .net framework API that is currently using SimpleAuthorizationServerProvider. It is now requested that we use OpenId and JWT to provide API authorization. JWT token will be created via an authorization server, just need to validate i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Send Hello World to Firebase Firestore using esp32 I am new to Firebase and ESP32. Can anyone provide me a basic code that sends "hello world" to Firestore Collection using ESP32 or ESP8266 or atleast show me how to do it. It would really help me.
I have tried searching any tutorials on internet but i cannot find an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Why can I not call a protected constructor from a subclass? I'm in the process of converting a VB.NET project to C#. There's a block of code that when converted, has a method which calls a protected constructor in a superclass. I've made a minimum example here:
public class A
{
protected A() { }
}
public class ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: In a WIX website change the descending animation of the dropdown submenu of the main menù I want to modify the descending animation of the dropdown submenù of the main menù of the WIX website.
This is how the menu looks in the editor an in the preview:
enter image description here
enter image description here
In pra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: JavaScript Binary Search Number Guessing Game These are the instructions:
*
*When the game is finished, add a function that will reset the game. Add a "Reset" button that only appears once the correct guess has been made, and when it's clicked, cause it to call the reset function.
*This should take the player ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Class incorrectly extends base class static side of "property" I got this code from a swagger code generator.
class TestClass {
'type': TestClass.TypeEnum
}
namespace TestClass {
export enum TypeEnum {
PERMANENT = <any>'PERMANENT',
SIMPLE = <any>'SIMPLE'
}
}
class ExtendedTestClass exte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Connections world map I am trying to show connections between countries on a world map. I have found this code online however, i am unsure how to adapt it to my data. My data includes country of origin, longitude and latitude, and country of destination longitude and latitude.
pal <- colorRampPalette(c("#f2f2f2", ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unhandled exception. System.InvalidOperationException: Unable to configure HTTPS endpoint. Digital Ocean - AppPlatform I am trying to deploy a .NET Core 6.0 project to Digital Ocean using Apps Platform. But time and time again I am getting this exception:
Unhandled exception. System.InvalidOperationException: Unable... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to sample from another dataset based on factors? I have two data sets. df_sample contains some measured data param across sites and quadrants (with replicates). I want to use this dataset to populate df
set.seed(111)
#This is the dataset I want to draw the sample from
site <- rep(c("1","2","3"), each = 20)
quad... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: wordpress.com invalid nonce jetpack I am using wordpress.com to host my site.
It is using Jetpack for OAuth sign-on.
The page throws an error that it cannot log in or there is an invalid nonce
The server is not returning a response...
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75606100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Can read correctly a CSV file I have an issue with a CSV file reading, I can't parse it correctly. I think it's come from file format but I'm not sure
I retreive the file from an FTP connexion
await client.downloadTo('.cache/temp.csv', lastFile.name);
const csv = await this.readCsvFile('.cache/temp.csv');
And parse... | {
"language": "fr",
"url": "https://stackoverflow.com/questions/75606112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I determine which activity bar panel has focus? My extension adds a panel to the activity bar. I can tell when my extension has focus or not but what I need to know is which other panel has focus (Source Control, Search, Explorer, etc.).
I need to know if the developer has opened the Source Control panel or not,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75606114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |