Skip to main content

Ivan Teoh

Something personal yet public

One day, my task is adding fielsets in z3c.form on Plone site. Most of the examples in Internet are showing the form field interface class is inherited from model.Schema in plone.supermodel. Unfortunately, in my case, the class is inherited from Interface in zope.interface. Luckily, fieldsets mentions z3c.form.group could do the jobs. It solved my problem.

Last night, resolve host error happened to my docker build. This is how it happened.

I was in the office. Docker 1.10.1 is used. I was building docker file based from CentOS 6.6. Half through at yum install step, I decided I close my MacBook (hibernate and not shut down). As it always takes a while to complete this step, and I couldn't wait that day and went home.

At home, when I open my MacBook, the step is still running for a while. I pressed Ctrl+C to terminal the build. And then I type docker-compose build to restart the build again. After then, resolve host error happened when first yum install step is occured. I did many other steps, like removing docker images, docker containers. Non of these worked. It said couldn't resolve host 'mirrorlist.centos.org' or Cannot retrieve repository metadata (repomd.xml) for repository.

After searching for answers from Internet, the one solution that works for me is restarting my MacBook.

A crêpe or crepe is a type of very thin pancake, usually made from wheat flour (crêpes de froment) or buckwheat flour (galettes). The word is of French origin, deriving from the Latin crispa, meaning "curled". While crêpes are often associated with Brittany, a region in the northwest of France, their consumption is widespread in France, Belgium, Quebec and many parts of Europe, North Africa and the Southern Cone of South America. Crêpes are served with a variety of fillings, from the simplest with only sugar to flambéed crêpes Suzette or elaborate savoury galettes.

Crêpe - Wikipedia

Read more...