HNHacker News
TopNewBestAskShowJobs

saretired

208 karma · joined October 6, 2014

submissionscomments
saretired··on In Ben Bernanke’s Memoir, a Candid Look at Lehman Brothers’ Collapse
Obama? Bush was president at the time.
saretired··on Tontines may make sense despite their history of disrepute
The idea is you give up return of principal for a bet on the NPV of coupons during your life. Which is a gamble, and quite tidy too: nothing to leave to one's heirs for all but one of the participants[1]. But also a gamble on a particular pool of assets. "At retirement, you and a bunch of other people each chip in $20,000 to buy a ton of mutual funds or stocks or whatever." But these "whatevers" are volatile assets that will produce losses in some years--the opposite of the usual advice to lower volatile asset holdings at retirement. So now it's a double bet: first on NPV/longevity, and second on the health of the underlying assets. Exactly the kind of thing that Wall St would love to sell to the public.

[1] All of the underlying assets being transferred to the last survivor is one type of tontine; in another, certain to be a favorite of Wall St., the underlying would be transferred to the plan manager after the death of the last participant.

saretired··on An Odd Couple: Samuel Beckett and Buster Keaton
So the director Schneider found the script "fairly baffling when not downright inscrutable" and "loved it even when [he] wasn't completely sure what Sam meant."

But "Schneider supposedly considered Keaton not smart enough to get what Beckett was up to."

Fun.

Though it seems to me that Keaton was clever enough to stage a little Beckett-esque drama when first meeting the playwright.

saretired··on The 1980 Math Olympiad Program: Where are they now?
Good point -- except the financial crisis was caused in part by techniques and structures invented by other mathematicians and modellers.
saretired··on Marilyn vos Savant and the Monty Hall Problem
When you pick a door, before the host does anything, there are three possibilities: a car; goat #1; goat #2. These are the same possibilities AFTER he reveals one of the goats -- the goat he shows could be goat #1 or goat #2. Now of the three possibilities for your door, two are losers; by changing doors you have a 1/3 chance of losing (if the car is behind the door you first picked) and consequently a 2/3 chance of winning.
saretired··on Prolog Programming Language (1997)
For constraint logic programming, ECLiPSe: http://eclipseclp.org/ It extends Prolog in various ways and was open sourced by Cisco a few years back.
saretired··on The history of grep
"One guy McIlroy" was Doug McIlroy, head of computing research at Bell Labs at the time, the inventor of pipes, diff, etc., and an eminent guy.

Before Thompson published his construction for matching regular expressions in the late '60s, Kleene's re work was pretty much purely theoretical. That's really the interesting story, solving an extremely difficult implementation problem on the machines of the era.

saretired··on That Debt from 1720? Britain’s Payment Is Coming
Except the UK Treasury fixed the price of gold at £3.17s10.5d in 1717 and the price didn't change for ~200 years until the UK left the gold standard in 1931. So, zero compounding for 211 years.

The fixed price was set by Newton, btw.

saretired··on Cello – Higher Level Programming in C
They used more than some assembly. Andy Hertzfeld:

"But most of the Lisa code was written in the Pascal programming language. Since the Macintosh had much tighter memory constraints, we needed to write most of our system-oriented code in the most efficient way possible, using the native language of the processor, 68000 assembly language. Even so, we could still use Lisa code by hand translating the Pascal into assembly language.

"We directly incorporated Quickdraw, Bill Atkinson's amazing bit-mapped graphics package, since it was already written mostly in assembly language. We also used the Lisa window and menu managers, which we recoded in assembly language from Bill's original Pascal, reducing the code size by a factor of two or so. Bill's lovely Pascal code was a model of clarity, so that was relatively easy to accomplish."

Also, about half the LOC in MacPaint were assembly.

saretired··on “No, North Korea Didn’t Hack Sony”
I remain agnostic and can't think of a basis for arguing one side to the exclusion of the other. On the one hand, it's not unthinkable that NK had a mole at Sony, or that the attack succeed beyond expectation owing to Sony's abysmal security practices, using vectors that have supposedly been known to black hats for a while. And of course it's possible that the U.S. has hard evidence that can't be revealed. On the other hand, there's the "trust me" problem with the US Govt, the constant push for a free hand from the agencies (and the contractors who supply them and the politicians who enjoy their campaign contributions), and the embarrassment to a Hollywood that overwhelmingly supports the President and his party. Finally, there's the curious statement by Obama last Sunday that this isn't "an act of war," but rather "an act of cyber vandalism"--odd way to characterize actions by a hostile state if he knows that to be the case.
saretired··on Why college students who do historical research become analytical thinkers
"Kolmogorov also started as a nonmathematician--he was studying history. His first paper, written when he was seventeen, was reported at a seminar given by Bakhrushin at Moscow University. Kolmogorov came to some conclusion based on an analysis of medieval tax records in Novgorod. After his talk, Kolmogorov asked Bakhrushin whether he agreed with the conclusions. 'Young man,' the professor said, 'in history, we need at least five proofs for any conclusion.' Next day, Kolmogorov switched to mathematics. The paper was rediscovered in his archive after his death and is now published and approved by historians."

--V.I. Arnold, "An Interview with V.I. Arnold," Notices of the AMS, 44(4).

saretired··on Excuse Me While I Kiss This Guy: The Science of Misheard Song Lyrics
A "deuce" was a two-seater hot rod (cf. "Little Deuce Coupe" by the Beach Boys). I suppose it's now archaic slang. But I'm still puzzled, because Springsteen's original lyric is "cut loose like a deuce" and I have no idea what that means.
saretired··on Harvard’s Asian Problem
That's 1992. "In 2013 Harvard made 18% of its offers to Asians, while CalTech admitted 42.5% Asian students." "Though the number of Asians applying for admission [to Harvard] has increased, the percentage of offers has barely budged."

Funny, what you say about Asians and sports "anecdotally" is exactly what was said to "explain" discrimination against Jews in the Ivy League.

saretired··on The Growing Impact of Old Scientific Papers
Progress on open access is slow. 6 or 7 years ago I wanted to read a couple of papers by Cayley, who died in 1895. These were published in the Transactions of the Royal Society--and paywalled. (Google Books had a few volumes of his collected papers available, but not the one I needed.) A few years ago, the Royal Society finally made papers published before the mid-20th century available for free, which is progress, but considering the public funding for the Royal Society, it's hard to understand why anything they publish is still paywalled for 70 years.
saretired··on Nineteenth century machine that performs Fourier analysis
The designer of this machine is the Michelson of Michelson-Morley, Nobel prize 1907; his interferometer was a brilliant apparatus that disproved the aether hypothesis. I'm surprised the blurb for the book doesn't mention who he was.
saretired··on How fast is fscanf?
The C program isn't doing the same thing. It overwrites the array of variables each time it scans a line. numpy.loadtxt returns an array of the parsed lines. So you'd need to do some dynamic allocation to store the parsed values. If the number of fields per input line isn't hardcoded, you'll need to walk sscanf() across each input line while managing input and output buffers (you can call read(), which is much faster, but you'll need to handle partial line reads). numpy.loadtxt has additional capabilities, all of which add per-line overhead. A fully functional clone of loadtxt in C is unlikely to run enormously faster, i.e. enough to justify the programming involved. In any case, this toy exercise isn't testing the speed of fscanf() in a meaningful way.
← PreviousPage 3 of 3