Writing

Writing

Articles, practical notes, and short lessons.

Articles

14
  1. Cover image for UUIDv7 in DjangoUUIDv7 in DjangoHow to use UUIDv7 in DjangoDevelopment · 6 min read
  2. Cover image for Hyrum's Law in GolangHyrum's Law in GolangOccurrence of Hyrum's law in GolangDevelopment · 3 min read
  3. Cover image for Avoiding Generic Foreign Keys by using Check ConstraintsAvoiding Generic Foreign Keys by using Check ConstraintsHow to avoid using generic foreign keys by using check constraintsDevelopment · 5 min read
  4. A Python application being reset through a sequence of stagesReinitializing a Django appHow to reinitialize a Django app by deleting migration files, dropping associated database tables, and recreating the app from scratchDevelopment · 3 min read
  5. An open index drawer revealing a set of organized recordsShowing Models of Internal and 3rd Party Apps in Django Admin PageHow to display the models of Django's internal apps or any 3rd party apps in the admin page.Development · 5 min read
  6. An ordered row of distinct tiles arranged in a shallow wooden trayDisplaying Human-Readable ArrayField Choices in Django REST FrameworkHow to Display a Human-Readable Format of a Django ArrayField Containing CharFields with Choices in Django REST Framework.Development · 3 min read
  7. Cover image for Hide your Nginx VersionHide your Nginx VersionThe Nginx version is exposed by default. Hide it.Systems · 5 min read
  8. Cover image for Custom Validation Errors in FastAPI with PydanticCustom Validation Errors in FastAPI with PydanticLearn how to customize validation errors in FastAPI with PydanticDevelopment · 5 min read
  9. Cover image for Finding the services companies use via their TXT recordsFinding the services companies use via their TXT recordsHow to use a company's TXT records to discover the products they use.Systems · 4 min read
  10. Cover image for Modifying LLM responses on the flyModifying LLM responses on the flyHow to modify LLM responses in Next.js to shape the response the way you wantDevelopment · 9 min read
  11. Cover image for Modal Routing in NextJSModal Routing in NextJSHow to route to a modal or a detail page in Next.js similar to the way Reddit and Instagram do it.Development · 6 min read
  12. A delicate web spanning a narrow openingRestricting registrations only to specific users in DjangoOnly allowing registration to users with emails in an approved list of email providersDevelopment · 2 min read
  13. Cover image for Creating Different Admin Pages for Different Trusted Users in DjangoCreating Different Admin Pages for Different Trusted Users in DjangoHow to Create Different Admin Pages for Different Trusted UsersDevelopment · 13 min read
  14. Cover image for Optimizing Queries in Django: Selecting Individual Fields using OnlyOptimizing Queries in Django: Selecting Individual Fields using OnlyHow to optimize django queries by getting individual fields onlyDevelopment · 4 min read