development

Why BitCoin Uses BloomFilters?

Bitcoin uses a blockchain record of transactions among the participating nodes. Since the size of the record is huge, there is a thin participating node that is interested in a subset of the records. But how to find the subset in the complete list of records. Bloom Filters help here. BF answers “does exist” query […]

Read more
development

Ruby: Uninitialized constant Redis Error

The problem occurred in a file titled redis.rb and having the following content: require ‘redis’ $redis = Redis.new(…) The gem was installed and still I was getting the same error. On search, I found this link. Solution Rename the file from redis.rb to redis-db.rb. It worked. Written with StackEdit.

Read more
development

Brave Browser: New Tab Hangs? Solution

The new tab hangs on the Brave browser for a few seconds. The current behavior with Brave v1.5+ is browser freeze till the new tab comes online. I suspect the bug is in loading the new tab content from somewhere. An easy fix is to override new tab content with an extension. I tried the […]

Read more
development

7 Rules of Git Commit Log

The seven commonly accepted rules on how to write a git commit message are: Limit the subject line to 50 characters. Capitalize only the first letter in the subject line. Don’t put a period at the end of the subject line. Put a blank line between the subject line and the body. Wrap the body […]

Read more
development

How Push Notifications Arrive on Your Phone?

The commonplace notifications on our iPhone/Android devices follow an interesting journey. What is a Push Notification? A push notification is a message sent to a user. The message is sent even if the app is not in use or the device is offline. Who Sends the Message? The app is controlled from a provider service […]

Read more
development

A Software Design Document Template

The design document is a key piece of a project and used throughout the lifecycle of the product. The following is a sample template for a software design document: Introduction – A paragraph about project/product Objective – A paragraph on the problem being solved Requirements – Specifications, expectations High-Level Design – How the new product/feature […]

Read more