It has become almost tradition for me, so yes, I'm attending FOSDEM 2016. It's probably the best conference in Europe to meet other free software guys and that was always motivation for me to come - to see people I meet on mailing lists for rest of the year.
This time it will be slightly different for me - I will be giving talk there for first time. Originally I wanted to do lightning talk only, but in the end I got persuaded and it's full length talk now. It will be in the Coding for Language Communities devroom and you might guess from the devroom topic that it will be about Weblate.
Filed under: English phpMyAdmin SUSE Weblate 0 comments
After a mildly ridiculous amount of effort I made a bootable-usb key.
I then layered a bash script on top of a perl script on top of gpg. What could possibly go wrong?
#!/bin/bash
infile=$1
keys=$(gpg --with-colons $infile sed -n 's/^pub//p' cut -f5 -d: )
gpg --homedir $HOME/.caff/gnupghome --import $infile
caff -R -m no "$ keys[*] "
today=$(date +"%Y-%m-%d")
output="$(pwd)/keys-$today.tar"
for key in $ keys[*] ; do
(cd $HOME/.caff/keys/; tar rvf "$output" $today/$key.mail*)
done
The idea is that keys are exported to files on a networked host, the
files are processed on an offline host, and the resulting tarball of
mail messages sneakernetted back to the connected host.
Today I spend some time to go through the lists.debian.org bugreports.
In consequence I created three new lists:
Jacob soon got out string to be seatbelts, too. And, using his copy machine, printed out a picture of a wing to tape to the side of the airplane .
And here is the food court sign Oliver made:
This plane was, according to the boys, scheduled to leave at 9:30. It left a fashionable 2 hours late or so. They told me I would be the pilot, and had me find headphones to be my headset . (I didn t wear my real headset on the grounds that then I wouldn t be able to hear them.) Jacob decided he would be a flight attendant, his grandma would be the co-pilot, and Oliver would be the food court worker. The food court somehow seemed to travel with the plane.
Oliver made up a menu for the food court. It consisted of, and I quote: trail mix, banana, trail mix, half banana, trail mix, trail mix, trail mix . He s already got the limited selection of airport food down pat, I can see.
Jacob said the flight would be from Chicago to Los Angeles, and so it was. Since it was Amtrak Airlines, we were supposed to pretend to fly over the train tracks the whole way.
If it s not Christmas yet, we just invent some fun, eh? Pretty clever.
apt-get install yum yum-utils python-lzma
git clone git://git.openstack.org/openstack/diskimage-builder
virtualenv dib_env
. dib_env/bin/activate
pip install dib-utils
git clone git://git.openstack.org/openstack-infra/project-config
break=after-error \
TMP_DIR=~/tmp \
ELEMENTS_PATH=~/project-config/nodepool/elements \
DIB_DEV_USER_PASSWORD="password" DIB_DEV_USER_PWDLESS_SUDO=1 \
DISTRO=23 \
./bin/disk-image-create -x --no-tmpfs -t vhd \
fedora-minimal vm devuser simple-init \
openstack-repos puppet nodepool-base node-devstack
pip install shade
clouds:
rax:
profile: rackspace
auth:
username: your_rax_username
password: your_rax_password
project_id: your_rax_accountnum
regions:
- IAD
import shade
shade.simple_logging(debug=True)
cloud = shade.openstack_cloud(cloud='rax')
image = cloud.create_image('image-name', filename='image.vhd', wait=True)
nova boot --flavor=2 --image=image-uuid --config-drive 1 test-image
Siri and I are on a journey through India and Nepal,
with the aim of learning about needs of Debian derivatives,
to improve Debian and encourage closer integration.
This week I'll be mostly doing drive-by bug-reporting.
As with last year we start by using the Debian Code Search, to look
for obviously broken patterns such as "system.>./tmp/.*"
Once we find a fun match we examine the code and then report the bugs
we find. Today that was stalin
which runs some fantastic things on startup:
(system "uname -m >/tmp/QobiScheme.tmp")
(system "rm -f /tmp/QobiScheme.tmp"))
We can exploit this like so:
$ ln -s /home/steve/HACK /tmp/QobiScheme.tmp
$ ls -l /home/steve/HACK
ls: cannot access /home/steve/HACK: No such file or directory
Now we run the script:
$ cd /tmp/stalin-0.11/benchmarks
$ ./make-hello
And we see this:
$ ls -l /home/steve/HACK
-rw-r--r-- 1 steve steve 6 Dec 22 08:30 /home/steve/HACK
For future reference the lsat looks horrifically bad
- it writes multiple times to /tmp/lsat1.lsat and although it
tries to detect races I'm not convinced. Something to look at in the future.
Again one week has passed and there has been some progress on phpMyAdmin.
This week the focus was on code cleanup and issue fixing. I've identified several pieces of dead code and removed that from our code base (the biggest removal being no longer used PMA_String class). The codebase is quite old and sometimes it's not easy to identify code which is not really being used, as it still might be referenced from some locations, but without actually invoking it.
On the issue fixing side, I'm really happy from improving user experience with fields marked as binary - so far phpMyAdmin has displayed them as hexadecimal dump in all cases. Now it will display them as text as long as the content is valid utf-8.
Bugs fixed:
Filed under: English phpMyAdmin 0 comments
[click me](foo.mkd)
foo.mkd exists, it is opened in a new ReText tab.
It is also possible to specify names without the extension (just foo) or
relative paths (../foo/bar.mkd).
pip or
setup.py install:
Exec field, it uses just retext now. This fix has been contributed
by Buo-Ren Lin.
setup.py script now installs the application logo into a location
where ReText can find it. Note: this works only for installs into user s
home directory (with --user passed to pip or setup.py install),
installing software globally this way is not recommended anyway.
The Software Freedom Conservancy is currently running a fundraising program in an attempt to raise enough money to continue funding GPL compliance work. If they don't gain enough supporters, the majority of their compliance work will cease. And, since SFC are one of the only groups currently actively involved in performing GPL compliance work, that basically means that there will be nobody working to ensure that users have the rights that copyright holders chose to give them.
What does happiness signify to you, I asked him, if it isn t based on wealth and comfort? Happiness for me is a combination of feeling good about myself and having love, he said. And to feel good about myself, I have to do things that convince me I deserve it. ( ) The point is, even though it s sad to see people being foolish, there s no use giving up. Nothing good can come of giving up. That just means you lose completely, right away.Richard Stallman on the 30th anniversary of the GNU Manifesto. It s amazing to think that a broken printer lead to the creation of the Free Software movement which, many years later, would give me a professional career, an education, and incredible friends around the world. Which reminds me I still keep the sticker Richard personally handed at the end of his first talk in Per , back in August 2003:

