6,018 questions
1
vote
0
answers
51
views
How do I create a lazy asset loader in bevy?
I want to load assets from a custom zip-like format, or even GoldSrc WAD3 files.
My initial attempt was to use a custom AssetLoader, but I'm not feeling comfortable having to load the entire file's ...
1
vote
3
answers
164
views
How to lazily load DataTable rows from a large text file using IEnumerable and yield return in C#?
I'm working on a C# application where I need to read a very large text file and convert its contents into a DataTable. However, I don't always need all the rows—so I want to avoid loading the entire ...
1
vote
1
answer
136
views
Hibernate Lazy Loading Interceptor returning NULL
I have the following entities:
class A {
@Id
String aId;
@OneToMany(fetch = FetchType.LAZY)
List<B> bsOfA
@OneToMany(fetch = FetchType.LAZY)
List<C> csOfA
public A(String ...
3
votes
4
answers
191
views
Angular 15 'ng serve' builds app very slowly, every change is very slow
Im using angular v15 for my project. It's not small but not really big. I'd say medium to big. Running ng serve takes A LOT of time.
Build at: 2025-07-23T12:23:56.259Z - Hash: 5ba2b19880727f6c - Time: ...
1
vote
1
answer
96
views
HTML5 <video> poster thumbnail not showing in Odoo — want to show thumbnail initially and play and load on hover only
I'm trying to implement lazy loading of videos in a dashboard view in Odoo 18.
My goal is to:
Show a thumbnail (poster) initially
Avoid loading/buffering any video on page load
Load and play the video ...
0
votes
0
answers
31
views
Lazy Loading ExpressionEngine v6
I need to preload some images off-screen while page is loading and also - in a seperate case - serve smaller versions (ie cropped) of the same images to mobile.
What is the best way of doing this, ...
0
votes
1
answer
110
views
fetchNextPage is triggered immediately on widget build instead of on scroll when using infinite_scroll_pagination with BLoC
Description:
I'm using the infinite_scroll_pagination: ^5.1.0 package in combination with BLoC to implement infinite scrolling in my Flutter app. However, I’m encountering unexpected behavior related ...
1
vote
2
answers
109
views
Is there a way to parallelize or lazy-load bash completion files?
I'm in bash (version 5.2.37, in Arch-Linux), trying to make my experience a bit better, so I activated tab completions.
I have the following code in .bashrc:
[ -n "$(find /etc/bash_completion.d -...
0
votes
0
answers
61
views
How to implement efficient pagination in Flutter with local database as SSOT (similar to Android's Paging3)?
Problem Description
I'm building a Flutter app that needs to display a large dataset (100-3000 rows, ~30 fields each) in a ListView with the following requirements:
Local database as Single Source of ...
1
vote
0
answers
86
views
Static weaving and Lazy loading in eclipselink JPA caused the DB connection pool exhaustion
I am working with eclipselink*(version 4.0.4)* L2 cache optimization. For that I have implemented static weaving as Wildfly*(version 32.0.1.Final)*/Jboss server doesn't support dynamic weaving (as ...
1
vote
1
answer
48
views
Spring Boot no difference between lazy and eager loading
i'm trying to understand difference between Lazy and Eager loading. I understand it theorically, but not in practice, cause my code get same results.
@Data
@Table(schema = "PSQF", name = &...
1
vote
0
answers
463
views
Intermittent database corrupt error in R on package install
I am working on building an R package in RStudio. I am using R version 4.5.0 and RStudio version 2024.12.1 Build 563 on Ubuntu 24.04.2 LTS. When I install my package from the "install" ...
1
vote
0
answers
93
views
Hibernate 6 Migration: OptimisticLockException and TransientObjectException When Copying Entities Between Two SQLite Databases
Use Case
Users can copy a subset of entities and their object graphs from a main SQLite database to an archive SQLite database, preserving IDs and relationships (1-to-1 copy). After migrating from ...
1
vote
1
answer
42
views
Does importing Angular Material modules in multiple lazy-loaded modules cause duplication in the final Angular bundle?
I’m using Angular with lazy-loaded modules, and I’ve noticed that each feature module imports some Angular Material modules (like MatButtonModule, MatToolbarModule, etc.).
My question is:
Does this ...
0
votes
1
answer
95
views
Python tab completion triggers attribute access
I'm running into an issue with tab completion in Python. I have two classes, one serving as a backend that is responsible for managing i/o of a large data collection, and a second that serves as a UI ...