HNHacker News
TopNewBestAskShowJobs

delhanty

1,230 karma · joined April 12, 2014

https://x.com/delhanty

Moderate countabilist

Making DOG’s ModeLer (#DOGML)

dogml.eth - expiration date: 2072.09.14 at 17:07 (UTC+09:00)

submissionscomments
delhanty··on NestedText, a nice alternative to JSON, YAML, TOML
This is an interesting idea. I don't know whether it will take off.

One thought that occurred to me several times in the last year or so is that roughly the level of abstraction offered by NestedText might make sense as part of a hierarchy of abstractions that could be built on.

We already have that with text files. Because end-of-line character combinations are special, text files in a given encoding are already more structured than streams of characters.

So, assuming UTF-8 character encoding:

  CharacterStream
    Text (EOL character combinations)
      NestedText
        MyNestedTextFormat (domain specific semantics)
With non-text files, this has already happened more than once. For example, both Zip files and Sqlite files are used as base formats for specifying other formats.
delhanty··on What Is Math?
>Roger Penrose, the renowned British mathematical physicist, is a staunch Platonist ...

That statement surprised me!

Google told me that according to this biography by J J O'Connor and E F Robertson [0], Roger Penrose in a debate with Stephen Hawking in 1994 self-described as a realist rather than a Platonist. They quote Penrose as follows:

>At the beginning of this debate Stephen said that he thinks that he is a positivist, whereas I am a Platonist. I am happy with him being a positivist, but I think that the crucial point here is, rather, that I am a realist. Also, if one compares this debate with the famous debate of Bohr and Einstein, some seventy years ago, I should think that Stephen plays the role of Bohr, whereas I play Einstein's role! For Einstein argued that there should exist something like a real world, not necessarily represented by a wave function, whereas Bohr stressed that the wave function doesn't describe a "real" microworld but only "knowledge" that is useful for making predictions.

[0] https://mathshistory.st-andrews.ac.uk/Biographies/Penrose/

delhanty··on Just because it's there doesn't mean you should use it
Is Beldin really nitpicking you?

The way I read Beldin's comment was that it essentially agrees with your post. And HN's guidelines say:

>Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith.

delhanty··on Apple Terminates Epic Games' Developer Account
Unfortunately, supporting a brand as team sports is a thing like supporting a political party as team sports is.

HN is, hopefully, better than most places on the internet as there are lots of people willing to decide each issue on its merits, and also recalibrate their positions continually in the light of events,

delhanty··on An Update on MDN Web Docs
Pledged! (My email address is available via my profile.)

But also, for the 1st part, LOL! (IMO, HN needs to learn to laugh at itself from time-to-time.)

And also, for the 2nd part, thank you for organizing this. Because I'm bootstrapping for my retirement fund, I'm not particularly flush for cash, and so too often I'm a freeloader. This is great though - I hope you get it together.

One final thought is that Mozilla executives don't really deserve to be the custodians of MDN anymore, and so perhaps as a community we need to be looking for ways to liberate MDN from Mozilla. For example, the technical writer, rather than being a Mozilla employee, could be an independent MDN contributor collaborating with Mozillla employees, and contributing under CC-BY-SA 2.5. [0]

[0] https://developer.mozilla.org/en-US/docs/MDN/About

delhanty··on The AWS Controllers for Kubernetes
GCP successfully executing a strategy described by Joel Spolsky in 2002 [0]:

>Smart companies try to commoditize their products’ complements.

[0] Strategy Letter V https://www.joelonsoftware.com/2002/06/12/strategy-letter-v/ (edited)

delhanty··on Microsoft President: We Need a Hippocratic Oath for Software Engineers
Why isn't this the top comment?

Microsoft executives seem more in need of lessons in ethics than their engineers. Just one example from last year:

>'We did not sign up to develop weapons' say Microsoft employees protesting $479 million HoloLens army contract

https://www.pcgamer.com/we-did-not-sign-up-to-develop-weapon...

>They build the weapons

Talking of weapons, while we speculate about what AI might be used for, Microsoft executives have literally decided to build actual weapons.

delhanty··on Do journalists pay too much attention to Twitter? (2018)
Surely this is the wrong way around!

People on Twitter pay too much attention to journalists.

Tech Twitter needs some sort of filter to keep them out.

From PG’s Twitter a few hours ago:

> You can protect anything from unreasonable people by making them build something in order to attack it. Unreasonable people can't build

https://mobile.twitter.com/paulg/status/1282689679649800196

delhanty··on Norwegian Air cancels order for 97 Boeing aircraft, sues Boeing
Last July:

>A Boeing 737 Max due to be delivered to Ryanair has had the name Max dropped from the livery, further fuelling speculation that the manufacturer and airlines will seek to rebrand the troubled plane once it is given the all clear to fly again.

>Photos have emerged of a 737 Max in Ryanair colours outside Boeing’s manufacturing hub, with the designation 737-8200 – instead of 737 Max – on the nose. The 737-8200 is a type name for the aircraft that is used by aviation agencies.

https://www.theguardian.com/business/2019/jul/15/boeing-737-...

delhanty··on Microsoft copied new Windows Package Manager from rival AppGet, claims developer
>The only correct response when a company reaches out to you for something like this is "cool, let me set up a meeting with my lawyer."

Or alternatively, choose not to respond at all as per PG's January 2015 essay "Don't Talk to Corporate Dev" [0]

>Distractions are the thing you can least afford in a startup. And conversations with corp dev are the worst sort of distraction, because as well as consuming your attention they undermine your morale. One of the tricks to surviving a grueling process is not to stop and think how tired you are. Instead you get into a sort of flow. Imagine what it would do to you if at mile 20 of a marathon, someone ran up beside you and said "You must feel really tired. Would you like to stop and take a rest?" Conversations with corp dev are like that but worse, because the suggestion of stopping gets combined in your mind with the imaginary high price you think they'll offer.

Being PG, he's focussed on startups, but it applies to any small business that might be the target of an acqui-hire.

[0] http://www.paulgraham.com/corpdev.html

delhanty··on Biggest Oil ETF Could Go ‘Lights Out,’ Warns Wall Street Strategist
>Only took an 8-standard deviation event

I'm assuming that it's only 8-standard deviations if you assume a Gaussian distribution.

Wittgenstein’s Ruler (Nassim Taleb) suggests that it's overwhelming likely that the correct distribution is more fat-tailed than Gaussian.

>When someone tells you it was a 10 sigma event, meaning it is 10 standard deviations and it is Gaussian; unless the information came from God, you can reject the Gaussian distribution for that domain. We show the derivations.

https://nassimtaleb.org/2019/07/wittgensteins-ruler/

delhanty··on Why is Japan still a coronavirus outlier?
HN Kansai meetp & slack are here:

http://hnkansai.org/

https://hnkansai-slack.now.sh/

HN Fukuoka is here:

https://www.meetup.com/Hacker-News-Fukuoka/

I found them via the unofficial HN meetup page maintained by Anton Tarasenko here:

https://github.com/antontarasenko/hacker-news-groups

delhanty··on Three typefaces for mathematics (2007) [pdf]
What is your opinion of Concrete Roman? [0]

>Concrete Roman is a slab serif typeface designed by Donald Knuth using his METAFONT program. It was intended to accompany the Euler mathematical font which it partners in Knuth's book Concrete Mathematics. It has a darker appearance than its more famous sibling, Computer Modern. Some favour it for use on the computer screen because of this, as the thinner strokes of Computer Modern can make it hard to read at low resolutions.

I have the referenced book Concrete Mathematics by Graham, Knuth and Patashnik. To my uninformed eye it looks pleasing.

[0] https://en.wikipedia.org/wiki/Concrete_Roman

delhanty··on Why is Japan still a coronavirus outlier?
We've been discussing these questions recently on the #covid19 channel of the HN Tokyo Slack [0] - all the same sort of points raised as below - but nobody knows for sure.

There was an outbreak in Hokkaido a few weeks ago and that was the Japan hotspot for a while. The governor there quickly declared a state of emergency and that was brought under control - if you believe the official figures that is.

The best Japan tracker that I've seen is here [1]. From that you can see that there have been 16 deaths in 愛知 (Aiichi - prefecture capital is Nagoya) but only 141 cases as of now. Assuming deaths have an approximately average lag of 3 weeks from infection and an about 1% death rate, 16 deaths would translate to very approximately 1,600 deaths 3 weeks ago. As the general Japan is upwards, even according to official figures, there are probably several thousand cases in Aiichi today.

For new cases, in the last few days Tokyo is ahead.

Also, the government has given schools to reopen in April [2] . If that happens, cases may start rising sharply.

[0] http://hntokyo.io/

[1] https://covid-2019.live/

[2] https://www.japantimes.co.jp/news/2020/03/20/national/school...

delhanty··on An equation that takes Pythagoras to a new level
Assuming one's memorized a table of squares already.

10^2 = 100

11^2 + 13^2 = 121 + 169 = 290

12^2 + 14^2 = 144 + 196 = 340

100 + 290 + 340 = 730

730 / 365 = 2

delhanty··on A human monoclonal 1 antibody blocking SARS-CoV-2 infection
It's not just live or die you know. Reduced quality of life is a possible out come too:

>Similar to patients with SARS-CoV and MERS-CoV, some patients with 2019-nCoV develop acute respiratory distress syndrome (ARDS) with characteristic pulmonary ground glass changes on imaging. In most moribund patients, 2019-nCoV infection is also associated with a cytokine storm, ... in those who survive intensive care, these aberrant and excessive immune responses lead to long-term lung damage and fibrosis, causing functional disability and reduced quality of life.

https://www.thelancet.com/journals/lancet/article/PIIS0140-6...

delhanty··on COVID-19 Therapeutics Accelerator
This may be relevant: there's a recent (3rd March) hypothesis due to Rami Sommerstein from Department of Infectious Diseases, Bern University Hospital [0] that ACE inhibitors are a potential risk factor for fatal Covid-19 in those patients taking ACE inhibitors for hypertension/diabetes/cardiovascular disease:

>The largest Chinese study with 44,672 confirmed cases of Covid-19 shows a high overall case fatality rate (CFR) of 2.3% [2]. Important co-morbidities are hypertension (CFR 6.0%), diabetes (CFR 7.3%), cardiovascular disease (CFR 10.5%) and age >70 (CFR 10.2%) [2]. Similar co-morbidities were noted for the SARS outbreak in 2003.

> ...

>On the one hand, it has been shown that the Covid-19 agent (also known as SARS-CoV-2), uses the SARS-COV receptor angiotensin converting enzyme (ACE) 2 for entry into target cells [4]. The interface between ACE2 and the viral spike protein SARS-S has been elucidated and the efficiency of ACE2 usage was found to be a key determinant of SARS-CoV transmissibility [4].

>

>On the other hand, it could be shown in animal experiments that both the ACE-inhibitor lisinopril and the angiotensin-receptor blocker losartan can significantly increase mRNA expression of cardiac ACE2 (5-fold and 3-fold, respectively) [5]. Further, losartan also significantly increases cardiac ACE2 activity [5].

Edit: thank you philipn for your twitter link.

[0] https://www.bmj.com/content/368/bmj.m810/rr-2

delhanty··on Disney blocks John Oliver’s new episode critical of India’s PM Modi
>Both my submissions didn't survive being flagged within minutes. I am not sure if a concentrated group of users can achieve this objective on HN?

My subjective impression is that flagging feature on HN is routinely abused by flagging-rings conspiring to suppress submissions and comments on certain topics.

I'm super happy that the ability to flag exists, but it would be nice if something could be done to stop its abuse.

delhanty··on Beyond Bézier Curves (2013)
Aha! That makes perfect sense thank you.

So the name biquadratic is analogous to biarc. Although the usage here is slightly different to a biarc because it's the same parabola each side of the vertex.

The choice of the name biquadratic is possible unfortunate because it is already taken for an existing class of algebraic space curves [0]

>Biquadratics are algebraic curves of degree four that are the intersection between two quadrics that do not share a common line (in which case the curve would be of degree three).

then

>See also Cartesian ovals, Booth curves (including the lemniscate of Bernoulli), the Külp quartic, the Dürer shell curve, the bicorn, that are planar projections of biquadratics.

which was the source of my confusion as I had assumed that raphlinus's reference was to planar projections of these classical quartic curves.

[0] https://www.mathcurve.com/courbes3d.gb/biquadratic/biquadrat...

delhanty··on Beyond Bézier Curves (2013)
Hesitate to link anything from Elsevier, but IIRC the two standard industry 3D CAD/CAM journals are:

● Computer-Aided Design - more applications and commercial stuff https://www.journals.elsevier.com/computer-aided-design

● Computer Aided Geometric Design - mainly geometric algorithms for curves and surfaces https://www.journals.elsevier.com/computer-aided-geometric-d...

delhanty··on Beyond Bézier Curves (2013)
Are you able to expand on that statement a little?

Your blog post is interesting as always.

But I can't seem to find a reference to biquadratic in either the post or the linked Adobe paper.

delhanty··on Beyond Bézier Curves (2013)
That's right the Hobby splines are a strict subset of the polynomial cubic Béziers.

The polynomial cubic Béziers are defined by 4 control points. In 2D that's 4 x 2 = 8 degrees of freedom. In the terminology of HN raphlinus's PhD thesis, we fix the 2 endpoints, which removes 4 degrees of freedom, and they're referred to as a 4-parameter family.

In addition to the 2 endpoints, Hobby splines are defined by the start and end tangent angles Θ0 and Θ1, plus a tension parameter τ.

If we fix the 2 endpoints and the tension parameter τ, and allow Θ0 and Θ1 to vary, then we have a 2-parameter subspace of the 4-parameter space of polynomial cubic Béziers for 2 fixed endpoints.

If we allow the tension parameter τ to vary we have a 3-parameter subspace.

So we have lost 1 degree of freedom, but in terms of aesthetics we haven't lost so much because the majority of the splines that we've thrown away are likely uglier than the splines we retained.

One TL/DR from HN raphlinus's thesis: Euler spiral splines are about the best you can do for a 2-parameter family that cover all reasonable possibilities for Θ0 and Θ1 with good aesthetics.

delhanty··on Beyond Bézier Curves (2013)
For a technical analysis of Hobby splines I recommend HN raphlinus's PhD thesis Section 4.7 [0] referenced just yesterday in the submission on Google Font Analytics [1].

[0] https://levien.com/phd/thesis.pdf

[1] https://news.ycombinator.com/item?id=22369500

delhanty··on Erdős–Bacon number
Not the OP, but I'm guessing that Syzygies is Professor David Allen Bayer. [0][1]

>Bayer was a mathematics consultant for the film A Beautiful Mind, the biopic of John Nash,

"Syzygies" appears to be a reference to a construct in abstract algebra. [2][3]

Dave Bayer is referenced on the version of the Wikipedia page Erdős–Bacon number dated 03:25, 9 February 2013. [4]

>For a time, the person with the lowest known Erdős–Bacon number was Dave Bayer, mathematical consultant to A Beautiful Mind who was on screen in a minor role in the movie. Rance Howard was also in A Beautiful Mind and in Apollo 13 with Kevin Bacon to give Bayer a Bacon number of 2. Bayer wrote a paper with Persi Diaconis, who has an Erdős number of 1 due to a jointly authored 1977 Stanford University technical report, later published in a 2004 compilation. As such, Bayer's Erdős–Bacon number is 4. ...

But there is a tsunami of deletions [5] by Wikipedia User:Cresix [6] on that day, and the text above plus a table that references Dave Bayer is gone.

[0] https://simonsingh.net/media/articles/maths-and-science/erdo...

[1] https://en.wikipedia.org/wiki/Dave_Bayer

[2] https://www.math.columbia.edu/~bayer/papers/

[3] https://en.wikipedia.org/wiki/Hilbert%27s_syzygy_theorem

[4] https://en.wikipedia.org/w/index.php?title=Erd%C5%91s%E2%80%...

[5] https://en.wikipedia.org/w/index.php?title=Erd%C5%91s%E2%80%...

[6] https://en.wikipedia.org/wiki/User:Cresix

delhanty··on In glyphosate review, WHO agency edited out “non-carcinogenic” findings (2017)
So I read this story and wondered whether there were any undisclosed links between the author (Kate Kelland) and Monsanto.

Google led me to sites alleging that this 2017 article and others were written to spec on the instructions of Monsanto. [0][1][2]

>Not only did Kelland write a 2017 story that Monsanto asked her to write in exactly the way Monsanto executive Sam Murphey asked her to write it, (without disclosing to readers that Monsanto was the source,) but now we see evidence that a draft of a separate story Kelland did about glyphosate was delivered to Monsanto before it was published, a practice typically frowned on by news outlets.

[0] https://usrtk.org/monsanto-roundup-trial-tacker/new-monsanto...

[1] https://gmwatch.org/en/news/latest-news/18746-monsanto-fed-r...

[2] https://twitter.com/careygillam/status/1121417187531677696

delhanty··on The Future of Mathematics? [video]
Mainly for my own reference when I return to this story with more time, links to Professor Kevin Buzzard's project Xena [0][1]

>Basically, Lean can understand mathematics, and can check that it doesn't have any mistakes in. Most of the files here are Lean verifications of various pieces of undergraduate level mathematics.

>Some of the lean files are in a library called Xena. One could imagine Xena as currently studying mathematics at Imperial College London.

[0] https://github.com/kbuzzard/xena

[1] https://xenaproject.wordpress.com/

delhanty··on The History of Medicinal Lithium
My personal experience (n == 1) study finds that a couple of Chromium GTF taken sublingually (ie sucked under the tongue) works instantly to improve my mood.

I never use picolinate.

Sublingual is so that it can cross the blood-brain barrier. I can use less Chromium that way to get the same improvement in mood.

My pet hypothesis is that it works by displacing Vanadium from the brain. Vanadium and Chromium are very similar chemically, and some studies suggest that Vanadium is elevated in manic-depressives. Particularly, I'm high in Vanadium because I live in Japan and eat a lot of whole fish and seaweed.

The main possible negative side-effect was that I needed more Manganese to balance the Chromium. That I worked out from developing mild dermatitis, that went away when I supplemented Manganese. [1]

None of the above is a recommendation - your mileage may vary etc. Everything you supplement has side-effects. Particularly, supplementing one bivalent metal can create a functional deficiency in another. In this case, I wanted to reduce the effects of Vanadium but I ended up reducing Manganese too. Anyway, people need to do their own research to see what works for them.

[0] https://www.ncbi.nlm.nih.gov/pubmed/6443582

[1] https://books.google.com/books?id=3UG9BQAAQBAJ&pg=PA45&lpg=P...

delhanty··on What Is a Computational Essay? (2017)
See this [0] historical retrospective of IPython (the forerunner of Jupyter) in 2012 by its originator Fernando Pérez:

>Let's go back to the beginning: when I started IPython in late 2001, I was a graduate student in physics at CU Boulder, and had used extensively first Maple, then Mathematica, both of which have notebook environments. I also used Pascal (earlier) then C/C++, but those two (plus IDL for numerics) were the interactive environments that I knew well, and my experience with them shaped my views on what a good system for everyday scientific computing should look like. In particular, I was a heavy user of the Mathematica notebooks and liked them a lot.

[0] http://blog.fperez.org/2012/01/ipython-notebook-historical.h...

delhanty··on Map Shows How a Location Has Changed over the Past 750M Years
It's nice!

I was struck by how rolling back 150 million years ago, South America and Africa were part of the same land mass (that is, the Atlantic Ocean had disappeared) but the British Isles was still separate from Europe.

delhanty··on Homebrew removes MongoDB from core formulas
It was claimed here [0]

>... they continue to build on top of a broken foundation (MongoDB) ...but last I heard Stripe was still running a very outdated version ...

[0]https://news.ycombinator.com/item?id=20820879

← PreviousPage 4 of 15Next →