Newest Questions
24,230,445 questions
0
votes
0
answers
5
views
React: "Element type is invalid" when trying to render a modal component
I'm working on a React project and encountering this error when trying to open a modal:
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite ...
0
votes
0
answers
11
views
Nextcloud: ONLYOFFICE cannot be reached
I'm trying to run an onlyoffice community server on my nextcloud but it drives me crazy:
when I open a docx file all it shows is "ONLYOFFICE cannot be reached. Please contact admin"
The ...
-1
votes
0
answers
10
views
How can I optimize a slow SQL query with multiple JOINs on large tables?
I'm working on a web application that uses a PostgreSQL database. I have a SQL query that retrieves user data along with associated posts, comments, and likes using several JOIN statements. The query ...
1
vote
0
answers
19
views
Code snippets appears as a second choice in C#
Code snippets are easier to enter repeating code patterns, such as loops or conditional statements. In VS Code, the code snippets appear as the second choice, so I can't use Tab to generate code ...
-1
votes
0
answers
8
views
Application Monitoring
I am researching about Application monitoring tools like data dog and splunk for applications deployed on cloud. Should we use the managed services provided by cloud provider or go with external ...
0
votes
1
answer
8
views
Loading a file with multiple sexp in OCaml
I want to load a file with multiple sexp and get a list of sexp, and convert the list to a list of some custom type. I know that Core.Sexp.load_sexp_conv_exn filename ty_of_sexp can load a file with a ...
0
votes
0
answers
6
views
Error: Component auth has not been registered yet [React, Typescript, Firebase on Mac Studio]
I'm trying to start a small React application using Typescript templates and Firebase backend. I'm using npx expo to run the application and simulate in an android emulator/device: npx expo start --...
1
vote
0
answers
14
views
How to optimize the bundle size of the imported shadcn Select component in next.js?
<Select>
<SelectTrigger className="w-full">
<SelectValue placeholder="select something..." />
</SelectTrigger>
<SelectContent className="w-...
-1
votes
0
answers
12
views
Segmentation Fault while using Raylib to load image and draw it on canvas
I am new to raylib and C++ and experimenting to make the code as modular as possible. I have made a class in button header file and the definition in button.cpp file. But while implementing it in my ...
-1
votes
0
answers
19
views
can't find libc++ packages on el9
I have a c++ application that I automatically build and release for various platforms. I use docker images to build for Linux distros.
Recently I ran into a libstdc++ bug in std::regex (very old, ...
0
votes
1
answer
16
views
Python 3 unit test
I want to write a function "div" that takes two numbers as parameters and returns the quotient of the first number divided by the second number. and need to use a try-except statement to do ...
-1
votes
0
answers
15
views
i'm new to programming and i want to learn oop from start , can anyone recommend me a video or course which could clear my concepts? [closed]
i'm new to programming and i want to learn oop from start , can anyone recommend me a video or course which could clear my concepts. my uni's oop course is in JAVA
just starting
have no clue. don't ...
1
vote
0
answers
7
views
What is the proper way to match the correct Flutter version when running old projects using FVM?
I'm using FVM (Flutter Version Management) to manage different Flutter versions across projects.
When working on older projects, I want to ensure they use the exact Flutter version they were developed ...
0
votes
0
answers
8
views
Spark executors are running for long even if there is no data to process
I am running Spark Streaming Job over Kubernetes where sink and source are file based i.e delta format, and this is how my spark configurations looks like in the helm chart.
spark.serializer: org....
0
votes
0
answers
12
views
Why does python -m venv venv create a pyenv.cfg file?
I had pyenv for a while but I deleted it. I installed a newer version of python (3.9.13) and when I create a virtual environment with it, I see a pyenv.cfg getting created:
$ python --version
Python 3....