Blog

Content before 2026 was migrated and some information might have been lost.

Do not disturb

Published on July 12, 2018.

Photo by Richard Leeming.

Work or contribute with a worldwide distributed team means that you will receive email and messages all day long. Two years ago, I changed the configuration of my email client (Gnome’s Evolution on my laptop and K-9 Mail on my Android mobile phone) to not automatically fetch emails so that the stream of new item on my inbox isn’t continuous to the point of disturb my life because I’m replying one of the items or waiting for the reply of another one.

More ...

R ❤️Python

Published on July 3, 2018.

Photo by Mark Richards.

Anna Krystalli invited me to talk a little bit about reticulate at the Sheffield R Users Group on July 3. From the description of the event

This month we’ve got special guest Raniere Silva visiting all the way from Manchester and we’ll focus the whole session on how R & Python can play nicely together. Whether you are an R developer that uses Python for some of your work or a member of data science team that uses both languages, reticulate can dramatically streamline your workflow!

More ...

Memory

Published on July 2, 2018.

Photo by markheybo.

On Monday, 25 June I attended the funeral celebrating the life of Peter Rankin, the father of a friend, at Preston Minster that you can see at the photo.

Peter was diagnosed with brain cancer in November 2017 and passed away on Sunday 10 June following a six-month battle with a brain tumour. The tribute from the family, when my friend read William Shakespeare’s Peace Maker text, was, in the good sense, hard to describe. The eulogy, by Bishop David Chillingworth, and the tribute, by Councillor Brian Rollo, were inspiring.

More ...

Phone Free

Published on July 1, 2018.

Photo by Robert Nelson.

On Wednesday, 27 June my phone, not the one in the photo, stopped booting. It was turning off when the battery goes under 75%, which is something common when your battery start to get old, because the battery does not provide enough voltage for the phone. Since I have Android Debug Bridge (ADB) enable on my phone I could access the error log:

$ dmesg
<11>[ 1848.823537] init: Warning! Service coloradjust needs a SELinux domain defined; please fix!
<11>[ 1848.828744] init: Unable to write persistent property to temp file /data/property/.temp.sEHuAG errno: 30
<11>[ 1848.836631] init: Unable to write persistent property to temp file /data/property/.temp.IzyHeV errno: 30
<3>[ 1849.194448] msm_qti_pp_get_rms_value_control, back not active to query rms be_idx:3
<6>[ 1849.195315] core_get_license_status: cmdrsp_license_result.result = 0x15 for module 0x1
<3>[ 1849.195387] msm_dolby_dap_param_to_get_control_get, port_id not set, do not query ADM
<3>[ 1849.195585] adm_callback: cmd = 0x1032a returned error = 0x2
<3>[ 1849.195600] adm_callback: ADM get param error = 2, resuming
<11>[ 1849.839796] init: Warning! Service checksdkpath needs a SELinux domain defined; please fix!
<11>[ 1849.870062] octvm: [25038][arg_idx 3]: /system/bin/mcd init 4 
<11>[ 1849.870293] octvm: mount cgroup failed, Permission denied
<36>[ 1849.870414] type=1400 audit(1867.889:404): avc: denied { mounton } for pid=25038 comm="mcd" path="/sys/fs/cgroup" dev="tmpfs" ino=7598 scontext=u:r:mcd:s0 tcontext=u:object_r:tmpfs:s0 tclass=dir permissive=0
<11>[ 1849.870781] init: Unable to write persistent property to temp file /data/property/.temp.nxZrD8 errno: 30
<11>[ 1850.139709] init: untracked pid 25071 killed by signal 9
<3>[ 1850.186173] adm_get_params: get params timed out port_id = 0x0
<3>[ 1850.186195] msm_dolby_dap_param_visualizer_control_get: get parameters failed
<11>[ 1853.194137] init: Warning! Service coloradjust needs a SELinux domain defined; please fix!
<11>[ 1853.197861] init: Unable to write persistent property to temp file /data/property/.temp.DTFdG2 errno: 30
<11>[ 1853.198355] init: Unable to write persistent property to temp file /data/property/.temp.CPVl2d errno: 30
<3>[ 1853.568313] msm_qti_pp_get_rms_value_control, back not active to query rms be_idx:3
<6>[ 1853.569243] core_get_license_status: cmdrsp_license_result.result = 0x15 for module 0x1
<3>[ 1853.569306] msm_dolby_dap_param_to_get_control_get, port_id not set, do not query ADM
<3>[ 1853.569505] adm_callback: cmd = 0x1032a returned error = 0x2
<3>[ 1853.569522] adm_callback: ADM get param error = 2, resuming
<11>[ 1854.203853] init: Warning! Service checksdkpath needs a SELinux domain defined; please fix!
<11>[ 1854.234235] octvm: [25191][arg_idx 3]: /system/bin/mcd init 4 
<11>[ 1854.234445] octvm: mount cgroup failed, Permission denied
<36>[ 1854.234540] type=1400 audit(1872.249:405): avc: denied { mounton } for pid=25191 comm="mcd" path="/sys/fs/cgroup" dev="tmpfs" ino=7598 scontext=u:r:mcd:s0 tcontext=u:object_r:tmpfs:s0 tclass=dir permissive=0
<11>[ 1854.234842] init: Unable to write persistent property to temp file /data/property/.temp.01pQIj errno: 30
<3>[ 1854.566194] adm_get_params: get params timed out port_id = 0x0
<3>[ 1854.566216] msm_dolby_dap_param_visualizer_control_get: get parameters failed
<3>[ 1855.966191] Error: returning -4 value

From the log, we can see that Android is trying to write some data but something is preventing it. After search on the internet for one explanation, I founded Rohith Madhavan’s answer to one question related with Errno 30 - Read only file system on Ask Ubuntu/Stack Exchange that says

More ...

Present Over Perfect

Published on June 30, 2018.

Photo by Aero Icarus.

This week I read Shauna Niequist’s book “Present Over Perfect: Leaving Behind Frantic for a Simpler, More Soulful Way of Living”. It was an interesting reading with short chapters that were full of reflections about priorities that we have in our life.

Small part of the book touch Shauna’s behaviour related with travels, accept every invitation to travel and speak, which was similar to mine at the begin of this year. In the following calendar, the tomato days are the ones where I was travelling (20 of 35 days).

More ...