Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Funny things on linux

  1. #1
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    In a house... hopefully
    Posts
    554

    Funny things on linux

    one great thing about open source, is that everyone has to put in their own little funny thing , like in a serious program trying to tell the reader something serious, and have blab blab blab as the title...

    here is one which i just came across on planeshift...

    depends of how much cash you have spent on hardware. Please wait..
    what other stuff have you found or done in programs...

  2. #2
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    Well,

    Back in my days of VB programming, I used to make "front-end" and "back-end", as well as the "user interface" for database programs, and tons of utility programs ( to make up for the lack of them, within the OS ).

    One of my biggest "pet peeves" was making sure that anything that wasnt expected, or "planned" to happen, was brought to the "users" attention, this, in itself, lends itself to a myriad of possibilities. Even some of my own scripts in Kanotix, do this... either in comments, or, in, out-right "echo's" to the screen...

    I have a script I made to transfer files from one system to another, the script uses another script, that I made, to handle openning a secure shell (root) session to the other system, and also mounts the complete hard drive tree of the other system. In the mounting script, I do not assume the "remote" hard drive tree is mounted, and check, to see if it might be "pre-mounted" already... if it isnt, a comment states that it isnt, and we try mounting it... after the mount, we test again, to see if its mounted... if it is, we be OK... if it isnt, a nice, polite, echo is pasted to the screen stating: "we attempted to mount 'system x', it must have failed! Major BOO-BOO here! Cant handle it! You look at it! Im crashing now! BYE!"

    In some of my database days, in VB, and in Windows - when we attempted to shift indexes, in a complete 10,000 entry database, and something was "wrong" or "unexpected", I usually popped up a nice error message, to inform, probably me, of what it was doing, where it was at, and, just how bad it was, or IS... Errors commonly used by me, were, of the nature:

    Code:
    Database index shift in progress.
    *** At entry 554 of 20,503 = "text of the entry".
    
    PROBLEM!
    MAJOR!
    DISSASTEROUS!!!
    UNRECOVERABLE!!!!!!!
    
    WARNING: Database is CORRUPT! Unable to recover from "error: xxxxxxxx"
    Database is being left in UNUSABLE STATE! Manual recovery is needed!
    
    *** SERIOUS ***
    Database is the LIVE version! ( hope you had a backup!! )
    
    ADDENDUM:
    This is going to catch some major head-rolling!
    ( as a side note: is your resume current? )
    This would have been one of my "early" database conversion programs, later versions, started to make backup copies first, have the ability to follow a log file of what "exactly" it was doing at the point of crashing, and, yes, have recover ability... Considering that "I" would probably be the only one seeing the above message, I could do away with any "pleasantries" of an error message, and state exactly, not mincing any words, what was wrong... As I started to program in a "work" environment, my messages had to become more obscure, and fall back to using log, or error, files for my output. What someone might see, on one of those programs, seeing the same from above, happens, but, at work, it might look like this:

    Code:
    Something "unexpected" happened!
    CONGRATULATIONS! You did something that I hadn't planned for!
    
    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
    PLEASE:
    *** Contact "technical support" to claim your PRIZE!
    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
    With the above message, to the user, examinine the error log, or audit log, it might have spewed about 30 to 50 lines of messages on just "exactly" went wrong, and where. One program I wrote, a MAJOR crasher, had echo statements to the audit log on, what option was picked from the menu, what section the code was in, where it was called from, how many calls, and a complete tree of the subprocesses ( functions or subs ) that had been called, and in what order. Considering the program ran, for, I think it was five hours, dealt with billions of dollars of transactions, and disk space was a premium, we couldnt run from a backup copy, or even have the space for a backup file, it had to be run on a "live" database, it was catastrophic when it crashed. It took, even with all the audit trail log entries, at least three hours to recover from a "minor" boo-boo, a "serious" one, could take as much as ten hours, to even get the database back to its "original" pre-run state. The program, which was actually, about ten sub-programs in chain, was more than 100,000 lines of code, and that was without the autil log entries, echos, displays, this was just the "processing meat" of the program. Spent tons of time working on it, making changes to functions, subprocesses, routines, etc... in hopes to make it more "robust" to crashing, but, it was still a bugger when it ran ( lots of finger crossing from the support people, thats for sure )

    About the funniest error message I ever saw, and one of our "programmers" like to use it, it was there own "calling card", and they usually used it, when, lets say, words can not express, how much "doo-doo" the error has caused, was, just a simple word:

    Code:
    ***** OOPS! *****
    They usually used a nice, RADIOACTIVE icon symbol for the error pop-up, too - was rather fitting

    Ms. Cuddles

  3. #3
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    In a house... hopefully
    Posts
    554
    haha... evil aint you...

    well, next time you have the something unexpected happened...

    have a picture like this


  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568

  5. #5
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    Sydney/Australia
    Posts
    311
    chris-harry ...



    don't get me wrong m8, but ...

    the day you actually start making sense , well ... who knows ... i'll have to double check my lotto i think (grin) ...

    Ms cuddles ... an excellent interpretation (hehe)

    yes ...

    -=- (and lovinging it chief !)


    jm

  6. #6
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    In a house... hopefully
    Posts
    554
    the day you actually start making sense Rolling Eyes , well ... who knows Smile ... i'll have to double check my lotto i think (grin) ...
    am i where??

  7. #7
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Southern Maine, US
    Posts
    274
    When I write scripts to do stuff and give them to people, I like to have it echo things like "No useable files found. Jesus hates you." and I remember like a year ago, the apt-get --help said "this apt has super cow powers" at the end.

  8. #8
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    In a house... hopefully
    Posts
    554
    i think i remember the cow powers one... its was on me laptop...

  9. #9
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    Sydney/Australia
    Posts
    311
    I nearly posted something ... arrrrrr, it must be contagious, or i'm just sobering up or something (there is a tea-totalling streak in the family too )

    >>
    am i where??
    >>

    Always sense (grin) ...

    All the best for head-ache season too, u-all


    jm



    arrrrrrrr --- i did post something !

  10. #10
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    In a house... hopefully
    Posts
    554
    i remember posting something here when i was drunk... thank god i didnt say anything bad...

Page 1 of 2 12 LastLast

Similar Threads

  1. A couple of things we Linux users *really* need
    By Mistshadow in forum The Lounge
    Replies: 22
    Last Post: 01-29-2004, 04:02 PM
  2. OFFTOPIC: Funny, strange things could happen
    By PrOCesSkIlL in forum The Lounge
    Replies: 0
    Last Post: 11-19-2003, 05:59 PM
  3. funny fonts
    By dave52355 in forum General Support
    Replies: 0
    Last Post: 10-18-2003, 11:44 PM
  4. Replies: 2
    Last Post: 09-15-2003, 08:40 PM
  5. linux in general and obvious things missing.
    By VeeDubb in forum The Lounge
    Replies: 4
    Last Post: 04-05-2003, 05:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem picture

Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem

$39.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM picture

Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM

$20.99



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand picture

Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand

$60.00



Kingston KCP424SD8/16 16GB DDR4 2400Mhz Memory RAM picture

Kingston KCP424SD8/16 16GB DDR4 2400Mhz Memory RAM

$15.00



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$143.98