text string | meta dict |
|---|---|
Q: GitHub Actions Reuse Steps I have GitHub Actions file where I have jobs in the order of Release and Build and Publish.
I have slack_success and slack_fail also.
The trouble is, I want to send to Slack a slack_fail at any point any of the Jobs being run fails.
I had hoped - uses: slack_fail would have worked but it f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is SERCOM not working on my SAMD21 (LightAPRS W-2) based board? I cannot get the code I have programmed for my LightAPRS W-2 board working (which is like an Arduino M0, as it is based off SAMD21) which sends data over SERCOM1 via UART.
Here is my code for transmitting:
#include <Arduino.h> // required before w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can we use 2 projects in the same solution, one in VB and the other in C# I have a solution with 2 projects one in VB and the other in C#, they are both quite big with many classes, should I convert the C# project in VB or if just adding the project into the references of the first project will be enough.
This is wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: split two elements in a sub array in a new array in Python I have an array that looks like:
my_array = 'limit: 1001: [1,2], 1002:[2,5], 1003:[1,2],1010:[1,3]
But I want to split my array like this:
[1001,1], [1001,2], [1002,2], [1002,5], [1003,1], [1003,2]....
is it possible in Python?
I've tried this:
[[[c for c ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How do I install a software via Homebrew from .rb file I'm new to Homebrew (as in I know nothing, I'm a Radiologist). I need to install an additional software for my medical data analysis soft.
I have an .rb file and developers instructions but I'm stuck. Please help me to follow this. Where exactly should I downloa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: given a scipy.stats mu, std = norm.fit(data), using list comprehension, how do i get seperate arrays? I'm using python to work with potentially jagged arrays of values. All data is in the form of a histogram, with it being represented by hist and bins.
def energySpectrum(outputFolderPath, spectrumMax, resolution):
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Update Node Type of DAX Cluster without downtime We have two spring boot applications which is accessing dax cluster using the software.amazon.dax:amazon-dax-client java client.
This is how I am building the dax client. Using the cluster URL.
I have created the dax cluster through cloudformation. After the cluster i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WRITE data bytes bigger than PAGESIZE in mmap I am havin the problem to not be able to write data lengths bigger than 4096 (that I think it is default PAGESIZE). Here it is my code:
import mmap
databytes = bytearray(b'p' * 5000)
filemap = mmap.mmap(-1, 10)
filemap.resize(len(databytes))
filemap.write(databytes)
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I just redownloaded Destiny 2 on Steam and I have no in game audio I have tested the issue by trying other games on steam and just other things in general and it is only happening in destiny. This would lead me to believe it is somewhere in the game's settings but as far as I can tell I have sound turned on and ever... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to compose the layout of Rmarkdown? I am trying to design a report. I have several chunks above this one. The structure of my Rmarkdown file is like this:
# loding libraries
# This is a chunk for a function
# This is a chunk for plots
tbl_img = data.frame(
Categories = c("Family Health Rountines", "Parents ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I18N in a Clean Architecture backend I am implementing a backend API that needs to have i18n on the responses, am implementing it using clean architecture, but I can't figure it out where to put the i18n logic in my project.
For me the i18n must be separated from my domain as it has more to do with presentation, but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to retrieve Oracle JSON_OBJECT in C# My first stab at getting data as array of JSON object from Oracle. I am not sure what I need to use after I setup the connection in my C# code and call the query to return the objects.
I can't use OrcalDataAdapater.Fill(some_dataset), it returns empty data table.
Not sure if ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure DevOps Build Pipeline - Multi-Project Solution with single NuGet.config I am having a few issues getting an Azure DevOps single project build pipeline working properly in a multi-project solution. I have a solution with multiple projects within it, and I'm trying to get one project in an Azure DevOps CI/CD pip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How is HORIZONTAL_SCROLLBAR_AS_NEEDED triggered in JScrollPane? I am trying to find a bug in our code. We have subclassed JScrollPane and add JPanel as the client. The JPanel got some JLabels with different width. We notice that the horizontal scrollbar does not appears when a la el is added that is half i side the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to use a color from angular material palette? I'm using angular material and want to use colors from the palette for my styles. I found answers using mat-color() but it seems that doesn't work anymore.
My styles.scss looks like:
@use '@angular/material' as mat;
@include mat.core();
$web-primary: mat.define-pale... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Detecting centered item inside LazyRow in Jetpack Compose I want to make a horizontal list with a carousel-like effect, the middle item must be positioned at the center of the screen, with the previous and next items showing only their edges. Additionally, the centered item should be slightly scaled up to emphasize ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Pass image of any size to Pytorch ViT pretrained model import torch
from torchvision import models
model = models.vit_b_32(pretrained=True ,image_size=320)
model.eval()
The above piece of code is failing at Line 3 with the below error:
ValueError: The parameter 'image_size' expected value 224 but got 320 instead. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609325",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is requesting Axios auth header necessary in react.js? Iβm coding a MERN web app and I would like to know if itβs necessary request with axios my server and check if my auth header is valid in private routes. For example:
These are routes from my node.js server (Server.js):
app.get("/profile", auth.checkheader, user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring rest API responseEntity on a function has different behavior when called from different pages in the same website So i am working on this website that has a file upload mechanism that uses ajaxsubmit to submit the form and call this spring api function called uploadfile from different pages in the same websit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Paging 3 does not request API I can't solve this problem. I learned Paging 3, but after implement all classes I can understand why my Request does not sending to API.
I have Retrofit API:
interface GifService {
@GET("./trending?api_key=*****")
suspend fun getTradingGIFs(
@Query(value = "offset") offs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to debug an Network Link Conditioner in iOS just like an adb that we use for android Is there a way to debug an Network Link Conditioner in iOS just like an "adb" that we use for android.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75609329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Conditional format if cell is between percentage value i need to highlight row if a value falls into certain percentage value and so on.
B2 contains a percentage
A5:A9 has different percentage value
if any cell between A5;A9 falls under B2 entire row should highlight.
check the link below
file link here
A: Added fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Duplicate key entry exception when using threads in Java I am trying to implement a jtable model refresh every time someone has inserted or updated the database.
When some user is trying to insert something to the table it should notify other users connected to the server that there is a change on a database and bas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Combining text deletion & insertion in same code for tkinter I want to insert text into text_box , delete text (only) leaving box on screen, sleep 1 second and put new text in same position in the text_box.
from tkinter import *
from tkinter import ttk
import time
from time import gmtime, strftime
import datetime
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to store AWS Secret credentials using Terraform/Cloud formation How to use Terraform/Terragrunt/AWS Cloud Formation with credentials/secrets?
Following IaaC, everything needs to be stored in Git repository. However, these credentials cannot be pushed to repository since they are considered confidential.
Secrets ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to remove useless data from firebase? I'm trying to go through each user and if they don't meet a certain criteria (for example lastSeenDate being 6 years ago, delete them
however,when i run
final userList = FirebaseFirestore.instance.collection('users').snapshots()
I only get the current logged in user.
why is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to update user's profile picture So the current default behaviour for next-auth is to just use the image the user had when the account was created. I want it to change so that if the user changes the image for that provider, this change should be reflected on the site.
The only mentioning of a similar problem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Embedding Doxygen Group/Section/Anchor/etc output onto a Page My goal is to create a standalone Page that includes sections of code by reference or grouping like in modules. I am aware of Doxygen's ability to provide links to the desired sections, and the grouping feature for modules. However, the output format call... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am unable to update a state in React I hvae state named responses which initialy is an mpty array. After I fetch some data from an Api which ia an array of Object. I push each object of that array to a locall created array name listMeals. After pushing each object to the listMeals I update the state named Response... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find a minimum Column value in pivot table I have two Models. Product and Vendor. these models have Many to Many relation.
the pivot table have Extra Columns beside product_id and vendor_id, price and off_price so the table Columns are like these:
product_id
vendor_id
price
off_price
I wrote custom attribute... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Restricted Google Api Key works only when I remove package restrictions I'm using a restricted Google API for my Flutter App with both package SHA1 restrictions and API restrictions. Some services only work when the package restriction is removed.
Here are the APIs currently active:
*
*Directions
*API Geocoding
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gravity forms is not sending emails to an array of emails <?php
$email_list = array('tes1t@test.com', 'test2@test.com',);}
$notification_param = '';
foreach ($email_list as $i => $to) {
$notification_param .= ($i+1) . '.to:' . $to . ',';
}
$notification_param = rtrim($notification_p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does python in a conda environment take so much longer to tokenize a file? The script I am trying to run is:
import nltk
nltk.download('punkt')
print('starting')
# Get tokens
with open('passage-collection.txt','r', encoding="utf8") as f:
text = f.read()
print('read text')
tokens = nltk.word_tokeni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: combining multiple partial entries into a single complete entry I have several hundred project files in excel all containing client contact information with various levels of completeness. I've crawled all the files and extracted all the data into a single data frame.
I'm having trouble figuring out a method to comb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iOS and macOS are not handling correctly the variation selector in unicode flag emoji I need to post on the Google SERP an html title tag that includes standard unicode emoji and unicode flag emoji.
Testing various solutions, I come to the conclusion that iOS and macOS are not handling correctly the variation select... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Chrome plugin 'screensaver' no longer reads Google Photos album I have been using a plugin that was created by a developer who died a few years ago. His plugin is on Github - https://github.com/opus1269/screensaver
The code for reading Google Photos is
https://github.com/opus1269/screensaver/blob/dependabot/npm_and_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Wrapping assignments in parantheses returns the output of that assignment in console I was not aware that if you wrap an assignment in parentheses, the value of that assignment will be printed out in the console. See below; what's the reason for this behavior?
a <- 1
b = 2
assign("c", 3)
(a <- 1)
#> [1] 1
(b = 2)
#... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reset Y Axis to 0 while leaving X and Z alone UNITY/C# I'm making a 2.5D BMX game with flips, spins and tricks. Right now when I let go of controls in the air the bike will reset its' transform rotation to 0,0,0. It works well but I'd like to have it so only the Y axis goes to 0 while X and Z stay at there current r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is the Object.values(obj) method a "free" operation in JavaScript? The JavaScript method Object.values() takes an object, and returns an array of all the object's values. For example:
const myObj = {
prop1: 123,
prop2: "Hello",
prop3: "World!"
};
const myArr = Object.values(myObj);
console.log(myArr); //... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kivy button text animation I would like to animate my buttons text in. Is there a proper way for it?
I'm using MDRaisedButtons, and my goal is to fade in and fade out the text within the buttons.
thanks
I tried animate different widgets (like MDLabel), and i was able to animate the opacity, but it did not work for t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unreal Engine 5.1.1 crash on Jump My engine keeps on crashing when I jump using &ACharacter::Jump.
This doesnβt happen always but it got more frequent recently. Any idea why this is?
I am using UE 5.1.1 compiled from source on Windows.
Here is the trace log:
LoginId:508fe6f24e82612fb333a486f622ee7a
EpicAccountId:393... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot see Cloud Watch logs from Lambda function I have created AWS API gateway and connected it to a searchLambda using CDK. So I am sending to API;
GET /?search=something&criteria=city
This point is integrated with searchLambda, which should receive search, criteria and all processes should go accordingly to the d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Web project not Running on Browser (error 500) I am learing spring boot and am On a project named DocumentWeb it is a simple web project with a controller, a jsp the mode and the Document Repository (interface) which extends the JpaRepository
The project should enable a user to upload a pic and also download any pic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I use css file versioning? I have a problem with css file versioning. When Im using a file name "general.css" its work fine but if I change the file name on "general.css?v1.1" its not working. I cant find this file as normal css file, for example in url address or page sources.
I`m expecting that, the css fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: property decleared at service doesn't reflecting in view I use a service where I have these:
export class GamePlayService {
bigBlind:number=20;
players=[{name:'Cpu Player',chips:this.startingChips,isDealer:true,isBigBlind:false,isSmallBlind:false,isActivePlayer:false,bettingAmount:0,temporaryBetting:0},
{n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to configure voila to shutdown when the tab is closed? Context
I try to execute voila dashboards in a nox isolated environment to facilitate development iterations and sharing. the problem is once the nox session is launching voila, it never finishes as voila is not closing itself when I close the tab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python: get short names of functions How can I get the "short" names of functions in Python? For example, the output of
import math
def square(x):
return x*x
def f(x, funcs):
return [func(x) for func in funcs]
x = 2.0
funcs = [math.sqrt, square]
print("arg =",x)
print("funcs =",funcs)
print("values =",f(x... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: FFmpeg encoding slow for 4K HDR content When processing 4K input with the following configuration it is taking upwards of 2 minutes to process a 35s, 60fps, 4K HDR clip recorded from an iPhone. Is this the expected performance or is there an inefficiency within the configuration that is causing this?
In comparison, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am new to SQL and VBA coding, but I need to concatenate a field for a fairly large db. I found solutions but I need them explained to me like I'm 5 I have a database that needs integers within the same field to concatenate to condense the information. A solution that becomes a sum or a list is fine as long as it m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Snowflake SQL Escape * I am trying to compile a query that is using the replace() function.
The value to be replaced is a * .
My expression such as this
CREATE OR REPLACE FUNCTION MY_DB.MY_SCHEMA.MYFUNCTION(
"P_ONE" STRING,
"P_TWO" STRING)
RETURNS STRING
LANGUAGE SQL
AS '
select replace(
replace(VALU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use Electron.NET to wrap an ASP.NET Core Single Page Application I created a SPA with ASP.NET Core and react/typescript by following this blog post: https://www.nolanbradshaw.ca/net-react-typescript-template
While debugging the project I use the following in my launchSettings.json
"MySPA": {
"commandNam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL multiple CTEs but no results I have a table TrainingCredits of EmployeeIDs with their credits for training hours earned:
** EmpID, CourseNum, Credits, CompletedDate**
151, 400, 0.5, 10/1/2022
Each course has separate table Courses with tags for content area:
CourseNum, CourseName, Creditspossible, Tags CourseNu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hibernate 6 Error: Cannot invoke "org.hibernate.engine.spi.EntityKey.getIdentifier()" because "this.entityKey" is null We are migrating a legacy application from Spring Boot 2.7 -> 3.0.2, with the associated change to Hibernate 6.
We are getting the following error on running the application:
java.lang.NullPointerEx... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Absolutely positioned flexbox shrinks involuntarily I'm building a topbar-style menu and I found a problem with flexbox.
My submenus contain an image that has certain flex-basis. The container seems to ignore it when setting its width for some reason. How can I avoid content overflow in this case? Setting flex-shrin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Asyncio, await asyncio.Features takes too long when waiting for a future being done in a different threadpool I am runing a fastapi API making ML predictions (XGBoost). It gets a lot of request per seconds. I receive the inputs to predict one by one, but in order to reduce the model inference time, I would like to b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How I set the WSL-Ubuntu 20.04 to support my text in Farsi(Persian)? I have WSL2 - Ubuntu 20.04 installed on my computer. Currently, I need it to show the characters in Persian (Farsi), but it does not and displays question marks instead. I have "fonts-farsiweb/focal,now 0.4.dfsg-12 all [installed]", and "fonts-fre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: defining same elements in X macro C I have been exploring X macro and I created this table
#define FAULT_TABLE(FAULT) \
FAULT(INVALID, FAULT_CATEGORY_NONE, action_none) \
FAULT(COMMS_FAILURE, FAULT_CATEGORY_1, action_1) \
FAULT(QUEUE_FAILURE, FA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Monitoring GitHub workflow via Grafana I want to monitor GitHub with Grafana and I came across https://github.com/grafana/github-datasource which can do the trick.
Have added the data source as cm and added it as plugin in grafana deployment but my deployment fails saying it can't find the plugin
Error: β grafana-gi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ensuring thread-safe initialization of shared memory segments for IPC communication I am implementing shared memory IPC for inter-process communication. I have created a class that consists of a ring buffer and a mutex. When the shared memory segment is created, the class object must be initialized in a thread-safe ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SWR mutation does not update the cache using a static method of class as a fetcher I'm using the swr package. I successfully fetch data using useSWR, but when I try to mutate the data - it does not work, and the cached state of swr does not change (as it should).
I created my custom hook:
import useSWR from 'swr';
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Which python library to use for training a transformer on 2D input data for predicting masked data? I have a dataset of 10k 2D 16x16 grids with points having values from 0 to 1. Both nearby points and points across the whole grid are relevant in predicting the data. I also have categorical labels associated with eac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: configure more than 32 fa ports on cisco switch witch GNS3 I am trying to emulate a 48P cisco switch on GNS3. But when I add 3 or more slots with a NM-16ESW card, the router does not support them anymore...
(https://i.stack.imgur.com/GinTs.png)
ESW1#conf t
Enter configuration commands, one per line. End with CNTL/Z... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firebase data insertion not working in onPressed function I have a function that writes data to a subcollection in firebase. It works as intended when I call the function in "innitState". But when I call this function in an onPressed function it does not work.
here is the code that writes data to the database. It re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Matplotlib: Creating a 3d cube plot I am trying to learn how to create a 3D cube plot to visualize data. Here I am creating some mock data to represent sales of items. On the x axis, I am trying to plot the year, Y axis I am trying to plot the items sold, and the Z axis would have the prices these items sold at.
Thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JavaScript: How to change title of a webpage when and ONLY when its URL changes? Is there some option to change a title of a webpage on a URL change - but ONLY when its URL changes?
There are some pages on the internet that constantly change their titles (for example YouTube) and add number of new notifications in f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bootstrap NavBar questions I have a NavBar that looks like this (what I want). But I have a couple of questions around it.
The NavMenu.razor is as follows:
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
<div class="container-fluid">
<a class="navbar-brand" href="">BlazingTopMenu</a>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Unable to change Elastic Beanstalk config
Whenever I click the Configuration link I get this error. I have tried to rebuild the environment but I get the same error after it builds.
I have tried to rebuild and it fails.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75609430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I write a code for a three player rock, paper, scissors game This is a 2 player and 3 player 'rock, paper, scissor' game. The 1st player is the user and the 2nd and 3rd player is the computer. Although the code does work for the 2 player, it doesn't identify the winner for my three player game.
I don't know h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Trying to use RegEx to capture after newlines / linebreaks I'm working on a tricky issue where I'm trying to automate the capture strings of from amalgamated chatter records. This works by agreed upon "keywords" that the employees use to "tag" the comments. For this, I'm trying to isolate the name of the employee th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: remove "!!omap" from yaml file generation? i am using this to write my file
yaml1 = ruamel.yaml.YAML()
yaml1.preserve_quotes = True
with open('output.yaml', "wb") as fp:
yaml1.dump(file, fp)
file in runtime prints as follows:
ordereddict(
[
('formatVersion', '0.11'),
('deviceDescri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Round and square brackets in one line python code I know it's not worth writing like that, but still, I'm very interested in what this tip is called and where can I find out more about it?
d = {}
for i in range(10):
({}, d)[i%2][i] = i ** 2
I understand what it's doing, but I didn't find the name, no matter how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Merge content of two columns with parenthesis in R I have a dataset like this
structure(list(x1 = c("red", "green", "blue", "blue"), x2 = c(60,
10, 50, 50), x3 = c("blue", "red", "red", "green"), x4 = c(30,
30, 40, 30)), row.names = c(NA, -4L), class = c("tbl_df", "tbl",
"data.frame"))
I want to merge red with 6... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to download JSON file from swift link I am faced with the task of downloading a JSON file from the link how can I do this (at the moment there is little experience)
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75609440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-8"
} |
Q: AWS SES - VPC Endpoint - does not send emails I have got an application hosted on ec2 instance in private subnet where no internect connection is established. However, I want to send emails from this instance. So I decided to use VPC Endpoint.
Here is the security group of the vpc endpoint I created
Source is the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unhandled promise rejection: TypeError: response.textConverted is not a function while using Jasmine with Frisby I use Jasmine (in Angular) to access the server with the following test:
it("webmaster's email address", function(done) {
frisby.setup({
request: {
headers: {
'Authorization': Buffer.f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter Bottom Navigaton I want bottom navigation to change if I press any button or link on other tab. For example
If I am on this page and I click on "weekdays" list item, I go to this next page.
Now, my first page is in "Home" tab and my second page is in "Configuration" tab. How do I switch the tab while showin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handling Saml LogoutRequest without third party cookies I have a situation whereby I'm logging out of a third party application and need my application to also log out. Currently the user is not logged out of my application due to cookies being inaccessible - I'm unable to identify which user is logged in without th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spatial Indexing and Bounding Box I have two tables each with a SHAPE Geom Column, and I'm working on getting the intersected area between every shape in the first table with the second table.
The second table has millions of rows, and hence my query takes a long time to execute.
I thought of creating an index on th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Configure Frame Size Tkinter I have a Tkinter code with multiple frames, but I don't understand how to change each frame size. I tried with the .configure() method but it didn't work, I would like that each frame to have the same size as the window the "master".
import tkinter as tk
import tkinter.ttk as ttk
# ----... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pythagorean Theorem using custom functions in google sheets I am trying to make pythagorean theorem using custom functions in google sheets. I want it to be able to find any missing side by doing =PYTH(a,b,c). here is my current code:
function PYTH(a,b,c){
if(c = 0){return(Math.sqrt(Math.pow(a, 2)+Math.pow(b, 2)))... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set up framer-motion in React Router Dom with its RouterProvider? I was not able to set up Framer Motion in React Router Dom version 6.8.
The initial transition is working but not the exit at home page.
I am using createBrowserRouter and RouterProvider in the index.js file, and I have wrapped the page where I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to link C or C++ using swipl-ld? ld.exe gives an "undefined reference to 'PL_initialise'" (and other functions declared in SWI-Prolog.h) error when passing a c file to swipl-ld.
I'm using SWI-Prolog on Windows 11.
I installed gcc to my computer using MinGW, read this page and tried to do the same thing.
I made t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: selecting from an object with a complex list to only get items that are in another list (linq) I've seen many similar examples but I cant piece this particular situation together from other questions or the MS documentation.
How would I accomplish the following given these objects?
I would like to perform a LINQ qu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I fix _AssertionError ('dart:ui/platform_dispatcher.dart' in flutter? I can't fix this error:
_AssertionError ('dart:ui/platform_dispatcher.dart': Failed assertion: line 1919 pos 15: '<optimized out>': is not true.)
Code:
final box = await Hive.openBox('principale');
String _lingua = box.get("locale... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue with filtering Data fetched from sanity I am working on a React App, and currently having an Issue when trying to filter Data i fetch from sanity.
Overall it is pretty simple,
Data is being fetched, on Page load (no filter active) all of the data should be shown
-> when e.g. tag is clicked, only data containin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: spring cloud starter dependency causing issues at startup I recently updated my application from spring 2.1 to 2.7 and java-8 to java-17. The build is successful but the application fails at startup.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spannerTransactionManagerAuto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to call function withour rendering React? I have that simple code, that checking user has been login:
function App() {
const {isLoggedIn} = useAppSelector(state => state.userReducer)
const dispatch = useAppDispatch();
const token = useRef(JSON.parse(localStorage.getItem('token')|| '{}'))
console.log(t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stein's Unbiased Risk Estimate (SURE) threshold calculation (Wavelets) I want to perform wavelaet threshold processing on 1d signal using pywavelets. I wrote this code to find argmin of risk like it mentioned here (https://cdn.intechopen.com/pdfs/34936/InTech-Wavelet_denoising.pdf) to calculate SURE threshold, becau... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I efficiently filter and store maximum and minimum x,y pairs from a large list in Python? I have a loop function to calculate 2 values of the combinations of one list:
xyList = []
for i, j in itertools.combinations(mx, 2):
x= *some calculation*
y= *some calculation*
xyList.append([x,y])
However,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to install kali linux properly? I just downloaded kali iso. Then I installed it in virtual box. It has been installed successfully and I logged into kali successfully. But whenever I sign out or turn off the kali machine and try to turn it on, it requires me to install it all over again.
The only solution I hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: I want to show data from an api into a recyclerView. It seems when I try to pass the data the Recyclerview still shows null the repository is my method for calling the API. I called the repository in the Mainactivity to try to feed the data into the recycler view. Im sure the API call is working because when i tried... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Centralising my booking form on my iframe booking widget I'm building a site using a code within an iframe to allow for bookings. I have a large iFrame as the second phase of booking process which requires a wider screen but I can't get the first part, which has a small screen, to centralise, it defaults to the left... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ACO v2 File reader / display getting the colorname This is going to be a long one.
there are many things commented out as i have tried A LOT. im still a learner and quite bad.
First: its Java and mostly done. just one thing is missing.
This is file one: AcoViewer
import gui.Window;
import java.io.IOException;
impor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I fix the Syntax error in this SQL insert statement? first time poster here.
I'm working on creating a SQL insert statement in VBA (Access Database), but I keep receiving a Syntax error when I'm finally ready to make the insert through the form I've created. Can't seem to figure out where I'm going wrong on t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What would be the time complexity of this code? Big O notation `
def func5(n, m):
i = 0
while i < n:
j = 1
while j < m:
print(i+j)
j *= 3
i += 1
`
I have gotten answers O(n*m) and O(n(log(m)). Which is it?
A: n = 1, outer loop runs : 1 time
n = 2, outer l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHPickerViewControllerDelegate load item using async await I can't find much documented regarding the PHPickerViewControllerDelegate didFinishPicking function using async await and I'm not sure I understand how to use the NSItemProvider. Here is my delegate code:
func picker( _ picker: PHPickerViewController, di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is this Conditional Typing Needed? I saw a typescript code like below:
type UnionKeys<T> = T extends T ? keyof T : never;
I wonder is the "T extends T" needed, I think the right side of assignment always evaluates to true, thus only the first branch "keyof T" is returned as the final type, the second branch is neve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Ansible nested conditional blocks I am trying to have conditional blocks within conditional blocks and need your suggestions if this could be improved.
---
- name: Check the directory
block:
- name: Copy file1 to host
ansible.builtin.copy:
src: "{{ source_dir }}"
dest: "{{ target_dir }}"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Redis key too long error for a key less than 512MB I read that the redis key size limit is 512MB, but I'm running into redis.exceptions.ResponseError: key too long for a key much shorter than that (90k length). Does anyone know if this key size limit is configurable or why my key is considered too long? My redis ver... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Box and Arc magic In Rust, you can cast from Arc/Box/Rc<T> to Arc/Box/Rc<dyn Trait> using some sort of compiler magic accessed with the as keyword. Is there a way to opt into this magic for a user-defined type, or are Arc and Box special cases?
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |