- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
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. ;-)
Admin
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.
Admin
That's terrible! What if you have machine with gid_t long enough so that might overflow 54 digits!
Admin
Thanks for sharing!Your articles it is wonderful!!uggs outlet| Do you knowaion kina?if you play the online game,you will knowaion online kinais the game gold. In the game,if you had moreaion gold,you will had a tall level. But if you wantbuy aion kina,you can come here and spend a little money to boughtcheap aion kina.Quickly come here uggs outlet|
Admin
i seem to remember a story where someone used a "divide by zero" error in place of "exit"...