Posted inUncategorized Redis – Retrieving a Laravel job using lrange Posted by By Sami Samiudidn February 7, 2025 Looks like I spent ages trying to figure this one out! I'm using Redis as…
Posted inUncategorized SSE (service side events) example to update a table Posted by By Sami Samiudidn January 29, 2025 If someone needs to make constant calls to server to fetch data (ie. for SPA…
Posted inUncategorized Avoiding data anomaly when more than one system is involved Posted by By Sami Samiudidn January 5, 2025 One of the most deadly errors a developer can make is to think that two…
Posted inUncategorized Processing 40k URLs using Laravel Queues Posted by By Sami Samiudidn January 5, 2025 Some context - what really happened So a week ago I had a P1 task…
Posted inUncategorized Some examples working with laravel collections Posted by By Sami Samiudidn January 5, 2025 Before we get into data manipulation using Laravel please note that it's best to try…
Posted inUncategorized Laravel: Code in Controller or a separate Class? Posted by By Sami Samiudidn January 5, 2025 The problem with a lot of online advice is that it's not backed by extensive…
Posted inUncategorized PHP Binary Search Example Posted by By Sami Samiudidn January 5, 2025 There’s many ways to search an array in PHP. Here’s 3 simple examples. Note that…
Posted inUncategorized Practical SELECT Queries in SQL Posted by By Sami Samiudidn January 3, 2025 Few SUPER IMPORTANT things before we start: We'll use SQL Sakila database to run queries…
Posted inUncategorized AWS mistake that almost cost me £££ Posted by By Sami Samiudidn December 20, 2024 Let’s talk about something that’ll save you money. Most website’s goal is to make on-boarding…
Posted inUncategorized AWS Lambda Function — Watermarking a PDF via S3 Trigger in Python Posted by By Sami Samiudidn December 20, 2024 In the previous chapter I talked about the process of watermarking a PDF by sending…