.: Most Read :.

Join Churp Churp

Join Churp Churp
Click on the image to find out more
Showing posts with label Computer. Show all posts
Showing posts with label Computer. Show all posts

Saturday, January 10, 2015

Final month for semester 2 2014/2015

Satu lagi semester akan berakhir. Cepatnya masa berlalu. Ketika baru nak menghafal dan mengenali setiap pelajar, hampir pula masa untuk masing-masing teruskan perjalanan di haluan masing-masing. But the thing that I am proud of adalah to see majority students who I teach them masa 1st year 1st sem (2012) and they adalah my first students when I work as a lecturer, now dah di final year final sem. Subhanallah. Another best part adalah they still respect me as a person, as a lecturer (tak kisahlah cerita disebalik tabir if any). Some of them are my current students too - Parallel Computing subject. 


Other than Parallel Computing, I teach Computer Organization subject. Next week, akan ada presentation for their first assignment. I feel nervous for them. I want them to put their efforts on the correct path. I hope they will not going to disappoint me. It is 20% of their carry marks. 

Those who were my students, they know my 'ways'. There is no such thing as make-up or mark-up assessments/quiz. When a must assignment they can just ignore, what do you expect for them to do extra thing that require extra time? 

All the best untuk my students for their assignments and quiz. For CO subject, we have 1 more chapter to go. For Parallel Computing subject, 2 more chapters to go. Wohooo!

Thursday, January 23, 2014

Lenovo The New X1 Carbon featuring Intel® Core™ i7 processor

While browsing on Twitter this morning, I have found this advertisement from Lenovo. It is about their new Ultrabook. What attracts me at the first place is their statement.. ".. world's lightest 14" ultrabook". 

Then I take a look into the link. It shows the weight of this ultrabook starts at 1.28kg. When I look into the thickness, I think Macbook Air is thinner than what Lenovo's offer. 

I search the basic specification of Macbook Air on Google then i came into the following analysis and conclusion…

  Lenovo The New X1 Carbon featuring Intel® Core™ i7 processor Apple MacBook Air (11-inch, 2013) Apple MacBook Air (13-inch, 2013)
Weight 1.28kg 1.08kg 1.34kg
Size 14” 11” 13”

Information on Macbook Air weight is from http://www.theverge.com/

Yes, Lenovo maybe correct on their statement says it is a lightest ultrabook in the world… only for 14” league.














Friday, November 08, 2013

pthread and C program in Linux (Basic)

This example is suitable for those who are very new to pthread in C in Linux. You will learn on how to use pthread in C program. There is an additional code to be included during compiling the source code.

REQUIREMENT

  1. Linux Machine
  2. gcc
  3. pthread header file

Pthread header file is a standard file. You can just download from the internet from any sources available. (the file name is usually pthread.h)

STEPS

create a new directory, pthreadProgram

mkdir pthreadProgram

Go into the directory that you have created.

cd pthreadProgram

Place your downloaded pthread header file (pthread.h) into this directory.

now, create a new c file

vi tprog1.c

Write down the following codes:

//Program Name: tprog1
//PThread
#include <pthread.h>
#include <stdio.h>
#define NUM_THREADS 5
void *PrintHello(void *threadid)
{
    long tid;
    tid = (long)threadid;
    printf("Hello World! It's me, thread #%ld!\n", tid);
    pthread_exit(NULL);
}
int main (int argc, char *argv[])
{
    pthread_t threads[NUM_THREADS];
    int rc;
    long t;
    for(t=0; t<NUM_THREADS; t++){
        printf("In main: creating thread %ld\n", t);
        rc = pthread_create(&threads[t], NULL, PrintHello, (void *)t);
        if (rc){
            printf("ERROR; return code from pthread_create() is %d\n", rc);
           
        }
    }
    /* Last thing that main() should do */
    pthread_exit(NULL);
}

Done with writing the source code.

Press Esc

Then :wq [write and quit vi tool]

In this example, we have fix the number of threads to be 5. You can adjust the

To compile, you can do this in many ways. For this time, we are going to use direct compilation method.

