Using the Ollama API with curl on macOS

Using Ollama API with curl

In a previous article, the basics of using local language models with Ollama were explained. This blog post is a continuation, discussing the use of an Application Programming Interface (API). In addition to the ollama command or the graphical user interface, the Ollama-managed language models can also be accessed via an API. To enable this, … Read more

Categories AI

Introduction to C++

Screen showing a main function in C++

This introduction to the C++ programming language uses a simple program to teach some of the basics. I’ll be using an example from the articles on setting up a C++ programming environment (links at the end of this article). It’s a simple “Hello World” program: The main() function I would now like to discuss this … Read more

Setting Up Linux for C++ Development

Hello-World in C++

To write C++ applications on Linux, you need a compiler and an editor (or an IDE). Installing a Compiler On Debian and Linux distributions based on Debian, start by running the following command: On openSUSE, run the following command as root: And on Fedora (versions 33 to 36), the following commands will do the job: … Read more

Installing Rust on Linux

Install Rust on Linux

Introduction Rust is a relatively young language in the field of systems programming. The first stable version appeared in 2015, though it was announced back in 2010. It combines different programming paradigms, namely from functional, object-oriented, and concurrent programming. This means programmers from other languages will quickly find familiar elements, though they may also be … Read more

Microsoft has released a command line editor

Microsoft’s Build developer conference has wrapped up. Like Google’s I/O, the spotlight was mainly on artificial intelligence. But there were also announcements on other fronts — for example, cloud computing and developer tools like Visual Studio. One interesting highlight was Microsoft’s new Rust-based command-line editor. Called Microsoft Edit, it’s open source and runs on both … Read more