- Jun 2023
-
neethack.com neethack.com
-
Prefer composition over inheritance
composition means making an interface inheritance means making a class
single class can implement multiple interface but a single class cannot inherit multiple classes
-
- Mar 2021
-
www.ssh.com www.ssh.com
-
just-in-time (JIT) approaches
in context of inventory management, it means only keep the stock as per need. Don't over pile things and re stock the inventory based on the demands
In context of privileges access management, it just means to provide enough access that would do the job. More access can lead to zero-day attacks
-
- Jan 2021
-
momentjs.com momentjs.com
-
IANA Time Zone Database Main time zone database. This is where Moment TimeZone sources its data from.
every place has a history of different Time Zones because of the geographical, economical, political, religious reasons .These rules are present in IANA Time Zone database. Also it contains rules for Daylight Saving Time (DST) . Checkout the map on this page: https://en.wikipedia.org/wiki/Daylight_saving_time
Tags
Annotators
URL
-
-
nodejs.org nodejs.org
-
Buffers and TypedArrays
Uint8Array is a type of TypedArray
and Buffer is an instance of Uint8Array
Creating TypedArrays from Buffer with or without sharing same memory.
Creating a Buffer from the TypedArrays with or without sharing the same memory
In order to share memory we use
- Buffer.buffer, Buffer.byteOffset, Buffer.length / TypedArray.BYTES_PER_ELEMENT
- TypedArray.buffer, offset, length
-