gcc -pthread tprog1.c -o tprog1

Note that you need to include “-pthread” option during compiling the program.

If there is no error, you may now execute your program

./tprog1

Thursday, November 07, 2013

Tutorial: Simple C in Linux (Ubuntu)

Create, and compile simple C file on Linux terminal.

Requirement:

You have updated and upgraded your Linux OS.

sudo apt-get update

sudo apt-get upgrade

Installed gcc

sudo apt-get install gcc

Installed make (optional)

sudo apt-get install make

 

Steps:

Login to your Linux machine.

vi sampleC.c

Press I to enter Insert mode.

Type the following C source code:

#include<stdio.h>

void main(void)

{

printf("Hello world\n");

}

Done with writing the source code.

Press Esc

Then :wq [write and quit vi tool]

To compile, you can do this in many ways;

Method 1 – direct compilation

gcc sampleC.c -o sampleC

or

Method 2 – compile using makefile

create a new make file

vi sampleMakefile

Type the following commands in makefile:

#applicationFile

all: sampleC

#.o file

   sampleC: sampleC.o

   gcc -o sampleC.o

#.c file

   sampleC.o: sampleC.c

   gcc -o sampleC.c

Done with writing the commands in makefile.

Note:

You may replace “sampleC” by using your own filename.

# is used for command.

Press Esc

Then :wq [write and quit vi tool]

Execute the make file

make -f sampleMakefile

Make sure there is no error.

Now, your program is ready to be executed.

./sampleC

Sample output:

Hello world

Sunday, July 21, 2013

Farmville on Mac

Day 7 of using Mac

Today I have just learnt 2 new things on my Mac.
Screen Capture and install Adobe Flash Player on my Mac.

sounds noob

Haha

before this I don't bother on how to screen capture my windows on Mac. But just to share with you all my happiness of the ability to play Farmville on Mac, i put some efforts to find it.

here here.. see. i can manage my farm from my Mac. There are some apps that iPad cannot do, while Mac can. Before this, I did tried to install adobe Flash player on my iPad mini. But not supported. So I was thinking that there will be no Adobe Flash Player on Apple product. But lucky me. When I was about to play my playlist on YouTube, it ask me to install Adobe Flash Player on my browser. 

Love love love 

when there is a flash player, it is a green light to play FarmVille!

After the installation, i just try my luck to click on FarmVille link. 
Yes! It is successfully loaded!

I am very happy until i want to share the screen capture to prove it here. Guess what is my lazy step? capture thru my phone....

like this one...


but too shame to show my laziness to learn a new thing since my students will read this blog too.

I did Google on "Screen capture on Mac"

and I have found this useful website

http://guides.macrumors.com/Taking_Screenshots_in_Mac_OS_X

Command + Shift + 4, then select which area I want.

And I managed to get this beautiful picture of my farm... ;)



Wednesday, July 17, 2013

akhirnya.... 'udara' saya sampai juga

Alhamdulillah rezeki. Terima kasih Bae. For belanja me this upfront birthday gift untuk tahun 20XX. 

Moga Allah limpahkan lagi rezeki yang tak putus2. itu je yang mampu diucapkan. 

penantian sejak dari hari pertama Macbook Air 2013 dilancarkan berakhir juga.

I used to published a post berkenaan dengan penantian ini... Apple atas kapal


and hari isnin hari tu, ia tiba.

Yahoooooo!!! melompat seronok bila tau macbook dah sampai. cepat sangat rasanya. Apple jangka kan untuk sampai pada 22 July 2013. tak sangka on 15th july dia dah sampai. lihatlah muka ku kegembiraan. biar benar ni... i am now having my own macbook air. selama ni hanya pinjam laptop abg je sebab my previous notebook HP yang digunakan masa final year ijazah, and whole duration untuk master dah 'selamat' screen nya.

Finally I have my own notebook. *muka terkejut*


disebalik kegembiraan... 


this is my bad habit. 
i love the 'after-manufactured' smell. 
wanginya.

Thursday, April 12, 2012

