Three moments from earlier this week..
Sprawled under a tree after three hours of hiking with a heavy,
water-filled pack, I look past my feet at six ranges of mountains behind
mountains behind flowers.
From my campsite, I can see the rest of the path of the Appalachian Trail
across the Roan balds, to Big Hump mountain. It seems close enough to
touch, but not this trip. Good to have a goal.
Near sunset, land and sky merge as the mist moves in.
Many people reading this have already suffered me talking to them about Prometheus. In personal conversation, or in the talks I gave at DebConf15 in Heidelberg, the Debian SunCamp in Lloret de Mar, BRMlab in Prague, and even at a talk on a different topic at the RABS in Cluj-Napoca.
Since their public announcement, I have been trying to support the project in the ways I could: by packaging it for Debian, and by spreading the word.
Last week the first ever Prometheus conference took place, so this time I did the opposite thing and I spoke about Debian to Prometheus people: I gave a 5 minutes lightning talk on Debian support for Prometheus.
What blew me away was the response I've got: from this tiny non-talk I prepared in 30 minutes, many people stopped me later to thank me for packaging Prometheus, and for Debian in general. They told me they were using my packages, gave me feedback, and even some RFPs!
At the post-conference beers, I had quite a few interesting discussions about Debian, release processes, library versioning, and culture clashes with upstream. I was expecting some Debian-bashing (we are old-fashioned, slow, etc.), instead I had intelligent and enriching conversations.
To me, this enforces once again my support and commitment to community conferences, where nobody is a VIP and everybody has something to share. It also taught me the value of intersecting different groups, even when there seems to be little in common.
Comment
FOAAS upstream came out with release 1.1.0 earlier last week. Tyler Hunt was kind enough to provide an almost immediate pull request adding support for the extended capabilties. Following yesterday's upload we now have version 1.1.0 of rfoaas on CRAN.
It brings six more accessors: maybe(), blackadder(), horse(), deraadt(), problem(), cocksplat() and too().
As usual, CRANberries provides a diff to the previous CRAN release. Questions, comments etc should go to the GitHub issue tracker. More background information is on the project page as well as on the github repo
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A maintenance release of the RcppCNPy package is now on CRAN.
RcppCNPy provides R with read and write access to NumPy files thanks to the cnpy library by Carl Rogers.
This release just updates a few package internals such as the vignette, the DESCRIPTION and the README.md file as well as under Travis script used for continuous integration.
Changes in version 0.2.5 (2016-08-26)CRANberries also provides a diffstat report for the latest release. As always, feedback is welcome and the best place to start a discussion may be the GitHub issue tickets page.
- Synchronized code with the
cnpyrepository- Updated vignette
- Expanded DESCRIPTION
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
During this year s ESSLLI (European Summer School in Logic, Language and Information) I was teaching a course on Algebraic Specification and Verification with CafeOBJ. Now that the course is over I can relax a bit and enjoy the beauty of the surrounding North Tyrol.
For those who couldn t attend the ESSLLI or the course, here are the course materials:
Once I got CI working on multiple platforms the obvious next step was to be able to aggregate coverage reports across them. This should not be that hard, right? Well I've spent couple of hours on that during last few days.
On Linux and OSX it was pretty much straightforward. Both GCC and Clang do support coverage, so it's just matter of configuring them properly and collect the coverage reports. I've used own solution for that in past and that was really far from working well (somehow I never managed to get coverage fully uploaded to Codecov). Fortunately there exists CMake script called CMake-codecov which does all needed work and works out of the box on GCC and Clang (even on OSX). Well it works on Travis only once you update the compilers and install llvm-cov tool.
The Windows part on AppVeyor was much harder for me. This can be heavily accounted to lack of my experience with Windows and especially development on Windows in past ten years (probably even more). First challenge was to find something what can generate code coverage there.
After lot of googling I've settled down on OpenCppCoverage what seems to be the only free solution I was able to find. The good thing is that it can generate coverage in Cobertura format that Codecov undestands. There are also bad things that I've learned. First of all it's quite hard to integrate this with CTest. There is no support for wrapping test calls in custom commands, so I've misused the memory checks for that purpose. I've written small python script which pretends the valgrind interface and does call OpenCppCoverage in the background.
Now I had around 800 coverage files (one for each test case) and we need to deal with them somehow. The Codeconv command line client doesn't deal wit this out of the box so the obvious choice was to merge them before upload. There even seems to be script doing that, but unfortunately trying that on our coverage data make it nowhere near completion within hour, so that's not really good choice. Second thing I've tried was merging binary coverage in OpenCppCoverage and then exporting to Cobertura format. Obviously Gammu is special project as all I got from this attempt was crashing OpenCppCoverage (it did merge some of the coverages, but it failed in the end without indicating any error).
In the end I've settled down to uploading files in chunks to Codecov. This seems to work quite okay, though is a bit slow, mostly due to way how Codecov bash uploader prepares data to upload (but this will be hopefully fixed soon).
Anyway the goal has been reached, both Windows and Linux code shows in coverage reports.
Filed under: Debian English Gammu 0 comments
Another Armadillo 7.* release -- now at 7.400. We skipped the 7.300.* serie release as it came too soon after our most recent CRAN release. Releasing RcppArmadillo 0.7.400.2.0 now keeps us at the (roughly monthly) cadence which works as a good compromise between getting updates out at Conrad's sometimes frantic pace, while keeping CRAN (and Debian) uploads to about once per month.
So we may continue the pattern of helping Conrad with thorough regression tests by building against all (by now 253 (!!)) CRAN dependencies, but keeping release at the GitHub repo and only uploading to CRAN at most once a month.
Armadillo is a powerful and expressive C++ template library for linear algebra aiming towards a good balance between speed and ease of use with a syntax deliberately close to a Matlab.
The new upstream release adds new more helper functions. Detailed changes in this release relative to the previous CRAN release are as follows:
Changes in RcppArmadillo version 0.7.400.2.0 (2016-08-24)Courtesy of CRANberries, there is a diffstat report. More detailed information is on the RcppArmadillo page. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page.Changes in RcppArmadillo version 0.7.300.1.0 (2016-07-30)
- Upgraded to Armadillo release 7.400.2 (Feral Winter Deluxe)
- added
expmat_sym(),logmat_sympd(),sqrtmat_sympd()- added
.replace()
- Upgraded to Armadillo release 7.300.1
- added
index_min()andindex_max()standalone functions- expanded
.subvec()to acceptsize()arguments- more robust handling of non-square matrices by
lu()
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
I read this tweet a couple of weeks ago:to me, an inclusive security community would focus as much (or at all) on surveillance of women by abusive partners as it does the state kelsey ( ) (@_K_E_L_S_E_Y) August 2, 2016
For centuries man has hunted, he brought the animals to pasture, cultivated fields and sailed the seas without any kind of tool to measure time. Back then, the time was not measured, but only estimated with vague approximation and its pace was enough to dictate the steps of the day and the life of man. Subsequently, for many centuries, hourglasses accompanied the civilization with the slow flow of their sand grains. About hourglasses, Ernst Junger writes in Das Sanduhrbuch 1954 (no English translation): This small mountain, formed by all the moments lost that fell on each other, it could be understood as a comforting sign that the time disappears but does not fade. It grows in depth .
For the philosophers of ancient Greece, the time was just a way to measure how things move in everyday life and in any case there was a clear distinction between quantitative time (Kronos) and qualitative time (Kair s). According to Parmenides, time is guise, because its existence
<Read More [by Fabio Marzocca]>
Long flights and lazy afternoons relaxing from teaching, I tried out another game on my Android device, Deus Ex Go. It is a turn based game in the style of the Deus Ex series (long years ago I was beta tester for the Deus Ex version of LGP). A turn based game where you have to pass through a series of levels, each one consisting of an hexagonal grid with an entry and exit point, and some nasty villains or machines trying to kill you.
Without any explanations given you are thrown into the game and it takes a few iterations until you understand what kind of attacks you are facing, but once you have figured that out, it is a more or less simple game of combination how to manage to get to the exit. I played through the around 50 levels of the story mode and I think it was only in the last five that I once or twice had to actually try and think hard to find a solution.
I found the game quite amusing at the beginning, but soon it became repetitive. But since you can play through the whole story mode in probably one long afternoon, that is not so much of a problem. More a problem is the apparently incredible battery usage of this game. Playing without checking for some time leaves you soon with a near empty battery.
Graphically well done, with more or less interesting gameplay, it still does not stand up to Monument Valley.
After upgrading an Ubuntu 14.04 ("trusty") machine to the latest 16.04
Hardware Enablement
packages, I ran into login problems. I could log into my user account and
see the GNOME desktop for a split second before getting thrown back into the
LightDM login manager.
The solution I found was to install this missing package:
apt install libwayland-egl1-mesa-lts-xenial
/var/log/lightdm/lightdm.log) where I found the following:
DEBUG: Session pid=12743: Running command /usr/sbin/lightdm-session gnome-session --session=gnome
DEBUG: Creating shared data directory /var/lib/lightdm-data/username
DEBUG: Session pid=12743: Logging to .xsession-errors
This told me that the login manager runs the gnome-session command and
gets it to create a session of type gnome. That command line is defined
in /usr/share/xsessions/gnome.desktop (look for Exec=):
[Desktop Entry]
Name=GNOME
Comment=This session logs you into GNOME
Exec=gnome-session --session=gnome
TryExec=gnome-shell
X-LightDM-DesktopName=GNOME
I couldn't see anything unexpected there, but it did point to another log
file (~/.xsession-errors) which contained the following:
Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
init: Le processus gnome-session (GNOME) main (11946) s'est achev avec l' tat 1
init: D connect du bus D-Bus notifi
init: Le processus logrotate main (11831) a t tu par le signal TERM
init: Le processus update-notifier-crash (/var/crash/_usr_bin_unattended-upgrade.0.crash) main (11908) a t tu par le signal TERM
Seaching for French error messages isn't as useful as searching for English
ones, so I took a look at /var/log/syslog and found this:
gnome-session[4134]: WARNING: App 'gnome-shell.desktop' exited with code 127
gnome-session[4134]: WARNING: App 'gnome-shell.desktop' exited with code 127
gnome-session[4134]: WARNING: App 'gnome-shell.desktop' respawning too quickly
gnome-session[4134]: CRITICAL: We failed, but the fail whale is dead. Sorry....
It looks like gnome-session is executing gnome-shell and that this last
command is terminating prematurely. This would explain why gnome-session
exits immediately after login.
gnome-session, I
created a new type of session (GNOME debug) by copying the regular GNOME
session:
cp /usr/share/xsessions/gnome.desktop /usr/share/xsessions/gnome-debug.desktop
and then adding --debug to the command line inside gnome-debug.desktop:
[Desktop Entry]
Name=GNOME debug
Comment=This session logs you into GNOME debug
Exec=gnome-session --debug --session=gnome
TryExec=gnome-shell
X-LightDM-DesktopName=GNOME debug
After restarting LightDM (service lightdm restart), I clicked the GNOME
logo next to the password field and chose GNOME debug before trying to
login again.
This time, I had a lot more information in ~/.xsession-errors:
gnome-session[12878]: DEBUG(+): GsmAutostartApp: starting gnome-shell.desktop: command=/usr/bin/gnome-shell startup-id=10d41f1f5c81914ec61471971137183000000128780000
gnome-session[12878]: DEBUG(+): GsmAutostartApp: started pid:13121
...
/usr/bin/gnome-shell: error while loading shared libraries: libwayland-egl.so.1: cannot open shared object file: No such file or directory
gnome-session[12878]: DEBUG(+): GsmAutostartApp: (pid:13121) done (status:127)
gnome-session[12878]: WARNING: App 'gnome-shell.desktop' exited with code 127
which suggests that gnome-shell won't start because of a missing library.
apt-file update
apt-file search libwayland-egl.so.1
and found that this file is provided by the following packages:
I'm in Pretoria, South Africa at the
H3ABioNet
hackathon
which is developing workflows for Illumina chip genotyping,
imputation, 16S rRNA sequencing, and population structure/association
testing. Currently, I'm working with the imputation stream and we're
using Nextflow to deploy an
IMPUTE-based
imputation workflow with Docker and
NCSA's openstack-based cloud (Nebula)
underneath.
The OpenStack command line clients (nova and cinder) seem to be
pretty usable to
automate bringing up a fleet of VMs
and the cloud-init package which is present in the images makes
configuring the images pretty simple.
Now if I just knew of a better shared object store which was supported
by Nextflow in OpenStack besides mounting an NFS share, things would
be better.
You can follow our progress in our git repo:
[https://github.com/h3abionet/chipimputation]
SOURCE_DATE_EPOCH. As
stated in its man pages:
ENVIRONMENT
[...]
SOURCE_DATE_EPOCH belongs to the specs of reproducible-builds.org. It
is supposed to be either undefined or to contain a decimal number which
tells the seconds since january 1st 1970. If it contains a number, then
it is used as time value to set the default of --modification-date=,
--gpt_disk_guid, and --set_all_file_dates. Startup files and program
options can override the effect of SOURCE_DATE_EPOCH.
Packages reviewed and fixed, and bugs filed
The following packages have become reproducible after being fixed:
< h01ger> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope.html shows these packages were built on amd64:
< h01ger> bd21db708fe91c01ba1c9cb35b9d41a7c9b0db2b 62288 diffoscope_59_all.deb
< h01ger> 366200bf2841136a4c8f8c30bdc87057d59a4cdd 20146 trydiffoscope_59_all.deb
< h01ger> and on i386:
< h01ger> bd21db708fe91c01ba1c9cb35b9d41a7c9b0db2b 62288 diffoscope_59_all.deb
< h01ger> 366200bf2841136a4c8f8c30bdc87057d59a4cdd 20146 trydiffoscope_59_all.deb
< h01ger> and on armhf:
< h01ger> bd21db708fe91c01ba1c9cb35b9d41a7c9b0db2b 62288 diffoscope_59_all.deb
< h01ger> 366200bf2841136a4c8f8c30bdc87057d59a4cdd 20146 trydiffoscope_59_all.deb
And those also match the binaries uploaded by Chris in his diffoscope 59 binary upload to ftp.debian.org, yay! Eating our own dogfood and enjoying it!
tests.reproducible-builds.org
Debian related:
To be clear: for Stretch we recommend that reproducible builds are done in the same build path as the "original" build.
Finally, and just for our future references, when we enabled build path variation on Saturday, August 20th 2016, the numbers for unstable were:
| suite | all | reproducible | unreproducible | ftbfs | depwait | not for this arch | blacklisted |
|---|---|---|---|---|---|---|---|
| unstable/amd64 | 24693 | 21794 (88.2%) | 1753 (7.1%) | 972 (3.9%) | 65 (0.2%) | 95 (0.3%) | 10 (0.0%) |
| unstable/i386 | 24693 | 21182 (85.7%) | 2349 (9.5%) | 972 (3.9%) | 76 (0.3%) | 103 (0.4%) | 10 (0.0%) |
| unstable/armhf | 24693 | 20889 (84.6%) | 2050 (8.3%) | 1126 (4.5%) | 199 (0.8%) | 296 (1.1%) | 129 (0.5%) |
I gave a talk about the early days of Linux at the
jubilee symposium arranged by the University of Helsinki CS
department. Below is an outline of what I meant to speak about, but
the actual talk didn't follow it exactly. You can compare these to the
video once it comes online.
As you may already know, next DebConf will be held at Coll ge de Maisonneuve in Montreal from August 6 to August 12, 2017. We are already thinking about the conference schedule, and the content team is open to suggestions for invited speakers.
Priority will be given to speakers who are not regular DebConf attendees, who are more likely to bring diverse viewpoints to the conference.
Please keep in mind that some speakers may have very busy schedules and need to be booked far in advance. So, we would like to start inviting speakers in the middle of September 2016.
If you would like to suggest a speaker to invite, please follow the procedure described on the Inviting Speakers page of the DebConf wiki.
Over the weekend I've played with continuous integration for Gammu to make it run on more platforms. I had to remember many things from the Windows world on the way and the solution is not yet complete, but the basic build is working, the only problematic part are external dependencies.
First of all we already have Linux builds on Travis CI. These cover compilation with both GCC and Clang compilers, hopefully covering most of the possible problems.
Recently I've added OS X builds on Travis CI, what was pretty much painless and worked out of the box.
The next major architecture to support is Windows. Once I've discovered AppVeyor I thought it might be the way to go. The have free plans for open-source projects (though it has only one parallel build compared to four provided by Travis CI).
As our build system is cross platform based on CMake, it should work pretty much out of the box, right? Well almost, tweaking the basics took some time (unfortunately there is no CMake support on AppVeyor, so you have to script it a bit).
The most painful things on the way:
Filed under: Debian English Gammu 0 comments
Hello dear readers,
It's been ages since I last blogged. Being far less active in Debian
than I've been in the past, I guess this is a logical consequence.
However, I'm still active as you may witness if you read the
debian-boot mailing list : I still consider myself part of the D-I
team and I'm maintaining a few sports-related packages.
Most know what has taken precedence over Debian development, namely
trail and ultra-trail running. And, well, it hasn't decreased, far
from that : I ran about 10 races already this year....6 of them being
above 50km and I ran my favourite 100km moutain race in early July for
the second year in a row.
So, the upcoming week, I'll be trying to reach what is usually
considered as the Grail of ultra-trail runners : the Ultra-Trail du
Mont-Blanc race in Chamonix.
The race is fairly simple : run all around the Mont-Blanc summits, for
a 160km race with a bit less than 10,000 meters positive climb. The
race itself takes place between 800 and 2700 meters (so no "high
mountain") and I expect to complete it (if I succeed) in about 40 hours.
I'm very confident (maybe too much?) as I successfully completed a
much more difficult race last year (only 144km, but over 11,000 meters
positive climb and a much more difficult path...it took me over 50
hours to complete it).
You can follow me on the
live tracking site. The race starts on Friday
August 26th, 18:00 CET DST.
I everything goes well, I have great projects for next year, including
a 100-mile race in Colorado in August (we'll be traveling in USA for
over 3 weeks, peaking with the solar eclipse of August 21st in Kansas
City).
A few weeks ago, I hacked up go-wmata, some golang bindings to the WMATA API. This is super handy if you are in the DC area, and want to interface to the WMATA data.
As a proof of concept, I wrote a yo bot called @WMATA, where it returns the closest station if you Yo it your location. For hilarity, feel free to Yo it from outside DC.
For added fun, and puns, I wrote a dbus proxy for the API as weel, at wmata-dbus, so you can query the next train over dbus. One thought was to make a GNOME Shell extension to tell me when the next train is. I d love help with this (or pointers on how to learn how to do this right).
Executive summary
Since October 2015, I've been running a
FLOSS consulting company,
specialized on Debian, called DEBAMAX.
Longer version
Everything started two years ago. Back then I blogged about one of the
biggest changes in my life: trying to find the right balance between
volunteer work as a Debian Developer, and entrepreneurship as a
Freelance Debian consultant.
Big change because it meant giving up the comfort of the salaried
world, and figuring out whether working this way would be sufficient to earn
a living
I experimented for a while under a simplified status. It comes with a
number of limitations but that s a huge win compared to France s heavy
company-related administrativia. Here s what it looked like,
everything being done online:
;)Next.