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:Mystics on Scientists Discover Meaning of Life Through Massive Computing Project · · Score: 1

    The Meaning of Life can be summed up with 3 phrases:

    * You have a relationship with _everything_, including yourself.
    * Your primary purpose is to discovery how to "Be excellent to everything/everyone"
    * Unconditional love is the highest form of this relationship

    The 4 absolute laws of the universe:

    * Law of Existence: Physical is Temporary, Spirit is Eternal
    * Law of Hologram: All is One; One is All
    * Law of Karma: You receive what you give
    * Law of Absolutes: Aside from the firs 3, everything else is relative

    i.e.
    Scientists haven't discovered the 2 missing forces (yet): Strong-Galactic and Weak-Galactic
    Scientists are ignorant of First Contact by 2024.

  2. Re:THIS is a "golden age"? Yikes. on We're In a Golden Age of Star Trek Webseries Right Now · · Score: 1

    I found it be hit-or-miss.

    Star Trek Continues is decent -- it embodies the spirit of TOS. They even got Marina Sirtis and Michael Dorn to play the voice of the computer.

    But I agree about the others. Holy crap is "Starship Exeter: The Tressaurian Intersection" ever terrible!! i.e. Having Spock being replaced with a woman trying not to portray any emotion when her eyebrows give her away is god awful.

  3. Re:LOL! on We're In a Golden Age of Star Trek Webseries Right Now · · Score: 1
  4. Re:When every citizen is a potential terrorist... on Europol Chief Warns About Computer Encryption · · Score: 2

    /Oblg. "Government: Terrorists who extorts its citizens to prevent another group of terrorists from taking over its job."

  5. Re: Not everyone on NSA: We Mulled Ending Phone Program Before Edward Snowden Leaks · · Score: 2

    Dam straight! There needs to be a balance:

    * Too much authority with too little accountability leads to abuse of power
    * Too little authority with too much accountability leads to bureaucracy.

    You curtail abuses of Authority by having Accountability

  6. Re:Compactness and Readability on Ask Slashdot: What Makes Some Code Particularly Good? · · Score: 1

    It will come up in your Comp. Sci. education.

    If it doesn't you have really bad teachers, or a really bad school.

    All good programmers should understand the basics of one-way-hashes.

  7. Good riddance: Worst Buy and Future Crap on Best Buy Kills Off Future Shop · · Score: 1

    Future Shop salespeople were pushy.

    Best Buy had overpriced outdated items that could be bought far cheaper online.

  8. Re:Compactness and Readability on Ask Slashdot: What Makes Some Code Particularly Good? · · Score: 1

    Yeah, I forgot to include

    // Reference: http://www.ifp.illinois.edu/~sarwate/pubs/Sarwate88Computing.pdf

  9. Re:Compactness and Readability on Ask Slashdot: What Makes Some Code Particularly Good? · · Score: 1

    > What the hell is this?

    The 8th entry is set to zero so that the test can verify the table was initialized properly.

    > 4))

    > Why is there a block comment at the beginning that does nothing.

    For alignment of CRC32_REVERSE, CRC32_VERIFY, CRC32_Table since /. fucks up formatting.

    > and what the hell does that trailing comment mean?

    The comments lists entries [0] and [1]. The first 8 entries are these :
    i.e. 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3,

    Whenever you generate a table it is always helpful to list _expected_ values so someone can _verify_ them with _actual_ values.

  10. Compactness and Readability on Ask Slashdot: What Makes Some Code Particularly Good? · · Score: -1, Flamebait

    Let's let at the clusterfuck of Boost's CRC code
    1109 lines of over-engineered C++ crap for a simple CRC32 function!?!?

    Now compare that to these simple 27 lines of C/C++ code.

    #include <stdint.h>
     
    const uint32_t CRC32_REVERSE = 0xEDB88320; // reverse = shift right
    const uint32_t CRC32_VERIFY = 0xCBF43926; // "123456789" -> 0xCBF43926
    /* */ uint32_t CRC32_Table[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }; // i.e. 0x00000000, 0x77073096,
     
    void crc32_init()
    {
      for( short byte = 0; byte < 256; byte++ )
      {
          uint32_t crc = (uint32_t) byte;
          for( char bit = 0; bit < 8; bit++ )
              if( crc & 1 ) crc = (crc >> 1) ^ CRC32_REVERSE; // reverse/reflected Form
              else /* = 0*/ crc = (crc >> 1);
          CRC32_Table[ byte ] = crc;
      }
      if( CRC32_Table[8] != (CRC32_REVERSE >> 4))
          printf("ERROR: CRC32 Table not initialized properly!\n");
    }
     
    uint32_t crc32_buffer( const char *pData, uint32_t nLength )
    {
      uint32_t crc = (uint32_t) -1 ; // Optimization: crc = CRC32_INIT;
      while( nLength-- > 0 )
          crc = CRC32_Table[ (crc ^ *pData++) & 0xFF ] ^ (crc >> 8);
      return ~crc; // Optimization: crc ^= CRC32_DONE
    }

    Typical bloated code solves some theoretical "general purpose" solution. Good code does one thing well:

    It communicates clearly what it is trying to do.

    _When_ was the last time you actually needed a different CRC function from the standard 32-bit one?

  11. Re:I always just declined when they asked on RadioShack Puts Customer Data Up For Sale In Bankruptcy Auction · · Score: 2

    Same.

    Clerk: "Phone Number?"
    Me: "Cash Customer"
    Clerk. "OK." They skip entering any more info in.

  12. Re:Hmmm on RadioShack Puts Customer Data Up For Sale In Bankruptcy Auction · · Score: 0

    > You're just being a dick and making the security guard's job more difficult.

    Somebody call the wahmbulance simply because somebody is sticking up for their rights.

    Fry's and Costco nazi's can go fuck themselves. They don't _have_ to like it, but it is the LAW.

  13. Re:Check their work or check the summary? on No, It's Not Always Quicker To Do Things In Memory · · Score: 1

    > Optimizing memory is a dying skill,

    It is now called Data Orientated Design.

    Google+ Group
    * https://plus.google.com/+Datao...

    Data-Oriented Design and C++
      * https://www.youtube.com/watch?...

    Typical C++ Bullshit
      * http://macton.smugmug.com/gall...

    Pitfalls of Object Oriented Programming
    * http://research.scee.net/files...
    * http://www.slideshare.net/royc...

  14. Re:PHP is fine on Modern PHP: New Features and Good Practices · · Score: 1

    Ad hominem fallacy. The reasons _why_ I hate PHP are irrelevant.

    PHP is a shit design language. Education is the only way to get people to see its problems.

    > They either don't notice it,

    Typical head in the sand. Ignoring a problem doesn't make it go away.

    > work around it,

    Sometimes you can, however one can't work around fundamental inconsistency embedded in the design.

    > or work in the language with such a level of abstraction that they are not a problem.

    Exactly; They use a better designed language.

  15. Re:What about McGyver on The X-Files To Return · · Score: 1

    Or maybe he respected her.

    Nah, let's remain myopic.

  16. Re:the AARP-files on The X-Files To Return · · Score: 1

    You won't be laughing by 2024. :-)

  17. Jumped the shark: No closure on The X-Files To Return · · Score: 3, Insightful

    When X-Files originally aired it was fresh. 9 seasons later they just waffled back and forth with absolutely no closure.

    Fans got tired of Christ Carter not having any balls to commit one way or another.

  18. Re:Here's MY test on A Bechdel Test For Programmers? · · Score: 1

    And men are underrepresented in giving birth.

    Translation: No one give a shit about a non-issue

  19. Re:"Cyber" on Nobody Is Sure What Should Count As a Cyber Incident · · Score: 1

    Agree 100% -- Cyber is the word these security clowns that just confirms it used by idiots. We don't need to replace "Virtual" or "Online" with yet another dumb term.

    Almost as bad as the retards who use "Task Force"

  20. Re:As a recent buyer of a mid-2014 MBP on Apple Doubles MacBook Pro R/W Performance · · Score: 1

    What is why you check the Mac Buying Guide to see if a new release is imminent so you don't end up with buyer's remorse:

    http://buyersguide.macrumors.c...

    Future proofing doesn't exist in tech. EVERYTHING eventually becomes obsolete. :-(

    --
    PHP: A language designed by a noob for boobs

  21. Re:PHP is fine on Modern PHP: New Features and Good Practices · · Score: 1

    > Lisp is perfect for you.

    We're not talking about other languages. We're talking about how fucked up PHP is.

    > it's not like the interpreter is making arbitrary decisions

    Counter-example:

    http://3v4l.org/tRieg

    if( true OR false ) echo "1st true\n"; // OK
    if( false OR true ) echo "2nd true\n"; // OK
     
    $bar = true;
    $foo = false;
     
    $wat = $bar OR $foo;
    echo $wat ."\n"; // OK: 1
    if( $wat ) echo "wat = T|F\n";
     
    $wat = $foo OR $bar;
    echo $wat ."\n"; // WAT? doesn't print?
    if( false OR $bar ) echo "F | bar\n"; // OK
    if( $foo OR $bar ) echo "foo | bar\n"; // OK
    if( $wat ) echo "wat = F|T\n"; // WAT? doesn't print?
     
    var_dump( false OR true ); // OK: bool(true)
    $wat = false OR true;
    var_dump( $wat ); // WAT? bool(false)

    Is to too much for the fucking language to just work ?

    Oh wait, I forgot this was a:

    Phucked-Up:
    Hopeless-beyond-repair
    Piece-of-Shit

    "programming" language. That explains it!

    --
    PHP: Designed by fucktards for fucktards.

  22. Re:PHP is fine on Modern PHP: New Features and Good Practices · · Score: 1

    Let's talk about a language for noobs designed by a boob:

    var_dump( foo ); // OK: string(3) foo
    var_dump( int ); // WAT: Parse error
    var_dump(/**/int); // WAT? string(3) "int"

  23. Re:PHP is fine on Modern PHP: New Features and Good Practices · · Score: 1

    > from some ideology that isn't based in rational discourse. /sarcasm Ah, so consistency is irrational now.

    Only in a brain-dead language can you do stupid shit like this:

    echo int ."\n"; // OK: int
     
    echo (int) int ."\n"; // WAT? 0
    var_dump( (int) int ); // WAT? int(0)
     
    echo (foo) ."\n"; // OK: foo
    echo (int) ."\n"; // WAT: Parse error
     
    var_dump( foo ); // OK: string(3) "foo"
    var_dump( int ); // WAT: Parse error

    You PHP / Javascript apologists crack me up.

  24. Re:PHP is fine on Modern PHP: New Features and Good Practices · · Score: 1

    > You say zero and 0 and "0" the same.

    No, not me, I'm only listing PHP's stupidity.

    Here is a table showing how PHP's == operator is completely fucked up ..
    http://habnab.it/php-table.htm...

    Of Javascript is just as retarded ...
    https://dorey.github.io/JavaSc...

  25. Re:PHP is a piece of shit and this is why on Modern PHP: New Features and Good Practices · · Score: 1

    That's a great list!

    Analysis of the PHP source code, showing some of the ways PHP is fucked up and hopeless beyond repair:

    http://www.viva64.com/en/b/027...