Morning call

8.20am

phone is ringing

Caller: "How are you doing?" bla.. bla... bla... "I want you to study about scientific LINUX"... "probably with MPI"

Of course no problem... my former supervisor who's going to be my future-colleague! I am glad you did tell me earlier.


will say hello to these monsters again.

Bismillah.

Sunday, January 01, 2012

New Facebook look for 2012

B00494

Woot2

I have added the banner on my profile. Now I noticed one of the benefits of this FB’s new look. I guess this innovation is inspired by FBian too. WHY? Sebab Before this I still remember ada FB user yang sangat creative by filling the 5 Slots at the Top (I forgot its name). they are willing crop pic one by one, then upload. SO now, FB has provide us with a new feature name Cover Photo (WHich I consider this as the ‘Header’ for our profile page). Except the image is automatically enlarged to fit the frame and drag down the quality of the image. :( Does anyone know what is the actual size of the Cover Photo frame (pixel). Do share with me please.

But overall.. I love this new feature!

Thanks Facebook!

Monday, November 21, 2011

Easy Way to Customize Your Website

image

Hey hey hey… senangnya nak buat website sekarang ni… and bukan senang Microsoft nak bagi free software. hahaha! anyway… if you are not familiar or newbie or no time to look out the details in customizing a website, you should try this software, WebMatrix by Microsoft.

Only 3 steps and your website will be published!

Step 1: Create your website

Download the installer (MS WebMatrix) from here. Install on your computer.

Download any kind of free web applications such as WordPress, Joomla!.

 

Step 2: Customize your website

Start using the application. Click click CLICK. <—Edit your files, managing database, modify server settings. Owh you will feel so into a web developer.

 

Step 3: Publish your website

Ready to publish! You can do it directly from WebMatrix.

 

Anyone have tried it on Blogger? Do leave your comment okay.

ChurpChurpLogo

Tuesday, June 07, 2011

Good News for Winmo Chatterz

Kekechewaan pada Winmo isn’t finished just like that. I keep on searching if there is ANY possibility. Cari punye cari finally I have found 1. Bak kata pepatah,

usaha itu tangga kejayaan.

^—nak panjat tu agak susah n berpoluh2 la jugak.

Thank you very much to AlternativeTO teams for providing a list of options in selecting instant messenger apps. I have found this incredible application through

http://alternativeto.net/software/imoim/?platform=windows-mobile

^ take note that the platform is mentions in the end of the url (very useful for Winmo). So, get to know your platform my dear. ;)

From this url, I have found another alternatives software available for instant messenger such as

Palringo
IM+
AIM

.

I chose Palringo. It is new for me. No harm to try kan? So i went to their website,

http://www.palringo.com/en/gb/

B00401

You will get this kind of display.

OMG, bersinar-sinar mata when looking at the options and there is Windows Mobile logo. Am I dreaming?!

*dush*

Apo lagi, boleh download and then install. Just click on Winmo Icon. You can get it for FREE and no registration required!

When you download the installer untuk Winmo, the ext is in .cab BUKAN .exe yea tuan-tuan dan puan-puan.

Bila donload dah selesai, pindahkan ke dalam phone and sila lah install.

SIMPLE!

Monday, May 23, 2011

Half Palm Size of Laptop.....

... maybe the better description is palmtop.


A picture is worth a thousand words

Thursday, March 17, 2011

My Final Lab Session

B0328

This semester, I feel very honored to be trusted to teach an elective subject (lab) offered for Final year students in the university I enrolled. Since this is an elective subjects, I have only 14 number of students. All of them are very hardworking and never stop doing their best to catch-up with the syllabus.

Dear students, I love your independent attitude. This is what a final year student should have. I believe those lessons, and assessments that you have experienced/gathered from your previous lecturers and subjects taken have trained you to be a part of what you are (now).

I am wishing ALL THE BEST on your future career. InshaAllah… kalau dah rezeki tu, tak kemana.

Wednesday, March 16, 2011

Samsung Galaxy Tab on Hand

 B0317

