Thứ Tư, 30 tháng 1, 2013

Circle Of Algorithm


Circle algorithm



Description: Here Xc and Yc denote the x – coordinate and y – coordinate of the center of the
circle. R is the radius.
1. Set X = 0 and Y = R
2. Set D = 3 – 2R
3. Repeat While (X < Y)
4. Call Draw Circle(Xc, Yc, X, Y)
5. Set X = X + 1
6. If (D < 0) Then
7. D = D + 4X + 6
8. Else
9. Set Y = Y – 1
10. D = D + 4(X – Y) + 10
[End of If]
11. Call Draw Circle(Xc, Yc, X, Y)
[End of While]
12. Exit
Draw Circle (Xc, Yc, X, Y):
1. Call PutPixel(Xc + X, Yc, + Y)
2. Call PutPixel(Xc - X, Yc, + Y)
3. Call PutPixel(Xc + X, Yc, - Y)
4. Call PutPixel(Xc - X, Yc, - Y)
5. Call PutPixel(Xc + Y, Yc, + X)
6. Call PutPixel(Xc - Y, Yc, + X)
7. Call PutPixel(Xc + Y, Yc, - X)
8. Call PutPixel(Xc - Y, Yc, - X)
9. Exit

Shutsdown Computer In 1sec


Shutsdown Computer

 
Right click on windows taskbar select taskmanager then select shutdown button then u will see options like standby, hibernate,turnoff, restart......... then hold control key and press shutdown button and see the trick ur system shutsdown in 1sec

Its quite funny. try in internet explorer





This is funny, when you place the code below into your browse url bar and press enter all the images from any website your on with being to fly around the place. Its quite funny.
try in internet explorer...-----

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI= document.images; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5 ); void(0)

Matrix Falling Code Effect

Matrix Falling Code Effect
 
"Matrix Falling Code Effect - Notepad CMD (.BAT) Trick"

Inspired by the movie Matrix, this falling code trick is extremely popular on social networking websites. Copy and paste the code given below in Notepad and save the file as "Matrix.bat" or *.bat
.
.
@echo off
color 02
:tricks
echo %random%%random%%random%%random%%random%%random%%random%%random%
goto tricks
.
.
.
after saving it when you click on the saved bat file you will see the "Matrix falling code" effect.

Mobile Screenshot v3.00 Full For Nokia s60v3 s60v5

Mobile ScreenSnap Screenshot


Screenshotis most important things for both mobile & pc so With Best Screenshot software you can capture any kind of screenshots on your Smartphone, And you may save them to your phone/memory card or can send to friends or to your desktop computer.


Mobile Screenshot is freeware! so you can download and use it absolutely free of cost. No spyware or adware inside.

Features include:
  • Configurable hotkey to make a screenshot.
  • Sound notification after taking screenshot
  • Supports true colour BMP, 256 colour BMP, and JPG
  • Ability to send image via Bluetooth, Infrared, MMS or email.
  • Auto-generated image name.
  • Ability to set up where to save screenshots.



Click The Link To Download

Thứ Ba, 29 tháng 1, 2013

American Scientist Has developed the first programming language based on Arabic script source code

Developed the first programming language

A New York-based computer scientist has developed the first programming language based on Arabic script source code.

Ramsey Nasser created the language, called قلب - pronounced "alb", meaning "heart" in Arabic - as part of an ongoing project that investigates programming languages as mediums of self expression.

Nasser is a fellow at the Eyebeam Art + Technology Center in New York City, a non-profit venture that aims to fuse technology with the aesthetic. Nasser's past projects, described by Eyebeam's website as "looking at code as a vehicle for thought", include a language called Zajal, which is designed to "reduce the friction between an artist's creative vision and functioning software".

The قلبlanguage is based on Scheme, a modern variant of LISP, which is one of the oldest high-level languages still in use. LISP's name is derived from "LISt Processing" and its structure - a series of parenthesized, comma-delimited operators and arguments - is ideal for allowing code builders to create associations that become new languages.

While Eyebeam works in the sphere of aesthetics, in an interview with Animal New York, Nasser spoke of another reason for developing قلب.

"If we are going to really push for coding literacy, which I do; if we are going to push to teach code around the world, then we have to be aware of what the cultural biases are and what it means for someone who doesn't share that background to be expected to be able to reason in those languages," he said.

Computer languages of today use in-built constructs - including data type names, keywords, library names and global variables - that not only use Roman English script, but English expressions, such as "#include", "for", "if" and "string". This makes learning to code that much more difficult for a programmer whose native tongue is not English and even more daunting for one whose language does not use Roman script.

While widespread commercial use of قلب may be some years off (early applications include computation of the Fibonacci sequence and an execution of British mathematician John Conway's Game of Life), Nasser has created a language that has demonstrable applications. He claims that قلب is "Turing-complete", a computing science phrase that refers to a language that can perform any kind of computation.

The Middle East is currently in a technology boom and research firm Gartner projects IT spending in the EMEA region to reach $1.154 trillion in 2013. Saudi Arabia in particular has partnered with HP to produce an army of technology graduates in an attempt to move away from the kingdom's petrochemical dependence.

But would an Arabic-based programming language ever be viable enough to be an accelerant to the development of that skill base and the region’s technology growth?

“I have never known such a project to be successful,” said a regional expert with over 15 years experience in the area of software localization and Arab language support.

“Developers always prefer the English language; most of the common programming languages are in English including the standards in HTML, CSS, Jscript and XAML. It would also be difficult for developers to keep up to date with the language’s standard updates. The best scenario is to have very good help in Arabic regarding the programming language in English, so people understand it very quickly and cross the barrier.”