Newest Questions
24,230,441 questions
0
votes
0
answers
5
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
4
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 --...
0
votes
0
answers
6
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-...
0
votes
0
answers
4
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 ...
0
votes
0
answers
6
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
0
answers
5
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
10
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?
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 ...
0
votes
0
answers
6
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
6
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
11
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....
0
votes
0
answers
3
views
Gradient descent rule for Multilayer networka
I was going through the algorithm for Stochastic Gradient decent in mulilayer network and it shows the formulae for weight update rule. However, I dont understand how there are various subscripts i,j,...
0
votes
0
answers
3
views
How to get shared{} property or similar for shared list item in Microsoft Graph Rest API
ms graph drive's api allows user to append a select=shared to get an item with unique permissions/shared permission.
api is like this: site/siteid/drive/driveid/root/delta?select=shared
it would ...
0
votes
0
answers
5
views
Scriptable iPad app: OpenAI call returns “No question generated” and Dictation always fails with “Recognizing the audio failed”
I’m building a daily reminiscence app for my grandfather on iPad using Scriptable. It:
Loads a simple JSON profile
Calls the OpenAI Chat API to generate a gentle question
Presents it via Alert + ...
0
votes
0
answers
11
views
401 code return when read mail by msal Credential Grant, the access token is correct and /users is success
I need read email from my hotmail account,my app is a daemon, so I use client secret mode to get tokens, yes, its success got token, and get /users is success also, however when i try to get /users/{...
0
votes
0
answers
6
views
Flask can't load style.css
Flask not finding style.css despite the project layout being identical to the proposed one
here and here.
Error 404: Flask can't find my CSS stylesheet!!! @.@
The ideal would be being able to display ...