Showing posts with label GPF. Show all posts
Showing posts with label GPF. Show all posts

Friday, December 22, 2006

BH #2 - GPF

What is GPF? Technical term, General Protection Fault. It's what happens when your shiny Micro$oft Windoze computer craps itself, something goes wrong, and you get the legendary BSOD. (Blue Screen of Death) This section contains bits and pieces of our lives that GPF. Jokes, situations, gags, etc. It will either leave you spitting nails, or put a smile on your face. Your mileage may vary.



This is an actual alert to IBM Field Engineers that went out to all IBM Branch Offices. The person who wrote it was very serious. The rest of us may find it rather humorous.


Abstract: Mouse Balls Available as FRU (Field Replacement Unit)

Mouse Balls are now available as FRU. Therefore, if a mouse fails to operate or should it perform erratically, it may need a ball replacement. Because of the delicate nature of this procedure, replacement of mouse balls should only be attempted by properly trained personnel.

Before proceeding, determine the type of mouse balls by examining the underside of the mouse. Domestic balls will be harder and larger than foreign balls. Ball removal procedures differ depending on the manufacturer of the mouse. Foreign balls can be replaced using the pop-off method. Domestic balls are replaced using the twist off method. Mouse Balls are usually not static sensitive. However, excessive handling can result in sudden discharge. Upon completion of ball replacement, the mouse may be used immediately.

It is recommended that each replacer have a pair of spare balls for maintaining optimum customer satisfaction, and that any customer missing his balls should suspect local personnel of removing these necessary items.




Nine Types of ComputerUsers

  1. El Explicito:
    "I tried the thing, ya know, and it worked, ya know, but now it doesn't, ya know?"
    Advantages: Provides interesting communication challenges.
    Disadvantages: So do chimps.
    Symptoms: Complete inability to use proper nouns
    Real Case: One user walked up to a certain Armenian pod manager and said, "I can't get what I want!" The pod manager leaned back, put his hands on his belt-buckle, and said, "Well, ma'am, you've come to the right place."
  2. Mad Bomber:
    "Well, I hit Alt-f6, shift-f8, Cntrl-f10, f4, and f9, and now it looks all weird."
    Advantages: Will try to find own solution to problems.
    Disadvantages: User might have translated document to Navajo without meaning to.
    Symptoms: More than six stopped jobs in UNIX, a 2:1 code-to-letter ratio in WordPerfect
    Real Case: One user came in complaining that his WordPerfect document was underlined. When I used reveal codes on it, I found that he'd set and unset underline more than fifty times in his document.
  3. Frying Pan/Fire Tactician:
    "It didn't work with the data set we had, so I fed in my aunt's recipe for key lime pie."
    Advantages: Will usually fix error.
    Disadvantages: 'Fix' is defined VERY loosely here.
    Symptoms: A tendency to delete lines that get errors instead of fixing them.
    Real Case: One user complained that their program executed, but didn't do anything. The scon looked at it for twenty minutes before realizing that they'd commented out EVERY LINE. The user said, "Well, that was the only way I could get it to compile."
  4. Shaman:
    "Last week, when the moon was full, the clouds were thick, and formahaut was above the horizon, I typed f77, and lo, it did compile."
    Advantages: Gives insight into primitive mythology.
    Disadvantages: Few scons are anthropology majors.
    Symptoms: Frequent questions about irrelevant objects.
    Real Case: One user complained that all information on one of their disks got erased (as Norton Utilities showed nothing but empty sectors, I suspect nothing had ever been on it). Reasoning that the deleted information went *somewhere*, they wouldn't shut up until the scon checked four different disks for the missing information.
  5. X-user:
    "Will you look at those...um, that resolution, quite impressive, really."
    Advantages: Using the cutting-edge in graphics technology.
    Disadvantages: Has little or no idea how to use the cutting-edge in graphics technology.
    Symptoms: Fuzzy hands, blindness
    Real Case: When I was off duty, two users sat down in front of me at DEC station 5000/200s that systems was reconfiguring. I suppressed my laughter while, for twenty minutes, they sat down and did their best to act like they were doing exectly what they wanted to do, even though they couldn't log in.
  6. Miracle Worker:
    "But it read a file from it yesterday!" 'Sir, at a guess, this disk has been swallowed and regurgitated.' "But I did that a month ago, and it read a file from it yesterday!"
    Advantages: Apparently has remarkable luck when you aren't around.
    Disadvantages: People complain when scons actually use the word "horse-puckey".
    Symptoms: Loses all ability to do impossible when you're around. Must be the kryptonite in your pocket.
    Real Case: At least three users have claimed that they've loaded IBM WordPerfect from Macintosh disks.
  7. Taskmaster:
    "Well, this is a file in MacWrite. Do you know how I can upload it to MUSIC, transfer it over to UNIX from there, download it onto an IBM, convert it to WordPerfect, and put it in three-column format?"
    Advantages: Bold new challenges.
    Disadvantages: Makes one wish to be a garbage collector.
    Symptoms: An inability to keep quiet. Strong tendencies to make machines do things they don't want to do.
    Real Case: One user tried to get a scon to find out what another person's E-mail address was even though the user didn't know his target's home system, account name, or real name.
  8. Maestro:
    "Well, first I sat down, like this. Then I logged on, like this, and after that, I typed in my password, like this, and after that I edited my file, like this, and after that I went to this line here, like this, and after that I picked my nose, like this..."
    Advantages: Willing to show you exactly what they did to get an error.
    Disadvantages: For as long as five or six hours.
    Symptoms: Selective deafness to the phrases, "Right, right, okay, but what was the ERROR?", and a strong fondness for the phrase, "Well, I'm getting to that."
    Real Case: I once had to spend half an hour looking over a user's shoulder while they continuously retrieved a document into itself and denied that they did it (the user was complaining that their document was 87 copies of the same thing).
  9. Princess:
    "I need a Mac, and someone's got the one I like reserved, would you please garrote him and put him in the paper recycling bin?"
    Advantages: Flatters you with their high standards for your service.
    Disadvantages: Impresses you with their obliviousness to other people on this planet.
    Symptoms: Inability to communicate except by complaining.
    Real Case: One asked a scon to remove the message of the day because he (the user) didn't like it.




