Information Technology

VIVO V9 review

VIVO launched its latest smartphone V9 in India. It became first mobile which launched smartphone with notch display in India. It has large 6.3 inch full HD+ display. Pixels density of the display is around 400ppi, 19:9 aspect ratio with 90% screen to body ratio. Display is bright, colours are good, viewing angles are good. It has gorilla glass 3 protection as well.

By whatsq, ago
Famous

iPhone 8 (PRODUCT)RED Special Edition

Introducing iPhone 8 (PRODUCT)RED Special Edition, in a stunning red glass finish. Each purchase contributes directly to the Global Fund to support HIV/AIDS programs. And brings us one step closer to an AIDS-free generation.1 Buy it online or visit an Apple Store today. BUY from Amazon US [amazon_link asins=’B06XZBX4GL’ template=’ProductCarousel’ Read more…

By whatsq, ago
SAP

What is Action in SAP CRM?

Action Profiles and Actions / Action Conditions:The action profile and definitions contain the default information on what the action will accomplish when triggered. It contains information as to if the action should trigger immediately, on save, or during a selection report. The conditions section is where the triggers of the Read more…

By whatsq, ago
Programming

Programming Tips for JDBC

Programming Tips for JDBC  a. Use DataSource whenever Possible If you have a choice, you always should use javax.sql.DataSource to get a JDBC connection. Data sources, which were introduced with JDBC 2.0, make the job of configuring a database connection and connecting to a database nearly fool proof. Consider the following Read more…

By whatsq, ago
Programming

JavaScript DOs and DONTs

JavaScript DOs and DONTs   1.     Use Shortcut Notations:   This code [Avoid] Is the same as [Use Instead]   var lunch = new Array(); lunch[0]=’Dosa’; lunch[1]=’Roti’; lunch[2]=’Rice’; lunch[3]=’what the heck is this?’; var lunch = [    ‘Dosa’,    ‘Roti’,    ‘Rice’,    ‘what the heck is this?’ ]; Read more…

By whatsq, ago
Programming

Tips on setting up a Junit test case

Do not use the test-case constructor to set up a test case [Junit]   Context:   Setting up a test case in the constructor is not a good idea. Consider: public class SomeTest extends TestCase    public SomeTest (String testName) {       super (testName);       // Perform test set-up    Read more…

By whatsq, ago
Programming

Tips for Swing UI Layout

Tips for Swing UI Layout   1. Avoid using JEditorPane and JTextPane: Most Swing components in Java 6 have a meaningful baseline. However, some seem to have no correct baseline (for no apparent good reason). JEditorPane and JTextPane are examples of such components. This means that it is impossible to Read more…

By whatsq, ago
Programming

Best Practices for Multithreading in Java

Best Practices for Multithreading in Java   1. Synchronization: If you have shared mutable data, synchronize access to it. Synchronization makes sure that an object is seen only in a consistent state by any thread, as it ensures mutual exclusion. It also guarantees reliable communication between threads as it ensures Read more…

By whatsq, ago
Programming

Character encoding in Java

Character encoding in Java   Java iterates through all the characters that the string represents and turns each one into a number of bytes and finally put the bytes together. The rule that maps each Unicode character into a byte array is called a character encoding.   So it’s possible Read more…

By whatsq, ago