Latest Questions

Change plot size of rglwidget in shiny

I would like to stretch these plots to the window size or at least make them bigger: ui.R options(rgl.useNULL = TRUE) library(shiny) library(rgl) shinyUI(flui

TypeError: Cannot read properties of undefined (reading 'createdTimestamp') discord.js

Basically i am trying to create a userinfo command for discord.js, i followed some tutorials and i seemed to make one, but i get this error saying: TypeError: C

how can i show a different window depending on the option i choose from a selection combo?

I have this code And I want to show a different message when I click in one of these options. document.getElementById("specialityAppointmentSelection").

Jakarta EE 8 Security > Wildfly 26 Elytron - Role not being set

I am trying to setup a simple JSF login using Jakarta EE 8 Security, I have implemented the login page as a custom form as follows: @ApplicationScoped @CustomFo

Save Data to Array Variable in For Loop

I need to find the earliest & latest dates for certain table entries. A link to a diagram of the table. The premise is that every time an entry has a desire

How can I put inside a curator project a suggester field (ElasticSearch)

My question is simple, I only want to know how can I add a field "suggester" correctly inside a curator project, because the next configuration not adds the fie

Send files from flutter web to .net api

I'm trying to send files to .net api, but api response me {"mensaje":"startIndex cannot be larger than length of string. (Parameter 'startIndex')"} void _ha

Python and vs or in while loop

choice = input('Enjoying the course? (y/n)') while choice != "y" or choice != "n": choice = input("Sorry, I didn't catch that. Enter again: ") im trying to

I have an unexpected buffer overrun warning, why do I have that?

I have to create a function that sum components of a vector this way: first + second, third + fourth, 5th + 6th, and so on. original vector has size "size". I h

Make Hikari discord bot only listen to one channel

I just mada a discord bot with hikari that for now listens to a whole server, and if someone types $shares https://tiktok.com/@xxx/2938923 It runs a script, th

Swift PDFKit how to scroll to specific point programmatically

I have vertical scrolling pdfView: var pdfView = PDFView() pdfView.displayDirection = .vertical pdfView.usePageViewController(false) pd

Is there a way to synchronize a file across all branches?

I am trying store my dotfiles on GitHub using a bare repository. The thing is, that I want to create different branches for different desktop styles but if I ha

Ngrok - Action Mailbox send me a 403 Forbidden

I want to receive and parse emails from my Rails application using Action Mailbox. In local, everything works fine. I then wanted to try sending email from my G

Java springboot application I have to create in which I have to send requests to multiple endpoint with their schedule time at once

Explanation - I have IP address/port and thier time frequency saved in DB. I have to create service or job that will run on scheduled time. It will read endpoin

How to do Multi-step forecasting using XGBoost?

I am currently using XGBoost to predict sales in the future. My time series data is given per week interval. But I am not sure how can I do multistep forcasting

bool() vs is not None [duplicate]

I have two functions that return a bool. The first is using bool() and the second is using is not None. def func_1(x) -> bool: return b

Storybook (with Vite / Typescript / MDX) doesn't show ArgsTable

I'm trying to show the table with props on a MDX docs page, but whatever I try, the table only shows: "No inputs found for this component. Read the docs >" I

first commit in branch

Whith command git rev-list --max-parents=0 HEAD I get first commit in project 37a8bdc19ce1fd41ebfa1611621da3b30e92ff03 With this two I get the same output: gi

Loops: How can I loop case_when function in R?

Here's the code, where I am trying to create a variable by detecting the words and matching them. Here I use dplyr package and its function mutate in combinatio

Cookies not loading in discord selenium python

I have such a situation, I log into the discord and then save the cookies with this code pickle.dump (driver.get_cookies (), open (r "cookies_discord.pkl", "wb"

@Injectable giving undefined in angular 13

Hello guys I've recently updated angular to the version 13 and I'm experiencing some issues regarding DI. When I call the ReflectiveInjector.resolveAndCreate()

How should I handle in app payment for new app that does not have anything to show yet

I have created a new app that is not in both stores yet. It is supposed to charge users subscriptions every 1 / 3 / or 6 months. The app helps users find near

sqllite offline in ionic 4

I am facing issue in ionic 4 . Induction variable gives undefined but there is data when i run sql query ..Help me Please following is my code try {

Weird output from "flutter clean" command when used outside folder that has build

When i run flutter clean a folder outside the main build folder. I this response: Changing current working directory to: /User/.. Why is that? and what does wor

How to read data from nested array in Firestore

I have the below structure in my Firestore and I want to read data and store it in ArrayList like I have "amountArrayList" which will read data from the "transa

Azure Data Factory - Copy Activity - Read data from http response timeout

I use the Copy activity to query an HTTP endpoint, but after 5 minutes I keep getting the following error "Read data from response timeout": Error Code: ErrorCo

Expected list of ‘lower-bound :’ or list of ‘lower-bound : upper-bound’ specifications at (1) in Fortran pointer

The background of my question is related to Optimizing array additions and multiplications with transposes I am thinking about optimizng 0.1*A + 0.1*transpose(A

get longitude X, latitude Y coordinates from German NUTS regional names

I have a set of data of German regions with their NUTS names. Is there a way to get Long X and Lat Y coordinates based on their NUTS names in Python?

Python argparse prevent long and short flags at same time

I have this code: parser = argparse.ArgumentParser() parser.add_argument('-L', '--list', action='store_true', help='list options') args = parser.parse_args() I

Ignoring CMake cached variable

How can I force CMake to ignore cached value? I want to require the caller to pass variable each time, for example cmake .. -DSOME_VAR=value and if I call CMak