Monday, July 28, 2014

The Meaning of 444


Have you ever noticed that each time you look at the clock, the time is either 4:44 AM or 4:44 PM? Its weird, but I always have that experience. I keep on asking my friends, "what is the meaning of 444?", but they too, don't know the answer. I know there is a meaning of this because my experience with it is not usual. I usually sleep with my phone on my side, and most of the time I wake up at 4:44 AM on my phone's clock. I am actually not using an alarm, but I can feel that someone is waking me up at that time.

Last night, my phone was out of the battery. I thought I can't experience that strange time. This morning, from my bed, I rushed to the toilet because I really wanted to pee. When I went back to my room, I noticed that the wall clock stroked at 4:44 AM. It was really weird.

This afternoon, I spent the whole time watching TV. Because I don’t want to bother myself with that strange time, I pulled off the wall clock in our living room and putted it inside the cabinet upside down. All of the sudden, a random number messaged me on my phone. I actually didn't mind the message since it was an invitation for a job interview. I knew I don’t need it since I have a good job at the moment. When I opened my phone back after an hour or more, I noticed that the message was received at 4:44 PM.

I really don’t know the meaning of these numbers. It makes me paranoid. Can someone tell me “what’s the meaning of 444? “



Thursday, July 3, 2014

SAMPLE DO WHILE LOOP IN PHP BASICS

My friend Simon, asked me to do sample program using do-while loop. To Simon, here's the code man. Enjoy!


Hope this sample program will help you understand the concept of DO-WHILE LOOP.

Friday, June 20, 2014

PHP Basic Concepts: Flag-like

Someone asked me, how to code this flag-like image. So, here is the code. I hope the sample script helps.


Note: These materials are used for basic web programming class of AMACDO, section A3/B3. 

PHP Basic Concepts Part1: Binary and Multiplication Table

These sample programs were coded using PHP scripts. If-Else statement and Looping statements were applied to these samples.



The first sample program used binary concepts; that all odds have a value of 1 and 0 for evens. In order to get this easily, use  modulus.

The second sample program used multiplication table concepts. The codes applied table tag of html for alignment purposes. 


Note: These materials are used for basic web programming class of AMACDO, section A3/B3. 

Tuesday, May 13, 2014

HOT TOPIC: NAPOLES LIST REVEALED, LACSON'S COPY


(UPDATED 6:32 p.m.) A total of 80 lawmakers, past and present, were in Senator Panfilo Lacson’s version of the list of names alleged mastermind Janet Napoles linked to the pork barrel scandal.

Aside from Senators Bong Revilla, Jinggoy Estrada and Juan Ponce Enrile, against whom charges are being pushed, the full list also included Malacanang allies.

Tagged in the so-called “Napoles list” are Senators Francis Escudero, Loren Legarda, Alan Peter Cayetano, Manny Villar, Koko Pimentel, who ran under the administration banned in polls.

More opposition senators were also in the list, including Senators JV Ejercito (as San Juan representative), Tito Sotto and Gringo Honasan. Ex-senator Robert Barbers was also in the list.
Budget Secretary Butch Abad was included in the roster as a member of Congress. Prior to his stint in the Cabinet, Abad sat as Batanes representative.

Lacson, now presidential assistant for rehabilitation and recovery, said he obtained the list from Napoles’ husband Jaime. It is only one of several versions of such a list.

Justice Secretary Leila De Lima has another list, which Napoles herself revealed to her in an affidavit. The Justice chief has yet to make public her version of the Napoles list.

The Senate Blue Ribbon Committee on Monday issued a subpoena for De Lima to disclose the list, amid rumors of efforts to “sanitize” the list of administration allies.

Aside from senators, 68 congressmen are also in Lacson’s version of the Napoles list. More prominent names included that of Mikey Arroyo, Iggy Arroyo, former Customs chief Ruffy Biazon and TESDA chief Joel Villanueva.

Officials from the Agriculture and Agrarian Reform departments, the National Livelihood Development Corp. and the Technology Resource Center were also named.

Missing from the Napoles list, however, is Senator Miriam Defensor-Santiago, who Lacson earlier tagged in the pork barrel scandal.

Santiago earlier slammed Lacson, who she said is acting as “attack dog” for Senator Juan Ponce Enrile. The senator added that she has never dealt with Napoles.

Abad also denied his involvement, saying, “I find it amusing, if not outright revolting, that I am once again in the crosshairs of those who want the Aquino Administration to fall.”

Here is the list of names (arranged according to document from Lacson):

Senate:
Ramon Revilla Jr.
Jinggoy Estrada
Juan Ponce Enrile
Tito Sotto
Loren Legarda
Koko Pimentel
Manny Villar
Alan Peter Cayetano
Gringo Honasan
Robert Barbers
Francis Escudero

