1977. And I didn't know what a hash table was, though I can't explain now why they didn't think of using a hash table. I was effectively using a dumb hash function.
Their 1978 second edition works in exactly the memory needed to store the answer, by simulating my algorithm in a first pass but only saving the occupancy counts.
Oh, and thanks (I guess). I really didn't expect to ever be reading FORTRAN code again. One learned to program at Swarthmore that year by punching cards, crashing our IBM 1130, and bringing the printout to my supervisor shift. I'd find the square brackets and explain how you'd overwritten your array. I even helped an economics professor Frederic Pryor (the grad student in the "Bridge of Spies" cold war spy swap) this way, when I made an ill-advised visit to the computer center on a Saturday night. Apparently I could still find square brackets.
August 11, 2005: Yahoo acquires 40 percent of Alibaba.com for $1 billion, and Alibaba takes over the operation of Yahoo China.
Yahoo Japan was also a joint venture between Yahoo and Softbank, with Yahoo holding about 50% of the ownership.
At some point, Yahoo stock was regularly trading at or below the estimated value of the overseas holdings. The part of the company that actually did stuff was valued at zero or less. In the acquisition, yahoo stockholders got cash for the operating business plus shares in holding company formed around the overseas holdings ... Over time, the holding company sold the holdings and distributed the proceeds to shareholders and ceased operating.
Yahoo made a $1b investment on Alibaba early on, and Alibaba was growing a lot, investors couldn't directly buy Alibaba, so they bought Yahoo hoping to eventually cash in.
Yahoo was valued at $44b at one time, and the $1b it put in Alibaba was valued at $40b. So 90% of Yahoo was the Alibaba investment. There was a whole spin off core business to separate it from the investment part drama, years and years of distraction and investors and board people who wanted their ~40x instead.
Here's a short CUDA demo from NVidia, of adding two arrays of a million numbers
each, elementwise. The line that actually does the add is
add<<<1, 1>>>(N, x, y);
All N adds are conceptually done in parallel, with no side effects. In practice, hundreds or thousands of adds are done simultaneously, depending on the available hardware.
What am I missing? I am not seeing this particular example as sycophantic.
Claude is saying, something like user's assertion is improbable but if it was the case, user needs to show/ prove some of the things in this table.
reply