Tuesday 31 July 2012

Trash Can Invention : JAPAN

world of technologies bring us further a head with machine where the machine can understand human language. But how we design in to be in simplest daily task like Trash Can? How can you toss it like a boss and that trash can moving on its own? here is the video on how they do it. Japan, you have my respect on environmental upgrading..


 i think i wanna do some too. master my engineering course. hehehe

DIY : CCTV For Home (Part ONE)

Getting The Items Ready


Many people thinks that buying CCTV system is expensive and waste for only home environment. it is not true. from what i was thinking is, CCTV system is a must to prevent any crime on your property whether property theft, accident, and etc.

Today, i gonna tell you that under 200 bucks can get u CCTV system to your house. The item that we need is will be put in below list:

1. ANY IP camera. Come in 2 choices whether to used Wifi or Cable.
2. A SERVER. Can used old pc. the one which collecting dust around the corner. Must Have OS at least XP
3. ANY Router. the connection between server and IP camera. need to port forwarding the CCTV port.
4. ANY RJ45 Cable. Connection between Router to SERVER.
5. An Internet Connection. This one is OPTIONAL.

Overview

Camera

For this experiment, i choose Dlink DCS-920 IP Camera for home surveillance system. This camera come in 2 option whether to use Wifi or cable in a box. so its handy when to configure to Server or Router. This camera also have motion detection region or this system called Smart Recording. Smart Recording reduce your hard disk consumption because it only record when there are movements detect on the camera including shadows. To configure this thing is not very hard. Just it need to be configure using Cable first before you can use the Wifi. The pixel of this camera is up to 640 X 480 HQVGA which means the pixel are crystal clear in range 10m ~ 30m.

Router 

Probably you should buy router that come with Wifi Antenna. I said so because we need to design SmartHome Surveillance system. So less cable means more secure. Thief doesn't know where you put your server is, what cable should they cut. The hardest part for none-IT people in this is every router comes with different menu when come to port forwarding. for example, for Dlink DIR-600, the port forwarding fall under Advanced Menu. I personally don't know what other Router port forwarding categories is.

Server

Many people think if wanna server, u need to buy it. Why not you build one? Okay, take old pc that you don't use anymore. Clean it up. After cleaning it, please install at least Windows XP. Then, if you used Dlink IP Camera, they should provide you with CD Installation. Install the CD content and don't forget to configure IP for the camera and server at this server! many people done mistake that he/she thinks the CD is for camera's driver but it is not. The CD is Installation Program For The Server. After installing and configuring it, it become a server. This part is done.

Cable RJ45

Why we used cable? because the connection from pc to router need to be establish using LAN Cable or we called it RJ45. You also can convert the cable by installing the USB Wifi Dongle at server. its the same thing.
Just remember. Only Camera is using Wifi. because we need it to be secure.

Internet Connection

This is an optional where you can view your CCTV Live Streaming from internet to your house. If you want to do it, first you need to sign up at dyndns.com and register your server public IP. Then from there, you will need to setup your server to be able to play live streaming. I will explain in part 2 later.


So guys, are you with me? if you not understand any part of this section, please kindly inform me by leaving your comment or email me..

Part 2 in near future...

Monday 30 July 2012

No Sql Approach

No SQL, exactly as its name. its the database that dont use the SQL syntax. the method apply when the database need to retrieve huge data in one single output.

the specification to use no sql is, there are not booking system, they are real time system that based on notification... when talked about notification. in your mind is Facebook. thats correct!!

Facebook used NoSQL database to retrieve huge comment, picture, sound, music and file system for the user. notification are included.

so what exactly NoSQL? the database that dont depend on relational object of one system.

  1. its a database that dont run sql
  2. its a coding that request huge amount of data from server
  3. its a server that put all the data together thus eliminated the traditional database

Who used it this days? 

  1. facebook
  2. twitter
  3. google
  4. yahoo
  5. amazon 
It is many NoSQL database out there? the answer is YES. not single NoSQL can done so many things at once. here is the list

  • Column Families
  • Document Store
  • Turple Store / Key-Value Store
  • Graph
  • Multimodel Database
  • Object Database
  • Grid and Cloud Database Solution
  • XML Database
  • MultiDimensional Database
  • MultiValue Database

so u need to know how to retrieve this database value based on what attributed you need to called. for myself, i need to learn more on how to cross platform the xml to the api NoSQL server..

see ya soon





Tuesday 24 July 2012

Build our own Data Center


Every technician dream that our home filled with bunch of techies stuff and that carry incredible, out of mind blowing task to entire home. such as Home PBX, Wireless bridge, or Broadcasting Movies from your home. but today, i will guide you to what is SAN and what relation between SAN and Data Center...

