• PC Paul (unregistered) in reply to Kitgerrits
    Kitgerrits:
    Ooh! I just found a new way of logging out as a user. (assuming it correctly kills the shell and SSH process)

    That's fine if you just want to stop yourself doing anything.

    If you want to stop everybody doing anything, try this instead:

    #!/bin/sh $0 && $0 &

    Run it, and wait a while. Shouldn't take long before everybody stops. ;-)

  • Flash (unregistered) in reply to csrster
    csrster:
    And wtf is the "Factory Handler Pattern" anyway? Google didn't help.

    If you have never heard of the factory pattern then you have some reading to do. Try the bible of design patterns Design Patterns: Elements of Reusable Object-Oriented Software.

    I'm surprised this question had to be asked. The factory creational pattern is a fundamental computer science concept. Here the author is obviously employing this pattern in combination with handlers. A single generic driver (singleton or static) associated with a factory of handlers for specific functionality I'd say. Very common.

  • Art (unregistered) in reply to Al

    That's terrible! What if you have machine with gid_t long enough so that might overflow 54 digits!

  • 855 (unregistered)
    Comment held for moderation.
  • wholesale jordan shoes (unregistered)
    Comment held for moderation.
  • uggs outlet stores (unregistered)
    Comment held for moderation.
  • eric bloedow (unregistered)

    i seem to remember a story where someone used a "divide by zero" error in place of "exit"...

Leave a comment on “Early Termination”

Log In or post as a guest

Replying to comment #:

« Return to Article