Categories
AI DDD Patterns

Is Prompting a Kind of DSL?

Exploring the parallels between domain-specific languages (DSLs) and the prompting techniques used with large language models.

Categories
AI Patterns Science

Why AI Can’t Dance: The Limitations of Machine Learning in Artistry

Exploring the fundamental reasons why artificial intelligence struggles to replicate the art of dance, despite its capabilities in pattern recognition and analysis.

Categories
Best Practices Patterns

Caching

Why caching? The main purpose of caching is to prevent expensive calls. Caching data means, we don’t fetch any data that we already know of. A cache is like steroids for data retrieval, it can boost the performance of an application like a rocket. But it comes at its cost: the downside of caching is […]

Categories
Best Practices DDD Patterns Science TDD

Symmetry, Conservation of Energy and Algorithms

In Physics we know the principle of a conserved quantity. A conserved quantity is something that doesn’t change while other variables in the system are modified. For example, the total energy in a closed system can neither disappear nor can it grow over time out of nothing. The amount of energy is conserved. Some of […]

Categories
Patterns

The Blackboard Pattern

You can find a lot of descriptions of the common patterns like MVC, strategy, factory, adapter etc. on the internet. The blackboard pattern is one of the not so common patterns. This is why I want to take a closer look on it. It can be categorized as a behavioral pattern. The blackboard pattern describes […]