TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

“I wrote FAT on an airplane, for heaven's sake”

306 点作者 Hrundi超过 11 年前

22 条评论

consultant23522超过 11 年前
I had a manager that would repeatedly use this type of remark. We had this particular application that on one could touch without breaking something. It was always a mess. He would often remark "I wrote the whole thing over a weekend, why can't you guys make a tiny little change without breaking it?" One day I finally got fed up with him and replied "Because it's the quality of work you'd expect from an entire application written over a weekend."
评论 #6532363 未加载
评论 #6529796 未加载
评论 #6531296 未加载
评论 #6529997 未加载
mrmaddog超过 11 年前
I think the real lesson here is that every time you add a feature, you are adding development overhead to every other feature, leading to exponential development time. I&#x27;m sure if segment tuning was one of the first thing to go into windows, it would have been much simpler to implement. However, at later stages in the development you have to account for how different, already-written applications are loading their memory, and thus the feature needs handle far more edge cases than it would have if this was an earlier-implemented feature. I&#x27;m not saying the overall time to develop segment-tuning would be shorter, in the long run had it been developed first, but the perception of development-time for this feature would be shorter (since any segment tuning edge cases that you ran into while writing an application would be considered part of the app&#x27;s development time, not segment-tuning&#x27;s development time).<p>I&#x27;m sure that if Mr. Gates had implemented FAT at a later date, he would have needed a <i>much</i> longer plane ride.
评论 #6529681 未加载
评论 #6529647 未加载
评论 #6529326 未加载
tmister超过 11 年前
Gates is one of those rare people who is at a time a good developer, good manager and a cunning businessman. I started to appreciate him after watching <i>Triumph of the Nerds</i> documentary series. I literally loled for 5 minutes after watching Gates in an event parodying IBM which was organised by Jobs <a href="http://youtu.be/riyAe4BKAng?t=20m1s" rel="nofollow">http:&#x2F;&#x2F;youtu.be&#x2F;riyAe4BKAng?t=20m1s</a>.
评论 #6529986 未加载
评论 #6530771 未加载
评论 #6529511 未加载
virtualwhys超过 11 年前
From 12BitSlab in article&#x27;s comments<p>&gt; I don&#x27;t mind if billg gets a little arrogant at times. One merely has to look at how he wrote the ROM code for the Altair to realize his abilities.<p>&gt; Also, ALL of the concepts embodied in modern tablets and smartphones were &quot;invented&quot; by billg when he wrote the code for the Tandy 100. Things like &quot;instant on&quot;, data stored in non-volitile memory, small productivity apps, continue from the same point after power down, etc. Persoannly, I put billg in the Top 5 of all-time CS people who contributed to computing.<p>This is an interesting claim, I was always under the impression that while Gates could code, he wasn&#x27;t at all a CS giant.
评论 #6530716 未加载
评论 #6529693 未加载
评论 #6530954 未加载
troyk超过 11 年前
I&#x27;m old enough to know he didn&#x27;t carry a computer on the plane....
评论 #6529255 未加载
评论 #6529270 未加载
评论 #6529589 未加载
评论 #6530415 未加载
评论 #6529256 未加载
评论 #6530545 未加载
danso超过 11 年前
So the FAT story may be an exaggeration, but does Brandon Eich&#x27;s Javascript-in-10-days (<a href="http://www.quora.com/JavaScript/In-which-10-days-of-May-did-Brendan-Eich-write-JavaScript-Mocha-in-1995" rel="nofollow">http:&#x2F;&#x2F;www.quora.com&#x2F;JavaScript&#x2F;In-which-10-days-of-May-did-...</a>) still count as a &quot;STFU-I&#x27;m-the-boss&quot; feat?
评论 #6529223 未加载
评论 #6529447 未加载
teawrecks超过 11 年前
Am I the only one who didn&#x27;t interpret the quote as him showing off? If I used that line, it would be a way of telling them that the problem of segment tuning is an artificial limitation imposed by a format that hasn&#x27;t gotten enough attention. &quot;I wrote FAT on an airplane&quot; would be my way of saying, &quot;don&#x27;t come up with better ways to work around my half-assed implementation. spend time improving the implementation so segment tuning isn&#x27;t even something you have to worry about.&quot;
评论 #6530780 未加载
chubbard超过 11 年前
When he says &quot;He wrote FAT on an airplane&quot; he means with pencil and paper since FAT is so old that there were no laptops to do that on. Which maybe he figured out all of the specs, but he didn&#x27;t put code down and debug it. Of course in those days writing it on paper was quite common before people typed it into the computer. And that is quite impressive in and of itself. Most of the time people treated that activity as if they were coding so they were very precise. Now a days we&#x27;re fast, but we aren&#x27;t as precise.
评论 #6537523 未加载
ChikkaChiChi超过 11 年前
Bill Gates complains that people aren&#x27;t doing real programming and people berate him to shut him up. Steve Jobs throws the first iPod into a fish tank and he&#x27;s revered as a God.<p>I guess it&#x27;s no wonder why the mainstream of Apple and Microsoft is what it is.
auctiontheory超过 11 年前
Was it one of those planes that flies for six months?
评论 #6529242 未加载
评论 #6529129 未加载
mtkd超过 11 年前
If he&#x27;d kept one foot in the codebase - he might not have made so much money - but his software legacy might have turned out differently.
评论 #6529502 未加载
delucain超过 11 年前
&quot;Tony Stark was able to build [a miniaturized arc reactor] in a CAVE! With a box of scraps!&quot;
评论 #6529883 未加载
Aldo_MX超过 11 年前
To be honest I can&#x27;t afford to commute and do nothing, I have to plan new features for my products, redesign existing ones, or at least read a tech book&#x2F;article, otherwise I feel really frustrated because I dislike to stay still.<p>The best ideas I have ever had happened during my commute, so I feel familiar with the &quot;I wrote FAT on an airplane&quot; statement.
评论 #6529513 未加载
sarreph超过 11 年前
So <i>that&#x27;s</i> why everyone uses NTFS...
评论 #6530004 未加载
评论 #6530132 未加载
评论 #6529720 未加载
eksith超过 11 年前
Isn&#x27;t this basically Bill Gates exemplifying the &quot;Rockstar Programmer&quot; persona?<p>&quot;I did X in Y time so why don&#x27;t you follow my lead&quot; may have been a motivational tactic at the time, but it did backfire. I&#x27;m forced to wonder if this is how the motif began.
graycat超过 11 年前
About &quot;optimization&quot;, Gates likely had a point. That problem of assigning code blocks (subroutines&#x2F;functions) to memory segments does suggest a significant role for optimization.<p>What is optimization? For a very sparse description, for the set R of real numbers, positive integers m and n, functions f: R^n --&gt; R and g: R^n --&gt; R^m, find x in R^n to solve<p>minimize f(x)<p>subject to<p>g(x) &gt;= 0<p>So, set up a mathematical description of the problem based mostly just on the &#x27;cost&#x27; function f, that is, what want to minimize, and &#x27;constraints&#x27; g that keep the solution &#x27;feasible&#x27;, that is, realistic for the real problem. Then look for a solution x. Yes, easily enough such problems can be in NP-complete and still difficult otherwise.<p>Likely what Gates wanted was function f to be the execution time and function g to force honoring the 64KB limit per segment, etc.<p>Then a big question would be, assuming what software to have its segments assigned?<p>So, for an answer, just take some Windows and&#x2F;or Office code and get the total execution time on a <i>typical</i> workload.<p>Might also want to be sure that on any of several workloads, the optimal solution was no worse than some factor p in R of the best solution just for that workload. Then keep lowering p until the f(x) starts to rise significantly and come up with a curve of f(x) as a function of p. Present the curve to Gates and have him pick a point.<p>Gee, should we rule out having the same subroutine&#x2F;function in more than one segment? Hmm ....<p>Just where Gates learned about optimization would be a question, but he had a point.
nicholassmith超过 11 年前
You can read it a couple of ways, you can take it as Gates showing off that he did something hard quickly, which is certainly valid, or you can take it as Gates saying &#x27;stop fiddling whilst Rome burns and get it done&#x27;. You can hammer out complex ideas quickly and lose your life twiddling the details, or just do it and move on.<p>Or more likely he was being a bit of a jerk.
fmax30超过 11 年前
Am i not getting something i thought that fat was created by Marc Macdonald? <a href="http://en.wikipedia.org/wiki/File_Allocation_Table#Original_8-bit_FAT" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;File_Allocation_Table#Original_...</a>
Theriac25超过 11 年前
It took me a while to realize that it didn&#x27;t mean writing code that ran aboard an airplane, but code that was written while on an airplane. Somehow the latter didn&#x27;t even cross my mind as something that could be considered impressive.
samspenc超过 11 年前
And they got a patent for it? :D
评论 #6529157 未加载
评论 #6530353 未加载
chris_wot超过 11 年前
So he got out a notepad and pen, then wrote the word &quot;FAT&quot;... whilst on a plane. Awesome!
yOutely超过 11 年前
Skip to the last 2 paragraphs of this article. The rest is filler.