Skip to content

Instantly share code, notes, and snippets.

- friends...
- liked software
- commented on projects
- published new projects / new features
- are attending a hackathon
- updated their status
- users...
- you're friend with on social networks joined CP
- commented on your projects
@niuage
niuage / introrx.md
Created August 26, 2014 17:33 — forked from staltz/introrx.md

The introduction to Reactive Programming you've been missing

(by @andrestaltz)

So you're curious in learning this new thing called (Functional) Reactive Programming (FRP).

Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:

Rx.Observable.prototype.flatMapLatest(selector, [thisArg])

Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.

@relation InstanceResultListener
@attribute Key_Dataset {items}
@attribute Key_Run {1,2,3,4,5,6,7,8,9,10}
@attribute Key_Fold {1,2,3,4,5,6,7,8,9,10}
@attribute Key_Scheme {weka.classifiers.rules.ZeroR}
@attribute Key_Scheme_options {''}
@attribute Key_Scheme_version_ID {48055541465867954}
@attribute Date_time numeric
@attribute Number_of_training_instances numeric
@RELATION items
@ATTRIBUTE base_name STRING
@ATTRIBUTE price NUMERIC
@ATTRIBUTE mod1 NUMERIC
@ATTRIBUTE mod2 NUMERIC
@ATTRIBUTE mod3 NUMERIC
@ATTRIBUTE rarity {normal, magic, rare, gem, unique}
@DATA
Shield, 600, 16, 0, 0, unique
OneHandSword, 30, 1, 0 0, rare
your problem is, you spent your whole life thinking there are rules. There aren't.
I browned out that evening.
Article 8.
Il est décrété que la plus grande douleur
a toujours été et sera toujours
de ne pas pouvoir donner son amour à qui l’on aime
parce que c’est l’eau
qui donne à la plante le miracle de la fleur.
Simon, tu arrêtes de faire des boulettes, c'est péché!
Rarity: Rare
Ghoul Spiker
Reaver Sword
--------
Two Handed Sword
Quality: +20% (augmented)
Physical Damage: 204-355 (augmented)
Elemental Damage: 3-7 (augmented)
Critical Strike Chance: 5%
Attacks per Second: 1.35
reindex 2 hand maces