Thursday, April 11, 2013

OpenCV, it's you or me!!!

Hello all,

This is gonna be a a short blog as it is supposed to be a tutorial for my friends kekeke ^^.

The Problem:
**************************************

I'll get directly to the point!! almost three weeks ago, I had to install openCV library on my laptop for an assignment. I thought, well, it is a very VERY famous library.. it's gonna be a piece of cake.. Let's say, I THOUGHT WRONG!!! 

Of course, I instantly went to my good friend Google for advice on how to install the library on a Mac OS X 10.8 (Mountain Lion) Macbook Pro. I got lots and LOTS of tutorial. I've actually kept searching for like two weeks, but nothing worked..



The Solution:
**************************************

However, I was determined to download it. I mean, I'm the developer, I WILL DOWNLOAD YOU!!  It is ME OR YOU, OPENCV!! 

Finally, after all the failures, I decided to consult my instructor, Mr. Tong NG.. 

Before I start, I would like to say THANK YOU one thousand times because with him, I finally made it. All the tutorials didn't explain this part well, I guess everyone assumed we had the perfect environment in our laptops.

I won't take long, here are the steps:



Remember: These instructions are for Mac OS X

1- Download Xcode. You can find it in the App Store or simply click here. You can also find it in Apple's Developer website. 

2- Make sure you have everything installed correctly. By that, I mean there are some things that are installed by default, and here where my problem was. You should download command line tools. 
            - Simply, run Xcode.
            - Go to Xcode meny bar, then preferences.
            - You will find something like this window, on Command Line Tools, click install.



3- Now, you should download something else called CMake. CMake can be downloaded from here. Preferably, use the dmg version. 
Follow the instructions, and when you get this prompt, choose Install Command Line Links.




4- Now, download the version you want from OpenCV website, or click here. Download the version that says "For Linux/Mac". 
Note: it is a .tar.gz , therefore, you will need to unzip it after you download it. You will get a folder with many files and folders inside.

<picture maybe?? >


5- Use the Terminal to download OpenCV. You can find the Terminal from Applications-->Utilities.
Follow this guide to install OpenCV using CMake.
"Getting the source code" part is the part where you will download OpenCV from the server. In our case, we have it downloaded and unzipped in a previous step.

----
Note: I'm not sure if it is related, but, I used the part where it says download subversion, and I did download it. If you managed to download it without these, please tell me in the comments below.

Make sure you have subversion installed (built-in since Snow Leopard). If MacPorts is your primary package manager, use:
sudo port install subversion
if not using MacPorts or it gives an error, try:
sudo fink install svn-ssl
Make sure you have cmake installed. This can also be installed with MacPorts:
sudo port install cmake
----

Now, you will have to go to the directory of OpenCV, which is the folder that resulted from unzipping the tar.gz file (using terminal of course). In terminal, you can use the simple command cd

Then, you just need to follow what command lines written in the part "Use CMake to build" from the tutorial. You can easily copy and paste in the terminal, so use it ^^

To use CMake to generate Unix Makefiles, type:
# make a separate directory for building
mkdir build
cd build
cmake -G "Unix Makefiles" .. 
... (etc)
Finally, follow the usual "make, make install" method:
make -j8
sudo make install



And Wallaaaaaaaaaaa!!! You are supposedly by now have it installed correctly on your machine. 

Dear my friends, if you face any problem, please comment below.


Regards,
- Cloud Le Programmer -

Tuesday, February 5, 2013

DROPBOX: Share Files Across Different Platforms

Hello all,

Well, the title says it all.. Have you ever worked on multiple devices with different operating systems? I'm sure we all do, at least I know I do. Imagine yourself on your computer solving homework or working on a new design... etc, and then when you are with your friends, you want to see that on your smart phone, your laptop or your tablet.

[A doodle from their website]
This is actually very easy with a service called Dropbox. All you need is an Internet connection, and an email account, and the application. You can also access your Dropbox account (after your register with your email) through the browser. You can have folders and files. It supports Mac OS X, Windows, Linux, iOS, Android and the lots more.

Supported Mobile Devices [doodle from their website]


Is if totally free. You can start with the free storage which is 2GB. That's really efficient. If you need more, you can pay for extra. Here is their pricing page for your reference.


I'm doing this just to help anyone out there who needs it. It really helped me out, as I use many devices.. and it also helps me access my files on the go.

-Cloud-

Monday, January 21, 2013

Cup Cake Making!!!

Hi all,

I know this type of posts is not what I usually DID before, but as a change, and as suggested and recommended by my friends, I decided to do one. Moreover, I've been really a huge fan of my friend Amna's blog, so, being inspired by her adds to the reason why I'm making this post ^_^ .. You can check her blog by clicking here.

+++++++++++++++++

WHAT HAPPENED during the last months? WHO AM I??

