Skip to content

Instantly share code, notes, and snippets.

@webmalex
webmalex / wire.md
Created March 6, 2025 17:10 — forked from nin-jin/wire.md
JS Proposal: Auto Wire

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.

Rationale

Current State

  1. Most of modern apps based on reactive paradigm.
  2. Popular and promising approach is pull-reactivity.
  3. Pull-reactivity achieves automatic dependency trackig, automatic data-flow optimization and resources lifetime control. See the analysis of reactivity approaches.
  4. Famed pull-reactivity libs: MobX, VueJS, $mol.

Keybase proof

I hereby claim:

  • I am webmalex on github.
  • I am webmalex (https://keybase.io/webmalex) on keybase.
  • I have a public key whose fingerprint is CA12 ADC7 2AD6 4F50 8E50 4F54 8AD1 6BC7 7C37 14F1

To claim this, I am signing this object:

@webmalex
webmalex / screen-stuff.md
Created September 4, 2016 17:00 — forked from gesellix/screen-stuff.md
screen and Docker for Mac
screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty



screen -AmdS docker ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
screen -r docker
# enter, then disconnect with Ctrl-a d
screen -S docker -p 0 -X stuff $(printf root\\r\\n)
screen -r docker
#!/usr/bin/env python3
from os import system as s
# https://pypi.python.org/pypi/argcomplete/1.4.1
# pip install argcomplete
# activate-global-python-argcomplete
v = (3, 8, 1747)
pg_v = (9, 4, 2, 1)
v8 = '8_%d_%d_%d' % v
@webmalex
webmalex / Main.hs
Last active December 15, 2015 04:32
Исправленная версия примера http://ohaskell.dshevchenko.biz/ru/about-functions/higher-order-functions.html
module Main where
main :: IO ()
type Login = String
type Password = String
type AvatarURL = String
type UserId = Integer
userInfo :: Login -> Password -> AvatarURL -> UserId -> String