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
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs picture

CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs

$246.67



Dell Poweredge XC730xd 3.5 2x E5-2690 v3 2.6ghz 64gb JBOD 12x Trays 2x1100w picture

Dell Poweredge XC730xd 3.5 2x E5-2690 v3 2.6ghz 64gb JBOD 12x Trays 2x1100w

$239.99



DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY picture

DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY

$329.00



Dell R730 8B LFF 2x 2.40GHz 14C Intel Xeon E5-2680 v4 32GB RAM 2x 3TB HDD HBA330 picture

Dell R730 8B LFF 2x 2.40GHz 14C Intel Xeon E5-2680 v4 32GB RAM 2x 3TB HDD HBA330

$299.99



Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU picture

Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU

$419.99



DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 256GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 256GB H730 4xRJ45

$600.00