Skip to content

Instantly share code, notes, and snippets.

View michaldabrowski's full-sized avatar

Michał Dąbrowski michaldabrowski

View GitHub Profile

(2017) Dates, times, zones in JVM - short guide

Before Java 8

Classes

miliseconds precision, mutable, Joda Time for the rescue

2017.03.17 git bisect

Binary search to find the commit that introduced a bug

Example

  • 97fb4a6 (HEAD -> git-bisect-test) (4 minutes ago) | Some change 123

Git sparsecheckout

  • git init

  • git remote add -f origin git@repo:company/project.git

  • git config core.sparsecheckout true

Enables sparse checkout

Quick reminder

Why RPC:

  • interoperable
  • efficient
  • now more readable & simpler (versus CORBA, DCOM, RMI, SOAP) - gRPC
  • can model operations that are not expressible by REST

Internal RPC in Google:

2017.07.20 - Small interfaces and 'smarts'

We have an interface:

ObjectMapper.java

public interface ObjectMapper {
    <Input, Output> Output map(Input input, Class<Output> outputClass);
}

DDR3, DDR3L, LPDDR3, DDR4 - what it is all about?

Introduction

  • DDR - Double data rate (...Nth generation synchronous dynamic random-access memory)
  • LPDDR - Low Power DDR
  • DDRL - DDR Low Voltage

Comparsion