News for hackers. Stuff that matters.
Re:Dispelling myths about the autistic programmer by nibs on Saturday July 09, 2016 @11:28AM (#12061668)
Yes. It is definetely possible to be both.
Re:Dispelling myths about the autistic programmer by mads on Saturday July 09, 2016 @11:43AM (#12061770)
Was Gates actually the technical wizard that he has been made out to be?

It is an honest question. I really dont know. I am sure he had some great technical insights, but I haven't seen anything that would lead me to believe that he was actually a genius coder or engineer.

Re:Dispelling myths about the autistic programmer by wolfgke on Saturday July 09, 2016 @05:49PM (#12063482)
> Was Gates actually the technical wizard that he has been made out to be?

At least there are strong signs:

According to https://en.wikipedia.org/w/index.php?title=Bill_Gates&oldid=... "In his sophomore year, Gates devised an algorithm for pancake sorting as a solution to one of a series of unsolved problems presented in a combinatorics class by Harry Lewis, one of his professors. Gates's solution held the record as the fastest version for over thirty years; its successor is faster by only one percent."

According to https://www.quora.com/Who-beat-Bill-Gates-in-math-at-Harvard... "Christos Papadimitriou, one of the absolute top theoretical CS people in the world (almost certainly top 10 active researchers), told his girlfriend at the time that Bill Gates was the smartest person he had ever met.

Bill Gates, advised by Papadimitriou, found a bound on a problem that stood for 30 years."

Re:Dispelling myths about the autistic programmer by digi_owl on Saturday July 09, 2016 @12:19PM (#12061975)
Given that he would sit down, read, and annotate, a technical spec, and then grill the reporter during the next day meeting on technical aspects, yeah he was.

http://www.joelonsoftware.com/items/2006/06/16.html

Re:Dispelling myths about the autistic programmer by mads on Saturday July 09, 2016 @12:39PM (#12062077)
Yes, he could read a spec and I read this before.

Dont get me wrong. I have a lot of respect for both Joel and Bill Gates. I just dont see this particular incident as anything special. Bill Gates didn't actually do anything except annotate the spec and throw some ideas out there.

Re:Dispelling myths about the autistic programmer by cma on Saturday July 09, 2016 @03:56PM (#12063004)
How about this:

> In 1979, Bill Gates and Christos Papadimitriou[3] gave an upper bound of (5/3)n. This was improved, thirty years later, to (18/11)n by a team of researchers at the University of Texas at Dallas, led by Founders Professor Hal Sudborough[4] (Chitturi et al., 2009).

https://en.wikipedia.org/wiki/Pancake_sorting

Not easy to have significant algorithmic-complexity results that have stood as an upper bound for 30 years.

Re:Dispelling myths about the autistic programmer by thaumasiotes on Saturday July 09, 2016 @07:53PM (#12063904)
Hey, that's the official name for what I thought of as "aligning a stack of coins".

The Google Code Jam qualification round this year included the problem "write a function to report the minimum number of flips necessary to sort a stack of pancakes". I'm not too pleased to see this in the wikipedia page:

> The minimum number of flips required to sort any stack of n pancakes has been shown to lie between ~1.07n and 1.63n (exact boundaries: 15n/14 and 18n/11,) but the exact value is not known.

Re:Dispelling myths about the autistic programmer by thaumasiotes on Saturday July 09, 2016 @11:24PM (#12064445)
I read too hastily. Pancake sorting involves sorting pancakes by size using the pancake-flipping operation. The problem at issue was aligning them into the same orientation without regard to size, which is the "more difficult" burnt pancake problem, except that all the pancakes are the same size.

I guess for completeness, I should post the solution to the sortless burnt pancake (to me, "coin alignment") problem:

Consider a stack of coins, like top-HTTHHTTHTHTTTTTTH-bottom. The number of flips required to align it is equal to the number of transitions from tails to heads or heads to tails as you move through the stack. In the example, we can break the stack conceptually into runs of H TT HH TT H T H TTTTT H, which is 8 transitions.

1. (This number is necessary.) Two adjacent coins which differ in orientation can only be made not to differ by a flip at the position between them. A flip above or below that position in the stack reverses neither or both, which preserves their difference. Stated another way, no flip can reduce the number of transitions in the stack by more than 1.

2. (This number is sufficient.) If you move from the top of the stack down, flipping whenever a transition is encountered, you preserve the invariant that the prefix of the stack above the point you have reached is all aligned. This is one flip per transition, so one flip per transition suffices.

If the coins must be aligned to a particular direction, for example heads up, just suffix a coin of that alignment to the bottom of the stack.

Re:Dispelling myths about the autistic programmer by michaelt on Saturday July 09, 2016 @04:36PM (#12063204)
There are a whole bunch of skills that go into being good at delivering working software. One such skill is remembering details of how lots of things work, and especially knowing when seemingly simple things will hit hidden stumbling blocks.

Obviously, there are a bunch of other skills required too, and some skills get a lot more respect than others.

One reading of the story is that Bill Gates, despite being six layers of management away from 'the coal face' of actually making the date functions work, knew about the 1904 Date System and why it was there; and that he was able to ask harder and harder questions until the project manager looked unprepared because he had a lot of the specific skill of remembering lots of details and stumbling blocks.

Obviously, an alternative reading of the story is that Gates didn't know those specifics about date handling in Lotus 123, and he was going to ask about something else (or maybe nothing at all) and it was only by random chance that made it look like he knew about this complicated detail.

Re:Dispelling myths about the autistic programmer by serge2k on Saturday July 09, 2016 @01:30PM (#12062370)
> I have a lot of respect for both Joel and Bill Gates.

Except you question his technical ability, ignore/excuse evidence of said ability, and call him a narcissist.

Re:Dispelling myths about the autistic programmer by mads on Wednesday July 13, 2016 @11:43AM (#12087081)
Yeah well, sorry about that.
Re:Dispelling myths about the autistic programmer by serge2k on Saturday July 09, 2016 @12:40PM (#12062086)
Re:Dispelling myths about the autistic programmer by tedks on Saturday July 09, 2016 @12:34PM (#12062057)
He wrote FAT on an airplane.

Make of that what you will.

Re:Dispelling myths about the autistic programmer by astrange on Saturday July 09, 2016 @07:10PM (#12063761)
I'm surprised his battery lasted that long.
Re:Dispelling myths about the autistic programmer by mamon on Sunday July 10, 2016 @07:38AM (#12065305)
I wouldn't be suprised if he had written the whole thing ON PAPER, and then just re-type it to a computer.

Also, there is known story that Gates and Allen wrote BASIC compiler for some obscure microprocessor without having access to an actual thing, just paper spec. So they wrote emulator first, then compiler and guess what? when run on the real processor it worked like a charm from first try.

Re:Dispelling myths about the autistic programmer by mads on Wednesday July 13, 2016 @11:45AM (#12087097)
Come on..
Re:Dispelling myths about the autistic programmer by mads on Saturday July 09, 2016 @12:41PM (#12062092)
Sounds very dramatic and something a narcissist would come up with.
Re:Dispelling myths about the autistic programmer by pjscott on Saturday July 09, 2016 @02:27PM (#12062618)
... Or someone who was understandably proud of having written a basic but serviceable filesystem on an airplane. Please at least consider the boring hypothesis.
Re:Dispelling myths about the autistic programmer by duaneb on Saturday July 09, 2016 @11:53AM (#12061823)
Well gates and Allen wrote the original basic interpreter together.
Re:Dispelling myths about the autistic programmer by mads on Saturday July 09, 2016 @12:22PM (#12061991)
Someone named "Monte Davidoff" seems to have helped them.
Re:Dispelling myths about the autistic programmer by duaneb on Sunday July 10, 2016 @12:20PM (#12066084)
I was referring to the original Microsoft basic, not basic itself. I can understand the confusion.