Finally I managed to write down my recipe for mousse-au-chocolat. Till now, I did it every time by a rule of thumb estimation. This mousse-au-chocolat is NOT vegan, it contains sugar and it contains fat. And it is NOT made out of 90% chocolate. --> It really tastes good :-)


  • 3 Eggs
  • 150g dark chocolate (Zartbitterschokolade)
  • 33 g icing sugar
  • half a cup of whipping cream

Melt the chocolate carefully in a double boiler. Meanwhile separate eggs and mix egg yolk with the icing sugar. Whisk the egg white stiff. Slowly give the chocolat into the yolk sugar mixture and subsequent carefully the stiff egg white also. Finally whisk the cream and add to the mousse. Keep it in a cool place (refrigerator) for some hours.

Enjoy, maybe with some raspberry sauce

Defect initramfs during Ubuntu startup

Trying to start a computer with Ubuntu 16.04 LTS leads to the following error message

 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

and the computer will not boot into the OS.

Due to update processes of the linux kernel the initramfs is defect.

By googleing you can find this error message and possible solutions quite often and I just want to summarize their and my experiences.

A good solution is to boot your computer with a Ubuntu Live from an USB stick or DVD. Just follow the instructions on the Ubuntu homepage how to create such an USB stick (or DVD). After booting in your rescue system, open a terminal and identify the harddisk your systems is installed.

sudo fdisk -l

Mount this harddisk (e.g. /dev/sda1) and the devices from your host rescue system to create a chroot environemnt.

sudo mount /dev/sdax /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts /mnt/dev/pts
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt 

To create a new initramfs you have to find out which kernel you want to boot. Just have a look into /boot and identify the latest one. Just type

update-initramfs -u -k 4.4.0-66-generic

with the version number you found.

When no error occurs you can finally reinstall grub by typing the following and reboot


In my case I got some erros due to the big number of older kernels in the /boot directory. After deleting them manually the grub update worked fine and I could manage to restart the computer.

Disabeling entries in the legend

The keyword '_nologend_' prevents a plot to show up in the legend of matplotlib figure

import numpy as np 
import matplotlib.pyplot as plt 

x1,y1 = np.random.rand(2,10) 
x2,y2 = np.random.rand(2,10) 
x3,y3 = np.random.rand(2,10) 
x4,y4 = np.random.rand(2,10) 

plt.plot(x1, y1, label='Test 1') 
plt.plot(x2, y2) #No label, so  no legend text 
plt.plot(x3, y3, label='_nolegend_') # Activ no legend text
plt.plot(x4, y4, label='Test 4') 

plt.legend()  # legend with entries from the first and fourth plot

Colored python output in iypthon

For a clear representation of some (verbose) text output from python program, it is nice to have some colors to highlight some (important) results. Just by adding some ANSI coding, you can easily color your text.


print('\x1b[31mRed Text \x1b[0m') 
print('\x1b[32mGreen Text \x1b[0m')

Saving embedded video streams in firefox

Some time you see an embedded video stream in your firefox browser and you want to download it. There are several addons, but yozu can also manage without any additional software.

  1. Enlarge your firefox cache
  2. open the page with the video
  3. clear your browser cache
  4. open a new browser tab and enter
  5. go back to the tab with video and reload the page
  6. refresh the tab with the cache overview and locate the largest file (which should be your video)
  7. copy the shown location to an other browser tab.
  8. by right clicking , you can save the video
← Older Posts Home Newer Posts →