Web Security: Understanding Content Security Policy (CSP)

Content Security Policy (CSP) is one of the most promising countermeasures against Cross-Site Scripting (XSS) on modern browsers. CSP is a declarative policy mechanism that allows web application developers to define which client-side resources can be loaded and executed by the browser.

Using Exoplayer in LazyColumn

I have been playing around with Compose and recently implemented video playback in a list. While there are tons of great examples on how to do it with a RecyclerView, I couldn’t find any for Compose....

July 10, 2021 · 4 min · Shashank Mishra

Use Docker Multi-Stage builds to keep the image size down

It is a daunting task to keep the size of docker images small. You might have seen your docker build get extensively large once you start adding more artifacts that would be needed in production....

June 13, 2021 · 4 min · Sanyam Khurana

Custom per-object Permission System in Django

Almost all of the apps out there have some concept of authenticating and authorizing users in their system. In this blog post, we will look at how you can implement per-object authorization in Django....

May 27, 2021 · 3 min · Akash Mishra (@tucosaurus)

Magic Touch Recycler

We have all been wowed and frustrated by the recycler view animations at some point in our lives or you will be if not yet. 😛 Most of the time, it’s about adding an animation while loading data or animating an item on tap....

May 27, 2021 · 3 min · Bhavya Rattan

Closure Table

Building a filesystem like a google drive, a threaded comments system, or an employee management system always sounds like a daunting task. The data for these use-cases has recursive relationships....

May 24, 2021 · 6 min · Akash Mishra (@tucosaurus)

Full-Text Search PostgreSQL or ElasticSearch

In this article, I’m documenting some of my findings when implementing Full-Text Search (FTS) in PostgreSQL (using Django ORM) and ElasticSearch. As a Django developer, I started looking into available options to perform a Full-Text search over a standard size of around a million rows....

May 16, 2021 · 3 min · Mayank Jain

Setup Full-Text Search Index in Django

In this tutorial, we will be setting up a pre-computed database index using database triggers to speed-up Postgres Full-Text Search in Django. To avoid the computation of tsvector using SearchVector on the fly, we can pre-compute the result in an indexed column....

Continuous Rounded Corners with UIKit

At Fueled, we spent the last couple months building an awesome augmented reality game called Toppler to explore some of the capabilities of ARKit 2. We’ve already covered some of the technical lessons we leraned in two previous articles mostly related to SceneKit....

Building a video timeline using RecyclerView

Recently, I had to work on displaying a custom timeline for a video playlist. Since a picture speaks a thousand words let me just show you what it looked like:...

October 15, 2020 · 6 min · Shashank Mishra