text string | meta dict |
|---|---|
Q: QGIS extract from Vector Tiles QGIS extraction from Vector Tiles?
I am new to QGIS, so sorry if this is a stupid question.
I am using vector tiles to load a Basemap of a country, with all streets, buildings, waters,...
I am able to use the "Identify Features" Tool to select a building in the map. In the "Identify Re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set a custom numberformat for an alphanumeric cell value? I have a spreadsheet where job numbers are stored in the first column. The job numbers always take the format of a number followed by a letter followed by 7 numbers.
I already have validation routines to check the first digit is a number, the second di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to structure a go project that is representing a library First things first, I am not a Go engineer, however, I am willing to become one.
I have received this take home assignment, where I have to design a http client for accounts service.
That service is stood up as a docker container along with the databases, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Conditional component rendering outside in VueJS this is my exampleHomeTemplate.vue
<template>
<div id="app" class="main-layout">
<router-view />
<Footer />
</div>
</template>
How would it be the most elegant way to make the Footer component to render in all the routes, except for the home ("/") ?
EDIT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Error on selecting the first item in unittest Python I'm trying to create a unittest using Selenium Webdriver on Python. This test aims to search for a given item, search the first result, add it to the cart and check that there is one product. However, I cannot get this done. Below is my code:
import unittest
from ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jupyter Notebook nbextension Table of Contents (2) hidden behind top panel I'm using Jupyter Notebook nbextension Table of Contents (2).
Part of the contents are hidden behind the top panel.
How do I config it to make it display properly?
I tried
from IPython.core.display import display, HTML
display(HTML("<style>.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Root Mean Squared Error - Calculation Discrepancies in Python I'm experiencing some discrepancies when comparing different calculations of root mean square error (RMSE). What explains these discrepancies? My guesses are (1) rounding or (2) statistic methodology (e.g., sample vs. population).
import numpy as np
impor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How set value in lambda So guys, after placing an order I have to make a patch of this order itself, where in the json of this patch type call I go to put things inherent to the order and the entries in it (so { order code "100", entries : [ {"price" 3.00, effQuantity 20} ] )
The effQuantity has the value that I cho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: aws: error: argument command for opensearchserverless I am trying to list open source serverless collections with the aws cli. I am on version 2.7 of the cli. The amazon docs seem to show that opensearchserverless is a valid cli command. But if I run
aws opensearchserverless help I get aws: error: argument command: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to format text being called from BS4 onto Tkinter? This is for a personal D&D project of mine.
I'm trying to get text to come out nicely in my last frame using BS4 and Tkinter.
The goal is that when I click on a new spell in my listbox, the appropriate information will display neatly below what I clicked.
Here... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linear regression parameters after data transformation First of all, I apologize for my English, it's not my native language.
I am analyzing the relation between two variables in R: number of individuals of one species (y) and forest percentage (x).
Since number of individuals doesn't have gaussian distribution, I h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does using spread synax(...) not honor type-safety for an expected return type in typescript I've got a function which is expected to return an object with specific keys. In my case, I only want to add the keys conditionally, so I am using spread syntax to help with that.
However, when I use spread syntax, I can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: mRemoteNG changing the confit file location Running mRemoteNG version 1.76.20.24669
I need to move my config file from a network location to my local hard drive. When I open mRemoteNG, it opens the config file from the network as it always has. If I File/Save Connection File As, specify my local location, the file ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Quality Assurance Engineer What programs Should QA Testers know ?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75621851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: How should Task returning functions be called in the F# main method? The default template for an F# web API project has this main method (abbreviated here):
module Program =
let exitCode = 0
[<EntryPoint>]
let main args =
let builder = WebApplication.CreateBuilder(args)
builder.Service... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I display all of the customers's related addresses? I can't get all the addresses associated with the customer.
class Customer(Base):
__tablename__ = "customer"
id = Column(Integer, primary_key=True)
authorization_token = Column(String, nullable=True)
name = Column(String, nullable=True)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I decode a JSON to a Swift struct ignoring all the fields that are not in both the json and the struct? I'm getting an exception when decoding this json to the Device struct below.
JSON
{
"SerialNumber": "123",
"Model": "iPhone14"
"Brand": "Apple"
}
Swift struct:
struct D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need help understanding z-index for nested elements I need help understanding how z-index of elements is affected by nesting or not nesting elements inside eachother. I have managed to get my code working (which should have a clickable image (image which redirects user to some other page/section) which when hovered ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Increase results returned from Google Cloud Vision API in NodeJS I have this code to generate labels for me from a base64 image using Google Cloud Vision API:
const [result] = await client.labelDetection({ image: { content: base64Stripped }, maxResults: 37 });
It works great with the exception that it always return... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Narrowing a generic callable definition I want to define a custom type, using a ParamSpec and TypeVar that can then be narrowed as necessary depending on where it is used.
I've defined a custom generic type that represents either a function or coroutine function that takes some amount of arguments and returns a valu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Difficult geomrect graph in R.... ideas? I want to create a graph like this one in R.
The data frame that I am using is as follows:
data = data.frame("x"=c(1,1,1,5,5,7,7,10),
"y"=c(15,12,8,15,10,10,13,15),
"d"=c(1,2,3,4,5,6,7,8))
The code I'm using is:
ggplot() +
geom_rect(dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get digits from image with tesseract in Python I was trying to process a video where I have digits that I want to digitalize. I've copied the code from another answer in here, How can I extract numbers from video frames using Tesseract OCR?, the thing is I can't make it work.
I tried the following code
import cv2
im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to remove string after end of file extension I have a few hundred files in file explorer that I am looking to rename.
All of the files end with a set of 2 characters after the extension. EX: 23RH1.JPG;1
Is there a way to batch rename all of the files by removing the last 2 characters from all of the file names? ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Faraday request to receive an audio blob I have a React frontend with a Ruby on Rails backend. I'm using a 3rd party API that converts text to voice. You submit the text and it sends you back an audio file.
I can make it work on the frontend this way:
const handleClick = () => {
axios.post('theUrlForThePost', {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Syntax using JS Library to make Repeatable field JSON null I have a repeatable field that based on a switch, when off, I would like to send the DB a null value for the entire field.
I am using the JS Library to achieve this and am able to change the values for the rows within the repeatable field before saving, but ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Resetting Mujoco Environments to a given state Aim :
For a mujoco environment (I'm using Metaworld) for example - "Sweep-into", I want to do this :
Reset Environment :
Take some actions ...
sim_state = Save the current state
Take some actions ...
env.seed(0)
env.reset()
env.step() ... several times
s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change 'PATH' return by os.environ in python in mac I'm trying to do adb commands via python script but my PyCharm cannot find the adb commands.
And when I check my environment variables using print(os.environ) it returned:
'PATH': '/Users////venv/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: R - How to change all values except last 1 to NA in a group I would like to change all values in a group called value to NA except for the one associated with the largest value in another column called orderid. I am not sure where my code is going wrong. As an example, I have this dataset:
customerid <- c("A1", "A1"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Decimal to Binary Converter in C++ My task is to create a simple decimal to binary converter without using any strings or arrays.
This is my code:
#include <iostream>
int main() {
int64_t n;
int64_t i = 1;
int64_t bit;
int64_t fbit;
std::cout << "Number: " << std::endl;
std::cin >> n;
while (n !=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: making a cross-platform environment.yml I have written a python application in Linux and I want to export the environment.yml file so that users can recreate the environment in either Linux or Windows. The command I run is:
conda env export --from-history > environment.yml
However a couple of the dependencies show... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Next.js route rendering issue I am seeing the following error with next.js routing for non-hash routes (I know comments on other similar issues claimed that the cause of this issue was adding a hash to the query).
Error: Cancel rendering route
Has anyone seen this before, know what it means, and how to fix it? It s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How To Connect My React App and My Express API? I have been working on this react app project for a while and am now attempting to develop a server (using node and express) and eventually a database for it (MongoDB).
My client-side react app has been up and running on localhost:3000 but now, after installing express... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React Native - Firebase Install Errors I'm using React Native 0.65 (I can't upgrade at the moment) and I'm trying to use GA4 via Firebase. I'm getting the following error and having zero luck finding any helpful work arounds.
The Swift pod FirebaseCoreInternal depends upon GoogleUtilities, which does not define mod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I'm getting an error message on my index numbers and I don't know why
i keep getting the error code, Error in ind1[i]:ind2[i] : NA/NaN argument, i dont know how to fix this and my TA isn't responding
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75621889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When will Spring Cloud AWS 3.0.0 be released? When is the planned release date for Spring Cloud AWS 3.0.0? I checked https://calendar.spring.io/ and do not see a planned release date published there. We are migrating our microservices to use Spring Boot 3.0.0, Spring Cloud 2022.0.1, and Spring Cloud Stream Binder fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Use inputs variable as a tag in composite action I have a composite action like this and I want to pass input tag to a step:
I tried this code but I get an error unrecognized inputs value inputs.tag
inputs:
tag:
required: false
description: "java tag version"
default: 11
runs:
using: "composite"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find the record for the minimum value of a field when grouped by another field in BigQuery SQL I am currently working on BigQuery standart SQL.
I want to find the the value1,value2,value3 fields for the minimum value of date field when the records are grouped by col1. In the following example, row1 and row2 h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Spark SQL returning expression is neither present in the group by I have the following query:
SELECT
COUNT(*) number,
COALESCE(Presents, 0) Presents,
f_date date_formated,
CASE
WHEN (REPLACE(t.name, '.', '') LIKE '%TEST1%') THEN 'TEST1'
WHEN (REPLACE(t.name, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to automatically convert any field of type int to a hashed string? I am looking for a way that is not too hacky to hash all ids before returning to user, is there a way to do so? I've searched all over docs and couldn't find anything that handles all scenarios.
I am using Postgres + Prisma ORM and hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MongoDB - Morphia dev.morphia.query.ValidationException: Could not resolve path - @Transient Currently, I am using Morphia 1.3.0 and migrating to Morphia 1.6.1.
From,
<!-- https://mvnrepository.com/artifact/org.mongodb.morphia/morphia -->
<dependency>
<groupId>org.mongodb.morphia</groupId>
<artifactId>morphi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding Gradient Background Color when the view is clicked in Compose Issue I have the following code to add the gradient when the view is clicked.
the following code works, but having one issue, I don't want to add the gradient color effect to the fist button. I tried many ways, but still can't make it work. Please ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reflection to call method that had its name changed in an upgrade? My code compiled with Spark 3.1.2:
private def work(plan: LogicalPlan): LogicalPlan = {
val result = plan.transformDown {
// irrelevant details
}
}
When run with Spark 3.3.0, I run into:
java.lang.NoSuchMethodError: org.apache.spark.sql.cata... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GGPlot2: Display names/counts for different bars in a stacked bar plot I am currently using ggplot2 to show the number of things there are for each year as a bar plot and within each bar, I also show the number of countries per year as different colours. The code below achieves this:
library(RColorBrewer)
library(pl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: what is the ref number in a github repository referring to? I have a terraform file that references a provider's github repository. The config in terraform looks like this:
module "super-cool-module" {
source = "git@github.com:provider_name/repo.git?ref=1234567890abc"
}
What is that ref=1234567890abc referring to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Didnt get the expected results when calculate Cosine similarity between strings I want to calculate the pairwise cosine similarity between two strings that are in the same row of a pandas data frame.
I used the following lines of codes:
import pandas as pd
from sklearn.feature_extraction.text import TfidfVectorizer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cant assign value to variable (issue with scope?) Could someone explain to me, why i cant set "remove_two_diggits" to False in the last line?
def compute(l): # guarantee that first element isnt *// add!
counter = 0
while l[1] != '.':
for i in range(len(l)):
if l[i] == '*' or l[i] == '/':
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Airflow end_date : Does it support the time component? I have been struggling to find some documentation regarding the end_date parameter for an Airflow DAG. https://hevodata.com/learn/airflow-scheduler/
Even though the parameter is suffixed with just date, can it be confirmed if the end_date for a DAG also honours... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Place snackbar above soft keyboard using a scaffold In my UI the user needs to enter an ID number, if a number is entered that doesn't exist I have a snackbar that informs the user that no such ID exists. The problem is that it's under the soft keyboard. I'm currently configuring the snackbar in a scaffold. I haven'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how do you pull data from Graphite for a specific timeframe? I have a script which pulls statistical data from graphite. However, I need to add the ability to pull from specific timeframes. My function that pulls data from graphite and requires arguments from and until which sets the timeframe.
I can't get the scrip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Predicting Categorical Outcome Based on Binary Value Associated with User IDs I have data that look like the below (just an example, the actual dataset is 200,000 rows).
Using this data, I need to predict the categorical number of positions filled (the only options are 0, 1, 2, or 3) based on the decisions of a larg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reversed Arabic text at dbgrid I'm have a program that was working fine... after upgrading to rad studio 11+ I'm facing a problem that I can't understand.
BiDiMode:= bdRightToLeft
all tdbgrids at this program working fine except two tdbgrids... the problem is one specific field always shown reversed and separated le... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to search for several keywords in the google url required? I want to search for multiple keywords of a site in the google URL, all of which must appear the way I search
My attempts:
site:siteexemple.com "keyword1" + "keyword1"
site:siteexemple.com "keyword1" AND "keyword1"
site:siteexemple.com <"keyword1" "key... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dask distributed problem: shuffle_transfer failed during shuffle I don't know which part is not correct, at the first, I create a clusters on AWS with cloud-provider library, then I run tsfresh library to extract features. And I got this error.
from dask_cloudprovider.aws import FargateCluster
from distributed impor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't use when conditional on previous stat/register variable I have a variable that I have stored a stat path & exists from but I am not able to pull this in a when conditional on the next step in my playbook.
Here is the section of the playbook that is giving me problems:
- name: Check that houdini version exists
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Mips Assembly not skipping functions when using beq problem I put choiceWhat part as a test. When i enter "a", the program skips choiceWhat and goes to choiceA. But when I enter b or c it prints choiceA and then exits the program.
# read string input
li $v0, 8
la $a0, choice
li $a1, 50
syscall
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create text field with label like Material UI using Swift UI? I'm creating an application using Swift UI. I receiva a layout in Figma and the Text Field needs to be like Material UI, with the label above the border.
Material UI example
The border needs to be roundered. I tried use ZStack, but I don't know how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How does one create a functional button using JS In my code I am trying to create a web page completely using javascript but I cannot get buttons to work. Here is my code, you can disregard everything but the button.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Changes API: How to retrieve only modified file/folders. Currently it returns folders/files which are viewed also Changes.list API with token returns all changes including viewed/browsed folders and files. Is there any way to restrict this API to NOT return the viewed files or folders.
I am using Changes.getStartPag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Slash commands not appearing when loading them in cogs discord.py When using cogs to organize slash commands, I can never get them to load.
main.py
import discord
from discord.ext import commands
from testing import MyCog
bot = commands.Bot(command_prefix='!', intents=discord.Intents.all())
@bot.command()
async def... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to include output from etable() of fixest package as latex regression table into markdown as html output? I would like to include the regression output from etable(feols(fml = formula, data = data, cluster = ~cluster)) as latex regression table into an rmarkdown creating an html output.
My regression function at... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stuck on html code in placing images and listing projects I need help setting up HTML codes for the images (in the "view projects" section) and list of view more projects. So far I have managed to create part of it and I need help in creating the above sections. For reference, I am attaching an image file to see wha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: C# Code for Moq's Setup and it's Return in regards to mocking a dynamic property Here is info about our technical development environment :
• .NET Core 3.1
• PostgreSQL 14.2, compiled by Visual C++ build 1914, 64-bit
• EntityFramework.Functions Version=1.5.0
• Microsoft.EntityFrameworkCore.Design Version=5.0.17
• Mi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: django many to many through forms I have a many to many relationship, with an intermediate table with extra fields.
I want to create a form that allows me to enter a product, and to be able to choose a price for 1 or more markets.
I can't figure out the views to create this form and print it in a template.
Can you h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: `dotnet sdk check` only lists .net core and ignores .NET Framework I'm working on an older project that was built with .NET Framework not .NET Core. I have not previously worked too much C#. My understanding is that you can use vscode for it but getting it running has been difficult. When I run dotnot --list-sdks or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stricter narrowing in TypeScript that is only allowed if the narrowed case is possible In the following snippet
interface C1 { kind: 'c1' }
interface C2 { kind: 'c2' }
interface C3<T> { kind: 'c3'; value: T }
function isC3<T, CX extends ([C3<T>] extends [CX] ? { kind: string; } : never)>(
c: CX
): c is C3<T> /*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: IntelliJ shows the external library, but can't resolve the import (This is using Gradle) Trust me, I have googled for 4 hours, so I've tried invalidate/restart, deleting the gradle/.cache folder, reimport the project, refresh all the gradble projects, even restarting the computer. None of them worked.
So here's the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Excel payment of installmenst deducting debit balance I have an Excel sheet that we manually segregates the total amount paid in there installments.
Like the example below:
Customer no
Installment no
Installment Value
Total Paid
Inst Value Paid
XC005
1
350.00
1000.00
XC005
2
350.00
0.00
XC005
3
350.00
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stoping debug mode A neighbor illegally or something my phone and find out if it's going to download and sitting on my information her computer how do I stop it
Expect to know how to stop this on my phone and fix it
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75621959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Fetch stops working after a few times (works when restarted) I'm using fetch() to receive JSON from a site, and it works great the first 3 times, then I get an error.
At first I thought I was getting ratelimited, though if I restart the application, it works right away.
Plus using the api manually on the browser the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: how to assign a value to element of a String array? the code below ia an array included few of Strings, which can be set 0 ot 1 by button's status. and each String (array element) control a led ON/OFF.
I have got: Varray[3] = 1 and Varray[3] = dbcd;
my question is how to get: dbcd = 1 ;
I have many buttons which co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to mock and test a mailto button I'm trying to test a link button in React Native. The link opens the url to an email server.
Using a custom component within a parent component named SupportScreen like so:
<LinkButton
title={email}
accessibilityLabel={supportEmail}
onPress={() => Linki... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Prevent downtime with one pod replica only I have quite heavy pod in terms of resources it uses in my development k8s cluster. Because I don’t want to use more resources for another replica (it is development environment after all and I don’t want to generate too much costs) I want only one replica. But it would be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to update @Published variable in ViewModel from network code? I have this (firing off 3 simultaneous network calls)
class GenerationViewModel: ObservableObject {
@Published var fetching1:Bool = false
@Published var fetching2:Bool = false
@Published var fetching3:Bool = false
func go() {
let serv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Truffle Deployment failed 1_initial_migration.js
Deploying 'Calculator'
transaction hash: 0xb214606988ee76e84ca853aa70eee13ee55ffc29eb2baecc20729f49e2255561
✖ Blocks: 52 Seconds: 758
*** Deployment Failed ***
"Calculator" ran out of gas (using a value you set in your network config or deployment
param... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to filter the Selection with LineWidth Catia VBA? Is it possible to get all Polyline or Curve2D in drawing with LineWidth = something? It is possible with the color but when I tried Selection.Search(".Curve.Thickness = 1") or Width or VisibleWidth or LineWidth, none returns an error but results in no result also... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why won't my html buttons work on mobile how I want them too? I'm trying to make a game like flappy bird, but on mobile (iPad), the button won't stay down.
Here is what I have (just the button part):
<button class="btn btn--primary" onmousedown="accelerate(-0.2)" onmouseup="accelerate(0.05)">click</button>
I've tri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Laravel sanctum how to check token for all api requests? I have an rest api /api/example
need to provide different json information for authorized and unauthorized users.
If I use the standard middleware('auth:sanctum') then the user who has the token will get the information, but the user without it will get the 40... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621983",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: pymongo.MongoClient() MemoryError ("Cannot allocate write+execute memory for ffi.callback()") I'm recieving a MemoryError when connecting to a MongoDB Atlas database cluster using pymongo. It seems to be caused by implicit use of ffi.callback(). If it makes a difference, I'm using a M1 Macbook. Any ideas what could ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create 'children' rows in panda dataframe, based on unique values in a list of dictionaries Take the example:
pd.DataFrame(
index=["r1", "r2"],
columns=["c1","c2","c3", "group_by"],
data=[
["v1",[{"x_title":"xt1","x_label":"xl1","y_title":"yt1","y_label":"yl1"},
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a widget that will convert a webpage to a PDF then email it I would like to add an HTML snippet to a website that would display a button that would carry out two actions: create a PDF from a webpage that has fillable text fields; email the PDF.
Below is where I am at. The webpage is not captured. I als... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Compare two objects (the order is not important, only the keys and values) Let's write a function compareRobots, that takes 2 robots and returns true, if only all the characteristics of both are the same. (the order is not important, only the keys and values).
Notes:
each robot has its own unique serialNo (do not ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75621999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Generate Hmac256 signature in Dart I am trying to create a secure signature in Dart to add to a request header for a simple HTTPS GET request.
The signature is generated like that in js:
const signature = CryptoJS.HmacSHA256(timestamp + method + path, 'secret').toString(CryptoJS.enc.Hex);
I want to be able to achie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to parallelize "for loop" or "function call" in typescript So I have a java backend and an angular frontend. The task is to load data from an api to html. There are 5 main apis and each api in turn has many environment URLs. So far I have created a method in java to multi-thread the environment calls, so that on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Typescript cannot find IdleDetector I want to use IdleDetector but Typescript has no types for it and say Cannot find name 'IdleDetector', what can I do?
A: You can add the following to your global.d.ts:
interface IdleDetector {
addEventListener(type: "change", listener: (this: IdleDetector, ev: { userState: "a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What's the correct way of nesting objects in an API Gateway's mapping template? When trying to set up an endpoint that receives data as application/x-www-form-urlencoded and starts executing a Step Function, the best mapping template I could come up with was:
#set($body = {
"context": {
"proxy": {
"sourc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problems with parsing JSON data with telegraf (JSON_v2) When parsing data with telegraf we cant seem to correctly parse the following data:
[{"sensordatavalues":[{"value":"47.55","id":32258070244,"value_type":"P1"}, {"value":"28.48","id":32258070245,"value_type":"P2"}],"location":{"indoor":0,"id":10943,"country":"DE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting an empty variable from API parsing I started to work with API and got some problems that I'm not able to fix.
That's code related to my problem:
// MARK: - ProPlayerElement
struct ProPlayerElement: Codable {
let name, avatarfull, personaname: String?
let fantasyRole: Int?
let teamName: String?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why am I encountering an issue with the GDS library on a Neo4j Docker container on Windows, despite it working on Linux? I'm running a Neo4j container with the GDS library installed using the following command:
docker run --name testneo4j -p 7474:7474 -p 7687:7687 -v
/path/to/neo4j/data:/data -e NEO4J_AUTH=neo4j/12... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622019",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting “Cannot find 'data' in scope” error message in URLSession-related code Swift I’m trying to convert escaping closure code to async-await code in a certain file. More specifically, I’m trying to not use the completionHandler way of using the URLSession.shared.dataTask line of code in this file (which is specif... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Overwrite String in exe with varying length I have an older PC game that I want to modify the exe for. There are 4 strings in the exe that define the 4 starting characters on your team. It's possible to edit these strings and replace them with character names that are shorter than the existing character names, but n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Change text color based on property in Blazor How would I go about accomplishing this using Blazor?
I am using powershell to pull all active forwards from Microsoft Exchange, and I would like to display an icon with a different color if forward to both property is set. So if forward.SendToBoth equals true the oi-arr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622026",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why a roc auc score from a regular cross-validation is very different from a roc auc score after an hyperparameter tuning? I'm evaluating a XGBoost classifier. I split the dataset into train and validation sets, perform a cross-validation with the model default implementation using the train set and compute the ROC ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Using numpy, what is a good way to index into a matrix using another matrix whose entry values are column numbers? Suppose I want to indepedently re-order each row of a matrix. Here is an example of that using np.argsort():
>>> A
array([[88, 44, 77, 33, 77],
[33, 55, 66, 88, 0],
[88, 0, 0, 55, 88],
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Windows Form with Resources file won't compile in dotnet build (CLI) targetting .Net 4.5.1 I have a legacy Windows Forms project that I want to build in our CI/CD pipeline. Specifically I want to
*
*Use an SDK-Style csproj file rather than the legacy format.
*Target net451 for now but someday also (multi)-target... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TypeScript 5 enums In TypeScript 5, the behaviour of Enums changed.
However, when I assign string values to the Color type instead of ints, the following code doesn't compile:
// Color is like a union of Red | Orange | Yellow | Green | Blue | Violet
enum Color {
Red = 'Red', Orange = 'Orange', Yellow = 'Yellow',... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to use two flex across two columns in a row in Tailwind I have the following table object below. I want to apply flex-wrap such that, if the text is too long (like the one highlighted below), the text element will be wrapped using flex-wrap.
So, I use this code:
<div className="mt-8 flow-root">
<div classNam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ansible: Failed to import the required Python library I'm starting to learn Ansible and I ran into this error:
TASK [install Python] **********************************************************
[WARNING]: Consider using the apt module rather than running 'apt-get'. If you
need to use command because apt is insufficie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: What does the age_prepare_cypher() in apacheAGE extension do? Im reading through the apacheAGE extension and im having trouble understanding what does age_prepare_cypher() do. What does this function do and where do i find the definition?
A: The age_prepare_cypher() is defined in the apache/age/src/backend/utils/ad... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How much can you customize the Scrollbar CSS in Firefox? I'm making a transition from Chrome to Firefox, but I'm having some trouble adjusting because I have been making a personal website for a while and the scrollbar CSS not fitting my design is just really bothering me
Here's what the scrollbars look like between... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Meaning of a recursive data type definition in lazy vs strict languages If I write something like
data L t = Empty | L t (L t)
in haskell this type admits infinite lists like L 1 (L 2 (L 3 (..))) . Does an equivalent algebraic type definition in a strict language like ML also admit infinite lists? If so, is it a de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75622037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |