<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Danny Quah on Medium]]></title>
        <description><![CDATA[Stories by Danny Quah on Medium]]></description>
        <link>https://medium.com/@1dannyquah?source=rss-ab2f81571f3d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*rp9HRpLnBAZThXEvUiuDXQ.jpeg</url>
            <title>Stories by Danny Quah on Medium</title>
            <link>https://medium.com/@1dannyquah?source=rss-ab2f81571f3d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 04:08:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@1dannyquah/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Great Power Elasticity in the Cold War]]></title>
            <link>https://1dannyquah.medium.com/great-power-elasticity-in-the-cold-war-6c5e8fef5cfd?source=rss-ab2f81571f3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c5e8fef5cfd</guid>
            <category><![CDATA[world-order]]></category>
            <category><![CDATA[small-states]]></category>
            <category><![CDATA[market]]></category>
            <category><![CDATA[supply-and-demand]]></category>
            <dc:creator><![CDATA[Danny Quah]]></dc:creator>
            <pubDate>Mon, 19 Apr 2021 21:49:06 GMT</pubDate>
            <atom:updated>2021-04-20T05:10:03.826Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How did the Berlin Wall come about in the Cold War, when the Soviets were against it and only East Germany wanted it? Do small states (as East Germany was) have special kind of power? Or was it just demand and supply?</em></p><p>The Berlin Crisis, 1958–1961, was one of the transformative events of the Cold War, resulting in the construction of the Berlin Wall. But how did the Berlin Wall fit with the Soviet Union’s ultimate foreign-policy goal of a broad German peace agreement with the Western powers?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*FV-SMhGwSX_J0C6DN--45g.jpeg" /></figure><p>It didn’t.</p><p>In the view of the Soviets, West Berlin was only a pawn to be used to leverage Western acknowledgement of the status of East Germany. In the East German view, however, West Berlin was a prize in itself, independent of what the Western powers (and the Soviets) thought.</p><p>East Germany prevailed when the Soviets agreed to the construction of the Berlin Wall in 1961, preventing further shifts in resources between East and West Berlin, and in effect ending the Berlin Crisis.</p><p>How did this small state (East Germany) get its way against the Great Power (the Soviet Union), in contrast to Kenneth Waltz’s famous pronouncement of ridicule? Is this an isolated incident of small states pushing back successfully against Great Powers? Do we need a new concept of power to explain this small state success?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zof70hGeiJfcPawrQNUYnQ.png" /></figure><p>Or is the explanation far more prosaic, namely just demand fluctuations pressing against an elastic supply curve in the marketplace for regional and world order?</p><p>In economics, that every consumer is a price-taker is perfectly consistent with market outcomes shifting as demand varies, i.e., price-taking is consistent with the market supply curve having slope both positive and finite. In such thinking, equilibrium is elastic with respect to consumer wants even if each consumer is too small to stand up to any agent on the supply side. Applied to international relations, this idea says that small states have agency, even if they are all price-takers relative to the Great Powers.</p><p>But, apart from the Berlin Wall, what evidence is there that world order is indeed elastic with respect to the preferences of small states? When small states choose, are there consequences for the international system as a whole, or only for themselves?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PXysbDvTzcgHOoYA-9LBDA.png" /></figure><p>The video is from Asia Global Institute’s Public Policy Webinar, Tue 13 Apr 2021. The event itself was chaired by Prof Heiwai Tang: The first 30 minutes I present, and then the remainder is Q&amp;A. Although Heiwai and I came out of the same Economics shop (me, very long ago), we decided to run this webinar Political-Science style, and so, unlike the usual Economics seminars, I didn’t get interrupted every 2 minutes (normally about something that I would get to in the next minute anyway).</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJXuZfqAOCGQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJXuZfqAOCGQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJXuZfqAOCGQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/17e459970373ca0db431fac3c111d42c/href">https://medium.com/media/17e459970373ca0db431fac3c111d42c/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c5e8fef5cfd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Soft Power Means Getting People to See Your Point of View]]></title>
            <link>https://1dannyquah.medium.com/soft-power-means-getting-people-to-see-your-point-of-view-1813a18a2fd6?source=rss-ab2f81571f3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1813a18a2fd6</guid>
            <category><![CDATA[soft-power]]></category>
            <category><![CDATA[asean]]></category>
            <category><![CDATA[us-china-relations]]></category>
            <dc:creator><![CDATA[Danny Quah]]></dc:creator>
            <pubDate>Thu, 10 Dec 2020 12:22:54 GMT</pubDate>
            <atom:updated>2020-12-10T12:22:54.544Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*ZylCQJMStxPTnGzs03Mxeg.png" /><figcaption>What do you think is the US’s big problem with China?</figcaption></figure><p>Soft power means, at a minimum, getting people to see your point of view.</p><p>If you have soft power then not only should others like and admire you, but the narratives you weave should have your admirers standing up and cheering, and even your detractors saying, Gosh darn it, there you go again; you got it right once more. <br>So how successfully has the US communicated to the world its single most egregious complaint about China? <br>My poll question was, What do you think is the US’s big problem with China? I suggested three possible answers:</p><p>1. China seeks to disrupt the workings of the international trading system. Out of the goodness of its heart, the US is only trying to safeguard everyone else in the world from a China that bullies.</p><p>2. By its running a trade surplus against the US, China is stealing jobs from American workers. The US is just retaliating against a cheat.</p><p>3. The details don’t matter. The US simply cannot bear the thought of any other nation being no. 1 in the world.</p><p>In the event: 1. — 7%; 2. — 13%; 3. — 81% // adding to 101% from rounding error.</p><p>(In case anyone gets carried away, please, this is a blogpost; N is 88, and a group of Southeast Asian bankers and industrialists is obviously no random sample.)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1813a18a2fd6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[US hegemony was based on performance legitimacy: Malaysia and ASEAN navigating US-China Relations…]]></title>
            <link>https://1dannyquah.medium.com/us-hegemony-was-based-on-performance-legitimacy-malaysia-and-asean-navigating-us-china-relations-98d88fa07c9d?source=rss-ab2f81571f3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/98d88fa07c9d</guid>
            <category><![CDATA[us-china-relations]]></category>
            <category><![CDATA[performance-legitimacy]]></category>
            <category><![CDATA[great-power]]></category>
            <category><![CDATA[asean]]></category>
            <dc:creator><![CDATA[Danny Quah]]></dc:creator>
            <pubDate>Sat, 28 Nov 2020 05:36:04 GMT</pubDate>
            <atom:updated>2020-11-28T07:17:54.930Z</atom:updated>
            <content:encoded><![CDATA[<h3>US hegemony was based on performance legitimacy. Malaysia and ASEAN navigating US-China Relations, PNB Forum in KL, Nov 2020</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ayGrbqeM_CwVLrFxuwmpgw.jpeg" /></figure><p>Summary: In the spectacularly successful American Century, US global hegemony achieved legitimacy — consent of the governed — not through an international ballot box but through performance legitimacy. Never once throughout all these decades did the US ever ask nations to vote for it as the world’s leader through any mechanism of modern democracy or international choice. No, sufficient instead was that the US did so well for itself, and led so many others to economic prosperity. This seems to me a fine approach. Others should be allowed to try the same.</p><p>The topic of PNB Forum in KL, 26 Nov 2020, was “Malaysia and ASEAN: Navigating US-China Relations in the 21st Century”.</p><p>(I once overheard someone complain that in public discussions I behave exactly like Kishore Mahbubani: I try to stir matters up by saying things as provocative as I can just about defend and get away with… But here Kishore and I are on the same panel, so I’ve been stripped of my superpower for mischief.)</p><p>For my part I maintained one assumption and advanced two hypotheses.</p><p>First, the assumption: Eighty percent of the world — including all of ASEAN — live in neither the US or China. We really don’t care about US-China relations. What we care about is peace and prosperity. We seek pathways for economic progress so that all of us — but especially the poor, weak, and vulnerable — can gain control of our own destiny. Foremost among what works for us is infrastructure, open markets, clear rules, and a level playing field. We don’t mind if that playing field tilts a bit temporarily to correct historical inequity but it should not do so in favour of those already rich and powerful. Big nations should not bully small ones.</p><p>While many might think a level playing field comes with conventional democracy, it does not. For the last 70 years the US has talked about the world order it built as providing a level playing field, but in all this time the US has never attempted to give other nations a vote on its election as leader. That particular hegemon sought consent of the governed not through any global ballot box but through seeking to provide a system that works. In other words, the system worked through performance legitimacy. If your performance is found to be lacking, you lose legitimacy. This seems to me a fine way to do things.</p><p>My two hypotheses: One, the world is now fractured. COVID-19 is just one more of a series of terrible disruptions. Two, everyone seeks to advance their own self-interests. We don’t have to either castigate or apologise for the Great Powers wanting to do so. Middle powers, lesser nations, everyone does it — why fault Great Powers for doing what all the rest of us also do? Indeed, that’s what we all should do. This, however, does not mean the world has to fall into chaos and disorder. Quite the opposite.</p><p>Obviously, my fellow panelists did not agree with all that I said.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=98d88fa07c9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Pandoc Markdown-PDF Workflow for Routine, Not Especially Technical Writing]]></title>
            <link>https://1dannyquah.medium.com/my-pandoc-markdown-pdf-workflow-for-routine-not-especially-technical-writing-317169b0fb6a?source=rss-ab2f81571f3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/317169b0fb6a</guid>
            <category><![CDATA[markdown]]></category>
            <category><![CDATA[pandoc]]></category>
            <category><![CDATA[yaml]]></category>
            <category><![CDATA[latex]]></category>
            <dc:creator><![CDATA[Danny Quah]]></dc:creator>
            <pubDate>Mon, 10 Aug 2020 01:16:43 GMT</pubDate>
            <atom:updated>2020-08-10T06:24:54.459Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HUo_sb_8KDLe4XeG.png" /></figure><p>by Danny Quah Aug 2020</p><p><em>TL;DR: I write technical articles in LaTeX. But shorter, non-technical writings are easier to do in Markdown. How do I produce PDF from Markdown documents? Answer: provide YAML information in the Markdown; run Pandoc (typically through a Makefile or Atom’s Markdown Preview Enhanced). To make all this work, some adjustment is needed in Pandoc options and template files.</em></p><p>Pandoc is a filter that takes a written document in its given format, and produces a version of that same document in yet a different format. I use Pandoc primarily to transform Markdown documents to PDF, but I also draw on Pandoc to convert Word or ODT documents to Markdown. Or vice versa.</p><p>Available official Pandoc documentation is voluminous. So as a matter of logic the knowledge to generate PDF from Markdown, to the user’s desired degree of control, is already extant, out there somewhere. But a user just beginning might not find a good starting point, and without the ability to produce something useful quickly to show for their efforts, that user can lose the incentive to discover more, experiment, and improve. This writeup provides such a starting point for the beginner.</p><h3>Pandoc Basics</h3><p>To do its job, Pandoc has many options available from the command line. Using those can be as easy as just:</p><pre>$ pandoc --read=odt --write=markdown oldarchive.odt -o mydocument.md</pre><p>In this example, the input is the Open Document format file oldarchive.odt; output the Markdown document mydocument.md. Alternatively, I might have wanted the instruction:</p><pre>$ pandoc --read=markdown --write=docx oldarchive.md -o mydocument.docx</pre><p>where now input is the Markdown file oldarchive.md and output the Word document mydocument.docx.</p><p>The conversion will never be perfect, but in many cases the result provides a fine starting point for further fine-tuning.</p><h3>Underlying Attributes</h3><p>In the two examples just given, what you see when you render or display the input file, whether on-screen or on paper, is also approximately what you will see when you display the output file. In many Pandoc applications, that is all the user wants. The user, or their collaborators, will thereafter seek to make further changes only by editing the output file.</p><p>I myself prefer to edit Markdown directly but the people I work with insist on using Word. So I convert my Markdown file to docx, and thereafter that latter document is what we hand back and forth in our editing.</p><p>When the output is PDF, however, the result is no longer to be edited. Or, more accurately, to change the output file, users do not operate on the output file directly. Instead, a user will go back to the input file, make the alterations there, and then re-execute Pandoc to produce a new PDF. The PDF is just for show.</p><p>This workflow having the PDF endpoint will be familiar to TeX users. With Pandoc, however, it is not just TeX or its relatives that can provide input for beautifully structured PDFs. Markdown documents can provide that input as well. Since Markdown is lighter-weight than TeX, it will not of course do everything that the latter can. However, for many routine, not especially technical documents, Markdown provides a fine input engine as an alternative to TeX. The actual process is one where the Markdown document gets translated into LaTeX code, and then that result is fed into LaTeX itself.</p><p>(A purist who insists on writing everything in TeX might remember that LaTeX stands in relation to TeX much as I’ve described for Markdown, except that LaTeX is higher-up in the hierarchy and thus closer to TeX. But, again, for many routine, not especially technical writing, Markdown is already perfectly serviceable. Pandoc can be viewed as akin to lex and yacc for programmers. Who wants to code their own lexical analyzer in C from scratch every single time?)</p><p>Here, however, is both opportunity and potential pitfall. LaTeX and TeX are not translators that operate character by character or paragraph by paragraph. Instead, how they work is through structure. But how does structural information get conveyed from Markdown to LaTeX? Where in a Markdown document is encoded, in a single place, the information that, perhaps, every second-level heading is followed by a mediumskip? Or that all figures should float but be placed towards the top of the page closest to where they are first referenced?</p><p>This last feature might be observed to be empirically true in a specific document, but was that the intention of the author? Or did the figures just happen to come out that way? How can the author convey the information on what they intend here, in a way that Pandoc and thereafter LaTeX can use?</p><p>The answer is two-fold: first, through YAML information; second, through template files.</p><h3>Markdown to PDF via LaTeX</h3><p>For generating PDF, Pandoc will, behind the scenes, call on LaTeX or a related program. Pandoc can, to a great extent, do all this invisibly, but obviously those programs need to be installed somewhere on your system.</p><p>Any Markdown document can begin with YAML information, i.e., a section that starts and ends with three dashes in sequence on a line by themselves. In between those, individual lines contain key-value pairs that provide structural information on the document. Thus, a simple YAML header might be:</p><pre>fileName: Pandoc-2020.08.md<br># Last-edited: Sun 2020.08.09.1841 -- Danny Quah (me@DannyQuah.com)<br>Type: Notes<br>Tags: Software<br># Created: Sun 2020.08.09.1517 -- Danny Quah (me@DannyQuah.com)</pre><p>(preceded and ending with the three-dash sequence lines, of course). Like Python, YAML takes whitespace indentation to be significant. Comments are introduced by the # symbol, and are ignored by the processor.</p><p>As with the #-introduced comments, however, as far as Markdown rendering is concerned, the YAML key-value pairs too are ignored. Indeed, on most systems, <em>all</em> YAML information is ignored by Markdown. If you have a file containing just the above lines in, say, the file file.md, opening this file with a Markdown previewer typically shows the file contains nothing to display. Typora will open up file.md and display the YAML header but in non-editable form. Similarly Github. (So, to edit YAML, you&#39;ll need to open the file with a text editor like Vim or Atom or simiar.)</p><p>But if YAML is ignored, what is the point to it? Here is what’s critical: YAML is used by Pandoc and by LaTeX when these two generate a PDF document from Markdown. YAML information is read off the Markdown document by Pandoc, gets passed by Pandoc to LaTeX, and with the latter employing YAML’s key-value pairs as directives for structuring the document.</p><p>Thus, in many of my Markdown files destined for PDF output, the YAML header contains also:</p><pre>## Front Matter<br>title: Readable Title for My Article<br>author:<br>  - name: Danny Quah<br>    affiliation: Lee Kuan Yew School of Public Policy, NUS<br>    email: D.Quah@nus.edu.sg<br>    number: 1<br>  - name: My Coauthor<br>    affiliation: Economics Department, NUS<br>    email: ecsdqlsh@nus.edu.sg<br>    number: 2<br>date: June 2020<br># abstract:<br># keywords:<br># thanks:</pre><pre>## Formatting<br>fontsize: 12pt<br># mainfont: &quot;gentium&quot; # See https://fonts.google.com/ for fonts<br># sansfont: &quot;Raleway&quot;<br># monofont: &quot;IBM Plex Mono&quot;<br>mathfont: ccmath<br># fontfamily: concrete | gentium | libertine<br># documentclass: article | scrartcl<br>fontfamily: concrete<br>documentclass: article<br>classoption:<br>  - notitlepage<br>  - onecolumn<br>fontenc: T1<br>geometry:<br>  - a4paper<br>  - top=35mm<br>  - left=30mm<br>  - heightrounded<br>header-includes:<br>- |<br>  ```{=latex}<br>  \usepackage{amsmath,amsfonts,euscript,tikz,fancyhdr,float}<br>  \floatplacement{figure}{H}<br>  ```<br>pagestyle: headings</pre><p>(obviously somewhere between the beginning and ending 3-dash --- lines).</p><p>This is almost all it takes to generate a sensible-looking PDF from my Markdown document. The problem that remains is the author key-value pair. The \maketitle command in LaTeX does not understand affiliation and email keys, only author. Thus, how above I have written the author information, to include affiliation and email explicitly, will fail on the standard Pandoc latex template. Instead, the YAML key-value pair needs to be</p><pre>author:<br>  - Danny Quah `\\\\`{=latex} Lee Kuan Yew School of Public Policy, NUS `\\\\`{=latex} D.Quah@nus.edu.sg</pre><p>so that to add a second author, write:</p><pre>author:<br>  - Danny Quah `\\\\`{=latex} Lee Kuan Yew School of Public Policy, NUS `\\\\`{=latex} D.Quah@nus.edu.sg<br>  - My Coauthor `\\\\`{=latex} Economics Department, NUS `\\\\`{=latex} ecsdqlsh@nus.edu.sg</pre><p>This works for me.</p><p>It can be neater, however, to separate out affiliation and email information explicitly, as in the YAML above. To use that then, the latex template that Pandoc uses will need to be modified.</p><p>First, generate the default latex template that will subsequently be changed:</p><pre>$ pandoc -D latex &gt; mytemplate.tex</pre><p>I put mytemplate.tex in ~/.pandoc/templates/ as that latter is the default personal folder that will be recognised subsequently by the Pandoc option</p><pre>--template=mytemplate.tex</pre><p>Now open up mytemplate.tex in a text editor and change the statement (or recognisable statement block) from:</p><pre>\author{$for(author)$$author$$sep$ \and $endfor$}</pre><p>to</p><pre>$if(author)$<br>    \usepackage{authblk}<br>    $for(author)$<br>        $if(author.name)$<br>            $if(author.number)$<br>                \author[$author.number$]{$author.name$}<br>            $else$<br>                \author[]{$author.name$}<br>            $endif$<br>            $if(author.affiliation)$<br>                $if(author.email)$<br>                    \affil{$author.affiliation$ \thanks{$author.email$}}<br>                $else$<br>                    \affil{$author.affiliation$}<br>                $endif$<br>            $endif$<br>            $else$<br>            \author{$author$}<br>        $endif$<br>    $endfor$<br>$endif$</pre><p>As you can see, the replacement code contains reference to affiliation and email, as in the YAML header, but which is not generally available in LaTeX. What makes this work is that the replacement code also loads in the package authbok (in its second line), that will then properly situate the affiliation and email key-values when the LaTeX \maketitle instruction is invoked.</p><p>If you decide to use the more elaborate, compacted YAML header and not change the latex template, then</p><pre>$ pandoc --standalone --read=markdown --write=pdf --pdfengine=pdflatex myinput.md -o myinput.pdf</pre><p>produces the desired myinput.pdf. If, however, you decide to use the more explicit and structured affiliation and email YAML header and the modified mytemplate.tex then use</p><pre>$ pandoc --standalone --read=markdown --write=pdf --template=mytemplate.tex --pdfengine=pdflatex myinput.md -o myinput.pdf</pre><p>instead, i.e., add the explicit new --template to your Pandoc call.</p><p>If you want to inspect the LaTeX code that’s produced along the way, you can undertake this production in two steps:</p><pre>$ pandoc --standalone --read=markdown --write=latex+raw_tex myinput.md -o myinput.tex<br>$ pdflatex myinput.tex &amp;&gt;/dev/null</pre><p>adding in --template=mytemplate.tex as needed in the pandoc call.</p><h3>References</h3><p><a href="https://maehr.github.io/academic-pandoc-template/">https://maehr.github.io/academic-pandoc-template/</a></p><p><a href="https://learnbyexample.github.io/tutorial/ebook-generation/customizing-pandoc/">https://learnbyexample.github.io/tutorial/ebook-generation/customizing-pandoc/</a></p><p><a href="https://pandoc.org/MANUAL.html#extension-pandoc_title_block">https://pandoc.org/MANUAL.html#extension-pandoc_title_block</a></p><p><a href="https://uoftcoders.github.io/studyGroup/lessons/misc/pandoc-intro/lesson/">https://uoftcoders.github.io/studyGroup/lessons/misc/pandoc-intro/lesson/</a></p><p><a href="https://opensource.com/article/18/9/pandoc-research-paper">https://opensource.com/article/18/9/pandoc-research-paper</a></p><p><a href="https://en.wikibooks.org/wiki/LaTeX/Title_Creation">https://en.wikibooks.org/wiki/LaTeX/Title_Creation</a></p><p><em>Originally published at </em><a href="https://gist.github.com/DannyQuah/04b46cd583f0e87cea7b5009adfb9c5d"><em>http://github.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=317169b0fb6a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pulse Secure Client on Ubuntu Linux]]></title>
            <link>https://1dannyquah.medium.com/pulse-secure-client-on-ubuntu-linux-fb5d4518d077?source=rss-ab2f81571f3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb5d4518d077</guid>
            <category><![CDATA[vpn]]></category>
            <category><![CDATA[pulse]]></category>
            <category><![CDATA[galliumos]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[Danny Quah]]></dc:creator>
            <pubDate>Fri, 05 Jun 2020 09:29:42 GMT</pubDate>
            <atom:updated>2020-10-11T12:51:14.082Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S9dkrABsHTBGPzXU.png" /></figure><p>by</p><p>Danny Quah</p><p>June 2020</p><p>Pulse Secure Client is a VPN client that allows secure connection to a Pulse Connect Secure SSL VPN gateway. Many universities use that latter for faculty, staff, and student access to their computer systems. However, because Linux comes in many different flavors, the standard Pulse Secure Client installer does not always run to completion. (For one, <a href="https://remote.uwo.ca/downloads/PulseSecureVPNclientonLinux.pdf">UWO.ca</a> suggests “PulseSecure’s understanding of Linux package managers and distributions in general seems very limited.”) The user is then either forced to use a Windows machine, somehow, or fail VPN access when traveling with their Linux notebook.</p><p>This Gist describes the steps I took to install Pulse Secure Client on my Ubuntu-based Linux machines, including a Pixelbook running GalliumOS 3.1 and Dell desktops running Ubuntu 18.04 and 20.04. Other writeups elsewhere that I’ve looked at describe the same problems I encountered, but were either out-dated, overly localised, or did not provide me the critical information I needed to complete the job.</p><p>The Pulse Secure Client itself is typically provided somewhere on an organisation’s file servers. Retrieve that (sometimes that needs to be unzipped or otherwise extracted, so I don’t assume being able to get it using just a wget or curl). In my case, I retrieved onto my local disk from my university&#39;s servers the file pulse-9.1R5.x86_64.deb for my 64-bit machines. Of course, by when this Gist is read, the latest version will almost surely have different numbers, but the filename will likely retain still some resemblance.</p><p>Start to install Pulse Secure Client with:</p><pre>$ sudo dpkg --install pulse-9.1R5.x86_64.deb</pre><p>If that works with no error messages, you’re done.</p><p>Typically, however, the script detects missing dependencies and asks that the user execute:</p><pre>$ sudo /usr/local/pulse/PulseClient_x86_64.sh install_dependency_packages</pre><p>Go ahead and try that. Again, if no error messages appear, then you’re good to go.</p><p>However, all my systems at this point show some combination of errors including:</p><pre>cannot remove /usr/local/pulse/libwebp.so.6: No such file or directory</pre><p>and references to unary operators expected (when, for instance, the shell script is unable to find a correct OS/release label and replaces it instead with just a blank).</p><p>From here, I took advice from <a href="https://remote.uwo.ca/downloads/PulseSecureVPNclientonLinux.pdf">UWO.ca</a> and <a href="https://gist.github.com/eugenetriguba/beb90e0bca7e5299436693d9b74a9853">Tribuga</a>, but updated and modified to run the following by hand. The critical difference in the below is whether libwebkitgtk-1.0 is available on your system (GalliumOS 3.1; Ubuntu 18.04; and possibly others) or is not (Ubuntu 20.04 and possibly others).</p><p>1. On one of my systems, doing this:</p><pre>$ sudo apt install libproxy1-plugin-webkit<br>$ sudo apt install libwebkitgtk-1.0</pre><p>sufficed.</p><p>2. On others I had to execute:</p><pre>$ sudo apt install lib32z1 <br>$ sudo apt install libwebkitgtk-1.0<br>$ sudo apt install libproxy1v5 <br>$ sudo apt install libproxy1-plugin-gsettings<br>$ sudo apt install libproxy1-plugin-webkit<br>$ sudo apt install libdconf1 <br>$ sudo apt install dconf-gsettings-backend</pre><p>(with some systems asserting that some of what I was attempting to install was already present and up to date; this is of course without harm).</p><p>Whichever of 1.-2. above works for you, however, Pulse Secure Client is now available.</p><p>You’ll find that an entry has been created in your App drawer or menu with the appropriate name, and containing:</p><p>/usr/bin/env LD_LIBRARY_PATH=/usr/local/pulse:$LD_LIBRARY_PATH /usr/local/pulse/pulseUi</p><p>Run that. Alternatively, doing:</p><pre>$ LD_LIBRARY_PATH=/usr/local/pulse:$LD_LIBRARY_PATH <br>$ /usr/local/pulse/pulseUi &amp;</pre><p>should give you the VPN sign-on screen, from where you can now fill in your organisation’s VPN specifics.</p><p>3. On Ubuntu 20.04, however, neither of the above works. The key problem is libwebkitgtk-1.0.so.0 is not in Ubuntu 20.04. A number of solutions suggest ways to install that library nonetheless. These proposals range from temporarily telling your system it&#39;s an 18.04 machine; to pointing to 18.04 repositories, and then switching back; and so on (e.g., <a href="https://community.pulsesecure.net/t5/Pulse-Desktop-Clients/pulseUi-doesn-t-work-in-ubuntu-20-04/td-p/42721">Pulse-Secure-42721</a>).<br>I prefer not to inter-mingle libraries on my machine. So I chose to install what was needed, not in my general load library locations, but instead only in a subfolder of /usr/local/pulse, and then telling PulseSecure to look there. To do this I followed <a href="https://gist.github.com/eugenetriguba/beb90e0bca7e5299436693d9b74a9853">Tribuga</a>:</p><pre>$ cd /usr/local/pulse<br>$ sudo mkdir debs extra<br>#Get needed packages and store them in the debs/ folder<br>$ cd ./debs<br>$ sudo wget http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu60_60.2-3ubuntu3_amd64.deb <br>$ sudo wget http://archive.ubuntu.com/ubuntu/pool/universe/w/webkitgtk/libjavascriptcoregtk-1.0-0_2.4.11-3ubuntu3_amd64.deb<br>$ sudo wget http://archive.ubuntu.com/ubuntu/pool/universe/w/webkitgtk/libwebkitgtk-1.0-0_2.4.11-3ubuntu3_amd64.deb<br>#Extract those just downloaded into the extra/ folder<br>$ cd ..<br>$ sudo dpkg -x debs/ ./extra<br>$ sudo dpkg -x debs/ ./extra<br>$ sudo dpkg -x debs/ ./extra<br>#adjust your load library path<br>$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/</pre><p>My system already had libenchant1c2a. If yours does not, install it with</p><pre>$ sudo apt install libenchant1c2a</pre><p>You’re now good to go. However, again as in 1.-2. above, depending on how you launch PulseSecure pulseUi generally, you might want to make your launch script aware of these new load libraries. The leading way of doing this by adjusting the invocation line. On some machines, I right-click PulseSecure in my Apps Launcher and Edit Application to change the command line to</p><pre>/usr/bin/env LD_LIBRARY_PATH=/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH /usr/local/pulse/pulseUi</pre><p>On Ubuntu 20.04 more generally, navigate to /usr/share/applications, and sudo edit pulseUi.desktop so its Exec line is, as above,</p><pre>/usr/bin/env LD_LIBRARY_PATH=/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH /usr/local/pulse/pulseUi</pre><p>References:</p><ol><li><a href="https://remote.uwo.ca/downloads/PulseSecureVPNclientonLinux.pdf">UWO.ca</a></li><li><a href="https://gist.github.com/eugenetriguba/beb90e0bca7e5299436693d9b74a9853">Tribuga</a></li><li><a href="https://community.pulsesecure.net/t5/Pulse-Desktop-Clients/pulseUi-doesn-t-work-in-ubuntu-20-04/td-p/42721">Pulse-Secure-42721</a></li></ol><p><em>Originally published at </em><a href="https://gist.github.com/DannyQuah/44df50362677ce7eb2c6fe1546dbef72"><em>http://github.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb5d4518d077" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Keeping people from dying is good for business]]></title>
            <link>https://1dannyquah.medium.com/keeping-people-from-dying-is-good-for-business-9aa5b6a93a46?source=rss-ab2f81571f3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/9aa5b6a93a46</guid>
            <category><![CDATA[covid-19-crisis]]></category>
            <category><![CDATA[prevention-paradox]]></category>
            <category><![CDATA[externalities]]></category>
            <category><![CDATA[mortality]]></category>
            <category><![CDATA[employment]]></category>
            <dc:creator><![CDATA[Danny Quah]]></dc:creator>
            <pubDate>Mon, 18 May 2020 14:03:18 GMT</pubDate>
            <atom:updated>2020-05-18T14:03:18.152Z</atom:updated>
            <content:encoded><![CDATA[<p>Or, the Prevention Paradox in Public Health is an instance of Externalities in Economics (or more generally of Emergence in Complexity Analysis).</p><p>by</p><p>Danny Quah</p><p>May 2020</p><p>Historical evidence on the 1918 Flu, analysed by Correia et al, shows those US cities that afterwards experienced sustained higher manufacturing employment growth had also (1) seen lower mortality from the epidemic; and (2) put in place stronger public health intervention in the form of social distancing, quarantine, and lockdown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*kTS-nbr1lp9ZDYyhA5M5uA.png" /><figcaption>Graphic from Sergio Correia, Stephan Luck, and Emil Verner, “Fight the Pandemic, Save the Economy: Lessons from the 1918 Flu,” Federal Reserve Bank of New York Liberty Street Economics, March 27, 2020, <a href="https://libertystreeteconomics.newyorkfed.org/2020/03/fight-the-pandemic-save-the-economy-lessons-from-the-1918-flu.html">https://libertystreeteconomics.newyorkfed.org/2020/03/fight-the-pandemic-save-the-economy-lessons-from-the-1918-flu.html</a>.</figcaption></figure><p>In the 1918 Flu the cure wasn’t worse than the disease; the cure, sensibly enough, was what kept the disease in check. And the local economy thrived afterwards, when both public health intervention strengthened and fewer people died.</p><p>Why this systematic variation? If individuals and businesses rationally come to an assessment of the risks and hazards they face, shouldn’t employment growth after the pandemic be simply residual uncorrelated randomness? The reason is, in an epidemic, we cannot rely on individually-rational judgment leading to the right decision.</p><p>Non-pharmaceutical intervention such as social distancing, quarantine, and lockdown resolve a coordination problem when people don’t take into account how their individual actions spill over into community well-being. Left to their own devices, people might be pretty good at assessing risk to themselves. However, they also systematically over-discount the resulting risk to those around them and to society more generally. Inadvertently spreading flu will result in excessively-reduced consumption and overly-lowered labour supply (i.e., negatively affecting both demand and supply) in an externality-driven way, i.e., in aggregate more than an individual assesses probabilities for themselves.</p><p>What economists call externalities turns out to be what public health specialists call the Prevention Paradox: “a preventative measure has a high health benefit for the overall population but is seen to be doing little good for the individual”. Hence, individuals rebel — quietly or in some cases not so quietly — against public health measures that are, paradoxically, in their self-interest to accept.</p><p>In Correia et al’s analysis, the key East-West variation that drove policy responses across US cities during the 1918 Flu is that America’s Western cities learned from the experiences of Eastern ones: the East suffered the epidemic earlier. Then when it came their turn, Western cities took more effective policy measures.</p><p>Stepping outside the 1918 historical analysis, unfortunately, this timeseries variation seems to have been negated in the current COVID-19 pandemic. Policy-makers in many Western nations seem not to have taken seriously and quickly enough lessons learnt in the earlier-affected East about the effectiveness of contact-tracing, testing, and social distancing; about the possibility of multiple waves; and about the aggregate danger of pockets of social congestion — whether those be foreign workers in dormitories; fellow citizens packed together in favelas, slums, ghettos, congested public housing, prisons, or old-age retiree homes; or even rich people banded together in gated communities or high-rise luxury enclaves.</p><p>As more studies like Correia et al’s sharpen understanding on the parameter values regulating the efficient frontier of employment, mortality, and social distancing, so too will policy-makers be able better to work out the sequencing needed to recover from lockdown.</p><p>Graphic from Sergio Correia, Stephan Luck, and Emil Verner, “Fight the Pandemic, Save the Economy: Lessons from the 1918 Flu,” Federal Reserve Bank of New York Liberty Street Economics, March 27, 2020, <a href="https://libertystreeteconomics.newyorkfed.org/2020/03/fight-the-pandemic-save-the-economy-lessons-from-the-1918-flu.html">https://libertystreeteconomics.newyorkfed.org/2020/03/fight-the-pandemic-save-the-economy-lessons-from-the-1918-flu.html</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9aa5b6a93a46" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quah-D-2020.05-World-Official-Notice-COVID-19-Human-Transmission-High-Infection]]></title>
            <link>https://1dannyquah.medium.com/quah-d-2020-05-world-official-notice-covid-19-human-transmission-high-infection-ec9ffbb4ce77?source=rss-ab2f81571f3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec9ffbb4ce77</guid>
            <category><![CDATA[usa]]></category>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[china]]></category>
            <category><![CDATA[pheic]]></category>
            <category><![CDATA[world-health-organization]]></category>
            <dc:creator><![CDATA[Danny Quah]]></dc:creator>
            <pubDate>Mon, 11 May 2020 08:10:17 GMT</pubDate>
            <atom:updated>2020-05-12T12:36:56.857Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>When was the world given official notice about the novel coronavirus’s human-to-human transmission and high infection rates?</strong></h3><p>by</p><p>Danny Quah</p><p>May 2020</p><p>Wasn’t it already too late by 12 Mar 2020 when WHO declared the COVID-19 outbreak a pandemic? Did backroom geopoliticking lead WHO’s Director-General Dr Tedros Adhanom Ghebreyesus to delay warning the world? Did this timing mean that WHO and Tedros were responsible for wrong-footing nations across the world in preparing for the COVID-19 crisis? Did the world lose precious weeks when it should have been readying defenses against the coronavirus outbreak at least since January?</p><p>While the word “pandemic” catches the public imagination, that 12 Mar declaration actually carried little significance for international policy-making.</p><p>Instead, what really mattered was the earlier 30 Jan 2020 Public Health Emergency of International Concern (PHEIC) declaration. It is PHEIC that bears implications for international acts in health ministries and agencies across nations. So the right sequence of events to study for WHO and national responses is that around WHO’s PHEIC Declaration.</p><p>In late January a week before declaring PHEIC, WHO had called two meetings of its International Health Regulations (2005) Emergency Committee, one on 22 Jan 2020, and then the next the day after. The IHR Emergency Committee advises WHO’s Director-General on, among other things, the determination of PHEIC. These 22–23 Jan meetings included representation from the US, China, Japan, Thailand, France, the Netherlands, Canada, Australia, Thailand, and Singapore, among elsewhere. By implication, therefore, all these nations and likely others were already fully apprised of the COVID-19 situation.</p><p>At the 23 Jan 2020 meeting China presented to the IHR Emergency Committee data on death rates, the rise in confirmed cases, and the provinces affected by the novel coronavirus. The Committee noted both human-to-human transmission and a preliminary $R_0$ estimate of 1.4–2.5. But Committee members disagreed on whether PHEIC declaration was warranted, primarily because of the latter’s restrictive, binary nature. The Committee suggested WHO might consider a more nuanced system that could reflect varying levels of alertness and severity, rather than just PHEIC / no PHEIC. The outcome, however, was that, based on the evidence presented, the divided Emergency Committee gave no clear direction to the Director-General. By some accounts, it would have been highly inappropriate for Dr Tedros and WHO to override this advice for circumspection given them by the Committee.</p><p>The following day, 24 Jan 2020, The Lancet — among the world’s oldest and best known of general medical journals — published a coronavirus article by Chinese scientists carrying three important features. The publication (1) described pandemic potential; (2) reported high mortality with evidence of efficient human transmission, and (3) recommended testing upon suspicion and personal protective equipment for healthcare workers.</p><p>To summarise the evidence, first WHO’s IHR Emergency Committee, comprised of national representatives from around the world, were apprised of the dangers due to the novel coronavirus, and failed to recommend PHEIC declaration; second, an article in The Lancet presented scientific evidence on the novel coronavirus that pointed to an imminent global health situation fraught with danger.</p><p>Some nations (Singapore for one) began to take precautionary measures immediately. But most others did not.</p><p>WHO called another IHR Emergency Committee meeting a week later. At this 30 Jan meeting the decision was taken to declare PHEIC. With hindsight, observers might fault WHO for not earlier setting aside instruction from its own IRH Emergency Committee. If WHO had done so, there might have seven days more of warning the world had. However, if we denote 30 Jan 2020’s PHEIC Declaration as day 0, many nations did not exactly try to make up for that lost week:</p><ul><li>Day +1: Italian government suspended all flights between Italy and China, and declared a state of emergency to last six months.</li><li>Day +2: Trump announced travel restrictions on people coming from China; the US declares a public health emergency.</li><li>(Over a month passes, then …)</li><li>Day +41: India’s Health Ministry said the coronavirus “is not a health emergency”.</li><li>Day +43: Trump declared national emergency. UK described its strategy of herd immunity (reversing it only over that next weekend).</li><li>Day +46: Spain declared state of emergency.</li><li>Day +47: France declared strict national lockdown.</li><li>Day +49: COVID-19 deaths in Italy first exceeded those in China. Taiwan closed its borders to nonresidents.</li><li>Day +52: Germany issued strict social distancing measures but not lockdown.</li><li>Day +54: Modi announced on TV at 2000h that from midnight all of India would be under lockdown; all markets, closed; all transportation disallowed.</li></ul><p>What PHEIC does, <a href="https://www.who.int/ihr/procedures/pheic/en/">according to the WHO website</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*3vTR97rqIOjp39-2VFaIqA.png" /></figure><p>The role of the <a href="https://www.who.int/ihr/procedures/ihr_committees/en/">International Health Regulations (2005) IHR Emergency Committee</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*OaB89hHh4eCSVjUWpKXIRg.png" /></figure><p>From the <a href="https://www.who.int/news-room/detail/23-01-2020-statement-on-the-meeting-of-the-international-health-regulations-(2005)-emergency-committee-regarding-the-outbreak-of-novel-coronavirus-(2019-ncov)">22–23 Jan 2020 meetings of the IHR Emergency Commitee</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*6K2ssGfCK1viBcAKPYXsLQ.jpeg" /></figure><p><a href="https://www.who.int/ihr/procedures/novel-coronavirus-2019/ec-22012020-members/en/">IHR membership recorded for the 23 January 2020 meeting</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*Y-eSyohBKe7SVP2TM6KMzg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*xtjnbg_vYFv2SnfYhNmrqg.jpeg" /></figure><p><strong>References</strong></p><ol><li><a href="https://medium.com/@1DannyQuah/who-did-what-when-the-covid-19-angle-ebaa298ab67e">Quah-D-2020.05-WHO-What-When-Medium</a></li><li><a href="https://time.com/5774747/coronavirus-who-public-health-emergency/">Time-2020.01.30-PHEIC-WHO</a></li><li><a href="https://www.statnews.com/2020/04/08/trump-faulted-who-coronavirus-response-guided-by-rules-u-s-helped-write/">Branswell-H-2020.04-WHO-Rules</a></li><li><a href="https://www.who.int/ihr/procedures/pheic/en/">WHO-IHR-Procedures-PHEIC</a></li><li><a href="https://www.who.int/ihr/procedures/ihr_committees/en/">WHO-IHR-Committees</a></li><li><a href="https://www.who.int/news-room/detail/23-01-2020-statement-on-the-meeting-of-the-international-health-regulations-(2005)-emergency-committee-regarding-the-outbreak-of-novel-coronavirus-(2019-ncov)">WHO-2020.01.23-Emergency-Committee-divided</a></li><li><a href="https://www.who.int/news-room/detail/30-01-2020-statement-on-the-second-meeting-of-the-international-health-regulations-(2005)-emergency-committee-regarding-the-outbreak-of-novel-coronavirus-(2019-ncov)">WHO-2020.01.30-Emergency-Committee-PHEIC</a></li><li><a href="https://www.who.int/ihr/procedures/novel-coronavirus-2019/en/">WHO-Novel-Coronavirus-2019</a></li><li><a href="https://www.who.int/ihr/procedures/novel-coronavirus-2019/ec-22012020-members/en/">WHO-IHR-Emergency-Committee-2020.01</a></li></ol><p><em>Originally published at </em><a href="https://gist.github.com/DannyQuah/91e65c62bbccd7fcf89303a348ba9248"><em>http://github.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec9ffbb4ce77" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Managing Gists Locally]]></title>
            <link>https://1dannyquah.medium.com/managing-gists-locally-80460394b161?source=rss-ab2f81571f3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/80460394b161</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[filesystem]]></category>
            <category><![CDATA[gist]]></category>
            <category><![CDATA[local]]></category>
            <dc:creator><![CDATA[Danny Quah]]></dc:creator>
            <pubDate>Sat, 09 May 2020 06:55:07 GMT</pubDate>
            <atom:updated>2020-05-09T07:40:42.295Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sMlYM-RbzRPs2HU3.png" /></figure><p>by Danny Quah, May 2020</p><p>Through the Embed instruction or plugin, Gist snippets on GitHub can conveniently provide posts on Medium, WordPress, and elsewhere supplementary information (lines of code, images, Markdown-created tables, and so on). But while Gist snippets on GitHub can be managed directly via browser or through something like <a href="https://www.gistoapp.com/">Gisto</a>, a user might also wish to manipulate them offline. This last is for many of the same reasons that a user seeks to clone a git repo to their local filesystem, modify it locally, and then only subsequently push changes back up to GitHub.</p><p>Here’s how to do this:</p><p>Create the gist on GitHub and then clone it to your local filesystem:</p><pre>$ git clone <a href="https://gist.github.com/DannyQuah/5f43f9b75970bc4e357e42c7c9214b5d">https://gist.github.com/DannyQuah/5f43f9b75970bc4e357e42c7c9214b5d</a></pre><p>Locally, rename that folder however you wish (or just leave it as that long string):</p><pre>$ mv -i 5f43f9b75970bc4e357e42c7c9214b5d localGistFolder</pre><p>Work on the file inside localGistFolder/; and then, whenever ready, as usual do:</p><pre>$ # changes ... <br>$ git commit -m &quot;The new changes&quot; <br>$ git push</pre><p>Using the feature that a git repo on the local filesystem can be associated with multiple remotes on GitHub, it is possible also, alternatively and optionally, to get fancy by saving both a gist and a git repo on GitHub. Doing so follows <a href="https://gist.github.com/ishu3101/830b556b487de5d69690">Ishu3101</a>.</p><p>(In the sequel, anything that begins my should be named however the user prefers.)</p><p>After the steps above also create on GitHub a new git repo myGistProject; then from inside localGistFolder/ add that new GitHub repo as a remote, labelling it myGitHub for git use, i.e.,</p><pre>$ git remote add myGithub <a href="https://github.com/DannyQuah/myGistProject">https://github.com/DannyQuah/myGistProject</a></pre><p>Push to the new repository on GitHub</p><pre>$ git push myGithub master</pre><p>Keep things parallel by renaming the remote of the Gist snippet: origin is where this had come from, so now instead call it myGist</p><pre>$ git remote rename origin myGist</pre><p>Now each time push either to myGithub or myGist (or both, obviously):</p><pre>$ # changes ...<br>$ git commit -m &quot;The new changes&quot; <br>$ git push myGithub master # to github <br>$ git push myGist master # to gist</pre><p>Prosper.</p><p><em>Originally published at </em><a href="https://gist.github.com/DannyQuah/5f43f9b75970bc4e357e42c7c9214b5d"><em>http://github.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80460394b161" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WHO Did What When: The COVID-19 Angle]]></title>
            <link>https://1dannyquah.medium.com/who-did-what-when-the-covid-19-angle-ebaa298ab67e?source=rss-ab2f81571f3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ebaa298ab67e</guid>
            <category><![CDATA[world-health-organisation]]></category>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[china]]></category>
            <category><![CDATA[usa]]></category>
            <dc:creator><![CDATA[Danny Quah]]></dc:creator>
            <pubDate>Thu, 07 May 2020 05:22:58 GMT</pubDate>
            <atom:updated>2020-05-10T10:33:01.367Z</atom:updated>
            <content:encoded><![CDATA[<p>In Geneva on Fri 01 May 2020 Director-General Dr Tedros Adhanom Ghebreyesus of the World Health Organisation defended the timeliness of his agency’s information dissemination on the novel coronavirus ( <a href="https://www.straitstimes.com/world/europe/emergency-declaration-gave-world-enough-time-says-who-chief">ST-2020.05.03-WHO-Declaration-Enough-Time</a>). Yet others have leveled charges against WHO of disinformation, and indeed of “helping Communist China cover up […] the threat of the Coronavirus” ( <a href="https://www.wsj.com/articles/world-health-coronavirus-disinformation-11586122093">WSJ-2020.04.05-WHO-Coronavirus-Disinformation</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CEMBDf8_7nCWNJ4x.png" /></figure><p>This article only seeks to tabulate a relevant timeline on the beginnings of the coronavirus spread, WHO actions, and the most visible responses across different economies. Many consistent but different timelines are of course valuable to construct: each will be of greater interest to different audiences. Different nations will have different reasons for the policy measures they undertook: the account I give does not attempt to say there is one ideal modality of response to the COVID-19 outbreak.</p><p>Lockdowns and circuit-breakers — my focus in the tabulation — are of course not the only policy responses that have been valuable in countering COVID-19. But they (or commentary on their absence) provide the most visible, easily documentable response to help calibrate the timeliness of WHO’s actions, on the one hand, and, on the other, reactions in different economies around the world.</p><p>To conclude, the timeline below seeks to provide a basis for discussing WHO and different responses around the world, founded on a common understanding of facts. This article does not try to pre-judge an outcome on the dispute that began this writeup.</p><p>But if we are going to argue, let’s at least agree on the set of facts to begin. Any extract from the full tabulation will, by definition, be selective, even if all that it ends up doing is guide the eye to further details. If we count day 0 to be WHO’s declaration of a Public Health Emergency of International Concern, then an extract of the table is:</p><p>Day -19 — Chinese scientists published on open science networks — Virological.org and GenBank — the complete genome sequence of novel coronavirus (<a href="https://www.theguardian.com/commentisfree/2020/mar/18/coronavirus-uk-expert-advice-wrong">Horton</a>). China’s National Health Commission repeated its assertion of no evidence of human transmission and no medical worker infections.</p><p>Day -17 — China top officials secretly determined likely facing pandemic from novel coronavirus in Wuhan (<a href="https://apnews.com/68a9e1b91de4ffc166acd6012d82c2f9">AP</a>), but said nothing to the public. First case outside China recorded in Thailand (<a href="https://apnews.com/68a9e1b91de4ffc166acd6012d82c2f9">AP</a>).</p><p>Day -16 — WHO tweeted ‘no clear evidence of human-to-human transmission in China’.</p><p>Day -11 — China’s respiratory specialist Nanshan ZHONG announced human-human transmission <a href="https://coronavirus.jhu.edu/data/hubei-timeline">JHU</a>.</p><p>Day -10 — China’s President Xi Jin Ping warned the public that a pandemic was likely from a novel coronovirus (<a href="https://apnews.com/68a9e1b91de4ffc166acd6012d82c2f9">AP</a>).</p><p>Day -9 — First confirmed case in US, in Washington state; someone who had traveled from China the previous week (<a href="https://www.cbsnews.com/news/timeline-president-donald-trump-changing-statements-on-coronavirus/">CBS</a>).</p><p>Day -7 — China imposed lockdown on Wuhan (<a href="https://doi.org/10.1016/S0140-6736(20)30528-6">Lancet, 16 Mar 2020</a>, <a href="https://www.nytimes.com/2020/01/22/world/asia/china-coronavirus-travel.html">NYT 22 Jan 2020</a>, <a href="https://coronavirus.jhu.edu/data/hubei-timeline">JHU</a>). WHO’s Tedros recommends airport screening and testing facilities but not a travel ban.</p><p>Day -7 — WHO’s Emergency Committee heard China’s evidence on death rates, infection, and geographical spread associated with the novel coronavirus. The Committee noted both human-to-human transmission and a preliminary estimate of <em>R0</em> of between 1.4 and 2.5. However, the Committee — including representation from the US, China, Japan, Canada, France, and Australia — disagreed on whether a Public Health Emergency of International Concern should be declared. Instead, WHO was asked to consider a system that would be less restrictive, i.e., not just PHEIC/no PHEIC, but instead that allowed varying levels of threat and alarm.</p><p>Day -6 — <a href="https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(20)30183-5/fulltext">Lancet article</a> on coronavirus by Chinese scientists describing pandemic potential and high mortality with evidence of efficient human transmission, and recommending testing upon suspicion and personal protective equipment for healthcare workers.</p><p>Day -1 — Tedros praised China’s efforts to contain the virus, including locking down large parts of the country.</p><p>Day 0</p><p>Day +1 — Italian government suspended all flights between Italy and China; declared a state of emergency duration six months: The first EU member state to take such a precautionary measure.</p><p>Day +2 — Trump announced travel restrictions on people coming from China; US declared public health emergency (<a href="https://www.cbsnews.com/news/timeline-president-donald-trump-changing-statements-on-coronavirus/">CBS</a>).</p><p>Day +10 — Trump said, “The flu, in our country, kills from 25,000 people to 69,000 people a year,” suggesting the relative insignificance of the 15 COVID-19 cases thus far reported in the US (<a href="https://www.cbsnews.com/news/timeline-president-donald-trump-changing-statements-on-coronavirus/">CBS</a>)</p><p>Day +36 — US confirmed 402 new COVID-19 cases. Trump said, “Anybody that wants a test can get a test.” (<a href="https://www.cbsnews.com/news/timeline-president-donald-trump-changing-statements-on-coronavirus/">CBS</a>)</p><p>Day +41 — India’s Health Ministry said the coronavirus ‘is not a health emergency’.</p><p>Day +43 — US confirmed 2700 new cases. Trump declared national emergency (<a href="https://www.cbsnews.com/news/timeline-president-donald-trump-changing-statements-on-coronavirus/">CBS</a>)</p><p>Day +43 — The UK government described its strategy of herd immunity, allowing enough who are going to get mildly ill to become immune. This herd immunity strategy would be reversed after the weekend.</p><p>Day +44 — Spain declared state of emergency, restricting movement for over 46mn people, shutting non-essential businesses, and closing external borders with European neighbours. Disallowed outdoor movement (including exercise), except for pharmacy and grocery shopping. Police and military enforced the lockdown. <a href="https://www.dw.com/en/coronavirus-what-are-the-lockdown-measures-across-europe/a-52905137">DW-Europe-lockdown</a></p><p>Day 47 — France strict nationwide lockdown; residents allowed out only for grocery shopping <a href="https://www.dw.com/en/coronavirus-what-are-the-lockdown-measures-across-europe/a-52905137">DW-Europe-lockdown</a></p><p>Day 49 — Number of COVID-19 deaths in Italy first exceeded those in China (<a href="https://edition.cnn.com/2020/03/19/europe/italy-death-toll-intl/index.html">CNN</a>). Taiwan closes borders to noresidents.</p><p>Day 52 — Germany issued strict social distancing measures but not lockdown, although the individual states of Bavaria and Saarland did impose the latter on their residents <a href="https://www.dw.com/en/coronavirus-what-are-the-lockdown-measures-across-europe/a-52905137">DW-Europe-lockdown</a></p><p>Day 54 — Modi announced on TV at 2000h that from midnight all of India would be under lockdown; all markets closed; all transportation disallowed.</p><p>Day 55 — Trump suggested hydroxychloroquine as potential coronavirus treatment (<a href="https://www.cbsnews.com/news/timeline-president-donald-trump-changing-statements-on-coronavirus/">CBS</a>).</p><p>Day 56 — The US became the world’s lead nation in COVID-19 confirmed cases <a href="https://www.nytimes.com/2020/03/26/world/coronavirus-news.html">NYT</a>.</p><p>Day 57 — Belarus’s President Alexander Lukashenko called the coronavirus a “frenzy and psychosis”, suggesting citizens “hit the sauna, down some vodka, and get back to work” (<a href="https://www.msn.com/en-us/news/world/no-lockdown-here-belaruss-strongman-rejects-coronavirus-risks-he-suggests-saunas-and-vodka/ar-BB11NPRl">WP-2020.03</a>)</p><p>Day 58 — With most of Europe under lockdown, Sweden kept open kindergartens, bars, restaurants, sports clubs, hairdressers, although not universities and upper secondary schools. Gatherings allowed if no more than 50 (<a href="https://www.theguardian.com/world/2020/mar/28/as-the-rest-of-europe-lives-under-lockdown-sweden-keeps-calm-and-carries-on">G-2020.03.28-Sweden</a>). Putin ordered a month-long national holiday in Russia, so that the entire country took off from work. Tough new laws on local lockdown <a href="https://www.dw.com/en/coronavirus-what-are-the-lockdown-measures-across-europe/a-52905137">DW-Europe-lockdown</a>.</p><p>Day 76 — Brazil’s Jair Bolsonaro called the coronavirus “a media frenzy” and “a little flu”, criticising social isolation measures and the state governors who introduced them.</p><p>The table in detail:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/af5a90b60786dbff6414daa20b6028e3/href">https://medium.com/media/af5a90b60786dbff6414daa20b6028e3/href</a></iframe><p>The 31 Dec 2019 email from Taiwan has drawn considerable attention. So here is a screenshot (subsequently also tweeted by Taiwan’s Ministry of Health and Welfare, <a href="https://twitter.com/MOHW_Taiwan/status/1248915057188024320">11 Apr 2020</a>):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S5zzYgMw810Mpf0BLJLhaA.jpeg" /></figure><p><em>Originally published at </em><a href="http://www.dannyquah.com/writings/en/2020/05/07/who-did-what-when-the-covid-19-angle/"><em>http://www.dannyquah.com</em></a><em> on May 7, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ebaa298ab67e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“We read the labels on the bottles we found in the janitor’s closet.”]]></title>
            <link>https://1dannyquah.medium.com/we-read-the-labels-on-the-bottles-we-found-in-the-janitors-closet-4f853104e0f?source=rss-ab2f81571f3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f853104e0f</guid>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[academia]]></category>
            <dc:creator><![CDATA[Danny Quah]]></dc:creator>
            <pubDate>Sat, 25 Apr 2020 03:31:47 GMT</pubDate>
            <atom:updated>2020-04-25T03:37:50.316Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/994/0*J9rQwNFqlG4yfmy2.jpg" /></figure><p>Rules for publishing in high-impact, top journals:</p><ol><li>Make your conclusions strong and powerful, and easily understandable without jargon.</li><li>Have your research methodology pared-down, transparent, and quickly replicable.</li><li>Work on something important and interesting.</li></ol><p><em>Originally published at </em><a href="http://www.dannyquah.com/writings/en/2020/04/25/we-read-the-labels-on-the-bottles-we-found-in-the-janitors-closet/"><em>http://www.dannyquah.com</em></a><em> on April 25, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f853104e0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>