Logo reiche.world
  • Home
  • About
  • Skills
  • Recent Posts
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Posts
  • Poems (de)
Hero Image
Create candlestick charts with native PostgreSQL first-last-aggregate

When you want to create Candlestick charts you need to group time series into time-frames like: Give me the highest, lowest and average value for each 1 hour of a day. To do so, you can use this native PostgreSQL query: select min(cp.created) as created_min, max(cp.created) as created_max, cp.symbol_id, avg(cp.price) price_avg, max(cp.price) price_max, min(cp.price) price_min from generate_series(current_timestamp::timestamp-interval '7' day, current_timestamp::timestamp, interval '1' hour) as d(dt) join prices cp on (cp.created >= d.dt and cp.created < d.dt + interval '1' hour) where cp.symbol_id = 'LHA.DE' group by d.dt, cp.symbol_id order by d.dt; You will get a result like

Sunday, September 22, 2024 | 2 minutes Read
Hero Image
Openshift (OKD) cluster recovery when master nodes down due apiserver certificates expired

This guide helps you to recover a cluster when kubelet is down and/or apiserver DaemonSets are failing because of outdated certificates. The main symptom is, that all master nodes are NotReady and the cluster down. Detect the symptom Login into one of the master nodes View pod status crictl pods View the pod logs crictl logs -f ${POD_ID} 2>&1 Symptom: Login into cluster not possible via oauth-openshift I may happen, that even the oauth-openshift is not operational and responding with 500 Internal Server Error. Every credentials based login is impossible.

Wednesday, August 28, 2024 | 2 minutes Read
Hero Image
Gedichte

Eine kleine Auswahl an Gedichten die mal fertig geworden sind.

Sunday, January 1, 2023 | 1 minute Read
Hero Image
Testerra goes Open Source

This was a long term task with many challenges to master, but after more than one year before we did the first step, we finally accomplished to make Testerra Open Source. Testerra is the Test Automation Framework for Web Applications based on Selenium. It may be the same like any other frameworks on the market out there, but with the experience of experts team and a variety of projects with thousands of test cases, developed by the partners of my current company T-Systems MMS in Dresden.

Sunday, March 14, 2021 | 1 minute Read
Hero Image
Unlock Audible books

There is a pretty easy way to unlock your Audible books. Once downloaded, you can use ffmpeg and specified rcrack rainbow tables to do that. There are three easy steps: Detect the file hash Retrieve the encryption key for the hash Unlock the file and convert the audio format There is instruction in the README.md of the GitHub repository. But the reason why posting this, is that I created a script to convert many .aax files unattended as a command line bash script. In addition, it removes the Audible intro and outro voice over from every track. To use it, you just need to clone the repository by following the link below and to install the required software as described in the README.md there. It should work on Windows and Linux (untested).

Monday, July 27, 2020 | 1 minute Read
Hero Image
Metan 2: My first flash game

Back in the year 2000, I started to learn the brand new Macromedia Flash and explored all the advanced multimedia features to bring on a website. So I decided to rewrite my game “Metan” - which was originally coded in Microsoft Basic for DOS a few years ago - in order to provide better graphics, animations and even sound. Unfortunately, I lost the source code for this game, so I cannot tell much about the implementation or demonstration purposes. And therefore I’m not able to port this game back to the browser. If you want to try, download the whole Google Drive folder below and run it on a Windows computer.

Monday, July 27, 2020 | 1 minute Read
Hero Image
Split Invoice

A small tool for splitting invoices between multiple parties. This idea came up, when my family and friends struggled by splitting invoices after a nice day full of quality time. This tool supposes to help us to keep everyone in balance. Implemented in Aurelia and Materialize. Goto split invoice tool

Tuesday, June 23, 2020 | 1 minute Read
Navigation
  • About
  • Skills
  • Recent Posts
Contact me:
  • mike@reiche.world
  • mreiche
  • +49 151 56102486

Toha Theme Logo Toha
© 2025 Copyright.
Powered by Hugo Logo