(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.
React: a robust functional view layer.
View code and templating are combined as JavaScript.
In JavaScript you create a virtual DOM, react diffs changes between the last virtual DOM and the next, mutating the real DOM only as necessary to reflect the changes. This has huge implications for cognitive
function unzipAll() | |
{ | |
for file in `ls | /bin/grep zip`; do | |
local base_name="${file%.*}" | |
rm -rf $base_name | |
mkdir $base_name | |
unzip $file -d $base_name | |
rm $file | |
done | |
} |
package de.YonasCode.TheCore.MultiMap; | |
import java.io.Serializable; | |
import java.util.ArrayList; | |
import java.util.Collection; | |
import java.util.HashMap; | |
import java.util.Set; | |
public class MultiMap<A, B, C> implements Cloneable, Iterable<A>, Serializable { |
Latency Comparison Numbers | |
-------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
This is a list of JavaScript projects on Github that label issues as easy or beginner-friendly.