Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
The [Learning How to Learn](https://www.coursera.org/learn/learning-how-to-learn/home/welcome) course proposed an idea that there are two modes of thinking: **Focused** and **Diffuse**.
-
In RxJS, a [Subscription](https://rxjs.dev/guide/subscription) is an object that represents an execution of an [Observable](https://rxjs.dev/guide/observable).
-
**Structured data** is a special data snippet you can insert into your page to help Google Search identify your content in a richer way (called **Rich Result**).
-
**The curse of knowledge** is a cognitive bias of **assuming that others have the same background knowledge to understand what you are talking**.
-
**Painting** and **Compositing** are the last two steps to generate a frame in the [browser's pixel pipeline](/everyday/03-06-2022-reading-notes-browser-s-rendering-process).
-
When a DOM node is written (change of style, attribute, or inner content), and the action triggers a layout change, the browser must do a layout recalculation (reflow).
-
**Article:** https://fs.blog/feynman-learning-technique/ There are 2 types of knowledge: - Knowing the name of something...
-
## The big picture Most devices refresh their screen 60 times a second.
-
If you are busy, here is the **TL; DR**: **React Reconciliation** is the tree diffing algorithm that React used to update your application's DOM tree between renders.
-
The Zeigarnik Effect means: **If you are working on a task and being interrupted, the task remains longer in your mind, making it easier to remember the task's details**.
-
On Github, you can create a `CODEOWNERS` file in the `.github/` or `docs/` folder to specify which person or team is responsible for the code in a repository.
-
One of the most confusing things in JavaScript is the context object `this` inside a function.
-
**Article:** https://en.m.wikipedia.org/wiki/Tetris_effect *Tetris Effect* is an effect that happens **when you devote a large amount of time and mental effort to do something, it will shape the way y...
-
By default, the TypeScript compiler tries its best to analyze the code and infer the type of your variables.
-
[The Elm Architecture](https://guide.elm-lang.org/architecture/) is not something necessary exclusive to the Elm language but should be viewed as a generic design pattern for architecting GUI applicat...
-
**Article:** http://nathanmarz.com/blog/suffering-oriented-programming.html OK, so I came across this very interesting article about product building.
-
Let's say you are tasked to build the next Amazon, and you gotta start small.
-
In TypeScript, an enum can be defined in various ways: a numeric enum, a string-based enum, or heterogeneous enum.
-
When you specify a percentage value for the CSS padding or margin of an element, this percentage is **based on the width of the containing block**, not the width of the element itself.
-
This note only covers the mechanism of Bitwarden's end-to-end encryption for a single user, between one or more clients.
-
PBKDF2 is a key derivation function, used in the process of deriving encryption keys.
-
**Article:** https://blogs.scientificamerican.com/symbiartic/rediscovering-the-forgotten-benefits-of-drawing/ In the old times, scientist are required to have drawing skill, because they have to recre...
-
**Reference Link:** https://eric.ed.gov/?
-
Unlike C/C++, the [delete](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete) operator in JavaScript has nothing to do with memory deallocation.
-
There are two ways to represent a graph data structure, each come with its own pros and cons. ## Using adjacency matrix An adjacency matrix is a square matrix, each element in the matrix indicate whet...
-
You can think of `unknown` as a type-safe version of `any`.
-
Macro is a complex type of repeation, it allow you to record and replay a sequence of actions.
-
In Rust, there is a [Result](https://doc.rust-lang.org/rust-by-example/std/result.html) type that could return either an `Ok(T)` value if the operation is succeeded, or an `Err(E)` value if the ...
-
**Railroad Diagrams** (or **Syntax Diagrams**) are the graphical way to represent [context-free grammars](/everyday/02-10-2022-parsing-context-free-grammar).
-
**Backus-Naur Form (BNF)** is a metasyntax for [context-free grammars](/everyday/02-10-2022-parsing-context-free-grammar), is used to describe the syntax of languages used in computing such as program...
-
A derivation of *a string* for *a grammar* is a *sequence of production rule applications*.
-
Context-Free Grammar (CFG) is a grammar where **production (or rewrite) rules** are in the form of: $$ A \rightarrow \alpha...
-
One thing about JavaScript that is sometimes confusing: The **named imports**.
-
Like [Ngrok](https://ngrok.com/), Cloudflare Tunnel is a lightweight daemon that run on your server (or local machine) and create a tunnel between your machine and the Cloudflare edge, allowing you to...
-
**Timing attack** is the type of attack when an attacker tries to analyze the time it takes your application to do something, in order to guess the data it's operating on.
-
To use Jest for testing a TypeScript library, we need to install a couple of things: ``` yarn add -D jest @types/jest ts-jest ts-node...
-
With Parcel 2.0, it's very easy to build a TypeScript library and publish them to NPM later on, with automatically generated types and built-in support for both CommonJS and ESModule.
-
In JavaScript, you can use any ASCII characters as variable or function names, even non-English words or some special symbols: ```javascript const π = 3.1415...
-
When you load custom web fonts with just the regular font-weight, no bold or italic styles, the browser tries its best to render them in bold and italic style by **faking** it.
-
**Interpolation** is a type of estimation method for finding new data points based on the range of a discrete set of known data points.
-
Safari on iOS and macOS devices have the ability to automatically retrieve and autofill the OTP code sent via SMS if your input has the `autocomplete="one-time-code"` attribute: ```html
-
Sometimes, we want to call an FFI function that is CPU-bound.
-
From version 1.13, Deno introduced the FFI API (foreign function interface API) that allows us to load libraries built in any language that supports the C ABI (like C/C++, Rust, Zig, Kotlin,...).
-
In Postgres, tables can have [Row Level Security](https://www.postgresql.org/docs/current/ddl-rowsecurity.html) that restrict the user's action on each row.
-
[wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) is an awesome tool made by **rustwasm** team, make it very easy to expose Rust's data/functions to JavaScript and vice versa.
-
WebAssembly is executed using a stack-based virtual machine.
-
**Table** is another shared instance in WebAssembly just like Linear Memory, but it can only store **function references**.
-
Linear Memory in WebAssembly is a contiguous and mutable array of **uninterpreted bytes**.
-
Just like a good-old-Assembly program, a WebAssembly module is made up of different sections: !
-
WebAssembly is a new type of code that **can be loaded and run by the JavaScript VM** on web browsers.