Team Blog
  • TouK
  • Portfolio
  • Careers
  • Talks
  • Nussknacker
Team Blog
  • TouK
  • Portfolio
  • Careers
  • Talks
  • Nussknacker

Grzegorz Piwowarek

8 posts
DDevelopment & Design

Kotlin Type-Inference Puzzler

  • byGrzegorz Piwowarek
  • December 4, 2017
Kotlin takes Type-Inference to the next level (at least in comparison to Java) which is great, but there’re scenarios, in which it can backfire on Read more
DDevelopment & Design

Hamming Error Correction with Kotlin – part 2

  • byGrzegorz Piwowarek
  • October 30, 2017
In this article, we continue where we left off and focus solely on error detection for Hamming codes. https://touk.pl/blog/2017/10/17/hamming-error-correction-with-kotlin-part-1/ Read more
DDevelopment & Design

Hamming Error Correction with Kotlin – part 1

  • byGrzegorz Piwowarek
  • October 17, 2017
Hamming code is one of the Computer Science/Telecommunication classics. In this article, we’ll revisit the topic and implement a stateless Hamming(7,4) encoder using Kotlin. Hamming Read more
DDevelopment & Design

Sneakily Throwing Exceptions in Lambda Expressions in Java

  • byGrzegorz Piwowarek
  • October 1, 2017
Handling checked exceptions in lambda expressions is often frustrating. Luckily, there is a type inference rule that we can exploit… Read more
DDevelopment & Design

Bypassing Kotlin’s Null-Safety

  • byGrzegorz Piwowarek
  • September 18, 2017
In this short article, we will have a look at how we can bypass Kotlin’s native null-safety with sun.misc.Unsafe, and see why it can be Read more
DDevelopment & Design

Maintaining PriorityQueue Order with Java Streams

  • byGrzegorz Piwowarek
  • September 15, 2017
The tricky thing about working with PriorityQueues is that, ironically, they don’t always behave according to the PriorityQueue semantics. Read more
DDevelopment & Design

Idiomatic Peeking with Java Stream API

  • byGrzegorz Piwowarek
  • August 30, 2017
The peek() method from the Java Stream API is often misunderstood. Let’s try to clarify how it works and when should be used. Stream   Read more
DDevelopment & Design

Vavr, Collections, and Java Stream API Collectors

  • byGrzegorz Piwowarek
  • August 23, 2017
Vavr is now a must-have for every modern Java 8+ project. It encourages writing code in a functional manner by providing a new persistent Collections Read more
Team Blog
© TouK sp. z o.o. s.k.a. 2016-2023