The following are appendices from Optics By Example, a comprehensive guide to optics from beginner to advanced! If you like the content below, there's plenty more where that came from; pick up the book!
Find it here: https://github.com/bitemyapp/learnhaskell
- Probabilistic Data Structures for Web Analytics and Data Mining : A great overview of the space of probabilistic data structures and how they are used in approximation algorithm implementation.
- Models and Issues in Data Stream Systems
- Philippe Flajolet’s contribution to streaming algorithms : A presentation by Jérémie Lumbroso that visits some of the hostorical perspectives and how it all began with Flajolet
- Approximate Frequency Counts over Data Streams by Gurmeet Singh Manku & Rajeev Motwani : One of the early papers on the subject.
- [Methods for Finding Frequent Items in Data Streams](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.187.9800&rep=rep1&t
I recently had the following problem:
- From an unattended shell script (called by Jenkins), run a command-line tool that accesses the MySQL database on another host.
- That tool doesn't know that the database is on another host, plus the MySQL port on that host is firewalled and not accessible from other machines.
We didn't want to open the MySQL port to the network, but it's possible to SSH from the Jenkins machine to the MySQL machine. So, basically you would do something like
ssh -L 3306:localhost:3306 remotehost
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Outer { | |
class Inner | |
type Type | |
} | |
trait Trait | |
object Object extends Outer { | |
val inner = new Inner | |
} | |
class OuterP[A] { | |
class InnerP[B] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object BenchmarkCommon { | |
import scala.util.Random | |
val DatasetSize = 10000 | |
val Iterations = 10000 | |
val ArrayPoolSize = 1000 | |
val ArrayPool = { | |
def randomArray(): Array[Int] = { | |
val array = new Array[Int](DatasetSize) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scala> val o: Option[Int] = Some(5) | |
o: Option[Int] = Some(5) | |
scala> val l: List[Int] = List(10) | |
l: List[Int] = List(10) | |
scala> l flatMap (_ => o) | |
res1: List[Int] = List(5) | |
scala> o flatMap (_ => l) |
- Why he doesn't use JavaScript to show examples of closure is beyond me.
JavaScript is an awful language to both demonstrate and practice functional programming.
- You have no idea what you're talking about. Functions are first-class in JavaScript. Nine times out of ten, those who hate JavaScript just don't understand it and/or suck at it.
Ugh, well this is going to get silly.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@channingwalton Recently read »I, Robot« from Asimov. The short stories are entertaining and very thoughtful. | |
@channingwalton I would like a wizard where I tell it I like Asimov (especially Daneel and Giskard) and Clarke, and it recommends others. | |
@channingwalton pretty much anything by Alastair Reynolds. House of Suns is particularly great. | |
@channingwalton I’ve enjoyed the Laundry novels by Charles Stross. | |
@channingwalton "Wool" series by Hugh Howey. |
NewerOlder