Newest Questions
24,169,289 questions
-1
votes
0
answers
10
views
How to do hierarchical queries with arrays
I have an JavaScript array like this:
let myArray = [
{ name: 'Alice', children: ['Bob', 'Bill'] },
{ name: 'Bob', children: 'Cindy' },
{ name: 'Bill', children: [] },
{ name: 'Cindy', ...
Tooling
0
votes
0
replies
9
views
Make clion format for() enter { into allman style
I want to make it so clion formats
for(int i = 0; i < n; ++i) enter { into
for(int i = 0; i < n; ++i)
{
}
Basically codeblocks style. Havent found anything online for it.
Right now it ...
Best practices
0
votes
0
replies
13
views
How can one create mini quiz app project with pure vanilla JavaScript. i'm a learner, after the structuring the html / css i couldn't continue
How can i create a mini quiz app with pure vanilla JavaScript which takes questions and presents options which include the correct answer and output the scores with a next button which switches the ...
Advice
0
votes
0
replies
8
views
PostgreSQL: How to efficiently update nested JSONB array elements without replacing entire array?
I am working with PostgreSQL 14.10 and storing nested structures in a JSONB column. I need to update a specific object within a JSONB array based on a field value (e.g., id), rather than the array ...
0
votes
0
answers
14
views
How to change the tab bar background color from a content page in MAUI
I am implementing the possibility to change the color of buttons in an MAUI app in C#. I would like to simultaneously change the tab bar background color when I update the color of the buttons.
I use &...
Best practices
0
votes
0
replies
9
views
How to filter Keycloak users by custom attribute date range for an automated email reminder?
Problem: I need to implement a scheduler that sends an email verification reminder to Keycloak users 30 days after their initial registration (if they haven't verified their email yet).
My ...
-1
votes
0
answers
31
views
Parsing /proc/meminfo using read() in C gives incorrect RAM values
I am trying to extract MemTotal and MemFree from /proc/meminfo using open() and read() (not using fgets() or scanf()).
However, the values are sometimes incorrect or extremely large.
Total Memory in ...
-1
votes
0
answers
20
views
Next.js caching with LinkedIn API - images BATCH-GET
In my Next.js 15 website I added a LinkedIn feed viewer.
As per my understanding, linkedin has posts FINDER to retrive all posts, but its response is not ideal for rendering as the posts image are ...
-1
votes
1
answer
19
views
IntelliJ plugin action not showing in Commit toolbar
SS
Want 🔨 button near the ai coommit message generator button like beside it see in the screenshot
<action id="CommitCraft.GenerateMessage" class="com.example.commitcraft....
0
votes
0
answers
32
views
Receiving Error: Msg 1011, Level 16, State 1, Line 40 The correlation name 'PS' is specified multiple times in a FROM clause
Need help understanding the title error, received in connection with the subquery below. For a little context, the REFTABLE used in the last two joins is (in my view) a poorly thought out table where ...
0
votes
0
answers
20
views
CarPlay CPListImageRowItem causes Inverted Scrolling and Side Button malfunction
In my CarPlaySceneDelegate.swift, I have two tabs:
The first tab uses a CPListImageRowItem with a CPListImageRowItemRowElement. The scroll direction is inverted, and the side button does not function ...
Best practices
0
votes
4
replies
37
views
Is it good design to use dynamic cast?
I am trying to implement password manager on Java right now. I am implementing the vault. I have VaultEntry and VaultFolder classes. VaultEntry has fields id, parentId, name, username, email, password ...
Best practices
0
votes
1
replies
40
views
Crazy attempt: I want to crack the system of Casio electronic dictionary (reverse engineering) and turn it into a real "computer"
https://github.com/ZKK640/Casio-System-files-/tree/main
Crazy attempt: I want to crack the system of Casio electronic dictionary (reverse engineering) and turn it into a real "computer".I ...
0
votes
0
answers
21
views
Unable to get Access Token and ID Token from Mulesoft using MSAL
I am trying to getting an access Token and ID Token to access an api between a mulesoft gateway.
(1) I create a msalClient with the PublicClientApplication Builder
IPublicClientApplication ...
2
votes
1
answer
59
views
Type of the array extension in C++
As far as I know, the type of N in T[N] is std::size_t. I'm using C++17, in case it matters.
template<class T, T N>
void check(char const (&)[N])
{ std::cout << std::is_same_v<std::...