Category: Uncategorized
-
AWS mistake that almost cost me £££
Let’s talk about something that’ll save you money. Most website’s goal is to make on-boarding process smoother. For example signups, saving credit details, buying a product and other actions. More effortless the better. So talking about effortless on-boarding.. Having used AWS for few years and I can tell you they have a very decent interface.…
-
AWS Lambda Function — Watermarking a PDF via S3 Trigger in Python
In the previous chapter I talked about the process of watermarking a PDF by sending it to Lambda function in a POST request. In this lesson we’ll automatically Trigger Lambda function when a PDF is uploaded to a S3 bucket and watermark it, then we’ll upload it to a different bucket. Prev chapter: [Part 1]…
-
AWS Lambda Function + API Gateway for Absolute Beginners.
Contents: What’s not covered: Introduction & Goal Serverless architecture has some good use but only if you plan for it. Anytime you use a service like AWS Lambda you should ask yourself “Why bother, is the additional complexity really justified?”. Additionally, you should think about the costs as they can be unpredictable, they’re not constant…
-
Some ways to improve bug fixing..
Bugs will happen whether you like it or not. But it pays off to know the type of bugs they are. External bug in an API/service your system relies on? A syntax bug? A logical bug? A bug caused by server itself? The list goes on. But that’s really the first step. You must know…
-
Using Stripe with Laravel/PHP (Stripe connect)
What we’ll cover: Overview Enabling Stripe-Connect account The On-boarding Process Generating On-boarding Link On-boarding verification Taking Payments Verifying Payments Creating a Refund Listening to Refund events Overview In this post I’m going to go over utilizing Stripe’s-Connect. I’ll try giving you a basic understand of how things tie together rather than going into details. I’ll…
-
Distractions aren’t bad if you can control when you’re distracted!
You think you’re doing great after a distraction but you’re not. I thought I was! I couldn’t spot the difference in thoughts before or after the distraction so I started taking notes right before I knew I was about to distract myself or there was a meeting coming up. When I came back to the…
-
Avoiding Bugs when working with Percentage (%) values in your application
The idea is that if we have a proper understanding between frontend and the backend then many serious bugs can be avoided. Let’s take VAT Rate as an example. We have an application that displays percentage on frontend, for example 10%, 20%, 19.5%, 2%, 0.5% VAT etc. Our job is to make sure there’s a…
-
Git rebase — How to clean merge history log and squash commits
Cleaning up merge mess I have people working on different branches. Each person has made several commits. They’ve then merged their work into master branch. Leaving the master branch with several merge messages along with commits and a confusing graph. When you look at the commit history after merging, it looks like below. Change 1,…
-
How we handled user Invoices background process after downtime
Most people don’t ever think what will happen to the data if background processes stopped working due to server issues! Especially when the customers are consuming the data on regular bases. What will the application do when the server is back up? continue working as usual? will you have to make manual changes? notify the…
-
How not to ruin your data after downtime
Sometimes it’s best to create a nice interface for the users and let them fix the state of data instead of “assuming” things and try fixing it yourself after a downtime. For example, let’s say there’s a system running background process which stopped temporarily due to server downtime. 2 days later… The system is back…