Review: The City in the Middle of the Night, by Charlie Jane Anders
Publisher:
Tor
Copyright:
February 2019
Printing:
February 2020
ISBN:
1-4668-7113-X
Format:
Kindle
Pages:
366
January is a tidally-locked planet divided between permanent night and
permanent day, an unfortunate destination for a colony starship. Now,
humans cling to a precarious existence along the terminator, huddling in
two wildly different cities and a handful of smaller settlements,
connected by a road through the treacherous cold.
The novel opens with Sophie, a shy university student from the dark side
of the city of Xiosphant. She has an overwhelming crush on Bianca, her
high-class, self-confident roommate and one of the few people in her life
to have ever treated her with compassion and attention. That crush, and
her almost non-existent self-esteem, lead her to take the blame for
Bianca's petty theft, resulting in what should have been a death sentence.
Sophie survives only because she makes first contact with a native
intelligent species of January, one that the humans have been hunting for
food and sport.
Sadly, I think this is enough Anders for me. I've now bounced off two of
her novels, both for structural reasons that I think go deeper than
execution and indicate a fundamental mismatch between what Anders wants to
do as an author and what I'm looking for as a reader.
I'll talk more about what this book is doing in a moment, but I have to
start with Bianca and Sophie. It's difficult for me to express how much I
loathed this relationship and how little I wanted to read about it. It
took me about five pages to peg Bianca as a malignant narcissist and
Sophie's all-consuming crush as dangerous codependency. It took the
entire book for Sophie to figure out how awful Bianca is to her, during
which Bianca goes through the entire abusive partner playbook of
gaslighting, trivializing, contingent affection, jealous rage, and
controlling behavior. And meanwhile Sophie goes back to her again, and
again, and again, and again. If I hadn't been reading this book on a
Kindle, I think it would have physically hit a wall after their
conversation in the junkyard.
This is truly a matter of personal taste and preference. This is not an
unrealistic relationship; this dynamic happens in life all too often. I'm
sure there is someone for whom reading about Sophie's spectacularly poor
choices is affirming or cathartic. I've not personally experienced this
sort of relationship, which doubtless matters.
But having empathy for someone who is making awful and self-destructive
life decisions and trusting someone they should not be trusting and who is
awful to them in every way is difficult work. Sophie is the victim of
Bianca's abuse, but she does so many stupid and ill-conceived things in
support of this twisted relationship that I found it very difficult to not
get angry at her. Meanwhile, Anders writes Sophie as so clearly fragile
and uncertain and devoid of a support network that getting angry at her is
like kicking a puppy. The result for me was spending nearly an entire
book in a deeply unpleasant state of emotional dissonance. I may be
willing to go through that for a close friend, but in a work of fiction
it's draining and awful and entirely not fun.
The other viewpoint character had the opposite problem for me. Mouth
starts the book as a traveling smuggler, the sole survivor of a group of
religious travelers called the Citizens. She's practical, tough, and
guarded. Beneath that, I think the intent was to show her as struggling
to come to terms with the loss of her family and faith community. Her
first goal in the book is to recover a recording of Citizen sacred
scripture to preserve it and to reconnect with her past.
This sounds interesting on the surface, but none of it gelled. Mouth
never felt to me like someone from a faith community. She doesn't act on
Citizen beliefs to any meaningful extent, she rarely talks about them, and
when she does, her attitude is nostalgia without spirituality. When Mouth
isn't pursuing goals that turn out to be meaningless, she aimlessly
meanders through the story. Sophie at least has agency and makes some
important and meaningful decisions. Mouth is just there, even when Anders
does shattering things to her understanding of her past.
Between Sophie and Bianca putting my shoulders up around my ears within
the first few pages of the first chapter and failing to muster any
enthusiasm for Mouth, I said the eight deadly words ("I don't care what
happens to these people") about a hundred pages in and the book never
recovered.
There are parts of the world-building I did enjoy. The alien species that
Sophie bonds with is not stunningly original, but it's a good (and
detailed) take on one of the alternate cognitive and social models that
science fiction has dreamed up. I was comparing the strangeness and
dislocation unfavorably to China Mi ville's Embassytown while I was reading it, but in retrospect Anders's
treatment is more decolonialized. Xiosphant's turn to Circadianism as
their manifestation of order is a nicely understated touch, a believable
political overreaction to the lack of a day/night cycle. That touch is
significantly enhanced by Sophie's time working in a salon whose business
model is to help Xiosphant residents temporarily forget about time. And
what glimmers we got of politics on the colony ship and their echoing
influence on social and political structures were intriguing.
Even with the world-building, though, I want the author to be interested
in and willing to expand the same bits of world-building that I'm engaged
with. Anders didn't seem to be. The reader gets two contrasting cities
along a road, one authoritarian and one libertine, which makes concrete a
metaphor for single-axis political classification. But then Anders does
almost nothing with that setup; it's just the backdrop of petty warlord
politics, and none of the political activism of Bianca's student group
seems to have relevance or theoretical depth. It's a similar shallowness
as the religion of Mouth's Citizens: We get a few fragments of culture and
religion, but without narrative exploration and without engagement from
any of the characters. The way the crew of the Mothership was assembled
seems to have led to a factional and racial caste system based on city of
origin and technical expertise, but I couldn't tell you more than that
because few of the characters seem to care. And so on.
In short, the world-building that I wanted to add up to a coherent
universe that was meaningful to the characters and to the plot seemed to
be little more than window-dressing. Anders tosses in neat ideas, but
they don't add up to anything. They're just background scenery for Bianca
and Sophie's drama.
The one thing that The City in the Middle of the Night does well is
Sophie's nervous but excited embrace of the unknown. It was delightful to
see the places where a typical protagonist would have to overcome a horror
reaction or talk themselves through tradeoffs and where Sophie's reaction
was instead "yes, of course, let's try." It provided an emotional
strength to an extended first-contact exploration scene that made it
liberating and heart-warming without losing the alienness. During that
part of the book (in which, not coincidentally, Bianca does not appear), I
was able to let my guard down and like Sophie for the first time, and I
suspect that was intentional on Anders's part.
But, overall, I think the conflict between Anders's story-telling approach
and my preferences as a reader are mostly irreconcilable. She likes to
write about people who make bad decisions and compound their own problems.
In
one of the chapters of her non-fiction book about writing that's being
serialized on Tor.com she says "when we watch someone do something
unforgivable, we're primed to root for them as they search desperately for
an impossible forgiveness." This is absolutely not true for me; when I
watch a character do something unforgivable, I want to see repudiation
from the protagonists and ideally some clear consequences. When that
doesn't happen, I want to stop reading about them and find something more
enjoyable to do with my time. I certainly don't want to watch a viewpoint
character insist that the person who is doing unforgivable things is the
center of her life.
If your preferences on character and story arc are closer to Anders's than
mine, you may like this book. Certainly lots of people did; it was
nominated for multiple awards and won the Locus Award for Best Science
Fiction Novel. But despite the things it did well, I had a truly
miserable time reading it and am not anxious to repeat the experience.
Rating: 4 out of 10
I'm buying rather too many books at the moment and not reading enough of
them (in part because I got back into Minecraft and in part because I got
a bit stuck on a few difficult books). I think I've managed to get myself
unstuck again, though, and have started catching up on reviews.
2020. It's kind of a lot. And I'm not even that heavily affected.
Katherine Addison The Angel of the Crows (sff)
Marie Brennan A Natural History of Dragons (sff)
Kacen Callender Queen of the Conquered (sff)
Jo Clayton Diadem from the Stars (sff)
Jo Clayton Lamarchos (sff)
Jo Clayton Irsud (sff)
Clifford D. Conner The Tragedy of American Science (nonfiction)
Kate Elliott Unconquerable Sun (sff)
Rory Fanning & Craig Hodges Long Shot (nonfiction)
Michael Harrington Socialism: Past & Future (nonfiction)
Nalo Hopkinson Brown Girl in the Ring (sff)
Kameron Hurley The Stars Are Legion (sff)
N.K. Jemisin Emergency Skin (sff)
T. Kingfisher A Wizard's Guide to Defensive Baking (sff)
T. Kingfisher Nine Goblins (sff)
Michael Lewis The Fifth Risk (nonfiction)
Paul McAuley War of the Maps (sff)
Gretchen McCulloch Because Internet (nonfiction)
Hayao Miyazaki Nausica of the Valley of the Wind (graphic novel)
Annalee Newitz The Future of Another Timeline (sff)
Nick Pettigrew Anti-Social (nonfiction)
Rivers Solomon, et al. The Deep (sff)
Jo Walton Or What You Will (sff)
Erik Olin Wright Stardust to Stardust (nonfiction)
Of these, I've already read and reviewed
The Fifth Risk (an
excellent book).
Stephen was a paladin. Then his god died.
He was a berserker, an unstoppable warrior in the service of his god.
Now, well, he's still a berserker, but going berserk when you don't have a
god to control the results is not a good idea. He and his brothers were
taken in by the Temple of the Rat, where they serve as guards, watch out
for each other, and try to get through each day with an emptiness in their
souls where a god should be.
Stephen had just finished escorting a healer through some of the poorer
parts of town when a woman runs up to him and asks him to hide her. Their
awkward simulated tryst is sufficient to fool the two Motherhood priests
who were after her for picking flowers from the graveyard. Stephen then
walks her home and that would have been the end of it, except that neither
could get the other out of their mind.
Despite first appearances, and despite being set in the same world and
sharing a supporting character, this is not the promised sequel to
Swordheart (which is apparently still
coming). It's an entirely different paladin story. T. Kingfisher (Ursula
Vernon's nom de plume when writing for adults) has a lot of
things to say about paladins! And, apparently, paladin-involved romances.
On the romance front, Kingfisher clearly has a type. The general shape of
the story will be familiar from Swordheart and
The Wonder Engine: An independent and
occasionally self-confident woman with various quirks, a hunky paladin who
is often maddeningly dense, and a lot of worrying on both sides about
whether the other person is truly interested in them and if their personal
liabilities make a relationship a horrible idea. This is not my preferred
romance formula (it provokes the occasional muttered "for the love of god
just talk to each other"), but I liked this iteration of it better than
the previous two, mostly because of Grace.
Grace is a perfumer, a trade she went into by being picked out of a lineup
of orphans by a master perfumer for her sense of smell. One of
Kingfisher's strengths as a writer is showing someone get lost in their
routine day-to-day competence. When mixed with an inherently fascinating
profession, this creates a great reading experience. Grace is also an
abuse survivor, which made the communication difficulties with Stephen
more interesting and subtle. Grace has created space and a life for
herself, and her unwillingness to take risks on changes is a deep part of
her sense of self and personal safety. As her past is slowly revealed,
Kingfisher puts the reader in a position to share Stephen's anger and
protectiveness, but then consistently puts Grace's own choices, coping
mechanisms, and irritated refusal to be protected back into the center of
the story. She has to accept some help as she gets entangled in the
investigation of a highly political staged assassination attempt, but both
that help and the relationship come on her own terms. It's very
well-done.
The plot was enjoyable enough, although it involved a bit too much of
constantly rising stakes and turns for the worst for my taste, and the
ending had a touch of deus ex machina. Like Kingfisher's other
books, though, the delight is in the unexpected details. Stephen knitting
socks. Grace's frustrated obsession with why he smells like gingerbread.
The beautifully practical and respectful relationship between the Temple
of the Rat and Stephen's band of former paladins. (After only two books
in which they play a major role, the Temple of the Rat is already one of
my favorite fantasy religions.) Everything about Bishop Beartongue.
Grace's friend Marguerite. And a truly satisfying ending.
The best part of this book, though, is the way Grace is shown as a
complete character in a way that even most books with well-rounded
characterization don't manage. Some things she does make the reader's
heart ache because of the hints they provide about her past, but they're
also wise and effective safety mechanisms for her. Kingfisher gives her
space to be competent and prickly and absent-minded. She has a complete
life: friends, work, goals, habits, and little rituals. Grace meets
someone and falls in love, but one can readily imagine her not falling in
love and going on with her life and that result wouldn't be tragic. In
short, she feels like a grown adult who has made her own peace with where
she came from and what she is doing. The book provides her an opportunity
for more happiness and more closure without undermining her independence.
I rarely see this in a novel, and even more rarely done this well.
If you haven't read any of Kingfisher's books and are in the mood for
faux-medieval city romance involving a perfumer and a bit of political
skulduggery, this is a great place to start. If you liked
Swordheart, you'll probably like Paladin's Grace; like me,
you may even like it a bit more. Recommended, particularly if you want
something light and heart-warming.
Rating: 8 out of 10
A new minor release of the anytime package arrived on CRAN overnight. This is the nineteenth release, and it comes just over six months after the previous release giving further indicating that we appear to have reached a nice level of stability.
anytime is a very focused package aiming to do just one thing really well: to convert anything in integer, numeric, character, factor, ordered, format to either POSIXct or Date objects and to do so without requiring a format string. See the anytime page, or the GitHub README.md for a few examples.
This release mostly plays games with CRAN. Given the lack of specification for setups on their end, reproducing test failures remains, to put it mildly, somewhat challenging . So we eventually gave up and weaponed up once more and now explicitly test for the one distribution where tests failed (when they clearly passed everywhere else). With that we now have three new logical predicates for various Linux distribution flavours, and if that dreaded one is seen in one test file the test is skipped. And with that we now score twelve out of twelve OKs. This being a game of cat and mouse, I am sure someone somewhere will soon invent a new test
The full list of changes follows.
Changes in anytime version 0.3.8 (2020-07-23)
A small utility function was added to detect the Linux distribution used in order to fine-tune tests once more.
At DebConf 17 in Montreal, I gave a talk about Ayatana Indicators [1] and the project's goal to continue the by then already dropped out of maintenance Ubuntu Indicators in a separate upstream project, detached from Ubuntu and its Ubuntu'isms.
Stalling
The whole Ayatana Indicators project received a bit of a show stopper by the fact that the IDO (Indicator Display Object) rendering was not working in vanilla GTK-3 without a certain patch [2] that only Ubuntu has in their GTK-3 package. Addressing GTK developers upstream some years back (after GTK 3.22 had already gone into long term maintenance mode) and asking for a late patch acceptance did not work out (as already assumed). Ayatana Indicators stalled at a level of 90% actually working fine, but those nice and shiny special widgets, like the calendar widget, the audio volume slider widgets, switch widgets, etc. could not be rendered appropriately in GTK based desktop environments (e.g. via MATE Indicator Applet) on other distros than Ubuntu.
I never really had the guts to sit down without a defined ending and find a patch / solution to this nasty problem. Ayatana Indicators stalled as a whole. I kept it alive and defended its code base against various GLib and what-not deprecations and kept it in Debian, but the software was actually partially broken / dysfunctional.
Taking the Dog for a Walk and then It Became all Light+Love
Several days back, I received a mail from Robert Tari [3]. I was outside on a hike with our dog and thought, ah well, let's check emails... I couldn't believe what I read then, 15 seconds later. I could in fact, hardly breathe...
I have known Robert from earlier email exchanges. Robert maintains various "little" upstream projects, like e.g. Caja Rename, Odio, Unity Mail, etc. that I have looked into earlier regarding Debian packaging. Robert is also a Manjaro contributor and he has been working on bringing Ayatana Indicators to Manjaro MATE. In the early days, without knowing Robert, I even forked one of his projects (indicator-notification) and turned it into an Ayatana Indicator.
Robert and I also exchanged some emails about Ayatana Indicators already a couple of weeks ago. I got the sense of him maybe being up to something already then. Oh, yeah!!!
It turned out that Robert and I share the same "love" for the Ubuntu Indicators concept [4]. From his email, it became clear that Robert had spent the last 1-2 weeks drowned in the Ayatana IDO and libayatana-indicator code and worked him self through the bowels of it in order to understand the code concept of Indicators to its very depth.
When emerging back from his journey, he presented me (or rather: the world) a patch [5] against libayatana-indicator that makes it possible to render IDO objects even if a vanilla GTK-3 is installed on the system. This patch is a game changer for Indicator lovers.
When Robert sent me his mail pointing me to this patch, I think, over the past five years, I have never felt more excited (except from the exact moment of getting married to my wife two-to-three years ago) than during that moment when my brain tried to process his email. "Like a kid on Christmas Eve...", Robert wrote in one of his later mails to me. Indeed, like a "kid on Christmas Eve", Robert.
Try It Out
As a proof of all this to the Debian people, I have just done the first release of ayatana-indicator-datetime and uploaded it to Debian's NEW queue. Robert is doing the same for Manjaro. The Ayatana Indicator Sound will follow after my vacation.
For fancy widget rendering in Ayatana Indicator's system indicators, make sure you have libayatana-indicator 0.7.0 or newer installed on your system.
Credits
One of the biggest thanks ever I send herewith to Robert Tari! Robert is now co-maintainer of Ayatana Indicators. Welcome! Now, there is finally a team of active contributors. This is so delightful!!!
References
Marks and mark rings in GNU Emacs
I recently attempted to answer the question of whether
experienced Emacs users should consider partially or fully disabling Transient
Mark mode, which is (and should be) the default in modern GNU Emacs.
That blog post was meant to be as information-dense as I could make it, but
now I d like to describe the experience I have been having after switching to
my custom pseudo-Transient Mark mode, which is labelled mitigation #2 in my
older post.
In summary: I feel like I ve uncovered a whole editing paradigm lying just
beneath the surface of the editor I ve already been using for years. That is
cool and enjoyable in itself, but I think it s also helped me understand other
design decisions about the basics of the Emacs UI better than before in
particular, the ideas behind how Emacs chooses where to display buffers, which
were very frustrating to me in the past. I am now regularly using relatively
obscure commands like C-x 4 C-o. I see it! It all makes sense
now!
I would encourage everyone who has never used Emacs without Transient Mark
mode to try turning it off for a while, either fully or partially, just to see
what you can learn. It s fascinating how it can come to seem more convenient
and natural to pop the mark just to go back to the end of the current line
after fixing up something earlier in the line, even though doing so requires
pressing two modified keys instead of just C-e.
Eshell
I was amused to learn some years ago that someone was trying to make Emacs
work as an X11 window manager. I was amazed
and impressed to learn, more recently, that the project is still going and a
fair number of people are using it. Kudos! I suspect that the basic
motivation for such projects is that Emacs is a virtual Lisp machine, and it
has a certain way of managing visible windows, and people would like to be
able to bring both of those to their X11 window management.
However, I am beginning to suspect that the intrinsic properties of Emacs
buffers are tightly connected to the ways in which Emacs manages visible
windows, and the intrinsic properties of Emacs buffers are at least as
fundamental as its status as a virtual Lisp machine. Thus I am not convinced
by the idea of trying to use Emacs ways of handling visible windows to handle
windows which do not contain Emacs buffers. (but it s certainly nice to learn
it s working out for others)
The more general point is this. Emacs buffers are as fundamental to Emacs as
anything else is, so it seems unlikely to be particularly fruitful to move
something typically done outside of Emacs into Emacs, unless that activity
fits naturally into an Emacs buffer or buffers. Being suited to run on a
virtual Lisp machine is not enough.
What could be more suited to an Emacs buffer, however, than a typical Unix
command shell session? By this I mean things like running commands which
produce text output, and piping this output between commands and into and out
of files. Typically the commands one enters are sort of like tiny programs in
themselves, even if there are no pipes involved, because you have to spend
time determining just what options to pass to achieve what you want. It
is great to have all your input and output available as ordinary buffer text,
navigable just like all your other Emacs buffers.
Full screen text user interfaces, like top(1), are not the sort of thing I
have in mind here. These are suited to terminal emulators, and an Emacs
buffer makes a poor terminal emulator what you end up with is a sort of
terminal emulator emulator. Emacs buffers and terminal emulators are just
different things.
These sorts of thoughts lead one to Eshell, the Emacs Shell. Quoting from its
documentation:
The shell s role is to make [system] functionality accessible to the
user in an unformed state. Very roughly, it associates kernel
functionality with textual commands, allowing the user to interact
with the operating system via linguistic constructs. Process
invocation is perhaps the most significant form this takes, using
the kernel s fork' andexec functions.
Emacs is a user application, but it does make the
functionality of the kernel accessible through an interpreted
language namely, Lisp. For that reason, there is little
preventing Emacs from serving the same role as a modern shell. It
too can manipulate the kernel in an unpredetermined way to cause
system changes. All it s missing is the shell-ish linguistic
model.
Eshell has been working very well for me for the past month or so, for, at
least, Debian packaging work, which is very command shell-oriented (think
tools like dch(1)).
The other respects in which Eshell is tightly integrated with the rest of
Emacs are icing on the cake. In particular, Eshell can transparently operate
on remote hosts, using TRAMP. So when I need to execute commands on Debian s
ftp-master server to process package removal requests, I just cd
/ssh:fasolo: in Eshell. Emacs takes care of disconnecting and connecting to
the server when needed there is no need to maintain a fragile SSH
connection and a shell process (or anything else) running on the remote end.
Or I can cd /ssh:athena\ sudo:root@athena: to run commands as root on the
webserver hosting this blog, and, again, the text of the session survives on
my laptop, and may be continued at my leisure, no matter whether athena
reboots, or I shut my laptop and open it up again the next morning. And of
course you can easily edit files on the remote host.
Like each month, here comes a report about the work of paid contributors to Debian LTS.
Individual reports
In June, 202.00 work hours have been dispatched among 12 paid contributors. Their reports are available:
Abhijith PA did 8h (out of 14h assigned), thus carrying over 6h to July.
Evolution of the situation
June was the last month of Jessie LTS which ended on 2020-06-20. If you still need to run
Jessie somewhere, please read the
post
about keeping Debian 8 Jessie alive for longer than 5 years.
So, as (Jessie) LTS is dead, long live the new LTS, Stretch LTS! Stretch has received its
last point release, so regular
LTS operations can now continue.
Accompanying this, for the first time, we have prepared a small
survey about our users
and contributors, who they are and why they are using LTS. Filling out the survey should take
less than 10 minutes. We would really appreciate if you could participate in the
survey online!
On July 27th 2020 we will close the survey, so please don t hesitate and participate now! After that, there will be a followup with the results.
The security tracker for Stretch LTS currently lists 29 packages with a known CVE and the dla-needed.txt file has 44 packages needing an update in Stretch LTS.
Thanks to our sponsors
New sponsors are in bold. We welcome CoreFiling this month!
Joys of sshfs slave mode.
When I want to have parts of my source tree on remote, I use sshfs slave mode, combined with emacs tramp things look very much integrated.
sshfs interface only has obnoxious -o slave option which makes it talk to stdin/stdout, which needs to be connected to sftp-server from the local host. Using dpipe from vde2 seems to be a popular method to run the tool.
Something like:
dpipe /usr/lib/openssh/sftp-server = ssh hostname sshfs :/directory/to/be/shared ~/mnt/src -o slave
I wish I can limit the visibility from sftp-server but maybe that's okay.
We encourage our community to celebrate around the world the 27th Debian
anniversary with organized DebianDay events. This year due to the COVID-19
pandemic we cannot organize in-person events, so we ask instead that contributors,
developers, teams, groups, maintainers, and users promote The Debian Project and Debian
activities online on August 16th (and/or 15th).
Communities can organize a full schedule of online activities throughout the day.
These activities can include talks, workshops, active participation with
contributions such as translations assistance or editing, debates, BoFs, and
all of this in your local language using tools such as Jitsi for capturing
audio and video from presenters for later streaming to YouTube.
If you are not aware of any local community organizing a full event or you don't
want to join one, you can solo design your own activity using OBS and
stream it to YouTube. You can watch an OBS tutorial here.
Don't forget to record your activity as it will be a nice idea to upload it
to Peertube later.
Please add your event/activity on the DebianDay wiki page and let us know about
and advertise it on Debian micronews. To share it, you have several options:
Follow the steps listed here for Debian Developers.
Contact us using IRC in channel #debian-publicity on the OFTC network, and ask us there.
Send a mail to debian-publicity@lists.debian.org
and ask for your item to be included in micronews. This is a publicly archived list.
I had a draft of this article for about two months, but never really managed to polish and finalize it, partially due to some nasty hacks needed down the road. Thankfully, one of my wishes was heard and I had now the chance to revisit the post and try a few things out. Sadly, my wish was granted only partially and the result is still not beautiful, but read yourself ;-)
UPDATE: I've published a follow up post on building documentation for Ansible Collections using antsibull, as my wish was now fully granted.
As part of my day job, I am maintaining the Foreman Ansible Modules - a collection of modules to interact with Foreman and its plugins (most notably Katello). We've been maintaining this collection (as in set of modules) since 2017, so much longer than collections (as in Ansible Collections) existed, but the introduction of Ansible Collections allowed us to provide a much easier and supported way to distribute the modules to our users.
Now users usually want two things: features and documentation. Features are easy, we already have plenty of them. But documentation was a bit cumbersome: we had documentation inside the modules, so you could read it via ansible-doc on the command line if you had the collection installed, but we wanted to provide online readable and versioned documentation too - something the users are used to from the official Ansible documentation.
Building HTML from Ansible modules
Ansible modules contain documentation in form of YAML blocks documenting the parameters, examples and return values of the module. The Ansible documentation site is built using Sphinx from reStructuredText. As the modules don't contain reStructuredText, Ansible hashad a tool to generate it from the documentation YAML: build-ansible.py document-plugins. The tool and the accompanying libraries are not part of the Ansible distribution - they just live in the hacking directory. To run them we need a git checkout of Ansible and source hacking/env-setup to set PYTHONPATH and a few other variables correctly for Ansible to run directly from that checkout.
It would be nice if that'd be a feature of ansible-doc, but while it isn't, we need to have a full Ansible git checkout to be able to continue.The tool has been recently split out into an own repository/distribution: antsibull. However it was also a bit redesigned to be easier to use (good!), and my hack to abuse it to build documentation for out-of-tree modules doesn't work anymore (bad!). There is an issue open for collections support, so I hope to be able to switch to antsibull soon.
Anyways, back to the original hack.
As we're using documentation fragments, we need to tell the tool to look for these, because otherwise we'd get errors about not found fragments.
We're passing ANSIBLE_COLLECTIONS_PATHS so that the tool can find the correct, namespaced documentation fragments there.
We also need to provide --module-dir pointing at the actual modules we want to build documentation for.
Ideally, when antsibull supports collections, this will become antsibull-docs collection without any need to have an Ansible checkout, sourcing env-setup or pass tons of paths.
Until then we have a Makefile that clones Ansible, runs the above command and then calls Sphinx (which provides a nice Makefile for building) to generate HTML from the reStructuredText.
You can find our slightly modified templates and themes in our git repository in the docs directory.
Publishing HTML documentation for Ansible Modules
Now that we have a way to build the documentation, let's also automate publishing, because nothing is worse than out-of-date documentation!
We're using GitHub and GitHub Actions for that, but you can achieve the same with GitLab, TravisCI or Jenkins.
First, we need a trigger. As we want always up-to-date documentation for the main branch where all the development happens and also documentation for all stable releases that are tagged (we use vX.Y.Z for the tags), we can do something like this:
Now that we have a trigger, we define the job steps that get executed:
steps:-name:Check out the codeuses:actions/checkout@v2-name:Set up Pythonuses:actions/setup-python@v2with:python-version:"3.7"-name:Install dependenciesrun:make doc-setup-name:Build docsrun:make doc
At this point we will have the docs built by make doc in the docs/_build/html directory, but not published anywhere yet.
As we're using GitHub anyways, we can also use GitHub Pages to host the result.
Configure git to have a proper author name and email, as otherwise you get ugly history and maybe even failing commits
Fetch all branch names, as the checkout action by default doesn't do this.
Setup Python, Sphinx, Ansible etc.
Build the documentation as described above.
Switch to the gh-pages branch from the commit that triggered the workflow.
Remove any existing documentation for this tag/branch ($GITHUB_REF contains the name which triggered the workflow) if it exists already.
Move the previously built documentation from the Sphinx output directory to a directory named after the current target.
Generate a simple index of all available documentation versions.
Commit all changes, but don't fail if there is nothing to commit.
Push to the gh-pages branch which will trigger a GitHub Pages deployment.
Pretty sure this won't win any beauty contest for scripting and automation, but it gets the job done and nobody on the team has to remember to update the documentation anymore.
You can see the results on theforeman.org or directly on GitHub.
Azure Kubernetes Service provides a nice way to set up Kubernetes
cluster in the cloud. It s quite practical as AKS is setup by default
with a rich monitoring and reporting environment. By default, all
container logs are collected, CPU and disk data are gathered.
I used AKS to setup a cluster for my first client as a
freelance. Everything was nice until my client asked me why logs
collection was as expensive as the computer resources.
Ouch
My first reflex was to reduce the amount of logs produced by all our
containers, i.e. start logging at warn level instead of info
level. This reduced the amount of logs quite a lot.
But this did not reduce the cost of collecting logs, which looks like
to a be a common issue.
Thanks to the documentation provided by Microsoft, I was able to find
that ContainerInventory data table was responsible of more than 60%
of our logging costs.
What is ContainerInventory ? It s a facility to monitor the content
of all environment variables from all containers.
Wait What ?
Should we be worried about our database credentials which are, legacy
oblige, stored in environment variables ?
Unfortunately, the query shown below confirmed that, yes, we should:
the logs aggregated by Azure contains the database credentials of my
client.
ContainerInventory
where TimeGenerated > ago(1h)
Having credentials collected in logs is lackluster from a security
point of view.
And we don t need it because our environment variables do not change.
Well, it s now time to fix these issues.
We re going to:
disable the collection of environment variables in Azure, which
will reduce cost and plug the potential credential leak
renew all DB credentials, because the previous credentials can be
considered as compromised (The renewal of our DB passwords is quite
easy with the script I provided to my client)
pass credentials with files instead of environment variables.
In summary, the service provided by Azure is still nice, but beware of
the default configuration which may contain surprises.
I m a freelance, available for hire. The https://code-straight.fr site
describes how I can help your projects.
All the best
Sorry for not being on blog for sometime, the last few months have been brutal. While I am externally ok, because of the lockdown I sensed major hearing loss. First, I thought it may be a hallucination or something but as it persisted for days, I got myself checked and found out that I got 80% hearing loss in my right ear. How and why I don t know. Is this NIHL or some other kind of hearing loss is yet to be ascertained. I do live what is and used to be one of the busiest roads in the city, now for last few months not so much. On top of it, you have various other noises.
Tinnitus
I also experienced Tinnitus which again I perceived to be a hallucination but found it s not. I have no clue if my eiplepsy has anything to do with hearing loss or both are different. I did discover that while today we know that something like Tinnitus exists, just 10-15 years back, people might mistake it for madness. In a way it is madness because you are constantly hearing sound, music etc. 24 7 , that is enough to drive anybody mad.
During this brief period, did learn what an Otoscope is . I did get audiometry tests done but need to get at least a second or if possible also a third opinion but those will have to wait as the audio clinics are about 8-10 kms. away. In the open-close-open-close environment just makes it impossible to figure out the time, date and get it done. After that is done then probably get a hearing device, probably a Siemens Signia hearing aid. The hearing aids are damn expensive, almost 50k per piece and they probably have a lifetime of about 5-6 years, so it s a bit of a expensive proposition. I also need a second or/and third opinion on the audiometry profile so I know things are correct. All of these things are gonna take time.
Pandemic Situation in India and Testing
Coincidentally, was talking to couple of people about this. It is sad to see that we have the third highest number of covid cases at 1/10th the tests we are doing vis-a-vis U.S.A. According to statistical site ourworldindata , we seem to be testing 0.22 per thousand people compared to 2.28 people per thousand done by United States. Sadly it doesn t give the breakup of the tests, from what I read the PCR tests are better than the antibody tests, a primer shares the difference between the two tests. IIRC, the antibody tests are far cheaper than the swab tests but swab tests are far more accurate as it looks for the virus s genetic material (RNA) . Anyways coming to the numbers, U.S. has a population of roughly 35 crores taking a little bit liberty from numbers given at popclock . India meanwhile has 135 crore or almost four times the population of U.S. and the amount of testing done is 1/10th as shared above. Just goes to share where the GOI priorities lie . We are running out of beds, ventilators and whatever else there is. Whatever resources are there are being used for covid patients and they are being charged a bomb. I have couple of hospitals near my place and the cost of a bed in an isolation ward is upward of INR 100k and if you need a ventilator then add another 50k . And in moment of rarity, the differences between charges of private and public are zero. Meaning there is immense profiteering happening it seems in the medical world. Heck, even the Govt. is on the act where they are charging 18% GST on sanitizers. If this is not looting then I dunno what is.
Example of Medical Bills people have to pay.
China, Nepal & Diplomacy
While everybody today knows how China has intruded and captured quite a part of Ladakh, this wasn t the case when they started in April. That time Ajai Shukla had shared this with the top defence personnel but nothing came of it. Then on May 30th he broke/shared the news with the rest of the world and was immediately branded anti-national, person on Chinese payroll and what not. This is when he and Pravin Sawnhey of Force Magazine had both been warning of the same from last year itself. Pravin, has a youtube channel and had been warning India against Chinese intentions from 2015 and even before that. He had warned repeatedly that our obsession with the Pakistan border meant that we were taking eyes of the border with China which spans almost 2300 odd kms. going all the way to Arunachal Pradesh. A good map which shows the conflict can be found at dw.com which I am sharing/reproducing below India-China Border Areas Copyright DW.com 2020
Note:- I am sharing a neutral party s rendering of the border disputes or somebody who doesn t have much at stake as the two countries have so that things could be looked at little objectively.
The Prime Minister on the other hand, made the comment which made galvanising a made-up word into verb . It means to go without coming in. In fact, several news sites shared the statement told by the Prime Minister and the majority of people were shocked. In fact, there had been reports that he gave the current CDS, General Rawat, a person of his own choosing, a peace of his mind. But what lead to this confrontation in the first place ? I think many pieces are part of that puzzle, one of the pieces are surely the cutting of defense budget for the last 6 years, Even this year, if you look at the budget slashes done in the earlier part of the year when he shared how HAL had to raise loans from the market to pay salaries of its own people. Later he shared how the Govt. was planning to slash the defence budget. Interestingly, he had also shared some of the reasons which reaffirm that it is the only the Govt. which can solve some of the issues/conundrum
First, it must recognize that our firms competing for global orders are up against rivals that are being supported by their home governments with tax and export incentives and infrastructure that almost invariably surpasses India s. Our government must provide its aerospace firms with a level playing field, if not a competitive advantage. The greatest deterrent to growth our companies face is the high cost of capital and lack of access to funds. In several cases, Indian MSMEs have had to turn down offers to build components and assemblies for global OEM supply chains simply because the cost of capital to create the shop floor and train the personnel was too high. This resulted in a loss of business and a missed opportunity for creating jobs and skills. To overcome this, the government could create a sector specific A&D Fund to provide low cost capital quickly to enable our MSMEs to grab fleeting business opportunities. Ajai Shukla, blogpost 13th March 2020 .
And then reporting on 11th May 2020 itself, CDS Gen. Rawat himself commented on saving the budget, they were in poor taste but still he shared what he thought about it. So, at the end of it one part of the story. The other part of the story probably lies in India s relations with its neighbors and lack of numbers in diplomats and diplomacy. So let me cover both the things one by one .
Diplomats, lack of numbers and hence the hands we are dealth with
When Mr. Modi started his first term, he used the term Maximum Governance, Minimum Government but sadly cut those places where it indeed needs more people, one of which is diplomacy. A slightly dated 2012 article/opinion shared writes that India needs to engage with the rest of the world and do with higher number. Cut to 2020 and the numbers more or less remain the same . What Mr. Modi tried to do is instead of using diplomats, he tried to use his charm and hugopolicy for lack of a better term. 6 years later, here we are. After 200 trips abroad, not a single trade agreement to show what he done. I could go on but both time and energy are not on my side hence now switching to Nepal
Nepal, once friend, now enemy ?
Nepal had been a friend of India for 70 odd years, what changed in the last few years that it changed from friend to enemy ? There had been two incidents in recent memory that changed the status quo. The first is the 2015 Nepal blockade . Now one could argue it either way but the truth is that Nepal understood that it is heavily dependent on India hence as any sovereign country would do in its interest it also started courting China for imports so there is some balance.
The second one though is one of our own making. On December 16, 2014 RBI allowed Nepali citizens to have cash upto INR 25,000/- . Then in 2016 when demonetization was announced, they said that people could exchange only upto INR 4,500/- which was far below the limit shared above. And btw, before people start blaming just RBI for the decision, FEMA decisions are taken jointly by the finance ministry (FE) as well as ministry of external affairs (MEA) . So without them knowing the decision could not have been taken when announcing it. The result of lowering of demonetization is what made Nepal move more into Chinese hands and this has been shared by number of people in numerous articles in different websites. The wire interview with the vice-chairman of Niti Ayog is pretty interesting. The argument that Nepal show give an estimate of how much old money is there falls flat when in demonetization itself, it was thought of that around 30-40% was black money and would not be returned but by RBI s own admissions all 99.3% of the money was returned. Perhaps they should have consulted Prof. Arun Kumar of JNU who has extensivelywritten and studied the topic before doing that fool-hardy step. It is the reason that since then, an economy which was searing at 9% has been contracting ever since, I could give a dozen articles stating that, but for the moment, just one will suffice. The slowing economy and the sharp divisions between people based on either outlook, religion or whatever also encouraged China to attack us. This year is not good for India. The only thing I hope Indians and people all over do is just maintain physical distances, masks and somehow survive till middle of next year without getting infected when probably most of the vaccine candidates have been trialed, results are in and we have a ready vaccine. I do hope that at least for once, ICMR shares data even after the vaccine is approved, whichever vaccine. Till later.
By now everyone must have seen the versions of comedy shows with the laugh track edited out. The removal of the laughter doesn't just reveal the artificial nature of television and how it conscripts the viewer into laughing along; by subverting key conversational conventions, it reveals some of the myriad and subtle ways humans communicate with one another:
Although the show's conversation is ostensibly between two people, the viewer serves as a silent third actor through which they and therefore we are meant to laugh along with. Then, when this third character is forcibly muted, viewers not only have to endure the stilted gaps, they also sense an uncanny loss of familiarity by losing their 'own' part in the script.
A similar phenomenon can be seen in other art forms. In Garfield Minus Garfield, the forced negative spaces that these pauses introduce are discomfiting, almost to the level of performance art:
But when the technique is applied to other TV shows such as The Big Bang Theory, it is unsettling in entirely different ways, exposing the dysfunctional relationships and the adorkable mysogny at the heart of the show:
Once you start to look for it, the ur-elements of the audience, response and timing in the way we communicate are everywhere, from the gaps we leave so that others instinctively know when you have finished speaking, to the myriad of ways you can edit a film. These components are always present, it is only when one of them is taken away that they become more apparent. Today, the small delays added by videoconferencing adds an uncanny awkwardness to many of our everyday interactions too. It is said that "comedy is tragedy plus timing", so it is unsurprising that Zoom's undermining of timing leads, by this simple calculus of human interactions, to feelings of... tragedy.
Leaving aside the usual comments about Pavlovian conditioning and the shows that are the exceptions, complaints against canned laughter are the domain of the pub bore. I will therefore only add two brief remarks. First, rather than being cynically added to artificially inflate the lack of 'real' comedy, laugh tracks were initially added to replicate the live audience of existing shows. In other words, without a laugh track, these new shows might have ironically appeared almost as eerie as the fan edits cited above are today.
Secondly, although laugh tracks are described as "false", this is not entirely correct. After all, someone did actually laugh, even if it was for an entirey different joke. In his Simulacra and Simulation, cultural theorist Jean Baudrillard might have poetically identified canned laughter as a "reflection of a profound reality", rather than an outright falsehood. One day, when this laughter becomes entirely algorithmically generated, Baudrillard would describe it as "an order of sorcery", placing it metaphysically on the same level as the entirely pumpkin-free Pumpkin Spiced Latte.
For a variety of reasons I recently decided to try interacting with various social media platforms in new ways. One way of loosening my addiction to this pornography of the amygdala was to hide the number of replies, 'likes' and related numbers:
The effect of installing this extension was immediate. I caught my eyes darting to where the numbers had been and realised I had been subconsciously looking for the input and perhaps even the outright validation of the masses. To be sure, these numbers can be relevant and sometimes useful, but they do implicitly involve delegating part of your responsibility of thinking for yourself to the vox populi, or the Greek chorus of the 21st century.
Like many of you reading this, I am sure I told myself that the number of 'likes' has no bearing on whether I should agree with something, but hiding the numbers reveals much of this might have been a convenient fiction; as an entire century of discoveries in behavioural economics has demonstrated, all the pleasingly-satisfying arguments for rational free-market economics stand no chance against our inherent buggy mammalian brains.
Tying a few things together, when attempting to doomscroll through social media without these numbers, I realised that social media without the scorecard of engagement is almost exactly like watching these shows without the laugh track.
Without the number of 'retweets', the lazy prompts to remind you exactly when, how and for how much to respond are removed, and replaced with the same stilted silences of those edited scenes from Friends. At times, the existential loneliness of Garfield Minus Garfield creeps in too, and there is more than enough of the dysfunctional, validation-seeking and parasocial 'conversations' of The Big Bang Theory. Most of all, the whole exercise permits a certain level of detached, critical analysis, allowing one to observe that the platforms often feel like a pre-written script with your 'friends' cast as actors, all perpetuated on the heady fumes of rows INSERT-ed into a database on the other side of the world.
I'm not quite sure how this will affect my usage of the platforms, and any time spent away from these sites may mean fewer online connections at a time when we all need them the most. But as the Karal Marling, professor at the University of Minnesota wrote about artificial audiences: "Let me be the laugh track."
Hello,
Recently I ve seen lot of people sharing about their home office
setup. I thought why don t I do something similar. Not to beat FOMO,
but in future when I revisit this blog, it will be lovely to
understand that I had some cool stuffs.
There are people who went deep down in the ocean to lay cables for me
to have a remote job and I am thankful to them.
Being remote my home is my office. On my work table I have a Samsung R439 laptop. I ve blogged about it
earlier. New addition is that it
have another 4GB RAM, a total of 6GB and 120GB SSD. I run Debian
testing on it. Laptop is placed on a stand. Dell MS116 as external mouse always
connected to it. I also use an external keyboard from fingers. The keys are very stiff so
I don t recommend this to anyone. The only reason I took this keyboard that it is in my budget and have a backlit,
which I needed most.
I have a Micromax MM215FH76 21 inch monitor as my secondary display which stacked up on
couple of old books to adjust the height with laptop stand. Everything is ok with this
monitor except that it don t have a HDMI point and stand is very
weak. I use i3wm and this small script help me to manage my monitor
arrangement.
# samsung r439
xrandr --output LVDS1 --primary --mode 1366x768 --pos 1920x312 --rotate normal --output DP1 --off --output HDMI1 --off --output VGA1 --mode 1920x1080 --pos 0x0 --rotate normal --output VIRTUAL1 --off
# thinkpad t430s
#xrandr --output LVDS1 --primary --mode 1600x900 --pos 1920x180 --rotate normal --output DP1 --off --output DP2 --off --output DP3 --off --output HDMI1 --off --output HDMI2 --off --output HDMI3 --off --output VGA1 --mode 1920x1080 --pos 0x0 --rotate normal --output VIRTUAL1 --off
i3-msg workspace 2, move workspace to left
i3-msg workspace 4, move workspace to left
i3-msg workspace 6, move workspace to left
I also have another Viewsonic monitor 19 inch, it started to
show some lines and unpleasant colors. Thus moved back to shelf.
I have an orange pi zero plus 2 running Armbian which serve as my emby
media server. I don t own any webcam or quality headset at the moment.
I have a boat, and Mi, headphones. My laptop inbuilt webcam is
horrible, so for my video conferencing need I use jitsi app on my mobile device.
Hello,
Recently I ve seen lot of people sharing about their home office
setup. I thought why don t I do something similar. Not to beat FOMO,
but in future when I revisit this blog, it will be lovely to
understand that I had some cool stuffs.
There are people who went deep down in the ocean to lay cables for me
to have a remote job and I am thankful to them.
Being remote my home is my office. On my work table I have a Samsung R439 laptop. I ve blogged about it
earlier. New addition is that it
have another 4GB RAM, a total of 6GB and 120GB SSD. I run Debian
testing on it. Laptop is placed on a stand. Dell MS116 as external mouse always
connected to it. I also use an external keyboard from fingers. The keys are very stiff so
I don t recommend this to anyone. The only reason I took this keyboard that it is in my budget and have a backlit,
which I needed most.
I have a Micromax MM215FH76 21 inch monitor as my secondary display which stacked up on
couple of old books to adjust the height with laptop stand. Everything is ok with this
monitor except that it don t have a HDMI point and stand is very
weak. I use i3wm and this small script help me to manage my monitor
arrangement.
# samsung r439
xrandr --output LVDS1 --primary --mode 1366x768 --pos 1920x312 --rotate normal --output DP1 --off --output HDMI1 --off --output VGA1 --mode 1920x1080 --pos 0x0 --rotate normal --output VIRTUAL1 --off
# thinkpad t430s
#xrandr --output LVDS1 --primary --mode 1600x900 --pos 1920x180 --rotate normal --output DP1 --off --output DP2 --off --output DP3 --off --output HDMI1 --off --output HDMI2 --off --output HDMI3 --off --output VGA1 --mode 1920x1080 --pos 0x0 --rotate normal --output VIRTUAL1 --off
i3-msg workspace 2, move workspace to left
i3-msg workspace 4, move workspace to left
i3-msg workspace 6, move workspace to left
I also have another Viewsonic monitor 19 inch, it started to
show some lines and unpleasant colors. Thus moved back to shelf.
I have an orange pi zero plus 2 running Armbian which serve as my emby
media server. I don t own any webcam or quality headset at the moment.
I have a boat, and Mi, headphones. My laptop inbuilt webcam is
horrible, so for my video conferencing need I use jitsi app on my mobile device.
As some might have noticed we now have Linux 5.7 in Debian/unstable and
subsequently the in kernel exFAT
implementation created by Samsung available. Thus we now have two exFAT
implementations, the
exfat fuse driver
and the Linux based one. Since some comments and mails I received showed
minor confusions, especially around the available tooling, it might help
to clarify a bit what is required when.
Using the Samsung Linux Kernel Implementation
Probably the most common use case is that you just want to use the
in kernel implementation. Easy, install a Linux 5.7 kernel package
for your architecture and either remove the exfat-fuse package
or make sure you've version 1.3.0-2 or later installed. Then
you can just run mount /dev/sdX /mnt and everything should be fine.
Your result will look something like this:
$ mount grep sdb
/dev/sdb on /mnt type exfat (rw,relatime,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro
In the past this basic mount invocation utilized the mount.exfat
helper, which was just a symlink to the helper which is shipped
as /sbin/mount.exfat-fuse. The link was dropped from the package
in 1.3.0-2. If you're running a not so standard setup, and would
like to keep an older version of exfat-fuse installed you must
invoke mount -i to prevent mount from loading any helper to mount
the filesystem. See also
man 8 mount.
For those who care, mstone@ and myself had a brief discussion
about this issue in
#963752,
which quickly brought me to the conclusion that it's in the best interest
of a majority of users to just drop the symlink from the package.
Sticking to the Fuse Driver
If you would like to stick to the fuse driver you can of course just do it.
I plan to continue to maintain all packages for the moment. Just keep the
exfat-fuse package installed and use the mount.exfat-fuse helper
directly. E.g.
$ sudo mount.exfat-fuse /dev/sdb /mnt
FUSE exfat 1.3.0
$ mount grep sdb
/dev/sdb on /mnt type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
In case this is something you would like to make permanent, I would recommend
that you create yourself a mount.exfat symlink pointing at the
mount.exfat-fuse helper.
mkfs and fsck - exfat-utils vs exfatprogs
Beside of the filesystem access itself we now also have two implementations
of tooling, which support filesystem creation, fscking and label adjustment.
The older one is exfat-utils
by the creator of the fuse driver, which is also part of Debian since the
fuse driver was packaged in 2012. New in Debian is the
exfatprogs package
written by the Samsung engineers. And here the situation starts to get
a bit more complicated.
Both packages ship a mkfs.exfat and fsck.exfat tool, so we can not
co-install them. In the end both packages declare a conflict with each
other at the moment. As outlined in
this thread I do not plan to overcomplicate the situation by using
the alternatives system. I do feel strongly that this would just create
more confusion without a real benefit. Since the tools do not have
matching cli options, that could also cause additional issues and confusion.
I plan to keep that as is, at least for the bullseye release. Afterwards
it's possible, depending on how the usage evolves, to drop the
mkfs.exfat and fsck.exfat from exfat-utils, they are in fact
again only symlinks. pain point might be tools interfacing with the
differing implementations. Currently I see only three reverse depedencies,
so that should be manageable to consolidate if required.
Last but not least it might be relevant to mention that the exfat-utils
package also contains a dumpexfat tool which could be helpful if you're
more into forensics, or looking into other lower level analysis of an exFAT
filsystem. Thus there is a bit of an interest to have those tools co-installed
in some - I would say - niche cases.
buster-backports
Well if you use buster with a backports kernel you're a bit on your own.
In case you want to keep the fuse driver installed, but would still like to
mount, e.g. for testing, with the kernel exFAT driver, you must use mount -i.
I do not plan any uploads to buster-backports. If you need a mkfs.exfat
on buster, I would recommend to just use the one from exfat-utils for
now. It has been good enough for the past years, should not get sour
before the bullseye release, which ships exfatprogs for you.
Kudos
My sincere kudos go to:
Andrew Nayenko who wrote the exFAT fuse implemetation which was very helpful
to many people for the past years. He's a great upstream to work with.
Namjae Jeon and Hyunchul Lee who maintain the Linux exFAT driver and exfatprogs.
They are also very responsive upstreams and easy to work with.
Last but not least our ftp-master who reviewed the
exfatprogs package
way faster than what I had anticipated looking at the current
NEW backlog.
DebConf20 starts in about 5 weeks, and as always, the DebConf
Videoteam is working hard to make sure it'll be a success. As such, we held a
sprint from July 9th to 13th to work on our new infrastructure.
A remote sprint certainly ain't as fun as an in-person one, but we nonetheless
managed to enjoy ourselves. Many thanks to those who participated, namely:
Carl Karsten (CarlFK)
Ivo De Decker (ivodd)
Kyle Robbertze (paddatrapper)
Louis-Philippe V ronneau (pollo)
Nattie Mayer-Hutchings (nattie)
Nicolas Dandrimont (olasd)
Stefano Rivera (tumbleweed)
Wouter Verhelst (wouter)
We also wish to extend our thanks to Thomas Goirand and Infomaniak for
providing us with virtual machines to experiment on and host the video
infrastructure for DebConf20.
Advice for presenters
For DebConf20, we strongly encourage presenters to record their talks in
advance and send us the resulting video. We understand this is more work,
but we think it'll make for a more agreeable conference for everyone. Video
conferencing is still pretty wonky and there is nothing worse than a talk
ruined by a flaky internet connection or hardware failures.
As such, if you are giving a talk at DebConf this year, we are asking you to
read and follow our guide on how to record your presentation.
Fear not: we are not getting rid of the Q&A period at the end of talks.
Attendees will ask their questions either on IRC or on a collaborative pad
and the Talkmeister will relay them to the speaker once the pre-recorded
video has finished playing.
New infrastructure, who dis?
Organising a virtual DebConf implies migrating from our battle-tested
on-premise workflow to a completely new remote one.
One of the major changes this means for us is the addition of Jitsi Meet to our
infrastructure. We normally have 3 different video sources in a room: two
cameras and a slides grabber. With the new online workflow, directors will be
able to play pre-recorded videos as a source, will get a feed from a Jitsi room
and will see the audience questions as a third source.
This might seem simple at first, but is in fact a very major change to our
workflow and required a lot of work to implement.
== On-premise == == Online ==
Camera 1 Jitsi
v ---> Frontend v ---> Frontend
Slides -> Voctomix -> Backend -+--> Frontend Questions -> Voctomix -> Backend -+--> Frontend
^ ---> Frontend ^ ---> Frontend
Camera 2 Pre-recorded video
In our tests, playing back pre-recorded videos to voctomix worked well, but was
sometimes unreliable due to inconsistent encoding settings. Presenters will
thus upload their pre-recorded talks to SReview so we can make sure there
aren't any obvious errors. Videos will then be re-encoded to ensure a
consistent encoding and to normalise audio levels.
This process will also let us stitch the Q&As at the end of the pre-recorded
videos more easily prior to publication.
Reducing the stream latency
One of the pitfalls of the streaming infrastructure we have been using since
2016 is high video latency. In a worst case scenario, remote attendees could
get up to 45 seconds of latency, making participation in events like BoFs
arduous.
In preparation for DebConf20, we added a new way to stream our talks: RTMP.
Attendees will thus have the option of using either an HLS stream with higher
latency or an RTMP stream with lower latency.
Here is a comparative table that can help you decide between the two protocols:
HLS
RTMP
Pros
Can be watched from a browser
Auto-selects a stream encoding
Single URL to remember
Lower latency (~5s)
Cons
Higher latency (up to 45s)
Requires a dedicated video player (VLC, mpv)
Specific URLs for each encoding setting
Live mixing from home with VoctoWeb
Since DebConf16, we have been using voctomix, a live video mixer developed
by the CCC VOC. voctomix is conveniently divided in two: voctocore is the
backend server while voctogui is a GTK+ UI frontend directors can use to
live-mix.
Although voctogui can connect to a remote server, it was primarily designed to
run either on the same machine as voctocore or on the same LAN. Trying to use
voctogui from a machine at home to connect to a voctocore running in a
datacenter proved unreliable, especially for high-latency and low bandwidth
connections.
Inspired by the setup FOSDEM uses, we instead decided to go with a web frontend
for voctocore. We initially used FOSDEM's code as a proof of
concept, but quickly reimplemented it in Python, a language we are more
familiar with as a team.
Compared to the FOSDEM PHP implementation, voctoweb implements A / B source
selection (akin to voctogui) as well as audio control, two very useful
features. In the following screen captures, you can see the old PHP UI on the
left and the new shiny Python one on the right.
Voctoweb is still under development and is likely to change quite a bit
until DebConf20. Still, the current version seems to works well enough to be
used in production if you ever need to.
Python GeoIP redirector
We run multiple geographically-distributed streaming frontend servers to
minimize the load on our streaming backend and to reduce overall latency.
Although users can connect to the frontends directly, we typically point them
to live.debconf.org and redirect connections to the nearest server.
Sadly, 6 months ago MaxMind decided to change the licence on their
GeoLite2 database and left us scrambling. To fix this annoying issue, Stefano
Rivera wrote a Python program that uses the new database and reworked our
ansible frontend server role. Since the new database cannot be
redistributed freely, you'll have to get a (free) license key from MaxMind if
you to use this role.
Ansible & CI improvements
Infrastructure as code is a living process and needs constant care to fix bugs,
follow changes in DSL and to implement new features. All that to say a large
part of the sprint was spent making our ansible roles and continuous
integration setup more reliable, less buggy and more featureful.
All in all, we merged 26 separate ansible-related merge request during the
sprint! As always, if you are good with ansible and wish to help, we accept
merge requests on our ansible repository :)
This is part of a series of posts on compiling a custom version of Qt5 in order
to develop for both amd64 and a Raspberry Pi.
As an attempt to get webview to compile, I'm reattempting to build a Qt5
cross-compiling environment using a
raspbian sysroot, instead of having dependencies for both arm and amd64
installed in the build system.
Using dependencies installed in a straightforward way in the build system has
failed because of issues like #963136,
where some of the build dependencies are needed for both architectures, but the
corresponding Debian -dev packages are not yet coinstallable.
Thisissomethingthatcausesmanypeoplemuchpain.
Start from a clean sysroot
Looking for a Raspbian image, I found out that it has been renamed to
"Raspberry Pi OS". I realised that software names are like underwear: as soon
as they become well used, they need to be changed.
I downloaded RaspbianRaspberry Pi OS Lite from
https://www.raspberrypi.org/downloads/raspberry-pi-os/
to start with something minimal. It came out as something like 1.5G
uncompressed, which wasn't as minimal as I would have hoped, but that'll be
what I'll have to work with.
Adding build dependencies
I have acquired significant experience manipulating
RaspbianRaspberry Pi OS images from working with
Himblick.
This time I'm working with the disk image directly, instead of an SD card,
since I will be needing it as a sysroot during the build, and I won't need to
actually boot it on real hardware.
The trick is to work with kpartx
to make the partitions in the image available as loopback block devices.
I have extracted a lot of relevant code from Himblick into a Python library I
called Transilience
The result is this provisioning script,
which is able to take a RaspbianRaspberry Pi OS image, enlarge it,
and install Debian packages into it.
I find this script pretty cool, also in the way it embeds quite a bit of
experience gathered on the field. I can also be integrated in a fully automated
setup and provisioning system.
The next step will be to use the result as a sysroot to build Qt.