Jakun! I admit it. It was my first time having this gadget on my hand (before this penah pegang iPad, not samsung)… so fair enough la kan for me to act that way. :P

B0316

My review on this gadget:
  • I love it sebab guna Android platform
  • Bateri tahan lama
  • Camera good + additional application to make it better
  • Ada secondary camera (bahagian hadapan) and flash (primary camera)
  • Games (as usual)
  • Video streaming (sangat berguna bila traffic conjunction)
Owh ya.. this isn’t mine. It is belongs to my brother. Despite coming for a visit, he came on that day to ‘share’ the happiness.

Saturday, March 12, 2011

Certified Secured Programmer

It’s kind of too late but still… I would like to say
CONGRATULATIONS to my dearest brother who’s pass with flying colors.

B0315

I am so proud of you.
:’)

Saturday, December 25, 2010

Lawatan Sambil ‘Mengajar’ ke Library

0041
Ini adalah kali pertama ke library atau lebih dikenali sebagai Bibliotheque dalam bahasa French di university ni. Menurut kata tourist-guide-sukarela-wakil-Malaysia-d-Nantes, Safuan, di library ni terdapat buku2 yang berkaitan dengan computer, engineering, dan design kerana library ni ada pusat tumpuan bagi pelajar2 Ecole Polytech, Ecole Design, dan Ecole de Mines untuk mencari bahan2 rujukan. Library ni tak besar mcm library UNITEN. Comel je size nye. Setingkat je pon. Buku2 disini adalah dalam bahasa Perancis. Buku dalam bahasa Inggeris ada 1 rak je. Tu pun utk persediaan menghadapi exam English.
B0029
Owh, kenapa tajuk tu lawatan sambil mengajar?? sebab explanation panjang lebar mengenai computer, programming telah pon diberikan kepada tourist-guide-sukarela-wakil-Malaysia-d-Nantes sepanjang lawatan ke rak buku komputer.
Sekian laporan mengenai library di university ni.

Sunday, December 12, 2010

My Art My Creativity (M.A.M.C) Part 1

Photo editing... my hobby. I have started this hobby ever since my secondary school. Honestly I am not creative at all in 'hand-painting'. But due to new technologies and 'uncle' G nowadays, I can express my creativity through computer. If u noticed the title... "Part 1". yeah, for this posting I will just share a part of my art collection. ;)

Tuesday, November 02, 2010

solution for virus attack of your thumbdrive

Have you ever been in this situation?
You  have a clean flashdisk. You have to go to a printing center/shop. After that your thumbdrive is infected by virus or worm?
What to do? What is your prevention action for your clean computer?

Here i want to share some tips which can assist you in preventing or managing the virus or worm from your flash drive.
Preventing:
  1. Do not open your removable drive by click OK at autorun window or double click at Removable drive partition.
  2. Open your tdrive using the Address field or right click on the partition, Explore
  3. Check the file's extension (.exe, .doc, etc) before you open it.
Managing:
  1. Copy the non infected file into a temporary folder on your hard disk.
  2. Make sure you did not copy autorun.inf and recycler folder. (it is usually a hidden file)
  3. Try to permanently delete these 2 files.
  4. If the system refuse, right click on your removable drive -> Format
  5. TADAAAA!!!! now you have a clean flash disk

Thursday, October 14, 2010

2nd Post via Windows Live Writer 2011 (WLW 2011)

Bonjour! This is my 2nd post using WLW. Who introduced it to me? Of coz my IT sifu, my brother.

Let me just give you an overview of this application. Windows Live Writer 2011 is a tool that you can use for posting without using the internet browser. You will no need to experience like a typical way for blogging where you must open the browser, log into your blog, dashboard and etc. By using this application, you just need to launch it and then start writing like in a normal posting page. It is totally easy and simple step to update your blog. This application is not only supports Blogger but also other popular blog service provider such as LiveJournal and WordPress.

 

This application is compatible with WinXP, Windows 7, and Windows Vista.

You can download the application by the following link;

WinXP

Windows 7 and Windows Vista

image

Sample Layout of the WLW 2011