Newest Questions
24,158,477 questions
0
votes
0
answers
3
views
Why does my custom hook cause an infinite re-render in React even though dependencies seem correct?
I created a custom hook to fetch data and memoize it using useEffect and useMemo, but my component ends up in an infinite re-render loop. I can’t figure out why. Here’s a simplified version of my code:...
Advice
0
votes
0
replies
6
views
how to interpretate pg_stat_database metrics in Zabbix
I use Zabbix (v7.4 LTS) to monitor PostgreSQL database on some of our servers, most of the graphs in Zabbix dashboard seem straightforward to understand. But I cannot make much sense of the first ...
-3
votes
0
answers
16
views
Swapping adjacent elements by indexing [duplicate]
I’m trying to swap adjacent elements in a list if the first is smaller than the next.
Here's my code:
l = [6, 7]
for i in range(len(l) - 1):
print("i =", i)
h = l[i]
print("...
0
votes
0
answers
9
views
MS Word Repeating Section Content not editable
I'm using a "Populate a Microsoft Word template" connector in Power Automate, where the data is coming from a SharePoint list and a child list that uses a lookup column to link it to its ...
Best practices
0
votes
0
replies
20
views
Environment-Specific Configuration Values During a Jenkins + Maven Build
I’m ( Trying :) ) to build an automatic deployment pipeline using Jenkins and Maven, and I’m looking for best practices around handling environment-specific configuration.
Scenario:
I have a Java ...
-2
votes
0
answers
54
views
VS Code cannot run anything that uses <math.h> [closed]
When I try to run code with <math.h> an error pops up.
error image.
I already added -lm in JSON settings.
code-runner executor map
and it was working for a while, but then it stoped working ...
-1
votes
0
answers
24
views
URxvt blinking text is disabled if background color is specified
If I do
echo -e '\033[31m\033[5mHello\033[0m'
I get red (\033[31m) blinking (\033[5m) text both in XTerm and URxvt.
However, if I enter
echo -e '\033[41m\033[5mHello\033[0m'
which should set the red ...
-4
votes
0
answers
33
views
"Are you sure you want to continue connecting (yes/no/[fingerprint])" - is [fingerprint] the macOS fingerprint? [closed]
While doing:
ssh -i somekey.pem [email protected]
on a recent macOS, I see:
Are you sure you want to continue connecting (yes/no/[fingerprint])?
Is [fingerprint] the macOS biometric ...
0
votes
1
answer
23
views
How can I group Tailwind CSS v4 @variant rules?
In Tailwind CSS v4, with the new CSS-first configuration, variants can be defined using @variant {variant-name}.
For example, a utility like this: sm:dark:bg-sky-900
<script src="https://cdn....
0
votes
0
answers
14
views
How to detect that two recurring events belong to the same split series (Google Calendar API)?
I’m building a sync client for Google Calendar that needs to preserve the logical identity of a recurring series across splits, so user-level operations like “edit all” or “delete all” can span the ...
-1
votes
2
answers
45
views
Cannot read properties of undefined from For loop [closed]
I have a for loop function that loops through an HTML collection and adds an eventlistener to the elements in the collection. My problem is that I get an error about the event function being unable to ...
Advice
0
votes
1
replies
18
views
AWS IAM Authentication on DB level
I have an Intance with multiple DB's in it and I would like to provide access to DB's using the IAM but I am not sure if that is possible with AWS IAM on a DB level. I am pretty sure I can do it on ...
Tooling
0
votes
1
replies
30
views
`git` upstream dependency narrowing
I have an upstream huge git project, that I want to depend on. However, I need roughly 20 components out of 400,
so for the sake of sanity and quick build, I need to hide the rest completely, so that ...
Advice
0
votes
0
replies
25
views
How can industries implement OPC UA for secure IT/OT integration in Industry 4.0 environments?
I am working on industrial automation solutions and exploring how to effectively implement OPC UA for secure and scalable IT/OT integration. Specifically, I want to understand how manufacturers, OEMs, ...
Advice
0
votes
2
replies
54
views
how to implement multiple search functions in c for a string library
I've been working on a string library in C(just for learning purposes). It's called cstring and the full source is here.
I use _Generic with function macros so you can call the same function name with ...