Resizing all pages in a multi-page PDF document to A4 size with ImageMagick

While many iPhone users regularly utilize the Notes app for jotting down ideas or making lists, fewer are aware of its powerful document scanning capabilities. This feature allows you to use your iPhone camera to scan documents, automatically detecting edges and transforming images into clean, rectangular forms akin to a traditional scanner’s output. However, those […]


On Anthropic breakthrough paper on Interpretability of LLMs May 2024

Anthropic showed that a method they previously used for the interpretability of small models could scale to their medium-sized LLM, Claude 3 Sonnet. They demonstrated that features (concepts, entities, words, etc.) are represented inside the LLM by patterns of neurons firing together. By mapping millions of features in Claude 3 Sonnet, they are able to understand what the model is “thinking” about during inference.


Modern Standard Arabic – The Missing Glossary

Introduction Arabic undeniably holds a significant place among the world’s languages, a status that will persist for decades to come. It is one of the six official languages of the United Nations, alongside Mandarin Chinese, French, English, Spanish, and Russian. Ranking fifth in terms of native speakers—after Mandarin, Hindi, Spanish, and English—Arabic is spoken by […]


Rocket.Chat Webhooks Processing Slack Formatted Requests

Rocket.Chat is an open-source communication platform offering a plethora of features, including persistent chat rooms (channels) organized by topic, private groups, and direct messaging. It is a serious open-source alternative to Slack. Many organizations and businesses choose Rocket.Chat for the control that self-hosting provides, as well as for its privacy and security benefits. Over the […]


أسماء شهور بلاد الشام ومواقع ووردبريس العربية

نستخدم في سوريا وفي بلاد الشام عموماً وكذلك في العراق أسماءً لِشهور السنة الشمسية، وبالتحديد لشهور التقويم الغريغوري، مختلفة عن تلك المعتمدة في ما يسمى باللغة العربية المعيارية الحديثة والمنقولة عن اللغة اللاتينية مثل يناير، فبراير، مارس، أبريل. وبقصد إحاطة القارئ غير الملِمِّ بأسماء الشهور هذه، أنقل عن أبي منصور الأَزهري الذي عاش في العهد […]


Introducing pytest-minio-mock

As head of engineering professionally and as a contributor to Open Source projects, I am involved in several WebApp projects, where I put a large emphasis on code quality, smooth CI/CD pipelines as part of my dedication to DevOps principles. Some of the projects involves interactions with S3 storage via the Minio package for python. […]

Secure PDF Redactions: a Script Based Approach using ImageMagick

In today’s digital landscape, PDF documents have become a ubiquitous medium for sharing information, ranging from professionally generated reports to scanned copies of vital documents. There are numerous scenarios, be it for privacy concerns, security protocols, or compliance with legal requirements, where redacting certain pieces of information from these PDFs becomes necessary. A common method […]

Setting up SAML for Odoo with Google Workspace

Many companies and organisation uses Google Workspace as the provider of their productivity and collaboration apps. The Gmail webmail service, Google drive, Google Documents, Google Meet, The calendar and many other apps are simple great tools for small and medium-sized organisations. Odoo is an open-source suite of business applications that assists companies in managing various […]

The rebuilding of The Tower of Babel by Stable-Diffusion inspired by Pieter Bruegel the Elder

هل هذه بداية الفصل الأخير من قصة برج بابل؟

قصة برج بابل تقول قصة برج بابل في الثقافة الغربية في إحدى تفسيراتها، أن الإنسان شرع في بناء برج شاهق العلوّ يصل السماوات في مدينة بابل التاريخية. فعاقبته السماء على تعجرفه وطموحه غير المحدود بهدم البرج قبل اكتماله وبشرذمة اللغات والشعوب، كي لا يتسطيع البشر العمل سوية لتحدّ الطبيعة من جديد ولتذكيرهم بمكانتهم وضرورة وضع […]


الآثار المتوقعة للذكاء الصنعي لا سيما نماذج اللغة الكبيرة على سوق العمل

آثار التقدم التقني في مجال الذكاء الصنعي لاسيما في نماذج اللغة .الكبيرة سيقع جلّها على مهن “الياقات البيضاء” من مهندسين، وأطباء، واقتصاديين، وموظفين إداريين، ومحامين، ومستشارين ومصممين وكتاب وصحفيين ومؤلفين وغيرهم.