Congress:
Jesus Judin Romualdo
Florencio Abad
Banzai Nieva
Maite Defensor
Mikey Arroyo
Joel Villanueva
Isidro Ungab
Reynaldo Umali
Salacnib Baterina
Conrad Estrella
Victor Ortega
Neil Benedict Montejo
Arthur Pinggoy
Samuel Dangwa
Florencio Flores
Erwin Chiongbian
Erico Fabian
Floriencio Miraflores
Napoleon Beration
Ricky Sandoval
Max Rodriguez
Rufus Rodriguez
Rizaline Seachon Llanete
JV Ejercito
Edgar Valdez
Scott Davis Lanete
Rafael Nantes
Sunny Rose Madamba
Ruffy Biazon
Gerald Gullas
Carlos Padilla
Rodolfo Plaza
Arnulfo Fuentebella
Raul Del Mar
Rommel Amatong
Marc Douglas Cagas
Digaden Dilangalen
Iggy Arroyo
Rodolfo Valencia
Eduardo Zialcita
Nanette Castelo Daza
Constantino Jaraula
Clavel Martinez
Manuel Ortega
Peter Falcon
Isidro Real
Corazon Malanyaon
Narciso Monfort
Uliran Joaquin
Juaquin Chipeco
Abdullah Dimaporo
Ernesto Pablo
Marcelino Libanan
Rolex Sulpico
Benasing Macambon, Jr.
Jesnar Falcon
Nasser Pangandaman
Hussein Pangandaman
Boy Umali
Amado Bagatsing
Oscar Malapitan
Ruben Ecleo
Arrel Olano
Jesli Lapuz
Oca Rodriguez
Victoria Alvarado
Generoso Tulagan
Prospero Nograles

Department of Agriculture:
Ofelia Agawin
Allan Umali
Proceso Alcala

Department of Agrarian Reform:
Teresita Panlilio
Narciso Nieto

National Livelihood and Development Council:
Alexis Sevidal

Technology Resource Center:
Antonio Ortiz
Dennis Cunanan

National Agribusiness Corporation:
Rhodora Mendoza
Antonio Ortiz

Agents:
Ruby Tuazon
Bryan Yamsuan
Jen Corpuz
Mat Ranillo
Pauline Labayen
Catherine Mae Santos
Patricia Agana Tan
Allen Ruste
Mon Arcenas

Credits:
https://ph.news.yahoo.com/lacson-s-version-of--napoles-list--revealed-093119746.html
Photo - google.com

Saturday, April 12, 2014

How to Install Red Hat 6.0 in an Easiest Way

This video will teach you on how to install Red Hat6 Operating System which is one of the Linux products. The video is made by the third year students of AMA Computer College as their partial requirement of CS342 course subject. The proponents use vernacular language in narrating the steps in stalling the OS to avoid issues. 

Feel free to comment.

Saturday, March 15, 2014

Looping Exercise

Exercise 1. Can you see the figure? Try to code this using looping statement(s). Use your logic skills to come up with this output. Note: Make sure to analyze first before putting it into written instructions. 

Tuesday, March 11, 2014

Basic Loop Concept: Example B


A Program instruction that repeats some sequence of statement in a specified number of times. Below are some examples of simple for loop.

Example No 3. Reversing the Numbers of Column A in Column B. The numbers to be outputted in column A are 1, 2, 4 and 8.


Example No 4. Row ODD is 1 and row EVEN is 0. The numbers to be outputted in column A are 1, 2, 4 and 8.


Example No 5. Row ODD is 0 and row EVEN is 1. The numbers to be outputted in column A are 1, 2, 3 and 4.


Basic Loop Concept: Example A

A Program instruction that repeats some sequence of statement in a specified number of times. Below are some examples of simple for loop.

Example No 1. Output 2, 4 and 6 in column A and 1, 2 and 3 in column B.


Example No 2. Ask the user to input a value and calculate its factorial value (n!). Example: if the number is 4, the result should be 24 (formula: 1x2x3x4).

Sunday, March 2, 2014

Difference between Good Stress and Bad Stress


Stress is part of day to day living of every individual. It is an external factor that a person may experience that affects his physical and mental well-being. Irritability, embarrassment, forgetful, headache and stomach distress are just few of the results of stress. If this is not properly handled, it may upshot to death.

Stress can be categorized into two – good and bad. Good stress is a tension that encourages the person to do his best in order to stop the uneasy feeling he suffers.  It helps to achieve our goals from our day to day tasks. This stress introduces us to new experiences that involve adjustments to different stimuli. It can also enhance the deductive reasoning of human being since it needs the person to think productively on how to respond to it.

Another type of tension is the bad stress. It is a tension that does not help us to achieve our day to day tasks.  It encourages the person to function not in full capacity making him to break down. Once bad stress occurs, a person may suffer symptoms like perspiration, headache, and trauma. This tension can also greatly affect the physical and mental well-being. People with mental disorders are caused by bad stress that is not properly managed before it gets worse.

Whether you like it or not, stress is inevitable. Even you are just sitting down and start thinking, stress is present. Stress can seriously affect the totality of human being that is why it requires creative response in order not to prolong the suffering. If you are well faceted enough to handle stress, it can help you to become more productive but, if you are too weak to face tensions, it can even kill you.

Now, it is up to you how will you control yourself from stress. Remember, in order to become the most successful person in the world needs a great power on how to stop those external factors affecting your well-being.