Tuesday, September 27, 2011
Monday, September 26, 2011
WhatSApp MESSENGER
WhatsApp Messenger is a cross-platform mobile messaging app which allows you to exchange messages without having to pay for SMS.
Messenger is available for iPhone, BlackBerry, Android and Nokia and yes,
those phones can all message each other!
Because WhatsApp Messenger uses the same internet data plan that you use for email and web browsing,
There is no cost to message and stay in touch with your friends.
Users can send each other unlimited images, video and audio media messages.
See when your friends are typing as well as the last time they checked their messages
6 Scary Side Effects of Sugar
* 1 Tossing Back Sugary Drinks May Increase Your Risk of Diabetes
* 2 Following a High-Glycemic Diet May Cause Acne
* 3 A Diet Rich in Sugar Can Hurt Your Heart
* 4 Sugar Can Increase Your Chances of Depression
* 5 High Blood Sugar Can Increase Your Risk of Yeast Infection
* 6 Sugar May Increase Your Risk of Cancer
Sunday, September 25, 2011
New Discovery in physics > Neutrinos are faster than light
More than a 100 years ago Albert Einstein proposed in his Theory of Relativity that in vacuum, nothing in the universe could possibly travel faster than light
Last Thursday, the world’s largest physics laboratory revealed that there is a very strong possibility that it may have discovered neutrinos — “ghost-like” sub-atomic particles — that do indeed travel faster than light.
This groundbreaking discovery was made by members of the Oscillation Project with Emulsion-Tracking Apparatus, or OPERA, at the European Centre for Nuclear Research, popularly known as CERN, in Switzerland
Given that the neutrinos are almost massless particles,
It is expected that they will travel at nearly the speed of light which is approximately 299,338 km per second.
However, according to the OPERA team’s calculations,
the particles moved faster than light and reached their destination a whole 60 nanoseconds (with a margin of error of only 10 nanoseconds) ahead of the speed at which light travels.
While this may not seem like a large timeframe — it is only 60 billionth of a second and can’t be registered by the human brain.
Friday, September 23, 2011
PERFORMANCE OF INTEL SSDs DRIVE SUPERCOMPUTER
Appro, a provider of supercomputing solutions, announced today its next-generation of the Appro Xtreme-X™ Supercomputer, named Gordon, will use Intel® Xeon® processors and Intel® Solid-State Drive 710 Series to drive an unprecedented 35 million Input/Output Operations Per Second (IOPS).
This will drive some of the world's most advanced scientific research applications capable of analyzing individual genomes to tailor drugs to specific patients, developing more accurate prediction of earthquake's impact on buildings and offering greater insights to planet climate change.
SIMPLE ZK CODE TO HANDLE MULTIPLE BUTTONS ON (.zul) FILE
OUTPUT IMAGE
-------------------------
.JAVA CLASS FILE
-----------------------
package classes;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.event.EventListener;
import org.zkoss.zk.ui.util.Composer;
import org.zkoss.zul.Label;
public class MultipleEvents implements Composer, EventListener{
Component comp=null;
Label message;
@Override
public void doAfterCompose(Component comp) throws Exception {
this.comp=comp;
comp.getFellow("FIRST").addEventListener("onClick", this);
comp.getFellow("SECOND").addEventListener("onClick", this);
comp.getFellow("THIRD").addEventListener("onClick", this);
message=(Label) comp.getFellow("message");
}
@Override
public void onEvent(Event event) throws Exception {
if (event.getTarget().getId().equals("FIRST")){
message.setValue("hi, good morning");
}
if (event.getTarget().getId().equals("SECOND")){
message.setValue("how are you.");
}
if (event.getTarget().getId().equals("THIRD")){
message.setValue("Have a happy happy day.");
}
}
}
-------------------------
.JAVA CLASS FILE
-----------------------
package classes;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.event.EventListener;
import org.zkoss.zk.ui.util.Composer;
import org.zkoss.zul.Label;
public class MultipleEvents implements Composer, EventListener{
Component comp=null;
Label message;
@Override
public void doAfterCompose(Component comp) throws Exception {
this.comp=comp;
comp.getFellow("FIRST").addEventListener("onClick", this);
comp.getFellow("SECOND").addEventListener("onClick", this);
comp.getFellow("THIRD").addEventListener("onClick", this);
message=(Label) comp.getFellow("message");
}
@Override
public void onEvent(Event event) throws Exception {
if (event.getTarget().getId().equals("FIRST")){
message.setValue("hi, good morning");
}
if (event.getTarget().getId().equals("SECOND")){
message.setValue("how are you.");
}
if (event.getTarget().getId().equals("THIRD")){
message.setValue("Have a happy happy day.");
}
}
}
-------------------------------------------------------------------------
.ZUL FILE
---------------
------------------------------------------------------------
AJAX BASIC COMPONENTS AND ITS USE
Ajax is a way of designing and building web pages that are as interactive and responsive as desktop applications.
Youhandle things at the client’s browser whenever you can.
Your pages make asynchronous requests that allow the user to keep working instead of waiting for a response.
You only update the things on your pages that
actually change. And best of all, an Ajax page is built using standard Internet technologies
i) XHTML
ii) Cascading Style Sheets
iii) JavaScript
iv) The XmlHttpRequest
v) XML & JSON
vi) The DOM
-----------------------------------
ADVANTAGES OF AJAX
------------------------------------
The browser can request multiple things from the server at the same time.
Browser requests return a lot faster.
Only the parts of the page that actually change are updated.
Server traffic is reduced.
The user can keep working while the page updates
Some changes can be handled without a server round-trip.
Only the parts of the page that actually change are updated.
JAVA ROBOT CLASS CODE
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.KeyEvent;
public class JAVAROBOT {
public static void main(String[] rk) {
try {
Robot robot = new Robot();
robot.delay(2000);
robot.keyPress(KeyEvent.VK_H);
robot.keyPress(KeyEvent.VK_I);
robot.keyPress(KeyEvent.VK_SPACE);
robot.keyPress(KeyEvent.VK_B);
robot.keyPress(KeyEvent.VK_U);
robot.keyPress(KeyEvent.VK_D);
robot.keyPress(KeyEvent.VK_Y);
} catch (AWTException e) {
e.printStackTrace();
}
}
}
Thursday, September 22, 2011
SEE HOW TO UNSTALL CHATVIBES ON CHROME ?
JUST WRITE BELOW LINK ON YOUR BROWSER BAR YOU WILL COME TO SEE THE HOW TO UNINSTALL
chrome://extensions/
Wednesday, September 21, 2011
A BUS SIZE SATELLITE IS ABOUT TO CRASH ON OUR EARTH
A six-and-ahalf tonne defunct climate satellite that has been circling the Earth for the past 20 years will make a fiery death plunge this week,
Nasa officials have warned. According to Nasa's latest projections,
the bus-size Upper Atmosphere Research Satellite (UARS) will likely plummet down to Earth som etime around Friday (September 23).
WHAT IS GOOGLE WALLET TECHNOLOGY ?
Security
> Google Wallet is designed and engineered to enable safe, secure payments.
It is a safer wallet> Google Wallet requires you to set up a Google Wallet PIN that must be entered before making a purchase.
> This PIN prevents unauthorized access and payments via Google Wallet.
> This PIN prevents unauthorized access and payments via Google Wallet.
Secure technology
> Google Wallet stores your encrypted payment card credentials on a computer chip on your phone called the
Secure Element.
> The chip is designed to only allow trusted programs on the Secure Element itself to access the payment
credentials stored therein.
What to do if your phone is lost or stolen
> Even though the Google Wallet PIN and Secure Element protect your payment card information, you should stillcall your issuing banks to cancel your cards.
NEW FLASH 11 FEATURES
Flash 11 may get released in couple of days soon.
i) Stage 3D Accelerated Graphics Rendering
2D and 3D experiences on the desktop
ii) Native 64-bit support
4-bit operating systems and browsers on Linux, Mac OS, and Windows
iii) G.711 audio compression for telephony
Integrate real-time voice and telephony capabilities
iv) H.264/AVC SW Encoding
Create apps that encode higher quality video
v) Socket Progress Events
Improve management of data transfer, track progress,
vi) JPEG-XR support
Take advantage of support for the advanced JPEG-XR image compression format
Tuesday, September 20, 2011
CLEAR YOUR DOUBTS ABOUT AJAX XMLHttpRequestObject
Q: Am I supposed to understand all of this?
A: No, you’re not. For now, just try to get a general idea of how
all this looks and the way the pieces fit together. Focus on the big
picture, and then we’ll start to fill in the gaps in later chapters.
Q: So what’s an XMLHttpRequest?
A:XMLHttpRequest is what most browsers call the
request object that you can send to the server and get responses
from without reloading an entire page.
Q: Well, if that’s an XMLHttpRequest, what’s an
ActiveXObject?
A: An ActiveXObject is a Microsoft-specific
programming object. There are two different versions, and
different browsers support each. That’s why there are two
different code blocks, each trying to create a different version of
ActiveXObject.
Q: And the request object is called XMLHTTP in a Microsoft
browser?
A: That’s the type of the object, but you can call your variable
anything you’d like; we’ve been using request. Once you
have the createRequest() function working, you
never have to worry about these different types again. Just call
createRequest(), and then assign the returned value to
a variable.
Q: So my users don’t need to be using a specific browser?
A: Right. As long as their browsers have JavaScript enabled,
your users can be running any browser they want.
Q: What if they don’t have JavaScript enabled?
A: Unfortunately, Ajax applications require JavaScript to run.
So users who have JavaScript disabled aren’t going to be able
to use your Ajax applications.The good news is that JavaScript is
usually enabled by default, so anyone who has disabled JavaScript
probably knows what they’re doing, and could turn JavaScript
support back on if they wanted to use your Ajax app.
DELETE LAST LINE OF A FILE USING JAVA CODE
import java.io.*;
public class Test{
public static void main(String[] rk){
try{
RandomAccessFile file= new RandomAccessFile("Data.txt", "rw");
long length = file.length();
System.out.println("File Length is ="+file.length());
//Assume that last line is of 10 char
file.setLength(length - 10);
System.out.println("Now File Length is ="+file.length());
file.close();
}catch(Exception ex){
System.out.println("ERROE : "+ex);
}
}//end of psvm
}
Thank you
Monday, September 19, 2011
SEE A HIGHLY PRODUCTIVE OPEN SOURCE JAVA FRAMEWORK
ZK Framework
A highly productive open source Java framework for building amazing enterprise web and mobile applications.
Effortless. Trusted. ZK.
ZK is a highly productive open source Java framework for building amazing enterprise web and mobile applications.
End to End Excitement
An end to end solution for rapid development providing design, prototyping, testing suite integrating jQuery, Spring, Hibernate, JavaEE, Grails, Scala and many more…
Proven Technology
Rapidly build enterprise proven applications with cutting-edge Server+client Fusion architecture extending the power of the server with client-side control.
SOME OF THE FEATURES OF MICROSOFT WINDOWS 8
Microsoft's newest operating system expected in 2012'
The new OS is said to be Microsoft's biggest Windows refresh since Windows 95
The new OS also will run on both ARM and Intel processors, opening up a range of Windows 8-powered devices such as desktops, laptops, and tablets.
Windows 8 also is expected to have an OS X-style Mac App Store,
It may include services such as SkyDrive, Office 365, and the free Office Web apps
Further USB 3.0 support and an overhauled version of Explorer, Windows' file management tool.
Steps to create bootable Windows XP SP1 CD (Nero):
How to create a bootable Windows XP SP1 CD (Nero):
Step 1
Create 3 folders - C:\WINXPSP1, C:\SP1106 and C:\XPBOOT
Step 2
Copy the entire Windows XP CD into folder C:\WINXPSP1
Step 3
You will have to download the SP1 Update, which is 133MB.
Rename the Service Pack file to XP-SP1.EXE
Extract the Service Pack from the Run Dialog using the command:
C:\XP-SP1.EXE -U -X:C:\SP1106
Step 4
Open Start/Run... and type the command:
C:\SP1106\update\update.exe -s:C:\WINXPSP1
Click OK
Folder C:\WINXPSP1 contains: Windows XP SP1
How to Create a Windows XP SP1 CD Bootable
Step 1
Download xpboot.zip
Code:
Code:
http://thro.port5.com/xpboot.zip
( no download manager !! )
Extract xpboot.zip file (xpboot.bin) in to the folder C:\XPBOOT
Step 2
Start Nero - Burning Rom.
Select File > New... from the menu.
1.) Select CD-ROM (Boot)
2.) Select Image file from Source of boot image data
3.) Set Kind of emulation: to No Emulation
4.) Set Load segment of sectors (hex!): to 07C0
5.) Set Number of loaded sectors: to 4
6.) Press the Browse... button
Step 3
Select All Files (*.*) from File of type:
Locate boot.bin in the folder C:\XPBOOT
Step 4
Click ISO tab
Set File-/Directory length to ISO Level 1 (Max. of 11 = 8 + 3 chars)
Set Format to Mode 1
Set Character Set to ISO 9660
Check all Relax ISO Restrictions
Step 5
Click Label Tab
Select ISO9660 from the drop down box.
Enter the Volume Label as WB2PFRE_EN
Enter the System Identifier as WB2PFRE_EN
Enter the Volume Set as WB2PFRE_EN
Enter the Publisher as MICROSOFT CORPORATION
Enter the Data Preparer as MICROSOFT CORPORATION
Enter the Application as WB2PFRE_EN
* For Windows XP Professional OEM substitute WB2PFRE_EN with WXPOEM_EN
* For Windows XP Home OEM substitute WB2PFRE_EN with WXHOEM_EN
Step 6
Click Burn tab
Check Write
Check Finalize CD (No further writing possible!)
Set Write Method to Disk-At-Once
Press New button
Step 7
Locate the folder C:\WINXPSP1
Select everything in the folder and drag it to the ISO compilation panel.
Click the Write CD Dialog button.
Press Write
You're done.
Subscribe to:
Posts (Atom)




























