Antoine Beaupr : Switched to bootstrap theme
I finally gave up and drank the cool-aid of the
Bootstrap theme. The main reason was that I noticed the site was
basically unusable on any mobile device, including tablet computers
like the iPad, which are unfortunately very, very common. Phones
wouldn't render the site in a legible way either, unfortunately.
The change is rather drastic, so I figured it was important to mention
it here.
I am not so satisfied pretty exctied with the result: the theme is very basic, if not absent. I actually like that purified form now, and it works
across devices now much better.
But I do feel I just made my blog look like everyone else
that uses Bootstrap. We seem to enter an era where non-graphic
designers (like me) are back to building web pages that all look the
same, not very different, in a way, from the old days of plain HTML,
like the default ikiwiki theme. I did some work to change the look
at least minimally, but the top black navbar is really a killer giveaway
this is a bootstrap theme. Bootstrap does a lot for the typography,
at least when checking the presslabs checklist or the practical
typography checklist, but I still had to change the main body width, which
helped a lot I think.
Anyways, the old
Night City theme is still available for download
and I could still flip it back on here if I need to.
What changed
The new theme keeps the distractions away, but ironically, it's slower
than the previous theme even though there are no images and basically
no colors at all. On my tests, it now loads in about 3.42 seconds on
the "Regular 2G (250Kbps)" simulation of Chromium with 72KB in 12
requests. Whereas my tests with the previous theme were taking 3.25
seconds with 43.5KB in 17 requests. This is due to the Bootstrap CSS,
which takes a whopping 19KB itself, but especially because I now load
JQuery, which takes a whopping 32.8KB! And that is probably
gzip-compressed, as the original is more around 90KB.
But at least the thing is readable on phones and tablets now. Compare:
What changed
The new theme keeps the distractions away, but ironically, it's slower
than the previous theme even though there are no images and basically
no colors at all. On my tests, it now loads in about 3.42 seconds on
the "Regular 2G (250Kbps)" simulation of Chromium with 72KB in 12
requests. Whereas my tests with the previous theme were taking 3.25
seconds with 43.5KB in 17 requests. This is due to the Bootstrap CSS,
which takes a whopping 19KB itself, but especially because I now load
JQuery, which takes a whopping 32.8KB! And that is probably
gzip-compressed, as the original is more around 90KB.
But at least the thing is readable on phones and tablets now. Compare:
Samsung S3, before
Samsung S3, after
I like this: much simpler, purer version on smaller devices. And we
see what counts: the freaking text.
Of course, on tablets, it doesn't fare as well: the top menu gets
wrapped around...
Apple iPad, before
Apple iPad, after
Apparently, the fix would be for me to
"customize the @grid-float-breakpoint variable" in LESS (which
I thought was a pager, but seems to be a CSS preprocessor, graaah).
Still, I think it's better that way, more readable, and less crufty.
How it was done
After doing a thorough evaluation of all the Bootstrap ikiwiki
themes I could find (there are more than 4 at least!), I figured I
prefered the Jak Linux one. It seemed to be better implemented
than the others, cleaner, and I liked the mean black border on
top. Black is cool. Oh, and I liked the subtle footer as well. Subtle
is cool.
Unfortunately, that theme originally required a custom plugin to have
a menu on top, which i thought was silly. So I patched it to make it
work with the sidebar plugin, which turned out to be trivially
simple: just dump the sidebar content, and make the sidebar page have
explicit HTML tags in it that match Bootstrap's required classes. I
also added the regular action links in the top navbar, but that
does overload it quite a bit. I also did some code cleanups and
various other small changes, all of which are available in my
personnal git repo.
What doesn't work
So of course, there are always problems. The first problem is the
extra bandwidth usage. Not sure that can be fixed, other than
switching to the upcoming Bootstrap 4, which is
smaller than Bootstrap 3, bizarrely.
The more annoying problems are weird alignment issues. If the screen
gets two narrow without kicking some collapse rules in place (the iPad
bug above), the navbar rows overflow and look ugly. Even more bizarre,
in some cases the right navbar can just completely disappear, in fact,
that's the only fix I could find: to assign the hidden-xs and
hidden-sm classes to the navbar-right <UL> element. But then it
just goes away, which is pretty darn stupid. Still - I assigned the
classes to a few actions that seemed low priority, both in the theme
and in the sidebar page.
Similarly, the search form at the bottom of the page doesn't seem to
want to fit in the footer properly. No idea why and I can't bother to
figure that one out.
I ended up merging this with the backlinks,
tags and trails navigation items.
Oh, and amazingly enough: comments are simply not rendered at all
right now. Oops. I seemed to have picked the single bootstrap Ikiwiki
theme that does *not* have comments rendering... Aaaargh. For now I
just copy-pasted stuff from the [ramseydsilva][] theme and it looks
pretty ugly, but at least it works.
I ended up theming comments the
same way i did for Night City, which looks pretty good, but is not in sync
with the LESS stuff in Bootstrap.
I also add to add back trails, backlinks and favicon... looks like the Jak theme wasn't made for a blog after all... but that's now fixed!
Another improvement would be to change the font from the canonical
Helvetica to something prettier, like suggested in Practical Typography,
in the font recommendations section, or the presslabs checklist. So far I have settled on Mozilla's Fira font (which means, yes, one set of objects is actually loading from the CDN, sorry). Feedback welcome.
Samsung S3, after
I like this: much simpler, purer version on smaller devices. And we
see what counts: the freaking text.
Of course, on tablets, it doesn't fare as well: the top menu gets
wrapped around...
Apple iPad, before
Apple iPad, after
Apparently, the fix would be for me to
"customize the @grid-float-breakpoint variable" in LESS (which
I thought was a pager, but seems to be a CSS preprocessor, graaah).
Still, I think it's better that way, more readable, and less crufty.
How it was done
After doing a thorough evaluation of all the Bootstrap ikiwiki
themes I could find (there are more than 4 at least!), I figured I
prefered the Jak Linux one. It seemed to be better implemented
than the others, cleaner, and I liked the mean black border on
top. Black is cool. Oh, and I liked the subtle footer as well. Subtle
is cool.
Unfortunately, that theme originally required a custom plugin to have
a menu on top, which i thought was silly. So I patched it to make it
work with the sidebar plugin, which turned out to be trivially
simple: just dump the sidebar content, and make the sidebar page have
explicit HTML tags in it that match Bootstrap's required classes. I
also added the regular action links in the top navbar, but that
does overload it quite a bit. I also did some code cleanups and
various other small changes, all of which are available in my
personnal git repo.
What doesn't work
So of course, there are always problems. The first problem is the
extra bandwidth usage. Not sure that can be fixed, other than
switching to the upcoming Bootstrap 4, which is
smaller than Bootstrap 3, bizarrely.
The more annoying problems are weird alignment issues. If the screen
gets two narrow without kicking some collapse rules in place (the iPad
bug above), the navbar rows overflow and look ugly. Even more bizarre,
in some cases the right navbar can just completely disappear, in fact,
that's the only fix I could find: to assign the hidden-xs and
hidden-sm classes to the navbar-right <UL> element. But then it
just goes away, which is pretty darn stupid. Still - I assigned the
classes to a few actions that seemed low priority, both in the theme
and in the sidebar page.
Similarly, the search form at the bottom of the page doesn't seem to
want to fit in the footer properly. No idea why and I can't bother to
figure that one out.
I ended up merging this with the backlinks,
tags and trails navigation items.
Oh, and amazingly enough: comments are simply not rendered at all
right now. Oops. I seemed to have picked the single bootstrap Ikiwiki
theme that does *not* have comments rendering... Aaaargh. For now I
just copy-pasted stuff from the [ramseydsilva][] theme and it looks
pretty ugly, but at least it works.
I ended up theming comments the
same way i did for Night City, which looks pretty good, but is not in sync
with the LESS stuff in Bootstrap.
I also add to add back trails, backlinks and favicon... looks like the Jak theme wasn't made for a blog after all... but that's now fixed!
Another improvement would be to change the font from the canonical
Helvetica to something prettier, like suggested in Practical Typography,
in the font recommendations section, or the presslabs checklist. So far I have settled on Mozilla's Fira font (which means, yes, one set of objects is actually loading from the CDN, sorry). Feedback welcome.
What happened in the
Todays Debian Jessie's update brings a fix in Akonadi that you certainly want in your system.
I knew it was about this time of the year 10 years ago when my Debian account
was created, but I couldn't remember the exact date until I looked it up
earlier this evening: today :). Rene Engelhard had been my advocate, and Marc
Brockschmidt my AM. Thanks guys!
A lot of time has passed since then, and I've worked in various parts of the
project. I became an application manager almost immediately, and quickly got
into the NM front desk as well, revamping parts of the NM process which had
become pretty bureaucratic (I think we are now, 10 years later, back where we
should be, thanks to almost all of the paperwork being automated, thanks
Enrico!). I've processed 37 NMs, most of them between 2005 and 2008, later I
was only active as front desk and eventually Debian account manager. I've
recently picked up AMing again, which I still find quite refreshing as the AM
will always also learn new things.
Quality Assurance was and is the other big field. Starting by doing QA uploads
of orphaned packages, I attended some QA meetings around Germany, and picked up
maintenance of the DDPO pages, which I still maintain. The link between QA and
NM is the MIA team where I was active for some years until they kindly kicked
me out because I was MIA there myself. I'm glad they are still using some of
the scripts I was writing to automate some things.
My favorite MUA is mutt, of which I became co-maintainer in 2007, and later
maintainer. I'm still listed in the uploaders field, but admittedly I haven't
really done anything there lately.
Also in 2007 I started working at credativ, after having been a research
assistant at the university, which meant making my Debian work professional. Of
course it also meant more real work and less time for the hobby part, but I was
still very active around that time. Later in 2010 I was marrying, and we got
two kids, at which point family was of course much more important, so my Debian
involvement dropped to a minimum. (Mostly lurking on IRC ;)
Being a PostgreSQL consultant at work, it was natural to start looking into the
packaging, so I started submitting patches to postgresql-common in 2011, and
became a co-maintainer in 2012. Since then, I've mostly been working on
PostgreSQL-related packages, of which far too many have my (co-)maintainer
stamp on them. To link the Debian and PostgreSQL worlds together, we started an
external repository (apt.postgresql.org) that contains packages for the
PostgreSQL major releases that Debian doesn't ship. Most of my open source time
at the moment is spent on getting all PostgreSQL packages in shape for Debian
and this repository.
According to minechangelogs, currently 844 changelog entries in Debian mention
my name, or were authored by me. Scrolling back yields memories of packages
that are long gone again from unstable, or I passed on to other maintainers.
There are way too many people in Debian that I enjoy(ed) working with to list
them here, and many of them are my friends. Debian is really the extended
family on the internet. My last DebConf before this year had been in Mar del
Plata - I had met some people at other conferences like FOSDEM, but meeting
(almost) everyone again in Heidelberg was very nice. I even remembered all
basic Mao rules :D.
So, thanks to everyone out there for making Debian such a wonderful place to
be!
Continuing my post series on the tools I use these days in Python, this time I
would like to talk about a library I really like, named
My monthly report covers a large part of what I have been doing in the free software world. I write it for
For the concrete work I did during DebConf, I can only claim two schroot uploads to fix the lack of support of the new overlay filesystem that replaces aufs in the official Debian kernel, and some Distro Tracker work (fixing an issue that some people had when they were logged in via Debian s SSO).
While the numerous discussions I had during DebConf can t be qualified as work , they certainly contribute to build up work plans for the future:
As a Kali developer, I attended multiple sessions related to derivatives (notably the
I've been writing ELF parser for fun using C++ templates to see how much I can simplify. I've been reading bionic loader code enough these days that I already know how it would look like in C and gradually converted into C++ but it's nevertheless fun to have a pet project that kind of grows.
It's been over 2 years since I 
A new version of
I have updated my mega-update for Kobo to the latest firmware 3.17.3. Additionally, I have not built (and tested) updates for both Mark4 hardware (Glo) and Mark6 hardware (GloHD). Please see the 
I attended DebConf 15 last week. After being on semi-vacation from Debian for the last few months, recovering after the end of my second DPL term, it was great to be active again, talk to many people, and go back to doing technical work. Unfortunately, I caught the debbug quite early in the week, so I was not able to make it as intense as I wanted, but it was great nevertheless.
I still managed to do quite a lot: