fred @ Veröffentlicht am

It’s one of the most annoying states your dear OneNote can run into: The infamous “OneNote needs a password to sync this notebook” error. Apparently this is a real issue as you can see here, here and here. It renders your OneNote application essentially useless and drove me almost crazy – especially since it happened to me on my Windows Phone which added another level of complexity to the whole scenario. Nevertheless, I managed to solve it.

„How To Fix: OneNote Needs A Password To Sync This Notebook“ weiterlesen

Veröffentlicht am
fred @ Veröffentlicht am

When running a Docker container in some isolated environment (e.g. for testing purposes), one thing you often want to do is to call a service located in some other container running on your host system.

Without some sort of service discovery these are invisible to the container itself. What you need in this case is the IP address of the host system so that it can be reached from within the container. I myself recently had that problem when I locally needed to test how two services directly interact with one another.

Googling the issue I found out that it is highly sought after although the solution is stunningly simple. Get a list of your network interfaces in the shell of your choice:

1
2
3
ipconfig // on windows
iwconfig // linux
ifconfig // linux

The output should be somewhat similar to what you’re seeing in the picture above. Try to track down the docker network interdace et voila: here’s the IP you were looking for.

That being said: On Windows it’s most probably always 10.0.75.1.

Veröffentlicht am
fred @ Veröffentlicht am

In a normal production environment monitoring your application’s output inside a running container should be very straightforward. Logs are usually collected from stdout and made visible in Kibana and your metrics are safely pushed to some time-based storage  (such as Graphite) and then accessible via tools like Grafana.

So far goes the theory – and then there is real life. Remember this one dynamic machine you’re qa’ing on or a shadow instance that you quickly set up a week ago? And all over sudden you find yourself in the situation where you have to debug running code. „In Situ Debugging in k8s & docker Environments“ weiterlesen

Veröffentlicht am
fred @ Veröffentlicht am (Update: )

Setting up minikube on a Windows 10 computer is (in theory) the most easy thing to do since Hyper-V already does the virtualization and there is no additional software to be installed. Yay.

Where it really gets hairy are a few things that might not run out of the box right away and I’ll try to give you the shortest guide possible here to get minikube up and running on your machine.

„Run k8s minikube on Windows 10 with Hyper-V“ weiterlesen

Veröffentlicht am (Update: )
fred @ Veröffentlicht am (Update: )

Gestern habe ich mir ein neues MIDI-Piano gekauft und wollte heute Effekte von der beiliegenden CD auf meinen Laptop kopieren. Seltsamerweise ließen sich einige Dateien einfach nicht übertragen. Windows beklagte sich immer über:

Nicht genug Arbeitsspeicher..

Na gut. Kein Problem. Gelegentlich übertreibe ich es mit der Anzahl meiner offenen Tools ein wenig und mein PC läuft, was das angeht, immer etwas auf Kante. Also den Arbeitsspeicher ein wenig aufgeräumt.

„Nicht genug Arbeitsspeicher?“ weiterlesen

Veröffentlicht am (Update: )