Mobile number series for TamilNadu

For chennai,

Chennai Aircel 99410-99414
98410-98414
97100-97109
90940-90949
Bharti Airtel 99400-99409
98400-98409
BSNL 94440-94449
94450-94455
91830-91839
Vodafone Essar 98840-98849
99620-99628
91760-91769

Read the rest of this entry »

How to Fix Memory Leaks in Java | Javalobby

  • "Your pager hasn’t been sleeping well. It periodically wakes you up in the middle of the night to tell you that your server is firing off “OutOfMemoryError” messages. Worse still, your significant other forcibly relocated you to the couch and told you not to return until your pager stops buzzing. Sound familiar? If so, you may have a case of memory leak induced insomnia, but fortunately we’ve got a cure for what ails you. This tutorial will teach you everything you need to know to ease your suffering, including what memory leaks are, why they happen, and how to diagnose and fix ‘em."

    tags: programming, java, performance

Posted from Diigo. The rest of my favorite links are here.

Java is Pass-by-Value – Scott Stanchfield

  • tags: java

    • I finally decided to write up a little something about Java’s parameter passing. I’m really tired of hearing folks (incorrectly) state "primitives are passed by value, objects are passed by reference".

      I’m a compiler guy at heart. The terms "pass-by-value" semantics and "pass-by-reference" semantics have very precise definitions, and they’re often horribly abused when folks talk about Java. I want to correct that… The following is how I’d describe these

      Pass-by-value
      The actual parameter (or argument expression) is fully evaluated and the resulting value is copied into a location being used to hold the formal parameter’s value during method/function execution. That location is typically a chunk of memory on the runtime stack for the application (which is how Java handles it), but other languages could choose parameter storage differently.
      Pass-by-reference
      The formal parameter merely acts as an alias for the actual parameter. Anytime the method/function uses the formal parameter (for reading or writing), it is actually using the actual parameter.

      Java is strictly pass-by-value, exactly as in C. Read the Java Language Specification (JLS). It’s spelled out, and it’s correct. In http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.4.1:

Read more: javadude.com

Posted from Diigo. The rest of my favorite links are here.

Viewing objectgrid maps in ND 6.1.0.5

In Websphere console you can view the number of objects you have stored in the objectgrid through the PMI, but strangely installing/upgrading to XD 6.1.0.5 disables this feature by default, so you cannot select the objectgrid maps in the current activity screen.

To enable this navigate to Monitoring and Tuning>Performance Monitoring Infrastructure
Click on the server name which hosts the Grid.
Select the ‘runtime‘ tab
click on ‘Custom’ Monitoring
click objectgrid maps and enable monitoring.

OG

Contrast

I came across this image when searching for some nice lambo wallpaper,

lambo unedited

the car doesn’t stand out from the ice background, so i edited a bit and heres the result

Edited

It is not a perfect work, just quick edited to note the difference

Full HD or HD ready?

Yesterday some guy in my office posted this question

I want to know whether there is any advantage in spending more money to get a full HD TV, if the tv has to be operated on dish tv / tata sky ?

Is there noticeable difference in the quality of HD-ready and full HD TV?

Also, if I play original DVDs, can I notice a difference between the picture quality on the two screens(hd ready and full hd)?

I would definitely recommend getting a full HD ,it would be better in the long run.

A full HD television can display images at 1080p(1920*1080) whereas a HD ready TV can display only 720p(1280*720)

The dishtvs and tata skys deliver images at a very low resolution, not sure about the exact value, but I guess it will be somewhere near 480*500.

DVDs’ can show images upto 720*480, the divx movies found on the web are usually at 640*480.

Blu-ray discs can show images at real 1080p rez.

As you move towards higher resolution TVs’ the lower resolution videos get worse.

For e.g. a DVD movie will appear better (as in crisp) in a lower resolution display than in a full HD television.

However there are some workarounds to this, you can buy a 1080p up scaling DVD player available in the market, they do a very good job in scaling the resolution.


Entity already exists – When there are no duplicates

com.ibm.websphere.objectgrid.em.EntityExistsException: Entity already exists.
        at com.ibm.ws.objectgrid.em.EntityTransactionImpl.commit(EntityTransactionImpl.java:140)

if you are getting this exception even though you are sure there cannot be duplicates, please check if you are setting values for @id(~primary key) since not setting a value will also trigger the Entity Exists Exception.

Win32 PE packing

Here is an interesting article from Websense regarding the Portable Executable packaging.

Websense (pdf)

How processors are made

A very neat illustration from Intel explaining the steps involved in converting humble sand to a micro processor.

Intel

LTPA token validation fails in Websphere

Error:
SECJ0371W: Validation of the LTPA token failed because the token expired with the following info: Token expiration Date: some old date

The Nodeagent should acquire a new token before the token it has expires, but if the nodeagent sends the expired token instead, the above error message is displayed. Restarting the node should fix this.