Monday, December 5, 2016
Saturday, December 3, 2016
Sunday, November 27, 2016
Tuesday, November 15, 2016
Monday, October 31, 2016
Wednesday, October 26, 2016
Daily Tag 10/27/2016
-
Apache Kafka and Strom Clojure implementation - Stack Overflow
- As for the documentation, that's the kind of explanation that's only "strait forward" to people who have done it many times...
-
-
Kafka High Level Vs Low level consumer - Stack Overflow
tags: kafka low vs high level consumer stack overflow
- Low level consumer : I want to have a custom partition data consuming logic, e.g. start reading data from newly created topics without a need of consumer reconnection to brokers.
-
-
FAQ - Apache Kafka - Apache Software Foundation
-
- Use a single-writer per partition and every time you get a network error check the last message in that partition to see if your last write succeeded
- Include a primary key (UUID or something) in the message and deduplicate on the consumer.
- If the consumer is periodically checkpointing its position then if it fails and restarts it will restart from the checkpointed position. Thus if the data output and the checkpoint are not written atomically it will be possible to get duplicates here as well.
-
Friday, August 19, 2016
Thursday, August 18, 2016
Daily Tag 08/19/2016
-
- Generally speaking, error handling is divided into two broad categories: exceptions and return values. Rust opts for return values.
-
Friday, August 12, 2016
Tuesday, August 9, 2016
Monday, August 8, 2016
Friday, August 5, 2016
Wednesday, August 3, 2016
Daily Tag 08/04/2016
-
- generic functions with a trait bound use ‘monomorphization’ (mono: one, morph: form), so they are statically dispatched.
- This shows off the additional feature of
where
clauses: they allow bounds on the left-hand side not only of type parametersT
, but also of types
-
-
-
self
if it’s a value on the stack,&self
if it’s a reference, and&mut self
if it’s a mutable reference. - Rust doesn’t have method overloading, named arguments, or variable arguments.
-
-
- When we move
v
tov2
, Rust actually does a bitwise copy of the vector objectv
into the stack allocation represented byv2
. This shallow copy does not create a copy of the heap allocation containing the actual data. Which means that there would be two pointers to the contents of the vector both pointing to the same memory allocation on the heap.
-
-
Zero-Overhead Metaprogramming: Reflection and Metaobject Protocols Fast and without Compromises
tags: zero overhead meta programming
Saturday, July 30, 2016
Friday, July 29, 2016
Thursday, July 28, 2016
Tuesday, July 26, 2016
Monday, July 25, 2016
Friday, July 22, 2016
Daily Tag 07/23/2016
-
Listing Keys Using the AWS SDK for Java - Amazon Simple Storage Service
-
Converting Java collections to Scala collections | alvinalexander.com
"import scala.collection.JavaConversions._"
tags: java scala Collection conversion