GNU & Linux: the dynamic duo.
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR , YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2015-12-21 15:00+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: Title #
#, no-wrap
msgid "I want your input"
msgstr ""
#. type: Plain text
#, no-wrap
msgid "\n"
msgstr ""
#. type: Plain text
#, no-wrap
msgid "\n"
msgstr ""
#. type: Plain text
msgid "You want to share an opinion with me, or raise a question?"
msgstr ""
#. type: Plain text
msgid "Great, please do: I love exchanging opinions and ideas."
msgstr ""
#. type: Plain text
msgid ""
"You can [contact me discretely][]. Please consider, however, to speak in "
"public instead, allowing others to benefit from our exchange."
msgstr ""
#. type: Plain text
msgid ""
"Don't worry if it is interesting to others - the World is big and someone "
"somewhere always cares!"
msgstr ""
#. type: Plain text
msgid "[contact me discretely]:"
msgstr ""
#. type: Title ##
#, no-wrap
msgid "Email - encourages reflection"
msgstr ""
#. type: Plain text
msgid "Post to a public mailinglist."
msgstr ""
#. type: Plain text
msgid ""
"If uncertain that I am subscribed to the list, or if you want my special "
"attention (but think twice if that's really needed!), add my [private "
"mail](mailto:dr@jones.dk) as cc."
msgstr ""
#. type: Title ##
#, no-wrap
msgid "Chat - more casual"
msgstr ""
#. type: Plain text
msgid ""
"I am also [reachable via chat][]. Chat is nice for shorter "
"questions/comments, and when you need to discuss what you want to say at "
"all."
msgstr ""
#. type: Plain text
msgid "[reachable via chat]:"
msgstr ""
#. type: Title ##
#, no-wrap
msgid "Blog - best for reuse"
msgstr ""
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR , YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2015-12-21 15:00+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: Title #
#, no-wrap
msgid "issues handling issues"
msgstr ""
#. type: Plain text
#, no-wrap
msgid "\n"
msgstr ""
#. type: Plain text
#, no-wrap
msgid "\n"
msgstr ""
#. type: Plain text
msgid ""
"I get lots of emails, some of which are "issues": Friends, colleagues, "
"clients and machines tell me about stuff that is broken. and ask for new "
"features."
msgstr ""
#. type: Plain text
msgid "I currently handle issues somewhat like this:"
msgstr ""
#. type: Plain text
#, no-wrap
msgid "[[!graph src="""\n"
msgstr ""
#. type: Plain text
#, no-wrap
msgid ""
"rankdir=LR\n"
"inbox [label="incoming mails"]\n"
"todobox [label="mail threads about issues"]\n"
"issueboxes [label="issue-mails grouped by project" style=dotted]\n"
"solve [label="fix issue"]\n"
"archivebox [label="archived mails"]\n"
"inbox -> todobox\n"
"todobox -> issueboxes [style=dotted]\n"
"todobox -> solve\n"
"todobox -> archivebox\n"
msgstr ""
#. type: Plain text
msgid "FIXME: Describe graf in steps."
msgstr ""
#. type: Plain text
msgid ""
"The idea was to organize issues in queues per project, but organizing emails "
"requires understanding them, and that takes time: Too often I end up "
"skipping that task, leading to weak overview of pending issues."
msgstr ""
#. type: Plain text
msgid "Here's"
msgstr ""
#. type: Plain text
#, no-wrap
msgid ""
"rankdir=LR\n"
"inbox [label="incoming mails"]\n"
"todobox [label="mail threads about issues"]\n"
"new [label="unprocessed issues"]\n"
"open [label="open issues"]\n"
"solve [label="fix issue"]\n"
"inbox -> todobox -> archivebox\n"
"todobox -> new -> open\n"
"open -> solve\n"
"open -> done\n"
msgstr ""
Umm. Somehow I thought this would be easier than learning about
live-build. Probably I was wrong. There are probably many better
tutorials on the web.
Two useful observations: zeroing the key can eliminate mysterious grub
errors, and systemd-nspawn is pretty handy. One thing that should have
been obvious, but wasn't to me is that it's easier to install grub
onto a device outside of any container.
Find device
$ dmesg
Count sectors
# fdisk -l /dev/sdx
Assume that every command after here is dangerous.
Zero it out. This is overkill for a fresh key, but fixed a problem
with reusing a stick that had a previous live distro installed on it.
# dd if=/dev/zero of=/dev/sdx bs=1048576 count=$sectors
Make file system. There are lots of options. I eventually used parted
# parted
(parted) mklabel msdos
(parted) mkpart primary ext2 1 -1
(parted) set 1 boot on
(parted) quit
Make a file system
# mkfs.ext2 /dev/sdx1
# mount /dev/sdx1 /mnt
Install the base system
# debootstrap --variant=minbase jessie /mnt http://httpredir.debian.org/debian/
Install grub (no chroot needed)
# grub-install --boot-directory /mnt/boot /dev/sdx1
Set a root password
# chroot /mnt
# passwd root
# exit
create up fstab
# blkid -p /dev/sdc1 cut -f2 -d' ' > /mnt/etc/fstab
Now edit to fix syntax, tell ext2, etc...
Now switch to system-nspawn, to avoid boring bind mounting, etc..
# systemd-nspawn -b -D /mnt
login to the container, install linux-base, linux-image-amd64, grub-pc
EDIT: fixed block size of dd, based on suggestion of tg.
The pressure of the post-modernism is establishing its bases on our general lack of ability to overcome a number of dualisms that have become ingrained in the modern way of thinking[1]. This is mainly due to the strong influence of past centuries scientific Reductionism , which postulated that any system to be understood had to be reduced to its minimum component elements.
However, a so defined system is a closed system, which does not interact with the surrounding environment and it can exist (not always) only in a reality-isolated laboratory. The logic of Complexity , instead, takes into account the open systems and all the interconnections and influences of the system itself with the world around it, in every physical, social, psychological and symbolic aspect
<Read more >
TeleLaunchTwo A Smaller Wireless Launch Controller
I've built a wireless launch control system for NAR and OROC. Those
are both complex systems with a single controller capable of running
hundreds of pads. And, it's also complicated to build, with each board
hand-made by elves in our Portland facility (aka, my office).
A bunch of people have asked for something simpler, but using the same
AES-secured two-way wireless communications link, so I decided to just
build something and see if we couldn't eventually come up with
something useful. I think if there's enough interest, I can get some
boards built for reasonable money.
Here's a picture of the system; you can see the LCO end in a box
behind the pad end sitting on the bench.
Radio Link
Each end has a 35mW 70cm digital transceiver (so, they run in the
440MHz amateur band). These run at 19200 baud with fancy forward error
correction and AES security to keep the link from accidentally (or
maliciously) firing a rocket at the wrong time. Using a bi-directional
link, we also get igniter continuity and remote arming information at
the LCO end.
The LCO Box
In the LCO box, there's a lipo battery to run the device, so it can be
completely stand-alone. It has three switches and a button -- an
arming switch for each of two channels, a power switch and a firing
button. The lipo can be charged by opening up the box and plugging it
into a USB port.
The Pad Box
The pad box will have some cable glands for the battery and each
firing circuit. On top, it will have two switches, a power switch and
an arming switch. The board has two high-power FETs to drive the
igniters. That should be more reliable than using a relay, while also
allowing the board to tolerate a wider range of voltages -- the pad
box can run on anything from 12V to 24V.
The Box
Unlike the OROC and NAR systems, these boards are both designed to fit
inside a specific box, the Hammond 1554E, and use the mounting
standoffs provided. This box is rated at NEMA 4X, which means it's
fairly weather proof. Of course, I have to cut holes in the box, but I
found some NEMA 4X switches, will use cable glands for the pad box
wiring and can use silicone around the BNC connector. The result
should be pretty robust. I also found a pretty solid-seeming BNC
connector, which hooks around the edge of the board and also clips
on to the board.
Safety Features.
There's an arming switch on both ends of the link, and you can't
fire a rocket without having both ends armed. That provides an extra
measure of safety while working near the pad. The pad switch is a
physical interlock between the power supply and the igniters, so even
if the software is hacked or broken, disarming the box means the
igniters won't fire.
The LCO box beeps constantly when either arming switch is selected,
giving you feedback that the system is ready to fire. And you can see
on any LED whether the pad box is also armed.
What happened in the reproducible
builds effort between December 13th to December 19th:
Infrastructure
Niels Thykier started implementing support for .buildinfo files in dak. A very preliminary commit was made by Ansgar Burchardt to prevent .buildinfo files from being removed from the upload queue.
Toolchain fixes
dh_installinit. Patch by Reiner Herrmann.debian/changelog entry for LXC_GENERATE_DATE.SOURCE_DATE_EPOCH.armhf. (h01ger)
Arch Linux packages in the multilib and community repositories (4,000 more source packages) are also being tested. All of these test results are better analyzed and nicely displayed together with each package. (h01ger)
For Fedora, build jobs can now run in parallel. Two are currently running, now testing reproducibility of 785 source packages from Fedora 23.
mock/1.2.3-1.1 has been uploaded to experimental to better build RPMs. (h01ger)
Work has started on having automatic build node pools to maximize use of armhf build nodes. (Vagrant Cascadian)
diffoscope development
Version 43 has been released on December 15th. It has been dubbed as epic! as it contains many contributions that were written around the summit in Athens.
Baptiste Daroussin found that running diffoscope on some Tar archives could overwrite arbitrary files. This has been fixed by using libarchive instead of Python internal Tar library and adding a sanity check for destination paths. In any cases, until proper sandboxing is implemented, don't run diffosope on unstrusted inputs outside an isolated, throw-away system.
Mike Hommey identified that the CBFS comparator would needlessly waste time scanning big files. It will now not consider any files bigger than 24 MiB 8 MiB more than the largest ROM created by coreboot at this time. An encoding issue related to Zip files has also been fixed. (Lunar)
New comparators have been added: Android dex files (Reiner Herrmann), filesystem images using libguestfs (Reiner Herrmann), icons and JPEG images using libcaca (Chris Lamb), and OS X binaries (Clemens Lang). The comparator for Free Pascal Compilation Unit will now only be used when the unit version matches the compiler one. (Levente Polyak)
A new multi-file HTML output with on-demand loading of long diffs is available through the --html-dir option. On-demand loading requires jQuery which path can be specified through the --jquery option. The diffs can also be simply browsed for non-JavaScript users or when jQuery is not available. (Joachim Breitner)
Portability toward other systems has been improved: old versions of GNU diff are now supported (Mike McQuaid), suggestion of the appropriate locale is now the more generic en_US.UTF-8 (Ed Maste), the --list-tools option can now support multiple systems (Mattia Rizzolo, Levente Polyak, Lunar).
Many internal changes and code clean-ups have been made, paving the way for parallel processing. (Lunar)
Version 44 was released on December 18th fixing an issue affecting .deb lacking a md5sums file introduced in a previous refactoring (Lunar). Support has been added for Mozilla optimized Zip files. (Mike Hommey). The HTML output has been optimized in size (Mike Hommey, Esa Peuha, Lunar), speed (Lunar), and will now properly number lines (Mike Hommey). A message will always be displayed when lines are ignored at the end of a diff (Lunar). For portability and consistency, Python os.walk() function is now used instead of find to perform directory listing. (Lunar)
Documentation update
Package reviews
143 reviews have been removed, 69 added and 22 updated in the previous week.
Chris Lamb reported 12 new FTBFS issues.
News issues identified this week: random_order_in_init_py_generated_by_python-genpy, timestamps_in_copyright_added_by_perl_dist_zilla, random_contents_in_dat_files_generated_by_chasen-dictutils_makemat, timestamps_in_documentation_generated_by_pandoc.
Chris West did some improvements on the scripts used to manage notes in the misc repository.
Misc.
Accounts of the reproducible builds summit in Athens were written by Thomas Klausner from NetBSD and Hans-Christoph Steiner from The Guardian Project.
Some openSUSE developers are working on a hackweek on reproducible builds which was discussed on the opensuse-packaging mailing-list.
For the last week I have been stuck in England. For the vast majority of that time, I've had nothing to do except work on Debian and this blog post documents some of the things I worked on.
Obviously spending a whole week on Debian, there's going to be some packaging involved. The following packages got new versions in unstable this last week:
#debian-live IRC channel. Over the last week we achieved a number of things, possibly the most important being that all the generic live support packages (i.e. live-boot, live-config and live-tools) have now been converted into native packages, have their VCS repositories hosted on Alioth and have seen a good number of patches merged from the BTS and from the old patch system. All future patches will be managed via the BTS for Debian Live, as with other Debian projects.
We've also put effort into getting documentation online again now that the live.debian.net server has been turned off and we now have the live-build documentation and the live-wrapper documentation hosted on the project's Alioth webspace. The live-wrapper user documentation was mostly written this week so may not be amazing.
On the smaller task list for Debian Live, the KGB bots are now present in the channel and reporting on git commits, a number of the more popular URLs from live.debian.net are now being redirected to their new locations (although we've had to recover these URLs from web.archive.org, the list of redirections is certainly not complete) and we've made updates to the wiki pages about how to contribute to the project.
Unfortunately, no one has stepped forwards as a new lead for live-build and so this package has been orphaned. This does not necessarily mean that the package will be removed from Debian any time soon, just that it does not currently have a maintainer. If you're interested in taking over maintainence of live-build, see #808048.
For testing the core live support packages, new live images for stretch have been built using live-wrapper and are available here. There are known issues with the syslinux configuration and these are not isohybrid images.
My other major project this week has been my efforts to form a Debian Metadata team. The Debian Metadata team would produce the frameworks and run the services that make data about Debian available in a number of formats to make the data as accessible as possible and to encourage its use both within Debian and in external projects.
Currently this includes two experimental services: rdf.debian.net and map.debian.net.
We're don't plan to duplicate any of the work done by UDD, but make the data aggregated in UDD more accessible to users and developers. This means publishing that data in JSON/JSONP, KML, RDF, iCalendar and any other format that makes sense. There may be instances where it makes sense to augment the published data with live data, for example mirror availability should probably be live and not just a recent snapshot.
If you're interested in participating in the Debian Metadata team, you can register your interested on bug #808049.
This is not a complete summary of all my activities over the last week, but for those interested, it should give you an idea of what I've been up to.
Finally, for those of you that have been waiting for my write-up on the airgapped GnuPG master key, I decided in the end that my blog was not the right place for this. You can find the guide in two parts: key generation and key export to the YubiKey. I've tried to keep these guides as generic as possible while still being as useful as possible.
While writing these up on the wiki, I've also created pages for OpenPGP and GnuPG and I've almost entirely rewritten the DebianKeyring wiki page. I discovered this awesome guide to OpenPGP concepts which I would recommend to anyone that is new to OpenPGP.
Next.