Sliding Window and Adaptive Counting

Tweet This is what I wanted to have. A line chart of unique users for the last couple of minutes and one value of the unique users over the last hour. Usually we need to algorithms for that: Adaptive Counting Sliding Window Adaptive Counting is one of the streaming algorithms that allows us to estimate […]

,

No Comments

Vertx, Twitter and Top-K

Tweet Data Stream Processing I wanted to check out, so called Data Stream Processing algorithms recently. So first, what is Stream Processing and why do we need specific technologies for that? Stream Processing is: is the process of extracting knowledge structures from continuous, rapid and unlimited data finds statistically relevant patterns between data examples where […]

, , ,

No Comments

Scala’s Built-in Dependency Injection

Tweet Following: Dead-Simple Dependency Injection It is: Dead-simple. Just function composition Explicit, type-safe dependencies Lift any function No frameworks, annotations, or XML No initialization step Doesn’t rely on esoteric language features Did he say “Dead Simple”? /** * dependency “framework” */ package object di { // Reader Monad case class Reader[C, A](g: C => A) […]

No Comments

Scala Type Class with Context Bounds

Tweet Ingredients of a type class and its usage an interface (the type class) with type parameter (trait LoggerWrapper) a companion object for the interface, providing implementations (object LoggerWrapper) a user trait to mixin the desired functionality using context bounds (UsingALogger) and a class using it (MyMain) /** * this is the type class * […]

No Comments

Verteilte Anwendung komplexer Filteroperationen auf große Bilder

Tweet (This is in German. I will translate it, if enough comments asking me to do it ;-)) Bei der Aufklärung werden zur Auswertung von Satellitenbildern derzeit komplexe Filteroperationen auf dem jeweiligen Auswerter-PC ausgeführt. Die Filter können der allgemeinen Bildverbesserung dienen oder auch dafür sorgen, dass bestimmte Objekte wie Strassen oder Fahrzeuge auf einem Satellitenbild […]

, , ,

2 Comments

Scala Case Class as JPA EmbeddedId

Tweet It is a good idea to use case classes as EmbeddedId class. Id classes can be used to specify an embeddable composite primary key class owned by the entity (more…). Scala Case classes provide a default equals and an “automatic” generation of class properties. So lets create a really simple example Entity Class OSEmbeddedId. […]

,

No Comments

Mishmash of Topics (worth to look at)

Tweet Mostly #Scala, #Hadoop, #REST, #NoSQL tweets, unsorted, unvalidated and incomplete… @KaiWaehner Awesome tutorial about #Scala, #Akka and Apache #Camel: (here) @jsuereth post bout ‘How you should think about Delimited Continuations in Scala (here) @bdarfler Slides from my Performance talk at #nescala (here) Eric Meijer’s series on functional programming (Chapter 1) @otisg Excellent thread on marrying HBase and Lucene (here) […]

No Comments

Yet Another Try: A REST Client with Jersey and Scala

Tweet [UPDATE] I pushed the code as SJersey to Github. For usage examples check out the test code here [/UPDATE] The are many awesome REST frameworks out there, for Java and for Scala as well. Most of the concepts do cover the server side. Important I know, but where are the smart client side APIs/DSLs? […]

, , , , , ,

1 Comment

Neo4j REST Server, GWT and JIT Part 3

Tweet This is a Proof of Concept (from GTUG BootCamp 2010), which is: Try to code a complete client side data-load (from some REST services) and graph visualization using Neo4j REST server, the Java Script Visualization Framework JIT and Google Web Toolkit. This is a followup to Part 2 I integrated what was made by […]

, , , ,

5 Comments

Neo4j REST Server, GWT and JIT Part 2

Tweet This is a Proof of Concept (from GTUG BootCamp 2010), which is: Try to code a complete client side data-load (from some REST services) and graph visualization using Neo4j REST server, the Java Script Visualization Framework JIT and Google Web Toolkit. This is a followup to Part 1 that stopped by loading all Nodes […]

, , , ,

No Comments