Data Center is a center that govern all telecommunication, network, security and even data storage in one single center. The meaning of center here is it can be clusters, merging together, stacking each other, multiple network monitoring.

NAS is Network Attached Storage. Its a independence device that have built in network card to be plugin directly to the router or switch at our home. it have webserver built in to manage its own IP address. so user can upload store the file remotely. difference between SAN and NAS is, in NAS, U NEED TO KNOW THE IP ADRESS OF THE DEVICE. Meanwhile, SAN, U NEED TO INSTALL INITIATOR IN ORDER TO MAKE IT NATIVE LOCAL HARD DRIVE IN YOUR COMPUTER.

SAN is Storage Attached Network that provide you storage for iSCSI (Internet Small Computer System Interface) in LAN (Local Area Network) environment networking. typically mean that others computer storage/hard disk/partition can be like native local storage inside your computer if its in the same network as yours computer even the partition/hard disk are at another server..

illustration are best way to describe this..

This is the physical topology how SAN being put in a network.
This is Logical Topology how SAN share its storage..


How to build your own SAN? let me teach you how....

SAN requirement is :

1) SAN server can used old computer. depend on the requirement of the system.
2) FreeNAS software <---- this is a good linux software for setup SAN.
3) Router that support GigaByte LAN
4) RJ 45 depending on how long/many connection in your house..
5) Internet Connectivity to youtube how to setup FreeNAS 8.

That's all..... easy installation....


we will discuss about this when i have demand to build a SAN...

references :
Data Center
SAN (Storage Area Network)



Monday 23 July 2012

The Introduction Of telephony System

in my childhood, i always wondering what telephone is made of. Why i can talk as if the person is in front of me despite their house are 2 miles from mine. then time move on..

today, i stumble across unified communication, using telephony system(PBX), look alike telephony system(VoIP - IP PBX), and some other unified communication(collaboration between existed system.).

lets we dive into the telephone system. in this title, station are referring to telephone. 


PBX
stands for private branch exchange where its a device that routing your phone from single line into multiple line inside you office. but nowadays the use of PBX are obsolete  because emerging new system.

IP PBX
this PBX using intranet / ethernet networking peripheral to route your call from outside world into your office.   for example of this system you will see at your office are not normal phone, it has data port alongside analog port. common usage nowadays in small or bigger office. 

Trunk Line
trunk line is a line that you can use to call outside world (PSTN) or from outside world to reach you. if you use that line to call, another person who wanna call you will be diverted into voice mail just like your handset. 
usually your main phone number is the trunk line.

PSTN
stands for public switched telephone network. Its a device that routing your call based on what you are dialing. for example, if you press 911, the PSTN will automatically routed your call to the nearest hospital. 
its like a switch in internet/networking environment.


Thats are for newbie, but what's there for something more? setup your pbx? 

good, now u can talk to your gf next door 24/7 for free. 
to setup the PBX, u will need:

1) PBX SERVER (for analog phone, need to buy) or VoIP SERVER (For digital phones, used pc)
2) if you wanna used analog phone, pls read this. The server must have analog port to allow in coming call and out going call. u need to configure everything in the server USING PHONES!!. The most efficient method hardware to use for analog phone is LinkSys PAP2T. this hardware configure using computer. dont worry. but the disturbing part is it only have 2 analog port which means only 2 analog phone can be plug in that hardware.  

3) for VoIP server, its only used old pc to setup the server. because VoIP are using this special phone: SIP Phone. SIP Phone are not normal phone. they are computer that look like phones. The software for VoIP is Asterisk@Home, Trixbox..

The rest is yours to command. 




Sunday 22 July 2012

K2 Fatal Error D3D_Create : CreateDevice()Failed

Today im encountered this fatal error in my quest re-installing my windows operating system and 1 game, Heroes of Newearth(HON)..

so i decided to poke around a little bit. I try re-installing my graphic driver whether ATI/Nvidia/Intel, it doesnt work. so i put a list..
here are my list...

1) if you are fresh / reformatting windows or linux, make sure u have install the directx9 or above.
2) then, install your graphic driver. it worked after that.
3) this step is for manual import driver, every technician knows this..sadly you need to enable you graphic acceleration at dxdiag window pane..

below are the tutorial:


click start and then select run.


type in "dxdiag" without quote and then press enter.


select display tab and enable directdraw acceleration. for each enable u must test first. the test button are beside the enable/disable button. remember, this 2 need to be enable in order for the fatal error don't appear in the game!

that's all for now...

Friday 20 July 2012

Augmented Reality Project

Do you think human cant distort reality? then you are half wrong. In japan, they have invented device to distort reality using only webcam and drawing. From exist to non-exist. From anime character into reality.

