text
string
meta
dict
Q: json to dataframe doesn't contain all output I have the following piece of code: for root, dirs, files in file_list: for file in files: if file.endswith('.json'): file_path = os.path.join(root, file) with open(file_path, 'r') as f: json_data = json.load(f) print(json_data)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I test my function parameters in a API Gateway proxy lambda function created with AWS SDK? I created a REST API with multiple Lambda function integrations. Here is an example of one function. export const handler = (event: APIGatewayEvent, params: { Bucket: any; Key: any; }) =>{ var method = event.httpMet...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting WSG84 to UTM, rgdal alternatives I have numerous existing scripts in which I used project() from the rgdal package to convert WSG84 Latitude/Longitude coordinates into UTM. rgdal has intermittently been giving me headaches by randomly stopping to work after updates, which I was always able to fix by copyi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: XSLT matching most specific subtype Suppose I have a type hierarchy such that RetentionContest is-a BallotMeasureContest is-a Contest (in my XSD). Then I have several XSLT templates such as <xsl:template name="cdf:BallotMeasureContest" match="element(*, cdf:BallotMeasureContest)"> and <xsl:template name="cdf:Retent...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I get my driver url with driver.url with karate? My application when I log in to my app it's redirecting to me a localhost URL after that i need this URL parameter and for this, I'm using driver.url but give it to me not a URL giving like this. ---------- chrome-error://chromewebdata/ ---------- This my cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628875", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: juicefs with minio how synchronize file not object/chunk file I have MinIO as filesystem (on docker) which is integrated with other container with JuiceFS. Container with JuiceFS have directory mounted for MinIO and when some file will be copied to this folder file, will be automatically uploaded to MinIO. This path...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular 14 : Fetch and display excel file to Mat table Hello I am trying to create a excel viewer component. But Iam having a problem to convert the excel file to an object or an array. I am just getting the url of the blob file I am loading from the Amazon S3 bucket * *Loading the files from the Backend priv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: error while seding email from jenkins job ''' //def email_message = "Sending email to .... ${email}" //echo email_message.toString() def email_response = mail (to: "${email}", subject: "Jenkins build:${result}: ${job}", body: "${result}: Job: ${job} \nMore Info can be found here: ${url}") ''' Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to click on a row in a treeview and call a function to display more information using tkinter and python? I am currently trying to make a UI for this web API game called spacetraders for my school project. I want a tab that displays the users ships and then I want them to be to select a ship and the code to outp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628888", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Find out if variable is null or an array containing null variables in PowerShell I am trying to find out if a variable is null or is an array containing null variables. So for example, a short expression that will match 'false' for each of the following, but 'true' for anything else: $nullvariable = $null $nullvaria...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Rest Api shows error code 422 in Airtable post I am trying to POST a record to airtable using Api My code is public async Task InsertRecord(Product2 item) { var uri = "https://api.airtable.com/v0/appxxx/MainItem"; var Api = "keyxxxx"; using (var client = new HttpClient()) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Usage of `vk::raii:ImageView` with `std::vector` I'm trying to map std::vector<VkImage> to std::vector<vk::raii::ImageView> with this function. The mapping approach was taken from their samples, so maybe samples are wrong, idk. std::vector<vk::raii::ImageView> Render::createImageViews( std::vector<VkImage>& ima...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Standard Websockets in JS with Ruby on Rails Actioncable How can I use a standard websocket connection in JS, to listen for broadcasts from a Ruby on Rails app? The app I am developing currently uses the unmaintained library actioncable-js-jwt to pass a JWT to the Rails app, since the official actioncable libr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628899", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Concatenating similar items in a list - Python I have a list of similar and unique words. The similar words are appeared in one string and are separated by "|". input = ["car | cat", "cat | caat", "car | caar", "dog", "ant | ants"] I want to get the following output so that we could find out car, cat, caat, and caar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cybersecurity and best practices to compile and deliver a binary I am looking for best cybersecurity practices to compile and deliver a binary and i would like to know if debug symbol stripping is sufficient or release mode is better ? Thank you.
{ "language": "en", "url": "https://stackoverflow.com/questions/75628901", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How To Only Address One Element In A Parent Div I am working on a simple to-do list and when I click the check box next to the new item, both the text and the delete button gain the strikethrough property. Is there a way for me to make it so that only the text gets the strikethrough, and not the delete button? I hav...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is it not possible to provide both color and decoration in flutter? I'm trying to set a colour to a container and a different one to it's decoration but the compiler says it's impossible Container( width: 110, height: 110, color: Colors.red, decoration: BoxDecoration( color: appColor, // pers...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert multiline string to single line in java I want to convert a markdown table to a json string using Scriptrunner for Jira Server (Java/Groovy). The table is stored in the description field of the issue and looks something like this when displaying the issue through the rest api /rest/api/2/issue "description":...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628907", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: @RequestPart is always null for the JSON object in java spring controller @Secured({ "ROLE_CLIENT", "ROLE_TRUSTED_CLIENT", "ROLE_CUSTOMERMANAGERGROUP","ROLE_CUSTOMERGROUP" }) @PostMapping(value = "/create", consumes ={ MediaType.MULTIPART_FORM_DATA_VALUE , MediaType.APPLICATION_JSON_VALUE, MediaType.APPLICATION_XML_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add a column, with an SVG containing a circle element, to a Vaadin Grid in Vaadin 23 I have recently updated my application to Vaadin 23 from Vaadin 14, and I have discovered that I can no longer add a column to a vaadin grid that uses a Component Renderer to create an SVG containing a circle element. Which I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628911", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Starting a container instance from Python SDK - problems with permissions I am trying to run a docker container on Azure from my container registry. With the CLI, it works beautifully through: az login az container create -g RESOURCE-GROUP --name INSTANCE-GROUP --image workers.azurecr.io/MY-IMAGE:latest --registry-u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using an Azure B2C custom policy can i have a multi tenant set up federating to external AAD's but using private_kwy_jwt instead of client_secret? The documentation here (https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-azure-ad-multi-tenant?pivots=b2c-custom-policy) specifies that we n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628917", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CAN on ESP32 with Nodemcu I have tried various Nodemcu builds based on the idf 4 (including the online builder) and cannot get the CAN bus to work on the built-in CAN controller. When I do make menuconfig, I don't see anything about the CAN module except the TWAI configuration. I believe that the module is included...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: FedEx API ('BAD.REQUEST.ERROR': Missing or duplicate parameters... ) Post request to fedex Authorization Api is returning an error. I've tried doing this request in PHP, Javascript and python in a number of methods, yet only the python script is working properly, despite the changes being minimal. Bellow is the code...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628920", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Cmake, how to remove compiler flag ONLY from executable creation I have the following wxwidgets GitHub actions CI: https://github.com/israpps/wxwidgets-CI I want to re enable the command console line under windows, so I can test my UIs using stdout as log. I've discovered that on Code::Blocks IDE that can be done by...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does my react.js project connection code not work depending on location? First of all, as a result, the golang project does not serve the react.js project, but for study purposes, golang is serving it, -structure of the project- root -client < react.js project -build. < react.js project build folde...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628929", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is code still being executed in a production environment that has been completely erased from the code base? I have a website hosted on Heroku. There's currently only 3 active apps. A very old Review App that never had this specific code, Staging, and Master. The code is in a setInterval that every like 16 hours...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628930", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why undefined in doPost on Google Script? I try to post data to Google Sheets automatically from my service. But I get a strange error in my little script: I can't guess what's wrong P.S. If I send empty JSON the script works OK (but there is no data) P.P.S. My JSON: What I try to make: Send data from CRM to Googl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Installed python packages using pip in virtual venv in vscode but getting 'module not found' error I installed a couple of python packages with pip inside a virtual environment and they installed successfully - to check this I ran pip list. However, when I try to run the program the error 'module not found' appears ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628935", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use loops to generate R2 from multiple datasets (seeds)? The dataset df has species abundances (sp1-sp4), environmental data (env1-env4), and two environmental "parameters" - param1 and param2. The params are selected from a larger data pool df_sample. The code to generate this dataset is: #DATA FRAMES set.se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628940", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Game loop not resetting the game after killer is revealed / killed I am trying to create a surivor game vs killer and once the killer is revealed at the end, it will tell who the killer is at the end of the game when there's less than 4 cast members left. When I try to use an IF statement in the endGame() function t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I set the Grid.ColumnSpan on an item that is generated through an ItemsControl's ItemsSource? I have a bunch of items that is generated through an ItemsControl's Itemsource. These are contained within a UniformGrid. Now I want to set some of these items to a greater Grid.ColumnSpan based on some condition. <I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628942", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: prettier-tailwind-plugin isn't working as expected when I hit save in VSCode I installed the prettier-plugin-tailwindcss and it successfully sorts the Tailwind classes when I run Prettier using npx prettier --write index.html. However, when I hit save in VScode, the prettier-plugin-tailwindcss doesn't sort the Tail...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628944", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Getting an error while creating a sample chef12 stack in aws opsworks I am trying to create an opsworks sample stack. While creating it, I am getting a message that "An IAM role is required to create a stack". I have attached the screenshot - It isn't really giving any options except displaying the error. Please gui...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628945", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Getting fontface = "bold" to work when parse= TRUE in ggplot2 annotate() When parse = FALSE the annotation (see reprex below) appears in bold, as expected since fontface = "bold"; however, when parse = TRUE the annotation no longer appears in bold. Can anyone suggest a fix for this please? library(ggplot2) df <- da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628948", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tips on python or bash commands that can be used to scan a directory and detect file type in linux I know how to do this in powershell, just unsure regarding the python and bash application? Perhaps someone can assist?
{ "language": "en", "url": "https://stackoverflow.com/questions/75628951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i want to remove this section Wordpress Vault Theme? i need help !! i want to remove this section "This is a staging environnement" on the VAULT theme in wordpress. Thanks in advance ! enter image description here What i need to do ? A: Using css styles display: none
{ "language": "en", "url": "https://stackoverflow.com/questions/75628953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Laravel Spatie backup save to s3 folder without creating subdirectory I have spatie/laravel-backup v8.1.7 and I want to save to a s3 folder named backups To acheive this in filesystems.php I've added the following: 'backups' => [ 'driver' => 's3', 'key' => env('AWS_ACCESS_KEY_ID'), 'secret' =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Poison regression: Include robust and clustered standard errors and corresponding p-values in Stargazer I want to include robust and clustered standard errors and the corresponding p-values in Stargazer for multiple poison regressions. In all examples I could find here, people only asked to include the s.e. but not ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: IDEA Docker run target. ClassNotFound I am trying to run simple hello-world project on docker run target. Config I have used that guide https://blog.jetbrains.com/idea/2021/01/run-targets-run-and-debug-your-app-in-the-desired-environment/ Config I used openjdk:19 image and other autoconfig. Config Config I see that ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628958", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problem with tags in Django | used taggit for storing tags Template file: <div id="tab-2" class="tab-pane fade show p-0"> {% for event in events %} {% for tag in event.tags.all %} {% if tag == 'Tech' %} <div class="row g-3"> <div class="col mb-5"> <div class="d-flex h-100"> <div class="flex-shr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why can't I use a boolean expression in a SQL CASE expression inside a WHERE clause? I want to write a query with the following logic: * *If @fundKey is greater than 0, look for funds with a key matching @fundKey. *Otherwise, look for funds with a key less than 1000000. If I were to write this logic in JavaScrip...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: hilt @optionalInject failing to create instance of ViewModel for non Hilt activity I have a bottomsheet that is being used in several activities. It has been converted over to using Hilt however the other parts that use it have not. I found the @OptionalInject from the migration guide. It works fine for the hilt act...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628966", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: fluentui/react panel: make it print friendly and allow to print all pages I would like to make the fluentui/react panel print friendly. I am using the css media, but there is no vertical scrollbar on the page itself. The panel itself has a scrollbar as you can see from the print screen below. However, the print prev...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628968", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get monthly reports from multiple records? I have a table name ‘attlog’ that contain multiple records from machine scan. Each person have more than one record depend on their scan. I would like to get monthly reports person from that table with time scan in and out. records A: I do not know what version of S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Scapy to sniff beacon packets I'm trying to use Scapy to capture beacon type packets from wi-fi access points and then extract their mac address and rssi. When i run the code nothing seems to happen. What am i doing wrong? Is the filter i'm using not the right one or is it something else? from scapy.all import...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628972", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why are the items in my listview box all cramped together? I'm just trying to display some data in a listview box on Microsoft Visual Studio but whenever I do it's all jumbled together and cramped up. When I did small and big font it was the same result and I'm not sure how exactly to fix it. This is the display cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628973", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: java.io.IOException: Server returned HTTP response code I am invoking Rest API using the below code, which is working yesterday but today when I tried again it is failing and throwing the below error java.io.IOException: Server returned HTTP response code: 400 for URL: https://test-app.testlab.com/api/v1/users" func...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: If statement on for nested not working in C# sorry in advance, I'm new in programming. I tried to use an if statement in a nested for, when I run the program the if statement doesn't work the way I want! what is wrong in my following program? Please guide me double[] a = { 1, 1.1, 1.3, 1.8, 2, 2.2, 3, 3.2, 4, 5.5, 8...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: spring boot cloud stream pub sub : Pub sub channel adapter is being stopped right after deploy Here are my logs right after deploy into cloud run inbound channel adapter being stopped. Unable to receive messages. same profile working as expected if I deploy jar through cloud shell. Gcp Logs Same profile working as ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I count 1:N:1 and N:1:N manners? I'd like to do a count in the manner of 1:N:1 and N:1:N. Here is my query, but it is not doing exactly what I want: Match (V1)-[e1]->(v2)->[e2]->(v3) With Count(distinct(v1.property)) as cntleft , count(distinct(v3.property)) as cntright Where cntleft=1 and cntright=1 R...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to add multiple Salesforce Marketing Cloud business units to a single Sales Cloud org I have a parent BU in SFMC with underneath 2 child BUs. I also have one Sales Cloud environment with both B2C and B2B data. I would like to connect both child BUs to the same Sales Cloud org. It is important that child BU B2C o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628986", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Accessing non-existent property 'findOne' of module exports inside circular dependency index.js console.log("Hello World ") //importing express from packages const express = require('express'); const mongoose = require('mongoose'); const auth = require('./middleware/auth'); const adminRouter = require('./route/adm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Rust module files in deep directories I am new to Rust and try to understand the module system. As there has been a change with the 2018 version I get confused when watching tutorials and there seems to be no documentation talking about including files in deep directories. I got a working project but want to optimiz...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628988", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use exiting Java path like openjdk in Azure pipeline without Zip and without agent preinstalled with LocalDirectory option, localdirectory option is taking zip path but I want to use existing Java path in Azure Pipeline * *task: JavaToolInstaller@0 inputs: versionSpec: '11' jdkArchitectureOption: 'x64' jdkS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to impliment Lorenz system on FPGA using VHDL im trying to write a VHDL code of the 4d lorenz system for a random key generator given by the equations : dx/dt = σ(y − x) ; dy/dt = ρx − y − xz ; dz/dt = βz + xy ; dw/dt = λ(x − w) ; i'm new to the hardware language which seems pretty difficult . i used t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change 4 sides grid view to display corner radius? I work on asp.net web forms . I face issue i can't change header of grid view to take corner radius on 4 sides . so I need to get header style and give it as CSS style or bootstrap to grid view to be get corner side radius on 4 sides top left - top right -bot...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628992", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP.NET Core (React) app - 404.15 on the IIS I've found many threads about this issue, but not matter what I change it just doesn't work. I am desperate as I don't understand what is wrong. My application works fine if run on IIS Express. As soon as I deploy it to the IIS, it starts to complain about the "query stri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to transform object detection annotations relative to patches I have a 17000x17000image as a .tif file. That file has a corresponding txt file that shows the annotations for multiple bounding boxes outlining a specific object. The format is like this: label X Y W H 0 0 7036.0 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628995", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Wordpress Previews When Using Gatsby and Gatsby Cloud I am building a Gatsby site(hosted with Gatsby Cloud) and using Wordpress as the CMS(https://interiordetailsgatsbywpmain.gatsbyjs.io/). The issue I am having is with the previews in Wordpress. I have GatsbyJS plugin installed and populated with the Gatsby Content...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Material ui / react fetching data Using Mui Tables mostly you are required to fetch all data at once. won't that make the user wait until the data is fully loaded to the state. and if the data is huge that waiting time can be too long.What is the best alternatives to take advantages from Mui tables features and in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Get Scanned data with boto3 on Athena I use Boto3 to perform Athena queries. My code looks like this: athena_client = boto3.client('athena') # start the query query_execution = athena_client.start_query_execution( QueryString=sql_query, ResultConfiguration={ 'OutputLocation': 's3://my_path'} ) # Get t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Set condition to Document fields I have simple mongo document. javax.validation.constraints.Size is not working here. How can I set conditions to this field correctly? @Document(collection = "clients") @Getter @Setter public class Client { @Size(min = 2, max = 5) private String n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Map visualization library with scrolling I'm trying to build an app that displays a map that can zoom to different parts of the globe and display animated data based on live streaming data. I'm fairly new to geospatial visualization, and every visualization library I've been able to find only allows animated data on...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629001", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mongoDB count deeply nested elements on more then one condition Please, help , I need to find count() of all _a[]._p[] elements having at least one of: _a[]._p[].s.d.t[].dateP=2022 and _a[]._p[].s.d.t[].tF="N" and _a[]._p[].s.c.t[].dateP=2022 and _a[]._p[].s.c.t[].tF="N" in following type of document: { "_id": Objec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to Run the script into Xcode GrapQL I am new to grapQl . I am trying to generate the code by using script . I have added the script into build phase but any reason to showing following error .. **/Users/test/Library/Developer/Xcode/DerivedData/GhrapQLDemo-gkpqenbjrnbepsgfwtqqsgzxsivx/Build/Intermediates.noind...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629004", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apache Airflow, Custom Trigger logs not showing up I'm learning about Apache Airflow, and have implemented a simple custom Sensor and Trigger from datetime import timedelta from airflow.sensors.base import BaseSensorOperator from airflow.utils.decorators import apply_defaults from airflow.triggers.temporal import T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629006", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++: wWinMain: How do I always unfocus my created window? Use Case I want to build a virtual keyboard using Flutter. I am inspired by the windows virtual keyboard "osk" (just run "osk" in cmd). Whenever I type something in a different window, I do not (!) want to lose focus. The Problem The flutter-app (desktop, win...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there an R function that converts grib files to netcdf4? I want to convert ERA5 data downloaded from the copernicus datastore from Grib to netcdf4. I found this answer using Python: converting Grib to netcdf4 I want to know if it is possible to do this in R? I haven't found anything online.
{ "language": "en", "url": "https://stackoverflow.com/questions/75629009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use wildcards in snakemake to merge with files with different wildcards? I’m using snakemake in order to analyze hundreds of files obtained from genomic sequencing. Depending on the quality of the sequencing for each sample, the platform had to sequence a second time some of these samples, resulting in four o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using keras RL to build an agent to play space invaders, running into "AttributeError: 'int' object has no attribute 'shape'" Error Just as the title says, I keep running into an error when following a tutorial to make a reinforcement learning agent using keras RL. The code of which is below: import gym import rand...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629012", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Debug helm look up for secret.yml I have a secret.yml file , and run helm install test5 ./ -n mynamespace. When opened in k8 dashboard secret, i am able to see the secret value. below code is from deployment.yml file {{- $secret := default (dict "data" (dict)) (lookup "v1" "Secret" .Release.Namespace "mysecrets") }...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Postgres, is it faster to use DENSE_RANK() and RANK() over the MD5 of a string? I'm using DENSE_RANK() to produce PRIMARY KEY candidate columns from other TEXT columns. E.g. SELECT DENSE_RANK() OVER(ORDER BY title) AS pk_id; I'm aware than sorting text is slower than sorting integers, so I had the idea to convert...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React hook form and chakraUI radio button saved previous state This is multistep questionnaire. Possible same answers. When I go to the next step, the answer which I select before saved and displayed in the next question. import { useEffect, useState } from "react"; import { Box, HStack, Text, VStack, Image, Button...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: UBUNTU UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb7 in position 955: invalid start byte Recently I upgraded my windows 10 to Ubuntu, and the scripts that I brought with me don't work. They worked perfectly well on windows though. Now when i try running them i get a utf-8 codec error. I installed venvs, p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629016", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: All the pod metrics to automatically include labels from kube_pod_labels? I've added custom labels for kube-state-metrics by adding: --metric-labels-allowlist=deployments=[team],pods=[team] which means I can see the "label_team" label within kube_pod_labels and kube_deployment_labels metrics. Now, if I'd like to us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiple same keys in Cucucmber pass as json I have a query to make where I have the following values in cucumber: When Get request with parameters | pageSize | pageNumber | conditionsCode | conditionsValues | | | | context | RANGE | | 20 | 1 | rangeCode ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629019", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get consumption in GOODWE API I need to get some data from the GOODWE API. I can get the power generated doing a /v3/PowerStation/GetInverterAllPoint POST, but I need the consumption data. I can get the power generated doing a /v3/PowerStation/GetInverterAllPoint POST. This is the only documentation I have ht...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Signals and operations I need to explain this behaviour. I already know I can modify what CTRL + C will do with SIGINT. Then I have this code: #include <stdio.h> #include <signal.h> #include <unistd.h> void control (int sig) { switch (sig) { case SIGKILL: printf(" Event : SIGKILL \n"); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629022", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i fix "Rendered fewer hooks than expected" in my react native code I'm trying to make a registration form for a delivery person. I need to get the name, the first name, the contact and the image of the delivery person. but once I choose the image, I am not redirected to the submission page and I have this er...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update data to other components after a button is clicked I am a beginner and I want to know how to update a component with data only when I click a button present in another component. I am trying to implement an add-to-cart functionality on a practice project and I want to update the product count when I cl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629024", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access response headers in React Native I am having troubles with some requests I am making from my React Native app, to my NodeJS server. One of the endpoints being called, can return a 409 error for one of two reasons, therefore I need to access the message that was thrown along with this error. I can see t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629026", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Uncaught Error: set failed: value argument contains undefined in property 'password' I am trying to connect my firebase realtime database to my react app. It is a controller in which there is a keypad for project Password Access Control (IOT). I managed to get to the firebase database but I am having trouble with st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the default gitlab-ci image? I've looked at the gitlab docker documentation but I cannot find it, what is the default gitlab-ci docker image? (I'm not setting default:image:)
{ "language": "en", "url": "https://stackoverflow.com/questions/75629030", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Swift CAGradientLayer showing inaccurate color I am using CAGradientLayer to add a gradient to my UIView. I am setting the gradient ad a solid red colourful testing, and when I check the color that is being displayed, it is showing different RGB values to those I have specified. Is there a way that I can make sure t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Component overflow more than 100% when add padding in next js Hi everyone, I get problems with next js and styled-components I define the parent component(sc-hgRfpC lbMBdR) with width: 400px and swap-div-5 with width: 100%, But When I add padding: 12px swap-div-5 components does not fix into 100%, it overflows 12px...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The type or namespace 'Azure' does not exist in the namespace 'Microsoft' - Visual Studio 2022 I've just installed Visual Studio 2022 and I'm attempting to develop a BlobTrigger Azure function. As part of the default class that is created, the following namespaces are included: using Microsoft.Azure.WebJobs; using M...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629036", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't create SparkSession in Spring Boot I'm trying to run Spark on Spring, the project itself runs without errors, but after I try to create a session, i get this error. java.lang.NoSuchMethodError: 'scala.collection.SeqOps scala.collection.mutable.Buffer$.empty()' pom.xml <dependencies> <depende...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Front Door - Determine which origin is unavailable Have a Azure Front Door setup currently with 2 origin groups. In each of the Origin Groups, I have added 1 origin. The first origin group is working fine, and the Origin Health metric was at 100%. I added a second origin group, which does not work, and the Ori...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WPF Master / Detail - Update of detail records I'm trying to create a WPF master/detail view. For this I bound the data grid control as follows: Dim _List = ctx.TABKundens.Include("Kunden_Artikel").ToList How can I convert a view from the list that contains both the master data sets and the detail data sets update...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot get error is coming while executing the code While making a website an error is coming cannot get/ search.html Basically I am giving the command /search.html in form action but when I am running the website and typing in search bar error is coming cannot get/ search.html
{ "language": "en", "url": "https://stackoverflow.com/questions/75629046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Kotlin - Setter for Properties Initialized in Constructor? hope I worded this right. Trying to be able to do a setter function for a variable that is initialized in a constructor ala: package com.example.propory class Property(val name: String, propValue: String) { var previousPropertyValue: List<String> = lis...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629047", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to calculate amount of cyclic permuations in an array (variable shift) Referring to another question, I would like to print (and count amount of) cyclic permuations of an array. My input to such function would be the array, stride and start value. My array does not necessarily contain numbers only. Example: giv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629048", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to add the two split columns on a position where you want in dataset import pandas as pd df[["First Name", "Last Name"]] = df["Full Name"].str.split(' ', 1, expand=True) enter image description here as you see in this image that it add the split columns at the end of the dataset and i want them to be at same pos...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629049", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I implement a 1D-DWT in a keras CNN architecture? I am trying to implement on a CNN a 1D-DWT (Discrete Wavelet Transform) block, which takes a tensor in input and gives outputs: an approximation and a details: import numpy as np import tensorflow as tf import pywt class DWT1D(tf.keras.layer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Numerical error when reading gpytorch model hyperparameters from text I want to save gpytorch model parameters in text format in order to be able to read them with other languages (R, MATLAB) for purpose of comparison and checking my python implementation. So, here is my Minimum Working Example: import gpytorch impo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mutate across columns with ifelse I'm trying to mutate values across multiple columns to values from another column. This is my dataset: library(stringr) library(dplyr) library(fastDummies) score <- sample(1:100,20,replace=TRUE) df <- data.frame(score) df <- df %>% mutate(grp = cut(score, breaks = c(-Inf, seq(0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629057", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: armcc compiler is optimizing sequential writes to apb register Compiler: armcc Processor: ARM Cortex m0+ Program Memory: proprietary ROM Data and stack: proprietary SRAM Optimizing for time (-Otime) I am using a scatter file to tell the linker about the address map. I have a custom subsystem that has ahb and apb bus...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629061", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Field id expected a number but got I have this view I would like to create a cart or update the entries if the cart is already created and if a product is already in the cart then just update its quantity. I am getting an error saying Field id expected a number but got <Cart: John's cart>. Why is the id field even ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629063", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: HTML image objects not displayed I have an HTML file with three images, they are displayed ok from Visual Studio, I'm using the live server Add-On, and even show preview, but when I open the file by double clicking on the index.html from the file explorer the image does not display and it just display the alt text N...
{ "language": "en", "url": "https://stackoverflow.com/questions/75629064", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }