📈
wiki
  • Introduction
  • Books
    • Technical books
      • Elements of Programming
    • Psychology books
      • Mindset
  • Computer Science
    • Data Structures
      • Skip Lists
    • Algorithms
      • Hashing
      • Eller's Algorithm
    • Formal verification
      • Coq
      • Lean
      • TLA+
    • Garbage Collection
  • Programming
    • Functional programming
      • Functional data structures
      • Algebraic Effects
      • Dependent Types
        • Agda
        • Idris
      • Continuations
      • Category Theory
      • Total functional programming
      • Uniqueness Typing
      • GADT
      • Tagless Final
    • Concurrent Programming
      • Mutex
      • Semaphores
    • Parallel Programming
    • Systems Programming
      • Tagged pointers
    • Unicode
  • Competitive Programming
  • Source control
    • Git
  • Programming languages
    • Java
      • Java Garbage Collection
      • Java Performance
      • Java Modules
      • Graal
      • Java libraries
        • Spring
          • Spring Cloud
        • Guava
        • JUnit 5
        • Hamcrest
        • Logging
        • Google Auto
        • Lombok
        • JOOQ
        • duct-tape
        • args4j
        • Netty
    • Scala
      • Dotty
      • Specialization
      • Benchmarking Scala
      • Scala libraries
        • ZIO
    • Haskell
      • Haskell tools
        • Haskell tools
    • Lisp
      • Lisp books
    • Rust
      • Rust Async
    • C++
      • C++ libraries
        • Boost
        • Poco
        • Abseil
        • facebook folly
        • Intell TBB
      • C++ tools
        • Valgrind
        • CMake
        • Bazel
      • C++ books
    • C
      • C libraries
      • C books
    • Python
      • Testing
      • Cython
      • Python performance
      • Python libraries
        • requests
        • httpx
        • boto3
      • Python tools
        • pyenv
        • Pipenv
        • mypy
      • Python Cookbook
    • Prolog
      • Prolog Cookbook
    • Clojure
      • Clojure Cookbook
    • Julia
      • Julia libraries
        • DataFrames
  • Networking
    • TCP
    • UDP
    • QUIC
  • Mindfullness
    • Mediatation
      • Samatha
      • Vipassana
    • Flow
  • LLVM
    • Clang tools
  • Operating systems
    • Securing operating systems
      • Capsicum
  • Linux
    • Packaging
    • RPM
    • Deblian
      • Linux tools
    • APT package manager
    • sxhkd
    • playerctl
    • fish
    • w3m browser
      • NixOS
    • Nix package manager
  • macOS
    • macOS tools
      • Hammerspoon
  • Windows
    • Windows tools
      • AutoHotkey
  • CLI
    • tmux
    • screen
    • ripgrep
    • fd
    • bat
    • tldr
    • install
    • chflags
  • Technology
    • Search
      • Google
      • DuckDuckGo
      • Algolia
      • Elastic search
  • Databases
    • MySQL
    • PostgreSQL
    • Oracle
  • Text editors
    • Emacs
      • Emacs plugins
      • Org mode
    • Vim
      • Vim plugins
      • Text objects
    • Sublime Text
  • IDEs
    • IntelliJ IDEA
      • IDEA plugins
        • IdeaVim
  • Philosophy
    • Stoicism
      • Parallels with Buddhism
    • Buddhist philosophy
  • Learning
    • Spaced Repetition
      • Anki
  • History
    • People
      • Benjamin Franklin
  • Buddhism
    • Theravada
      • Dhammapada
      • Eight Worldly Concerns
    • Mahayana
      • Zen
        • Zen Koans
  • Psychology
    • CBT
    • Cognitive biases
  • Logic
    • Classical logic
    • Intuitionistic logic
    • Logical fallacies
  • Literature
    • Western literature
    • Oriental literature
      • Bhagavad Gita
    • Mythology
    • Aphorisms
  • Research
    • Problem solving
    • Questioning
    • Blogs
  • Papers
    • Computer Science
      • Higher-order logic programming in Prolog
      • The Rise of Worse is Better
      • Advantages and Disadvantages of a Monolithic Repository
      • Coccinelle
      • Total Functional Programming
      • Scalable Component Abstractions
    • Psychology
    • Literature
      • Euclid and Pāṇini
  • Courses
    • Computer Science
  • Devops
    • Ansible
    • Puppet
    • TerraForm
  • Life
    • Happiness
    • Journaling
  • Meetups
    • Rust Meetups
      • LDN Talks January, 2020
    • Scala Meetups
      • Scala in the City - January, 2020
    • Papers We Love
      • CREST/PWL Special Event - January, 2020
  • Sports
    • Running
      • Running books
      • Running shoes
    • Chess
      • Chess openings
    • Hiking
      • Outdooraholics
        • Box Hill, Surrey
  • Music
    • Classical
      • Western classical music
      • Indian classical music
    • Popular music
    • Sinhala music
    • Indian music
  • Podcasts
  • Movies
  • TV Series
  • Log
    • 2019 logs
      • September
      • October
      • November
      • December
    • 2020 logs
      • January logs
      • February logs
      • March logs
      • April logs
      • May logs
      • June logs
  • TIL
    • TIL in 2020
      • January
      • February
      • March
      • April
      • May
      • June
      • October
      • November
