Skip to main content

Backing up amazon kindle books & understanding DRM

· 3 min read
D Balaji
Lead Design Technologist

Amazon kindle books

What is amazon kindle & how it stores ebooks

Kindle is an ebook reading device with a browser and other capabilities. The kindle differs from tablets in one thing, i.e. the screen of the kindle is easy on your eyes so you can read for long hours without straining your eyes.

You can download books to kindle and they are available offline. The download happens through 2 modes.

  1. Through wifi, direct download to kindle

  2. Through USB transfer, the book can be downloaded from the amazon site and sideloaded.

Amazon has its ebook format (AWZ3) in which the book gets downloaded to the device and is locked with DRM.

Must know terminal commands before touching production servers

· 7 min read
D Balaji
Lead Design Technologist

ls command

I use windows 10 on a day to day basis. My colleagues and friends use windows too. The problem starts when the GUI disappears and we just have SSH access to the production boxes. On a production machine, running one wrong Unix/Linux command could risk your job. Here I am compiling the must know Unix/Linux commands keeping in mind the deployment and operations related tasks.

Publishing my first npm package

· 3 min read
D Balaji
Lead Design Technologist

starting my first npm package

How does anyone know if their customer got any JS errors/application crashes? How does the operations team know about the crash before the customer screams on email/social media? Finding an answer to this question led to the building of my first npm package.

Chrome Lighthouse with dhbalaji.dev as site under study, with fixes

· 3 min read
D Balaji
Lead Design Technologist

Chrome Lighthouse

Introduction to Google Chrome Lighthouse

Version being discussed here -- Lighthouse 6.2.0

  • Lighthouse is an automation tool to audit the quality of web pages.

  • Lighthouse can help you monitor a bunch of metrics on mobile & desktop-like

    • Performance
    • Accessibility
    • Best practices
    • SEO
    • PWA etc
  • Lighthouse is to be baked into the tooling pipeline so that your app quality is monitored on a regular basis.

  • There are 2 variants of Lighthouse. One is the web version & other is the nodeJS version which we can use to conveniently integrate to the tooling.

Understanding Lighthouse as a system

Purpose - Audit web pages in the tooling stage

Input - The web page

Output - Report in JSON

Configuration - Configurable in terms of what parameters to measure

Extensible - with plugins

Analysing output - can be ingested to program through JSON or human-readable with

lighthouse viewer.

Programming language - NodeJS & GUI in the browser

A developer review of Amazon Prime Reading, what works & what doesn't

· 5 min read
D Balaji
Lead Design Technologist

Amazon prime reading home screen

Amazon prime reading is a book lending library for Amazon prime users. Damn, I stumbled upon this nice feature quite late.

Hey there, if you have read Russell Conwell's book Acres of diamonds, you can feel what I am undergoing when I discovered Amazon Prime reading in India. As a bibliophile, I am always on the lookout for books and things around them. I am a proud Kindle owner from 2016 and an amazon prime user for a few years but I did not notice the prime reading feature on amazon.

Amazon prime reading somehow did not fascinate me in the beginning because my kindle was not registered on an Indian address. It was tagged to Amazon USA, so most titles were not accessible even though I was an amazon prime user in India. Since I was not buying any content on Amazon USA, I decided to move my kindle to Amazon India. Looks like a hustle right. Yes, it is. According to Amazon, I moved my kindle from the USA to India. Right now my kindle is perfectly registered on amazon.in. Voila, the prime reading fun begins now.

Introducing Google analytics product for developers - Part 1

· 7 min read
D Balaji
Lead Design Technologist

Google-analytics for dhbalaji.dev blog

Google Analytics is a common product used for web analytics. I had been using google analytics since my first blog in 2010. It was google analytics which told me that I had 60,000 plus visits to my blog post related to Micromax Ezpad phone and how to share the phone internet connection with Ubuntu OS.

As a front-end engineer, you cannot get away without writing or copy-pasting analytics code. To work with analytics code effectively, developers need to understand the terms/jargon used by Google analytics. In this blog post, I will share with you an introduction to google analytics in a developer-friendly language.