text string | meta dict |
|---|---|
Q: Vscode extension to highlight any css errors in React.js I have this line of code in React.js
<button style={{ fontsize: '50px', width: '60px', height: '60px' }}>
It't not detecting the error fontsize should be fontSize. Is there any extension that would detect this error?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75631792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you redirect traffic to a different IP for the same domain after initial contact? The scenario is that we have a custom authentication service hosted on 1.2.3.4 and registered to the domain mycoolsite.com. Once someone has authenticated and we've loaded their info, we'd like to push all future traffic to 1.2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Materialized view query contains unsupported feature Big Query I am working on BigQuery trying to create a materialized view but I am getting an error and I don't know why.
Here's the code:
CREATE MATERIALIZED VIEW
new_view
OPTIONS (enable_refresh = true, refresh_interval_minutes = 360) AS
WITH data as (SELECT
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Finding the values of neurons using keras I have a very simple neural net:
model=Sequential()
model.add(Dense(units=2, activation='relu', input_dim=2)
model.add(Dense(units=1, activation='sigmoid'))
Basically I have an input layer with 2 values, a hidden layer with 2 neurons, and an output layer with one.
print(mod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Generate APK with files (json) in Unity 3D I have a question about my project, to put it in context I have .json files in the Assets folder, although I think they should be in Resources. The thing is that when I test my project on the Oculus, reading the files works, but when I generate the apk and run the game, it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to see the Logs of Node js Server in Linux When running in background (Vs Code is Closed)
*
*I have created a node js server and it is running on the localhost:3000
*Now i closed the vscode window where i was able to see the logs of api requests.
*After Closing vscode windows the node js server is running in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to shuffle csv columns using shell command? I am currently using the below shell command to merge two csv file, it combines two csv into the one. And records will be written in turn
paste -d '\n' R-1.csv R-2.csv | sed '1d' > new.csv
I am looking for an option (possibly shell command) to shuffle only o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Show notification when AppLifecycleState becomes detached For iOS I want to show a notification when the user kills the app (swipe up). I am using flutter_local_notification to send the notification, however, there is not enough time between receiving 'didChangeAppLifecycleState(AppLifecycleState.detached)' and flu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I end the timer and make the application execute commands after the timer ends? After the timer end, it continues to count with negative values, and the Toast command is not executed!!
Java file
package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PostgreSQL Row-Level Security is NOT Using Table Indexes I have the following table with a million rows of data.
SELECT COUNT(*) FROM people; -- 1,000,000 rows
I have created the following 2 indexes:
Without the RLS enabled, I checked the explain plan of the following query and you can see that it is using the ind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MariaDB Subquery with limit and offset and order by is not working, returns all records to outer query with count and group by and order I am doing Ajax which brings in only the newly added records. I am doing a subquery that intends to filter out the previously processed data by sorting data by ID, skipping previou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Session count climbs continuously for Spring JmsListeners in ActiveMQ Artemis So I'm trying to debug why the broker heap is blowing up after some time.
I'm testing Spring's JmsListeners connecting to an ActiveMQ Artemis broker over the OpenWire protocol. What I'm seeing from the admin console is the number of connec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OverlayEntry not allow run action of behind widget I have an OverlayEntry implementation and I need that when I tap in the background, the overlayEntry is removed and the widget action behind it works.
OverlayEntry _makeOverlay() {
show = true;
return OverlayEntry(
maintainState: true,
builder: (context) => Stac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to avoid Nginx multiple responses Consider a similar HTTP request:
POST / HTTP/1.1
Host: 127.0.0.1
Connection: keep-alive
Accept: */*
User-Agent: NonExistent Client
Content-Length: 4
foo=bar
As you can see, the request is invalid, eg. the payload length is 7 bytes, but CL header contains only 4.
Nginx gives tw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Datatables does not retain the selected filter column values if the value has special characters I am using cascading datatables. It works fine. It appears, however, that if I select a value under Name or Office, the selected value is not retained in the dropdown menu. However, if I select Postion, it retains the se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Class instance seems to be reset when using Kotlin and Spring Boot dependency injection I am creating/modifying an existing application using Kotlin with Spring Boot. I have annotated a class with @RestController, and am using @Resource to inject the handler for the class as a dependency.
However, while handling an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: phone field is not displaying in stripe checkout page javascript strikeCheckout.open({
name: this.product.product_name,
description: 'Payment widgets',
amount: +amount * 100,
phone:'',
address: {
mode: 'shipping',
},
currency:'inr'
});
I am using this code base all fields are visible except phone,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a PDF file property that causes Web browsers to REFUSE to open it To PDF experts: is there a setting you can include in a PDF file that will trigger a browser behaviour that the PDF be downloaded, not opened natively in the browser's "fine for documents but terrible for PDFs with any interactivity" PDF rend... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Active Directory User Info I have my application setup to query AD for the logged in user's information, so I can take the last password set date and calculate when the user's password will expire. This feature runs fine under my id, but when an average (non-admin) user logs in the ADUser information indicates that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why @echo appears in output to stdout in my Makefile? i created a new git repo where i want to add all my terminal
tools. I implement one makefile to compile automatically all
tools i add to src-folder. It works but i have one issue i
really dont understand.
If there is more as one tool in src folder an "@echo" is
p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: maven dylib resource put in sources jar file, not "compiled" jar file When I build my package with mvn package and install locally with mvn install, it includes the resources I specify in the compiled jar.
Files that get installed:
Archive: ~/.m2/repository/cam/narzt/getargv/Getargv/0.1-SNAPSHOT/Getargv-0.1-SNAPSHO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Data logging data from BLE beacons I'm currently building some Bluetooth LE beacons that sense some parameters and send the data every 20s.
I'm trying to gather all the data to process it on a laptop / raspberry pi.
I essentially need to specifically target the beacons (I have LOTS of BLE devices around).
They will ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to remove the libtiff dependency in GDAL, to eliminate a security vulnerability? We have an application which uses the vector data capabilities of the ogr/gdal libraries. During a security scan, we found that libtiff - used by GDAL - has the following vulnerability:
Vulnerability Details : CVE-2022-3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I change the width of a tab during runtime in vb.net? This shouldn't be that difficult. I am looking in Microsoft's documentation and for an answer on the web. Nothing.
I can find the documentation for C# but not VB.
I am currently doing this to hide all tabs expect the current one. I then want to adjust t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to paste text into the descrpition field on Shopify by using Python Selenium I wanna create a bot by using Python Selenium, which be able to paste value I gave for it. Headings and to select item - clear to me, but I don't know, how to paste text in description. For example:
So how I can paste text? I can't pas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Exporting the results of TukeyHSD test with basic descriptive statistics by factor group to excel I would like to export the results of TukeyHSD test with basic descriptive statistics by grouping factor to excel file. I have a data frame with factor containing 16 levels:
main.data <- runif(256)
main.factor <- c("1s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FileNotFoundException for Maven remote repository Running into an issue trying to use a Maven remote repository for the first time. Whether I try to do a project build within NetBeans or at the command line, I get the same error:
Exception in thread "main" java.io.FileNotFoundException: https://artifactory.myCompany... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Flutter : how to crop decorationImage In flutter, I load an image that is larger than the screen. My thoughts were that I would load the image, and crop it (clip it) without any resizing.
When I run, flutter gives me the following message:
ββββββββ Exception caught by painting library βββββββββββββββββββββββββββββββ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: gql : How Return All The Arrays/Lists of an Object? How do I construct a GraphQl and mongoose.Schema to return all the arrays in the experiences object?
I have the following data in MongoDb.
{
"experiences": {
"Project0": [{
"title": "AA"
},
{
"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a column that captures record changes? I have a table with customer records. When changes occur to records, the old one is kept and 'closed out' by updating end_Dt and Current_Flag, then a new record is added with the appropriate changes.
See example below:
Cust_ID
Name
Age
Phone type
Start_Dt
End_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting the error: "Type 'T' does not satisfy the constraint 'Options.". After adding the cdk-table explorer. Angular Project import { Mime } from '../../mime';
import { Exporter } from './exporter';
export declare abstract class FileExporter<T> implements Exporter<*T*> {
constructor();
export(rows: Array<a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: while changing SDK 33 XML autocompletion is not working I hv version bubble bee Android after changing SDK 33 XML auto complete is not working plz help. when I change version 33 then Android application execute but XML auto complete doesn't work
I have tried all possible ways but i unable to find and solution
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75631868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to understatd that behavior of useState? There is a custom hook:
function useMap(mapRef, location) {
const [map, setMap] = useState(null)
useEffect(() => {
if (mapRef.current !== null && map === null) {
const instance = leaflet.createMap(mapRef, location)//ΡΠΏΡΠΎΡΠ΅Π½Π½ΡΠΉ ΠΊΠΎΠ΄
setMap(i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VS code highlighting braces react js html tags in red This is not a result of missing a closing tag. My code compiles perfectly and there are no terminal errors. I also haven't installed a syntax extension recently. It highlights all the HTML tags braces in all my files. This just came out of the blue. Any ideas as ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Bash command always evaluating else case I have this if else command that always result in "no match" although I am expecting it to say "match"
$ skopeo inspect docker://abc:xyz 2>&1
time="2023-03-03T04:33:12Z" level=fatal msg="Error parsing image name \"docker://abc:xyz\": reading manifest xyz in docker-release-abc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why angular is not defined in angular site image
as shown in the image
how can i define angular to use it ?
i use source = "angular" to mention angular sources with no hope
the js fie in this webpage starts with
use strict";(self.webpackChunksite=self.webpackChunksite||[]).push([["main"],{6403:(Te,Q,m)=>{m.d(Q,{bL:(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SELECT TOP from CTE based on subtraction of 2 column group by another I have data which is the results from a bunch of CTE and a query and this is where I am at.
Query (not including all previous CTE tables):
SELECT
CustomerCode,
SUBSTRING(SerialNumber, CHARINDEX('-', SerialNumber) + 1, 6) SerialNumber,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React doesn't fetch notes on first login I have made a note taking react app using MERN stack with react router dom v6. When I first visit the website I am redirected to the login page which is correct. When I log in the page rerenders but it is not rediredted to the home page. Although this behaviour happens only t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I get SQLcmd.exe to give me a boolean output: "1" if it found any matches to the query and "0" if it found no matches? I am trying to query a local SQL DB from a Windows batch file (.bat) that will iterate thru a number of call UCIDs and I need the results to be in the form that I can use programmaticly in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Download pdf instead of opening in browser I am trying to download a tiff and pdf in my javascript but this only works for tiff files. The pdf ones open in the browser changing the view of my UI which is not desired. I am stuck with using IE 9 as that is only browser I can use in that environment.
<a href="<%=fileNa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python min() function returns incorrect results I Am writing a python program that auto adjusts it's learning rate to find the best in the least number of iterations.
from random import randint, seed
from matplotlib.pyplot import plot, show, xlabel, ylabel
#NumIN must be a multiple of ExpOut
#Changing seed may caus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: VS Code User Snippet - Using Snippet Variable inside RegEx of Variable Transformation I want to make a user snippet in VS Code, which adds C# namespace at the top.
For this I need VS Code to give me the project root directory name until the directory in which the current file exists.
For example if the project direc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What do I do if I ran source mypython/bin/activate in my root directory? I realized that since I used conda to install everything, all I had to do was write out
conda activate virtualenvironmentname
But being the silly monkey I am, I went and cd.. until I was in the most root(iest?) directory and ran source mypython... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Checklist problem. Item remains on list after it has been accomplished I'm working with Google Forms. I have a wish list of items to be donated for a non-profit. I would like people to select an item to donate, click on the [ ] and then have that line item deleted from the form. I am receiving the proper email ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631891",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error while installing RAD Studio Community Edition I'm not sure if I'm asking my question in a right place or not, however, this is what I am facing now:
I was working on a FireMonkey project (to be specific, I was changing and designing the interface in Android Phone view) and suddenly I got an error and as far as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Powershell WebRequest Double Header Use
*
*'X-Forwarded-Host' = 'mywebsite.com'
*
Duplicate keys 'X-Forwarded-Host' are not allowed in hash literals.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : DuplicateKeyInHashLiteral
I need to use a header twice... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get union of value types of a nested object? Given an object like this:
const deepNestedObject = {
a: "value",
b: {
c: "nestedvalue"
d: {
e: "deepNestedValue"
}
}
}
How do I generate a union type of specifically only the non-object values at the edge
type EdgeValueUnion = DeepValueOf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can a same class object instance support function overload of different return value qualifier? Assume that
struct MyTest {
int& getValue(int n) {
std:cout<< "called non-const function" << '\n';
return data[n];
}
const int& getValue(int n) {
std:cout<< "called const function" << '\n';
return... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How does == works in python? If i want to compare two long strings (e.g., st1 and st2, each string with few hundred characters) using == in python, does python compares these two long strings? Does python compare it character by character, or memory block by memory block?
st1: sfsdbabadfabadfafassa....
st2: sfsdbaba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Adding readonly attribute using Azure Functions OpenAPI extension We are migrating an Azure Function app from .NET Framework 4.8 to .NET 6.0.
The old version uses several custom attributes on the model properties to control what is shown in the generated swagger OpenAPI 2.0 documentation - including "Required" and "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Github Action fails to build on Mac, but works on Windows and Linux -> ld: symbol(s) not found for architecture arm64 So, I'm building part of an application I'm working on using a Github Action. This Github Action fetches libraries used from conan center and then build a lib for the use within a Godot 3 Programm. T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: create_function transformed in PHP 8.2 how can i transform the function create_function in PHP 8.2 which give a fatal error ?
add_filter( 'pre_site_transient_update_themes', create_function( '$a', "return null;" ) )
Thanks a lot
Regards
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75631907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add MinGW compiler to Eclipse C++ on Ubuntu? I like to program C++ applications, that can be exported to Linux and Windows (no cross compiling; I have Windows 10 installed on my PC next to Ubuntu 22.04). I use Eclipse C++ 2019-12 (newer versions don't work for some reason) and MinGW is already installed on my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ERROR: prepared statement_* doesn't exists I am 4 days can't resolve my issue and sadly, but chatGPT also weak on this.
In short:
I have Go, Gin-gonic v1.9.0 API which using Gorm ORM v1.24.5 and Postgresql server v14 hosted on the Digitalocean. I also enabled the PgBouncer feature with pool_mode = transaction for a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Warning [CS8622] caused by NotNullWhenAttribute Is this a bug in the compiler, or am I missing something?
public delegate bool Lambda<TState>([NotNullWhen(true)] out TState? state);
class Foo
{
void Bar()
{
var lambda = new Lambda<string>(
(out string? state) =>
{
state = default;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create and Access TFRecords with .nii fMRI files I am currently trying to create a TFRecord dataset of .nii files.
the files are 32 x 64 x 64.
this is how I created the TFRecord
def createDataRecord(pathOut, dataList):
# creates the actual data record
writer = tf.io.TFRecordWriter(pathOut) # writer
for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Verify android version kotlin Android 33 I had a problem recently and I couldn't get an easy answer on the internet, I come to share my experience.
I needed to check the android version via code with all the ways I found on the internet were deprecated, here's the way I found current for this simple check
ResoluΓ§Γ£o ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to have different camera angles for different characters? I'm working on a 3D game for a school project where there are three selectable characters, all of different sizes, and I have written some code to make it so that the camera is attached to the character that was selected.
An issue that I came a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Telegram Bot does not receive updates for inlineKeyButton with url click I have my telegram bot in chat and I need receive updates when some user click inlineKeyButton with url. But I can not receive this updates with webhook. I can receive update for callbackQuery, bit not for url. Are here some ways to receve upda... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: wxPython Window runs slow when thread loop is running in background I have a chat program I made that works the way I want it, but it runs really slow. For instance, when a few chat messages get added to the window, resizing the window gets really slow and laggy. The effect worsens as more chat messages get added.
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add elements of an array to another array's element in Swift? let prices = [11, 22, 12, 32, 1, 5, 26] //this is a collection of initial prices of some items
let increasingAmount = prices.map{($0 * 0.5)} //this constant stores the amount the initial price will increase
I would like to add the increasingAmou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to parse JSON schedule timestamps data with Python 3 into a list of days & times per day I have a data sourcing project I thought would be good for a first foray into Python. I have managed to work out the downloading and file writing (largely with info from this site), but after months of on and off tinkering, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Delete hook for Azure Managed Apps I run a deployment script as part of my managed apps that do a few things. On a deletion of the managed application, I want to undo those few things. Is there a way to hook or know when the delete is happening so that I may run either the same or different deployment script?
I see ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Permanent youtube live chat web embed? I have tried this in the past and failed, reaching out to SO for some peer review.
I am able to embed my youtube livestream chat using the following:
<iframe src="https://www.youtube.com/live_chat?v=MIky1vb3Tds&embed_domain=justdalek.com"width="100%" height="700"></iframe>
Tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to sum up multiple datasets [0, 1, 2, 3, 4...] with always data [0] in Javascript I am still a rookie and need some help.
There is my variable chartdata as starting point:
var chartdata = {
labels: [
"Bar 1",
"Bar 2",
"Bar 3",
"Bar 4",
],
datasets: [
{
label: "Green data",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Eliminate redundant null checks: method decomposition and nullability in c# Everything about nullability is great in c#. But how should we deal with it when decomposing code?
Imagine that we have one big method. It receives some object, check important fields for null and than processes them. Property is considered ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When checking ssh to github connection with ssh -T git@github.com does git@github.com refer to github account email or do we type the command as is? I typed as is:
ssh -T git@github.com
But I get:
Received disconnect from github ip address ports: Bye Bye
Disconnected from ips and ports.
I have tried reinstalling v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PWABuilder app hanging sometimes after first opening the app on iphone We have built a new Progressive Web Application (PWA) hosted in our SAP Spartacus platform, and we used the PWABuilder.com site to create a deployment package for the Apple app store so that our customers could find the app there. The creation of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Listening for a JS event implemented via GTM and tracking it in GA4 My page integrates an app which provides a JS SDK.
This SDK allows me to listen for events and do callbacks like this one:
function doThis() {
// tell GA4 the event happened
}
$myApp.push(["on", "event:triggered", doThis]);
I've implemented G... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I associate flutter with the api on my localhost? I wanted to communicate with flutter the asp.net core web api I created with the C# Entityframework library to be able to do CRUD operations. But I can't list data in mobile app because 'snapshot.hasData' returns false value. When I send mock API to 'url' var... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: problem in parallelising n-body rust code I want to parallelise the n-body code. I understand that in the n-body problem, the next state depends on the previous state so it is not possible to parallelise the entire code. But I think the different calculations in each state can be parallelised. Can somebody please he... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: PHP Imagemagick work but generate wrong image (somme noise) PHP:
# convert -version
Version: ImageMagick 7.0.7-25 Q16 x86_64 2020-04-18 http://www.imagemagick.org
Copyright: Β© 1999-2018 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenCL OpenMP
Delegates (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: When running a For loop in Big Query the sql_expression_list is not being evaluated the same as if it was run alone I am running a For loop to gather a table_expression from a dataset's information schema that contains the names of columns that are of ARRAY type in a table. I am able to generate this table_expressio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Blazor Page Loaded before localstorage executes and fails to refresh My simple blazor.razor page can read local storage but seems to do after page is displayed. It takes a button to retrieve value. Seems like I should be able to force a refresh. But how ?
<h3>LocalStorageWithBlazoredStorage</h3>
@if (storeValue!=nul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to exclude NPM markdown-it-anchor plugin from some pages Adding the markdown-it-anchor plugin alters every heading by adding an id attribute to it. But what if I only want to do this for specific pages and not everything on my website?
Is there a way to only add it in some places? I am new to using npm plugins.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Color Dropdown in Unity I am trying to make a dropdown menu to change the color of my player in unity but it wont work. Here is my code:
`using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class colorSelect : MonoBehaviour
{
public Dropdown ColorDropdown;... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: getting space at the bottom of page I am getting unwanted white space of about 150px at the bottom of my page. I have tried every possible way to remove that but Iam not able to as I am not getting where is this white space is coming from.
image showing inspect & error
A: Actually, I found the error in php section ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How would I insert an svg into a tkinter button and then recolor the svg? In my figma project I made use of google material icons to make parts of my ui (mostly buttons) that change colour depending on the state of the button (e.g. using event bind)
How would I use the svg files to do this? If I cant insert svg file... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass Wordpress shortcode parameter - multiple files I try to change my wordrpess shortcode function to one with parameters like the following one
[p_s_t_show post_ids_in_shortcode="2310, 2312, 2314, 2316, 2318, 2320, 2322, 2324, 2326"]
Im using the following two functions in two different files, shortcode.ph... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HTML/CSS acts differently if I move the div into it's own line in the code I have the following HTML/CSS structure:
.im-wrapper {
width: 100%;
height: 100%;
position: fixed;
overflow: hidden auto;
top: 0;
left: 0;
}
.im-backdrop {
background-color: var(--darkblack);
opacity: 80%;
width: 100%;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631983",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASP.NET Core React Template with MVC Controllers & Views in same project Started with the ASP.Net Core with React (v6.0) template and am trying to add MVC Controllers & Views.
Have Added services.AddControllersWithViews() in ConfigureServices and the following is my Configure code:
if (!app.Environment.IsDevelopmen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python Azure Function - Decode Base64 String I am developing an Azure function which takes in a request body in this format:
"body": {
"$content-type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"$content": "UEsDBBQACAgIAEBPY1YAAAAAAAAAAAAAAAAYAAAAeGwvZHJhd2luZ3MvZHJhd2luZzEueG1sndB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631986",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Opening another application after pressing a button macOS When you press the following button as an example:
Button("One") {
// OPEN UP SAFARI (as an example)
}
I want it to open up an app like safari or notes. This app is only for me when im trying to open all the apps I use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Im having an error with my PHP form and express js app api I have attempted to create an endpoint API that when sent a post request via my PHP website it would update a file locally on the server the express app is hosted.
I am met with an error when sending the form data though...
The error is as follows:
API Error... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I persist the value of a variable updated when passing it down to a child component in ReactJs? I'm trying to pass down the variable selectedContactId from a useState. I'm console logging the variable in the parent component and it is updating its value and then I'm console logging the prop received in the c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Callgrind and objdump don't point to the same address on ARMv7 When I run Callgrind on a simple program on an ARMv7 system, I get the following dump (extract):
ob=(6) /lib/arm-linux-gnueabihf/libm-2.31.so
fl=(68) ./csu/../sysdeps/arm/crti.S
fn=(280) 0x00007570
0x7570 64 1
0x7574 65 1
0x7578 67 1
0x757c 68 1
0x7580 6... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Incorrect number of dimensions error with bootstrap method using R I am a newbie in programming with R, and trying to reproduce the values from research paper (Eur. Phys. J. C (2022) 82:1106 https://doi.org/10.1140/epjc/s10052-022-11071-9), where the maximum frequency values (MFV) statistic has been applied. The aut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: swiftui double with 7 decimals without rounding I have a number with 7 decimals in SwuifUI:
@State var newLatitude : Double = 47.6364658
Text("\(newLatitude)") //this displays 47.636466
But this will round automatically to 47.636466 that only has 6 decimals
How can I avoid this?
Use another data type? I still want... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: MongoDB , $project a field depending on the existance of another field As the title says, i want to project for example the "y" field only if "x" field does not exsist.
[
{
"_id": "1",
"y": "project"
},
{
"_id": "2",
"x": "has x",
"y": "don't project"
}
]
Thanks in advance.
A: If I've u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do higher order functions in Swift respect the order? Not a coding question but it's something that I couldn't find an answer to.
Do higher order functions like .map(), .filter(), .reduce() respect the order of given collection?
Let's assume that we have an array of integers as follows:
let arrayOfIntegers: [Int] = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I get the 32-bit little-endian value from hex in R? I have a data file with the following hex values in bytes 17:20
92 02 00 00
According to https://hexed.it/, the 32-bit integer of these bytes (signed or unsigned) is 658. How can I get the value 658 from these raw values? Note that this is Little-endian o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# HttpWebRequest authenticate against htaccess protected page and handle redirect I'm trying to write code for a page on our website which will pass users through to an htacess protected page on another site and programmatically authenticate. This is my first time doing something like this, so apologies if I'm mis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reference connection string in EF code first migration code I want to use the current connection string that was supplied to Update-Database via the -ConnectionString parameter in come custom code I am inserting into the DbMigration.Up() method. Is there a reference to this that is available there?
ConfigurationMan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to allow user with read access to write log note on Odoo object? I have a custom resource named x_sale_order, the view contains this code so I have a left side bar with the log notes.
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="activity_ids" wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use function from parent Vue component in child? I've got a problem. In parent component I get some data, calculate them and then return to props for child component. Now I call this function on button click, but I want to call it automatically for example every 1 sec. How can I do it?
Parent:
<template>
<Dia... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I make regex pattern with characters, numbers, white space, double quotes, ?, !, commas, hyphen, dots, @ and & How can I make regex pattern allowing following characters, numbers, white space, double quotes, ?, !, commas, hyphen, dots, @ and &
<textarea
id="comments"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to tell which OptionMenu was changed using python and tkinter I am building a spreadsheet of sorts. One of the columns has an OptionMenu in each cell. Each OptionMenu has its own class member StringVar (in an array) associated with it. All OptionMenus use a single callback.
How do I know which OptionMenu (and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Html Form Posting Values to Django Backend only when submitted twice, or rather hit back to form and then submit again So I have stumbled upon a case where my form does not post values after I click the submit button once, it goes to the next page indeed but my Django View can not fetch the post values.
But soon aft... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OAuth2 Hybrid flow Microsoft Learn uses a term Hybrid flow as if it is a combination of Oauth's Implicit Grant and Authorization Code Flow. I can not find Hybrid flow documented in the standard however the standard does say, " The implicit grant is a simplified authorization code flow optimized for clients implement... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Profile performance on Heroku with Node JS? (with Typescript, fwiw) I've looked through Google search results and Stackoverflow, but I can't find a clear solution to this problem. I want to profile a running Node JS web server on Heroku to identify the slow parts. This is a hobby project, so I'm a little reluctant t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |