2,525,586 questions
2
votes
1
answer
39
views
Emit source values with every "tick" of another observable
I have an Observable source and I want to delay emissions (no skip) as such: Start with first emission, than for every next emission, wait until another Observable tick has emitted once.
This should ...
0
votes
0
answers
17
views
NestJS and KeyV caching error: failed to retrieve cached data from Redis
I have two applications in Spring boot and NestJS. The Spring boot app stores session data in Redis. The session entity has the following properties: id, jwtId, accountId, validFrom, validUntill. Just ...
0
votes
0
answers
91
views
Having trouble in pushing multiple objects in an array [closed]
im building an gym software, and i want to add multiple food to diet array , here's the code i wrote bt it only accepts only one object at a time , i want it to modify for accept mutiple object at a ...
4
votes
1
answer
62
views
editorjs inline toolbar for header doesn't show up
I'm trying to add Heading option as popover buttons like below:
So I add this to the code:
<script src="https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest"></script>
<...
-3
votes
1
answer
68
views
When iterating JavaScript object retrieves different values than shown when console.logged complete object [closed]
The problem was lazy evaluation of browser giving an "old" console.log representation of array, making me to take wrong actions where the problem was other. Tks for the answers.
I'm working ...
-3
votes
0
answers
59
views
React MapLibre can't render country layer [closed]
I'm using Maplibre and Open Street Maps and trying to generate a map following this tutorial: https://docs.maptiler.com/react/maplibre-gl-js/how-to-use-maplibre-gl-js/.
My issue is that I cannot see ...
0
votes
1
answer
52
views
Peer receiving the answer cannot see offerer’s stream until reconnect
I'm learning WebRTC by making video chat application, and stumbled across the issue I can't fix for days.
I had a somehow working version of app, but it was unstable and inconsistent.
To improve it, I'...
0
votes
0
answers
77
views
JavaScript breakpoints are never hit while debugging Blazor web app (.Net 10)
Created a simple web app from the Visual Studio 2026 template, and added one razor page and a collocated JS file to test invoking and debugging JavaScript.
The JS works fine but I am unable to hit a ...
0
votes
0
answers
44
views
How to add scrollbars or Sliders to Stage that has a Layer with a large PNG image
I have been trying to add scrollbars to the Stage that has a PNG image in the Layer. The stage is 1024 x 512 and the Layer is 10000 x 5000 size or bigger. As you can see, I am moving the Stage over ...
1
vote
1
answer
126
views
Access a CSS variable in JavaScript
I'm using PHP to generate my website's pages, Bootstrap 5 to style the pages and Stripe to process customer payments. I'd like to style Stripe's payment elements to match the underlying theme of my ...
0
votes
0
answers
24
views
How do I create labels for protomaps pmtiles data in Leaflet.js?
I created some pmtiles files. I used tippecanoe and ogr2ogr, with various settings. My goal is: show the files with protomaps-leaflet.js. I already have some leaflet projects with basemaps, geojson ...
2
votes
1
answer
55
views
Rewrite external imports to use esm.sh
I am using Rollup to bundle code that's going into a <script type="module"> tag on a page. In the source, inputs look like import { createRoot } from 'react-dom/client'; In the output, ...
2
votes
0
answers
108
views
How to access internal functions of a website’s bundled JavaScript from a Tampermonkey userscript without using DevTools breakpoints? [closed]
I’m writing a Tampermonkey userscript for "https://wplace.live".
The site renders a world map on an HTML <canvas>. I want to overlay an image that stays aligned with the map while the ...
-5
votes
0
answers
99
views
Splitting a string twice [closed]
Okay so let's switch this around so that you are getting a more full picture
//this fetches the textfile
function fetchTextFile()
{
fetch("../TxtDatabase/Contactpage.txt")
.then(...
0
votes
0
answers
22
views
sqlite db locking with powersync react-native [closed]
I am using powersync react-native with opsqlite in my mobile client. I download a bundled db in my app and use that to initialize powersync. Now that bundled db has tables which are not synced through ...
Advice
0
votes
2
replies
15
views
Papaparse "Duplicate headers found and renamed" with no duplicate headers
I'm streaming a csv using a worker but I get this warning, Duplicate headers found and renamed. even if the csv has no duplicate headers keys.
CSV:
CHIAVE|COD_DITTA|COD_ARTICOLO|COD_DEPOSITO|...
0
votes
0
answers
36
views
How to get workitem description using Polarion Velocity script in Workitem Properties sidebar and then stored that to variable [closed]
I am trying to fetch polarion work item description and sent that to other api using post request in polarion document->workitem properties sidebar.
I am not able to fetch polarion description ...
-1
votes
0
answers
93
views
How do I bypass "erasableSyntaxOnly" error when using React Testing Library with Jest?
I'm trying to use React Testing Library with Jest and I'm not sure how to address it. I'm trying to test React components with Jest and RTL and I keep getting caught with erasableSyntaxOnly errors. ...
1
vote
1
answer
71
views
FullCalendar v6 (React) dayGridMonth: either multi-day allDay events don’t span [closed]
I'm using FullCalendar v6 in a React app with dayGridMonth. I need the month grid to show all events always visible (without more attributes), and allow the week row height to grow to fit the maximum ...
-5
votes
1
answer
128
views
How do I print/display an HTML Element, using an embedded JavaScript code inside of HTML? [closed]
I have an issue with editing some code with StreamElements' custom code editor.
I have made a custom animation in Adobe After Effects that I want to use whenever someone decides to raid my Twitch ...
Advice
0
votes
4
replies
35
views
How do I do partial server-provided filtered autocompletion in a big <input> or <textarea> element with htmx?
I am implementing a data entry webapp with a multiline <textarea> element, where my users enter text in natural languages formatted as markdown. I have developed a markdown extension, so users ...
-1
votes
1
answer
47
views
How do I install a Chakra UI snippet?
After following the instructions to install a Chakra UI snippet at https://chakra-ui.com/docs/get-started/installation#add-snippets, I still get an error that the import failed to resolve.
I added the ...
1
vote
2
answers
54
views
TypeError: Cannot set properties of undefined (setting 'Papa') when using vue-papa-parse with Vue 3 + Vite
I’m facing the following error when trying to install vue-papa-parse in a Vue 3 project created with Vite:
TypeError: Cannot set properties of undefined (setting 'Papa')
This occurs when registering ...
0
votes
1
answer
65
views
How to Convert File URI to Content URI in React Native Expo?
Previously, we could convert a file URI to a content URI using `getContentUriAsync()` with `expo-file-system`. This method is now deprecated. How can we do this now?
-2
votes
0
answers
123
views
Convert Excel spreadsheet calculator to JavaScript web application [closed]
I want convert a simple Excel spreadsheet calculator to web application, use jQuery forms. The resulting calc should look like this HTML page,two input fields and result field, plus "Reset" ...
3
votes
1
answer
76
views
How to handle partial dynamic route segments in React Router v7?
I am currently migrating my codebase from React Router v5 to v7 and have hit a roadblock regarding route validation.
In my older v5 codebase, we relied on path-to-regexp support to create routes with ...
0
votes
0
answers
81
views
ZPL with Zebra Browser Print printing multiple labels instead of 1
I'm using ZPL with Zebra Browser print and Zebra ZD230T printer, everything is configured, I've got v10 drivers and I'm printing labels within a React application.
Below is the function I'm calling to ...
3
votes
1
answer
83
views
Google Calendar Appoint pop-up button showing at end of HTML
I am building a site for a friend that requires me to include a button to the Google Appointment Calendar. I followed what Google said to do, but when I implemented it, it showed the button at the ...
1
vote
1
answer
48
views
echarts dataZoom strange artifacts
I have been working on a custom echart.
x axis is timeline and each category element has 2 x values, start and end.
The issue I seem to be having is when I try to use the dataZoom slider, I get weird ...
1
vote
1
answer
53
views
fetchDeferredAppLink returns undefined on iPhone 13 Promax (iOS 18.5) but returns a string value on iPhone 16 (iOS 26)
I'm trying to test Facebook's Deep Link Tester, apparently it works on android devices, on iPhones it works on some devices that I used (iPhone 16 - iOS 26). I also tested another device which is the ...
4
votes
1
answer
57
views
Moving annotations on Column Chart with Negative Value Google Chart
I am using google charts and I need to chart pos/neg values with annotations. The negative annotations show up by the axis.
Is there a way to switch the -0.95 annotation to below the blue column?
...
1
vote
2
answers
128
views
HTML Submit Button with two JavaScript functions but have a setTimeout between them [duplicate]
I have two JavaScript functions and i have a submit button for each function, whats the best implementation to add a few seconds wait between the two functions for example in JavaScript.
setTimeout(...
Advice
0
votes
2
replies
31
views
Open links in external/default browser when current in KIOSK mode
Windows 10x64
I have an array of browsers (Chrome, Chroimum, FF, etc) and I have a need to run specific app in KIOSK mode in browser (slack/discord) but any links clicked inside that instance has to ...
Advice
0
votes
8
replies
64
views
How to make a website? Frontend and Backend
Hi I am a beginner in programming, I just want to ask if I were to make a website what IDE should I use to run the frontend and backend? Like merge ( ? ) Can I use Visual Studio? Or something else. ...
-3
votes
1
answer
80
views
Running into WebJS.getChatModel issue: Cannot read properties of undefined (reading 'update') [closed]
I'm running a whatsapp-webjs script and trying to retrieve groupchats. Here is the code:
function getGroupChats() {
return new Promise(async (resolve, reject) => {
try {
const chats = ...
1
vote
0
answers
54
views
How to use DuckDB browser wasm module without bundler?
The documentation says:
Statically Served
It is possible to manually download the files from https://cdn.jsdelivr.net/npm/@duckdb/duckdb-wasm/dist/.
import * as duckdb from '@duckdb/duckdb-wasm';
...
1
vote
1
answer
52
views
Need to take data from top to bottom of columns A-AD and add them to a pivotTable using Excel Script [closed]
I'm trying to get all info from the top of column A through the bottom of column AD. When I try this code, I get error code: 0x80070057, I believe the lastRowAD function is causing it.
let colADUsed =...
3
votes
1
answer
71
views
How can I autofill columns AA-AD to the bottom of column Z using Excel Scripts?
I want columns AA through AD to fill to the bottom of column Z.
My current code autofills columns AA through AD all the way down to row 1000, which is usually way more than is necessary but could also ...
-1
votes
1
answer
60
views
What is the correct syntax to use a javascript variable to use as a pointer in a multidimensional associative array? [duplicate]
I'm new to this, and could use some guidance.
I have a 2 dimensional associative array that is passed from PHP to javascript using JSON and I am trying to access the array in javascript using the ...
1
vote
1
answer
72
views
Fade-out and remove element after delay?
I'm attempting to make a simple animation that fades out a block-level element and then removes it from the DOM. It's a simple opacity-based fade-out, and I have another element sitting under the one ...
-3
votes
0
answers
30
views
How to create a search results page in Hugo using FlexSearch? [closed]
I’m using Hugo with FlexSearch for client-side search.
Current setup
Hugo generates an index.json at build time
FlexSearch is used in JavaScript
Search currently works as inline autocomplete
User ...
2
votes
3
answers
170
views
+50
How to insert text beside price in woocommerce checkout page review order table?
See comment in the code:
// Here I want to attach som text to checkout page under order review table for this specifik product id 7498 if quantity is 1
I have in the code bellow tried many things in ...
-3
votes
1
answer
69
views
Why does my keydown event using addEventListener on a hidden input not work? [closed]
Why this doesn't work? When I hit the "c" on my keyboard, nothing is logged to the console.
<input type="hidden" id="keyDetector">
<script>
const keyDetector = document....
-1
votes
0
answers
51
views
CORS and Preflight (403) error in WordPress REST API using vanilla JS and Application Passwords [closed]
Body of the Question
I am developing a web tool (a Single Page Application built with vanilla HTML, CSS, and JS) to manage publications on multiple client WordPress sites. I utilize the native ...
0
votes
2
answers
51
views
Mouse events on resource timeline to highlight a resource lane
I want to highlight resource lanes in the resource timeline view on hover.
Currently when adding event listener for mouseenter to a row via the resourceLaneDidMount callback the listener is only ...
0
votes
1
answer
113
views
HTML range input value off by 1
Using the code:
const input = document.querySelector("#Tester");
console.log(input);
console.log(input.value);
<input type="range" id="Tester" min="4" max="250" step="5" value="25" />
24
It ...
1
vote
0
answers
50
views
onRegionChange / onRegionChangeComplete not firing in react-native-maps
I am using react-native-maps and facing an issue where none of the MapView events are firing — including:
onRegionChange
onRegionChangeStart
onRegionChangeComplete
onPress
onPanDrag
This happens ...
-5
votes
0
answers
34
views
disabling biome linter char by char output [closed]
I want to find a way to disable char by char output of biome linter.
'char by char means' that when i run bunx biome check, biome starts to output the content of checked files slowly, even though ...
1
vote
1
answer
80
views
HTML5 Canvas: How to generate ambigram-style text same after 180° rotation?
I am working on an HTML5 Canvas project where I generate text dynamically and want it to behave like an ambigram (the text should look the same after rotating the canvas by 180 degrees).
My goal:
...
5
votes
1
answer
128
views
SortableJS: hard to drop an item into a parent when dragging the last item of a wrapped row
I’m using SortableJS to build a horizontal nested drag-and-drop layout.
The lists are flex containers with flex-wrap: wrap, so items are placed in rows and can wrap to the next line.
Items can be ...