Friday, November 20, 2009

BUG in note pad

1. Open Notepad
2. Type 'AAAA BBB CCC DDDDD' (or any other 4-3-3-5 letter combination)
3. Save the document, and close notepad
4. Open the saved file

Bug in Microsoft Calculator

There is a bug (serious may be) in Microsoft Calculator
(Click Start, click Run, enter calc hit enter to open calculator)
Open the calculator and do following operation.
2704/20…. Works fine.
2704/40… Works fine.
2704/50… Works fine.
2704/52…. DOES NOT WORK !!!!!
2704/60… Works fine again !!!!
Interesting….as most of us rely on calc for most of our calculations.. 

Tuesday, September 15, 2009

Nokia 5230 and 5530 Cheap TouchScreen phones in India

Nokia 5230 Price and Features




■Entry level touchscreen phone

■3.2 inch Resistive Touchscreen, 360X640 Resolution

■Music player with 33 hrs of playback (via headphones)

■2 Megapixel Camera with VGA 30Fps Video Recording ( no flash)

■Contacts Bar and Media Bar

■111 x 51.7 x 15.5 mm, 115 grams

■70MB Internal Memory, micro-SD Card Slot, 3.5mm Audio Jack

■GPRS, EDGE, HSCSD, 3G, HSDPA, Bluetooth, micro-USB

■GPS with A-GPS Support

■1320mAH Battery, Black/White Colours ( customizable panels)

■Price : Rs.10000 before taxes

Nokia 5530 Price and Features





■Metal finish

■Media bar and contacts bar

■27 hrs of music playback (via headphones)

■3.2 megapixel camera with flash

■Price : Rs.13999 before taxes

■5530 XpressMusic specs and price

Nokia 5800 vs 5530 XpressMusic

The Nokia 5800 XpressMusic, the first touchscreen phone powered by Symbian Series 60 5th Edition was introduced in October 2008 and hit the markets during November 2008. Since it’s release, Nokia has had great success with the phone selling millions of units worldwide.



Initially the 5800 was available in Blue and Red variants which were, in time followed by a Black/Silver variant. A 5800 Navigation Edition was announced recently to celebrate the success of the 5800.

The Nokia 5530 XpressMusic was announced as a variant to the 5800 XpressMusic in June 2009 and is set to release worldwide in August 2009. The Indian release is scheduled for 25th August 2009.

At first glance, both the handsets appear to be the same feature wise. However, these handsets are quite different despite them sharing a lot of similarities.



What are the advantages and disadvantages of each compared to the other? Well thats what will be explained below.



Since the Nokia 5800 XpressMusic was the first handset, let’s have look at it’s features first.



Nokia 5800 XpressMusic Features:



■111 x 51.7 x 15.5 mm, 109 grams

■3.2 inch Resistive Touchscreen, 360*640 Resolution

■81MB Memory, 128MB RAM, micro-SD Card Slot (8GB Card Included)

■GPRS, HSCSD, EDGE, 3G, HSDPA, Wi-Fi, Bluetooth, micro-USB

■3.15 Megapixel Camera, Autofocus, LED Flash, Carl Zeiss Optics

■VGA Video Recording at 30Fps, Secondary Video Call Camera

■S60 5th Edition, 434mhZ Processor

■GPS with A-GPS support

■1320 mAH Battery, 3.5mm Audio Jack

Nokia 5530 XpressMusic Features:



■104 x 49 x 13 mm, 107 grams

■2.9 inch Resistive Touchscreen, 360*640 Resolution

■70MB Memory, 128MB RAM, micro-SD Card Slot (4GB Card Included)

■GPRS, HSCSD, EDGE, Wi-Fi, Bluetooth, micro-USB

■3.15 Megapixel Camera, Autofocus, LED Flash

■VGA Video Recording at 30Fps

■S60 5th Edition, 434mhZ Processor

■1000 mAH Battery, 3.5 mm Audio Jack

By looking at the specifications, we can realise that the Nokia 5800 XpressMusic is more feature packed than the Nokia 5530 XpressMusic.



Things that the Nokia 5800 XpressMusic has but the Nokia 5530 XpressMusic lacks:



