http://www.youtube.com/v/jpEnFwiqdx8&hl=en&fs=1&
A very nice video, powerful yet simple
Category: Uncategorized
X Factor
Tech: XYZ Company this is so-and-so speaking. May I have your username please?
Female Customer: Yes I want to speak to the person in charge immediately!
Tech: Speaking. What can I do for you?
Female Customer: I want to complain about the pornographic bookmarks your company put in my web browser!
Tech: We didn’t put any pornographic bookmarks in your web browser.
Female Customer: Oh yes you did! I’m looking at them right now!
(Tech remembers the Netscape history list and grins to himself)
Tech: Where exactly are these “bookmarks” located?
Female Customer: In Netscape!
Tech: And where exactly in Netscape would that be?
Female: In that little list that comes down when you click the little down arrow!
Tech: The one right above the Net Search button?
Female Customer: Yes that one!
Tech: Miss, that’s the Netscape history list. Netscape keeps the past ten links you typed in that box. The only way to put an address in that box is for someone to physically sit at your computer and type in a web address.
Female Customer: Well I certainly didn’t type in those X rated web addresses!
Tech: Well somebody did. Who else has access to your computer, and uses the Internet?
Female Customer: Just me and my husband!
(Several seconds of silence pass … Hey! I wasn’t going to say it!)
Female Customer: …….. oh …………. OOOH! … Thank you.
(She quickly hung up)
GM Vs Bill Gates
At a recent computer expo (COMDEX), Bill Gates reportedly compared the computer industry with the auto industry and stated, “If GM had kept up with the technology like the computer industry has, we would all be driving $25.00 cars that got 1,000 miles to the gallon.”
In response to Bill’s comments, General Motors issued a press release stating, “If GM had developed technology like Microsoft, we would all be driving cars with the following characteristics:
1. For no reason whatsoever, your car would crash twice a day.
2. Every time they painted new lines on the road, you would have to buy a new car.
3. Occasionally your car would die on the freeway for no reason. You would have to pull ove r to the side of the road, close all of the windows, shut off the car, restart it, and reopen the windows before you could continue.
For some reason you would simply accept this.
4. Occasionally, executing a maneuver such as a left turn would cause your car to shut down and refuse to restart, in which case you would have to reinstall the engine.
5. Only one person at a time could use the car unless you bought “CarNT,” but then you would have to buy more seats.
6. Macintosh would make a car that was powered by the sun, was reliable, five times as fast and twice as easy to drive — but it would only run on five percent of the roads.
7. The oil, water temperature and alternator warning lights would all be replaced by a single “general protect ion fault” warning light.
8. The airbag system would ask, “Are you sure?” before deploying.
9. Occasionally, for no reason whatsoever, your car would lock you out and refuse to let you in until you simultaneously lifted the door handle, turned the key and grabbed hold of the antenna.
10. GM would require all car buyers to also purchase a deluxe set of Rand McNally Road maps (now a GM subsidiary), even though they neither need nor want them. Attempting to delete this option would immediately cause the car’s performance to diminish by 50 percent or more. Moreover, GM would become a target for investigation by the Justice Department.
11. Every time GM introduced a new car, car buyers would have to learn to drive all over again because none of the controls would operate in the same manner as the old car.
12. You’d have to press the “start” button to turn the engine off.
Use Pen drive as RAM (Vista/Windows 7)
Recently i came across an article that said that Pen Drive can be used to speed up windows vista.USB 2.0 and above, SD card, Compact Flash or any other massive portable flash drive can be used to speed up the working of vista using the ReadyBoost feature.
When a removable memory device such as a USB flash drive is first inserted into a port, vista checks if it is fast enough to work with the Superfetch mechanism that ReadyBoost uses. If so,we are asked if we want the drive to be used for improving system performance. We can then choose to allocate part of a USB drive’s memory to speed up performance and use the remainder to store files.
The performance is drastically improved.In some cases a system whose memory is increased from 512MB to 1 GB through the external plugged device can see the speed improving from 11 sec to 2 sec. The performance is even better in the case of laptop systems as laptops have a relatively low ‘rpm’s than the desktop systems.It also saves the battery power of the laptops.
Things to Ponder
What do you call the process of learning and unlearning…. ??
What is the place called where chaos is as important as calmness…??
What happens when an immovable object meets an unstoppable force….??
The “uncertain” is no more that way if you are uncertain about it … so what exactly does it mean….??
If you equate believability to visibility …then the pure air is invisible…. but does it mean its unbelievable… if it does then can you breathe smoke which you can see…??
Again if you see chaos and unrest and if its bad…. and if you want the exact opposite then why do you deny the existance of THE ONE .. because you cant see it…??
Where is the refuge for people who want to skip thinking …. for thinking takes you nowhere …. thats why its important to transcend thought and perceive the voice behind the thought ….. ???
Why does morality and luck become a part of the lives of successful people …. well i would say thats its all a question of mere chance…. there you go … its no more a question of luck …. or is it..??
How can you ever define human mind…. or thought for that matter without thinking….??
Finally some respite
hi,,,,today is offf,,,,so i can relax before starting to fire again,,,,been to JTYJN today,,,it was awesome,,,,,had lots of fun,,,,do watch it,,,u will really have fun too,,,,,nothing much to say,,,,,c ya,,,tc
-Harsha
First day at work
it was nice to get back to work after sometime,,,,particularly after a stint of college,,,had to listen to few repeated ppts from various heads of company,,,quite a number of forms to fill,,,,,,an ok food,,,,,tooo much names to remember,,,,i have to leave now,,,,catch u later
harsha
Serial Port Access using RXTX in JAVA
This is the sample code to access serial port using RXTX in java,,,,
the packages can be downloded from rxtx.org and to be placed in the locations specified in that link,,,,,
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.sql.Date;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Enumeration;
import gnu.io.CommPortIdentifier;
import gnu.io.SerialPort;
public class Port {
private CommPortIdentifier portId;
private SerialPort port;
private OutputStreamWriter out;
private InputStreamReader in;
public void open(String comportUsed) {
try {
Enumeration portList;
String defaultPort;
String osname = System.getProperty(“os.name”, “”).toLowerCase();
if (osname.startsWith(“windows”)) {
// windows
defaultPort = “COM1”;
} else if (osname.startsWith(“linux”)) {
// linux
defaultPort = “/dev/ttyS0”;
} else if (osname.startsWith(“mac”)) {
// mac
defaultPort = “????”;
} else {
System.out
.println(“Sorry, your operating system is not supported”);
}
portList = CommPortIdentifier.getPortIdentifiers();
while (portList.hasMoreElements()) {
portId = (CommPortIdentifier) portList.nextElement();
if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) {
if (portId.getName().equals(comportUsed)) {
System.out.println(“Found port: ” + comportUsed);
break;
}
}
}
this.port = (SerialPort) this.portId.open(comportUsed, 2000);
port.setSerialPortParams(19200, SerialPort.DATABITS_8,
SerialPort.STOPBITS_1, SerialPort.PARITY_NONE);
in = new InputStreamReader(port.getInputStream());
out = new OutputStreamWriter(port.getOutputStream());
System.err.println(“Port Open:Success”);
} catch (Exception e) {
System.err.println(“Port Open:Failed”);
System.out.println(“Port is already used from other application,”);
System.out.println(“Close that application and re-run this application”);
}
}
private void write(String s) throws Exception {
out.write(s);
out.flush();
}
private void write(byte s) throws Exception {
out.write(s);
out.flush();
}
private void write(int s) throws Exception {
out.write(s);
out.flush();
}
private String read() throws Exception {
int n, i;
char c;
String answer = new String(“”);
for (i = 0; i
while (in.ready()) {
n = in.read();
if (n != -1) {
c = (char) n;
answer = answer + c;
Thread.sleep(1);
} else
break;
}
delay(1);
}
return answer;
}
private void delay(int a) {
try {
Thread.sleep(a);
} catch (InterruptedException e) {
}
}
public void close() throws Exception {
try {
port.close();
System.err.println(“close port”);
} catch (Exception e) {
System.err.println(“Error: close port failed: ” + e);
}
}
}
