Newest Questions
24,187,272 questions
0
votes
0
answers
2
views
How does one change the value of Sec-Fetch-Mode in the developer tools of Firefox browser?
I tried sending this request from the Firefox browser developer console, Network tab. Notice how Sec-Fetch-Mode is no-cors (it is set automatically by the Firefox browser developer tools Network tab).
...
-1
votes
0
answers
6
views
laravel tinker on windows
Immediately gives "The system cannot find the path specified"
Windows 11, laravel 12.39.0
Psy Shell v0.12.14 (PHP 8.2.12 — cli) by Justin Hileman
The system cannot find the path specified.
0
votes
0
answers
3
views
ResourceExhausted: 429 with "limit: 0" on Gemini API Free Tier (LangChain) even after new project
I am trying to use the Google Gemini API with langchain-google-genai in Python. I want to use the Free Tier, so I created a fresh project in Google AI Studio (without linking any billing account).
...
0
votes
0
answers
8
views
Validating JSON Web Tokens in Java
Does anyone knows why this occurs working with JWTs ?
Here's the logic behind token creation:
public String makeToken(String username) {
long calc = 24 * 60 * 60 * 1000L; // 1 day expiration
...
Best practices
0
votes
1
replies
4
views
Implementing fair sharing in multi tenant applications
I'm building a multi tenant database and I would like to implement fair sharing of resources across multiple tenants. Let's say I have many concurrent users, each with its custom amount of resources ...
Tooling
0
votes
0
replies
7
views
Android gradle build command taking hours for a React Native project
My Android Studio project used to build faster but now it takes a long time to build. Any ideas what could be causing the delays?
I'm using ./gradlew build command to build my react native android app....
0
votes
0
answers
9
views
How to avoid recreation when restoring app from recents
My app has an app widget. When users click on the widget, I use FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_CLEAR_TASK to open the app:
val activityIntent = Intent(context, MainActivity::class.java)
...
0
votes
0
answers
5
views
Is it necessary to add Enctype in forms for uploading files in flask
<form action="/upload" method="post">
<input type="text" placeholder="Enter your name" name="name">
<input type="file"...
-1
votes
0
answers
9
views
Looking for a lightweight speech-to-text model for local deployment on Windows/Mac [closed]
I'm looking for recommendations for a speech-to-text model that I can run locally on Windows and Mac computers. Here are my specific requirements:
Key Requirements:
Must run locally (offline ...
0
votes
1
answer
9
views
How can I handle missing values in a large pandas DataFrame without running out of memory?
I’m working with a large pandas DataFrame (~5 million rows, ~40 columns).
When I try operations like:
df = df.fillna(0)
# or
df = df.dropna()
my RAM usage spikes and sometimes my Jupyter notebook ...
0
votes
0
answers
7
views
Cursor object returning 0 rows after trying to query for phone number
I'm trying to access the phone number from ContactsContract.CommonDataKinds.Phone.NUMBER after getting the contact ID and I'm getting 0 rows. Not too sure if I'm handling the runtime permission well ...
Advice
0
votes
1
replies
10
views
Handling and error checking with RxJs HTTP calls
I'm working with Angular 21 and I've added an interceptor like this:
export const httpErrorInterceptor: HttpInterceptorFn = (req, next) => {
return next(req).pipe(
catchError((error: ...
0
votes
0
answers
8
views
How do I prevent an activity from finishing on back gesture, minimizing it instead, while keeping the predictive back animation?
I want to minimize an activity instead of finishing it. I also want to keep the predictive back animation. Minimizing used to be easy enough with overriding onBackPressed, however with the predictive ...
0
votes
0
answers
7
views
How do I change the displayed path names of my SSH servers in VS Code?
I would like to change the displayed names of the different paths I have on my SSH severs, if possible.
For example (look the image), I would like to display "Main" instead of "/" ...
0
votes
1
answer
27
views
Trying to create a Map in C++
I am trying to create a map of stringstreams in C++
std::map<int, std::stringstream> myMap;
std::stringstream ss;
myMap.insert(std::pair<int, std::stringstream>(1, ss));
This fails to ...