■GPS

■3G and HSDPA

■Carl Zeiss Optics

■Video Call Camera

The 5800 XpressMusic also has a bigger screen and a bigger capacity battery.



The 5530 XpressMusic also has some advantages such as being smaller in size and having a more attractive design.



But the main point of introducing a handset with lesser features is to create a cheaper version of the 5800 for the people who can’t afford to purchase the 5800 or even for the people who do not use all the 5800 features. Thus the touchscreen mania helps to reach a wider audience.

Saturday, September 5, 2009

Ajax script resources

Working with Ajax? (Asynchronous Javascript and XML) Especially in web applications? Check out the web applications and scripts, coding secrets, and tips on the following web sites. As Ajax grows, so will these resources, so its highly recommended to bookmark them: (also great sites for HTML codes, CGI, Perl, Javascript, XML, and other coding scripts)

The Javascript Source: http://javascript.internet.com/ajax/

The Javascript Forum: http://www.webdeveloper.com/forum/forumdisplay.php?s=&forumid=3

Ajaxed: http://www.ajaxed.com/

Ajax.net: http://www.ajaxpro.info/default.aspx?old=ajax&ref=http%3a%2f%2fwww.google.com%2fsearch%3fhl%3den%26q%3dFree%2bAjax%2bscripts

Open Cube: www.opencube.com

Javascript Kit: www.javascriptkit.com

and don’t forget my Yahoogroups web-design support group at www.yahoogroups.com/ “web-design”


Regex For Creating Usernames

A regular expression (called regex) is a way for a programmer to instruct how a program should look for a specified pattern in text and then what it should do when each pattern match is found. Rather than going through each character of a string and doing matches, regex makes life easier for programmers to do search and matches. This sample regex is a good pattern for use in creating usernames.

The regex below means that only alphanumeric (only lowercase letters) are allowed including an underscore and a dot.

^[a-z0-9_.]$

Email Using JavaMail

avaMail, a technology from Java allows programmers to develop code that can send emails whether in plain text or HTML. Here’s a short easy code to send email to a recipient.



public static boolean send(String replyTo, String from_email, String to_email, String subject, String body, String type) {
boolean sent = false;
try {
Properties prop = new Properties();
prop.setProperty(”mail.smtp.localhost”, “localhost”);
prop.setProperty(”mail.smtp.port”, “25″);
Session session = Session.getDefaultInstance(prop);

Message msg = new MimeMessage(session);
msg.setSubject(subject);

InternetAddress from = new InternetAddress(from_email);
InternetAddress to = new InternetAddress(to_email);
msg.addRecipient(Message.RecipientType.TO, to);
msg.setFrom(from);

Multipart multipart = new MimeMultipart(”related”);

BodyPart htmlPart = new MimeBodyPart();
if (type.equals(”html”)) htmlPart.setContent(body, “text/html”);
else htmlPart.setContent(body, “text/plain”);

multipart.addBodyPart(htmlPart);
msg.setContent(multipart);

Transport transport = session.getTransport(”smtp”);
transport.connect(USERNAME, PASSWORD); // username, password to connect to smtp server
transport.sendMessage(msg, msg.getAllRecipients());
transport.close();

} catch (Exception e) {
System.err.println(”[MailTool] send() : ” + e.getMessage());
e.printStackTrace();
}

return sent;
}





Notice the line that says transport.connect(USERNAME, PASSWORD);

That line is optional in case you have set your SMTP server for authentication before emails are sent out by the mail server. The method also provides the option to let you send the email as plain text or HTML. Just set the value to html if you want it to be sent as HTML.

Sunday, August 9, 2009

Train tickets sold out online in mins

Train tickets sold out online in mins










CHENNAI: Tickets on popular trains for dates of journey coinciding with the Deepavali festival in October got booked within a couple of minutes

after the counters opened on July 17. This was because of high-speed computers and increased online bookings, said a Southern Railway study.

