Whether I m flying or driving, a pilot is always happy to pass a small airport. Here was the Winfield, KS airport (KWLD):
This is a beautiful time of year in Kansas. The freshly-cut wheat fields are still a vibrant yellow. Other crops make a bright green, and colors just pop from the sky. A camera can t do it justice.
They enjoyed the museum, and then Oliver wanted to find something else to do before we returned to the airport for dinner. A little exploring yielded the beautiful and shady Garfield Park, complete with numerous old stone bridges.
Of course, the hit of any visit to Enrique s is their ice cream tacos (sopapillas with ice cream). Here is Oliver polishing off his.
They had both requested sightseeing from the sky on our way back, but both fell asleep so we opted to pass on that this time. Oliver slept through the landing, and I had to wake him up when it was time to go. I always take it as a compliment when a 6-year-old sleeps through a landing!
Most small airports have a bowl of candy setting out somewhere. Jacob and Oliver have become adept at finding them, and I will usually let them talk me into a piece of candy at one of them. Today, after we got back, they were intent at exploring the small gift shop back home, and each bought a little toy helicopter for $1.25. They may have been too tired to enjoy it though.
They ve been in bed for awhile now, and I m still smiling about the day. Time goes fast when you re having fun, and all three of us were. It is fun to see them inheriting my sense of excitement at adventure, and enjoying the world around them as they go.
The lady at the museum asked how we had heard about them, and noticed I drove up in an airport car (most small airports have an old car you can borrow for a couple hours for free if you re a pilot). I told the story briefly, and she said, So you flew out to this small town just to spend some time here? Yep. Wow, that s really neat. I don t think we ve ever had a visitor like you before. Then she turned to the boys and said, You boys are some of the luckiest kids in the world.
And I can t help but feel like the luckiest dad in the world.
It s rare to be in a position to be able to publicly announce you re looking for a new job, but as the opportunity is currently available to me I feel I should take advantage of it. That s especially true given the fact I ll be at DebConf 16 next week and hope to be able to talk to various people who might be hiring (and will, of course, be attending the job fair).
I m coming to the end of my Masters in Legal Science and although it s been fascinating I ve made the decision that I want to return to the world of tech. I like building things too much it seems. There are various people I ve already reached out to, and more that are on my list to contact, but I figure making it more widely known that I m in the market can t hurt with finding the right fit.
wpa_cli blacklist & wpa_cli bssid from owner of devilish laptop.
Ask stakeholders for feedback/commits before the impending
release of check-all-the-things to Debian unstable.
Meet developers of the One^WGNU Ring, discuss C++ library foo.
Contribute some links to an open hardware thread.
Point out the location of the Debian QA SVN repository.
Clear skies at night, twinkling delight.

