Newest Questions
24,179,186 questions
0
votes
0
answers
14
views
Embedded drawio does not export XML with icon metadata
I have embedded a Drawio editor inside my webpage.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, ...
Advice
0
votes
2
replies
25
views
How much stack space is allocated for char buffer[500] variable?
I'm disassembling a very simple program written in C and would like to determine how much stack storage is allocated for the char buffer[500] variable. Here is the C program:
int main(int argc, char** ...
0
votes
0
answers
17
views
Conversion from HuggingFace dataset to Pandas DF causing dropped 'string' columns
I am attempting to convert a dataset loaded from HuggingFace into a pandas DF so I can process the data. However, despite having no null values (as many prior issues point to) , all non-numeric ...
0
votes
0
answers
24
views
How to disable keyboard palm rejection in JavaScript
I'm building an FPS game in Three.js.
In my browser (Firefox, but happens on all my devices/browsers), when holding down any key at all, the cursor (pointer) locks up and gets extremely stiff.
This is ...
0
votes
1
answer
13
views
What's the view path of a multi-file component in Livewire 4?
Having created a multi-file component in Livewire 4, like so...
php artisan make:livewire pages::users.index --mfc
... I now have got:
resources/views/pages/users/⚡index/index.php
resources/views/...
Best practices
0
votes
1
replies
12
views
Why is PostgreSQL COPY significantly slower than SQL Server BULK INSERT?
I’m trying to understand why PostgreSQL COPY is much slower than SQL Server BULK INSERT in my scenario (or every scenario?).
I have 30 CSV files that are loaded into 6 different tables.
On SQL Server, ...
-1
votes
0
answers
26
views
Why don't default parameter values work with an overloaded generator?
I figured out how to use overloaded parameter lists with a generator. Google says:
Yes, you can overload a generator function in TypeScript by defining
multiple overload signatures without the * ...
0
votes
0
answers
23
views
Incorrect behavior when removing items from a task list in C (duplicated data when reading file)
I am developing a simple command-line to-do list application in C as a learning exercise.
The program allows adding, viewing, updating, and removing tasks, storing them in a text file.
Adding and ...
1
vote
0
answers
19
views
fastify-cli error: AVV_ERR_PLUGIN_NOT_VALID(typeof maybePlugin)
I am trying to follow the basic guide of Fastify here: https://fastify.dev/docs/latest/Guides/Getting-Started/
and I got 4 files: package.json, server.js, our-first-route.js and our-db-connector.js .
...
0
votes
1
answer
52
views
find exact dimensions of characters
i suspect this will be an unusual issue. i have a use-case where i need to be able to find the exact dimensions (height in particular) of each character as it is displayed. line-height and bounding ...
0
votes
0
answers
14
views
Nuxt 3.16 Hydration completed but contains mismatches. f.<computed> [as error]
In general i have problem with Hydration completed but contains mismatches.
Error: Hydration completed but contains mismatches.
at f.<computed> [as error] (https://pixarts.store/_nuxt/...
Best practices
0
votes
0
replies
2
views
Using Make with multiple configurations
I have decided to keep all the automation for my projects in Makefile and create a sub-directory structure environments with names of all the environments and setups I have. Sometimes I need to pickup ...
-2
votes
0
answers
15
views
New coupon site: Google crawls but doesn’t index most pages [closed]
I launched a new coupon/deals website a few months ago.
Current situation in Google Search Console:
Homepage is indexed
300+ URLs submitted via sitemap
Most URLs show: “Crawled – currently not ...
Best practices
1
vote
0
replies
9
views
How to add Google Ad Manager (GAM) codeless ads unit in react native
I’m building a React Native mobile app and evaluating Google Ad Manager (GAM) codeless ad units
From what I understand, “codeless” in GAM allows ads behavior (targeting, line items, creatives, ...
Advice
0
votes
0
replies
7
views
Can you add extra item to data retrieved with httpResource?
Let's say I retrieve a list of items with a regular HttpRequest, and inside subscribe, I set the value and later update the signal to add more items:
someSignal = signal<SomeListInterface[]>([])...