24,227,677 questions
0
votes
0
answers
7
views
Discord NodeJS Show Modal When Validation Fails
I've been trying to get a new modal to appear with the same content after validation fails. In this context, I've wanted to force the user to input a number. Since it seems there's no way to do this ...
0
votes
0
answers
5
views
How to copy-paste the command from PDF to UTM
I have a question that really needs help.
My machine is a MacBook with an M1 chip, and I downloaded “Download 24.04.2 LTS” to run inside UTM. But why on earth am I unable to copy and paste the code?!
...
0
votes
0
answers
4
views
Error "When allowCredentials is true" with allowCredentials is false
I have an application with a websocket connection, but when I test it with the wscat tool I get a return saying "connection received [connection_id]" but when I try to make the connection ...
0
votes
0
answers
8
views
Apply jq functions conditionally to matching and non-matching JSON subtrees
I want to apply one function to all descendants of a particular node in a tree, and a different function to all other nodes, in the following way:
if path_matches(.deep.path.matching) then ...
-2
votes
0
answers
8
views
What's the best schema to use to encourage AI and LLMs to crawl your website?
So, I know most people here are developers, but you must be the ones implementing codes for your marketing teams.
With the rise of AI, no one can agree on how to encourage the different LLMs to crawl ...
0
votes
1
answer
15
views
how to parse specified params in a very large file
i have a very large binary file and it contains lots of params,say about 5000 params.
a few days ago,i want to parse all the params and the solution from this post
(how can i get a Codec[int(8)::...
0
votes
0
answers
6
views
How to create and manage daily partitioned tables in Databricks Unity Catalog for Bronze layer with full and incremental loads
I’m working on a project to practice using Databricks, Lakehouse architecture, Medallion architecture, and data lakes.
Setup:
I have an Azure Data Lake with three containers: bronze, silver, and gold.
...
0
votes
0
answers
12
views
How to prevent IndexOutOfRangeException when moving a player with arrow keys on a 2D char[,] grid in a C# console app?(jsh2)
I’m writing a simple console maze game in C# where the map is stored as a 2D char[,] and the player moves with the arrow keys. Here’s the core of my movement logic:
using System;
using System.IO;
...
0
votes
0
answers
10
views
How to construct a type out of partial in Typescript?
I have a base interface in which extended into several interfaces.
interface BaseEvent {
user_id: string,
workspace_id: string,
created_at: Date,
}
interface LoginEvent extends BaseEvent {...
-2
votes
0
answers
16
views
¿Cómo ejecutar una tarea en segundo plano con 15 segundos de retardo después de que arranca mi aplicación Spring Boot? [closed]
Estoy desarrollando una aplicación en Spring Boot que consume datos desde una API pública (específicamente, estadísticas de COVID-19) y persiste esos datos en una base de datos MySQL utilizando JPA.
...
-1
votes
0
answers
10
views
Need help creating both header and bottom navigation buttons on the same screen
I'm trying with no success to create an expo project with typescript which has 2 screens (screen 1 and screen 2). On screen 1 I have a button in the header that when clicked goes to screen 2. Screen 1 ...
0
votes
0
answers
7
views
Issue launching Calculator in Kiosk Mode on Android (usnig DevicePolicyManager)
I am trying to launch Calculator App in Kiosk mode on Android Tablet that's on 13(Tiramisu). I can launch admin app in Kiosk mode perfectly with below code, but not the calculator App. Any help would ...
0
votes
1
answer
12
views
Python text tokenize code to output results from horizontal to vertical with grammar recognition
Below code tokenises the text and identifies the grammar of each tokenised word.
import nltk
from nltk.tokenize import sent_tokenize, word_tokenize
from nltk.corpus import wordnet as wn
#nltk....
0
votes
0
answers
7
views
Remove toolbar only for NavigationSplitView detail
I would like to center the red rectangle vertically on the right side (the detail part of the NavigationSplitView). I can hide it with .toolbarBackground(.hidden, for: .windowToolbar), but the toolbar ...
0
votes
0
answers
6
views
Setting background color for react native app using expo bottom tab navigation
I am writing a small app using react native expo. The app is using bottom tab navigation. The app has a toggle switch to switch between dark and light modes. I would like to change the background ...