Posts

Showing posts from 2009

Android

Buying an android developer phone is one of the best decisions i have made in the recent past. Each day , the time i spend with it, i feel great. Let it be receiving gmail messages, gtalk or skype or changing the wallpapers from internet, or getting the latest news updates or developing a small custom program and porting it to the phone. I am loving my android phone everyday.
I've gifted a HP laptop Tx 2000 to my Dad and it died today. Below is the cause. It has just gone out of warranty and im feeling very bad about it. This is the problem. http://www.mycheaplaptop.net/2009/03/never-buy-hp-laptop Dont buy this laptop from HP ... Here are the specs. - HP Pavilion tx2000z CTO NB - Genuine Windows Vista Home Premium (32-bit) - AMD Turion(TM) 64 X2 Dual-Core Mobile Technology TL-64 (2.2 GHz, 512KB+512KB L2 Cache ) - 12.1" WXGA High-Definition HP BrightView Widescreen Display(1280 x 800) with Integrated Touch-screen - 2GB DDR2 System Memory (2 Dimm) - NVIDIA(R) GeForce(R) Go 6150 - FREE Upgrade to HP Imprint Finish (Echo) + Fingerprint Reader + Webcam + Microphone!! - 802.11b/g WLAN and Bluetooth - 250GB 5400RPM SATA Hard Drive - FREE Upgrade to LightScribe SuperMulti 8X DVD+/-RW with Double Layer Support!! - No TV Tuner w/remote control - 6 Cell Lithium Ion Battery - Microsoft(R) Works 9.0

appreciation

Nice to see  appreciation from customer for Gita http://www.getjar.com/products/3145/GITA Hi, Iam Devvart Arun Sharma.Residing in Bahadurgarh,Haryana,India. I just wanna Say thanks to Your Endeavourous Team for Making Great Epic Easily Accessible to World. This Application is AWESOME.I used to Read Gita Saar in Calendar during Childhood. I wished to Have BHAGWAT GITA,but it required lots of free time & it is not Handy. You guys have made My Dream Come True. Thankyou, God Bless You & Sun Microsystems Inc.

happy independence day

Celebrating Independence day in India after 3 years... Watching auto drivers putting huge India flags and driving ... and creating a sense of the same feeling among all those who see the flag, that we belong to that one same thing. What a feeling...words cannot describe. http://www.youtube.com/watch?v=UC-RFFIMXlA&feature=related

Art of Performance Testing.

Image
Performance tuning is a challenging task that requires in-depth understanding of the hardware, operating system, and application. If performance tuning were simple, the parameters would be hard-coded into the firmware or the operating system.    Art of Application Performance Testing   When is an application considered to be performing well? It is a matter of perception and usage scenario.   A "Performance Driven Organization" is that whose performance considerations have been taken into account at every stage of the application life cycle. Tool should provide single view of monitoring various mertics across servers. EUE->End User Experiece

perf-generics

Image
Frequency of collection of metric and display of collection. CPU count per CPU stats or aggregate stats Number of Queues waiting for CPU Time spent waiting for a CPU Swapped out threads User, System utilization and Ilde time of the cpu Load average Migration of threads  between processors Mutex contention events  on kernel. read/write lock contention events on kernel. system call rate Which process/thread/method is using the CPU

perf- CPU- Solaris

CPU The first line of metric is the summary since boot.Interval of collection is specified as 1st param along with command name. vmstat collects the aggregate stats of all the CPU's Saturation Number of queues waiting for CPU is run queue length or size. kthr:r of vmstat gives this value. sar -q 5 5 gives info on swapped out threads. It also gives runq-sz. Swapping out threads is a last resort for relieving memory pressure, so this field will be 0 unless there was memory shortage. Amount of time spent waiting for a CPU is measured using  the LAT latency value of command prstat -mL vmstat and sar(system activity reporter) also give the user,system utilization and ilde time of the cpu. Number of processors in the system and their speed psrinfo -vm Load average represents both CPU utilization and saturation. uptime and prstat give this info. A value equal to CPU count means 100% utilisation. 1-,5- and 15- minute averages are obtained. sar can capture historic data by enabling interval

