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
In my recent post about building and publishing documentation for Ansible Collections, I've mentioned that the Ansible Community is currently in the process of making their build tools available as a separate project called antsibull instead of keeping them in the hacking directory of ansible.git.
I've also said that I couldn't get the documentation to build with antsibull-docs as it wouldn't support collections yet. Thankfully, Felix Fontein, one of the maintainers of antsibull, pointed out that I was wrong and later versions of antsibull actually have partial collections support. So I went ahead and tried it again.
And what should I say? Two bugreports by me and four patchesbyFelixFontain later I can use antsibull-docs to generate the Foreman Ansible Modules documentation!
Let's see what's needed instead of the ugly hack in detail.
We obviously don't need to clone ansible.git anymore and install its requirements manually. Instead we can just install antsibull (0.17.0 contains all the above patches). We also need Ansible (or ansible-base) 2.10 or never, which currently only exists as a pre-release. 2.10 is the first version that has an ansible-doc that can list contents of a collection, which antsibull-docs requires to work properly.
The current implementation of collections documentation in antsibull-docs requires the collection to be installed as in "Ansible can find it". We had the same requirement before to find the documentation fragments and can just re-use the installation we do for various other build tasks in build/collection and point at it using the ANSIBLE_COLLECTIONS_PATHS environment variable or the collections_paths setting in ansible.cfg1. After that, it's only a matter of passing --use-current to make it pick up installed collections instead of trying to fetch and parse them itself.
Given the main goal of antisibull-docs collection is to build documentation for multiple collections at once, it defaults to place the generated files into <dest-dir>/collections/<namespace>/<collection>. However, we only build documentation for one collection and thus pass --squash-hierarchy to avoid this longish path and make it generate documentation directly in <dest-dir>. Thanks to Felix for implementing this feature for us!
And that's it! We can generate our documentation with a single line now!
Please report issues to the GitHub tracker.
There are a number of outstanding issues I'll fix soon, but please report any other issues you encounter.
Note that I'm not very familiar with hledger. I intend to sync up with hledger author Simon Michael soon, but please file an issue if you notice any problems with the hledger conversion.
Version 1.1 contains a number of fixes compared to the latest code in bean-report:
1.1 (2020-07-24)
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.
A little under two months ago I invested in an expensive ergonomic keyboard, a
Kinesis Advantage 2, and set about figuring out how to use it most effectively
with Emacs. The default layout for the keyboard is great for strong typists
who control their computer mostly with their mouse, but less good for Emacs
users, who are strong typists that control their computer mostly with their
keyboard.
It took me several tries to figure out where to put the ctrl, alt, backspace,
delete, return and spacebar keys, and aside from one forum post I ran into, I
haven t found anyone online who came up with anything much like what I ve come
up with, so I thought I should probably write up a blog post.
The mappings
The pairs of arrow keys under the first two fingers of each hand become ctrl
and alt/meta keys. This way there is a ctrl and alt/meta key for each hand,
to reduce the need for one-handed chording.
I bought the keyboard expecting to have all modifier keys on my thumbs.
However, (i) only the two large thumb keys can be pressed without lifting
your hand away from the home row, or stretching in a way that s not healthy;
and (ii) only the outermost large thumb key can be comfortably held down as
a modifier.
It takes a little work to get used to using the third and fifth fingers of
one hand to hold down both alt/meta and shift, for typing core Emacs
commands like M-^ and M-@, but it does become natural to do so.
The arrow keys are moved to the four ctrl/alt/super keys which run along the
top of the thumb key areas.
The outermost large thumb key of each hand becomes a spacebar. This means
it is easy to type C-u C-SPC with the right hand while the left hand holds
down control, and sequences like C-x C-SPC and C-a C-SPC C-e with the
left hand with the right hand holding down control.
It took me a while to realise that it is not wasteful to have two spacebars.
The inner large thumb keys become backspace and return.
The international key becomes delete.
Rarely needed for Emacs users, as we have C-d, so initially I just had no
delete key, but soon came to regret this when trying to edit text in web
forms.
Caps Lock becomes Super, but remains caps lock on the keypad layer.
See my rebindings for ordinary keyboards for some
discussion of having just a single Super key.
Sequences of two modified keys on different halves of the keyboard
It is desirable to input sequences like C-x C-o without switching which hand
is holding the control key. This requires one-handed chording, but this is
trecherous when the modifier keys not under the thumbs, because you might need
to press the modified key with the same finger that s holding the modifier!
Fortunately, most or all sequences of two keys modified by ctrl or alt/meta,
where each of the two modifier keys is typed by a different hand, begin with
C-c, C-x or M-g, and the left hand can handle each of these on its own. This
leaves the right hand completely free to hit the second modified key while the
left hand continues to hold down the modifier.
My rebindings for ordinary keyboards
I have some rebindings to make Emacs usage more
ergonomic on an ordinary keyboard. So far, my Kinesis Advantage setup is
close enough to that setup that I m not having difficulty switching back and
forth from my laptop keyboard.
The main difference is for sequences of two modified keys on different halves
of the keyboard which of the two modified keys is easiest to type as a
one-handed chord is different on the Kinesis Advantage than on my laptop
keyboard. At this point, I m executing these sequences without any special
thought, and they re rare enough that I don t think I need to try to determine
what would be the most ergonomic way to handle them.
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 worked with the CD release team over the weekend for the final release of Debian Stretch. One problem: we have media images which we cannot test because the team does not have the hardware. I asked questions on the debian-cd mailing list about the future of these and various other .iso images.
Could we replace some DVDs and larger files with smaller jigdo files so that people can download files to build the DVD locally?
People asked me:
How do you actually use jigdo to produce a usable media image?
What advantages does jigdo bring over just downloading a large .iso image?
Why jigdo?
Downloading large files on a slow or lossy link is difficult.
Downloading large (several GB) files via http can be unreliable.
Jigdo can be quicker than trying to download one large file and failing.
There are few CD mirrors worldwide: jigdo can use a local Debian mirror.
The transport mechanism is http - no need for a particular port to be opened.
Using jigdo
Jigdo uses information from a template file to reconstruct an .iso file by downloading Debian packages from a mirror. The image is checksummed and verified at the end of the complete download. if the download is interrupted, you can import the previously downloaded part of the file.
It's a command line application - the GUI never really happened - but it is fairly easy to use. apt install jigdo-file then find the .jigdo file and .template files that you need for the image from a CD mirror: https://cdimage.debian.org/debian-cd/current/amd64/jigdo-cd/
If you only have this file, jigdo-lite will download the template later but you can save the template in the same directory and save time. The jigdo file is only 25k or so and the template is 4.6M rather than 336M. I copied them into my home directory to build there. The process does not need root permissions.
Run the command jigdo-lite This prompts you for a .jigdo file to use. By default, this uses http to fetch the file from a distant webserver.
(If the files are local, you can use the file:/// syntax.For example: file:///home/amacater/debian-10.4.0-amd64-netinst.jigdo)
jigdo-lite then reads the .jigdo file and outputs some information about the .iso
It offers the chance to reload any failed download, then prompts for a mirror name. The download pulls in small numbers of files at a time, saves to a temporary directory and will checksum the eventual .iso file.
This will work for any larger file including the 16GB .iso distributed only as a .jigdo
For i386 and AMD, the images are bootable when copied to a USB stick. Use dd to write them and verify the copy.
Plug in a USB that can be overwritten.
Use dmesg as root to work out which device this is.
Change to the directory in which you have your .iso image.
Write the image to the stick in 4M blocks and display progress with the syntax of the command below (all one line if wrapped).
I haven't made any substantive progress on my Amiga floppy recovery
project for a while, but I felt like some retail therapy a few days
ago so I bought a rotary encoder and OLED display for the Gotek floppy disk
emulator along with a 3D-printed mount for them. I'm pleased with the results!
The rather undescriptive "DSKA0001" in the picture is a result of my floppy
image naming scheme: the display is capable of much more useful labels such
as "Lemmings", "Deluxe Paint IV", etc.
The Gotek and all the new bits can now be moved inside the Amiga A500's
chassis.
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.
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."
A new version 0.1.3 of the tint package arrived at CRAN today. It corrects some features for html output, notably margin notes and references. It also contains a new example for inline references.
The full list of changes is below.
Changes in tint version 0.1.3 (2020-07-18)
A new minimal demo was added showing inline references (Dirk addressing #42).
Code for margin notes and reference in html mode was updated with thanks to tufte (Dirk in #43 and #44 addressing #40).
The README.md was updated with a new 'See Also' section and a new badge.
A new version of drat arrived on CRAN today. This is a follow-up release to 0.1.7 from a week ago. It contains a quick follow-up by Felix Ernst to correct on of the tests which misbehaved under the old release of R still being tested at CRAN.
drat stands for drat R Archive Template, and helps with easy-to-create and easy-to-use repositories for R packages. Since its inception in early 2015 it has found reasonably widespread adoption among R users because repositories with marked releases is the better way to distribute code.
As your mother told you: Friends don t let friends install random git commit snapshots. Rolled-up releases it is. drat is easy to use, documented by five vignettes and just works.
The NEWS file summarises the release as follows:
Changes in drat version 0.1.8 (2020-07-18)
The archive pruning test code was corrected for r-oldrel (Felix Ernst in #105 fixing #104).
Laptop Mode Tools 1.74
Laptop Mode Tools version 1.74 has been released. This release includes important bug fixes, some defaults settings updated to current driver support in Linux and support for devices with nouveau based nVIDIA cards.
A filtered list of changes is mentioned below. For the full log, please refer to the git repository
1.74 - Sat Jul 18 19:10:40 IST 2020
* With 4.15+ kernels, Linux Intel SATA has a better link power
saving policy, med_power_with_dipm, which should be the recommended
one to use
* Disable defaults for syslog logging
* Initialize LM_VERBOSE with default to disabled
* Merge pull request #157 from rickysarraf/nouveau
* Add power saving module for nouveau cards
* Disable ethernet module by default
* Add board-specific folder and documentation
* Add execute bit on module radeon-dpm
* Drop unlock because there is no lock acquired
Resources
Source tarball, Feodra/SUSE RPM Packages available at project s release page
Debian packages will be available soon in Unstable.
Description: Tools for Power Savings based on battery/AC status
Laptop mode is a Linux kernel feature that allows your laptop to save
considerable power, by allowing the hard drive to spin down for longer
periods of time. This package contains the userland scripts that are
needed to enable laptop mode.
.
It includes support for automatically enabling laptop mode when the
computer is working on batteries. It also supports various other power
management features, such as starting and stopping daemons depending on
power mode, automatically hibernating if battery levels are too low, and
adjusting terminal blanking and X11 screen blanking
.
laptop-mode-tools uses the Linux kernel's Laptop Mode feature and thus
is also used on Desktops and Servers to conserve power
Background
So apparently there's this pandemic thing, which means I'm teaching
"Alternate Delivery" courses now. These are just like online courses,
except possibly more synchronous, definitely less polished, and the
tuition money doesn't go to the College of Extended Learning. I figure
I'll need to manage share videos, and our learning management system,
in the immortal words of Marie Kondo, does not bring me joy. This has
caused me to revisit the problem of sharing large files in an
ikiwiki based site (like the one you are reading).
My goto solution for large file management is
git-annex. The last time I looked
at this (a decade ago or so?), I was blocked by git-annex using
symlinks and ikiwiki ignoring them for security related reasons.
Since then two things changed which made things relatively easy.
I started using the rsync_command ikiwiki option to deploy my
site.
git-annex went through several design iterations for allowing
non-symlink access to large files.
TL;DR
In my ikiwiki config
# attempt to hardlink source files? (optimisation for large files)
hardlink =>1,
In my ikiwiki git repo
$ git annex init
$ git annex add foo.jpg
$ git commit -m&aposadd big photo&apos
$ git annex adjust --unlock # look ikiwiki, no symlinks
$ ikiwiki --setup ~/.config/ikiwiki/client # rebuild my local copy, for review
$ ikiwiki --setup /home/bremner/.config/ikiwiki/rsync.setup --refresh # deploy
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.