Monday, January 19, 2015

Year 2015, previously, then and now ...

short note: - missed blogging.. yet, here I am! (non-hiatus mode) ********************************************************************************************

I am finally back into blogging! (at least for today)

Looking back at the dates that I've last written a proper blog post (not to mentioned the amount of anonymous bot spams) it is very clearly that I have abandoned my blog and let it rot.. while Google still thinks I'm important by NOT removing anything at all. Thanks Google! I'm much touched.

Basically... time flies way back ever since the last I blogged - lots of events, misfortune, happenings ups and downs that are just too many to list down (they're 99% forgotten by now, heh) So allow me to just reflect on what's going on with my life recently.

Times have totally change when the country that we're living are not showing much prosperous signs around (expenses up, petrol price shrinking, missing fei ji etc) it kinda sums that trying to survive what you got a few years back and what you currently trying to sustain yourselves, while meeting goals, targets is just getting much harder and harder.. A little rant, but I'm sure more than half of the society must be facing some financial problems in trying to get ends meet.

It is not just time that is bringing people into burden..sometimes it is just the people around you, or the kind of friends that you joined with during your adult age. Some up to the point that you have to learn "how to become people" with fake expressions or just being tolerate (maybe it is just me) but... nah, meh, pft..

Oh my..suddenly I lost mood to write longer. Damn, should try to improve myself again one day.

So before I end, I actually wanna share my current resolutions for the year. Short and sweet, here goes!


  • lose 5kg
  • better handling in finance management
  • gain better opportunities in project, team handling management stuffs
  • enable extrovert mode more often (while staying humble LOL)
  • talk straight, no hiding around


Til then.
 

Wednesday, June 30, 2010

ECP4136 tut 3 part 1

import java.awt.*;
import javax.swing.*;
import java.util.*;

public class test
{
public static void main (String[] args)
{
JFrame frame = new JFrame ("Funky Panels");
frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);

ImageIcon icon = new ImageIcon ("Launch.gif");

Random generator = new Random();
float num1, num2, num3;

num1 = generator.nextFloat();
num2 = generator.nextFloat();
num3 = generator.nextFloat();

JLabel label1,label2, label3, label4;

label1 = new JLabel ("Sine(" + num1 + ") = " + Math.sin(num1), SwingConstants.CENTER);
label2 = new JLabel ("Cosine(" + num2 + ") = " + Math.cos(num2),SwingConstants.CENTER);
label3 = new JLabel ("Tangent(" + num3 + ") = " + Math.tan(num3),SwingConstants.CENTER );
label4 = new JLabel (icon, SwingConstants.CENTER);





JPanel subpanel1 = new JPanel();
subpanel1.setPreferredSize (new Dimension (400,100));
// subpanel1.setBackground (Color.green);
subpanel1.add (label1);
subpanel1.add (label2);
subpanel1.add (label3);

JPanel subpanel2 = new JPanel();
subpanel2.setPreferredSize (new Dimension (200,100));
// subpanel2.setBackground (Color.red);
subpanel2.add (label4);


// Set up primary panel
JPanel primary = new JPanel();
primary.setBackground (Color.yellow);
primary.setPreferredSize (new Dimension (800,250));
primary.add (subpanel1);
primary.add (subpanel2);
// primary.add (label3);


frame.getContentPane().add(primary);
frame.pack();
frame.setVisible(true);
}
}

Saturday, June 26, 2010

attempt #2 : redesign blog templates

short note:
wat happen to attempt #1? i din save haha, looks ugly anyway~

********************************************************************************************

After trying so many different designs given by Blogger...original one still best =.=!! All their design dun hav tat "feel" i'm looking for, sad~ next time will try other websites and try~ for now I think I'll just leave it alone like tis, quite stressful keep design fail haha.

Tuesday, June 22, 2010

ECP3076 tut2

1. Key defines entity relationships. Primary key, secondary key, foreign key, superkey, candidate key.
2. …
4. SELECT, PROJECT, JOIN, INTERSECT, UNION, DIFFERENCE, PRODUCT, and DIVIDE, same commands. Note* SLECT in relational algebra only means selecting entities from an entity set, while SELECT in SQL is a command that has much wider use.
5. PRODUCT produces a list of all possible pairs of rows from two tables.
SELECT yields values for all attributes found in a table. It yields a horizontal subset of a table. (command: select * from table1, table 2)
PROJECT produces a list of all values for selected attributes. It yields a vertical subset of a table
6. all joins are implemented with SELECT. The difference is in the WHERE clause. With a natural join, you are always comparing attributes with the same name, using the = comparison
Select * from table1, table2 where table1.t1_ID = table2.t1_ID
An equi join, u use table columns which are permitted to be different, but still with the = comparison
Select * from table1, table2 where t1_ID = t1_ID
A theta join is where the comparison operatior may be some other thing
Select * from table1, table2 where T1_A < T1_B


