Gameon's Favourite Blogs >>
Anoop : : GameOn BuZZ ||                     || Hari S R : : Tranquility ||                    || ~==[[[ Abhi ]]]==~ : : Cogito Ergo Sum ||                    || Abhilash Sir : : A Leaf out of Life ||

Programming Simplified

A Freelancers Tips and Tricks On Programming With Php , Ajax , CGI -PEARL ,Javascripting , CSS and GM(grease-monkey)..




The Windows 7 FAQ (Frequently Asked Questions)

What is Windows 7?

Windows 7 is the codename or working name for the successor to Windows Vista.

When will it be released?

Microsoft is aiming for a Jan 2010 release. But, it’s too early to tell for sure. If all is well, then it may even be released in time for 2009 Christmas. Otherwise, its also possible that it will be delayed like Windows Vista.

What happened to Vienna? Wasn’t it supposed to be the succesor to Windows 7?

Originally Windows Vista was supposed to be a minor update to Windows Xp and Vienna (formerly codenamed Blackcomb) it’s succesor was supposed to be a major update. Another build, codenamed Fiji was supposed to be released between Vista and Vienna. But Windows Vista evolved into a major update and got delayed severely. So out went plans for an interim release between Vista and Vienna.
Last year Steven Sinofsky took over the reigns of the Windows Developement team from Jim Allchin. Sinofsky, not being a fan of the fancy random codenames Microsoft had being using during the Allchin era decided to get rid of them and decided to call the next build of Windows simply Windows 7. So Windows 7 is Vienna.

Will it run on my current PC/Notebook?

Windows 7 will feature an modified Windows Server 2008 kernel which itself evolved from Windows Vista kernel. Hence, Windows 7 will support all Vista compatible hardware. In fact Microsoft stated that all Vista drivers would work with Windows 7. Windows 7 will have 32bit as well as 64 bit editions.

But the real question is if current generation PC/Notebook are powerful enough to deliver decent performance with Windows 7. Frankly speaking its too early to answer this question accurately. We will probably be in a better position to answer this question by the same time next year.
Historically each version of Windows has been more resource hungry than the previous (heck, even Wndows XP SP2 was more resource hungry than Windows XP SP1). And this is only natural given that each version has more features and hence more background processes. But, Vista’s system requirements were fairly steep compared to Windows XP.

Last year Bill Gates had claimed that Windows 7 would take less memory, consume less power and be more efficient (source). I find that a bit hard to believe (if it’s indeed true then it would prove conclusively that Windows Vista is indeed terribly unoptimised). Since, Windows 7 is evolutionary rather than revolutionary like Windows Vista, I dont expect the jump in system requirements to be as steep. But I would expect that it would require at least 2gb’s of ram and a decent Dual Core processor to run smoothly. Infoworld is providing a Windows 7 compatibility widget which aims at providing generalized sense of a system’s suitability for running a post-Vista Windows OS.

What about software support. Will it be able to run all Vista compatible software?
Yes. Since Windows 7 is an evolved version of the Windows Vista kernel, all Vista compatible software will run on Windows 7.

What’s new in Windows 7?

After the Vista debacle where Microsoft had to go back on many much hyped features, Microsoft isn’t talking a lot this time around. Their new mantra is Under Promise and Over Deliver. Hence, unlike pre Vista era where we were flooded with information regarding the then upcoming release, we know fairly little about Windows 7. Here is what we do know :

One of the most hyped features of Windows 7 is the multi-touch support. Obviously, this feature would work only with multi-touch compatible displays. You can read more on this at the Windows Vista Blog. Windows 7 would bring home many of the capabilities of Microsoft Surface such as ability to paint with fingers and use multi-touch gestures to browse through photo-galleries.Windows 7 will also provide better support for other natural forms of input. Speech technology and handwriting recognition will be improved (source).

Windows 7 is also expected to feature a OSX-like dock.

According to TGDaily Windows 7 will feature a heterogeneous graphics system capable of handling multiple graphics cards from different vendors.

Windows 7 will feature something called Windows Sensors. The exact purpose of this is not yet known.

The start menu will receive minor improvements like the ability to easily pin/unpin any entry. Also if you search for an item the displayed results will occupy the entire start menu and not just the left coloumn.

Windows 7 will feature updated and improved versions of many other Windows Components like Calculator, Paint and WordPad. Paint will now allow you to directly paint using your fingers as mentioned above. A part from that it will also include a ruler. The improved calculator will be multi-line and feature Programmer and Statistics modes along with unit conversion.

Windows 7 is expected to support Virtual hard disk.

Gadgets will be integrated with the explorer and now can be placed anywhere on the desktop.

Windows 7 will have a new diagnostic tool called Windows Health Center.

