Daysleeper: How to cope with the graveyard shift


 This article is not mine.  All credits to this article belongs to the author and to GMA Network News website as its publisher.   I just want to share this to all my friends who works the night shift.

Check this out:


IBM-Gawad Kalinga Smarter Youth Program

** This is a mega late post… I blame procrastination ( or simply being lazy 😛 )

Last August 27, 2011, our company launched one of activities called Smarter Youth Program, which is still a part of IBM’s Centennial Celebration.  This event is an outreach program whose main objective is to teach or educate children with the use of computers.  The event started last May 2011 and since then, our company has continued its service with the children.  We have adopted a community in Tubod, Toledo City where we conduct this event on a monthly basis.

To be honest, I wanted to join this event ever since it started but I always had something to do on the days it was held.  Luckily, I was able to attend last month.

Anyway, there were about 40 IBMers this time and around that much kids as well.  We separated the kids into several groups and taught them some cool stuff about computers.  For the kids around 3 yrs old up to 9 yrs old, we had them play around an interactive program that teaches them to recognize color, shapes and pictures.  We had them do some hands-on experience and it was fun to watch them.  For the kids above 9 yrs old and teens, we had a class for them that showed some of the cool things to can do with computers like for instance in the gaming industry.  Snacks were also provided for the kids.

It was a great activity and everyone had so much fun.  Even though it was tiring, seeing the kids enjoy the day was really great.  I hope I can join again next month.

Here are some pics from the event:


IBM’s Mangrove Reforestation project @ Olango Island

Last Saturday, June 11, 2011, IBM Cebu and PBSP (Philippine Business for Social Progress) had its outdoor outreach activity, Mangrove planting, which was held at Brgy. San Vicente, Olango Island, Lapu-lapu City.  I was fortunate enough to be part of this grand activity, together with my fellow IBMers,  a few people from the media, bloggers and some volunteers.

Just a brief background, the Olango group of Islands is composed of seven islands and is located 5 km. east of Mactan Island.  It is commonly known for its marine and aviary sanctuary.

So continuing from my story, the activity started here in our office with a small program to officially open the event and to orient the participants on some rules and guidelines before we make the trip.

At around 9:00 am, we departed IT Park, and proceeded to a small port beside Portofino Beach in Mactan.  From there, we took a 30 minutes boat ride to reach Olango Island.  Then we took a 10 minute tricycle ride to get to Brgy. San Vicente and another 10 minutes hike to reach the place we were going to work on.

Okay, first off… planting mangroves was not easy!  It was quite a challenge and posed a lot of problems, especially for people with an aching back (namely… ME!).  The weather wasn’t really of much help either, so it was quite taxing.  But the overall experience was enjoyable.  True, I may have complained while we were planting the seedlings (planting them while carrying a heavy backpack was not easy), but honestly, it was really a lot of fun.

After planting the seedlings, we had to walk (or wade) around knee deep (muddy) waters to reach the DENR station near the sanctuary.  There we had our lunch, and some games to make the event more enjoyable.  Afterwards, we then departed the station and headed for the Olango wharf since it was already time to leave.

After the event, I can pretty much say that I was dead tired.  I just came off from work (night shift), and had no sleep when I participated the event, but still, it was worth it.  The idea that I helped in giving back to nature was fulfilling.

Below, are some pics that we had from the event (credit goes to Jerome Ocares for the photos.)

How to Shoot Yourself In the Foot Using Any Programming Language [a repost]

I found an article from a friend about the dilemmas a programmer encounters when working on a particular programming language.  It was funny, and I can relate to some of them, so I decided to share them with you all.  Let me remind you that I did not write this… I just found it from a friend.


How to Shoot Yourself In the Foot Using Any Programming Language

The proliferation of modern programming languages (all of which seem to have stolen countless features from one another) sometimes makes it difficult to remember what language you’re currently using. This guide is offered as a public service to help programmers who find themselves in such dilemmas.

370 JCL
You send your foot down to MIS with a 4000-page document explaining how you want it to be shot. Three years later, your foot comes back deep-fried.

After correctly packaging your foot, you attempt to concurrently load the gun, pull the trigger, scream, and shoot yourself in the foot. When you try, however, you discover that your foot is of the wrong type.

You shoot yourself in the foot, then spend all day figuring out how to do it in fewer characters.

Find a gun, it falls apart. Put it back together, it falls apart again. You try using the .GUN Framework, it falls apart. You stab yourself in the foot instead.

You try to shoot yourself in the foot only to discover you must first reinvent the gun, the bullet, and your foot. After that’s done, you pull the trigger, the gun beeps several times, then crashes.

Just looking at the gun gives you a migrane, so forget about actually shooting it.

Shoot yourself in the foot with a water pistol. On big systems, continue until entire lower body is waterlogged.

You try to shoot yourself in the foot, but find out the the gun is actually a howitzer cannon.

You accidentally create a dozen clones of yourself and shoot them all in the foot. Emergency medical assistance is impossible since you can’t tell which are bitwise copies and which are just pointing at others and saying, “That’s me, over there.”

