I think the main reason the Model Context Protocol (MCP)1 has become popular is its simplicity. Like any remote procedure call protocol, it allows us to call a function outside our own process. That function can run in a different process on the same machine or a different machine entirely. As such the remote function can be implemented in any language as long as the client and server use the same…
It feels like the tide is shifting. Influencers like The primagen have gone from being critical about LLM code assistants to downright dismissing them. And on r/programming I came across three posts condemning vibe coding in the last week alone. Criticism of LLM integrations in IDEs seems well-established, and I imagine most of us can’t use tools like Cursor or GitHub Copilot at work anyways. So…
When we humans read a text, we are not just reading the characters that make up the text. Instead, we map the words to a mental model of the world. For example, when you’re reading the word warm, you have an idea of what warm represents. You know how it relates to other concepts such as temperature, cold, or lava. One attempt at capturing these attributes is to create a numerical embedding…
I’ve been hosting this blog on GitLab Pages for the past eight years or so, and it’s been working great — no real issues. Well, there is one “problem.” The page loading speed isn’t exactly slow . . . but it’s not fast either. Opening the dev tools reveals that the main culprit is latency. GitLab Pages are hosted in the United States, while I’m based across the pond in Germany.
We’re going to make our own compiler that is completely self sufficient. No libraries, no regex engine, no parser, no assembler. We will do everything by hand and we will end up with a working executable but what is the compiler? At its core, a compiler is a tool that translates from one language into another language. However, in more practical terms, we typically think of compilers as…
I thought that implementing sockets using the standard clib library rather than a Zig library would be a good “hello world” project. It’s a good way to learn about ZIG while also seeing how well it integrates with C code. The code itself is basically a copy of this tutorial. As such I will focus on zig language features and assume the reader is familiar with the socket interface.…
My name is Jan Scheffczyk, and I currently work at the Fraunhofer Institute. In my team, we use natural language processing and machine learning to build tools that aid in the creation and maintenance of project requirements. I enjoy experimenting with machine learning and I am passionate about building robust services that deliver our machine learning models to customers. With my background in…
For models trained on masked language Modeling cos similarity is not always the best choice. Full Thesis Abstract Consistent terminology is important for successful communication between two parties. If two parties do not agree on a common term for a component in their project, the resulting inconsistency leads to confusion and misunderstandings. In NLP this type of terminological inconsistency is…
Originally published on medium.com on 10. March 2021. Okay, there are already plenty of articles describing linear regression but I have not seen much on kernelized regression. Well the fact that you are reading this means that you also didn’t find what you were looking for… For completeness we will get started with ordinary linear regression. Ordinary Linear Regression First we need some data…
Together with colleagues at KAUST, Adam Mickiewicz Univiersity and Google I co-authored Synthetic Silviculture: Multi-scale Modeling of Plant Ecosystems. My colleagues implemented the actual model for the plant and ecosystem growth and exported a graph structure for each tree as well as meta-information for the reconstruction of the plant geometry. I created around the pipeline and Houdini that…
Simulation of wood fracture Full Thesis Abstract In this bachelor thesis we present a novel approach for simulating transverse- isotropic materials. In contrast to classical approaches that integrate the anisotropy into the strain-stress-constitutive model the presented approach is inspired by the natural structure of timber. A rod simulation that repre- sents the fibers in timber is combined with…
Real lenses produce stunning images, some of which capitalize on the oddly shaped circle of confusion which a some lenses exhibits. When this shape becomes visible on the image it is commonly referred to as bokeh. Example image where the bokeh adds a artistic element to the image Some lenses are specifically designed to exhibit a certain shape and distribution of bokeh. However many modern…
As the name suggests this approach is based on simulating particles, or in other words tracing the state of the fluid at a finite number of dynamic points ( also known as position based dynamics). Only external forces are integrated and other forces are solved through constraints between particles. A cloth-piece for example can be realised by apply a distance constraint between neighboring…
As suggested by Excercise 9 in Chpater 4 I replaced the original ray-AABB (Axis Aligned Bounding Box) collision with the algorithm proposed by Martin Eisemann et. al 2007. General Idea In order to hit a 2D AABB the ray has to pass through it’s diagonal. What diagonal to consider depends on the direction of the ray. Each component of the direction vector is either Zero (O), Positive (P) or…
As part of the final project of a computer graphic course at university i developed this openGL game. For the most part the game consist of basic computer-graphic techniques which are taken from online resources. Thus i will only explain the parts that i thought of myself and will redirect you to other resources for the other parts. What is the game like? The player controls a sphere that he can…
After learning some openGL basics i decided it was time to combine fragments i already knew like phong-lighting and Camera transformations with new aspects. I came across L-systems which can be used to create plant like geometry. Since i was intrigued by the results that can be achieved i wanted to try it myself. In general L-systems are a set of symbols (or elements of a set) that define a…
Within the last few decades CPU performance doubled almost annually, leav- ing the memory performance lacking behind. While new memory generations generally increase the total data throughput, the latency decrease is marginal at best. This disparity makes it difficult to reach a high CPU utilization, which can presently only be achieved by minimizing uncached memory reads, thus avoiding the…