Well, a lot happened. If you know personally, you would know that I was a trainee at this most boring company (I didn't know anyone there except my friend who is also a trainee). However, I am really thankful for them because I managed to have lots and LOTS of free time. During this free time, I've discovered a lot, which resulted in some self changes.

I've come to decide that I should live each day by itself. Everyday is a new day. Moreover, I've come to find that breaking the routine of my days is really helpful. I've become addicted to new things. I found more interest in recycling and in nature. I found a new passion which is to doodle. Actually, all the doodles on this blog post are mine (YAY ME!!). Stop don't scroll down, they are actually only 3!!! XD

A small fast doodle ^_^


++++++++++++++++

COOKING?! SERIOUSLY?!!

Continuing on to the main topic, today as a change in plans, I decided to ENTER the kitchen and MAKE cupcakes. I am not sure how well you know me, but let me tell you this, my mom had given up on me when it comes to cooking. I have 2% knowledge of cooking. I know how to make instant noodles, instant coffee, instant soup, a slightly burnt omelette and tea. To be honest with you guys, if I had a recipe I can make whatever. I mean, I have in the past made a soup from scratch (do they use this term for cooking too?!). I also made Warag 3enab (Vine Leaves). Oh and the first and the last time I cooked some meat was when I made some Texas Fries. But then my blodd pressure slightly dropped and I had to lay on the couch until the Magrib prayer!.. 

CLEARING THAT UP, I decided to make cup cakes, in celebration for UAE's team winning Khaleeji Cup!! Yahoo *Cheering loudly*

The great moment of holding the cup!! *heart eyes*
UAE National 


Thank you guys! You made us proud!

++++++++++++++++

Ingredients

As for the ingredients, I, while I was shopping and when I had this crazy idea, bought Betty Crocker's Cake. Now I know how you will say, oh this is already ready cakes, for me it was a challenge!! I don't like to bake sweets or cook anything except what has the word instant kekekekeke..


++++++++++++++++

Cloud Le Chef Mode = ON!

I started by hunting for some utensils and WALLA.. I had them!! .. NEXT, I added all what I needed and had to whisk...

<picture>

After that, I asked the maid to turn on the oven (I'm not that good at it obviously =_____=).. and cupcakes inserted into oven >>CHECK

I waited and waited and had lunch and waited and waited, and then they were ready.. YAHOOO (they weren't burned).. with the creme I decided to do a suicidal task and decorate the poor cup cakes. Let me tell you all about it,.. it was a FAIL!! xD!! I even murdered one of my babies (my poor cup cake T^T).. 

In Process

Tarantantaaaaaa.... my beloved children

My dead child, the one I mistakenly murdered XD

  
++++++++++++++++

TESTING the product *evil eyes*

I took my tray which was full of cool looking cup cakes WHICH I MADE!! YEAH.. to my family members, they all tasted it and they gave me the results.... "IT IS SUPER YUMMY", "WOW" .... etc. I made a very nice tasting cup cakes, so I believe this challenge was a success. My sister in law told me it was so great, "make it again for us", and I simply replied "Don't dream a lot!" NYAHAHAHAHA!! 

So Yummy and Fluffy


++++++++++++++++

A Side Story

As I was in the kitchen waiting for the second half of the cupcakes to be baked, our maids gathered to have lunch. And suddenly, my nose which decided to work at the time, smelled a very stinky smell. It brought back memories of the sticky side of Thailand!! OH NOOOO!! The maids cooked something and they were eating it.. I had to put up with that to bake the cakes. 

Dear My family, you should be grateful. Just Saying!! Just Saying!! 

I mean seriously, I didn't want to get out, just because I didn't want to go back in. I though maybe my nose will get used to it. IT DIDN'T T_____T.. and I was simply like this..

Cloud Fighting the stinky smell


+++++++++++++++++


Conclusion

My cup cakes were a success, I admit, but I know for like 1000000000000% I wasn't born to be a chef!! .. I mean cooking is really like 10% fun. The fun part is that I did something unusual apparently. I combined my building blocks (ingredients) and created a new thing. But yeah, I still don't like cooking. For me, cooking is only to make something to eat. EATING is fun, cooking is NOT!!!


In the end, I wish all chefs the great success in their businesses. Please make good food, so that I don't have to!


-Le Chef CLOUD!-


Saturday, July 21, 2012

Moving From Windows To Mac

Hello everyone!! Sorry for not writing in a long time. You all know how projects and finals can KILL you T____T!!

Well, many of my friends are now shifting to mac and they find it different than windows. From my experience, when I first bought my macbook pro, these videos helped me adjust to the new OS.

If you need help, check them out from this link:
http://www.apple.com/findouthow/mac/

Thank you apple for the great tutorials!

-Cloud!-

Monday, March 12, 2012

Mac Software List

For all of you who have been waiting for it... the MAC list which I use is here!!!

HORRAAAAAAAY!!!!

Here it is :)

Free free to ask me anything, either here or on my twitter @cloud_time

-Cloud!-

Saturday, February 25, 2012

Busy Week!

WOW... What a hectic week!!!

Although it was just the second week of the semester, but I was SO BUSY!!

I have lots of things to do, and I DID A LOT!! I'm not complaining.. but I am seriously being a VIP person.. If you wanna meet me this upcoming week, you gotta schedule an appointment! I mean, I didn't even feel a weekend just passed by!

I had mo many plans to blog about... but the time is not helping me!

Moreover, I got some serious problems I gotta solve! let's hope for the best. Oh and yes.. All the plans that I worked for, for the internship thing is GONE TT___TT!!
I hope my dream will come true one day.. I just have to keep the faith...

and now.. Let's get back to work!

C YA!!

-Cloud-

Sunday, February 12, 2012

First Day

WOW!! Today was great! and not great in the same time. =___=

I mean, we had our first Korean class.. DAEBAK!!! WANJUN DAEBAK!! :D

Soshtara (also), we had our Entrepreneurship class.. it was good.. I could'nt judge how the instructor will be during the course.. but, a good thing about him is that when he moves his head and speaks in an Indian manner, he is funny :) Nyahahahaha

I am happy that it was good and I got the chance to sit with my friends, some of which I haven't seen in quite some time. Even though it was our first day, I didn't feel that at all!! it felt like I came from another vacation! not from a semester to a new one!

I hope tomorrow's classes are great! I have Bioinformatics, Internet Computing and General Physics Lab =____= ...   Let's work hard everyone!!

SOREJULLAEE~~~~~~~~!!!