HNHacker News
TopNewBestAskShowJobs

hanslub42

249 karma · joined August 24, 2020

submissionscomments
hanslub42··on Bestline: Light self-contained readline alternative
What advantages would a blwrap have over rlwrap? As I understand it, bestline's advantages over readline (fewer dependencies, license) only apply when you are using it as a library. rlwrap is a separate program that weighs in at around 200k. That could only ever be a problem on an embedded system, where rlwrap/blwrap wouldn't make sense anyway.
hanslub42··on Radio was the original overhyped technology
On the other hand: regulation is what made reliable and uninterrupted radio communication possible. Radio is not the internet: if I transmit with 100kW on 1234kHz I make that frequency unusable for anyone else in a wide neighbourhood. Bandwidth is a lot scarcer than IPv6 or even IPv4 addresses. The Radio Act of 1912 - the very first "radio law" - was a response to the confusion on the airwaves that contributed to the Titanic disaster (see https://www.arcadiapublishing.com/Navigation/Community/Arcad...)
hanslub42··on M4 as a templating language (2020)
"Invented" is a bit of a strong word here: there were "M" and "m3" macro processors before m4. Christopher Stratcheys GPM (General Purpose Macroprocessor, https://academic.oup.com/comjnl/article/8/3/225/336044) was the first macro processor where macros can occur anywhere in the source text - just like in m4. That makes it the first general such program, and not just the macro processor for some specific programming language (like the preprocessor of a macro assembler)
hanslub42··on The Alexander: Why did you build such a long piano?
Yes, and no. The less unharmonic bass strings make a noticeable difference for the middle and high register too, when the dampers are lifted by the sustain pedal and the bass strings resonate with the higher ones. This "roominess" is also noticeable on the old long-neck lutes like the chitarrone, which had long bass strings for the same reason as this piano: avoiding wound strings (in their case, because those hadn't been invented yet)
hanslub42··on How much Polish is there in Yiddish and how much Yiddish is there in Polish?
I wonder how big the influence of Yiddish has been on German itself. Given the closeness of Yiddish and German, it would be the words of Hebrew origin that would stand out.

Dutch has quite a number of Yiddish loan-words, many of them in (very) common use. Almost all of them have Hebrew roots (see https://nl.wikipedia.org/wiki/Jiddisch#Jiddische_invloeden_i...)

hanslub42··on State in Haskell (1995) [pdf]
I agree 100%. But see: https://wiki.haskell.org/Do_notation_considered_harmful
hanslub42··on State in Haskell (1995) [pdf]
I always assumed that do-notation had been introduced in Haskell as soon as monads became a thing, but no: this paper dates from 1995, while do-notation appeared with the Haskell 1.3 report in 1996. So here all the monadic actions are threaded together with thenST (a specialised version of >>=)

Skimming this article really made me appreciate the compactness and clarity of do-notation (although hard-core Haskellers will object that it hides what really is going on)

hanslub42··on Translating Newton’s Principia
The problem mentioned in the article (a mathematical apparatus that is completely alien to us moderns) is the opposite of that of contemporary translators. Around 1750, Émilie, marquise du Châtelet, made the first translation into French (which her lover Voltaire called "the everyday language of Europe")

As a woman, she didn't have any university education, but that wouldn't have included calculus anyway. Her problem was the modern concepts, not the old "geometric" way of reasoning about quantities. So she had to write a bulky Commentaire that really was her magnum opus

As a woman, she was completely accepted as an equal by scientists of her time, but treated rather dismissively by later historians of science. Clearly, history doesn't obey Newtons's first law: it doesn't progress in a straight line.

hanslub42··on A simple 11.2 GHz radio telescope (Hardware) (2020)
Worse receiver, but better antenna:

From the linked article: "... With their system [...] they were able to estimate that the minimum dish aperture required to observe the Vela pulsar would be 6m, noting that the Vela pulsar is probably the strongest pulsar ever detected"

As a kid, I built a crystal radio. There it was the same: with a very long wire, even such a simple radio could receive far-away stations

hanslub42··on Is Mathematics Real? (2020)
For Plato mathematics was real, but not only that, the stuff we see around us was not.

In the Republic he therefore complains about mathematicians "... always talking in a narrow and ridiculous manner, of "squaring" and "extending" and "applying" and the like - they confuse the ways of geometry with those of daily life; whereas knowledge is the real object of the whole science."

I find it amazing that Plato wrote this 2000 years before it was taken up again (quite radically) by Brouwer's intuitionism, where "squaring", "extending", "applying" are the only way of doing mathematics (and proof by contradiction, one of Plato's favourite devices, is not admissible)

The article's conclusion "Just about everything [except basic number theory] in mathematics is determined by the society in which you live" is rather disappointing, and not at all contradicts the reality of mathematics, as those societies might just have made different discovery journeys in Plato's realm of eternal mathematical truth.

hanslub42··on Einstein and Hume’s philosophy of time
Einstein was influenced by more than only philosophy, of course. A 1846 SciFi story ("Die Gestirne und die Weltgeschichte") about someone travelling faster than light (and thus being able to observe the past) fascinated him (he eventually would write the introduction for a reprint).

On the other hand, established philosophy was very sceptical of his ideas, which collided spectacularly with Henri Bergson's ideas about time, now forgotten, but very fashionable then. This made relativity controversial for a long time (even after Eddington's 1919 observation of gravitational lensing during an eclipse) and probably was the reason that he never got a Nobel prize for it, but only for his much less groundbreaking work on photoelectricity.

hanslub42··on Lenovo’s new ThinkPad X1 Titanium Yoga is less than half an inch thick
I totally agree that thinner is not always better on a laptop where key travel and full-sized ports are important. But a Yoga is also meant to be used as a tablet. As a programmer I want my key travel and ports. As a musician I want to fold the thing backwards and put it on my music stand. I currently have a Yoga X390, a little too thin for a laptop, and a little too thick to put on my music stand. A compromise, clearly, but one that works for me
hanslub42··on The Evolution of a Haskell Programmer (2001)
Another example (which I think is older, and thus might have inspired the Haskell one): https://www.smart-jokes.org/programmer-evolution.html
hanslub42··on Where Did Combinators Come From? Hunting the Story of Moses Schönfinkel
I thoroughly enjoyed this story, and Wolfram's thorough detective work For those interested, Schönfinkels article (über die Bausteine der mathematischen Logik) is available online [1]. A good writeup about its significance can be found in the Stanford Encyclopedia of Philosophy [2]

[1] http://www.cip.ifi.lmu.de/~langeh/test/1924%20-%20Schoenfink...

[2]https://plato.stanford.edu/entries/logic-combinatory/#SchoEl...

hanslub42··on Over 80% of Covid-19 patients in a hospital study have Vitamin D deficiency
> [...] the function of Vitamin C is not "preventing scurvy"

Ironically, its scientific name, "ascorbic acid" means precisely that: no-scurvy (a-scorbic) acid

hanslub42··on A Do-It-Yourself paper digital computer (1959)
This kind of computer might be just what we need for a Venus rover

https://www.jpl.nasa.gov/news/news.php?feature=6933

← PreviousPage 2 of 2