Holger Levsen: 20170816-irssi-timezones
How to change irssi's timezone without restart
Happy birthday to all you lovely Debian people!
For my future self:
<Rhonda> h01ger: /script exec $ENV TZ = 'Europe/Vienna';
How to change irssi's timezone without restart
Happy birthday to all you lovely Debian people!
For my future self:
<Rhonda> h01ger: /script exec $ENV TZ = 'Europe/Vienna';
![]() |
git-annex repository, with
some small edits to link to more source code:
A Debian maintainer's guide to Flatpak.
Source code for the slides
is also available from Collabora's git server.
The next step is to take my proof-of-concept for building
Flatpak runtimes and apps from Debian and SteamOS packages,
flatdeb, get it
a bit more production-ready, and perhaps start publishing some sample
runtimes from a cron job on a Debian or Collabora server. (By the way,
if you downloaded that source right after my talk, please update - I've
now pushed some late changes that were necessary to fix the 3D drivers
for my OpenArena demo.)
I don't think Debian will be going quite as far as
Endless any time soon: as
Cosimo outlined in the talk right before mine, they
deploy their Debian derivative as an immutable base OS with
libOSTree, with all the
user-installable modules above that coming from Flatpak. That model is
certainly an interesting thing to think about for Debian derivatives,
though: at Collabora we work on a lot of appliance-like embedded Debian
derivatives, with a lot of flexibility during development but very limited
state on deployed systems, and Endless' approach seems a perfect fit for
those situations.
[Edited 2017-08-16 to fix the link for the slides, and add links for the
video]

