Posts

  1. The Big Bang of the World Wide Web Oct 24, 2025

    Today, I stumbled ober a YouTube Short about the first Internet pages, back in the 1990s. altendorfer.at appears at altendorfer.at 1998-02-10 16:33.

    The Genesis of the Web

    Let’s take a journey back in time to the very beginning of the World Wide Web. It all started at CERN, the European Organization for Nuclear Research, with a proposal by Tim Berners-Lee. The goal was to create a system to share information among scientists.

  2. Securing Directories with Nginx Basic Auth Oct 14, 2025

    Protecting Your Web Content

    Sometimes you have content on your website that you don’t want to be publicly accessible. Whether it’s a private section for family and friends, or a staging area for a new project, Nginx’s basic authentication is a simple and effective way to password-protect parts of your site.

    In this post, we’ll walk through how to protect a directory called /private and everything inside it.

    1. Creating the Password File

    First, we need to create a .htpasswd file that will store our username and password. The password needs to be encrypted. We can use the htpasswd command-line tool for this. If you don’t have it, you can usually install it with apache2-utils.

  3. Blame the AI Oct 5, 2025

    Isn’t that nice and easy? I can just add a small note that a text or a piece of source code was created with the help of AI and then blame every mistake in my publication on the AI ;-)

    Cartoon shows a human and a roboter. The human finger points all errors to the robot.

  4. #hex My public Hex Packages Sep 21, 2025

    Today I stumbled upon my old Github repository called hexpack-examples. It demonstrates the usage of several useful Elixir hex packages. Let’s take a closer look at them.

    The repository provides examples for the following packages:

    1. data_source: This package provides a unified way to access data from various sources.
    2. bucketier: A simple and effective rate-limiter.
    3. timewrap: A package to handle time-related operations.
    4. exconfig: A package to manage application configuration. (deprecated)

    The repository is a great resource for learning how to use these packages in a real-world scenario. The examples are well-tested and provide a good starting point for integrating these packages into your own projects.

  5. #hex The 'data_source' Hex Package Sep 21, 2025

    Logo

    In the Elixir ecosystem, managing data access is a crucial part of building robust applications. The data_source hex package aims to simplify this by providing a unified interface for interacting with various data sources.

    While Elixir has excellent tools like Ecto for database access, data_source can be useful in scenarios where you need to fetch data from different types of sources, not just databases. It provides a consistent API, making your code cleaner and easier to maintain.