(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
/* | |
* Copyright 2014 Google Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
The Eternal Flame (God Wrote in Lisp) | |
Bob Kanefsky / Julia Ecklar | |
F G C | |
I was taught assembler in my second year of school. | |
F G C | |
It's kinda like construction work, with a toothpick for a tool. | |
F G C Em Am | |
So when I made my senior year, I threw my code away, |
/* Sample object | |
public class EventModel | |
{ | |
[DataMember(Name = "description")] | |
public string Description {get;set;} | |
[DataMember(Name = "endTime")] | |
public DateTime EndTime {get;set;} |
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.
Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.
async Task ShowStuffAsync () | |
{ | |
var client = new HttpClient (); | |
var content = JsonValue.Parse (await client.GetStringAsync ("http://api.worldbank.org/countries?format=json")); | |
int number_of_countries = content [0] ["per_page"]; | |
int done = 0, error = 0; | |
CountriesLabel.Text = string.Format ("Countries: {0} done: 0 error: 0", number_of_countries); |
This script installs a patched version of ruby 1.9.3-p286 with boot-time performance improvements (#66 and #68), and runtime performance improvements (#83 and #84). It also includes the new backported GC from ruby-trunk.
Many thanks to funny-falcon for the performance patches.
(ns messagepassing.core) | |
(import [java.util.concurrent LinkedTransferQueue]) | |
(def m 10000000) | |
(defn queue-test [] | |
(defn bounce [in out m] | |
(let [value (.take in)] | |
(if (< value m) | |
(do |