Below i presented to you Aris Cyber figure. been built in year 2008. Now vast number of otaku and programer fixed their eyes on what we called AR.



2008 first original ideas and model

and it kept growing and growing until they built they own reality using 
miku hatsune character from project diva..


owhhh..... i think it would be best if they have chobits in near future. humankind for sure falling hard.

Tuesday 10 July 2012

How to fix a scratch cd

We have bunch of cd that old or broken. if the cd is old, the method solution are easy enough, just copy the entire cd. but what if the cd have scratch? u cant copy a scratch cd..... but, u can repair it before backup the entire cd. so down below are the tutorial provided by youtubers. 

i claim this is not my own. i credited the one who made a youtube video for this. Uploaded by  on Sep 22, 2008.

enjoy.





Monday 9 July 2012

Money Lost Over Years (Malaysia)

Take note of this shit: "i proclaim that this content i copied from other board. yet the light need to be discovered for those who are blindly followed government. i also don't know the actual writer. its up to you whether to spread this shit around. "


by the way, i copied from lowyat forum.



1. PKFZ RM12bill
2. Submarine commission RM500mil.
3. Sime Darby RM964mil.
4. Paya Indah Westland RM88mil.
5. Posmalaysia (transmile) RM230mil lost.
6. Eurocopter deal RM1bil wasted?
7. Terengganu Stadium Collapsed RM292mil.
8. MRR2 repair cost RM70mil.
9. Maybank Overpaid BII RM4bil.
10. Tourism -NYY kickback RM10mil.
11. 3 paintings bought by MAS—————– RM 1.5M.
12. Overpayment by Sport Ministry————- RM 8.4M.
13. London’s white elephant sports complex —- RM 70M.
14. MATRADE repairs ————————– RM 120M.
15. Cost of new plane used by PM————– RM 200M.
16. InventQ irrecoverable debt —————- RM 228M.
17. Compensation for killing crooked bridge —– RM 257M.
18. Lost in selling Augusta ——————— RM 510M.
19. Worth of AP given out in a year ———— RM 1.8B.
20. Submarines (future Muzium Negara artifacts)- RM 4.1B.
21. PSC Naval dockyard ———————— RM 6.75B.
22. The Bank Bumiputra twin scandals in the early 1980s saw US$1 billion loss (RM3.2 billion in 2008 ringgit).
23. The Maminco attempt to corner the world tin market in the 1980s is believed to have cost some US$500 million. (RM1.6 billion)
24. Betting in foreign exchange futures cost Bank Negara Malaysia RM30 billion in the 1990s.
25. Perwaja Steel resulted in losses of US$800 million (RM2.56 billion).
26. Use of RM10 billion public funds in the Valuecap Sdn Bhd operation to shore up the stock market.
27. Banking scandal of RM700 million losses in Bank Islam.
28. The sale of M.V. Agusta by Proton for one Euro making a loss of €75.99 million (RM 348 million) same as No: 20?
29. Wang Ehsan from oil royalty on Terengganu RM7.4 billion from 2004 – 2007.
30. For the past 10 years since Philharmonic Orchestra was established, this orchestra has swallowed a total of RM500 million.Hiring a kwai-lo CEO with salary of more than RM1 M per annum!
31. In Advisors Fees, Mahathir was paid RM180, 000, Shahrizat Abdul Jalil (women and social development affairs) RM404, 726 and Abdul Hamid Othman (religious) RM549,675 per annum.
32. The government has spent a total of RM3.2 billion in teaching Maths and Science in English over the past five years. Out of the amount, the government paid a whopping RM2.21 billion for the purchase of information and computer technology (ICT) equipments which it is unable to give a breakdown. Govt paid more than RM6k per notebook vs per market price of less than RM3k through some new consortiums that setup just to transact the notebook deal. There was no math & science content for the teachers and the notebooks are all with the teachers' children now.
33. The commission paid for purchase of jets and submarines to two private companies Perimeker Sdn Bhd and IMT Defence Sdn Bhd amounted to RM910 million. Expanding on No 2?
37. RM300 million to compensate Gerbang Perdana for the RM1.1 billion"Crooked Scenic Half-Bridge".
38. RM1.3 billion has been wasted building the white elephant Customs, Immigration and Quarantine (CIQ) facilities on cancellation of the Malaysia-Singapore scenic bridge.
39. RM 100 million on renovation of Parliament building and leaks.
40. National Astronaut Program – RM 40 million.
41. National Service Training Program – yearly an estimate of RM 500 million.
42. Eye of Malaysia – RM 30 million and another RM5.7 million of free ticket.
43. RM 2.4 million on indelible ink.
44. Samy announced in September 2006 that the government paid compensation amounting to RM 38.5 billion to 20 highway companies. RM380 million windfalls for 9 toll concessionaires earned solely from the toll hike in 2008 alone.
45. RM32 million timber export kickbacks involving companies connected to Sarawak Chief Minister and his family.
46. Two bailouts of Malaysia Airline System RM7.9 billion. At a time when MAS incurring losses every year, RM1.55 million used to buy three paintings to decorate its chairman's (Munir) office. Expanding on No: 11.
47. Putra transport system bailout which cost RM4.486 billion.
48. STAR-LRT bailout costing RM3.256 billion.
49. National Sewerage System bailout costing RM192.54 million.
50. Seremban-Port Dickson Highway bailout costing RM142 million.
51. Kuching Prison bailout costing RM135 million.
52. Kajian Makanan dan Gunaan Orang Islam bailout costing RM8.3 million.
53. Le Tour de Langkawi bailout costing RM 3.5 Million.
54. Wholesale distribution of tens of millions of shares in BursaMalaysia under guise of NEP to cronies, children and relatives of BN leaders and Ministers worth billions of ringgits.
55. Alienation of tens of thousands of hectares of commercial lands and forestry concessions to children and relatives of BN leaders and Ministers worth tens of billions of ringgits.
56. Since 1997, Petronas has handed out a staggering 30 billion ringgit in natural gas subsidies to IPPs who were making huge profits.In addition, there were much wastages and forward trading of Petronas oil in the 1990s based on the low price of oil then. Since the accounts of Petronas are for the eyes of Prime Minister only, we have absolutely no idea of the amount.
57. RM5700 for a car jack worth RM50.
58. Government-owned vehicle consumed a tank of petrol worth RM113 within a few minutes.
59. A pole platform that cost RM990 was bought for RM30, 000.
60. A thumb drive that cost RM90 was bought for RM480.
61. A cabinet that cost RM1, 500 was bought for RM13, 500.
62. A flashlight that cost RM35 was bought for RM143.
63. Expenses for 1 Malaysia campaign paid to APCO?
64. NFC 250 millions
65 Malaysia ceded 3 million acres of offshore oil Blocks L & M to Brunei in March 2009 without any credible explanation. The area is equivalent to the combined total area of Penang, Perak, and Melaka & Selangor. Estimated total future loss for Malaysia? RM 300 billion!