Powered by GitBook
On this page
  1. TIL
  2. TIL in 2020

January

PreviousTIL in 2020NextFebruary

Last updated 5 years ago

  • 2020-01-15

    • Establish invariants for a unit test in the setup.

      In concrete terms, in JUnit for example, use @Before methods to make sure that the state of the world fits the assumptions made in the tests. In the same manner, use @After to ensure that post conditions are also "as expected".

  • 2020-01-16

    • Provides inter-cluster replication at teh namespace or optionally set
      granularity level.

      This is an Aerospike Enterprise Edition feature.

      • Aerospike can be configured to expire or evict least recently updated data.

      • Expiration and eviction algorithms use records TTL (Time To Live) value to determine eligibility for removal.

      • default-ttl can be set at a namespace level. See the documentation

        above for examples.

    • Checking docker exposed ports can be done by docker port command -

    • AssertJ test for equality ignoring fields can be done via isEqualToComparingOnlyGivenFields, as in the following example,

      assertThat(testVersion)
          .isEqualToComparingOnlyGivenFields(sourceVersion, "supplySourceList", "name", "defaultSeatId");
  • 2020-01-17

    • Java EnumMap and EnumSet optimisations -

  • 2020-01-19

    • syscall perturbation

  • 2020-01-20

      • Examples of usage -

    • GNU grep -o option for --only-matching entries in a search - pretty useful in practice.

  • 2020-01-21

    • Julia DataFrame Cheat Sheet -

    • .

    • Ansible forks with -f option.

      • More on Ansible performance tuning - .

  • 2020-01-22

    • - this is a port of for Java.

  • 2020-01-23

  • 2020-01-24

    • Screen window splitting -

      • Unlike on tmux a shell has to be spawned explicitly after splitting.

      • To do a vertical split - Ctrl+a | then Ctrl+TAB to go to the other

        split. Then as usual, use Ctrl+a c to create a window.

      • For a horizontal split use Ctrl+a S.

  • 2020-01-25

    • - this is a tool from .

  • 2020-01-27

  • 2020-01-31

    • OmitStackTraceInFastThrow -

Cross Datacenter Replication (XDR) | Aerospike
Namespace Retention Configuration | Aerospike
https://docs.docker.com/engine/reference/commandline/port/
https://stackoverflow.com/questions/16637288/optimization-done-by-an-enummap-enumset
dig
System call perturbation using Strace
Observability and Chaos Engineering on System Calls for Containerized Applications in Docker
CompletionStage
https://dzone.com/articles/20-examples-of-using-javas-completablefuture
https://jcharistech.wordpress.com/julia-dataframes-cheat-sheets/
Blue Green deployment
https://www.ansible.com/blog/ansible-performance-tuning
Semantic Patches for Java Program Transformation
Coccinelle
Lua named arguments
https://tomlee.co/2011/10/gnu-screen-splitting/
enchive - Encrypted personal archives
Chris Wellons
sar
Java CopyOnWriteArrayList
https://github.com/SAP/SapMachine/issues/501