The maintained version now lives at Thunderbolt Networking, part of scyto/homelab-docs.
Questions or troubleshooting? Continue the conversation here — a Q&A discussion where replies thread properly, answers can be marked, and everything is searchable. The 388 comments below stay exactly where they are as an archive.
Copyright © 2016-2018 Fantasyland Institute of Learning. All rights reserved.
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x(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.
| #!/bin/bash | |
| # Creates a ramdisk and start Xcode with the DerivedData stored in ramdisk. Also deletes the ramdisk and reset Xcode prefs. | |
| # xc_ramdisk.sh | |
| # - creates a ramdisk, set Xcode DerivedData to this disk and start Xcode. | |
| # - umount a ramdisk, set Xcode DerivedData to default | |
| # Stephan Burlot, Coriolis Technologies, http://www.coriolis.ch | |
| # | |
| # based on Alex Shevchenko xcode_ramdisk.sh script (https://gist.github.com/skeeet/2367298) | |
| # based on Diego Freniche xc-launch.sh script (https://github.com/dfreniche/xc-launch) |
The diff output is more specific:
[I]f a whole block of text is moved, then all of it, rather than just the beginning and end, is detected as changed.
>The algorithm described here avoids these difficulties. It detects differences that correspond very closely to our intuitive notion of difference.