Reactivity API to wire any reactive libs and native states together. It allows to mix different reactive libs, use async functions with automatic dependency tracking, observe any states in same way, make native DOM reactive etc.
- Most of modern apps based on reactive paradigm.
- Popular and promising approach is pull-reactivity.
- Pull-reactivity achieves automatic dependency trackig, automatic data-flow optimization and resources lifetime control. See the analysis of reactivity approaches.
- Famed pull-reactivity libs: MobX, VueJS, $mol.
Здесь опубликованы коэффициенты для одного из внутренних ранжировщиков в поиске Яндекса. Это не итоговая формула, которая влияет на результат появления ссылки в серпе, т.к. судя по изученному коду – внутри используется несколько ранжировщиков и поисковых движков, результаты которых мержатся между собой и уже итоговый результат приводит к распределению ссылок по топу выдачи.
| Коэффициент | Название Фактора | Описание Фактора |
export class Atom< Input = never, Output = unknown > extends Object { | |
static Track = null as null | Atom< any, any > | |
static Index = 0 | |
static Timer = 0 | |
static _plan: any | |
static plan() { | |
if( this._plan ) return |
Requirements:
- One line query through uri.
- Filtering
- Sorting
- Limitation
- Partial fetching
- Fetching linked resources
- Normalized response
- Bulk requests
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
Current engines supports Date
API, that:
Date
instances are mutable. It's bad practivce for value type.- It has bloat inconsistent API.
- It represents only time moments, but doesn't support other time types declared in ISO8601.
- It doesn't support parsing and serializing by custom pattern.
type TestUserType = Assert< | |
typeof User.Value, | |
{ | |
readonly name: string | |
readonly birthday: Moment | |
readonly email: string & { Brand: "Email" } | undefined | |
} | |
> |
var args = {} | |
process.argv.slice(2).forEach( param => { | |
var values = param.split( '=' ) | |
var key = values.shift() | |
args[ key ] = ( args[ key ] || [] ).concat( values.join( '=' ) ) | |
} ) | |
var actions = { | |
'help help' : args => `help\t\tPrints help (default action)\n` , | |
'help' : args => `\nSuper-puper server!\n${ actions['actions']() }${ actions['options']() }`, |
import std.stdio; | |
import std.concurrency; | |
import std.conv; | |
import core.thread; | |
shared class Msg | |
{ | |
string value; | |
Msg next = null; | |
Tid from; |
import std.stdio; | |
T eval( string op , T )( T a , T b ) { | |
return mixin( q{a} ~ op ~ q{b} ); | |
} | |
unittest { | |
writeln( eval!q{/}( 123 , 0 ) ); | |
} |