zzoli (@zzoli) profile picture
Joined June 2009
Photo by zzoli (@zzoli)
“They ghosted me” My brain:
108
125
14
1,320
61,672
Like we said. We never give up.
362
909
190
16,896
472,078
Enter to BIOS
70
524
74
3,800
154,275
Sound up, you love it.
11
39
1
304
13,774
New video out! In this one I cover the lightning fast full text search library @typesense and how it works with Laravel Scout. Y'all go check it out! youtu.be/bDLVeJQei_Q
11
15
3
173
20,387
Carmageddon ▪︎ 1997 #pcgaming #pcgames
27
33
11
378
12,781
Sylius 2 is officially here! It’s been quite a journey, but we made it! Huge thanks to everyone involved: our amazing internal team, the Core Team, and every single contributor who helped make this release possible. 🔗 github.com/Sylius/Sylius/rel…
26
56
2,444
zzoli retweeted
〰️ Secure intelligent apps with .NET 9 on App Service 〰️ .NET Conf 2024 Premiere Bonus Session now available on demand on our YouTube channel... 🔗 🎥 msft.it/6014WZZuo Follow the conversation: #dotNETConf
1
10
30
4,530
Good Morning my Lovelies.☕️ The Weekend is here! Have a good one.💜
5
23
1
232
8,007
🔥 FULL TIME! 🔥 #ElClásico
3,750
33,130
8,307
150,717
7,759,079
Iniesta, your football will live on forever.
365
8,086
430
48,080
2,725,716
Are you ready? 🤩 The 45th #ChessOlympiad kicks of tomorrow with round 1! 🔥 ♟️
3
19
4
90
9,522
Deprecated tools are no longer prioritized for new features or security updates. So while it’s hard to break your old habits, it’s always recommended to learn new, more actively maintained alternatives. Here are examples of deprecated #Linux commands 😎👇 #sysadmin
6
44
160
8,274
API Pagination Basics Pagination is a technique to divide large datasets into smaller, more manageable chunks that can be retrieved separately. This improves performance and user experience by preventing huge amounts of data from being loaded at once. There are two common pagination techniques: Page-Based Pagination - Simple to implement - Allow jumping to specific pages easily 1. Decide the number of items per page (fixed or configurable). 2. To get page N, calculate the start index as (N - 1) * page_size. Use LIMIT and OFFSET to fetch that subset of data. For example: `SELECT * FROM table LIMIT 10 OFFSET 20;` Cursor-Based Pagination - Efficient for large, constantly updating datasets - Resilient to shifting rows, e.g. deleted records - Works well with infinite scroll designs 1. Choose an indexed column as the cursor. 2. Hash the cursor value for security. 3. The client provides the hashed cursor value of the last item they saw. 4. The server uses this cursor to filter and fetch the next page of results after that value. 5. The server returns the hashed cursor value of the last item in the current page. 6. The client uses the new cursor to fetch the next page. The diagram below illustrates several variations broadly based on these two techniques. Best Practices for Large Datasets - Avoid OFFSET for large datasets. OFFSET scans the entire dataset which gets slower as the offset increases. - Use cursor on indexed columns for efficient lookup of pages. – Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/496keA7
5
304
1,478
91,924
Amazing DESKTOP Wallpaper! 😍🔥
2
72
1,070
507,763