Using a COLT 45 HANDGUN, AIM gun at LEG.FOOT, THEN place ARM.HAND.FINGER. on HANDGUN.TRIGGER and SQUEEZE. THEN return HANDGUN to HOLSTER. CHECK whether shoelace needs to be retied.

Concurrent Euclid
You shoot yourself in somebody else’s foot.

You shoot your right foot with one hand, then switch hands to shoot your left foot but you realize that the gun has turned into a banana.

DOS Batch
You aim the gun at your foot and pull the trigger, but only a weak gust of warm air hits your foot.

Foot in yourself shoot.

You shoot yourself in each toe, iteratively, until you run out of toes, then you read in the next foot and repeat. If you run out of bullets, you continue anyway because you have no exception-handling ability.

Put the first bullet of the gun into the foot of the left leg of you.
Answer the result.

After importing java.awt.right.foot.* and java.awt.gun.right.hand.*, and writing the classes and methods of those classes needed, you’ve forgotten what the hell you’re doing.

You’ve perfected a robust, rich user experience for shooting yourself in the foot. You then find that bullets are disabled on your gun.

You shoot yourself in the appendage which holds the gun with which
you shoot yourself in the appendage which holds the gun with which
you shoot yourself in the appendage which holds the gun with which
you shoot yourself in the appendage which holds the gun with which
you shoot yourself in the appendage which holds…

Machine Language
Before you can shoot yourself in the foot you must disassemble the gun at the atomic level and then reassemble it. After you do this, you find that the bullets require a special operator so the gun doesn’t work.

After realizing that you can’t actually accomplish anything in this language, you shoot yourself in the head.

You spend days writing a UIL description of your foot, the trajectory, the bullet, and the intricate scrollwork on the ivory handles of the gun. When you finally get around to pulling the trigger, the gun jams.

Not only can you shoot yourself in the foot, your users can too.

The compiler won’t let you shoot yourself in the foot.

You shoot yourself in the foot, but nobody can understand how you did it. Six months later, neither can you.

You shoot yourself in the foot with a gun made with pieces from 300 other guns.

You discover 6,752 different guns for shooting yourself in the foot. Before you can decide which one to use, you starve to death.

You tell your program you want to be shot in the foot. The program figures out how to do it, but the syntax doesn’t allow it to explain.

You try to shoot yourself in the foot but you just keep hitting the whitespace between your toes.

You’ll be able to shoot yourself in the foot just as soon as you figure out what all these bullets are for.

First you define your gun, bullet, and firing pin. Then, you define your foot, toes, and toenails. Then, you open chamber and load the gun. Then, you cock it. Now you’re finally ready to shoot yourself in the foot.

Your foot is ready to be shot in roughly five minutes, but you just can’t find anywhere to shoot it.

If you succeed, shoot yourself in the left foot.
If you fail, shoot yourself in the right foot.

SELECT @ammo:=bullet FROM gun WHERE trigger = ‘PULLED’;
INSERT INTO leg (foot) VALUES (@ammo);

% ls
foot.c foot.h foot.o toe.c toe.o
% rm * .o
rm: .o: No such file or directory
% ls

Visual BASIC
You’ll shoot yourself in the foot, but you’ll have so much fun doing it that you won’t care.

You spend a fortune on a high-powered, self-cleaning, self-aiming, automatic handgun with unlimited ammo, only to realize it takes a year to pull the trigger.

Visual FoxPro

You mock other sharpshooters for not being able to shoot both feet at once, but when you try to do it yourself you realize that you can’t properly handle the Microsoft.gun ActiveX.

source: The Almighty Guru

Working the night shift

I’ve always been curious about working in a company with a shifting schedule.  Well, working the graveyard shift to be exact.  I really thought that it was easy, I mean I can work from 9am till 3 or 4am the next day.  I did that for about 4 months.  How hard can it be.

All I can say “Me and my big, fat mouth”.

My first week in working the night shift was a disaster.  Well, it was a disaster for me anyway.  On my first night, I brought some chocolates as snacks.  For the coffee, I was still a beggar by then.  My shift started normally enoguh, communicated with my boss, read some emails and downloaded some files for the project.  But after 6 hours, I already ate my chocolates (sugar rush) and drank 2 cups of coffee.  I really felt weird that time since my mind was on full alert yet my body was heavy.  I really tried hard not to fall asleep in my cubicle, on my first day of working the graveyard shift, lest my officemates see me.  So, I was practically a zombie by the time my shift ended.  When I arrived at home, it was 630am already, I went to bed immediately.  I did not even have time to kiss my wife or son.  I just changed my clothes and fell flat immediately to the waiting pillows.

The next few days, I was able to adjust slowly, although there is still the pressure of not falling asleep (even just closing my eyes was bad) in front of my officemates.  But now, I have found some things to do to help me stay awake (aside from work).  Well, the mp3’s on phone really helps, plus the “stretching / walking exercises” every now and then.  Still, I’m far away from saying that my body is 100% graveyard shift compliant.

One thing for sure though, working the graveyard shift is quite an experience.