It will feature something called Recovery Center. Recovery Center will feature the System Restore option as well as a Wipe and Reload option to perform a complete restore to a previous condition (unlike in System Restore it will restore all previous documents and delete any new ones). Windows 7 will provide a functional rollback system

Windows PowerShell which was planned for inclusion in Vista is also expected to be included in Windows 7.

Windows 7 will have numerous other minor tweaks like a resizeable search box, transparent sidebar and removal of sidebar from the control panel.

Windows 7 as well as Windows Vista will support DirectX 11. But given that DirectX normally has a 4 year development cycle I am not sure if it will be supported out of the box in Windows 7.

It will feature tighter integration with Windows Live. According to Bill Gates one of the main goals of Windows 7 is to be more user-centric. Quoting Bill Gates

That means that right now when you move from one PC to another, you’ve got to install apps on each one, do upgrades on each one. Moving information between them is very painful. We can use Live Services to know what you’re interested in. So even if you drop by a [public] kiosk or somebody else’s PC, we can bring down your home page, your files, your fonts, your favorites and those things. So that’s kind of the user-centric thing that Live Services can enable.

How much of this actually makes it to the final release is yet to be seen.

Hidden Back-up उतिलिटी इन Win XP

Microsoft has included a Back-up utility in windows xp which is hidden by default. Herez how to acess it.

Insert your windows XP disc into your PC.

Click exit if your installation screen comes up.

Now go too your CD drive in *My Computer*. Right-click and select open.

Choose VALUE ADD\MSFT\NT BACK-UP FILE.

In the *files of type* drop down list be sure that *select all files* is on.

Click on the NTBACK-UP.msi file and click okay.

Click the finish button and now go over too the start button\ALL PROGRAMS\ACCESSORIES\SYSTEM TOOLS\ and there it is now.. BACK-UP FILES...

Great little tool that Microsoft never should have hidden. .

Make XP Shutdown Faster

when a user shuts down Windows XP, first the system has to kill all services
currently running. Every once in a while the service does not shut down
instantly and windows give it a change to shut down on its own before it kills it.
This amount of time that windows wait is stored in the system registry.

If you modify this setting, then windows will kill the service earlier. To modify
the setting, follow the directions below:

Start Regedit.

Navigate to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control.

Click on the "Control" Folder.

Select "WaitToKillServiceTimeout"

Right click on it and select Modify.

Set it a value lower than 2000 (Mine is set to 200).

How To Speed up your Firefox 20x Faster!

Many a times i have Come Across people who Use Firefox Still Have the Problem That Eventhough they use A good Broadband connection the pages take far more time to load. Now here is a small way to Speed up your Firefox 20x Faster!

follow these simple steps

1. Type "about:config" into the address bar and hit enter. Scroll down and look for the following entries , and Alter the entries as follows:

Set "network.http.pipelining" to "true"

Set "network.http.proxy.pipelining" to "true"

set "network.http.pipelining.maxrequests" to some number like 30. This means it will make 30 requests at once.

3. Lastly right-click anywhere and select New-> Integer. Name it "nglayout.initialpaint.delay" and set its value to "0".
This value is the amount of time the browser waits before it acts on information it recieves.

Done.. Njoy the new speedy Firefox

Labels: , , ,

Set Any Video as Desktop Wallpaper In XP

This is a pretty simple tweak using which you can set any video as your desktop wallpaper.

Just follow the steps given below:

1. Download VLC Media Player and install it.
(download)

2. Run VLC media player,go to Settings->preferences->Interface->Main interfaces,then click on wxWidgets.Remove the tick on "Taskbar" and put a tick on "Systray icon".

3.Now go to Video->Output Modules->DirectX.On the bottom right put a tick on advanced options check box.You will now see some options.Put a tick on "Enable Wallpaper Mode ".

4.Now,select playlist and put a check or tick on "Repeat current item ".

5.Press the Save button.Now close the Vlc player and run it again(to save the settings permanently).

6.Now play any video you would like to set as Wallpaper.Right click on the video and click on "Wallpaper".The video would be set as your wallpaper!!!!

Since you have checked the option "repeat current item ",the selected video will play on continuously.It will start again when finished.VLC player will remain in your system tray.If you wish to remove the wallpaper simply close the player and you will get back your original wallpaper.

Labels:

Introdction To Ajax

Here I'll try to explain " What Is AJAX" in simple terms , so that budding programmers get a fairly good Basic Knowledge to follow thru and understand AJAX easily.

What Is AJAX

