~/code/most/most-subject/perf subject-class* 19s
❯ node ./filter-map-reduce.js
filter -> map -> reduce 1000000 integers
-----------------------------------------------
most 14.20 op/s ± 0.83% (68 samples)
xstream 21.91 op/s ± 1.90% (29 samples)
rx 5 4.68 op/s ± 1.12% (16 samples)
-----------------------------------------------
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {run} from '@cycle/xstream-run' | |
import {makeDOMDriver, div, input, button, label} from '@cycle/dom' | |
import {makeLocalStorageDriver} from 'cyclejs-storage' | |
import Collection from '@cycle/collection' | |
import xs from 'xstream' | |
import debounce from 'xstream/extra/debounce' | |
import dropRepeats from 'xstream/extra/dropRepeats' | |
import pairwise from 'xstream/extra/pairwise' | |
import delay from 'xstream/extra/delay' | |
import concat from 'xstream/extra/concat' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100+ different js counter apps... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hify from './create-element'; | |
import React from 'react'; | |
import { render } from 'react-dom'; | |
const h = hify(React.createElement.bind(React)); | |
class Test extends HTMLElement { | |
static observedAttributes = ['attr'] | |
attributeChangedCallback (name, oldValue, newValue) { | |
this.innerHTML = `Hello, ${this.getAttribute('attr')}!`; |
FOSS developers suffer burnouts that cause them to loose interest in their projects, and cause the projects to die.
Wondering about why this happens, we came to the conclusion that maintaining a project, especially on the issue tracker part, is felt as a burden and a really annoying thing. Most of FOSS development today is made around Github, which
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tribes = require("ssb-tribes") | |
const Bot = require("scuttle-testbot") | |
const Stack = Bot.use(require("ssb-backlinks")).use(tribes) | |
const bot = Stack() | |
const Stack2 = Bot.use(require("ssb-backlinks")).use(tribes) | |
const bot2 = Stack2() | |
bot.tribes.create({}, (err, data) => { |
OlderNewer