18Nov/0923

Academia vs Business

by Jeff

Image text: Some engineer out there has solved P=NP and it's locked up in an electric eggbeater calibration routine.  For every 0x5f375a86 we learn about, there are thousands we never see.

This comic is a flow chart defining what would happen if this person solved an impossible problem given to him and what would happen if he were in academia or in business.  The argument seems to be here that Academia is much better than business, at least for the ego.

p=NP problem is one of the great unsolved problems in computer science.  The Clay Mathematics Institute has a $1 million prize to the first person or group who solves it.

EDIT: As mentioned by just about everybody in the comments, 0x5f375a86 is the algorithm to approximate the solution to the square root of an unsigned floating number, also known as fast inverse square root.  The solution uses an ingenious first approximation and the difficult problem was solved without any fanfare (like in the cartoon) for the game, Quake III Arena.  Thanks everyone!

Comments (23) Trackbacks (0)
  1. Ya, but what is “every 0×5f375a86 we learn about” referring to?

  2. It isn’t saying that academia is better for the ego. It’s saying that in the real world people don’t appreciate the difficulty of programming. Solving even the most complicated problem is viewed as only being as significant as synching outlook with a phone.

    • It’s even simpler than that.

      In academia, the goal is the way. Elegant solution is much better than the straight and complicated solution. Even even if you don’t solve the problem, failures are also appreciated.
      In business, the goal is the solution. Have it complicated, have it simple, have it full of bugs- as long as you have final solution.

      This is why academia is reffered to as the ivory tower- you don’t have to actually solve a problem, you just need to have something new. This is why business is sometimes so frustrating- it is okay, and even preffered, to copy something that works, but you must solve the problem. Elegant failures or clumsy solutions- take your pick.

  3. 0×5f375a86 is part of an ingenious algorithm to apporimate the square root of an unsigned floating number. This operation has numerous applications in computer algorithms and having a fast algorithm for it is therefore a pretty neat thing.
    see http://en.wikipedia.org/wiki/Fast_inverse_square_root (never mind that wikipedia gives the number as 0×5f3759df…)

    • and the relevance to the comic is of course that the algorithm was first developed for a computer game “even though” it constituted kind of a breakthrough.

  4. For 0×5f375a86 you’ll want to look at this:
    http://www.lomont.org/Math/Papers/2003/InvSqrt.pdf

  5. 0×5f375a86 is about a cool piece of code found in the quake3 source, for doing 1/sqrt(x) quickly. It seems, though, that no one really knows who wrote the original code. Could have been from academia….
    http://www.beyond3d.com/content/articles/8/

  6. I believe it is not “strictly” about programming. Having spent 30+ years in the business world, I can tell you there is little to no appreciation of the impossible. If you accomplish the impossible, you will simply be given additional work to do. No raise, no “Thank you,” and especially no grandstanding.

    No, I’m not bitter. . . . why do you ask? :(

    • I know what you mean. It may or may not be strictly about programming but I can assure you that (being a tech of one sort or another for about the same 30 years) I have created code that should have been immortalized in the Louvre due to its beauty and I got nary a grunt for the effort.
      Two days later I would enable an email to be opened by installing a patch to the person’s email client and one would think that I saved the planet.
      However, ten seconds after that we would be back to, “What have you done for this company lately?”

  7. The ‘0×5f375a86′ is a reference to John Carmack’s famous fast inverse square root function in Quake (see: http://en.wikipedia.org/wiki/Fast_inverse_square_root#The_.22magic_number.22)

  8. http://en.wikipedia.org/wiki/5f375a86

    Magic number in an inverse-square-root approximation algorithm.

  9. Well, I think the explanation of 0×5f375a86 is just a bit more complex than than the “John Carmack” algorithm. The magic number used by John Carmack in it’s code is in fact 0×5f3759df , the one used on the wikipedia page. I think xkcd refer to Chris Lomont paper http://www.lomont.org/Math/Papers/2003/InvSqrt.pdf which itself refer to the John Carmack code.

    Chris Lomont ask himself why does the code works, and how the constant was first found. He described how does the code works, but failed to explain how the constant was found. During the process, he found that 0×5f375a86 was a slighly better magic number than the original one.

    While Carmack can neither be labeled Academia or Business, Chris Lomont’s paper is clearly an academic paper. That’s why I think that xkcd note refer to Chris Lomont study.

    Ho, and by the way, it appears that John Carmack is not the father of this code :)

    http://www.beyond3d.com/content/articles/8/

    It look like noone ever wrote this code, while every suspect remember that code, each one says he’s not the original author. Clearly similar like all the javascript code written between 1995 and 2005, only copied from other web sites, never written from scratch.

  10. “The argument seems to be here that Academia is much better than business, at least for the ego.”
    Not entirely true, but not entirely false as well. I would put it that, in the end its all about choosing the lesser of 2 ‘evils’, ahem!


Leave a comment


Anti-Spam Protection by WP-SpamFree

No trackbacks yet.

Pages

Facebook

Blogroll

Categories

Meta