PHIPS BLOG

  •  Home
  •  Get To Know Me

Programming & DevOps

Posts about programming, DevOps, Linux server management, and more.

Programming & DevOps

Measuring TTFB (Time to First Byte) for HTTP Requests in Rust

The other day I created a small CLI + library written in Rust, that helps to measure the TTFB (time to first byte) for HTTP GET-Requests in Rust. I had this project on my to-do list for a few months now and finally some time for it. I got inspired Read more

By Philipp Schuster, 4 years2021-07-12 ago
Programming & DevOps

How to Find Out if a Binary Runs Inside QEMU

In the previous blog post we talked about how to use QEMUs debugcon feature. To do this responsibly, we should only do this if the binary runs in fact inside QEMU. To find this out, one can use the cpuid instruction. It gives us a lot of information about our Read more

By Philipp Schuster, 4 years2021-07-07 ago
Programming & DevOps

How to Use QEMUs “debugcon”-device (and Write Debug Information to the Terminal or a File)

Update 2024-01-30: The same underlying mechanism was just merged in Cloud Hypervisor as well! It is exposed as –debug-console <target>. This article mostly applies to Cloud Hypervisor as well. Problem: Getting Early Debug Output as Kernel Developer QEMU is a VMM often used for low-level OS/kernel development and testing. When Read more

By Philipp Schuster, 4 years2021-07-07 ago
Programming & DevOps

Rust insight: memory layout of “&str”

Update: In the meantime, my knowledge of Rust got better. &str simply uses the layout of a fat pointer. Original article down below. TL;DR: At least on x86_64 a &str is two u64 (16 byte) long. The first u64 is a pointer and the second u64 is the length of Read more

By Philipp Schuster, 4 years2021-06-30 ago
Programming & DevOps

Rust: setTimeout and setInterval as in Javascript with “tokio” as Runtime

Even though I’m working with Rust for over 2.5 years now, I unfortunately never made a deep dive into the async/await/future-world. But I started using tokio a few days ago and a few questions came up. Tokio is a runtime for executing futures, great! For this, tokio needs some kind Read more

By Philipp Schuster, 4 years2021-05-17 ago
Programming & DevOps

How-To: Compile EDK2/OVMF From Source on Linux [2021]

EDK2 is a development environment to create firmware implementations that follows the UEFI specification. It is part of tianocore project. which is the reference implemenation for UEFI. Multiple “packages”, which are the sources to build tianocore for different platforms (x86, ARM, QEMU), are located inside the git repository of “EDK2”. Read more

By Philipp Schuster, 4 years2021-05-11 ago

Posts pagination

Previous 1 … 7 8 9 … 11 Next

Because this blog is a few years old and used to be a more or less personal german blog, old posts are in german. Newer posts are in english.

  • Impressum
  • Datenschutzerklärung
Hestia | Developed by ThemeIsle