14 Jan 2025 - tsp
17 mins
Generative Pre-trained Transformers (GPTs) and Large Language Models (LLMs) have revolutionized the field of artificial intelligence by demonstrating advanced capabilities in understanding and generating human-like language. This article peeks (in a non technical way) into the inner workings of GPTs, from their neural network foundations to innovative mechanisms like attention and contextual embeddings. It explores how these systems generalize patterns from vast training datasets to produce meaningful, context-aware responses.
Contrary to common misconceptions, LLMs do not memorize training data but instead apply logical reasoning and learned structures to novel situations. While their static weights differ from the dynamic learning of the human brain, LLMs exhibit creativity and adaptability through mechanisms like transfer learning and external data integration. The article also examines the boundaries between simulation and consciousness, highlighting the transformative potential of LLMs for applications like virtual assistants and personalized systems while addressing their constraints.
30 Dec 2024 - tsp
34 mins
Python's asyncio is a library designed to write concurrent code using the async/await syntax. It is particularly useful for I/O-bound and high-level structured network code, enabling efficient multitasking within a single-threaded program.
This blog article serves as a quick overview and tutorial of the basic concepts and as a repository for the most important concepts and patterns to use.
26 Dec 2024 - tsp
31 mins
Generative Pre-trained Transformers (GPTs) like OpenAIβs ChatGPT have transformed the landscape of artificial intelligence by offering the ability to generate human-like text, adapt to diverse tasks, and understand context and patterns across various domains. This blog post provides a non-technical, broad overview of GPTs, emphasizing their versatility in applications such as brainstorming, complex problem-solving, data analysis, and more. Despite their impressive capabilities, GPTs are often misunderstood as simple search engines or seen as tools that merely reproduce information from their training data, leading to misconceptions about their potential and legality.
The post aims to demystify GPTs by highlighting their unique strengths and differentiating them from traditional tools. By showcasing practical applications and explaining what GPTs can and cannot do, the article seeks to clarify these misunderstandings and demonstrate how GPTs can be powerful partners in fostering innovation, creativity, and effective problem-solving. This understanding will empower readers to leverage GPT technology more effectively in various aspects of their personal and professional lives.
28 Nov 2024 - tsp
14 mins
This article is a quick summary on Householder reflectors in real values vector spaces and their application to zero rows or columns in matrices.
08 Nov 2024 - tsp
5 mins
This article solves the mystery behind some of my FreeBSD systems that had appeared to be randomly freezing and provides a solution to this single specific problem.
25 Aug 2024 - tsp
44 mins
Nuclear Magnetic Resonance (NMR) and Electron Paramagnetic Resonance (EPR) are pivotal techniques used to explore molecular structures and dynamics through the magnetic properties of atomic nuclei and unpaired electrons. This article provides an introductory level examination of NMR, integrating both classical and quantum mechanical descriptions. Key topics include the Zeeman effect, Bloch equations, relaxation processes, and the quantum mechanical framework involving spin operators, Eigenstates, and the density matrix formalism. The discussion delves into the effects of RF driving fields, Rabi oscillations, and the incorporation of relaxation processes using the Lindblad master equation. The article concludes by demonstrating how these quantum mechanical models align with the phenomenological Bloch equations, providing a comprehensive understanding of the dynamics of spin systems under resonance conditions. While the primary focus is on NMR, the article also offers insights into EPR, broadening the perspective on magnetic resonance techniques.
20 Aug 2024 - tsp
9 mins
Discover how to implement language negotiation on a static website using Apaches mod_rewrite. This article provides a step-by-step guide to serving translated content based on users browser preferences, enabling a seamless multilingual experience without the need for complex server-side scripts or content management systems. Whether you are looking to add multilingual support to your Jekyll-generated site or simply explore the powerful features of Apache, this guide offers clear explanations and practical examples to help you get started.
05 Apr 2024 - Spielauer, T., Kolb, M., Weigner, T., PrΓΌller, A., Toyfl, J., Boero, G., & Haslinger, P.
1 min
Presented at the 14th ASEM (Austrian Society for Electron Microscopy) workshop
Electron spin resonance is a widely used analytical tool in medicine, biology and material sciences. Traditionally, electron spin systems are driven by microwaves, which offers only limited spatial resolution due to the long wavelength of microwaves, which can be optimized by sophisticated techniques such as the use of magnetic field gradients. We propose a different way of driving spin systems using the non-radiative near-field of a modulated electron beam in a scanning electron microscope by tuning the microscopes to higher beam currents and using additional beam modulation mechanisms. Driving systems with higher harmonics of the modulated beam opens up future possibilities to perform in-situ electron spin resonance analysis with high spatial resolution down to the nanoscale. To perform our experiments we modified an Philips XL30 ESEM to allow for high frequency beam modulation, cryogenic cooling of our samples and microwave frequency readout of our spin systems.
31 Mar 2024 - tsp
51 mins
This article explores the integration of the MLX90640 far infrared thermal sensor with a RaspberryPi using FreeBSD. It delves into the technicalities of interfacing the sensor, the intricacies of its data processing and compensation algorithms, and demonstrates these concepts with Python code examples.
29 Mar 2024 - tsp
7 mins
This article gives a short summary on the way to interface with the I2C bus on RaspberryPi using Python by using a thin wrapper around the ioctl calls supported by FreeBSD. In addition it introduces a small PyPi package that supplies this thin wrapper.