Latest Questions

Sevltekit 404 error when refreshing dynamic route

I want a static page that loads content dynamically based on URL, for example like this: https://example.com/pokemon/id It can load on the server or on the clie

onesignal notification open in phone web browser instead of app

HI every one first of all i am not a programmer but i really need help i made an app for my wordpress blog using template web2app installed onesignal plugin in

You must provide a user name/id (via --os-username, --os-user-id, env[OS_USERNAME] or env[OS_USER_ID]) or an auth token (via --os-token)

While trying to run nova command in openstack server, I get this error: You must provide a user name/id (via --os-username, --os-user-id, env[OS_USERNAME] or e

Full text search failure on PostgreSQL

I have a PostgreSQL used to index text content. The SearchVector column is created successfully using the following code UPDATE public."DocumentFiles" SET "Sear

Linux script not executing properly after a reboot

I am using a raspberry pi4 with 32bit Raspbian to display some webpages. I have a script to open 2 webpages, one on each monitor. The end of the script selects

Powershell WPF handle single row colors

I'm trying to adapt a script of mine who just shows a simple WPF datagrid. It has 4 Columns and i need to set a color on a few rows if its content respects a co

C++ : How to create a copy constructor of array that has a pointer?

I have template <class T> class arrList: public linearList<T> { public: arrList() {} arrList(const arrList<T>& List); ~

How do I echo a greater than sign in Cmd?

How do I echo the "greater than" character in cmd? I would like to escape the "greater than" sign (>) because I need it to echo to another .bat file. Echo ne

CAShapeLayer Image Not Appearing

I have an image.cgImage that I set as the contents to a CAShapeLayer() but it's not appearing. I force unwrap the image so I know that it definitely exists. The

Set Dynamic DataGridTextColumn HeaderStyle

I am trying to set a dynamic header style for my DataGrid. I can set the ColumnHeader style for the entire Datagrid, but setting the style for a single column d

Haskell Criterion: Could not load module, hidden package

When I do exactly what this Criterion tutorial says to do to get started, I get an error. What am I doing wrong? Is the tutorial wrong? If so, is there a place

ECCODES build on Windows 11 fails on Generate step

I'm trying to build ECCODES C package (https://confluence.ecmwf.int/display/ECC/ecCodes+installation) on Windows 11 for further usage with python pygrib library

Zabbix & Teltonika SMS Gateway

I would like to utilise the Teltonika SMS Gateway in Zabbix to send SMS. The format is the following: http://10.3.1.7/cgi-bin/sms_send?username=user1&passwo

joystick positioning relative to screen size

I want the joystick fixed on the bottom-right the screen, no matter the resolution/window size. Although my solution works, there must be a cleaner code for thi

Is there a free version of SQL server that has Integration Services Catalog too?

Trying to understand what free version of sql server allows to create Integration Services Catalog for SSIS pacakges. Any help is appreciated. Thanks.

Generate payment link and sms invoice using Zoho Books API

My application needs me to send a payment link to the customer via SMS. Once the payment is done, capture it and create a paid invoice and again send it via SMS

Spring Security OAuth 2 - Authorization Server update from 0.1.0 to 0.1.1 / 0.1.2 makes example projects not work

I want to use the new Spring Security Authorization Server to implement OAuth2 for my webservice. At https://www.baeldung.com/spring-security-oauth-auth-server

yfR:Error in download.Error in `vec_slice()`: ! `x` must be a vector, not NULL

I am sure I have installed the latest packages include "quantomd":(devtools::install_github("joshuaulrich/quantmod", ref = "358-getsymbols-new.session")) But st

Bug in Weaviate - Update data object instance (Python Client)

I have a Weaviate instance running (ver 1.12.2) I am playing around with the Python client https://weaviate-python-client.readthedocs.io/en/stable/ (ver 3.4.2)

error TS2339: Property 'clipboard' does not exist on type 'Navigator'

I get this error in my project, that I am updating - they want to copy data to the clipboard. Custom data, that I can easily put together error TS2339: Property

Text inside Pressable has a different background color

I want to create a custom button using Pressable and Text. My problem is that the Text component has a slightly different background color than the rest of my b

dapr uninstall does not clean up all the containers that it created

On my Windows machine, I successfully initialized dapr as explained here. But upon uninstalling it, two docker containers continue to run. Am I missing somethi

How can I count a value in SQL

I have a table with the columns company_id, shipment_id and trip_id. I am asked to find out which companies have less than 4 shipments on a single trip. The que

MCU crashes when "declaring" vector table in SRAM

I have a new standard c++ project on an imx rt 1024 (an nxp chip), in which I try to move my vector table to SRAM. It fails, depending on a change I apply in th

Most idiomatic way to read a range of bytes from a file

I have a file, say myfile. Using Rust, I would like to open myfile, and read bytes N to M into a Vec, say myvec. What is the most idiomatic way to do so? Naivel

Relative volume by time of day

Relative volume is the ratio of the current volume to the average volume during a prior number of bars. Given that volume changes drastically by time of day, a

How to create a Datasheet for Elden Ring Save-Files

I'd like to find out the offset of certain information like level, equipped items etc. from the ER0000.sl2 save file. It has been done for Dark Souls here. And

Cannot get div items ordered out of sequence with bootstrap

I have included the bootstrap 3.4.1 in my Angular 12 project and placed this HTML on my app.component page: <div class="container"> ... <div class=

How to display images with android native image viewer - XamarinForms

Any ideas on how to display the images of my application in XamarinForms with the native android image viewer enter image description here

SMART error Device: /dev/sda [SAT], 2 Currently unreadable (pending) sectors but which ones?

I have a proxmox installation on a PC, which daily reports this to me via email: Device: /dev/sda [SAT], 2 Currently unreadable (pending) sectors Until some day