text string | meta dict |
|---|---|
Q: The react js component do not display I am making a Todolist app in react js. I decomposed my application into several components that I put in a component folder and I included it in the main file, but the content is not displayed. Need help please
1. NavBar Component
import React from "react";
import {FalistAlt, F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is it possible to have a PHP SQL WHERE statement based on a string within the database? I have a table in which some entries are about just 1 entry in another table while other entries are about multiple entries from another table. The smallest solution would be to have a db entry forID 21,22,23,24, but I don't kno... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594214",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I create a dynamic parameter in ADO Pipelines I'm de-duping a pipeline and have everything working perfectly - almost. I have 4 environments and am consolidating the deployment code into a single stage that I am looping through with an "each" statement. I want to add a condition to the stage that will only ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Highlight any cells with specific formula text in cell (ie =Vlookup) in Google Sheets How can I use conditional formatting to highlight any cells in a spreadsheet that have specific formula text? In my use case, I am trying to identify in a larger spreadsheet, anywhere that I have used "arrayformula." Ideally, what ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: create dynamic column from a column with multi variables Looking to Split Hobby column to N multiple columns in PostgreSQL 9.4, where each column header shows the Hobby.
Original table
Name
Hobby
Rene
Python, Monkey Bars
CJ
Trading, Python
Herlinda
Fashion
DJ
Consulting, Sales
Martha
Social Media, Te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: GNU Make, ICU in macOS I'm trying to compile systemC with gmake, but I have this issue :
qtmds.s:77:19: error: unexpected token in '.section' directive
.section .note.GNU-stack,"",%progbits
I'm on macOS, x86 arch. (the token pointed is the "-" in GNU-stack)
I've searched a little bit and I found this which suggest ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to properly write a null test on input that is nullable to avoid warnings in Java? How to write a proper test on a method that can return a null to assign the value to a nonnull variable?
@Nonnull String abc;
if(holderForState.getNodeElementSelectedAPI() == null || holderForState.getNodeElementSelectedAPI().equa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Only the top part of div is clickable - why? I am making a website in Streamlit. With HTML and CSS, I’m trying to put a clickable logo on the top left corner, and text dead center on the same line, regardless of the logo placement. I have managed to make the logo clickable when it is not located on the same line of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 'FieldPath field names may not start with '$' In MongoCompose the following aggregate works:
[
{
$lookup: {
from: "variant",
localField: "variant.$id",
foreignField: "_id",
as: "variant",
},
},
{
$unwind: "$variant",
},
{
$match: {
"product.$id": ObjectId(
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: pandas resample with global minimum and maximum specifying the filling method I want to resample a dataset, the minimum date of each series should be the same for each series, therefore, the minimum date of each series should be the minimum value for the date column. Same for the maximum date (Instead of resampling ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Abbreviated function template. "Constraint auto const&" type works, but "Constaint const auto&" fails For boost container hash, I needed to provide an ADL-reachable hash_value. I wanted to disable implicit conversions, so I wrote it as a template that forced the parameter to be the class type.
inline auto hash_value... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to ignore break lines in Javascript with regular expressions I have a regular expression to not allow the user inserting special characters like $ # ?.
My expression is this /^((?![#$%^*<>{}!=|/?])\s.)*$/
I'm applying it on textarea and when I press ENTER, Angular verify and throws error. I don't want when press... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Power BI: Power Query filter max value based on another column let's say I have the following table:
Year
Patch
Value
2021
1.68
23.5
2021
1.70
25.5
2022
1.75
21.5
2022
1.79
24.5
2023
1.84
25.5
2023
1.89
28.5
How can I filter in power query the rows with the highest value in column "Patch" based... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Confluent Kafka Connect can't load my custom connector I have installed confluent kafka by following this page : https://serkansakinmaz.medium.com/how-to-install-confluent-on-mac-60b230448312
Post the installation, I am trying to install a custom connector to my local kafka connect via JAR and not able to see all my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does Pyautogui locateOnScreen function gives me this error everytime? I'm trying to find something on my screen using Pyautogui locateOnScreen function. But everytime I run it, it gives me this error or at least I think it's an error. I don't know because I'm kind of a noob to programming.
This is the Code:
impo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to show two day event in fullCalendar? I am implementing a full calendar in my recent project. During Implementation found that when we pass the start date "2023-01-30 00:00" and end date "2023-01-31 23:59" then inside the calendar event is only visible for the "2023-01-30" date. I want to show the event for two... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how to create column from delayed function in Dask is it possible to create a column from delayed function in Dask?
e.g. if we create a column in pyspark by df.withColumn('datetime', F.lit(datetime.now()) the value of this column is not calculated until we request.
My question is - can we do similar thing in Dask? A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to access reader object in SkipListener onSkipInWrite? I have standard Step with reader, one processor and writer. Reader is reading A class objects from database table (say table1) using JpaPagingItemReaderBuilder:
@Bean
public ItemReader<A> aItemReader(EntityManagerFactory entityManagerFactory) {
return ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Restricting setter for @Published property in SwiftUI I have a ObservableObject, which is defined below:
class NavigationState: ObservableObject {
@Published var routes: [Routes] = []
func navigate(to route: Routes) {
routes.append(route)
}
}
I use it in NavigationStack as shown below:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594255",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Camus dataset in pytorch: I am trying to see the sizes of the images and i don't know exactly what i am reading i wanted to ask if anyone has worked on CAMUS dataset with pytorch.Because there are a lot of things i can not understand.
At first when i run to see size of the images, i take something like that:
(1, 843... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Keycloak user store provider above 18.0.0 I want to update my Keycloak to latest version which is currently 21.0.0. But I saw that we don't have UserStorageProvider.class within 'services' package, now it's within 'legacy'. What is the new approach to custom users identity provider so I can avoid to use legacy packa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Save data to bmp file with C++? I spents couples of days researching bmp structures and I want to save my data to bmp files.
However, the output bmp file cant be opened .
there is my process :
[Step 1]get data from .raw file
[Step 2]do some process and get final data
[Step 3]output bmp file
I've checked my result ,i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how do I integrate this CTE? the CTE finds the largest invoice 2013, the query after finds the customer name and date of invoice, how do I connect the largest invoice to the customer and the date they invoiced?
with highque as (
select max(ExtendedPrice) highest
from Sales.InvoiceLines il
join Sales.Invo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The derivative of a polynomial obtained with numpy.polynomial.polynomial.Polynomial.fit() gives an incorrect value I am obtaining a first degree polynomial (a line) from a set of points, and using line.deriv() to get the derivative. I expect de derivative to be the coefficient[1], but instead I get a different numbe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why are my ggplot objects getting so large in size? I am trying to plot a histogram of a variable that has 17,953,026 observations. The size in MegaBytes of this data table is ~144 MB.
When I plot this data with the most basic hist() function in R, the plot object produced is very small in size. But when I am using ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: The button doesn´t work at the second time I am making a code in tkinter that when I press a "Start" button the camera turns on and detects the blue color and when I press the "Stop" button the camera turns off. It works the first time, but the second time, it doesn't work. I just read some questions, and it says th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Emscripten in CMake doesn't output html file when I set(CMAKE_EXECUTABLE_SUFFIX) before calling project(). Why? How can I fix it? I'm trying to use emscripten from cmake and generate a html file as the output, but it doesn't output an html file. Instead, it only outputs a js and wasm file.
I include/set the Emscript... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Sympy nsimplify() is returning (x + 3) in an equation instead of simplifying From sympy import *
x = symbols('x')
nsimplify(3 * (x+3)**2 + 2 * (x+3) - 4)
nsimplify is returning 2 * x + 3 * (x+3)**2 + 2
Which is technically correct, but why isn't it further simplifying to 3 * x**2 + 20 * x + 29?
Tried inputting it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Absolute imports of common code with multiple entrypoints in subdirectories Given
Let's say I have a code repository "my_tools" with some common code and some scripts (here e.g. fooscript) residing in subdirectories.
utils.py
def my_util():
print("baz")
fooscript.py
import sys; print(sys.path)
from commons.util... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create activated user in Keycloak I am using Keycloak 21.0.0 and Quarkus 2.16.3.Final.
I would like to create an active user in Keycloak from my programme.
The user is also created, but deactivated.
All other values were also transferred
Code:
UserResource userResource = usersRessource.get(user.getId());
kcUser.setU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding Docker Support - "solution file must be located in the same folder or a higher folder..." I'm investigating adding Docker support to two of our applications that we just retargeted to .NET 6 to investigate the possibility of ephemeral environments. I ran into the following exception when trying to add Docker ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Installing NDK side by side is taking too long (expo modules core stuck) LinkI tried to install expo in react-native project. But the build stuck at expo-modules-core. It took like 10-20 minutes. and it was still stuck.
I installed through automatic installation and it gives me this screenshot 5 high severity vulner... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Shopware 6, jest test with vue-test-utils: unexpected behaivor on render template This is fragmented/fantasy code to describe only the relevant passages
tests/my-component.spec.js
import { shallowMount, createLocalVue } from '@vue/test-utils';
import Vuex from 'vuex';
import stateMyPluginStore from '../my-component... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: TextInputEditText receiving keyboard events without focus I'm using an activity with a ViewPager to scroll between 3 fragments. In this activity, I have overriden dispatchKeyEvent to be able to propagate keyevents generated by the device's scanner to the correct fragment depending on what is scanned.
One of these fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: solve equation (a*x)^x=b for x Deal all,
I have some issue to solve mathematically the equation (a*x)^x=b.
I tried looking into it and found something related to Lambert W function, which might be used to solve x^ x . but I am lacking a solid some background to fully understand if it is appliable also to my case.
Is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Dependencies installing wine in parrotOS i'm trying to install wine on my parrotos and i have this issue
i have parrot 5.2
Leyendo la información de estado... Hecho
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que... | {
"language": "es",
"url": "https://stackoverflow.com/questions/75594303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Wordpress Redirect Function Won't Concate New Query Args with Old I can't get this function to respect existing query strings. There is a coach=Name query var and the possibility of other query vars like client-status=New as well. I'd like all these to remain part of the query string and append my few other addition... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unity Strange FPS drops on Android When you start the game on Android, about 40 fps is displayed, but after a while (from 1-2 seconds to several minutes) the fps levels off and becomes stable at 60 (the phone just supports update frequency 60). Also, if I minimize and reopen the game, I get 40 fps back. Even if you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding a value to an expression and pasting it in ggplot2 with annotate I have a piece of code like this:
f<-expression("3"*"±"*"2"~"kg"*"\U00B7"*yr^-1)
I want to replace the 3 and 2 (arbitrarily chosen values) with mean and st. dev., which are calculated automatically, so that when I do something like
mean<-mean(df... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Type 'any Protocol' cannot conform to 'Protocol' I'm running into what I think is a type-erasure issue that's described here. However, I'm having a hard time wrapping my head around the solve. There's some mention of "Opening Existentials" in this swift repository solving this here, but I'm not totally sure how to a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Forwarding and non-forwarding calls - Late Static Binding
Note:
Late static bindings' resolution will stop at a fully resolved static
call with no fallback. On the other hand, static calls using keywords
like parent:: or self:: will forward the calling information.
Example #4 Forwarding and non-forwarding calls
ht... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Counting documents by user I need to count the number of documents owned by each user as well as display fields from the user. I know how to do it in SQL with Group By and Count() but have been unable to get it to work in Go with Mongodb (6). I then need to pass it to a Go template for display.
I can get part way wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does the PowerAPP REST API allow to post parameters as arguments? I need to build a public facing application which will require the user (via an e-mail link) to send in a unique identifier to the Power App. Is there an API endpoint for PowerApps? All documentation I've seen is related to outbound REST API calls.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75594315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to open and edit the pdf file uploaded by form I have ModelViewSet class which accepts the uploaded file.
using pymupdf( pdf handling library)
import fitz
class DrawingViewSet(viewsets.ModelViewSet):
queryset = m.Drawing.objects.all()
serializer_class = s.DrawingSerializer
def list(self, request):
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: create string that represent as slice it is possible to use string for slice the list?
i have example like this
m = [1,2,3,4,5]
print(m[:-1])
print(m[1:-1:])
print(m[::2])
above code will result
[1, 2, 3, 4]
[2, 3, 4]
[1, 3, 5]
so i want use string to do something like that
m = [1,2,3,4,5]
inp = input('slice the l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Generate fake wave using volume level in javascript I need to create a function to generate a sound wave (list of smooth float values from 0 1) taking as an input a volume value that goes from 0 1. Obviously I don't have all the audio sample values so it's gonna be a fake wave but it still needs to respond to the vo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594325",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: LibGit2Sharp : 'Negotiate' Authentication is not supported I have a .net core worker service which uses LibGitSharp (0.27.0-Preview) with NativeBinaries(2.0.315-aplha0.9) to talk our git repo hosted in Bitbucket. Our bit bucket supports sso via SPENGO (kerberos). To clone a given repo,
var co= new CloneOptions(Branc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filter Power BI query by other query, in chain I have a dashboard that looks like this:
And it all pretty much 'works'. I.e. you can select a study protocol in that slicer (which is from the "Protocols" query, it'll then filter the table above to relevent Specimens (from "Specimens" query) from that protocol.
It c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Type casting on argument in callback function? I have a callback function inside JSX:
<AutoComplete
renderOption={(props, option) => (
<div>{option.something}</div>
)}
onClose={() => {
return;
}}
/>
I created the AutoComplete element flexible so that option could be an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Flutter for loop until list length = 3 I query firestore for random documents and add those documents to a list. The list length is targeted to 3, which means in the end I want to have three documents in that list. It can happen, that duplicate documents are pulled from firestore. I don't want to have duplicates in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: (asp.net) How to take data immediately after input and run the sorting function? I need to create an online search on the same page. That is, I have a line to fill with text and I need to take the value from there (as soon as the field changes) and sort the list by this data. You will need to explain how to take the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Flyway Vs Hibernate ORM I am working on a Spring boot postgres application and it's still in designing phase.
While working with db schema, I was wondering what's the difference b/w Flyway and Hibernate Entity. I mean when we can create our schema with entity mapping itself, what's exact use case of Flyway.
While se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure - Merge Two Stream Analytics outputs I have this setup:
Two different data lanes/resource group for two different (services/business areas/products).
*
*product-x-rg
*product-y-rg.
So two different resource group with data being processed and then some queries and outputs in stream analytic for customer M ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Avoid updating a CloudFront distribution using CloudFormation when the CloudFront function is unchanged I am using AWS CloudFormation to deploy a stack containing a CloudFront distribution using a CloudFront function. The template contains the following entries:
CloudFrontFunction:
Type: "AWS::CloudFront::Function... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create protected routes in react-routed-dom 6.6.1 I have code as follows. I'm using react-router-dom 6.6.1:
const App = () => {
return <RouterProvider router={router} />;
};
Then the router is as follows:
const router = createBrowserRouter([
{
path: "/",
element: <Protected />,
children: [
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: error 111 nginx with nuxtapp and plesk server I created a nuxt application that I decided to put in dockers to be able to host on a plesk server, but I encounter an error, when I put the domain name in the browser I see a 502 error and when I consult the docker of the nginx server I see a 111 error, I have done ever... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set audience for AuthenticationAPIClient? When authorizing via Android SDK AuthenticationAPIClient using passwordlessWithEmail in Credentials refresh token == null.
I read that in the article that you need to set offline_access for api and send a link to the audience on api. But AuthenticationAPIClient doesn'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HTML Table with fixed header - Hover border on rows I want to create a table in HTML with a fixed header row. Also I want the data rows to show a border when hovered. So far I have created the following
<body>
<style>
div {
width: 600px;
height: 300px;
overflow-y: scro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Scrapy does not find module 'attrs' I'm trying to scrape a website. I'm using scrapy with the following commands:
pip install scrapy
scrapy startproject test && cd test
scrapy genspider test_spider www.webdomain.com
scrapy crawl test_spider
this results in
ModuleNotFoundError: No module named 'attrs'
(full stacktra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to instantiate and visualize elements in AnyLogic using a Java class? I would like to instantiate a simulation Elements in AnyLogic through a Java class and visualize them on the simulation workspace, such as generating an element from the Process Modeling Library, like "Queue". I couldn't find the relevant cons... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Quick package and deployment of full Azure architectures We found this suggested architecture at the MS docs: https://learn.microsoft.com/en-us/azure/architecture/solution-ideas/articles/azure-databricks-modern-analytics-architecture
We want to transform this into a viable commercial product for retail and e-commerc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Printing a string in reverse with recursion I printed a string in reverse with a loop which was pretty easy, but I thought of optimizing my code by making it neater and shorter. So, after my research on the best way, I found this recursion stuff which is a perfect substitute for loops/iterations. I am new to it but ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JPA Grouping to a list I have following entity (and corresponding table):
@Setter
@Getter
@Table(name = "BOOKING")
public class Booking
{
private UUID uuid;
private String taxNumber;
private String amount;
/* Some other fields we ignore for this question */
}
I want to group these entities b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python: Formating totals to showcase different formulas per row rather than just the total sums I have a large dataset with different rows that I created using formulas and the grouped by function
# Create new column "iCPI"
grouped_sums['iCPI'] = grouped_sums['Budget Delivered'] / grouped_sums['Incr Conversions']
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React useApi Hook results in endless loop when used in useEffect I created a react hook to perform api calls inspired by this article.
The hook looks as followed:
function useApi<T>(apiFunc: (...args: Array<any>) => Promise<AxiosResponse<T>>) {
const [data, setData] = useState<T | null>(null);
const [error, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rss feed 404 issue in wordpress blogs and redirection Well I have a blog in WordPress but whenever I am trying to open feed by using /feed in my url its showing 404 error
I tried flushing the permalinks but it didn't worked
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75594368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to launch an Activity from Service which uses WindowManager android? I am using a Service which has windowmanager. I am passing an intent to open a new Activity. But issue is Activity is opening at backside of window manager view.
Let me know how to fix this issue?
Code Snippet:
public final class OverlayServic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Normalize FIX logs I have a log file (FIX) that I'm trying to convert to csv with headers for example:
8=FIX.4.2|9=435|35=8|34=8766|49=SENDERCOMPID|50=ET1|52=20230228-14:31:17.796|56=TARGETCOMPID|
8=FIX.4.2|9=435|35=8|34=8767|49=SENDERCOMPID|50=ET1|52=20230228-14:31:17.796|56=TARGETCOMPID|
8=FIX.4.2|9=435|35=8|34=87... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: CodeArtifact Unlisted External Repositories https://docs.aws.amazon.com/codeartifact/latest/ug/external-connection.html lists public repos that can be added as external repositories.
How can I add an unlisted repo to my CodeArtifact, e.g. Clojars.
Note: Clojars for humans is https://clojars.org, packages at https://... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: nexus service failed to start version 2.14.15-01 I am using java 8:
C:\WINDOWS\system32>java -version
java version “1.8.0_202”
Java™ SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot™ 64-Bit Server VM (build 25.202-b08, mixed mode)
I have installed:
C:\Program Files\Java\jdk1.8.0_202
In my nexus-2.14.15-01 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Visual Studio Installer project not including all files for WinForms hosted Blazor I have a Blazor app that I have hosted in a WinForms app using BlazorWebView. I am trying to create an .msi to install the app on a desktop using a Visual Studio Installer Project in VS2022.
If I publish the WinForms app directly to a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I use layout gravity for image in ImageView inside constraintLayout? I have a Constraint Layout inside which I have ImageView, Text View and another TextView all arranged vertically below one another respectively.
I populated the ImageView using a vector drawable, but its populated in center of the ImageView... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a limit to subroutine arguments in FORTRAN II? Seems like after six arguments, gfortran doesn't like it I'm starting to learn classic Fortran and, after reading and learning most of FORTRAN I, I've started working with FORTRAN II (well, technically it's FORTRAN 77 but I'm limiting my instruction set to the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Selecting one of multiple rows of a dataframe that have same value I have a program that runs SQL queries and creates a df from the results. My df look like this:
ID
Title
Value
ID1
T1
V1
ID2
T2
V2
Now, I want to check if there is a combination of ID and Title that appears together more than once. For ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Grafana Heatmap for 24 hs vs dates Sorry, I have this issue with hourly heatmap and carpet plot when trying to graph a 24 hs vs N days graph:
I set Grafana dashboard to UTC to obtain my data that has dates in UTC. But when they are graphed, it converts my data to browser time, so it appears that something that was a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the best practise for mybatis mapper xml files? I'm a bit confused about mybatis mapper xml files.
Is it better to have each class in a separate mapper file like below:
<mappers>
<mapper resource="org/mybatis/builder/AuthorMapper.xml"/>
<mapper resource="org/mybatis/builder/BlogMapper.xml"/>
<mapper re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Either my Jest plugin works or my npm run test in Angular 14 project I'm in an Angular Jest configuration paradoxon please help me.
I am using Jest (Orta) plugin in VSCode for my Angular 14 project,
but I need to make sure that my test are working fine from the command line as well.
If I fix one, the other is unable... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Separate the results of VNCoreMLRequest I am trying to count the number of spokes of multiple objects on a button tap. But with the implementation that I have done, I am able to get the total number of spokes only and not able to segregate it. The code that I have done is as follows.
guard let pixelBuffer = currentB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594395",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Intellij IDEA: Kotlin REPL error "Classes up-to-date check" "Cannot find IntelliJ IDEA project files" This is my first time using Intellij and Kotlin REPL, however I am having this error that I don't know how to fix if anyone can help me. I am on windows using java 17 jdk(https://i.stack.imgur.com/C9jLL.png)
If anyo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Ensure execution order of some asynchronous tasks, but not all Say I have the following code in a python function:
await asyncio.gather(
task1(),
task2(),
task3()
)
Where task1 will run an infinite loop to receive messages from a ws server and task2 is a function with a finite loop that returns a boolea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get product custom checkout field values as variables in whatsapp order plugin WooCommerce I explain my situation:
I added an extra field in the checkout of a website with a plugin called "Checkout Field Editor for WooCommerce", the plugin perfectly creates and displays the field that I have created for the checkout... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Error while trying to configure WebDriver on google colab The code I wrote on google colab:
!pip install selenium
!apt-get update
!apt install chromium-chromedriver
from selenium import webdriver
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument('--headless')
chrome_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PayPal later payment behavior and next_billing_date value I am working on a PayPal Subscription integration. Please consider the following scenario:
Suppose, I have subscribed to a service with successful a payment. My next_billing_date was on the 1st of February 2023, 10 AM GMT. The payment has failed for some reas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why are my red and green targets not updating the score when tapped on the redDot? I'm making a game where if a user taps on one of the red Dots on the screen in the middle of a shotSlot depending on whether it was a red target the score will go down by one and if it's a green Target the score goes up one. But for s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: How can I use a separate json file as a variable within my twig file? I have a twig file in which I have included json which is set as a variable and accessed within the file.
{% set header_links = {
'study': {
'main_menu': {
'menu_links': [
{
'title' : "L... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter column with spaceBetween leaves white space at the bottom so I have a column widget containing two items inside a container and I want these items to be spaced between so I added the MainAxisAlignment.spaceBetween property to the column. It works as expected however I have a tiny white space at the end that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Raspberry Pi 4 with mutliple eth interfaces all have another ip The scenario is that I do have two Raspi 4 bullseye. The first Raspi is connected via the eth0 interface to a switch.The second Raspi is connected to the same switch with the eth0 interface and two USB/ETH interfaces eth1 and eth2.
I want that ervery et... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: docker run --env-file /path/to/file.env fails with "no such file or directory" I'm trying to run a docker image on a Debian server. The preproduced image has been pulled from Docker Hub.
The cmd line is (stripped to the bones):
sudo docker run -d -p 8190:433 --env-file /path/to/file.env my-image
/path/to/file.env i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I cascade information from one column to another with datatable? I am using datatable for my project and filtering the columns on top. The filtering works well but the columns do not cascade.
Is there a way to cascade the information from one column to another (depending upon the selection). For example, if I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Blurry image on deploy on gh pages in React I'm having an issue with the deployed version of my Gatsby blog on github pages.
I'm using gatsby-remark-images to add images in my posts.
But when i deploy it, the image is blurry. I also have a bug regarding the favicon. Everything works fine locally.
https://lentsius-ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: With cte, temptable or subquery I have a question regarding "subqueries" in SQL. Lets say I want to write a query that will use subqueries. Which of the methods should I use for the best performance?
1)
SELECT a.name, a.surname
FROM (
SELECT tab1.ID, tab1.name, tab2.surname
FROM tab1
INNER JOIN tab2 on tab1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add tooltip to TextBoxFor Input Background Image I have requirements that I put an image (circle with ?) inside an input using a TextBoxFor.
I was able to do that by using CSS:
.real-input {
background-image: url("/images/QuestionBubble.png");
background-position: 296px 5px;
background-repeat: no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gmail API From Server Side I am sending an email with no problem, building a mime message (I used PHP_Mailer as it was already on the server and just did $mime_email = $php_mailer->GetSentMIMEMessage();) and sending it with (works fine):
$objGMail = new Google_Service_Gmail($client);
// The message needs to be encod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: lyric search algorithm:prompt to real lyric I want to make a lyric search tool.
In other words,it is means that give some prompts and get some lyrics which exist in the real world.
For example:
Input: some lyrics from coldplay ,give me power
Output:
Lights will guide you home
And ignite your bones
And I will try to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: R shiny DT::datatable callback for collapsing rowgroups not working with semantic.dashboard I am trying to use a callback in my shiny dashboard to collapse the rows in a datatable.
I found that the callback works if I use shinydashboard but not when I semantic.dashboard library.
library(stringr)
library(glue)
librar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android doesn't retrieve the right access token for Azure AD authentication I am developing an Android application that uses MSAL for Android. A user authenticates himself via this library to get an access token, this token is then used for authorization with the Sharepoint Api.
I have an Azure AD registration setup... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I check if an optional implemented method is not defined more elegantly? I have an Angular based Web Application based on Typescript, where I have an Interface, which has some methods like this:
export interface ComponentBase {
componentInit(data: any): void;
componentPause?(data: any): void;
component... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594436",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Amazon LightSail 3 Instances I have a question regarding the aws lightsail, Can I setup 4 instances or more like the following structure:
*
*2 servers for web management
*3 servers for mongo database
And link all together like ec2 or we cannot do that in lightsail service?
Thanks
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75594438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Navigation not working in Jetpack Compose Trying to use NavGraph and BottomNavigation. The home screen is displayed correctly. When I try to click a button and navigate, an error occurs
java.lang.NullPointerException
at androidx.navigation.NavController.navigate(NavController.kt:1652)
Two screens with inscriptions. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: HelmDeploy@0 Azure DevOps Task uninstall not working I try to uninstall a helm chart with my azure devops pipeline with this task:
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/helm-deploy-v0?view=azure-pipelines
Sadly it is not working as documented.
My error is:
##[error]Error: "helm uni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75594443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |