
Thursday, August 27, 2009
Sinhaly the wave robot

Wednesday, August 19, 2009
How to rearm Windows 7
This is legal also!!
"slmgr.vbs –rearm"
Enter the above command at a command prompt and restart. This command must be used when the trial day counter almost zero. The above command will give 30 days and can be entered 3 times.
Sunday, July 19, 2009
Techකතා Live: 24වන සජීවී වැඩසටහන හා පැන-විසඳුම්
Monday, July 13, 2009
Windows 7 RTM build is leaked!!
Windows 7 RTM x86 ISO: 7600.16384.090710-1945_x86fre_client_en-us_Retail_Ultimate-GRMCULFRER_EN_DVD.iso
Windows 7 RTM x64 ISO: 7600.16384.090710-1945_x64fre_client_en-us_Retail_Ultimate-GRMCULXFRER_EN_DVD.iso
Hashes for Windows 7 RTM Build 7600.16384.090710-1945 x64 iso is:
Windows 7 RTM 7600.16384.090710-1945_x64fre_client_en-us_Retail_Ultimate-GRMCULXFRER_EN_DVD.iso
7600.win7_rtm.090710-1945
SHA1 0×31849B315290EFABFD81F967ED3C553D82925E4C
Im gonna install a fresh copy of this bulid if time allows!
You can get the links by googling!!
[Images Coutesy: TechInvaders]
update - http://forums.mydigitallife.info/showthread.php?t=6293
torrent - Mininova
Tuesday, June 30, 2009
prefix-infix-postfix
Welcome back after a long time!!
@ UCSC for our data structures & algorithms course we had a assignment for converting between prefix-infix-postfix notations. So there are total of 6 conversions! I’m posting this because as i experienced this is a good project for get around in stacks, recursion and basic algorithm and data structure stuff.
I implemented four of conversions which are infix –> prefix,
infix –> postfix , prefix –> infix, postfix –> infix.
Other 2 conversions will happen using the above ones.
I wrote up the program that will support unary operators(minus numbers) 1-n digit numbers (5 , 50 , 456 , ..)
BELOW are the pseudocodes
Infix to Postfix algorithm
1) Check for parenthesis errors. If found return ERROR
2) Get the next element and store it in a variable – temp
a. IF temp is a operand, examine the next element
1. IF it is a operand output temp
2. ELSE IF stack.top is unary minus --> output temp
3. ELSE output temp and a SPACE
ii. ELSE IF stack.top is unary minus -->output temp
iii. ELSE output temp and a SPACE
b. ELSE IF temp is a opening parenthesis -->push stack with temp
c. ELSE IF temp is a operator
i. IF stack is empty -->push stack with temp
ii. ELSE IF stack.top is a opening parenthesis -->push stack with temp
iii. ELSE IF temp’s precedence > stack.top precedence -->push stack with temp
iv. ELSE output stack.pop and a SPACE AND repeat step “c”
d. ELSE IF temp is a closing parenthesis
i. WHILE stack.top is NOT opening parenthesis -->output stack.pop and a SPACE
ii. IF stack.top is opening parenthesis -->pop the stack
3) WHILE stack IS NOT empty -->output stack.pop and a SPACE
Infix to Prefix algorithm
Same as infix to postfix algorithm except,
1) Before step 2 the input string will be reversed.
2) Also the two parenthesis{ “ ( ” , ” ) ” } will be swapped where mentioned.
3) Lastly the output will be reversed
Prefix to Infix algorithm
This algorithm is a non-tail recursive method.
1) The reversed input string is completely pushed into a stack.
prefixToInfix(stack)
1) IF stack is not empty
a. Temp -->pop the stack
b. IF temp is a operator
i. Write a opening parenthesis to output
ii. prefixToInfix(stack)
iii. Write temp to output
iv. prefixToInfix(stack)
v. Write a closing parenthesis to output
c. ELSE IF temp is a space -->prefixToInfix(stack)
d. ELSE
i. Write temp to output
ii. IF stack.top NOT EQUAL to space -->prefixToInfix(stack)
Postfix to Infix Algorithm
Same as Prefix to Infix algorithm except,
1) Step 1 must be changed – The input string will be pushed into the stack
2) Also the two parenthesis{ “ ( ” , ” ) ” } will be swapped where mentioned.
3) The output string will be reversed.
as i think this post will be a valuable resource for any computer science student!
Monday, June 8, 2009
A easy way to share and store files online
As i know almost of my friends @ da uni use pen drives (USB flash drives). They usually carry assignments, important documents, photos of GF or BF ;-) and etc., This is very dangerous becoz usually pen drive is not very reliable device and it can be lost or stolen by someone easily.
Your computer’s hard disk is also vulnerable for failures and can be virus affected also.
The result is losing ur assignment that must be given tomorrow. Then finally freaking out!!!
The ANSWER is storing the files online. There are various free sites that give this service but i use “Dropbox”. It hav lots of features to explore.
I will list some feature that i like most,
1. There is a desktop client which will integrate with a folder in ur hard disk which can be synched online. There re offering clients for Windows, Linux and OSX. Cool!!!
This means u can synch files over several computers.
This is a screenshot of my dropbox and the menu. U will see which files or folders are current updated or synchronizing.
There re giving out a 2GB account free, if u want to upgrade it is possible.
2. There is a web client which will be accessible @ www.getdropbox.com
This site is very feature rich and easy to learn. It uses https protocol which is more secure also.
3. U can also share certain folders with ur friends. They wont be allowed to other files or folders so it is great in team work.
Hope u will give a try!
U can get dropbox @ the link below,This my referral which will give 250 MB free for both of us so if u re interested go to it & download!
Subscribe via email
My Blog List
Labels
- 7600 (1)
- activation (1)
- algorithm (1)
- best (1)
- conversion (1)
- dropbox (1)
- extensions (1)
- file (1)
- firefox (1)
- free (2)
- infix (1)
- linux (1)
- office 2010 (1)
- postfix (1)
- prefix (1)
- python robot (1)
- rearm (1)
- review (1)
- rtm (1)
- sharing (1)
- sinhala (1)
- sinhaly (1)
- terminal (1)
- w3m (1)
- wanted (1)
- wave robot (1)
- windows 7 (2)
Followers
Blog Archive
About Me
- Tharidu Fernando
- Talawathugoda, Sri Lanka
- A cool guy who is always smiling..