text string | meta dict |
|---|---|
Q: Extract and append unknown number of data.table columns under one new column name in R I have an R data.table created from splitting a string into paragraphs (using stringr) and then transposing, e.g. from something like:
paras = dat[,transpose(str_extract_all(longstring, myregex))][, index := .I]
where longstring i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What S3 IAM permissions are needed to write a parquet file with Spark? When Spark writes out parquet files to S3, what actions does it need to do? I'm asking to figure out the set of minimal S3 permissions (aka IAM actions) I should give to my IAM role.
There are two types of situation - I would like to know the nec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting nested object keys in i18next returns the key instead I am using I18next in a project to manage translations. I am trying to reuse some of the translation objects by using the documented nesting method.
{
"raptor_ID": {
"A001000": "African Harrier-hawk (unc)",
"A001001": "African Harrier... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Passing dataframe rows into R functions I know this question has been asked before but I"m unable to get the answers to work for me. I am trying to generate several Gaussian curves with the dpearson function from PearsonDS. A simple toy example of it working:
library(PearsonDS)
moments <- c(mean=1,variance=2,skewnes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to delete a header record in Acumatica? I am trying to delete the record from the header, under a condition when the Fabrication Stage = 6. Cancelled field and then pressing the save button, delete the record.
Attached is my code which gives me an error when I try to delete the record.
protected void INKitRegis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to save a value in a ReactJS page and use it in other pages? Let me start by giving you a heads-up of me being a total noob in ReactJS.
I have this back-end code for the login page written in nodejs:
app.post("/login", (req, res) => {
const { username, pass } = req.body;
sqlLoginuser = "SELECT * FROM use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make MUI AutoComplete that renderGroup as button with a popover containing options How can I use the renderGroup props of MUI AutoComplete to render each group as a button with a popOver, I've tried making this component <NestedPopOver/> that returns,
<>
<Button ref={buttonRef} onClick{() => setOpen(true)}>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I copy a file, piece by piece, skipping (or retrying several times) pieces which throw an error? Shell/Python My HDD is currently dying, and in an effort to save memories, I am copying my pictures onto an external SSD (didn't have it until recently, don't blame pls).
The majority of the pictures were copied ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: There is a unity error CS0176: Member 'PlayerSaving.levels' cannot be accessed with an instance reference; qualify it with a type name instead Unity says that my Code has a error:
Member 'PlayerSaving.levels' cannot be accessed with an instance reference; qualify it with a type name instead
PlayerData.cs(13,17)
Here... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Hola tengo un error con el admin de django en jazzmin Cuando entro a una aplicacion en la tabla me aparece con este bug y no se como solucionarlo
enter image description here
| {
"language": "es",
"url": "https://stackoverflow.com/questions/75559915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Does not exists in the given context enter image description here
$.each(data, function (i, item) {
var stdid = item.Studentid;
var rows = "<tr>"
+ "<td class='prtoducttd'>" + item.Studentid + "</td>"
+ "<td class='prtoducttd'>" + item.StudentName + "</td>"
+ "<td class='prtoducttd'>" + item.Stu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need Powershell script to point client machines to new splunk deployment server Basically, need the script to loop through a list of client servers and
*
*Stop splunk
*Set deploy-poll newDepServer:port
*Start splunk
Caveat - the commands im trying to run are splunk commands specifically. so, they must run in th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Power Query - Meeting Requests. Why so slow? I am trying to run a PQ that will fetch the information on my calendar for a load of bookings that are made via MS Bookings over a year (around 6000 bookings per year).
It's insanely slow!!
I tried a few things to potentially speed it up (eg: Table.Buffer, and also attemp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: vite env variable returns undefined in production with vercel Vite.config.ts
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
});
and this is .env file:
VITE_API_KEY = "someKey"
VITE_API_BASE_URL = "base... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ignore a function with Protobuf.NET I have an interface that looks like this:
[ProtoContract(ImplicitFields = ImplicitFields.None)]
[ProtoInclude(1, typeof(A))]
[ProtoInclude(2, typeof(B))]
public interface INode
{
IQueryable BuildQueryable();
}
It is inherited by classes A and B. When I try to serialize a con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Elastic Search query not giving correct result I have a elastic search query the query is
GET /My_Index_Name/_search
{
"query": {
"bool": {
"must": [
{
"geo_distance": {
"addresses.location.longitudeLatitude": {
"lat": "57.7092",
"lon": "11.9816"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create nested rec arrays Given the following arrays:
name = np.array(['a', 'b', 'c'])
val = np.array([0.4, 0.5, 0.6])
alt = np.array([1.1, 2.1, 3.1])
b = np.array([17.2])
How can I combine them into a recarray (or structured array, same thing) that looks like this: [('a', 'b', 'c'), (0.4, 0.5, 0.6), (1.1, 2.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Length of multidimensional arrays If
int len = sizeof(arr)/sizeof(int);
Gives us the length of an array, and sizeof(arr) is the size of the array in bytes and sizeof(int) gives us the size of the data type of the array,
int rowDimension = sizeof(mat)/sizeof(mat[0]);
What does sizeof(matrix) and sizeof(matrix[0]) g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to enable JavaScript Policy in keycloak 18.0.2 I'm using the quay.io/keycloak instance (18.0.2-legacy) via docker-compose yaml file and the JavaScript Policy is disabled (as default).
I'm trying to set the JAVA_OPTS_APPEND in the environment without success:
keycloak:
image: quay.io/keycloak/keycloak:18.0.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 'utf-8' codec can't decode byte 0x80 in position 3131: invalid start byte I am having issues with my information retrieval code. I am just trying to get information from txt files I have previously added to a corpus file. At first everything was okay, the information that was retrieved was not amazing but a good sta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Netezza SQL - Auto incrementing column duplicate Rookie with Netezza SQL so need some guidance.
I have a table TABLE_A in Netezza with 3 columns:
*
*Name
*Account_No
*Month
TABLE_A gets updated every month with new data. The column Account_No however is a character column with numeric data. I want to update TAB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: google geocoding api - apartment building can the google maps api return the apartments in an apartment building? I have a csv file containing 56K+ addresses and some are apartment buildings. I want to be able to get the apartment number/letters that are in that building. can that be done using one of the apis on go... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: swig: Set a reference between two %extended C struct I'm using SWIG to generate Python bindings for a C library. The C library provides APIs to creates objects (struct). To simplify, let's say there are two types of objects: "Houses" and "Rooms". A House object must be created before Room objects can be added to it.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Font-Weight from CSS not taking effect until all P elements on page have been scrolled to So, this is just a basic site layout I've used dozens of times. Suddenly (ie. today - I haven't made one for anyone in a while) the text CSS isn't instantiating until I've scrolled to all elements using these tags.. I don't g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cron expression every 25 seconds skipping beginning of month, end of month and mid of month I am trying to generate a CRON expression for every 25 seconds whole day from 3rd of every month to 14th of every month and from 18th of every month to 24th of every month whole year.. So, far I could get to this part 0/25 0 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to send a generic SCSI command to a USB drive under MACOS This has been asked a few times, but I haven't found any actual resolution to how to accomplish this. I will admit, I am a Linux programmer, not MACOS, so this is a very different world, but this shouldn't be so difficult.
I am attempting to send a Vendo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: component is only loaded after the page refreshing in vue js My component is not loaded when it goes login to dashboard. In login method I have used this.router.push(). The url is changed but the page not mounted until it refreshes. I have two user so in app.vue I am checking guard and valids the routes depends on t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am using bootstrap to create a portfolio, I have the design in my mind, can anyone just tell me how to implement this navbar line? This is how i want it to look like while on homepage
and to look like this while on my about page
can someone tell me how can i overlap the line on text items?
its looking like this on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to bypass MSAL interceptor conditionally in Angular I have an application that so far uses username and password authentication to get a custom JWT token from the backend. Once I got the token, I use my custom interceptor to add it to the headers:
@Injectable()
export class JwtInterceptor implements HttpIntercep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to solve this without a loop? we're given 3 numbers y, x, and n. we're asked to find the largest k in case 1 <= k <= n and k % x = y.
for example:
input: 1 2 100
output: 99
what i can write is like:
#include <stdio.h>
int main()
{
int y, x, n, max = 1;
scanf("%d %d %d", &y, &x, &n);
for (int k = 1; k <... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: convert model with tensorflowjs from pb file to json file I am trying to convert my model (Yolo model) from model.pb to model.json. I trying to do this because I want to load my model directly into my web application (with JavaScript). so I trying to do this with google colab platform and my drive account.
my code:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to access the event info on each moment of a drag in react-big-calendar? The default .rbc-event-label shows the time on each event and when dragging the event the start and end time will keep updating during the journey. I'm wanting to use a custom styled element to display the time (setting .rbc-even... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why do I keep on getting "TypeError: Cannot read properties of undefined (reading 'matches')" when running a simple test on react testing library? I have tried by best to figure out the issue but everything I tried so far has not been working.
This is what my App.js looks like:
import './App.css';
import {ChakraProv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Convert two dictionary to influx writing measurement fields in python I have a dictionary like
{'BTC': {'030323': 562.7,
'170323': 9.900000000000002,
'250223': 64.60000000000004,
'290923': 17.6,
'100323': 53.90000000000002,
'310323': 27.4,
'260223': 15.499999999999996,
'300623': 33.7,
'280423': 30.0,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: GGally equivalent to caret featurePlot()? Is there an equivalent function or a "simple" approach to use the GGally functions to reproduce the same plot layout as the caret::featurePlot()? One dependent/target variable on the y-axes, many independent/factor variables on the x-axes with facet wrapping of the plots? He... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I convert my Rack::Test::UploadedFile.new to be a string for Sidekiq 7? I have the following factory:
FactoryBot.define do
factory :checkin do
image { Rack::Test::UploadedFile.new( File.join(Rails.root, "spec", "support", "images", "single.jpg")) }
end
end
and I'm getting the following error/warning ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Activating conda env in VSCode with other extensions I'm using VSCode with conda environments on Windows and I'm trying to run the make command from the builtin extension in that environment. Just to be clear, the make command resides in the conda environment so it needs to be activated first.
I tried these settings... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting the request body as a string in and EndpointFilter .Net 7 I created a simple endpoint filter on a C# minimal api and when I try to get the body into a string it is always blank.
app.MapPost("/todo", async (Todo todo) =>
{
await Task.Run(() => { string x = "R";});
return Results.Created($"/todo/{0}", ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: writing async output to dataframe or csv I am trying to use the Alpha Vantage python API with the async call as described at https://pypi.org/project/alpha-vantage/ and modified it a bit to work with chunks of symbols:
symbols = ['AXP','AMGN','AAPL','BA','CAT','CSCO','CVX','GS','HD','HON','IBM','INTC','JNJ','KO','JP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Clock divider issue on BASYS 3 board using VHDL I am trying to set up a frequency divider using VHDL for a BASYS 3 board. It simulates fine in Vivado, but I can't seem to get the program to work on the actual hardware. When I run it on the hardware, the LED is lit up dimly (I assume that it is cycling on and off rap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: print jar version and set image tag I want to create Jenkins job which builds an docker image and pushes it into aws ecr registry. I tried this:
pipeline {
agent any
environment {
JENKINS_CREDENTIALSID = "12223-9ef5-4d89-8e14-4972d63325c5"
AWS_ACCOUNT_ID="123456789"
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GitHub Alternatives? as a new python student, I went to GitHub and there's a lot more to it than the last time I visited, 2 or 3 years ago I think? Are there any alternative sites similar where it's not so overwhelming, and easier to navigate while learning code? thanks.
I was hoping to get a fresh start on GitHub ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Python dash - tooltip problem at datatable Below is the code of a datatable from my dash app. It's working fine, but the only problem is, when I use a filter, the tooltip brings data from the table before the filter.
Example:
When the mouse cursor is over the first line of that column, it prints Acima de 120 dias (... | {
"language": "pt",
"url": "https://stackoverflow.com/questions/75559976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: training loss increasing with tiny learning rate Im trying to implement the autoencoder component of the DeepChess paper found here: https://arxiv.org/pdf/1711.09667.pdf
TLDR, it is a auto-encoder of size 773-600-400-200-100 trained using layer-wise unsupervised training.
The initial training of the layer (using a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to prevent Twilio room disconnect leaving redundant video and audio elements on page I am new to Twilio and I'm developing a prototype to research the video functionality.
I am using two machines to test. I creating a room on one machine, then join the room from a second machine. When the second machine joins ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to resolve, Import "pqcrypto" could not be resolved? I am trying to use the pqcrypto library but can not resolve the issue:
Import "pqcrypto" could not be resolved Pylance (reportMissingImports)
I am using python 3.10.6 on a ubuntu 22.4 virtual machine (virtual box). Pip version 23.0.1.
Initially I could not pi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559983",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Shortening the formula array in VBA to be shorter than 255 characters I have some Formula Array similar to the one below, just with longer table names in the VBA, causing it to exceed 255 characters by 20-30 characters. (The one below is less than 200 characters)
"= IFERROR(Index(INDIRECT(""myTable[Inventory]""), Ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559984",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tkinter canvas in frame I'm creating a software that includes login page, start page, etc.
My login page class has a canvas with pictures ( I used tkinter designer for the design ), but it shows the canvas images in a frame,
How can I solve it?
class PageTwo(tk.Frame):
def __init__(self, parent, controller):
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: While reading the line using item reader, when the line starts with token the file is not read I'm using spring batch item reader and delimited tokeniser to read a file and map the tokens to Java objects, when the line starts with token the file is not read.
#123#456#789#
#647#847#938#
#737#938#737#
Below file work... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: re.match not matching as expected I have this function :
def get_therapy_duration_unit(therapy_duration_str):
if m := re.match(r"/\b(Year|Month|Week|Day|Hour|Minute)s?\b/", therapy_duration_str, re.I):
cell_value = m.group(1).lower().title()
else:
cell_value = ""
return cell_value
Using ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Check for condition and insert column in EXCEL worksheet I have a table in excel. I want to check the name of the column and if is true i want to insert a new column otherwise it must continue checking.
i can't find anything to do it
A:
Sub test()
Call addNewCol(Me, "PINAKAS1", "Στήλη3")
End Sub
Private Sub a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559994",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException error I'm making a game which includes JButtons and ActionListener attached to them. But when I'm trying to check which JButton was pressed using for loops (within the 2D JButton array), I'm always getting this error no matter what.
Here... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Playwright - Run test having run flag as Yes I am working on Playwright framework in JavaScript.
I have database where maintaining data and test run flag as Yes or No.
From above table, generating json file for Test ID having Execute flag as 'Yes' along with test data.
Have created different test file for each Test... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: java.lang.LinkageError: loader constraint violation Jenkins maven I am testing an upgraded version of Jenkins (from 2.235.1 to 2.375.1). One of my jobs fails with the following error when run in Jenkins Agent with Swarm Client 3.39 (this works perfectly on previou sversion):
After reading up a bit more I think Maven... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using Tailwind css within shadow-dom I have been trying to integrate Tailwind CSS within the shadow-dom as part of a chrome extension (using the Plasmo platform). I have been injecting
@tailwind base;
@tailwind components;
@tailwind utilities;
into the component as follows:
import cssText from "data-text:~style.css... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Update values of an array of dictionaries from a pandas dataframe I have a this array of dictionaries:
jsn = [{'ID' : '01', 'Item' : 'Apple', 'salesman' :'Johnny'},
{'ID': '02', 'Item': 'carrot', 'salesman':'Patricia'},
{'ID': '04', 'Item' : 'airplane', 'salesman' : 'Eddgard'},
{'ID' : '05', '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to use RSA in Azure keyvalue Key to create JWE RSA keypair is in Azure KeyVault Key. I can use keyClient to access the key and use CryptographyClient to encrypt/decrypt
https://azuresdkdocs.blob.core.windows.net/$web/cpp/azure-security-keyvault-keys/4.2.0/md_samples_sample4_encrypt_decrypt.html
Now I'd like to u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sending a body with a GET request using fetch I'm a new developer but even I know that sending a get request with a body (while possible) is a bad idea for several reasons. But since I sit low on the totem pole, I might have to submit to my senior who is asking me to hit our internal API endpoint with a GET request ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "saturated likelihood may be inaccurate" warning and negative deviance when running betar family in GAM My code when running the generalized additive model with the betar family is as follow.
libary(mgcv)
b1 <- gam(ssim_exp ~ s(stage, k = 4, fx = TRUE, by = comparison_type) + comparison_type, data = df, family = bet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NextJS is rendering markdown frontmatter In our NextJS app, we have markdown files like so
markdown.mdx
---
title: Privacy policy
description: The privacy of your data...
---
# Privacy policy
Which we pull into a page using
page.tsx
import Head from 'next/head'
import Markdown from './markdown.mdx';
export defaul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# GitHub Authentication Bad Request I am trying to develop an authentication that can sync up two github repos using a GitHub App Authentication. I am using this documentation as reference.
Below is the code that I have:
String PEMString = "xxxxx";
JsonWebTokenHandler JWTHandler = new JsonWebTokenHandler();
DateTim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Truffle migrate Error: You must specify a network_id in your 'rinkeby' Truffle migrate Error: You must specify a network_id in your 'rinkeby' configuration in order to use this network. this is my truffle-config.js
const HDWalletProvider = require("@truffle/hdwallet-provider")
const config = {
alchemy: "0dba898c85... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cloning a git repo with "Secret text" credential as password I have a token stored in "Secret text" credential, and am trying to use that token as a password while cloning a git repo.
I do not want to use "Username with password" credential, as only the token is needed and I do not want to create a duplicate credent... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Comparing two lists and printing the list in Python I have two lists Z1 and Z2. I am comparing these two lists and if at least one sublist of Z1 appears in Z2, I want to print full Z1. I present the current and expected output.
Z1=[[0, 4], [0, 5], [4, 5]]
Z2=[[6, 5], [4, 9], [4, 8], [5, 3], [0,4]]
for i in range(0,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: [Vue warn]: Unhandled error during execution of async component loader at at when loading a SFC using vue3-sfc-loader Here is the code:
<div id="app">
<h1>Hello App!</h1>
<helloworld></helloworld>
<p>
<router-link to="/">Go to Home</router-link>
<router-link to="/about">Go to About</ro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pick applicable Excel solvers based on conditional logic (VBA) I am wanting to set up a VBA that will run an appropriate solver based on conditional logic. For Example: if cell A1 is greater than cell B1 then run Solver1, otherwise run Solver2. Here is what my Solver1 VBA looks like currently:
SolverAdd CellRef:="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reshape | values (ValueError) for impute transformation interative imputer fit transform on Bayesian Ridge: ValueError Expected 2D array, got 1D array Problem
Updated with new Python code and new Error
Created new imputer_bayesian_ridge() function not working on 2D requirements for IterativeImputer to impute traini... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: having an issue with Excel Macros I'm new to visual basics and writing macros. I have put together the following macros in a worksheet to perform the following, one allow multiple for selections in a list box, two to allow a makeshift navigation buttons to navigate back and forth between tabs while hiding the unnece... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can the "Button("Button("Button") {action}" found in Xcode 14.2 be used to call a funsion in an iOS phone app? I want to use the pressed button to call a func in SwiftUI so as to allow my iOS 16.2 iPhone app to carry out some visual effects.
I tried putting code between the {action}, but I get nothing but errors. I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: git cherrypick changes to release branch I have commit A, commit B and C that got merged into branch A. C obviously has A and B as well. I have a local fork of branch A that I've been pushing changes to.
I also have a fork of branch B (release branch). I need to push changes from branch A/branchA_fork into branch B.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NumberFormatException appears randomly while gathering information from jSerial Comm I have a program that reads the serial monitor from an Arduino Due that gathers information from a presure sensor and then prints it in the serial monitor.
The java program recives the information thanks to the jSerialComm and then ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Automatically fill in a table with selected columns of another table based on matching rows Sheet1 (Dynamically growing large table — Table1):
Id
Description
Dependency Id
% of completion
Owmer
1
Task 1
3
50%
Carlos
2
Task 2
70%
Thomas
3
Task 3
Jessica
4
Task 4
1
20%
Eddy
When there are thousand... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I can't use Listview.builder inside SinglechildScrollview body: (
SafeArea(
child: SingleChildScrollView(
child: Column(
children: [
ListView.builder(
itemBuilder: (context,index)
{
return(
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use jq to rename object keys I have something that is probably simple for someone with experience with jq. I have a file.txt with this in it:
{"user1": 10, "joe": 13, "jane": 55}
I would like to format this so that it produces the following result:
cat file.txt |jq \<???\>
{
"user.user1": 10,
"user.joe": 13,
"user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to install a web driver in Google Colab to work with Selenium? I want to run Selenium in Google Colab (Selenium: 4.8.2, Python: 3.8.10). But when installing the web driver I get an error:
AttributeError: 'Service' object has no attribute 'process'
My code:
!pip install selenium
from google.colab import drive
dr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I realize double linked mutable references? I want to create a struct which referecnces to it self like following:
struct Item<'a> {
id: String,
children: Vec<&'a mut Item<'a>>,
parents: Vec<&'a mut Item<'a>>
}
At the moment I use a hashmap for all Items and save the id: String in the children/pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Add a Sent by User filter column to the Elementor Submissions Page/Tab I am trying to add a filterable column to the Submissions page of Elementor, so that I can filter the forms that have been sent by User name, so far I have tried writing the following code but it breaks my site:
function add_user_filter_to_submis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Slow "waiting for server response" in django-plotly-dash I have a django project that includes many dash apps through django-plotly-dash. I noticed a strange increase in callback update latency recently and cannot identify the cause. I put together a simple dash app with three sequential callbacks below as an exam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Push array from backend to vuex store not working Errors: Error in created hook (Promise/async): "TypeError: state.push is not a function"
TypeError: state.push is not a function
Method in page
created: async function () { this.$store.commit('TicketSystem/ADD_BOARDS', (await this.$axios.get('https://localhost:716... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560043",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: virt-manager can't connect when using the private IP through the vpn I can connect via ssh to a remote server via its public IP but also via its private IP when connecting through the VPN. Both connections work properly.
When using virt-manager and connecting through the public IP it works fine:
virt-manager -c 'qem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Streaming MJPEG using UVC camera from USB camera from ARM using UDP to X86 I am using to use i.Mx6 Dual processor connected with USB Camera(UVC Camera) supporting 1080p 30FPS to Stream to X86 plaftform using UDP port.
*
*I want to achieve streaming using 1080p with minimum latency.
*I want to use MJPEG from i.MX6... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the best and most performant way to group ratings data per dates in Ruby on rails? I have a tasks table, for each completed task, the user can rate the task (from 1 to 5).
This is how the tasks table looks like:
tasks
id: integer
closed_at: datetime
rating: integer
I then need to build an API response... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't post my webpage in AWS EC2 Ubuntu instance I created an Amazon EC2 instance, I bought a domain, and I can see the apache2 ubuntu default page.
However, when I edit the index.html file in /var/www/html index.html with my own web page it doesn't work, and it keeps on showing the apache 2 default page.
I even use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: My program is still running, the cursor is blinking aon my console and the training is not starting I built a 2D segmentation model using the pytorch_lightning and monai package ( basic unet) that worked properly.
Now i added a CRF (conditional random field) inside my model in order to refine the results. however, w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does Chrome cache unpacked extension locations even after removal? I am running into a pretty interesting issue with unpacked extensions. After removing an unpacked extension, that same extension will only work when the parent directory/path is the same. Loading it unpacked from a different directory completely brea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to decode "2022-04-03T14:00:00Z" format date in Swift via json decoder I have some API that is sending dates in "2022-04-03T14:00:00Z" format, I have already tried dateDecodingStrategy with iso8601 and another standard form.
json
{
"checkin" : "2022-04-01T14:00:00Z",
"id" : 8955023880979749844,
"book... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Link to web without WebView and Url_launcher Please tell me how to put a link to a web page without WebView and Url_launcher.
I need to link to the ElevatedButton. Isn't there a simpler way than WebView and Url_launcher?
I'm trying to launch Url_launcher.
Changed the post. Posted the full code. There are no errors, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix "could not find function "Read10X" "? bmc.data <- Read10X(data.dir = "data/filtered_gene_bc_matrices/hg19")
Error in Read10X(data.dir = "data/filtered_gene_bc_matrices/hg19") :
could not find function "Read10X"
(pbmc.data<- Read("/Users/mindeng/Documents/sc-RNAseq analysis/单细胞分析学习-课程/Lepr-分析/mm10"))
Er... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++/Pyhton/pandas: rouble in launching python script with the command system() Under Linux/Ubuntu I installed the pandas library with "pip install pandas". I can run a script that uses pandas from the command line (python3 script.py). But when I try to run this script with the system function of C++ (system("python3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Does pidof works in crontab? I'm trying to do a crontab to check if a process is running and if he doesn't I relaunch it via a script on a server (my script is cloning a repo and reconfiguring everything), here is the crontab line:
* * * * * bash -c "export DISPLAY=:0 && if [[ -z "$(pidof my_process)" ]];then curl m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I get a callback to update the value of a Title object in dash? I am working on a Dash App using the Dash Design Kit and I am trying to combine it with using callbacks. I am trying to get the app to interface with Salesforce and be able to retrieve account details of the user who is logged in so that the Das... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use Storage Buffers in WGPU to store dynamic sized arrays I am working on a Pathtracer that uses the fragment-shader to render onto a Texture.
Currently I only render Spheres that are stored as a UniformBuffer like this:
var<uniform> geometry: Geometry;
struct Geometry {
sphere_count: u32,
spheres: ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Blazor Webassembly with Google Oauth Email confirmation fails with InvalidOperationException: No page named '/Index' I created a new project from .NET 7 templates: Blazor Webassembly app with Individual Accounts - ASP.NET Core hosted and added Microsoft.AspnetCore.Authentication.Google and a Google authentication co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change zoom and rotate without re-rendering PDF.js I am adding a pdf viewer built with the pdf.js Display API (https://github.com/mozilla/pdf.js/blob/master/src/display/api.js). Currently, each pdf is only a single page. I want to allow the user to change the zoom and rotation of the pdf but it seems that the only w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: API call to fetch data from PHP file and feed Array in JS dataset This is my variable in the JS file :
var salesRevenue = {
labels : ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
dataUnit : 'MUR',
stacked : true,
datasets : [{
label ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: using ColorScheme Property in Themedata I am making a WhatsApp Clone and for the dark theme of the app, I made a theme_dark.dart file and the code as below:
ThemeData darkTheme() {
final ThemeData base = ThemeData.dark();
return base.copyWith(
backgroundColor: Colours.backgroundDark,
);
}
The backgroundCo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unexpected syntax error when using Macro in conditional statement gml I am very new to Gamemaker, and I am trying to make a simple space invader game. In the player object's step event, I am trying to check for collisions with the left and right sides of the camera. I know this might not be the best way to do this, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Great expectations: UserConfigurableProfiler raises a MetricResolutionError: unhashable type: 'dict' I am trying to use a profiler to create expectations on certain data batches.
import great_expectations as gx
from great_expectations.core.batch import BatchRequest
from great_expectations.profile.user_configurable_p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use replace() to only change text, not html attributes? So I'm writing JS for a bookmarklet that will scour the page I'm in for specific words. Once found those words would then be replaced with something else. This only happens client side, on my web browser.
This is what I have so far:
const replaceString =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: stripe monthly recurring payment fee logic needs tweaking My requirement is quite straight forward. I need to charge the merchant a fee of 7.99 $ for first payment of every month.
For instace, if the first payment is on 3rd of Jan (7.99 will be deducted) and then the rest of the payments till 3rd of Feb would not be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |