OnePlus One : The Review

OnePlus One : The Review
Hello Everyone, We finally bring you the much awaited review of the super hyped and ‘The Flagship Killer’ titled mobile phone device. The One from OnePlus. While the specs are astonishing compared to its contemporary phones, with 3 GB RAM, Qualcomm Snapdragon 2.5 GHz Quad Core CPU chip, 13 MP Rear and 5MP front camera, ...

Python newline caveat

Hello Everyone, This will be a small post about a caveat in Python language (v2.7) for writing output to files. On Windows the new line character is actually treated as ‘\r\n‘ or CRLF as we know it (Carriage Return followed by a Newline). Sometimes however you may not want to output this newline character into ...

Samsung Tab3 311 Kitkat Update Issue…

The much awaited Android Kitkat update (v4.4.2) for Samsung’s latest Tab in the market so far ‘SM-T311’ was made available sometime towards the end of August-2014. While it was highly anticipated, there seems to have occurred many problems to devices after updating the firmware for Android v4.4.2. Our team experienced one such issue and the ...

ConcurrentHashMap 1

ConcurrentHashMap
Javadoc says… “A hash table except supporting full concurrency of retrievals and adjustable expected concurrency for updates. This class obeys the same functional specification as Hashtable, and includes versions of methods corresponding to each method of Hashtable. However, even though all operations are thread-safe, retrieval operations do not entail locking, and there is not any ...

Emulation vs Simulation

While both the terms refer to mimicking the behavior of something, they, however, are not the same in the sense of- degree to which they duplicate the behavior along with some traditional meaning associated with them. In the earlier years of its inception, the term Emulation was used only for hardware based simulations, which has ...

Samsung Tab3 311 Charging problem 30

Last month I bought the Samsung’s latest launch Galaxy Tab3 311. It has an 8 inch screen with 1.5 GHz dual core processor. (More details here). However, within a fortnight of purchasing the device, it began showing charging problem. On primary investigation I found the problem was with the USB charging adapter which came with ...

StringBuffer vs StringBuilder

  According to javadoc, StringBuilder is designed as a replacement for StringBuffer in single-threaded usage. Their key differences in simple term: StringBuffer is designed to be thread-safe and all public methods in StringBuffer are synchronized. StringBuilder does not handle thread-safety issue and none of its methods is synchronized. StringBuilder has better performance than StringBuffer under ...

executeQuery, executeUpdate and execute

executeQuery public ResultSet executeQuery() throws SQLException Executes the SQL query in this PreparedStatement object and returns the ResultSet object generated by the query. Returns: a ResultSet object that contains the data produced by the query; never null Throws: SQLException – if a database access error occurs or the SQL statement does not return a ResultSet ...

TreeMap

The TreeMap class implements the Map interface by using a tree. A TreeMap provides an efficient means of storing key/value pairs in sorted order, and allows rapid retrieval. You should note that, unlike a hash map, a tree map guarantees that its elements will be sorted in ascending key order. The TreeMap class supports four ...

Restoring your Active Windows Desktop

Yesterday I experienced the Monday blues in form of a white screen desktop. The “Restore My Active Desktop” button wasn’t working and was giving a javascript error that “Object type doesn’t support that action”. The white screen was so difficult to look at  that by evening I was having a severe headache. So the first ...