text string | meta dict |
|---|---|
Q: How to read data from JOSN file with Angular Observable I have a JSON file called reportConfig. I want read that data using angular and typescript.
Here I have added my JSON file
{
"accessToken": "12345",
"style": "color",
"projection": "globe",
"zoomLevel": 5
"markerScale": 1.1
}
and created new class ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pandas record_path for multiple array in JSON data How can I read a nested JSON file in a pandas dataframe?. I tried with pd.json_normalize(results,record_path= option but unable to get auto_scan_date. i just want to understand path and help in this case.
here below the bit sample JSON content
[{
"owner": "admin@1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: App is crashing for users and crashlytics is showing closure error. How can I solve this? I am getting the following error in my app.
DeatailView.swift - Line 198
closure #1 in closure #1 in closure #1 in closure #1 in closure #2 in closure #1 in DetailView.resultView.getter + 198
Unsure why this error is coming an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: HttpClient consume Web Api with ssl certifcate from IIS I am ussing NET 6.0 to build a Web Api and a Client application to consume it.
I have deployed the web api into a webservice inside my local network using IIS
The SSL certifate used is the certificate proporcionated by IIS by default
I get the certificate down... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Issue with metricbeat data visualization in OpenSearch dashboards Metricbeat sent some data through logstash into opensearch.
After first hit I set proper Index Pattern to read incoming data:
Everything looks fine until I want to create a vizualization (line chart or table) for this data:
Looks like there is some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reshaping spectogram image with shape (256 , 646) to input in a CNN I am trying to address an audio classification problem by using a spectogram in a CNN. I have been able to generate the spectogram using the Librosa Library with the output shape (256 , 646).
## Function to make MEL spectogram
def mel_spec(a_f):
#... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Failed to execute 'open' on 'USBDevice': Access denied I am trying to access a smart card reader on the client with the Web USB API in order to establish a connection with the server and be able to send commands to the smart card, but it fails to execute device.open().
I attached this code to a button click, and I t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to TakeOff a Quadcopter steadly in stabilized mode with using gazebo and sitl? In our project we want to design a software about indoor autonomous drone. I want to test my softares on gazebo so I use sitl for that. But when I give takeoff command in stabilize mode with using rc_channels_override message , the dr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to draw & edit polygons with react-native-maps? First of all, is this doable? I haven't seen any examples anywhere at all. Can someone help me with this one?
And their docs dont seem to include any draw/edit functions.
<MapView
provider={PROVIDER_GOOGLE} // remove if not using Google Maps
style={style.full... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ref doesnt set value to variable in useEffect I've been doing some React crash course and got in a lot of problems.
To start with,
observer.current.observe(ElemenentIGotWithRef.current)
wasn't working in useEffect, because for some reasons the current value wasn't set at the first render.
useEffect(()=>{
con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ERROR in node_modules/chart.js/types/adapters.d.ts:1:13 ERROR in node_modules/chart.js/types/adapters.d.ts:1:13 - error TS1005: '=' expected.
1 import type { ChartOptions } from './index.esm';
~
node_modules/chart.js/types/adapters.d.ts:1:35 - error TS1005: ';' expected.
1 import type { ChartOptions } from './index.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Calling an Oracle Procedure from SimpleJdbcCall with in out custom object I want to call this procedure. It uses the same custom object for input and ouput.
PROCEDURE P_DENOM (P_DATA IN OUT DENOM_TYPE)
IS
BEGIN
FOR I IN 1 .. P_DATA.COUNT
LOOP
P_DATA (i).name :=
PK.F_FFL (
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Functional test - Cookies not updating I have a "Remember my email" checkbox on my login form which when ticked off and login is successful, creates a cookie "loginData" to remember the user email (obviously). Although, when unchecked and login is successful, the authenticator (custom authenticator) looks for this "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "net.logstash.logback.encoder.LogstashEncoder" object is not assignable to a "ch.qos.logback.core.Appender" variable. when upgrading to spring boot 2 I've upgrade from spring boot 1.5.0 to 2.0.0 and I got this error :
ERROR in ch.qos.logback.core.joran.util.PropertySetter@6f01b95f - A "net.logstash.logback.encoder.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Compilation error for emplace_back on templated constructor of a templated class I am using https://github.com/ben-strasser/fast-cpp-csv-parser for parsing csv. I create a vector of CSVReader objects which I create using emplace_back (since copy, move are deleted). For some reason, the args passed in emplace_back is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627395",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I modify the error response for dto in NestJs? I have created a NestJs app having a few APIs.I need to modify the format of the error response.
Using an interceptor I was able to intercept the successful response and standardize as per my liking similar to the below format.
{
"statusCode": 400,
"data": [... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: i have to show feed category wise if flutter but , not able to do that with blogger api not able to create sorting category wise view in flutter with blogger API , some buddy help me ,
how to create category (lable) wise post in flutter
home_screen.dart
import 'package:flutter/material.dart';
import 'package:http/h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Merge certain columns of a pandas dataframe with data from another dataframe by condition I have the following challenge: I have two Pandas Dataframes with information about eg. chemical substances and related to some additional information. E.g. production region or country.
For example, like this:
data1 = {
'S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there any Platform or Web app where I can give credits (Tokens) to my users to buy and users can use them to place order? I am searching for any Platform or Web app where I can give credits to users (They can Buy credits like lets say 10 or 20) and then while placing the order they can use some of it and I can pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Pull data from wb to wb userform Ok, so I work with 2 different workbooks and primarily one worksheet in each. wb1=PickupForm (this is where the userform is at) ws = pickup. wb2 = sched pickup 03.05 ws = roadmap (holds schedule with different dates as headers in the columns...i.e. column b = header date)
How can I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why JobRunr jobs are showing with a status SUCCEEDED Even after failing? I have a Spring Boot application that uses the JobRunr library to run a set of background jobs. The application has no REST endpoints or any external-facing features. The primary job is a recurring job (R), which triggers several fire-and-forge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Hide&Unhide the Mobile browser Address bar based on scrolling? Iam working on a blog website project where in the home route there will be some scrollable contents. Once, user scrolls down I want to hide the address bar of mobile devices to get hidden first. Then once user scrolls up the address bar should ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I execute a function before ALL of my class functions in Dart? I need to run a certain function before every Function of my class. (Not once in a constructor). It basically needs to happen within that function but at the beginning.
I also don't want to do this:
class A {
shouldRunFirstFunction() {}
func... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is faster on million rows, filter rows by 1 varchar column or 2-3 integer columns On my database i have the following columns:
[int]userid, [int]value1id, [int]value2id, [int]value
My question is when using select/update/insert on million of rows what would be better for performance/overhead.
Using the database... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WinError 10049 when trying to connect to receive messages from multicast IP I have a bunch of devices that send messages using mDNS. i want to receive those messages. but the code always fails with OSError: [WinError 10049] The requested address is not valid in its context
import struct
import socket
MCAST_GRP = '2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Debugging a linked list add(int index, T data) method My problem is that the expected value is an IndexOutOfBoundsException but somehow I'm not getting that picked up in my conditionals at the start of my method.
This is the test case I'm not passing:
@Test(expected = IndexOutOfBoundsException.class)
public void... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Memory-Leak or LeakCanary Bug Here’s the situation:
*
*I’m using Navigation component, Airbnb Epoxy, TwoPaneSlidnig,
Databinding and MVVM architecture
*I have one Activity, few Fragments, two Navhost (one for detail-pane
and the main one)
Problem:
When I navigate to the other navhost, leakCanary give me a memory... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Auth0 for NextJs protected API route to nextjs API I have an application that has a NextJs front-end that use @auth0/nextjs-auth0 and a NestJS backend API that uses an AuthorizationGuard.
The NextJs authenticates the user correctly and using the Auth0 test token and postman I can connect to NestJs.
If pass the NextJ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to delete the connection between a database and a website? I have created a database connection on localhost, but is affecting the real one an a payed host. How can I delete this new connection ?
I have no access to the website anymore and the connection on localhost doesn’t allow me to see anything that has bee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Orcale Timestamp in Sync as input for Incremental Sync I have a table in a Oracle DB. This contains a column named "change_date" with the data type TIMESTAMP WITH TIME ZONE.
We are using the following ODBC driver: ojdbc10-19.16.0.0.jar. We are on prem.
I would like to use the column as input for the "incremental" fu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create input slider that changes values of css :before linear-gradient? I want to create a gradient effect using pseudo-element :before on an image that user would change by moving a slider input. I tried to get to it by following code, but no luck so far
var sliderValue = $('#range');
sliderValue.oninput ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Bug to initialize a variable in the Laminas Session I had a curious bug that happened in my code. I initialize a variable in the session in the controller. But when I retrieve the data in the view, the variable is equal to null.
The code of the Controller:
$session = new Container("exemple");
...
$session["data"] = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to catch MalformedJwtException in Spring Boot with custom exception handler I'm using Spring Boot 3.0.3, Java 17 and io.jsonwebtoken v0.11.5. I've implemented Spring Security and it works great. One thing that I would like to customize is a JSON response when there's no jwt token passed or when there's wrong ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get response from background.js I'm trying to send a request from popup.js to background.js:
chrome.runtime.sendMessage({
type: 'login',
data: { token: utoken, botname: botname }
}, function(response) {
console.log(response);
})
In background.js I send the request via fetch and return the response in pop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Could not load [com.google.common.util.concurrent.AbstractFuture$Failure$1] java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [com.google.common.util.concurrent.AbstractFuture$Failure$1]. The following stack trace is thrown for debugging... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How To Know When A C# Socket Server Has Sent The Full Message I have a remote TCP/IP socket that I am calling in C# with the below code:
public static async Task UseSocketClass(string ipString, int port, string message)
{
string response = "";
int received;
try
{
IPAddress ip = IPAddress.Pars... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Console.WriteLine("Hello, World!"); I don't know if it's an error, but Visual Studio Code isn't giving the whole code.
You see I'm just trying to learn c# I downloaded the .NET core6 and Visual Studio Code I've created a folder in a new console. But when I go to Visual Studio Code to open the file it gives me this:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I can't set icon in CDBSidebarMenuItem of React-Bootstrap SideBar I want to use SideBar of React-BootStrap.
And I refer to this site: https://www.devwares.com/blog/create-responsive-sidebar-in-react/
Here, it shows below code.
<CDBSidebarContent className="sidebar-content">
<CDBSidebarMenu>
<Na... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding a factor into the cut() function I have a data frame Base such as
ID Gender Strength
1 1 0 230
2 2 1 20
3 3 1 30
4 4 0 40
5 5 0 40
I want to create a new variable with the cut function to categorise people with more strength vs lower but divided by... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Extract info of a RFID Scan using the COM Port in C# I need to know how to make a program in C# where you can connect to an RFID Scanner by the COM Port and how to extract the info that it reads. Then, send the info you want to another outgoing port.
I tried many codes I found, but it just doesn't work.
A: To conne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Datadog Log based monitor using Terraform - invalid query I am trying to create a log-based monitor using the Datadog Terraform provider.
This is a simplified Terraform code as below:
resource "datadog_monitor" "monitor_error" {
name = "error log"
type = "log alert"
message ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: pydantic validation errors for a response model This is my function to create user in an API made with fastapi:
@router.post("/", response_model=schemas.UserResponse)
def create_user(user: schemas.UserCreate):
conn, cursor = get_db()
query = """SELECT * FROM users WHERE u_email = %s;"""
value = (user.ema... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: phaser-ui - Super expression must either be null or a function, not undefined I installed phaser-ui with npm install phaser-ui, but when I load it into my page (with a script tag), I get an error:
Super expression must either be null or a function, not undefined
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75627447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Method parameter in C# I was reading the official C# documentation by Microsoft on the topic of Method Parameters and I came across this paragram.
A class instance is a reference type, not a value type. When a reference type is passed by value to a method, the method receives a copy of the reference to the class in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: My if else statements keeps printing the wrong status I'm new to java language and we were tasked to create a java program that calculates your grade’s average and its corresponding status.
And every time the I run it it always shows the wrong corresponding status, here's the output of my program
Enter number of sub... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Need help cloning a PostgreSQL database using pgAdmin So I got a DB called 'lab1' that I try to clone into 'lab2'. I use pgAdmin as an IDE and whenever I try to run this code:
SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE datname = 'lab1';
I get this message:
Whenever I try to press 'continue' the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Connected Websocket in Delphi, but no data I am making first steps with websockets in a Delphi program, connected to an industrial device.
The device can be connected to using ws:// protocol, and will every second return a 500+/- byte JSON string. This is what I would like to listen to and display in a GUI. I will n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Toggling progress bar by clicking next/previous button How can I by clicking next/previous button toggle the progress bar data at the bottom to first/second circle? Probably I would need to change the architecture. Do I need to implement the logic to app.vue file? Now when clicking the circles don't change to green ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Alamofire 5.X Type of Expression is Ambiguous Without More Context I've been debugging this for hours and I have discovered I absolutely despise Swift's error message of Type of expression is ambiguous without more context ---- This code worked with Alamofire 3, 4, and obviously with Alamofire 5 there's some changes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: gradle build issues I have the problem that any kind of Gradle or Android builds fail. I have already tried adjusting the system environment variables and reinstalling and trying out both the android sdk versions (with android studio) and the java version but always the same problem. Android Studio are working fine.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Guideline 3.2 - Business [App Store - Rejection] We found in our review that your app is intended to be used by a specific business or organization, including partners, clients, or employees, but you've selected public distribution on the App Store in App Store Connect. Since the App Store is intended for apps with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Not able to change the visibility of my span when using fireEvent.mouseOver or userEvent.hover I am writing a test to check my component <Tooltip/>
Here's the component file:enter image description here
and here is the styledComponent:
import styled, {
css,
FlattenInterpolation,
FlattenSimpleInterpolation,
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reading JSON with Terraform jsondecode failing for valid JSON file I have a JSON file in S3 which looks like this:
{
"data_sources": [
{
"name": "monzo",
"tables": [
"transactions"
],
"format": "CSV",
"extension": "csv"
}
]
}
and I am trying to read it in Terraform ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to apply WAF policy to Front door? I have created the following resources in Azure portal:
*
*Function App (API to read data from BD and retrieves responses)
*API Management service (to handle basic API security)
*Front Door and CDN profiles (to make API security better)
*Front Door WAF policy (to apply spe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to precheck if a foreign key ID exists in its respective file or files, prior to post, using Entity Framework core? Let me explain, we are using a Blazor application which uses Api's to access the database through Entity Framework Core. I have an application that is importing data in from a spreadshee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: build failed due to wrong jvm target With Gradle 8 and Kotlin 1.8 I got an error when compiling
compileDebugJavaWithJavac' task (current target is 1.8) and 'kaptGenerateStubsDebugKotlin' task (current target is 17)
jvm target compatibility should be set to the same Java version.
This is a multi module project, and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot deploy to GitHub Packages with Maven Following this guide, I created a very simple GitHub Repo and tried to deploy to GitHub Packages.
However I'm getting continuously and randomly one of the following errors:
*
*Failed to deploy artifacts: Could not transfer artifact com.sadriu:packaging:pom:1.0.0 from/to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kusto update policy: ExtentsMoveByQuery fails I have created two update policy's that are run in a cascading manner and it worked fine. When I want to remove data from both of the source tables by setting a soft-delete period of 0s, the process seems to malfunction. Why?
I believe this error message is related:
ori... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: gorm orm : How to add where clause on associated or joined table I'm using Gorm and I want to do something like this:
SELECT *
FROM cities AS c
JOIN players as p ON c.player_id = p.id
WHERE p.last_login > "2023-01-01"
How do I do this in Gorm? The documentation on preloading sounds promising but it does n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I have hbase metadata in gcs from another environment. I want to create table from this but not sure how? I have a Hbase table extract in google cloud bucket from SIT environment. I want to create a hbase table using that but I am not sure how to do it. I tried creating dummy table and pushing the data inside of it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: start Django project in vs code Im trying to learn Django. I started a youtube tutorial managed to do some basic stuff etc. After closing the vs code, the server closed too. Now when I try to start the project using python manage.py runserver or python manage.py startapp, i get the error "zsh: command not found: pyt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Docker, Gitlab: How can I print ${CI_COMMIT_SHA} on my website? I want to display the value of Gitlab's variable CI_COMMIT_SHA on my website to know which website version is displayed at the moment.
To do this, I have this HTML snippet on my website:
<p>Hashcode2: current_hash_code2</p>
In my Dockerfile I want to r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Copy and paste text feature in terminal view using javascript I want to have the feature of copying and pasting text in the terminal view in multiple terminal views for this. I tried an approach, but it has not worked.
var data = (navigator.userAgent.toLowerCase().indexOf("msie") != -1 || navigator.userAgent.toLow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Camunda parallel gateway does not wait for all sequence flows I am implementing a bpmn process with camunda. My Workflow looks as follows:
As you see tasks A, B and C are user tasks which need to be completed. Sometimes these tasks need to be repeated so i modify the process instance via the rest api.
This modifica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MySQL query works fine one local windows dev environment, but not on linux server I'm working on a REST API using Node.js and TypeScript. I use Sequelize for my db stuff.
I have some queries (mostly raw queries executed through Sequelize) that run perfectly fine in my development environment (Windows 10 with the 10.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FlexRender Functional Component Tanstack React Table v8 I am rebuilding a react-table to v8 where one cell is a functional component, which shows the status, based on the Id value.
My Status component is defined like this:
function Status({ id }) {
const [status, setStatus] = useState("pending");
useEffect(() =>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Selenium C# select an element inside div Hello all I have a select where it was binded as follows in UI
<div class="choices form-group form-choices" data-type="select-one" dir="ltr" tabindex="-1" role="listbox" aria-haspopup="true" aria-expanded="false">
<div class="form-control ui fluid selection dropdown" tabind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Power Matrix Row showing repeating values [I have 2 Column Act 603000(Detailed) and Budget 603000 and I need to replace the repeating values to be either Blank or zero. I tried using (if ("hasonevalue") but hasn't worked.
my formula for Budget 603000 is
Budget 603000 =
Calculate([Budget],treatas(Values('Project look... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: ODI 12c export and import objects using Java SDK Hi I am trying to write a pure Java code that can run outside of odi studio to export and import specific objects like mapping variables procedures separately in to xml files.
Any help or code references will be appreciated?
A: The documentation for the ODI SDK provi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Minimax Tic-Tac-Toe issue; I'm currently making a Tic-Tac-Toe game and trying to impliment the minimax ai for it. Everything is working fine if the ai is going first and the player is going second, but if ai is second it just goes in a pattern [0][0] => [0][1] => [0][2] etc. If the human already filled this pattern ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regex to find second occurrence of a domain within a string I'm trying to extract the second occurrence of a web domain in a string with regex within Google App Script. In the below example you can see it is returning duckduckgo.com and chicaspoderosas.org
<a rel="nofollow" class="result__a" href="//duckduckgo.com/l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: perl glob files in directory I am using glob to read *_file.log exist in certain directory but below code seems not working.
Example path having these few files:
/user/home/xpath/logs/
abc_file.log
def_file.log
x.txt
Code:
my $home = "/user/home";
if (glob ("${home}/xpath/logs/\*_file.log")){
print "work\n";
}
els... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Which HTTP verb should I use to recover a resource that was deleted logically in a RESTful API with Nodejs and Express? So far, I've the following endpoints:
router
.post('/', serviceController.createNewService)
.patch('/:serviceId', serviceController.updateOneService)
.delete('/:serviceId', serviceCon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to sum elements in a column based on comparing criteria between sheets I have two sheets: Backlog and Sprint. The backlog items are numbered 1, 2, 3, 4 and so on, and the sprint items are numbered 1.1, 1.2, 1.3, 1.4 and so on.
In the backlog I need to sum the hours spent from column J3:J in the sprint sheet f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to perform an operation on every text element in the DOM? I am currently working on a chrome extension that censors swear words and images on a webpage.
For this purpose I need to process all text and images on the website through a bad word filter.
I tried using a recursive method for this. I am basically recur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ECR and JFROG INTEGRATION Getting the below error while integrating jfrog with ecr repository in the option jfrog remote repository
Error testing pull replication config: Unable to identify target URL as an Artifactory instance: HTTP/1.1 400 Bad Request
Giving ECR url as - https://940810086075.dkr.ecr.ap-northeast... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's a simple php code or algorithm for nesting rectangles? I'm looking for a php function that will take a list of m rectangles as an input in the form of (w x h)^m and outputs an efficient nesting of m-1 rectangles within up to n copies of the largest rectangle.
The function will output an optimal (minimising n)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: grid view hidden after click on page number index on grid view? I work on sp.net web form I face issue grid view Hidden after click on page number on grid view .
so when click search button data display success with pagination.
issue happen when try to navigate or click on any page on grid view control .
grid view ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kotlin : Groupby the objects by 2 values, perform sum and then map it to other object i am not very expert in kotlin collection functions so need some help:
Assume i have a data class:
data class transaction(val SenderName: String,val ReceiverName: String,val Amount: Int)
the list of transactions
val transactions =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JPA Batch update not working with native sql query I am using jpa/hibernate in my application and have enabled jdbc batching:
spring.jpa.properties.hibernate.jdbc.batch_size=100
however there are some sections in the code which still use Native sqls to update the DB and I noticed that batch update/insert is not work... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Loop with arrays not behaving as expected The original functioning code by VBasic2008 in the accepted answer.
I thought I'd understood the code, and have often modified it as necessary without problem. I'm now having trouble with the following:
For r = 1 To rCount
rString = CStr(sData(r, 3))
If InStr(rSt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What techniques can I use to increase the number of concurrent users my Socket.IO application can handle? I'm currently implementing real-time communication in my web application using Socket.IO, and I'm having trouble ensuring that my application can handle a large number of concurrent users. I've tried configuring... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Writing to nested object database as Json with using a Converter on Spring boot r2dbc This is my configuration
@Configuration
public class R2dbcConfig {
@Bean
public R2dbcCustomConversions r2dbcCustomConversions(Gson gson) {
List<Converter<?, ?>> converters = new ArrayList<>();
converters.add... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can i Fix This Bug:Value must be ≥ 0 enter image description here help me.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75627529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: What is the difference between starting Ignite using run.sh script inside docker image and using Ignition.Start() method? I know two ways to start Ignite cluster - one is running it as a docker container using run.sh script inside apacheignite/ignite image and the other is by running Ignition.Start() method inside t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: filter, sort and search through array by selectors in redux toolkit (typescript) My app fetches array of products on mounting (array length < 10, so I fetch everything) and saves in redux store. Home page has filter buttons, sorting (price, weight, etc) and search (all this settings are also stored as store slice). ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Convert Pivot Like Data into JSON using Python or Pandas I am a newbie to python and I have an issue with converting some csv data to json data.
So here is the data in csv
RAW Data
EDIT 1: Link to sample excel file
Pivot Data
Pivot of this data translates like this. Basically it groups the profile and list all ids ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: plotly subplots: is it possible to have one subplots occupy multiple columns or rows I am trying to have 3 plots on one figure using plotly subplots.
Naturally, I could do just 3 rows but I am trying to have first two figures side-by-side and another being stretched out. Overall I am trying to get a layout on the pi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I change the PATH variable to point to the Python version from homebrew instead of Anaconda3? After installing the newer version of python using homebrew, i couldn't get to use it, as when i type python3 in the terminal I get the older version, and by running a
which python3
this is what i get
/Users/yasined... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What is meaning of Folder tag in csproj ITNOA
in .NET C# project, with csproj file that follow <Project Sdk="Microsoft.NET.Sdk"> template, I have some item group like below
<ItemGroup>
<Folder Include="Internal\" />
</ItemGroup>
I try to understand what is meaning of this tag with official documents. But I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jasypt equivalent for Python I'm trying to write a python application that must connect to a Postgres database.
I'm trying to use psycopg2 for this. Here's my connection:
connection = psycopg2.connect(user="username",
password="password",
host="1.6.2.1",
port="5432",
database="mydatabase",
sslmod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Set the default value for a vaadin select component I'm learning vaadin and I am trying to set a default value for a select when I launch the main layout app but even I set its values I can't see the select with the value selected, I always get the playholder "Select course" and not the name of the course entity.
Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How the executor memory is determined while running pyspark in local mode? If I submit spark program as
->submit-spark --driver-memory 500M --executor-memory 300M spark_dataframe_example.py
then executor memory allocated is "110 MiB" even though I have set it as "300 M" .See image below:-
If I submit spark progr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: get array of duplicate item in list JavaScript array I have a list of objects and I want to separate them based on a field(age) and categorize them from small to large.
var data = [
{
name: "Mike",
age: 10
},
{
name: "Matt"
age: 10
},
{
name: "Nancy",
age: 15
},
{
name: "Ada... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Conditional for_each with dynamic resource in Terraform I need to update the "database_flags" property to DB Instances in GCP. As of now, only Postgres DB Instances support the "database_flags" property, and it is not applicable to MySQL Instances. I am using a dynamic block to check, if the DB instance is Postgres,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: popup modal closed when select option or input field is clicked i am getting a problem in popup modal when i click on something like select option or input field or button then popup modal closed imidiately.I am trying to fix but not getting any solution.is that bootstrap plugin issue or something else? anyone tell ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I replace a method within an object from a third party library I am looking to essentially create a new method and replace the old method. All I am changing is the size of the range by 3 at the minimum and maximum.
The method in_range in the object power_spectrum in this library is
def in_range(self, freq... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i create a blue box (w=80px, h=120px) at the center top in mjml? I am new to mjml and dont know whwats possible and what not.
I would like to have a blue box at the center top of my mjml but nothing seems to work...
when i acheive the box, i cant seem to change the width or the height, it always takes up the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My "umask" output is "022"- why can't I execute a file I just created without "chmod"? I have a brand-new file called ./foo, which looks like this:
#!/usr/bin/env bash
echo 'Hello world'
The output of the umask command looks like so:
$ umask -S
u=rwx,g=rx,o=rx
$ umask
022
Yet, when I try to execute the brand-new... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: kubctl run vs a job when using stdin/stderr/stdout What is better to use for running some time limited operation on a new pod:
*
*kubectl run to create a pod
*Create a regultar Kubernetes job, with e.g. kubectl apply -f job.yaml
Requisites:
I have two use cases:
*
*I must pass via stdin binary content to the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |