Projects

Dockerized WordPress on a Raspberry Pi

This blog runs on a a Raspberry Pi since 9th April 2019 and surprisingly the Pi performs quiete well. WordPress on itself does not need too many ressources for my use case since i don’t have hundreds of visitors per day, leaving capcaity for other applications.

The current setup includes an out of the box docker-compose and a backup script which uploads files to the dropbox cloud storage. In this series i would like to give you a short introduction how my setup works and how you could set it up by yourself.

Recent Posts

WordPress – The editor has encountered an unexpected error

WordPress – The editor has encountered an unexpected error

Hung ManhFeb 2, 20222 min read

Sometimes when editing a post or a page in WordPress, the site just crashes with the error “The editor has encountered an unexpected error.” Let’s take a deeper look and try to fix this problem. Note: This is what ultimately…

Kubernetes pod stuck in pending status. Nodes had no available volume

Kubernetes pod stuck in pending status. Nodes had no available volume

Hung ManhJan 30, 20222 min read

Observation A deployed pod is stuck in pending status. A describe pod gives the following warning: Warning FailedScheduling [..] 0/3 nodes are available: 3 node(s) had no available volume zone. What happened We already had a PVC (PVC_A), which we…

Airflow tasks do not run at specified time as scheduled

Airflow tasks do not run at specified time as scheduled

Hung ManhDec 9, 20213 min read

We observed a problem where dags did not run at the specified time at all but consistently started at a random time. Let’s dig into it. Expected Behavior: We have a job chain of three dags which are scheduled for…

dummy-img

How to attach block volume to VM instance in OCI

Hung ManhSep 22, 20213 min read

As a lot of cloud providers offer a free tier option of their products now, i wanted to run some tests on the Oracle Cloud Infrastructure (OCI) and encountered some actually trivial problems on how to increase the volume of…

dummy-img

How to move objects between OCI buckets

Hung ManhJul 26, 20212 min read

I just stumbled upon probably one of my best documentation snippets on how to move objects between OCI buckets. There is no direct “move file” functionality within the oracle cloud. Instead the procedure is to copy the file to another…

pgadmin in Kubernetes – mount Permission denied

pgadmin in Kubernetes – mount Permission denied

Hung ManhJul 2, 20212 min read

If you are using Docker, or for this matter Kubernetes, you would need to mount a host folder into your container to store your data persistently. For pgadmin, you would like to persistently save the database, which holds all metadata…

How to autostart a video in Windows

How to autostart a video in Windows

Hung ManhDec 8, 20202 min read

The other day a friend asked me to help with a practical prank. For his girlfriend, he prepared a laptop as a gift, however he wanted to tease her a bit by automatically starting a scary video whenever she logs…

How To Calculate the mean Average Precision (mAP) in object detection- an overview

How To Calculate the mean Average Precision (mAP) in object detection- an overview

Hung ManhDec 2, 202012 min read

As a grad student, just entering the world of object detection i found it quite helpful, that there are a lot of resources especially blog posts, made easy to quickly digest complex concepts and ideas. If you type in related…

Null values and their pitfalls

Null values and their pitfalls

Hung ManhAug 6, 20204 min read

Learning: Best to not permit NULL values in columns which are used for comparisons If you compare a NULL value with any other character the output will always be false which sometimes can lead to confusion since it is not…

Passing comma separated String to function / stored procedure to use with IN condition

Passing comma separated String to function / stored procedure to use with IN condition

Hung ManhApr 28, 20201 min read

where column = any (string_to_array(replace(delimSources,’ ‘,”),’,’)) — replace(source,old, new) => removes whitespace — string_to_array(source,separator) => puts the string separated by seperator in an array — any => equivalent to IN, BUT in contrast to IN it can take an array,…

Recent Posts

No post found!

No post found!

No post found!

hungsblog | Nguyen Hung Manh | Dresden
Scroll to Top