Island of Ventotene Roman harbour
There once was a Kingdom strongly United, built on the honours of the people of Wessex, of Mercia, Northumbria and East Anglia who knew how to deal with the invasion of the Vikings from the east and of Normans from the south, to come to unify the territory under an umbrella of common intents. Today, however, 48% of them, while keeping solid traditions, still know how to look forward to the future, joining horizons and commercial developments along with the rest of Europe. The remaining 52%, however, look back and can not see anything in front of them if not a desire of isolation, breaking the European dream born on the shores of Ventotene island in 1944 by Altiero Spinelli, Ernesto Rossi and Ursula Hirschmann through the Manifesto for a free and united Europe . An incurable fracture in the country was born in a referendum on 23 June, in which just over half of the population asked to terminate his marriage to the great European family, bringing the UK back by 43 years of history. <Read More [by Fabio Marzocca]>
A while back, I saw a Kickstarter
for one of the most well designed and pretty sleep trackers on the market. I
fell in love with it, and it has stuck with me since.
A few months ago, I finally got my hands on one and started to track my data.
Naturally, I now want to store this new data with the rest of the data I have
on myself in my own databases.
I went in search of an API, but I found that the Sense API hasn't been published
yet, and is being worked on by the team. Here's hoping it'll land soon!
After some subdomain guessing, I hit on api.hello.is.
So, naturally, I went to take a quick look at their Android app and network
traffic, lo and behold, there was a pretty nicely designed API.
This API is clearly an internal API, and as such, it's something that
should not be considered stable. However, I'm OK with a fragile API,
so I've published a quick and dirty API wrapper for the Sense API
to my GitHub..
I've published it because I've found it useful, but I can't promise the world,
(since I'm not a member of the Sense team at Hello!), so here are a few ground
rules of this wrapper:
six to support Python 2.7.
Working with the API:
First, let's go ahead and log in using python -m sense.
$ python -m sense
Sense OAuth Client ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Sense OAuth Client Secret: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Sense email: paultag@gmail.com
Sense password:
Attempting to log into Sense's API
Success!
Attempting to query the Sense API
The humidity is **just right**.
The air quality is **just right**.
The light level is **just right**.
It's **pretty hot** in here.
The noise level is **just right**.
Success!
>>> from sense import Sense
>>> sense = Sense()
>>> sense.devices()
'senses': [ 'id': 'xxxxxxxxxxxxxxxx', 'firmware_version': '11a1', 'last_updated': 1466991060000, 'state': 'NORMAL', 'wifi_info': 'rssi': 0, 'ssid': 'Pretty Fly for a WiFi (2.4 GhZ)', 'condition': 'GOOD', 'last_updated': 1462927722000 , 'color': 'BLACK' ], 'pills': [ 'id': 'xxxxxxxxxxxxxxxx', 'firmware_version': '2', 'last_updated': 1466990339000, 'battery_level': 87, 'color': 'BLUE', 'state': 'NORMAL' ]
>>> values = [x.get("value") for x in sense.room_sensors()["humidity"]][:10]
>>> min(values)
45.73904
>>> max(values)
45.985928
>>>
I've just released version 1.3.0 of Nageru,
my live software video mixer.
Things have been a bit quiet on the Nageru front recently, for two reasons:
First, I've been busy with moving (from Switzerland to Norway) and associated
job change (from Google to MySQL/Oracle). Things are going well, but these
kinds of changes tend to take, well, time and energy.
Second, the highlight of Nageru
1.3.0 is encoding of H.264 streams meant for end users (using x264), not just
the Quick Sync Video streams from earlier versions, which work more as a
near-lossless intermediate format meant for transcoding to something else
later. Like with most things video, hitting such features really hard (I've
been doing literally weeks of continuous stream testing) tends to expose
weaknesses in upstream software.
In particular, I wanted x264 speed control,
where the quality is tuned up and down live as the content dictates. This
is mainly because the content I want to stream this summer (demoscene
competitions) varies from the very simple
to downright ridiculously complex
(as you can see, YouTube just basically gives up and creates gray blocks).
If you have only one static quality setting, you will have the choice between
something that looks like crap for everything, and one that drops frames like
crazy (or, if your encoding software isn't all that, like e.g. using
ffmpeg(1) directly, just gets behind and all your clients' streams just stop)
when the tricky stuff comes. There was an unofficial patch for speed control,
but it was buggy, not suitable for today's hardware and not kept at all up
to date with modern x264 versions. So to get speed control, I had to work
that patch pretty heavily (including making it so that it could work in
Nageru directly instead of requiring a patched x264) and then it exposed a
bug in x264 proper that would cause corruption when changing between some
presets, and I couldn't release 1.3.0 before that fix had at least hit git.
Similarly, debugging this exposed an issue with how I did streaming with
ffmpeg and the MP4 mux (which you need to be able to stream H.264 directly to
HTML5 <video> without any funny and latency-inducing segmenting
business); to know where keyframes started, I needed to flush the mux before
each one, but this messes up interleaving, and if frames were ever dropped right in front of a keyframe
(which they would on the most difficult content, even at speed control's
fastest presets!), the duration field of the frame would be wrong, causing
the timestamps to be wrong and even having pts < dts in some cases.
(VLC has to deal with flushing in exactly the same way, and thus would have
exactly the same issue, although VLC generally doesn't transcode
variable-framerate content so well to begin with, so the heuristics would
be more likely to work. Incidentally, I wrote the VLC code for this flushing
back in the day, to be able to stream WebM for some Debconf.) I cannot take
credit for the ffmpeg/libav fixes (that was all done by Martin Storsj ),
but again, Nageru had to wait for the new API they introduce (that just
signals to the application when a keyframe is about to begin, removing the
need for flushing) to get into git mainline. Hopefully, both fixes will get
into releases soon-ish and from there one make their way into stretch.
Apart from that, there's a bunch of fixes as always. I'm still occasionally
(about once every two weeks of streaming or so) hitting what I believe is
a bug in NVIDIA's proprietary OpenGL drivers, but it's nearly impossible to
debug without some serious help from them, and they haven't been responding
to my inquiries. Every two weeks means that you could be hitting it in
a weekend's worth of streaming, so it would be nice to get it fixed, but
it also means it's really really hard to make a reproducible test case. :-)
But the fact that this is currently the worst stability bug (and that you
can work around it by using e.g. Intel's drivers) also shows that Nageru is
pretty stable these days.
The downside was that most of those were short runs or bike
sessions. My runs are now usually 6.5K, and I'll try to keep to that
for a few weeks, in order to be sure that bone and ligaments have
adjusted, and hopefully keep injuries away.
On the bike front, the only significant thing was that I did as well
the Zwift
Canyon Ultimate Pretzel Mission,
on the last day of the contest (today): 73.5Km in total, 3h:27m. I've
done 60K rides on Zwift before, so the first 60K were OK, but the last
~5K were really hard. Legs felt like logs of wood, I was only
pushing very weak output by the end although I did hydrate and fuel up
during the ride. But, I was proud of the fact that on the last sprint
(about 2K before the end of the ride), I had ~34s, compared to my
all-time best of 29.2s. Was not bad after ~3h20m of riding and 1300
virtual meters of ascent. Strava also tells me I got 31 PRs on various
segments, but that's because I rode on some parts of Watopia that I
never rode before (mostly the reverse ones).
Overall, stats for this week: ~160Km in total (virtual and real,
biking and running), ~9 hours spent doing sports. Still much lower
than the amount of time I was playing computer games, so it's a net
win
Have a nice start of the week everyone, and keep doing what moves you
forward!
apt-file search to someone looking for a binary of kill.
Review wiki RecentChanges.
Alarmingly windy.
Report important Debian bug #828215 against unattended-upgrades.
Clean up some code in check-all-the-things
and work on fixing Debian bug #826089.
Wind glorious wind! Much clearer day, nice view of the mountain.
More check-all-the-things code clean up and
finish up fixing Debian bug #826089.
Twinkling city lights and more wind.
Final code polish during dinner/discussion.
Wandering in the wind amongst the twinklies.
Whitelisted one user in the wiki anti-spam system.
Usual spam reporting.
I think it's time to renew tradition of photography posts on this blog. I will start with pictures taken few weeks ago on Troja bridge, which is the newest bridge over the Vltava river in Prague.
Filed under: Debian English Photography 0 comments
I was reviewing changes for indic-trans as part of GSoC 2016. The
module is an improvisation for our original transliteration module
which was doing its job by substitution.
This new module uses machine learning of some sort and utilizes
Cython, numpy and scipy. Student had kept pre-compiled shared
library in the git tree to make sure it builds and passes the
test. But this was not correct way. I started looking at way to build
these files and remove it from the code base.
There is a cython documentation for distutils but
none for setuptools. Probably it is similar to other Python extension
integration into setuptools, but this was first time for me so after a
bit of searching and trial and error below is what I did.
We need to use Extensions class from setuptools and give it path to
modules we want to build. In my case beamsearch and viterbi are 2
modules. So I added following lines to setup.py
from setuptools.extension import Extension
from Cython.Build import cythonize
extensions = [
Extension(
"indictrans._decode.beamsearch",
[
"indictrans/_decode/beamsearch.pyx"
],
include_dirs=[numpy.get_include()]
),
Extension(
"indictrans._decode.viterbi",
[
"indictrans/_decode/viterbi.pyx"
],
include_dirs=[numpy.get_include()]
)
]
setup(
setup_requires=['pbr'],
pbr=True,
ext_modules=cythonize(extensions)
)
#!/usr/bin/env python
from setuptools import setup
from setuptools.extension import Extension
from Cython.Build import cythonize
import numpy
extensions = [
Extension(
"indictrans._decode.beamsearch",
[
"indictrans/_decode/beamsearch.pyx"
],
include_dirs=[numpy.get_include()]
),
Extension(
"indictrans._decode.viterbi",
[
"indictrans/_decode/viterbi.pyx"
],
include_dirs=[numpy.get_include()]
)
]
setup(
setup_requires=['pbr'],
pbr=True,
ext_modules=cythonize(extensions)
)
python setup.py build_ext
travis:
[ ! -d .testrepository ] \
find .testrepository -name "times.dbm*" -delete
python setup.py build_ext -i
python setup.py test --coverage \
--coverage-package-name=indictrans
flake8 --max-complexity 10 indictrans
This isn't actually answering the question, but it's close. It's also horrible, so whoever adopts
Enrico's script should also
completely rewrite this or burn it along with the stack of pizza boxes and the grand piano.
Input:
#!/bin/zsh
set -e
PATHS=$(tempfile)
NEWKEYS=$(tempfile)
NEWKEYRING=$(tempfile)
FARTHEST_TEN=$(tempfile)
trap "rm -f $ PATHS $ NEWKEYS $ NEWKEYRING $ FARTHEST_TEN " EXIT
keyring=$ 1:-ksp-dc16.gpg
myfpr=$ 2:-2100A32C46F895AF3A08783AF6D3495BB0AE9A02
#keyserver=$ 3:-http://pool.sks-keyservers.net:11371/
# this doesn't handle hokey fetch failures
#(for fpr in $(hkt list --keyring $ keyring --output-format JSON jq '.[].publickey.fpr')
#do
# hokey fetch --keyserver "$ keyserver " --validation-method MatchPrimaryKeyFingerprint "$ (Q)fpr "
#done) >$ NEWKEYS
#
#gpg2 --no-default-keyring --keyring $ NEWKEYRING --import $ NEWKEYS
cp "$ keyring " "$ NEWKEYRING "
gpg2 --no-default-keyring --keyring $ NEWKEYRING --refresh
hkt findpaths --keyring $ NEWKEYRING '' '' '' > $ PATHS
id=$(awk -F, "/$ myfpr )\$/ sub(/\(/,BLANKY,\$1);print \$1; " $ PATHS )
grep -e ",\[$ id ," -e ",$ id \]" $ PATHS sort -n tail -n 10 > $ FARTHEST_TEN
targetids=($ (f)"$ $((sed 's/^.*\[//;s/,.*$//;' $ FARTHEST_TEN ; sed 's/\])$//;s/.*,//;' $ FARTHEST_TEN ) sort -n -u grep -v "^$ id $") " )
targetfprs=($(for i in $ targetids ; do awk -F, "/\($ i ,[^[]/ sub(/\)/,BLANKY,\$2); print \$2 " $ PATHS ; done))
gpg2 --no-default-keyring --keyring $ NEWKEYRING --list-keys $ targetfprs
Output:
pub rsa4096/0x664F1238AA8F138A 2015-07-14 [SC]
Key fingerprint = 3575 0B8F B6EF 95FF 16B8 EBC0 664F 1238 AA8F 138A
uid [ unknown] Daniel Lange <dl.ml1@usrlocal.de>
sub rsa4096/0x03BEE1C11DB1954B 2015-07-14 [E]
pub rsa4096/0xDF23DA3396978EB3 2014-09-05 [SC]
Key fingerprint = BBBC 58B4 5994 CF9C CC56 BCDA DF23 DA33 9697 8EB3
uid [ undef ] Michael Meskes <michael@fam-meskes.de>
uid [ undef ] Michael Meskes <meskes@postgresql.org>
uid [ undef ] Michael Meskes <michael.meskes@credativ.com>
uid [ undef ] Michael Meskes <meskes@debian.org>
sub rsa4096/0x85C3AFFECF0BF9B5 2014-09-05 [E]
sub rsa4096/0x35D857C0BBCB3B25 2014-11-04 [S]
pub rsa4096/0x1E953E27D4311E58 2009-07-12 [SC]
Key fingerprint = C2FE 4BD2 71C1 39B8 6C53 3E46 1E95 3E27 D431 1E58
uid [ undef ] Chris Lamb <chris@chris-lamb.co.uk>
uid [ undef ] Chris Lamb <lamby@gnu.org>
uid [ undef ] Chris Lamb <lamby@debian.org>
sub rsa4096/0x72B3DBA98575B3F2 2009-07-12 [E]
pub rsa4096/0xDF6D76C44D696F6B 2014-08-15 [SC] [expires: 2017-06-03]
Key fingerprint = 1A6F 3E63 9A44 67E8 C347 6525 DF6D 76C4 4D69 6F6B
uid [ unknown] Sven Bartscher <sven.bartscher@weltraumschlangen.de>
uid [ unknown] Sven Bartscher <svenbartscher@yahoo.de>
uid [ unknown] Sven Bartscher <kritzefitz@debian.org>
sub rsa4096/0x9E83B071ED764C3A 2014-08-15 [E]
sub rsa4096/0xAEB25323217028C2 2016-06-14 [S]
pub rsa4096/0x83E33BD7D4DD4CA1 2015-11-12 [SC] [expires: 2017-11-11]
Key fingerprint = 0B5A 33B8 A26D 6010 9C50 9C6C 83E3 3BD7 D4DD 4CA1
uid [ unknown] Jerome Charaoui <jerome@riseup.net>
sub rsa4096/0x6614611FBD6366E7 2015-11-12 [E]
sub rsa4096/0xDB17405204ECB364 2015-11-12 [A] [expires: 2017-11-11]
pub rsa4096/0xF823A2729883C97C 2014-08-26 [SC]
Key fingerprint = 8ED6 C3F8 BAC9 DB7F C130 A870 F823 A272 9883 C97C
uid [ unknown] Lucas Kanashiro <kanashiro@debian.org>
uid [ unknown] Lucas Kanashiro <kanashiro.duarte@gmail.com>
sub rsa4096/0xEE6E5D1A9C2F5EA6 2014-08-26 [E]
pub rsa4096/0x2EC0FFB3B7301B1F 2014-08-29 [SC] [expires: 2017-04-06]
Key fingerprint = 76A2 8E42 C981 1D91 E88F BA5E 2EC0 FFB3 B730 1B1F
uid [ unknown] Niko Tyni <ntyni@debian.org>
uid [ unknown] Niko Tyni <ntyni@cc.helsinki.fi>
uid [ unknown] Niko Tyni <ntyni@iki.fi>
sub rsa4096/0x129086C411868FD0 2014-08-29 [E] [expires: 2017-04-06]
pub rsa4096/0xAA761F51CC10C92A 2016-06-20 [SC] [expires: 2018-06-20]
Key fingerprint = C9DE 2EA8 93EE 4C86 BE73 973A AA76 1F51 CC10 C92A
uid [ unknown] Roger Shimizu <rogershimizu@gmail.com>
sub rsa4096/0x2C2EE1D5DBE7B292 2016-06-20 [E] [expires: 2018-06-20]
sub rsa4096/0x05C7FD79DD03C4BB 2016-06-20 [S] [expires: 2016-09-18]
Note that this completely neglects potential victims who are
unconnected within the KSP set.
systemctl daemon-reload wrt buildd service changes.
Automate updating some extension lists from check-all-the-things.
Reported wishlist Debian bug #828128 against debsources.
Engage lizard mode! Wish for better display technology.
Nice vegetarian food with nice folks and
interesting discussions with interesting locals.
Polish and release check-all-the-things.
Close bugs I forgot to close in the changelog.
Add link to debian-boot on Debootstrap wiki page.
Notice first mockup of a theme for Debian stretch.
Answer a question about package naming on #debian-mentors.
Discuss the future of cross compilation on Debian.
Notice a talk about FOSSology & update a wiki page.
Mention AsteroidOS and MaruOS on the mobile wiki page.
Contemplate how close to the FSDG Debian might be
and approaches to improving that.
Next.