see and judge for yourself wether this is true or not. i will not yapping for you. dont bark at the wrong tree. 

How to Setup WebServer using XAMPP part 2

ok, we done searching IP address and downloading the XAMPP software. now we proceed on how to Port Forward in router to allow incoming connection from the internet to you local webserver..

example being done in router D-Link DIR-615

1) open your browser. regardless firefox, chrome or safari. and type default gateway number. for example 192.168.1.1 and then press enter. it should be like below.


2) type in the username and password in the box to proceed. please remember that, if you dont know what type o f your router, you can check at their box. the router box have instruction and manual configuration including default username and password for your router. if you done key in the required box, it should be like this.


3) please select Advanced tab. and you will see the port forwarding box. please enter the IP adress that you copy in the previous post. it should be like this



port 80 is the port we use the web browser to navigate internet. thats why we need to port forward the port. 

4) fill in the blank box with your ip and port. and then click save at the bottom of the page. and last part, we need to install the XAMPP..

5) install XAMPP, leave all option default. click next to the end of installation and it should be like this.


6) click start Apache and start MySql. it should appear green box with "running" written on it. just like below.


7) and you are done! you can use your local pc/ laptop to host website or system regardless internet or intranet.

for the internet connection you need to read dyndns.com manual. blieve me. it worked.

How to Setup WebServer using XAMPP

Hi, today i will show you how to setup your own webserver. i dont want to talk too much because my motto is straight to the point.

1. The first step is to download XAMPP software. you can download it >>[here]<< . if done downloading it, please proceed to the next step.

2. install the XAMPP. if you dont know how to setup XAMPP, please refer to my previous post on how to setup own private cloud. after install the software, running the apache and mysql within the xampp software.

3. port forward your router. down below have an example provide from me to you...from how to know what your ip addres to port forward your own router.

Scan your IP Address

first of all, scan ur ip address. How?

windows xp
1. hold down windows logo button and press R button. it will pop up a window. 
2. type in this window "cmd" without bracket and press enter.




3. it will pop up a black window screen just like below.....


4. type ipconfig and press enter.
5. search for "Local Area Network" connection. it should be like this, if home user : 192.168.xxx.xxx. for example....


6. done. you got your own router ip address. router ip address is by the name default gateway.

ok, we proceed to part 2