Best of LoggingMay 2022

  1. 1
    Article
    Avatar of quastorQuastor Daily·4y

    How to Design Better APIs

    Ronald Blüthl wrote a great blog post on how to design better REST APIs with 15 language-agnostic tips. We’ll go through a couple here Use ISO 8601 UTC dates Version the API Pagination Provide a health check endpointPlus some tech snippets on How Netflix tests for performance regressions.

  2. 2
    Article
    Avatar of bytebytegoByteByteGo·4y

    What are database isolation levels (Episode 8)

    Database isolation allows a transaction to execute as if there are no other concurrently running transactions. The isolation is guaranteed by MVCC (Multi-Version Consistency Control) and locks. In this newsletter, we will talk about the following:Database isolation levels.Log parsing commands. Change data capture (CDC)

  3. 3
    Article
    Avatar of hashnodeHashnode·4y

    How to copy to clipboard in JavaScript?

    Copy-Paste is a fundamental need in application usage. In this article, we will learn the JavaScript APIs available to help with copy-paste programmatically.JavaScript provides Asynchronous web APIs to copy the content to the clipboard. The method readText() is used to read the content from the clipboard, and thus, you can paste it to a target application.

  4. 4
    Article
    Avatar of changelogChangelog·4y

    wfxr/forgit: A utility tool powered by fzf for using git interactively.

    Forgit is a tool for using git interactively. Powered by junegunn/fzf. Designed to help you use git more efficiently. It's lightweight and easy to use. Make sure you have fzf installed. Use git aliases by making git-forgit available in $PATH : FORGIT_COPY_CMD='xclip -selection clipboard'

  5. 5
    Article
    Avatar of fettblogfettblog.eu·4y

    TypeScript: Iterating over objects

    There is rarely a head-scratcher in TypeScript as prominent as trying to access an object property via iterating through its keys. I tried to “improve” Object.keys once. It’s a nice exercise on declaration merging but uh… I wouldn’t do that too often. Annotating definitely is one solution.