Newest Questions
24,185,873 questions
Best practices
0
votes
0
replies
3
views
Query similar db tables with Prisma with the same query without an if-else block
Suppose I have several Postgresql database tables that have similar schemas and store similar data that is used in a react component "Subpanel" of a generic type T.
When querying Prisma from ...
Advice
0
votes
1
replies
14
views
Speeding up unzipping of file in Google Cloud Storage (GCS)
I receive ZIP files everyday to a bucket. Part of my Python pipeline is to extract these out into the individual CSVs. However, wondering if there's a quicker way?
There's roughly 20 files in each ZIP,...
0
votes
0
answers
12
views
Regular expression not catching case labels in file
I am working out of Scala For The Impatient (3rd Edition) in my spare time. (I am not taking a class.). I am processing a list of java files with Scala. Specifically, I am looking for case labels, ...
-6
votes
0
answers
27
views
What error occurs when an array grows too large and the program runs out of memory in dynamic languages like Python or JavaScript? [closed]
In dynamic or duck‑typed languages such as Python and JavaScript, arrays/lists can grow dynamically.
So what I want to understand is:
• What type of error is typically thrown when the program runs out ...
Advice
0
votes
1
replies
18
views
algorithm, real projects, and problem-solving issues
everyone told me to study all the algorithms. Yes, they said it's necessary. Yes, I will study them all, but I have some questions. When working on a project, how do people remember all these ...
0
votes
0
answers
8
views
Power Automate / Copilot Studio: Retrieving last email thread by To or CC
I’m building a flow in Power Automate / Copilot Studio that works as follows:
The flow gets an email address input from the user.
It retrieves the last email thread involving that address.
It ...
0
votes
0
answers
27
views
C++ Internal Reading Memory Crashing for NULL Address
My problem crashing when try Reading Dynamic Memory like this picture
Image Sample NULL Address Or Dynamic Address From Pointer
Then I do Searching Article how to prevent crash if memory not readable. ...
1
vote
0
answers
6
views
How to add ajax for State select in address field
Under Drupal 11.2.5. I installed Address Module (2.0.4)
I want to trigger an AJAX request when the State changes in field_address. The state is named "administrative_area" in address field
...
0
votes
2
answers
14
views
How can I remove a bad member of a known row in a CSV?
Would like to delete one single element from a CSV, which I intend to make into a Python DataFrame, as in:
a x b c
1 2 3
becomes
a b c
1 2 3
All the solutions I have seen seem to require copies and ...
0
votes
1
answer
14
views
Fix memory leak in logging.Handler
I am writing a custom logger (with custom handler). Found out that I have a memory leak when I am using HttpFluentHandler. I confident that problem deals with the handler, because there are no memory ...
1
vote
0
answers
11
views
Stuck on Recursive State Design for a Zigzag Alternating-Sum Path in a Binary Tree
I’m trying to reason about a recursive algorithm on trees and I feel like I’m missing something subtle.
I have an immutable binary tree (not a BST) where each node has an int value. I want to compute ...
1
vote
0
answers
10
views
What adjustments should be made to my code to make my products sort alphabetically when multiple items have the same stock status?
I own a website that sells rare clothing products sourced from all around the country. Because no item that we buy is ever in the same condition, we create a different listing for each item with ...
1
vote
0
answers
4
views
VHDL Copying contents from one array of unsigned vector to another
For a convolution implementation in VHDL,
I am trying to copy the input port array_i (is of type array(7 downto 0) of unsigned(3 downto 0)) to another signal called padded_array_s (is of type array(9 ...
-2
votes
1
answer
22
views
Topic: HTML Project with AJAX, JQuery. Question about the download of Node modules
Context:
I'm an IT student, and in college, it's common to only use CDN to install libraries such as JQuery to the project. However, I think it's better to download the Node modules for my projects ...
0
votes
0
answers
11
views
BottomSheetFlatList Overflows and doesn't Scroll
I'm using the @gorhom/bottom-sheet BottomSheetModal and trying to fit in a (BottomSheet)FlatList. The content overflows at the bottom and the FlatList is not scrollable.
I have tried the ...