Slashdot Mirror


User: UnknownSoldier

UnknownSoldier's activity in the archive.

Stories
0
Comments
7,910
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 7,910

  1. Re:words on The 69 Words GM Employees Can Never Say · · Score: 1

    Ha! Classic.

    Is this the first reference to "Film at 11" at 2:10 ?

  2. Only Cowards Censor on The 69 Words GM Employees Can Never Say · · Score: 1

    n/t see subject.

  3. Re:PS4 hardware on The Technical Difficulty In Porting a PS3 Game To the PS4 · · Score: 1

    > Why didn't Sony make the PS4 hardware more like that of the PS3?

    There are 2 parts to the answer: hardware + software.

    SCEA, the games division of Sony, is NOT in the hardware business -- they are in the entertainment business. SAY WHAT?! But you ask "They designed all the hardware for the PS1, PS2, and PS3. What changed??"

    Designing and Developing custom hardware is incredibly expensive. Sony was in the RED for about 4 years due to paying an expensive development cost on the PS3. The PS2 GPU - the GS - had a hardware bug where one of the Z-Test modes was completely broken! Sony was not going to repeat that same costly mistakes.

    There is a reason commodity off-the-shelf hardware is cheap. Mass produced, and "good enough", which means "fast enough." Why pay engineers to "re-invent" the wheel for an CPU + GPU when there are already OTHER companies out there who have sunk a ton of man-hours and money into producing them??

    Second, by using standard hardware, instead of fast "esoteric" hardware, you make it easier for developers.

    Developers were constantly complaining to SCEA saying that while the PS3 had more power then the Xbox360 the XBox360 was vastly easier to develop for. Microsoft had a better compiler + IDE compared to the SN toolchain (which Sony eventually bought.)

    > Then less effort would be needed to ensure PS3 games are portable to the newer system.

    This doesn't make any financial sense.

    The PS3 has 1 CPU (PowerPC Cell / PPE) plus 6 co-processors (SPE). The SPEs have 256KB of RAM but are EXTREMELY fast. The SPEs have their own assembly language.

    The multi-core x86 means SCEA didn't have to focus on A) a compiler for the PowerPC Cell, and B) another compiler for the SPE. They can leverage GCC x86 across the board especially with x86 having 4 - 8 cores now.

    For the full story will want to see these:

    * https://www.youtube.com/watch?...
    * http://www.wired.com/2013/11/p...
    * http://www.forbes.com/sites/er...

  4. Re:So someone didn't follow the practice ... on The Technical Difficulty In Porting a PS3 Game To the PS4 · · Score: 1

    > I'll bet when development started, Sony hadn't finalized PS4 plans.

    That's correct. The PS4 was in development for about 4+ years. Naughty Dog's focus wasn't on writing a game for unannounced hardware whose specs were volatile but to finish and ship a game on a known platform. (Disclaimer: I used to work for SCEA.)

    > I'd blame the managers for suddenly springing a new platform on them after the game was done.

    That's exactly right. Short-term Profits vs Long-Term thinking.

    Someone needs to mod your post up as +Informative.

  5. Re:Users make the final decision ... on Did Mozilla Have No Choice But To Add DRM To Firefox? · · Score: 1

    Freedom should never sell out its values.

    or

    You can sell your values but you can't buy morality.

  6. Re: I think... on Did Mozilla Have No Choice But To Add DRM To Firefox? · · Score: 2

    Agreed. Here is an old joke ..

    "A liberal will interpret the constitution, a conservative will quote it!"

  7. Re:Not denying something is different from forcing on Did Mozilla Have No Choice But To Add DRM To Firefox? · · Score: 0

    > And denying people the ability to yell "fire" in a crowded theater is also "the opposite of freedom."

    For the last smegging time, the "fire-theater" issue is about property rights NOT free speech.

    If there is NO fire, you are under an implicit social contract as to NOT create PANIC.
    If there IS a fire, you are also under an implicit social contract to INFORM everyone of the DANGER.

    The road to freedom must be balanced with the destination of moderation.

    There is an old cliche:

    "Be liberal with others, be conservative with yourself"

  8. Re:Not denying something is different from forcing on Did Mozilla Have No Choice But To Add DRM To Firefox? · · Score: 1

    > Yep. So are Excessive taxation without representation

    FTFY.

    Your analogy is also flawed.

    DRM is NOT needed to stream video. In contradistinction government can't function without taxes for now (because are not yet spiritually mature enough to know how to self-govern yet)

  9. Re:So someone didn't follow the practice ... on The Technical Difficulty In Porting a PS3 Game To the PS4 · · Score: 1

    > You can't "optimize" a bubble sort into a quick sort.

    At the risk of being rude, you are not really understanding what optimization actually means.

    You need to take a step back from the trees and look at the forest.

    Sorting is defined as:
      * Input: Given a set of unordered data
      * Output: Return a set of ordered data

    Optimization entails both macro and micro efficiency.

    The algorithm determines the high level efficiency.
    The programming language may offer low level efficiency.

    For example you could write CRC32 without any table usage:

    uint32_t crc32_bitwise(const void* data, size_t length, uint32_t previousCrc32 = 0)
    {
      uint32_t crc = ~previousCrc32; // same as previousCrc32 ^ 0xFFFFFFFF
      unsigned char* current = (unsigned char*) data;
      while (length--)
      {
        crc ^= *current++;
        for (unsigned int j = 0; j < 8; j++)
          if (crc & 1)
            crc = (crc >> 1) ^ Polynomial;
          else
            crc = crc >> 1;
      }
      return ~crc; // same as crc ^ 0xFFFFFFFF
    }

    But with a table approach it becomes the much simper:

    uint32_t crc32_1byte(const void* data, size_t length, uint32_t previousCrc32 = 0)
    {
      uint32_t crc = ~previousCrc32;
      unsigned char* current = (unsigned char*) data;
      while (length--)
        crc = (crc >> 8) ^ crc32Lookup[(crc & 0xFF) ^ *current++];
      return ~crc;
    }

    Code copy pasted from Stephan Brumme

     

  10. Re:Debuggers on Fixing the Pain of Programming · · Score: 5, Funny

    > there are three things that catch bugs before you even get to a debugger:

    Yes, but the "hard" bugs are the ones that happen at run-time. Those depends on the context such as Networking, Rendering, and AI bugs that can be a real PITA to track down.

    Race Conditions, and Deadlock are hairiest ones.

    There has to be a comprehensive list someplace aside from the usual

    * syntax (compile time)
    -- variable mis-spelt
    * logic
    -- classic "fencepost" bug
    * run-time
    -- race conditions
    -- deadlock

    On a half serious note:

    * Bohrbugs: Most of the bugs that we come across are reproducible, and are known as Bohrbugs.
    * Heisenbugs: All experienced programmers have faced situations where the bug that crashed the software just disappears when the software is restarted
    * Mandelbugs: When the cause of the bug is too complex to understand, and the resulting bug appears chaotic,
    * Schroedinbug: Sometimes, you look into the code, and find that it has a bug or a problem that should never have allowed it to work in the first place

    http://www.opensourceforu.com/...

  11. True, but it is more fun to have your own post +5 with 0 comments. :-)

  12. Re:Slashdot's moderating system on Data Mining Shows How Down-Voting Leads To Vicious Circle of Negative Feedback · · Score: 2

    > The average ranking is not rank = up - down. It's rank = p1*up - p2*down. Where p1 is the size of the population which would rank it up, and p2 is the size of the population which would rank it down. A minority viewpoint consequently gets a disproportionate number of unfair downvotes simply because it's a minority viewpoint, and thus has to garner a lot more upvotes just to obtain an equal ranking to a majority viewpoint.

    You've just discussed / discovered the fundamental problem with a democracy. :-) You know the old joke: "Democracy must be something more than two wolves and a sheep voting on what to have for dinner."

    In government, the US used a 2-stage Republic system to overcome the weaknesses of democracy:

    * The House of Representatives is based on state population size
    * The Senate has 2 senators represent each state.

    > A moderating/ranking system which only allows upvotes simply generates different results from a moderating system which allows both upvotes and downvotes.

    IMHO I've found that a moderation system that only allows upvotes to be (mostly) useless. It is far better to be able to downvote / mark trolls / incorrect information so others can get a quick sense of SNR.

    Reddit's moderation system is garbage compared /. for 2 reasons:

    1. you have no "context" for why something was upvoted or downvoted
    2. You end up with a massive circlejerk from the Redditards. Hell I've asked a question and still been downvoted!?!? Next month, I point out the same question and get upvoted like crazy.

    On older sites where the majority aren't our brainless emo teens you can have a civil disagreement.

  13. Re:Ambitious but not much has happened in 6 yrs on Tux3 File System Could Finally Make It Into the Mainline Linux Kernel · · Score: 1

    > ZFS is great, but it's not perfect

    Serious question: I'm curious as to what those would be?

    The license?

  14. Re:What about taxation? on BitPay, Toshiba Partnership Brings Bitcoin To 6,000 New Merchants · · Score: 1

    > Not until they do that for cash.

    Exactly. Cash is anonymous. Why isn't BitCoin allowed to be as well?

  15. Re:has this ever worked? on Could High Bay-Area Prices Make Sacramento the Next Big Startup Hub? · · Score: 1

    Sacramento's weather sucks ass in the summer. One of my best friends lives there -- I hate the weather -- even though the rest of the city is OK.

    At least in the Bay Area / San Jose you are relatively close to the water to provide a much more stable temperature other the hell hole hot weather of Sacramento. Summers in contrast in San Jose are beautiful -- not to hot, not to cold.

  16. Re:NO Photoshop for you! on Adobe Creative Cloud Services Offline (Again?) · · Score: 1

    > For those of us who depend on Photoshop for print work Gimp does not cut it.

    Agreed. GIMP is still missing Layer Effects.

    At least it supports nested layer groups, and all the blend modes, finally.

    Every few years I try to load a logo I made with Photoshop Creative Suite into GIMP and see if it will display correctly. Every few years it slowly inches towards rendering correctly.

  17. Re:Anyone can get hired on Ask Slashdot: Minimum Programming Competence In Order To Get a Job? · · Score: 1

    Once they have something like this ... #47009861
    It is trivial to extend itoa() to include base support up to hex. You change 3 lines.

    e.g.

    int itoa( int n, char* buffer, int base = 10 ) {
      const char hexdigits[] = "0123456789ABCDEF"; // 1st change to support arbitrary bases
      int digit, negative = (n < 0), remain = (negative) ? -n : n;
      char *end = buffer;
      while( remain >= base ) {
        digit = remain % base;
        remain = remain / base;
        *end++ = hexdigits[ digit ]; // 2nd change to support arbitrary bases
      }
      *end++ = hexdigits[ remain % base ]; // 3rd change to support arbitrary bases
      if( negative )
        *end++ = '-';
      *end = 0;
    // TODO: StringReverse( text );
      return (end - buffer);
    }

  18. Re:Anyone can get hired on Ask Slashdot: Minimum Programming Competence In Order To Get a Job? · · Score: 1

    > Why would you need a string reverse in the first place?

    Given an integer, say -123, you typically peel off the digits one at a time in the one's place to allow for printing in an arbitrary base (say bases 2, 8, 10, 16; binary, octal, decimal, hexadecimal respectively). For example:

    // assume buffer has ceil( log( 2^(8*sizeof(int)-1) / log( base ) ) bytes + 1 byte sign space
    int itoa( int n, char* buffer, int base = 10 ) {
      int digit, negative = (n < 0), remain = (negative) ? -n : n; // remain = abs(n)
      char *end = buffer;
      while( remain >= base ) {
        digit = remain % base;
        remain = remain / base;
        *end++ = ('0' + digit);
      }
      *end++ = ('0' + (remain % 10)); // last digit
      if( negative )
        *end++ = '-';
      *end = 0;
    // TODO: StringReverse( text );
      return (end - buffer); // return string width
    }

    This becomes the string '3' '2' '1', '-' which is reversed.

    It is possible to write itoa so no push() pop() or strrev() is needed at all by putting the character digits in the proper place when the mod is done in the first place.

    * http://en.wikipedia.org/wiki/N...

  19. Re:Monopoly on Autodesk Unveils 3d Printer As It Aims To Become Industry's Android · · Score: 0

    /sarcasm Keep focusing on the messenger instead of the message.

  20. Re:EA, Ubisoft, others, shit on respect for gamers on In the New Age of Game Development, Gamers Have More Power Than Ever · · Score: 1

    Nice find!

    Bunch of fun puzzles on Page 66. :-)

  21. Re:Octane Benchmark is 50% faster on Mac OS X on WebKit Unifies JavaScript Compilation With LLVM Optimizer · · Score: 1

    I'm seeing similar results:

    2.6 GHz i7, MacBook Pro Retina 15-inch Late 2013, OSX 10.9.2

    * Chrome 34.0.1847.131: 28699
    * Firefox: 29.0.1: 21743
    * Firefox 29.0: 21515
    * Safari 7.0.3 (9537.75.14): 18303

    Test / Chrome / Firefox / Safari
    Richards 33336 .. 24856 .. 21234
    Deltablue 37568 .. 24166 .. 17283
    Crypto 28108 .. 25745 .. 24910
    Raytrace 66451 .. 24124 .. 25726
    EarleyBoyer 50226 .. 17415 .. 27887
    Regexp 4847 .. 2361 .. 1656
    Splay 12501 ..13226 .. 11951
    SplayLat 21808 .. 9522 ..12525
    NavierStokes 27317 .. 30688 .. 20607
    pdf.js 24889 .. 15698 .. 12221
    Mandreel 30117 .. 29329 .. 15985
    MandreelLat 23967 .. 38645 .. 17554
    GBEmulator 58589 .. 44601 .. 26002
    CodeLode 19132 .. 19636 .. 36069
    Box2DWeb 45047 .. 35278 .. 26763
    zlib 41246 .. 67528 .. 24031
    Typescript 38301 .. 24644 .. 41874

  22. Re:Terrible idea on Do Embedded Systems Need a Time To Die? · · Score: 1

    > Techs who have been around before the year 2000 tend to have this policy.

    Exactly: Don't fix what isn't broken.

  23. Re:Terrible idea on Do Embedded Systems Need a Time To Die? · · Score: 1

    > This is why I will never buy an Android phone again. The lack of guaranteed updates is a huge problem.

    Is Apple really any better though?

    Try getting iOS updates to the original iPad. Mine is stuck on iOS5. :-(

    I'm using iOS6 on iPhone 5 but I don't see any other vendor doing a better job of support. Apple isn't interested in fixing bugs in iOS6.

  24. Re:Terrible idea on Do Embedded Systems Need a Time To Die? · · Score: 1

    Agreed. Forced obsolescence is NOT the answer.

  25. Nonsense on Your Old CD Collection Is Dying · · Score: 2

    I rip my CD with Exact Audio Copy to FLAC and/or use iTunes and rip to Apple Lossless.

    These days Amazone has "InstantRip" so I can immediately download and listen as 256 kbps .mp3s are "good enough" for most music.