Skip to main content


Control Amazon Prime Video quality and SAVE bandwidth

As in YouTube, Amazon Prime Video also has an in-built feature to adjust video quality based on the bandwidth available. Unfortunately, the quality settings available in YouTube, by which you can set the quality of the video, is not available in Amazon Prime yet. Due to this missing feature, the data usage can go too high, if you are on a limited plan, you might end up consuming whole data within couple of days.
If you would like to know how much data you will be consuming in an hour, visit my blog post entitled Control YouTube Video Quality and SAVE Bandwidth.
So, let's talk about how we can limit the data usage with Amazon Prime. With some settings in your router, you can limit the data usage for all devices connected or only specific device.

Follow below steps to setup your router to control bandwidth.
Access your router admin console or Login with the admin user and password (normally administrator/password), refer your router manual for exac…
Recent posts

Control YouTube KIDS Video quality and Save Bandwidth

If you are a regular YouTube user, you already will be knowing the bandwidth control settings available in YouTube. More information available in my previous blog post titled Control YouTube Video Quality and SAVE Bandwidth. Unfortunately, YouTube team did not roll out this feature in YouTube KIDS yet.
For the parents with Young kids, YouTube Kids is a present from YouTube team. Limiting "kids only" videos from their wild YouTube platform, parents can safely give control of the TV to kids, they can watch whatever they want based on their interest.
One common problem every parent facing is the excessive usage of bandwidth. Those who are having unlimited plans no need to worry, others it is an ongoing issue. Whenever you are about to start a work, you will notice you are running out of data.
Is there any way you can set limit to the data usage by YouTube KIDS? You have a good news! You can now control data usage at router level or at device level.
Most of the modern routers allow …

Control YouTube Video Quality and SAVE Bandwidth

YouTube has an inbuilt feature to control the video quality based on the bandwidth. Not only in the web version but it is available across all device versions such as Android, iOS, Samsung Smart TV, SONY TV, LG TV and even in Play Station versions.
Available quality settings depends on the device and the video you are playing. Below given list of all available quality levels supported by YouTube:
Auto (adjusts based on the available bandwidth)144p240p360p480p720p (HD, High Definition)1080p (FHD, Full HD)4K (UHD, Ultra HD)If you have a limited data internet connection, it is advised to set the quality level not to Auto, set it based on your data plan.

Below chart will give a rough data usage based on the bandwidth:
Say you have 50Mbps connection and you watch YouTube in 1080p resolution, you will consume a maximum of 21.97GB data in an hour! You can red…

Using Custom S3 Resource in Spring Batch Application - Part 2

In the last article titled Simple S3 ItemReader for Spring Batch Application, I explained how to write a custom FileItemReader for S3. You might have noticed, the solution works great but you will have to restart your application/server for any changes in the S3 file to take effect.

Here, we will try another approach where we will extend class and implment a S3 resource provider. For this, we will have to implement the below methods:
public String getDescription()public InputStream getInputStream()public boolean exists()public long contentLength()public long lastModified()public String getFilename()public URL getURL()
Let's implement these methods.
Method: getDescription()This should return a short description on the aws resource including the bucket name and the object name. StringBuilder builder = new StringBuilder("S3 resource [bucket='"); builder.append(this.bucketName); builder.append("' and key=&#…

Simple S3 ItemReader for Spring Batch Application - Part 1

Spring Batch is one of the most popular Open Source batch processing frameworks available today. Also it supports most advanced features such as optimization and partitioning techniques, thus makes it the most suitable framework for high volume and high performance enterprise applications.
In this article, we will discuss about using Spring batch to process files from aws S3(Simple Storage Service).

The lifecycle of a batch process is, read large chunk of data, process it and then write the transformed data back to some storage. So, the main components of a batch process are: a reader, a processor and a writer. Batch ReaderSpring Batch provides various item readers such as: FlatFileItemReaderHibernatePagingItemReaderIbatisPagingItemReaderJdbcPagingItemReaderJmsItemReaderMongoItemReaderAs you might be knowing, there is no in-built reader available for S3. You can write your own item reader by implementing the interface ItemReader. But here, I will show you how to build an item reader for S…

[Resolved] How to Fix Moto G4 Plus Rear Camera Blurred Photo Issue

From last week, photos taken with my Moto G4 Plus phone appears blurred and hazy. First, I thought its due to obstacles on the lens, I cleared it with a soft cloth but with no luck. Compared photos taken with front and back cameras, front camera photos were sharp, thousand times better than the rear ones! It was clear there is some problem with my back camera.
As usual, I did a Google search, there were a huge number of similar complaints on Lenovo forum and other community websites. There were many solutions suggested, I tried all of them one after other.
Capture photo in Safe ModeMany of the forum members suggested to boot the phone in Safe mode and capture photos. I tried but didn't find any difference in quality.
Tip: You can enable Safe Mode by following the below steps:
Press the Power keyTouch and hold Power offTouch OK when Reboot to safe mode appears Clear Cache PartitionAnother advise was to clear the cache partition. This removes all temporary files stored by the applicati…

Tata H5X Color Variants, Exterior and Interior Designs

Tata would be launching its new OMEGA (Optimal Modular Efficient Global Advanced) architecture SUV named H5X by April 2019. No doubt, Tata's new Impact Design 2.0 philosophy car is going to rule Indian roads. There would be a 5 seater and 7 seater models available, and the pricing would be competitive, expected between 13L and 17L.

Tata Nexon Colour Variants, Interior and Exterior Designs

No doubt, Nexon is a game changer for Tata. With its stunning style along with the feature rich body keeps all its competitors far far away. From the traditional hatchback and SUV models, a hybrid model has come up, with well engineered and well architected design, we would say, this is a revolution in Indian automobile industry!

These are the colour variants of Tata Nexon available in the market. Out of these variants, only in Moroccan Blue, Vermont Red and Calgary White has the dual-tone roof option available.

Vermont Red

Moroccan Blue

Seattle Silver

Glasgow Grey

Calgary White

List of Purpose Codes for Foreign Inward Remittance to India

Banks normally ask for purpose code (also known as purpose of remittance) for all money transfers from overseas to a resident account if the amount exceeds Rs.1,00,000 (or its equivalent in foreign exchange). It is mandatory for the bank to submit these details to RBI on a regular basis.
The receiver can keep 50% of the amount (70% for exporters) in Exchange Earners Foreign Currency account (EEFC) as foreign currency itself or can convert to Indian rupees and keep it in his Resident account.

Even, most of the Adsense users were asked to submit these details as the transactions were mostly happening from Google Citibank, CA account in USD, and the most appropriate purpose code is P1007 - Advertising, trade fair service. You can find the complete list of purpose codes in the below table.
For inward remittance due to sale of Employee Stock Purchase Program (ESPP) and Restricted Stock Units (RSU), the most matching purpose code is P0021 - Receipts on account of sale of share under Employee s…