The Evolution of a Programmer

High School/Jr.High


10 PRINT "HELLO WORLD"
20 END


First year in College

program Hello(input, output)
begin
writeln('Hello World')
end.


Senior year in College

(defun hello
(print
(cons 'Hello (list 'World))))


New professional

#include
void main(void)
{
char *message[] = {"Hello ", "World"};
int i;

for(i = 0; i < >Seasoned professional

#include
#include

class string
{
private:
int size;
char *ptr;

public:
string() : size(0), ptr(new char('\0')) {}

string(const string &s) : size(s.size)
{
ptr = new char[size + 1];
strcpy(ptr, s.ptr);
}

~string()
{
delete [] ptr;
}

friend ostream &operator <<(ostream &, const string &); string &operator=(const char *); }; ostream &operator<<(ostream &stream, const string &s) { return(stream << operator="(const" size =" strlen(chrs);" ptr =" new" str = "Hello World">Master Programmer

[
uuid(2573F8F4-CFEE-101A-9A9F-00AA00342820)
]
library LHello
{
// bring in the master library
importlib("actimp.tlb");
importlib("actexp.tlb");

// bring in my interfaces
#include "pshlo.idl"

[
uuid(2573F8F5-CFEE-101A-9A9F-00AA00342820)
]
cotype THello
{
interface IHello;
interface IPersistFile;
};
};

[
exe,
uuid(2573F890-CFEE-101A-9A9F-00AA00342820)
]
module CHelloLib
{

// some code related header files
importheader();
importheader();
importheader();
importheader("pshlo.h");
importheader("shlo.hxx");
importheader("mycls.hxx");

// needed typelibs
importlib("actimp.tlb");
importlib("actexp.tlb");
importlib("thlo.tlb");

[
uuid(2573F891-CFEE-101A-9A9F-00AA00342820),
aggregatable
]
coclass CHello
{
cotype THello;
};
};

#include "ipfix.hxx"

extern HANDLE hEvent;

class CHello : public CHelloBase
{
public:
IPFIX(CLSID_CHello);

CHello(IUnknown *pUnk);
~CHello();

HRESULT __stdcall PrintSz(LPWSTR pwszString);

private:
static int cObjRef;
};

#include
#include
#include
#include
#include "thlo.h"
#include "pshlo.h"
#include "shlo.hxx"
#include "mycls.hxx"

int CHello::cObjRef = 0;

CHello::CHello(IUnknown *pUnk) : CHelloBase(pUnk)
{
cObjRef++;
return;
}

HRESULT __stdcall CHello::PrintSz(LPWSTR pwszString)
{
printf("%ws\n", pwszString);
return(ResultFromScode(S_OK));
}

CHello::~CHello(void)
{

// when the object count goes to zero, stop the server
cObjRef--;
if( cObjRef == 0 )
PulseEvent(hEvent);

return;
}

#include
#include
#include "pshlo.h"
#include "shlo.hxx"
#include "mycls.hxx"

HANDLE hEvent;

int _cdecl main(
int argc,
char * argv[]
) {
ULONG ulRef;
DWORD dwRegistration;
CHelloCF *pCF = new CHelloCF();

hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);

// Initialize the OLE libraries
CoInitializeEx(NULL, COINIT_MULTITHREADED);

CoRegisterClassObject(CLSID_CHello, pCF, CLSCTX_LOCAL_SERVER,
REGCLS_MULTIPLEUSE, &dwRegistration);

// wait on an event to stop
WaitForSingleObject(hEvent, INFINITE);

// revoke and release the class object
CoRevokeClassObject(dwRegistration);
ulRef = pCF->Release();

// Tell OLE we are going away.
CoUninitialize();

return(0);
}

extern CLSID CLSID_CHello;
extern UUID LIBID_CHelloLib;

CLSID CLSID_CHello = { /* 2573F891-CFEE-101A-9A9F-00AA00342820 */
0x2573F891,
0xCFEE,
0x101A,
{ 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }
};

UUID LIBID_CHelloLib = { /* 2573F890-CFEE-101A-9A9F-00AA00342820 */
0x2573F890,
0xCFEE,
0x101A,
{ 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }
};

#include
#include
#include
#include
#include
#include "pshlo.h"
#include "shlo.hxx"
#include "clsid.h"

int _cdecl main(
int argc,
char * argv[]
) {
HRESULT hRslt;
IHello *pHello;
ULONG ulCnt;
IMoniker * pmk;
WCHAR wcsT[_MAX_PATH];
WCHAR wcsPath[2 * _MAX_PATH];

// get object path
wcsPath[0] = '\0';
wcsT[0] = '\0';
if( argc > 1) {
mbstowcs(wcsPath, argv[1], strlen(argv[1]) + 1);
wcsupr(wcsPath);
}
else {
fprintf(stderr, "Object path must be specified\n");
return(1);
}

// get print string
if(argc > 2)
mbstowcs(wcsT, argv[2], strlen(argv[2]) + 1);
else
wcscpy(wcsT, L"Hello World");

printf("Linking to object %ws\n", wcsPath);
printf("Text String %ws\n", wcsT);

// Initialize the OLE libraries
hRslt = CoInitializeEx(NULL, COINIT_MULTITHREADED);

if(SUCCEEDED(hRslt)) {

hRslt = CreateFileMoniker(wcsPath, &pmk);
if(SUCCEEDED(hRslt))
hRslt = BindMoniker(pmk, 0, IID_IHello, (void **)&pHello);

if(SUCCEEDED(hRslt)) {

// print a string out
pHello->PrintSz(wcsT);

Sleep(2000);
ulCnt = pHello->Release();
}
else
printf("Failure to connect, status: %lx", hRslt);

// Tell OLE we are going away.
CoUninitialize();
}

return(0);
}


Apprentice Hacker

#!/usr/local/bin/perl
$msg="Hello, world.\n";
if ($#ARGV >= 0) {
while(defined($arg=shift(@ARGV))) {
$outfilename = $arg;
open(FILE, ">" . $outfilename) || die "Can't write $arg: $!\n";
print (FILE $msg);
close(FILE) || die "Can't close $arg: $!\n";
}
} else {
print ($msg);
}
1;


Experienced Hacker


#include
#define S "Hello, World\n"
main(){exit(printf(S) == strlen(S) ? 0 : 1);}


Seasoned Hacker

% cc -o a.out ~/src/misc/hw/hw.c
% a.out


Guru Hacker

% cat
Hello, world.
^D


New Manager

10 PRINT "HELLO WORLD"
20 END


Middle Manager

mail -s "Hello, world." bob@b12
Bob, could you please write me a program that prints "Hello, world."?
I need it by tomorrow.
^D


Senior Manager


% zmail jim
I need a "Hello, world." program by this afternoon.


Chief Executive

% letter
letter: Command not found.
% mail
To: ^X ^F ^C
% help mail
help: Command not found.
% damn!
!: Event unrecognized
% logout

Wednesday, December 13, 2006

BH #1 - GPF

What is GPF? Technical term, General Protection Fault. It's what happens when your shiny Micro$oft Windoze computer craps itself, something goes wrong, and you get the legendary BSOD. (Blue Screen of Death)

This section contains bits and pieces of our lives that GPF. Jokes, situations, gags, etc. It will either leave you spitting nails, or put a smile on your face. Your mileage may vary.

----------------------------------------------------------------

Ok, so the other day I get on the web to order some things from tigerdirect.com. But my only option for shipping was UPS next day delivery, wich was gonna set me back $60. Holy crap! I didn't need this stuff that fast! What happened to ground? So I call em up. After being put on hold for a while, I was subjected to a lovely commercial trying to sell me spyware removal software. After listening to the commercial, I became annoyed and hung up.

A while later, I called back. Interestingly enough, I was on hold the same amount of time, subjected to the same sequence of music, just before the same commercial was thrown at me. This told me that the only purpose of the wait time was to prepare you for the commercial. I wonder what marketing genious thought that up. Putting people on hold and forcing them to listen to elevator music before giving your sales pitch is more likely to make your customers hang up!

This time I listened more closely to the commercial. It certainly sounded frightening. They were telling me that spyware was a virus, and my computer was most likely already infected, blah blah, the only product that could save me was theirs, blah blah. Quite a bit of mis-information. They were actually blurring the lines between what a computer virus, and spyware is. This really hurts their credibility. Not only are they trying to sell a product based on FUD (fear, uncertainty, doubt), they are going to have a lot of angry customers who end up with infections after they ditch (Nortan, McAffee, Symantec, insert favorite anti-virus software here) in favor of their software.

Spyware is not a computer virus. Yes it's annoying, and just as bad as a virus, but it is not one. A computer virus, when ran, has the ability to infect other files on your computer, infect the MBR, and in some cases, spread itself via the internet to other computers. Some of these virii only infect and spread, others destroy your files, or allow others to take complete control over your computer, etc. These virii are not written by companies (that we know of) for marketing purposes. (lets not get into the conspiracy theories about the AV companies)

Spyware is written by a company for the sole purpose of collecting data from your computer for marketing, displaying adds on your computer, keeping track of the sites you visit, switching out adds of a competitor, etc. Legally, these companies must provide you with an End User License Agreement (EULA) that you must agree to when the software is installed. Usually it is bundled with other software that you install. *cough* Kazaa, Gain, superduperfavorite Explorer toolbar you download, etc.*cough*

It amazes me that a supposedly reputable company like tigerdriect would try to cram software down my throat in such an uncool, anti-social way. When I was finally able to talk to a live person, the guy began to speed read through a sales pitch to sell me a copy of the software, then asked, "How many copies can I put you down for?" Look buddy, that's not what I told you I wanted, that's not what I was looking for on your site, so why would I want any copies? I told him "Zero." A few seconds pass, in wich I hear his jaw drop, and he slyly asks, "But don't you want your computer protected?"

Ohh buddy, you just asked the wrong person that one. I said, "Ok, first of all, I've got a linux firewall setup to block any external connection attempts, second, I use a web proxy on that firewall, with an extensive block list that is updated regularly to prevent even accidental connection attempts from my computer to the sites that try to force you to download spyware, third I install updates regularly, fourth I use free programs such as Adaware and Spybot Search and Destroy each week to ensure that nothing gets by." Click, click, I fired first and emptied his ammo clip. Muhahaha!!! What's this? He breaks out the club. "Sir, could I interest you in anti-virus software then?" I reply, "Already own copies of Norton and McAffee, and yes the subscriptions are up to date." By now you can hear his sweat dripping from his head onto the phone. "Sounds like you've got it all covered, nothing I can offer you then huh?" Time to twist the knife. "Not really. I do this for a living. It's what I went to college for. I eat, sleep, breath, and dream in binary. But for what it's worth, you tried your best." He sighs, finalizes my order, and hangs up.

Ok, so lets see, all of this "over-marketing" made it all seem like the only shipping option on their website wich happened to be the one with the higher shipping prices was intentionally put there so either you would just pay it, or call and be subjected to an all out war on your senses so you would cave and buy the crap just to get the guy to shut up. They waisted their time and my time. I should send them a bill...

-=Databat=-Giving Marketing people nightmares since 1980

update: They've fixed the shipping options on their site, so I no longer have to deal with a human unless they bork my order. Looks like my complaint reached the right person.

-----------------------------------------------------------------
SCO - Need I say more?
-----------------------------------------------------------------
1 bit walks into a hard drive.
0 comes out.
-----------------------------------------------------------------
User: What's wrong with this stupid computer!?!? *clicky clicky* Why won't it print? *clicky* Why is it always screwing up? *clicky*
Me: What's wrong?
User: This computer won't print. *clicky* It's always screwing up! *clicky clicky* see? *clicky clicky*
Me: *puts paper in the printer*
User: ...
Me: *glares at user*
User: Shutup!
Me: *cold chuckle*
-----------------------------------------------------------------
User: Why won't the internet come up? *click click click*
Me: *waits patiently*
User: See? *click click click* It's not doing anything! *click click click*
Me: *continues waiting*
User: *eyes pop out as 50 million internet explorer windows pop onto the screen*
Me: *sighs and walks away*