If you also like graphics design, or design in general, have a look at
https://wiki.debian.org/Design and join
the team! Or you can visit the general list of Debian Teams
for many other opportunities to participate in Debian development.
Thanks to everybody who has contributed to develop our beloved operating system
in these 24 years, and happy birthday Debian!
We have been announcing it: we are going to remove Qt 4 during the Buster cycle.
Welcome to the nineth post in the recognisably rancid R randomness series, or R4 for short. Following on the heels of last week's post, we aim to look into the shared libraries created by R.
We love the R build process. It is robust, cross-platform, reliable and rather predicatable. It. Just. Works.
One minor issue, though, which has come up once or twice in the past is the (in)ability to fully control all compilation options. R will always recall CFLAGS, CXXFLAGS, ... etc as used when it was compiled. Which often entails the -g flag for debugging which can seriously inflate the size of the generated object code. And once stored in $ RHOME /etc/Makeconf we cannot on the fly override these values.
But there is always a way. Sometimes even two.
The first is local and can be used via the (personal) ~/.R/Makevars file (about which I will have to say more in another post). But something I have been using quite a bite lately uses the flags for the shared library linker. Given that we can have different code flavours and compilation choices---between C, Fortran and the different C++ standards---one can end up with a few lines. I currently use this which uses -Wl, to pass an the -S (or --strip-debug) option to the linker (and also reiterates the desire for a shared library, presumably superfluous):
SHLIB_CXXLDFLAGS = -Wl,-S -shared
SHLIB_CXX11LDFLAGS = -Wl,-S -shared
SHLIB_CXX14LDFLAGS = -Wl,-S -shared
SHLIB_FCLDFLAGS = -Wl,-S -shared
SHLIB_LDFLAGS = -Wl,-S -shared
Let's consider an example: my most recently uploaded package RProtoBuf. Built under a standard 64-bit Linux setup (Ubuntu 17.04, g++ 6.3) and not using the above, we end up with library containing 12 megabytes (!!) of object code:
edd@brad:~/git/rprotobuf(feature/fewer_warnings)$ ls -lh src/RProtoBuf.so
-rwxr-xr-x 1 edd edd 12M Aug 14 20:22 src/RProtoBuf.so
edd@brad:~/git/rprotobuf(feature/fewer_warnings)$
However, if we use the flags shown above in .R/Makevars, we end up with much less:
edd@brad:~/git/rprotobuf(feature/fewer_warnings)$ ls -lh src/RProtoBuf.so
-rwxr-xr-x 1 edd edd 626K Aug 14 20:29 src/RProtoBuf.so
edd@brad:~/git/rprotobuf(feature/fewer_warnings)$
So we reduced the size from 12mb to 0.6mb, an 18-fold decrease. And the file tool still shows the file as 'not stripped' as it still contains the symbols. Only debugging information was removed.
What reduction in size can one expect, generally speaking? I have seen substantial reductions for C++ code, particularly when using tenmplated code. More old-fashioned C code will be less affected. It seems a little difficult to tell---but this method is my new build default as I continually find rather substantial reductions in size (as I tend to work mostly with C++-based packages).
The second option only occured to me this evening, and complements the first which is after all only applicable locally via the ~/.R/Makevars file. What if we wanted it affect each installation of a package? The following addition to its src/Makevars should do:
strippedLib: $(SHLIB)
if test -e "/usr/bin/strip"; then /usr/bin/strip --strip-debug $(SHLIB); fi
.phony: strippedLib
We declare a new Makefile target strippedLib. But making it dependent on $(SHLIB), we ensure the standard target of this Makefile is built. And by making the target .phony we ensure it will always be executed. And it simply tests for the strip tool, and invokes it on the library after it has been built. Needless to say we get the same reduction is size. And this scheme may even pass muster with CRAN, but I have not yet tried.
Lastly, and acknowledgement. Everything in this post has benefited from discussion with my former colleague Dan Dillon who went as far as setting up tooling in his r-stripper repository. What we have here may be simpler, but it would not have happened with what Dan had put together earlier.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
identify >= 6.9.8.isoinfo's output coming from cdrtools' version
instead of genisoimage's
"packages should build reproducibly" - after 4 years this work of many is in debian-policy now
This post was written roughly 44h ago and now that the fix for #844431 has been merged into the git master branch, I'm publishing it - hoping you'll enjoy this as much as I do!
So today is the last (official) day of DebConf17 and it looks like #844431: "packages should build reproducibly" will be merged into debian-policy today! So I'm super excited, super happy, quite tired and a bit sad (DebConf is ending ) right now!
Four years ago Lunar held a BoF at DebConf13 which started the initiative in Debian. I only got involved in September 2014 with setting up continuous tests, rebuilding each package twice with some variations and then comparing the results using diffoscope, which back then was still called debbindiff and which we renamed as part of our efforts to make Reproducible Builds the norm in Free Software.
Many people have worked on this, and I'm also very happy how visible this has been in our talk here yesterday. You people rock and I'm very thankful and proud to be part of this team. Thank you everyone!
And please understand: we are not 94% done yet (which our reproducibility stats might have made you think), rather more like half done or so. We still need tools and processes to enable anyone to indepently verify that a given binary comes from the sources it is said to be coming, this will involve distributing .buildinfo files and providing user interfaces in APT and elsewhere. And probably also systematic rebuilds by us and other parties. And 6 or 7% of the archive are a lot of packages still, eg in Buster we currently still have 273 unreproducible key packages and for a large part we don't have patches yet. So there is still a lot of work ahead.
This is what was added to debian-policy now:
Reproducibility --------------- Packages should build reproducibly, which for the purposes of this document [#]_ means that given - a version of a source package unpacked at a given path; - a set of versions of installed build dependencies; - a set of environment variable values; - a build architecture; and - a host architecture, repeatedly building the source package for the build architecture on any machine of the host architecture with those versions of the build dependencies installed and exactly those environment variable values set will produce bit-for-bit identical binary packages. It is recommended that packages produce bit-for-bit identical binaries even if most environment variables and build paths are varied. It is intended for this stricter standard to replace the above when it is easier for packages to meet it. .. [#] This is Debian's precisification of the reproducible-builds.org definition _.For now violating this part of policy may result in a severity: normal bug, though I think we should still only file them if we have patches, else it's probably better to just take a note in our notes.git, like we did before the policy change. Finally one last comment: we could do reproducible security updates for Stretch now too, for those 94% of the packages which are reproducible. It just needs to be done by someones and the first step would be publishing those
.buildinfo files from those builds
Hosted Weblate provides also free hosting for free software projects. The hosting requests queue was over one month long, so it's time to process it and include new project.
This time, the newly hosted projects include:
RProtoBuf provides R bindings for the Google Protocol Buffers ("ProtoBuf") data encoding and serialization library used and released by Google, and deployed fairly widely in numerous projects as a language and operating-system agnostic protocol.
A new releases RProtoBuf 0.4.10 just appeared on CRAN. It is a maintenance releases replacing one leftover errorenous use of package= in .Call with the correct PACKAGE= (as requsted by CRAN). It also integrates a small robustification in the deserializer when encountering invalide objects; this was both reported and fixed by Jeffrey Shen.
CRANberries also provides a diff to the previous release. The RProtoBuf page has an older package vignette, a 'quick' overview vignette, a unit test summary vignette, and the pre-print for the JSS paper. Questions, comments etc should go to the GitHub issue tracker off the GitHub repo.Changes in RProtoBuf version 0.4.10 (2017-08-13)
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
This is a difficult announcement to write. The summary is if you use
Obnam you should switch to another backup program in the coming
months.
The first commit to Obnam's current code base is this:
commit 7eaf5a44534ffa7f9c0b9a4e9ee98d312f2fcb14
Author: Lars Wirzenius <liw@iki.fi>
Date: Wed Sep 6 18:35:52 2006 +0300
Initial commit.
It's followed by over 5200 more commits until the latest one, which is
from yesterday. The NEWS file contains 58 releases. There are 20761
lines of Python, 15384 words in the English language manual, with
translations in German and French. The yarn test suite, which is a
kind of a manual, is another 13382 words in English and
pseudo-English. That's a fair bit of code and prose. Not all of it
mine, I've had help from some wonderful people. But most of it mine.
I wrote all of that because backups were fun. It was pleasing to use
my own program to guarantee the safety of my own data. The technical
challenges of implmenting the kind of backup program I wanted were
interesting, and solving interesting problems is a big part of why
I am a programmer.
Obnam has a kind user base. It's not a large user base: the Debian
"popularity contest" service estimates it at around 500. But it's a
user base that is kind and has treated me well. I have tried to
reciprocate.
Unfortunately, I have not had fun while developing Obnam for some time
now. This has changed. A few years ago, I lived in Manchester, UK, and
commuted by train to work. It was a short train ride, about 15
minutes. At times I would sit on the floor with my laptop on my knees,
writing code or the manual. Back then Obnam was a lot of fun. I was
excited, and enthusiastic.
In the past two years or so, I've not been able to feel that
excitement again. My native language, Finnish, has an expression
describing unpleasant tasks: something is as much fun as drinking tar.
That describes Obnam in recent years for me.
Obnam has not turned out well, from a maintainability point of view.
It seems that every time I try to fix something, I break something
else. Usuaully what breaks is speed or memory use: Obnam gets slower
or starts using even more memory.
For several years now I've been working on a new repository format for
Obnam, code names GREEN ALBATROSS. It was meant to solve Obnam's
problems as far as extensibility, performance, and resource use were
concerned. It seems to have failed.
I'm afraid I've had enough. I'm going to retire Obnam as a project and
as a program, and move on to doing something else, so I can feel
excitement and pleasure again.
After some careful thought, I fear that the maintainability problems
of Obnam can realistically only be solved by a complete rewrite from
scratch, and I'm not up to doing that.
If you use Obnam, you should migrate to some other backup solution.
Don't worry, you have until the end of the year. I will be around and
I intend to fix any serious bugs in Obnam; in particular, security
flaws. But you should start looking for a replacement sooner rather
than later.
I will be asking Obnam to be removed from the Debian unstable and
testing branches. The next Debian release (buster, Debian 10) won't
include Obnam.
The Obnam mailing lists are kindly hosted by Daniel Silverstone, and
they will remain, but later this year I will change them to be
moderated. The Obnam git repository will remain. The web site will
remain, but I will add a note that Obnam is no longer maintained.
Other Obnam online resources may disappear.
If you would like to take over the Obnam project, and try to resolve
the various issues, please contact me to discuss that.
Thank you, and may you never need to restore.
Package: file
Version: 1:5.19-2
Severity: important
User: debian-edu@lists.debian.org
Usertags: debian-edu
Conclusion
Overall, I was quite happy that the BoF has been attended by so many people and to see that there is quite "a lobby" in Debian. Let's dive into the work and make Debian 10 the first Debian, that mentions the Remote Desktop in its release notes.
Let's, in fact, release Debian 10 as the first Debian with the official announcement as an operating system for the Remote Desktop (like the Fedora people did already for Fedora 20).
In Canada "consent means the voluntary agreement of the complainant to engage in sexual activity" without abuse or exploitation of "trust, power or authority", coercion or threats.[7] Consent can also be revoked at any moment.[8] There are 3 pillars often included in the description of sexual consent, or "the way we let others know what we're up for, be it a good-night kiss or the moments leading up to sex." They are:Saying "I've decided I won't do laundry anymore" when the other partner is tired, or busy doing things. Is different than saying "I've decided I won't do laundry anymore" when the other partner has a chance to say "why? tell me more" and take part in negotiation. Resources: Relationships Debian is the Universal Operating System. Debian is made and maintained by people. The long term health of debian is a consequence of the long term health of the relationship between Debian contributors. Debian doesn't need to be technically perfect, it needs to be socially healthy. Technical problems can be fixed by a healty community.
- Knowing exactly what and how much I'm agreeing to
- Expressing my intent to participate
- Deciding freely and voluntarily to participate[20]
The Thomas-Kilmann Conflict Mode Instrument: source png.
Motivations
Quick poll:
"Spoons" are a visual representation used as a unit of measure used to quantify how much energy a person has throughout a given day. Each activity requires a given number of spoons, which will only be replaced as the person "recharges" through rest. A person who runs out of spoons has no choice but to rest until their spoons are replenished.
My software ate(inspired by a 1934 poem by William Carlos Williams) Don't be afraid to fail Don't be afraid to fail or drop the ball. I think that anything that has a label attached of "if you don't do it, nobody will", shouldn't fall on anybody's shoulders and should be shared no matter what. Shared or dropped. Share the responsibility for a healthy relationship Don't expect that the more experienced mates will take care of everything. In a project with active people counted by the thousand, it's unlikely that harassment isn't happening. Is anyone writing anti-harassment? Do we have stats? Is having an email address and a CoC giving us a false sense of security?
the files
that where in
your home directory and which
you were probably
needing
for work Forgive me
it was so quick to write
without tests
and it worked so well for me
When you get involved in a new community, such as Debian, find out early where, if that happens, you can find support, understanding, and help to make it stop. If you cannot find any, or if the only thing you can find is people who say "it never happens here", consider whether you really want to be in that community.(from http://www.enricozini.org/blog/2016/debian/you-ll-thank-me-later/)
There are some nice people in the world. I mean nice people, the sort I couldn t describe myself as. People who are friends with everyone, who are somehow never involved in any argument, who seem content to spend their time drawing pictures of bumblebees on flowers that make everyone happy. Those people are great to have around. You want to hold onto them as much as you can. But people only have so much tolerance for jerkiness, and really nice people often have less tolerance than the rest of us. The trouble with not ejecting a jerk whether their shenanigans are deliberate or incidental is that you allow the average jerkiness of the community to rise slightly. The higher it goes, the more likely it is that those really nice people will come around less often, or stop coming around at all. That, in turn, makes the average jerkiness rise even more, which teaches the original jerk that their behavior is acceptable and makes your community more appealing to other jerks. Meanwhile, more people at the nice end of the scale are drifting away.(from https://eev.ee/blog/2016/07/22/on-a-technicality/) Give people freedom If someone tries something in Debian, try to acknowledge and accept their work. You can give feedback on what they are doing, and try not to stand in their way, unless what they are doing is actually hurting you. In that case, try to collaborate, so that you all can get what you need. It's ok if you don't like everything that they are doing. I personally don't care if people tell me I'm good when I do something, I perceive it a bit like "good boy" or "good dog". I rather prefer if people show an interest, say "that looks useful" or "how does it work?" or "what do you need to deploy this?" Acknowledge that I've done something. I don't care if it's especially liked, give me the freedom to keep doing it. Don't give me rewards, give me space and dignity. Rather than feeding my ego, feed by freedom, and feed my possibility to create.
undistract-me package
Today, Saturday 12 August 2017, the annual Debian Developers
and Contributors Conference came to a close.
With over 405 people attending from all over the world,
and 169 events including 89 talks, 61 discussion sessions or BoFs,
6 workshops and 13 other activities,
DebConf17 has been hailed as a success.
Highlights included DebCamp with 117 participants,
the Open Day,*.large types) you get 500Mbps,
for four cores (*.xlarge) you get 750Mbps and
for eight cores (*.2xlarge) you get 1000Mbps.
This is way below our estimate shown above and does not even raise linear with the number of cores.
But all of this does not really matter anyway, as the performance of AWS is the worst of the three providers.
Our second provider, Azure, seems to not publish any real information about network caps at all.
From my own knowledge it is 50MBps (500Mbps) per core for at least the smaller instances.
At least is scales linear with instance size, but is still way below our estimates.
Our third provider, GCP, documents a
simple rule for network caps:
2Gbps per core.
This matches what we estimated.
Now the most important question: does this estimate really work and can we actually fill it.
The answer is not easy.
A slightly synthetic test of a HTTP server with cached static content showed that it can easily reach 7Gbps on a 2GHz Intel Skylake core.
So yes, it gives a good estimate on what network troughput is needed for real world applications.
However we still could easily file pipe that is larger by a factor of three.
I used to think I was a programmer who did "sysadmin-stuff". Nowadays I interact with too many real programmers to believe that.
Or rather I can code/program/develop, but I'm not often as good as I could be. These days I'm getting more consistent with writing tests, and I like it when things are thoroughly planned and developed. But too often if I'm busy, or distracted, I think to myself "Hrm .. compiles? Probably done. Oops. Bug, you say?"
I was going to write about working with golang today. The go language is minimal and quite neat. I like the toolset:
go fmt
go test
Next.