Skip to content

Instantly share code, notes, and snippets.

View joshfriend's full-sized avatar

Josh Friend joshfriend

View GitHub Profile
MergeSwiftModule normal x86_64 /Users/josh/Library/Developer/Xcode/DerivedData/BibleGateway-frdbcokjbzuqeogwilldifxmjyab/Build/Intermediates/BibleGateway.build/Debug-iphonesimulator/BibleGateway.build/Objects-normal/x86_64/BibleGateway.swiftmodule
cd /Users/josh/git/bg/ios
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -emit-module /Users/josh/Library/Developer/Xcode/DerivedData/BibleGateway-frdbcokjbzuqeogwilldifxmjyab/Build/Intermediates/BibleGateway.build/Debug-iphonesimulator/BibleGateway.build/Objects-normal/x86_64/ContentController~partial.swiftmodule /Users/josh/Library/Developer/Xcode/DerivedData/BibleGateway-frdbcokjbzuqeogwilldifxmjyab/Build/Intermediates/BibleGateway.build/Debug-iphonesimulator/BibleGateway.build/Objects-normal/x86_64/BibleDownloadController~partial.swiftmodule /Users/josh/Library/Developer/Xcode/DerivedData/BibleGateway-frdbcokjbzuqeogwilldifxmjyab/Build/Intermediates/BibleGateway.build/Debug-iphonesimulator/Bibl

Session resumption: quick handshake for servers we've connected to before TLS v1.3 0-RTT session resumption

QWxhZGRpbjpPcGVuU2VzYW1l

Round trips: TLS 1.2: 2 TLS 1.2 session res: 1 TLS 1.3: 1 TLS 1.3 session res: 1 (but less data)

Credit to @cketti for the original steps

If you are annoyed that "Sources for Android 28" are not yet available via SDK manager, this might be for you:

  1. Collect source files
mkdir android-sdk-source-build
cd android-sdk-source-build
@joshfriend
joshfriend / 20190425-android-coroutines.md
Last active April 29, 2019 04:19
Chicago Roboto 2019 notes
suspend fun thing() {
    with (dispatchers.io) {}
}

Dispatchers:

  • Main
  • IO (network/disk)