The study, conducted by the Passenger Marketing Cell, revealed that bookings touched the waitlist mark in a record two minutes after they opened at 8am for the Pandyan Express. Bookings also touched the RAC or waitlist mark in less than 10 minutes for the Nellai Express, Pothigai Express, Pearl City Express, Ananthapuri Express, Rockfort Express, Niligiri Express and Cheran Express. The only exception was the Kannya Kumari Express - it took 16 minutes for the tickets to get sold out.

Backed by a similar experience last year, Southern Railway studied the pattern of bookings and found that 65% of tickets were booked online and the rest through the 95 passenger reservation (PRS) counters spread over Chennai, Coimbatore, Coimbatore, Dindigul, Erode, Madurai, Trichy, Rajapalayam, Rameswaram, Sivakasi, Tirunelveli, Thiruvananthapuram, Tuticorin and other centres.

The PRS system is capable of processing 20 to 30 successful transactions per second. This means that in one minute 1,200 to 1,800 transactions can be successfully completed, with reservations of around 2,000 persons. The total number of berths available for a day on popular trains is approximately 10,000 berths. At the current speed of processing, the time taken for 10,000 successful transactions would be just 8.33 minutes, according to an assessment made by Southern Railway officials.

Officials have also ruled out the popular belief that the berths were cornered by agents of the Indian Railway Catering and Tourism Corporation (IRCTC), who book online. "It was found that the total number of bookimgs done by these agents for berths in Nellai, Pandiyan, Kanyakumari, Ananthapuri and RockFort were only 80. However, the total numbers of bookings done on the internet for the five trains were 841 on the same day."

The study also revealed that 95% of online bookings were done by individuals, not agents. The trend was all-India, and not peculiar to the zone, a press release pointed out.

Saturday, July 18, 2009

Get SMS Guard App free – Sign up for an Ovi Email Account

Here’s a chance to get a free application from Nokia. I just received a mail from Nokia India offering a free app called Smart Guard if I register for an Ovi Account. To avail of this offer, all you need to do is register for an Ovi Mail account, and submit your Ovi email id to Nokia. They’ll be sending you the application. Click on the image below to get the details of the offer.
Ovi Offer

If you are in India, once you get your @ovi.com email is, send the following SMS to 55555 to get your app:
OVI yourid@ovi.com

About Smart Guard:

Smart Guard protects all your private information (like Messages, Contacts, Videos, Pictures etc.) both in the phone’s internal memory and on memory cards. Additionally, Smart Guard works to ensure that protected content isn’t even visible to someone who doesn’t have the passcode.

Ovi Offer: Link
About Smart Guard: http://smart-guard.en.softonic.com/symbian

my project details

PROJECT:

Title : Hospital Management System

Web Server : Apache Tomcat Server
Environment : Java, Java Servlet

Database : MySQL, Oracle basics.

Designing Tools : Eclipse

Operating System : Windows XP

Description

HMS is a powerful, flexible, easy to use and is designed and developed to deliver real conceivable benefits to hospitals and clinics. The ultimate goal of HMS is to build a network of interdependent centers such as reception, doctor, pharmacy, clinical laboratory and so on in order to effectively meet the needs arising within the hospital. HMS is an integrated, modular client server based system working around a common database. Hence this is a web enabled enterprise application which stands apart from traditional boring interfaces.

Detailed Description:

HMS consists of following modules. Reception, doctor, pharmacy, clinical laboratory. In reception module all the information regarding the patient will be entered and every patient is allotted with a unique id. The UI pages are designed with HTML language. The information entered in reception module will be given as an input to the java Servlet which intern used to insert/retrieve the patient’s information in to & from the database. By using the doctor module, doctors can prescribe medication for the particular patient and also they can view the lab history details of that patient. The patient unique ID is used to retrieve the data about the patient. All the medications prescribed by the doctor can be viewed in the pharmacist module, pharmacist also maintain the details about the stock available in the pharmacy. Lab details module is used to add the details regarding the test that have been conducted for the patient. Also the patient’s Xray & scanning reports can be inserted in to the lab details modules as an image & so that the doctor can view the details about the patient’s medical history in a single click.

Roles & Responsibilities:

· Requirement gathering & Analysis

· Design & coding & Unit testing

· Testing, Implementation & maintenance

· Training the Hospital official for using the application.