ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Kotlin 2.1 is out! kotlinlang.org/docs/whatsne... I'm excited about better dollar substitution in raw strings! In lint's test DSL there's a workaround for it. Look at the screenshot -- unescaped $'s? But how? If you look carefully, it's a lookalike! cs.android.com/search?q=%22...

Nov 27, 2024, 8:37 PM

Record data

{
  "uri": "at://did:plc:67kjgolk27pivb53nzyvq23t/app.bsky.feed.post/3lbxfrmwxlk2l",
  "cid": "bafyreiebrqz7jsfxwneb7uovgw42aeioccyzm533uvqhomdnga3dw2pk2y",
  "value": {
    "text": "Kotlin 2.1 is out!\nkotlinlang.org/docs/whatsne...\n\nI'm excited about better dollar substitution in raw strings! In lint's test DSL there's a workaround for it. Look at the screenshot -- unescaped $'s? But how? If you look carefully, it's a lookalike!\ncs.android.com/search?q=%22...",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.images",
      "images": [
        {
          "alt": "A screenshot of a lint unit test with a multiline literal string, seemingly using a single dollar sign in the string. But it's not a real dollar sign, it's a unicode lookalike.",
          "image": {
            "$type": "blob",
            "ref": {
              "$link": "bafkreihchn3q4ydvwisx5k6ypbs7ewimblahze625xjqrh2uh55awxk4sa"
            },
            "mimeType": "image/jpeg",
            "size": 272571
          },
          "aspectRatio": {
            "width": 1640,
            "height": 762
          }
        }
      ]
    },
    "langs": [
      "en"
    ],
    "facets": [
      {
        "index": {
          "byteEnd": 49,
          "byteStart": 19
        },
        "features": [
          {
            "uri": "https://kotlinlang.org/docs/whatsnew21.html",
            "$type": "app.bsky.richtext.facet#link"
          }
        ]
      },
      {
        "index": {
          "byteEnd": 281,
          "byteStart": 251
        },
        "features": [
          {
            "uri": "https://cs.android.com/search?q=%22.replace(%27$%27,%20%27%EF%BC%84%27)%22",
            "$type": "app.bsky.richtext.facet#link"
          }
        ]
      }
    ],
    "createdAt": "2024-11-27T20:37:28.892Z"
  }
}