Skip to content

Instantly share code, notes, and snippets.

View kylekellogg's full-sized avatar
👨‍💻
Doing my best

Kyle Kellogg kylekellogg

👨‍💻
Doing my best
View GitHub Profile
@kylekellogg
kylekellogg / Box.java
Last active December 20, 2017 01:13 — forked from nekma555/Box.java
BoxOpener
package com.company;
import java.util.Random;
public class Box {
private int size;
private int boxPrice = 5;
public static Item[] items;
Random itempick;
BoxOpener b = new BoxOpener();
package com.kylekellogg.kristest;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
import java.lang.ref.WeakReference;
@kylekellogg
kylekellogg / introrx.md
Last active August 29, 2015 14:08 — 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.