perf resources

High Performance Client/Server, Chris Loosley and Frank Douglas ( John Wiley & Sons) Inside the Java 2 Virtual Machine, Bill Venners (McGraw-Hill) (see http://www.artima.com/insidejvm/resources/) Introduction to Computer Performance Analysis with Mathematica, Arnold O. Allen (Academic Press) Performance Engineering of Software Systems, Connie Smith (Addison Wesley) Sun Performance and Tuning, Adrian Cockcroft and Richard Pettit (Prentice Hall) System Performance Tuning, Mike Loukides (O'Reilly) Windows NT Applications: Measuring and Optimizing Performance, Paul Hinsberg (MacMillan Technical Publishing) Windows NT Performance Monitoring, Benchmarking, and Tuning, Mark T. Edmead and Paul Hinsberg (New Riders) IBM Systems Journal (http://www.research.ibm.com/journal/ ) (see Volume 39, No. 1, 2000 — Java Performance) Jack Shirazi's Java Performance Tuning web site (http://www.JavaPerformanceTuning.com) Vladimir Bulatov's HyperProf (http://www.physics.orst.edu/~bulatov/Hyper

Java Performance Tuning - contd.

Two standard optimization techniques for reducing I/O overhead are buffering and caching. Some techniques to improve I/O performance: Execute I/O in the background. Avoid executing I/O in loops. Using System.outor System.err, for logging,purposes can affect performance. Using any logging framework like log4j, can allieviate this to some extent. Check Readers are InputStreams performance. Readers may be better. Use a separate thread to monitor the application. multithreading issues- race conditions and deadlocks. Performance tuning is frequently a matter of tradeoffs. Tuning can be a lengthy process simply because it must be iterative. Performance problem created (or left uncorrected) in one phase requires roughly five times as much effort to correct in the following development phase. Performance tuning should be done after the code is functionally correct. Typically, 80% of the application time is spent in less than 20% of the code. When designing the application to run activities in

Java Performance tuning-contd..

One can choose a JDK version(vendor) for compilation and another JRE version(vendor) for execution. Understand the GC pattern of the application.Adjust GC interval and -Xmx if it helps, after looking at the pattern. Use trial and error to set this values. Casting is an overhead. If all the list objects are one type, they better be declared as a collection of that type.Casts(not resolvable at compile time-using instanceof operator) have runtime memory cost. Is the development VM same as the production VM? JIT compiler, compiles bytecode into machine native code on first execution. Bytecode interpretor executes by decoding,converting into native code and then executing. Shared libraries can be loaded into system memory even before application startup to application reduce startup time. Some compilers have the optimise option (-O) meant to compile such that execution optimisations can be applied. You could compile to native machine code directly. -J and -target options exist during compil

tasks

wash house electricity payment restructuring payment rent house driving license -avinash driving license -radhika birth certificate-Veda apply passport - Veda make address change - avi, rads passport- change photo. income tax filing

Java Performance Tuning 2nd edition - Jack Shirazi

Identification of the cause of the performance bottleneck is a science, not an art. Measure/Profile current system in terms of     Response time/TPS     Memory     Disk I/O     CPU     Concurrency      per layer and end to end for transactions identified by business in the descending order of risk or target volume per unit interval Freeze them so that they can be served as reference at any point of time. This version of the software at any time should be installable to demostrate the effect of the changes made later. Get to know the benchmark figures of performance of the software/hardware platform from industry. What are the SLA the application has to conform to? Define them if they do not exist already and strive to achieve them. Agreeing on targets before tuning makes everything clear to everyone. Follow a top-down approach, come up with observations and take direction from management on proceeding with the next set of efforts. Document all such decisions. Suggest not based on gut-f

please visit my uru

its a nice uru where air is pure u cultured for sure u dussera celebrations joru tourists throng silk, u will long sandalwood  smells strong eating paka and bonda along listen to the maharaja song in this learning hub, right or wrong? take a tanga do ashtanga go sriranga anargalangaa when u pass-by this uru making a tour u, please ensure u, to visit us, ondu chooru please visit my uru its mysuru. uru            =    town joru              =    intense (telugu/kannada) tanga           = a horse driven carriage(hindi) anargalangaa         =    non-stop (telugu) ondu chooru         =    once (kannda)

How to Sell Anything to Anybody

Salesmen are made,not born.- Joe Girard. Joe in his 15 year selling career sold 13001 cars. Time,Money,Effort,Passion,Responsibility When a salesman sells, there are no losers. Both the buyer and the seller win. The process that leads to victory should start long before you ever see your prospect and goes on after the customer signs and leaves with his purchase. ATANA->All Talk And No Action Understand whom you are dealing with and what they really want to hear. Its no fun being turned down. But i soon found out that the more people i talked to, the more sales i made. Broom, thats the word we used for getting fired. About Land. In my youth, i did'nt know that you're supposed to believe anything unless you see it in writing. Recapitulating about, what i was trying to say,what i should say and what the listener wants to hear helps know and improve myself. Know what you want. Some customers are interested but scared of the sales person. Attitude matters. Know who is your prospe

Rich Dad, Poor Dad by Robert Kiyosaki

Richness is not about money. It is about the thought. Be aware of everything around you. You must know the difference between an asset and a liability. Dont work for money, let money work for you. Be smart and you wont be pushed around as much. We learn by making mistakes. While learning to walk, we fall down also. Education is more valuable than money,in the long run. Life is like going to the gym. The most difficult part is deciding to go. The more specialised you become, the more trapped and dependant on that speciality. Know a little about everything, and everything about a little. To be truly rich, we need to be able to give as well as recieve. One of the wonders of the world is the power of compounding interest. Whats your investment portfolio? The human spirit is very powerful. It can do anything. Invest first in the education of investing. Dont listen to poor or frightened people. Self-Discipline is needed and without it, everything earned is lost in a second.

Dollar Bahu

Last week i've been to landmark book shop and while browsing through the books,saw this one written by Sudha Murthy ( http://en.wikipedia.org/wiki/Sudha_Murthy ).As i have never read any of her books and the title "Dollar Bahu" seemed interesting, have taken this book. She handles relations of various characters very softly in this book. The potray of sensitivity  in the relationship between Chandru (the dollar guy) and Vinutha (the poor lady from Dharwad village) on whom Chandru  has a crush and who later becomes his brother's wife is very good. The same can also be seen when Shamanna(the father-in-law) of Vinutha, suggests that Girish(Vinutha's husband) and she move back to Dharwad to lead an independent life away from the day-to-day comparisons that will be brought about by Gowramma(mother-in-law) who will be back from the US. There are few references to the bakula flower here. There is another book she wrote called bakula flower. The frustration about Vinutha

You are the best.

http://www.youtube.com/watch?v=YjZAPXQI_Hs http://www.youtube.com/watch?v=SgVge831fYY&feature=related

Performance Testing Certifications

Performance Test Management Expert - Focus of this certification is on SilkPerformer, SilkCentral Test Manager and SilkCentral Issue Manager. IBM Rational Performance Tester (RPT) AIS HP Performance Center v9 and ASE HP Performance Center v9

Web automation

Number of web automation tools used to record and replay user actions exist as FireFox Plugins. Examples: Sahi, IBM CoScripter, Selenium, TestGen4Web, ChickenFoot, etc.. They have not become immensely popular or useful though they are used by niche testers or users. The reason for that could be, some of the features missing in these tools that provide "value points" such as , inability to schedule automated executions, inability to compare a value on a page to the expected result using XPath or any such mechanism, having a lack of notification mechanism for alerting users when the value points have been found and inability to serve a mobile customer. In order to alleviate such issues, server side replay engines can be created and used. using technologies like Server side java script document manipulator like Rhino + Google AppEngine. While most of the user defined automated scripts in the above examples are spam, it is necessary to develop admin controlled and useful automati

tasks for informer

record steps set desirables schedule frequency repeat actions check desirables sleep or notify user

v8 javascript engine Benchmark test results on different browsers

Image
The result of running V8 benchmarks ( http://v8.googlecode.com/svn/data/benchmarks/v4/run.html ) on the standard gave the following results. FireFox 3.0.10 Internet Explorer 6.0.2900 Safari 4 Public Beta Chrome 2.0.172 Opera 9.64 <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-4869279-2"); pageTracker._trackPageview(); } catch(err) {}</script>

Site Stickiness of a Page

Every web page has links. Some links point within the site and some links are external. The ratio of internal:total links in a page, is a measure that can tell the probability of the user to stick, to the site or to go to another site. Let us call this as site stickiness of a page. Site Stickiness=(internal links/total links{internal+external})*100 This is the probable percentage that a user will stick to your site. Inorder to get this measure, use the following javascript code. var intern=0,extern=0; for(i=0;i<document.links.length;i++){ if(!(document.links[i].href.toString()).match(document.location.toString().split('/')[2])){     extern++; }else{     intern++; } } var sticky=((intern/(intern+extern))*100); console.log(sticky); alert(sticky);

World Economy

The world economy currently is a small child that needs CRIB. (China, Russia, India, Brazil)

Customer defined alerts

Server defined alerts are good to startup, but the developer will get worn out trying to satisfy all of the customers. So the other option is to have customer defined alerts. So, giving choice to user to define alerts for common web workflows she/he is interested in, is a feature, that has to be implemented in Informer. For doing so, a record/replay engine has to be developed. The architechtures which are applicable for coding such a thing are 1. Develop plugins like selenium/testgen4web does that are browser specific. In this case, we have to cater to FF,IE,Safari,Chrome, Opera. 2. Allow the browser to go through a local proxy which intercepts the requests. For this , user has to make changes to his network connectivity profile in the browser, which might not be a good thing to ask the user to do. 3. Develop componets using the RIA web client frameworks like Titanium, Adobe Air, Mozilla Prism, Java FX, Fluid... Titanium through open is very new and it is better to go for it after 1.0

Different things...

Recently i have done many things that are different and that i have never done in life so far. Some of them were considered bad and many people are addicted to them and so, those addicted do not feel it is bad, but those who are not, feel so. Some of the things are done by people on special occassions, good and bad. Some of the things are considered taboo, by some specific sect of the community. Some of the things are done by people, most of the times but only secretively. There is no reason for doing them. The need to do something different was the motivating cause. While, doing most of these things it is quite easy and possible through money, there is no significant effort required for doing them. After doing all of above things there is a loss perceived. After trying all these things, now i am getting motivated to do things that are different and difficult to do and which will give profits.They not only require commitment but also a constant sense of purpose for achieving the goal s

Informer-Business Plan

Business plan for Informer The only place where success comes before work is in the dictionary .   Company Name:               Informer Sector                             :               PC / Mobile Internet (Software as a Service)   Business Overview: Actions such as receiving a phone call or SMS, GRAB THE Customer’s ATTENTION to the device. Internet on a mobile phone is primarily, user initiated. As smart phones and net-books reach the masses, the need for delivering value , to a mobile customer and getting customer's attention, is more useful , than a pull based internet . A push based model guarantees such a possibility. The need for benefiting from internet, as a push based model, is the idea of creating the product "Informer".   Market opportunity: Addressable Market size :               Android has a first year market size of 125,000,000 users 100 million European T-Mobile users will be offered the G1. May target software for additional platforms like IPhone,

Informer

Company Name:               Informer Sector                             :               PC / Mobile Internet (Software as a Service)   Business Overview: Actions such as receiving a phone call or SMS, GRAB THE Customer’s ATTENTION to the device. Internet on a mobile phone is primarily, user initiated. As smart phones and net-books reach the masses, the need for delivering value , to a mobile customer and getting customer's attention, is more useful , than a pull based internet . A push based model guarantees such a possibility. The need for benefiting from internet, as a push based model, is the idea of creating the product "Informer".   Market opportunity: Addressable Market size :               Android has a first year market size of 125,000,000 users 100 million European T-Mobile users will be offered the G1. May target software for additional platforms like IPhone, Blackberry, JavaME, WinMo based smart phones after success with android, there by increasing the