AJAX, is a web development technique used for creating interactive web applications.The name is an acronym standing for Asynchronous JavaScript and XML (Asynchronous JavaScript + XML = AJAX).
AJAX allows you to make a call to an http server (typically an RSS feed or a webpage), get its content and load them into your existing page without having to refresh the whole page. This means that services like email don't have to reload the whole page every time you click a message, saving on bandwidth (loading the header/footer all over again) and making things more efficient.
The Main advantages of using AJAX are that, It provides a mechanism to mix and match xml with xhtml,It significantly reduces having to continually fetch things from a server ),It overcomes some speed bottlenecks that traditional Web development has fallen prey too. In most instances ( I hate to say always ) an Ajax based site will load quicker than a comparable traditional Web site.When done well, it significantly reduces initial load times.
The HAndiness of Ajax is dat it doesnt require a complicated and continuous interaction with the webserver.This is Obtained By putting a JavaScript (and usually tucked away in a hidden frame) between the user and the server .{ advanced program geeks call it an Ajax engine,but for time being we call it jus javascripting becose the engine is nothing but a collection of javascript code}
These javascripts are responsible for both rendering the interface the user sees and communicating with the server on the user’s behalf.
the advantage here is that the user does not wait for any response from the sever after asigning any tasks.
The core of Ajax is the xmlhttprequest object and its Microsoft's activeX equivalent. It is this object that allows data to be transferred asynchronously (ie it can handle processes independently from other processes).

To give you A brief example of Ajax,see this simple code. This code goes between the [head] [/head] tags. {replace [ and ] with < and > respectively }


[code start]

function loadurl(dest) {



try {

xmlhttp = window.XMLHttpRequest?new XMLHttpRequest(): new ActiveXObject("Microsoft.XMLHTTP");

} catch (e) {



}


xmlhttp.onreadystatechange = triggered;

xmlhttp.open("GET", dest);

xmlhttp.send(null);

}
function triggered() {

if ((xmlhttp.readyState == 4) && (xmlhttp.status == 200)) {

document.getElementById("output").innerHTML = xmlhttp.responseText;

}

}

[code end]

Now to Call it on An Html Page use this >>

[body] [div id="output" onclick="loadurl('/testdir/helloworld.txt')"]click here to See " Hello World " in this div[/div] [/body]

Note : In this Html code , Replace " [ " and " ] " with ' < ' and ' > ' respectively.

here "helloworld.txt" is a Text file on the directory "testdir".
Now remmember to put the destination url (here >> /testdir/helloworld.txt) in the same domain, otherwise errors may come.

What The Above code does is that while clicking the link on the div, The contents of the text file "helloworld.txt" will be displayed on the same web page without refreshing.

Introduction to Java-Scripting

What is JavaScript?

Javascript is an easy-to-use programming language that can be embedded in the header of your web pages. It can enhance the dynamics and interactive features of your page by allowing you to perform calculations, check forms, write interactive games, add special effects, customize graphics selections, create security passwords and more.

What's the difference between JavaScript and Java?

Actually, the 2 languages have almost nothing in common except for the name. Although Java is technically an interpreted programming language, it is coded in a similar fashion to C++, with separate header and class files, compiled together prior to execution. It is powerful enough to write major applications and insert them in a web page as a special object called an "applet." Java has been generating a lot of excitment because of its unique ability to run the same program on IBM, Mac, and Unix computers. Java is not considered an easy-to-use language for non-programmers.

Javascript is much simpler to use than Java. With Javascript, if I want check a form for errors, I just type an if-then statement at the top of my page. No compiling, no applets, just a simple sequence.

What is Object Oriented Programming?

Everyone that wants to program JavaScript should at least try reading the following section. If you have trouble understanding it, don't worry. The best way to learn JavaScript is from the examples presented in this tutorial. After you have been through the lessons, come back to this page and read it again.

OOP is a programming technique (note: not a language structure - you don't even need an object-oriented language to program in an object-oriented fashion) designed to simplify complicated programming concepts. In essence, object-oriented programming revolves around the idea of user- and system-defined chunks of data, and controlled means of accessing and modifying those chunks.

Object-oriented programming consists of Objects, Methods and Properties. An object is basically a black box which stores some information. It may have a way for you to read that information and a way for you to write to, or change, that information. It may also have other less obvious ways of interacting with the information.

Some of the information in the object may actually be directly accessible; other information may require you to use a method to access it - perhaps because the way the information is stored internally is of no use to you, or because only certain things can be written into that information space and the object needs to check that you're not going outside those limits.

The directly accessible bits of information in the object are its properties. The difference between data accessed via properties and data accessed via methods is that with properties, you see exactly what you're doing to the object; with methods, unless you created the object yourself, you just see the effects of what you're doing.

Other Javascript pages you read will probably refer frequently to objects, events, methods, and properties. This tutorial will teach by example, without focusing too heavily on OOP vocabulary. However, you will need a basic understanding of these terms to use other JavaScript references.



         

           My Photo

           Gameon


Web This Blog


AddThis Social Bookmark Button

Page copy protected against web site content infringement by Copyscape


XML


Powered by Blogger






© 2007 Programming Simplified | ..:nEo:..
No part of the content or the blog may be reproduced without prior written permission.