Posts

Showing posts from February, 2014

Remove Ubuntu Startup option

Image
Recently I have installed the windows 8.1 dual boot with Ubuntu. However , the Ubuntu has can't be start up. However when I open My computer, it will still have the start up option . The first thought was uninstall the Ubuntu (Ps: I use wubi installer to install Ubuntu) . After Uninstall the Ubuntu, I restart the computer and found that the startup option of Ubuntu still at there. Ok , let skip the story part to the solution: Run CMD.exe as Administrator (UAC) bcdedit bcdedit/delete {identifier} Example : bcdedit/delete {347989da-7c6c-11e3-bece-001e3123bbd6} In my case is using chinese word ... so in english word should be is identifier. Thank for reading my blogs.Leave comment if you have any others suggestion to remove boot option

Arduino doesn't get recognized (SOLVED)

Image
I face this error when I connect my Arduino to my PC, the windows pop up a say that driver is failed to install. Me download the arduino IDE zip file, and start the IDE. When I want to upload to the arduino the code. It failed and show : avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51 Actually I found that I should download the installer exe instead of the zip file: You can download the windows installer using this link  http://arduino.googlecode.com/files/arduino-1.0.5-r2-windows.exe After You Installed the driver , You should be able to upload the code into the arduino uno. If cannot then you can try to restart your computer. There are many issue instead this, for example may be the USB cable is not compatible or already spoil. You are welcome to leave a comment if you found any solutions that easier or any others issue and solution to share. Thank you.

Firewalls

Image
What is firewalls? Firewalls can be a hardware or software that provide protection to computers and networks. It was a choke point of control and monitoring the computer and networks. It provide restriction on network services for authorized traffic is allowed to access the services. It also is a auditing and controlling access of the devices to use the network resources, which can implement alarms for abnormal behavior. Normally, Firewalls provide 2 basic functions: 1) Packet filtering - Allows or denies transfer of packets based on security policy rules. 2) Application Proxy gateway - Provides network services to users within the firewall Firewall Features Logs access (authorized/unauthorized) in and out of a network Establish a Virtual Private Network (VPN) link to another computer Secures host Within the network to prevent attackers intrusions Filter inappropriate content such as executable mail attachments  Securing Individual Users: Provides anti-virus ...

Defense Of The Ancients (DOTA)

Defense of the Ancients also commonly known as DotA.The DotA is recently update to DotA 2 which are developed by the Valve team and  IceFrog  being the longest-serving and current developer of the Warcraft III mod in dota .Both Is the real time strategy game that have many fans. The scenario is to destroy the enemy Ancient and need to by pass heavy defends (Tower/heroes/wave of units) at the opposite team or protect the your own ancient !The game can be start with 2 to 10 players .5 player maximum in 1 team .Since the gameplay is just focusing aorund strengthening individual heroes, it does not require one to focus on resource management and base-building, unlike most traditional real-time strategy games of warcraft III. In dota 2,the team at the southwest is called as  Radiant  while northeast is called as  Dire. 33 heroes in radiant and 36 heroes in Dire but player free to choose any heroes as long as the  mode  is AllPick. ...

Memory Management

What is memory Management? Main memory can be divided into 2 parts in uniprogramming System, the first part is for operating system and another part is for the program currently being executed. However in multiprogramming system, the program part of main memory need to further subdivided to carry out multiple process. The task of subdivision is carried out by operating system which also known as Memory Management . Therefore, effective memory management is important in a multiprogramming system. For example if a few process are in memory, then for much of the time all of the processes will be awaiting for I/O and the processor will be idle. Thus memory needs to be allocated to ensure a reasonable supply of ready processes to consume available processor time. To easier the memory management and understanding of memory management, few terms are used like Frame, Page, and Segment .  Frame is a fixed-length block of main memory, while the Page is a fixed-length of data tha...

Fibonacci Number C++

Fibonacci number is a sequence of number. It also called as Fibonacci series or Fibonacci Sequence. The following numbers is hte fibonacci number: 1,1,2,3,5,8,13,21,34,55,89,144,..... or 0,1,1,2,3,5,8,13,21,34,55,89,144,....... By definition, the first two numbers in the Fibonacci sequence are 1 and 1, or 0 and 1, depending on the chosen starting point of the sequence, and each subsequent number is the sum of the previous two. #include <iostream> using namespace std; int fib (int x) { if (x==0) return 0; else if(x==1) return 1; else return fib(x-1)+fib(x-2); } int fib (int x) { if (x==0) return 0; else if(x==1) return 1; else return fib(x-1)+fib(x-2); } int main(){ for(int i=0;i<=10;i++){ cout<<fib(i)<<endl; } return 0; }