---
title: Blog
author: Omar Albeik
language: en
canonical_url: "https://omaralbeik.com/en/blog"
translation_url: "https://omaralbeik.com/ar/blog"
source_url: "https://omaralbeik.com/en/blog.md"
---

# Blog

- [A website on Cloudflare Workers: from local preview to your own domain](https://omaralbeik.com/en/blog/series/cloudflare/hosting-a-website-on-cloudflare-workers): Give a Hono API a frontend, understand static assets and server rendering, and take a website through local testing, Git deployments, previews, and a custom domain. (tutorial, 6 November 2026) [Markdown](https://omaralbeik.com/en/blog/series/cloudflare/hosting-a-website-on-cloudflare-workers.md)
- [Cloudflare Workers: from a request to a running application](https://omaralbeik.com/en/blog/series/cloudflare/understanding-cloudflare-workers): Understand the Workers runtime, build a bilingual reading-time API with Hono, and follow it through local development, deployment, bindings, costs, and debugging. (tutorial, 21 September 2026) [Markdown](https://omaralbeik.com/en/blog/series/cloudflare/understanding-cloudflare-workers.md)
- [Cloudflare DNS: from buying a domain to a working website](https://omaralbeik.com/en/blog/series/cloudflare/understanding-cloudflare-dns): Choose a registrar, connect your domain, and understand the records behind your website and email. A practical Cloudflare DNS guide, with diagrams and troubleshooting commands. (tutorial, 17 September 2026) [Markdown](https://omaralbeik.com/en/blog/series/cloudflare/understanding-cloudflare-dns.md)
- [An introduction to Cloudflare's ecosystem](https://omaralbeik.com/en/blog/series/cloudflare/introduction-to-cloudflare): How Cloudflare's networking, security, compute, and storage services fit together, with Unblock Syria as a working example and a look at the five-dollar Workers plan. (article, 7 September 2026) [Markdown](https://omaralbeik.com/en/blog/series/cloudflare/introduction-to-cloudflare.md)
- [Drawing link previews that work in Arabic](https://omaralbeik.com/en/blog/link-previews-that-work-in-arabic): One Open Graph image per route, built two ways: HarfBuzz and resvg at build time, satori per request. Then the part that breaks in Arabic — word order, letter joining, and measuring text the font draws differently than it measures. (tutorial, 31 August 2026) [Markdown](https://omaralbeik.com/en/blog/link-previews-that-work-in-arabic.md)
- [Syria is off the list](https://omaralbeik.com/en/blog/syria-is-off-the-list): Syria went on the American terrorism list in 1979 and came off it on Monday. I wrote the careful version for Unblock Syria. This is the one where I'm happy, and still angry. (note, 26 August 2026) [Markdown](https://omaralbeik.com/en/blog/syria-is-off-the-list.md)
- [Why AI gets Arabic calligraphy wrong](https://omaralbeik.com/en/blog/why-ai-gets-arabic-calligraphy-wrong): Arabic handwriting: 0.8% word error. Classical calligraphy: 45%. I went looking for the missing training data behind that gap and found the opposite — rules written down in the tenth century, and encoded in software in the 1980s. (article, 7 August 2026) [Markdown](https://omaralbeik.com/en/blog/why-ai-gets-arabic-calligraphy-wrong.md)
- [Binding libVLC directly from Swift 6](https://omaralbeik.com/en/blog/binding-libvlc-directly-from-swift-6): Four and a half months, twenty-five patches carried against VLC's own source, and one feature I still cannot ship. What it takes to own a C engine instead of consuming one. (article, 3 August 2026) [Markdown](https://omaralbeik.com/en/blog/binding-libvlc-directly-from-swift-6.md)
- [Namespace your Swift extensions](https://omaralbeik.com/en/blog/namespace-your-swift-extensions): Add a member to a type you do not own and it lands in that type's namespace, not yours. SwifterSwift hit this past five hundred extensions. Here is the wrapper that fixes it, and why you have to choose it before your first release. (article, 19 February 2022) [Markdown](https://omaralbeik.com/en/blog/namespace-your-swift-extensions.md)
- [Enforce SSH instead of HTTPS for Git operations](https://omaralbeik.com/en/blog/enforce-ssh-instead-of-https-for-git-operations): Generate a key, register it, tell SSH which one to use — then have Git rewrite every HTTPS remote to SSH, including the ones inside other people's submodules and lockfiles. (tutorial, 23 August 2021) [Markdown](https://omaralbeik.com/en/blog/enforce-ssh-instead-of-https-for-git-operations.md)
- [Three comparisons the standard library already does](https://omaralbeik.com/en/blog/let-the-standard-library-compare): first(where:) instead of filter().first. Comparable tuples instead of nested comparisons. indices.contains instead of a hand-rolled range check. (note, 16 December 2019) [Markdown](https://omaralbeik.com/en/blog/let-the-standard-library-compare.md)
- [Property observers already give you the old and new value](https://omaralbeik.com/en/blog/property-observers-old-and-new-value): willSet and didSet already hand you newValue and oldValue without being asked. Then there are three situations where neither observer runs at all. (note, 6 December 2019) [Markdown](https://omaralbeik.com/en/blog/property-observers-old-and-new-value.md)
- [A typealias can take a type parameter](https://omaralbeik.com/en/blog/generics-in-typealias): Name a completion signature once and spell it Handler<Post> at every call site. Readable, and a single place to change the error type. Documentation the compiler spell-checks, and nothing more. (note, 5 December 2019) [Markdown](https://omaralbeik.com/en/blog/generics-in-typealias.md)
- [When to use a safe collection subscript](https://omaralbeik.com/en/blog/safe-collection-subscript): Should an out-of-bounds index crash, or come back nil? It turns on whether you produced the index or someone else did — plus one performance trap on collections that are not arrays. (note, 12 July 2019) [Markdown](https://omaralbeik.com/en/blog/safe-collection-subscript.md)
