Abenezer Belachew
Abenezer BelachewBack to top ↑

Writing

Writing

Articles, practical notes, and short lessons.
ArticlesNotesTILFragments

All writing

21
  1. Cover image for UUIDv7 in DjangoUUIDv7 in DjangoNov 11, 2024ArticlesHow to use UUIDv7 in DjangoDevelopment · 6 min read
  2. Cover image for Hyrum's Law in GolangHyrum's Law in GolangNov 9, 2024ArticlesOccurrence 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 ConstraintsSep 5, 2024ArticlesHow to avoid using generic foreign keys by using check constraintsDevelopment · 5 min read
  4. An illustrated dual-monitor computer setupSecond display not working on Linux UbuntuAug 18, 2024NotesHow to fix a second display not working on Linux UbuntuSystems · 1 min read
  5. A hand repairing an intricate mechanical deviceUsing ntfsfix to fix mounting error on LinuxJul 20, 2024NotesFor those annoying "unknown error when mounting" messagesDevelopment · 1 min read
  6. Morning light over a river beginning to thawWhy be an optimist?Jun 25, 2024FragmentsA very extensive, in-depth analysis of why to be an optimistPersonal · 1 min read
  7. A wooden drawer divided into neatly organized compartmentsSetting a Default Output Mode in SQLite Using an AliasJun 15, 2024NotesHow to set a default output mode in SQLite with a simple shell alias.Systems · 2 min read
  8. A Python application being reset through a sequence of stagesReinitializing a Django appJun 14, 2024ArticlesHow to reinitialize a Django app by deleting migration files, dropping associated database tables, and recreating the app from scratchDevelopment · 3 min read
  9. An open index drawer revealing a set of organized recordsShowing Models of Internal and 3rd Party Apps in Django Admin PageJun 5, 2024ArticlesHow to display the models of Django's internal apps or any 3rd party apps in the admin page.Development · 5 min read
  10. A network node casting precise lines of light across a dark surfaceTIL - Postgres MAC Address Data TypeFeb 28, 2024TILPostgres has a data type for mac addresses called macaddrSystems · 3 min read
  11. Cover image for TIL: Django has a field limitTIL: Django has a field limitFeb 7, 2024TILThe number of GET/POST parameters exceeded settings.DATA_UPLOAD_MAX_NUMBER_FIELDS.Development · 3 min read
  12. An ordered row of distinct tiles arranged in a shallow wooden trayDisplaying Human-Readable ArrayField Choices in Django REST FrameworkJan 20, 2024ArticlesHow to Display a Human-Readable Format of a Django ArrayField Containing CharFields with Choices in Django REST Framework.Development · 3 min read
  13. Cover image for Hide your Nginx VersionHide your Nginx VersionJan 14, 2024ArticlesThe Nginx version is exposed by default. Hide it.Systems · 5 min read
  14. Cover image for Customizing Tab Titles in Oh My Zsh (terminal-profile)Customizing Tab Titles in Oh My Zsh (terminal-profile)Jan 2, 2024NotesAdding custom titles to your terminal tabs when using Oh My Zsh with terminal-profile.Development · 2 min read
  15. Cover image for Custom Validation Errors in FastAPI with PydanticCustom Validation Errors in FastAPI with PydanticJan 1, 2024ArticlesLearn how to customize validation errors in FastAPI with PydanticDevelopment · 5 min read
  16. Cover image for Finding the services companies use via their TXT recordsFinding the services companies use via their TXT recordsOct 29, 2023ArticlesHow to use a company's TXT records to discover the products they use.Systems · 4 min read
  17. Cover image for Modifying LLM responses on the flyModifying LLM responses on the flyJul 20, 2023ArticlesHow to modify LLM responses in Next.js to shape the response the way you wantDevelopment · 9 min read
  18. Cover image for Modal Routing in NextJSModal Routing in NextJSDec 7, 2021ArticlesHow 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
  19. A delicate web spanning a narrow openingRestricting registrations only to specific users in DjangoNov 2, 2021ArticlesOnly allowing registration to users with emails in an approved list of email providersDevelopment · 2 min read
  20. Cover image for Creating Different Admin Pages for Different Trusted Users in DjangoCreating Different Admin Pages for Different Trusted Users in DjangoOct 10, 2021ArticlesHow to Create Different Admin Pages for Different Trusted UsersDevelopment · 13 min read
  21. Cover image for Optimizing Queries in Django: Selecting Individual Fields using OnlyOptimizing Queries in Django: Selecting Individual Fields using OnlyOct 2, 2021ArticlesHow to optimize django queries by getting individual fields onlyDevelopment · 4 min read