Background Once Pankaj Kumar expressed, “What exactly does nginx do?Is it even necessary? How is it different from react server that starts when you run npm run start in the terminal”. Though I have used both of them in the past, I couldn’t exactly answer his question. It is at...
[Read More]
Zero to One notes
Notes made while reading the book
Disclaimer This is not a book summary. While reading, I occasionally take down notes in evernote. But they are mostly irregualar and unstructured. I just made notes of points, which I felt important or liked exteremely. Going through this will only give you a rough idea of what’s inside the...
[Read More]
Writting to a file without using a file system library of that language
Intro to *tee* unix command
tee unix command Manytimes you want to write things to a file programmatically. That means, you write a code so as to fill the file. This involves importing the file system library in the respective language and using it. For example python and JS both use fs library. But there...
[Read More]
Race Condition by example
An example from Udacity OS course
Consider the following code
[Read More]
Understanding Endorsement Policies in Hyperledger Fabric
Notes taken while learning about Endorsement Policies
Introduction Endorsement Policy defines which peers should execute a transaction and endorse its result(signing the execution result with its certificates) so as to consider the transaction to be valid. In other words, only after a set of peers endorse a transaction’s result then only the transaction will be committed in...
[Read More]