Section B
b. DIR_NUM
c. 1 to many, no
d. The foreign key must hav a null value or matches primary key values in the PLAY TABLE.
The PLAY table has a foreign key which is the primary key of the DIRECTOR table. Entering data into the PLAY table requires that the foreign key hav a matching value to the PK of the DIRECTOR table. This ensures that a PLAY must be directed by a listed/recorded director in the database else it must be left null (it is possible for a play to exist without a director..)

Part C:
create database test;
connect to test;
create table student1
(
stud_id char(10) not null,
stud_name varchar(50),
stud_hometown varchar(50),
stud_state varchar(50),
stud_religion varchar(50),
stud_birthday date,
primary key (stud_id)
);

insert into student1 values ('1071112489', 'Edwin', 'Batu Berendam', 'Melaka', 'Buddhist', '1989-03-25');
insert into student1 values ('1061111659', 'Adrian', 'Sin Hoe Garden', 'Melaka', 'Buddhist', '1989-07-07');

select * from student1;
select * from student1 where stud_name = 'Edwin';

create table student2
(
stud_id char(10) not null primary key,
stud_name varchar(50),
stud_hometown varchar(50),
stud_state varchar(50),
stud_religion varchar(50),
stud_birthday date
);

Tuesday, June 15, 2010

ECP3076 tut 1

1. Describe the different ways a DBMS can be classified.
• No of users, locations, expected type and extend of use

2. A relational database differs from network and/or hierarchical databases in what aspect(s)?
- Physical structure closely resembles the logical structure.
- The relational DBMS handles most physical details.

3. Describe the basic features of the relational data model and discuss their importance to the end user as well as the designer.
- The relational data model illustrates end user data as beong stored in tables. Each table is a matrix consisting of a series of row/column intersections. Tables also called relations are related to each other by sharing of a common entity characteristic (value in a column). The relational database is perceived by the user to be a collection of tables in which data are stored. The relational data model allows the designer to focus on how the data components interact rather than on the physical details of how the data are store. The makes much easier to model the complex real world data environment.

4. Explain structural independence and its importance in data management.
- In terms of data management, structural independence means that the way the data is stored will have no effect on the programs that use it. In other words, any changes to the file structure will not effect existing programs that access the data stored within the file structure. File system data management is an example of data structure that does NOT show structural independence – program access is tied tightly with how data is stored. DBMS structures support better structural independence as the user no longer need to know where/what is used to store the data but only how to access it.

a) What problems can you identify with the data file structure shown above? How can they be corrected?
- Table shows data from 2 separate ‘objects’ – projects and managers, results in redundant copies of data which increase occurrence of data anomalies – insertion, deletion and update anomalies. At current structure, multiple copies of same data MUST be created even though real life the relationship does not exist such as:
- 1. A new manager in the company can only be inserted once he/she is assigned a project.
- 2. Projects must have a manager at time of data insertion into the table.
- 3. Other employee data is not listed as project members except the manager.
- 4. If Holly gets married, her last name has to be changed three times (update)
- 5. Information about “William K. Moor” will be lost if his row is deleted. (delete)
- To correct the problems the file structure can be subdivided into simpler files, each representing a single subject – i.e. Normalization.

Wednesday, May 12, 2010

blog revived soon?

Dear edwinho89...

sry for keeping u idle for so long, i 4got how u used to keep track of all my past posts n memories already...nonetheless i might be coming back soon, with new layouts n templates (since it's getting easier to edit nowadays) brb ya!

sincerely,

Thursday, February 25, 2010

totally an shuang



Thursday, August 20, 2009

15Malaysia, 1 Malaysia, 15 voices


short note:

amat paiseh for lack of updates...no comments, u may smack me if u wanted >_<

*********************************************

By now i think 15Malaysia should be hot in the net among us Malaysians.




The explanation is there so I don't have to elaborate much, just wanna let you guys to constantly update yourself with the short flims posted every few days or so. Currently 2 already out, POTONG SAGA and CHOCOLATE. GO SEE GO SEE!!!!









Sunday, July 26, 2009

Genting view


from highland hotel, simply a pleasure scenery

Saturday, June 20, 2009

try not to laugh? hardly impossible


short note:

once again a new sem has begun..and the beginning of gamma year..well, hope everything goes smoothly from here on then =)

*********************************************



Saturday, June 6, 2009

