24,224,852 questions
-1
votes
0
answers
4
views
When should I use Local Storage vs Cookies vs Session Storage vs Server-side Sessions?
I'm building a web application and I'm trying to better understand the appropriate use cases for different types of storage in the browser and on the server. There are several options available like ...
0
votes
0
answers
5
views
How to access a method of a dynamic component?
I have a number of components that implement an interface, for example:
@implements MyInterface
@code {
public void MyMethod() { }
}
On my page, I add these components dynamically using a ...
0
votes
0
answers
3
views
Python threads killed when main thread times out with only one thread, but survive when more than one threads are created
I have a Python function decorated with a 1-minute timeout. Inside it I spawn one or more worker threads that each run a 2-minute sleep via a dynamically executed script (using exec() in a custom ...
0
votes
0
answers
5
views
Failed to update the function ___: AWS Lambda could not unzip the deployment package
I'm trying to use wkhtmltopdf in my Python 3.13 lambda function. But I'm receiving the error
Failed to update the function ___: AWS Lambda could not unzip the deployment package.
Steps:
I ...
0
votes
0
answers
8
views
Weird behavior with Ruby memoization pattern and thread safety in Rails 7
I'm working on a Rails 7 app where we're using the classic ||= memoization pattern in a service object that handles some complex reporting logic. We've started seeing some bizarre race conditions in ...
0
votes
0
answers
7
views
Can an extension for thunderbird clear notifications?
I am contributing to an extension for thunderbird which sends its own notifications for some incoming emails. Because of that these emails will have two notifications which is a bit annoying.
I am ...
0
votes
0
answers
4
views
Error trying to use "gemini-2.5-pro-preview-06-05" in Firebase Vertex AI
I'm using Vertex AI in an Angular project with Firebase.
The latest 2.5 Flash model works.
const model = getGenerativeModel(this.vertexAI, { model: "gemini-2.5-flash-preview-05-20" });
But ...
0
votes
0
answers
4
views
Rendering creatures without server-side Minecraft Geckolib
I am writing a server for vanilla minecraft without using server mods. Now I want to write a mod that would replace the model rendering of regular mobs with my unique Blockbench model only with client ...
0
votes
0
answers
7
views
How to make transparrent bottomSheet in flutter
I set all the color options to transparent, but all the color still stays whitemy app
bottomSheet:
BottomSheet(
elevation: 0,
backgroundColor: Color.fromARGB(0, 1, 1, 1),
...
0
votes
0
answers
6
views
Microsoft SQL -On-premises Data Gateway
I want to connect my On-premises DB with Microsft Data Fabric to aviod duplication and data migration. for this;
I have successfully installed the Microsoft On-premises Data Gateway (standard) version ...
0
votes
0
answers
4
views
KSP failed with exit code: PROCESSING_ERROR
I am making an app in Android Studio and am currently trying to implement Room.
When I try to rebuild/ run the project it puts the following error:
Execution failed for task ':app:kspDebugKotlin'.
>...
0
votes
0
answers
4
views
Splash Screen Stuck on Real Android Device – Why Doesn’t It Disappear? [Expo]
I’m using expo-splash-screen provided by Expo to implement a splash screen in my app.
The necessary code is written in App.tsx, and when I build the APK and test it on a real Android device, the ...
0
votes
0
answers
4
views
Autodesk platform service aps-iot-extension viewer issue Error:404, 500
After the APS maintenance on February 2024, my APS-iot-extension model cannot work. https://github.com/autodesk-platform-services/aps-iot-extensions-demo
The Error includes: could not obtain the ...
0
votes
0
answers
5
views
Need Assistance with Fine-tuning my Content Moderation Neural Network with RoBERTa. (Dataset: Jigsaw)
I can't quite figure out how to fine-tune my neural network with jigsaw and make it a multi-classifier rather than a binary-classifier (multiple types of output rather than just positive and negative) ...
0
votes
0
answers
4
views
RuntimeError: The current Flask app is not registered with this 'SQLAlchemy' instance
I'm having troubles to init my app on flask. It says "Did you forget to call 'init_app', or did you create multiple 'SQLAlchemy' instances?" I call init_app as "db.init_app(app)" ...