Everythin starts small


But its a gd headstart i guess..room in progress haha

Friday, June 5, 2009

cravings..

It's the 1st week of my break now..been watching this drama, then tis 2 people went to Japan to have their training course. It was during winter season, OMGGGGGGGGGGGGGGGGGGGGGGGG, MORE CRAVINGS TO GO JAPAN T___________T

well tat's it lol. sry i din update these few days, have my reason why tho....

Wednesday, May 27, 2009

the moment before i officially move out...

After moving most of the heavy barang (tables, chairs, more tables etc) to my new home.

There isn't anything much to do left other than going online rite? But since there's still no internet connection in the new house I'm staying, well.....



NO TABLE! NO CHAIR! JUST PURE SOLID FLOOR!!!

My back is seriously aching me, ugh...any sponsors?

Tuesday, May 26, 2009

Cleaner(hp)


1st time cleanin our new home, deep mess lol

Wednesday, May 20, 2009

finals trauma counteract

At times when preparing for finals I will get stressed up and tend to do mischievous stuffs such as logging into facebook...reading blogs, resting on my bed (with 80% chances of falling asleep) and many more la.

Music is life. Majority would agree on it right? Normally I would tune into my calm and soothing songs and sometimes let the meaning of the song run into my mind..which occasionally made me emo lar..In Love Again by Janice 卫兰 would be a very good example of my choice. Have a go listening then you'll know what I mean =)


01.In Love Again (ÎÒÕâÑù°®Äã) - ÎÀÀ¼

Hooo

O yea yea yea yea

When u smile
My life becomes a ray of light
Sing me a lullaby
To sleep at midnight

I’ll be hypnotized
when looked into your eyes
Turn off the room light
Let's Spend the night

Chorus
Take me to far away
Away to your secret place
Take my tears my fears
Take all my pain for which I'll repay
Someday with a kiss and say
Can't believe that I’m in love
In love again

When the stars don’t shine
And when the birds don’t fly
And when the flowers cry
And when the rain runs dry
When the violet's red and when the rose turn blue
Baby I’ll still be in love with u

Chorus X2



Ok back to study!!

Tuesday, May 19, 2009

mmu EPM1026 references


short note:

i got all these tips guide
REFERENCES from a fren's fren's fren (and duno how many times more) and it seems rather trusty. anyway as i said before duno whether it's reliable or not but at least look through as a guide, er...or reference, NOT TIPS lai de ok!!!

*********************************************

1.accurate and precision
2.resolution and sensitivity
3.known & guarantee error
4.relative limiting error
5.2 type moving iron instrument
6.torque
7.dynamometer
8.PMMC
9.3 plate delta connection
10.wattmeter method
11.resistance of detector
12.hay bridge
13.flux meter
14.galvanometer
15.LVDT
16.transmitter
17.strain gauges


gd luck all the best

Here in this early morning I would like to wish all the "finals" candidates (including secondary and primary schools lol) all the best and good luck! strive for the best go go go!!!

...Actually, I woke up earlier than I supposed to be, my mind wants me to study more but my body, especially my eyes wanna went back to sleep.... @@

Wednesday, May 13, 2009

beta 3rd sem tips

for EEM

- pde no inhomo (confirmed, but be more careful sikit la)
- pde focus more on D'Alembert and Separation Method
- just try whatever you can lah (myself)

- integral no dirac delta (no news)

tat's all so far, will update myself if i gt any
and if u guys got any xtra tips, do share as well!! =)

*update*
these source(s) are not entirely true so i canot guarantee its content, but anyhow...

TIPS TIPS TIPS TIPS TIPS TIPS TIPS TIPS TIPS TIPS TIPS TIPS TIPS TIPS PLS!!!!!!!!!!

Monday, May 11, 2009

omg terpukau!

Everybody knows Taylor Swift right? Recently I've been hearing a lot of her songs, semakin terpukau (getting obsessed) by her songs (and partially her looks too) >_<


her eyes especially

But the thing is I didn't see her official videos before until I open one of my friend's youtube link and listen to this.







I'm abit orchestra instrument type lover myself so I was quite amazed by how the pianist played the song (one thing is that I langsung don't know how to play piano, maybe that's why anyone who played piano I sure will look up on them)

Of course that got me motivated to search for her official video, prob is the sound volume is soft so need to increase sikit to hear clearly



this is wher i kena terpukau lol




ARRRRGGHHHHHHHHH!~!~!~~!~~~~~ Everyone has their own love stories, it's up to how we write them just as below.







I wonder when's mine, hmm..


Saturday, May 9, 2009

(Hp)


Happy wesak all! Had a light one tis yr