Here’s a simple AttributedString with some formatting: import Foundation let str = try! AttributedString( markdown: “Café **Sol**”, options: .init(interpretedSyntax: .inlineOnly) ) AttributedString is Codable. If your task was to design the encoding format for an attributed string, what would you come up with? Something like this seems reasonable (in JSON with comments): { “text”: “Café […]
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful. Source link
article (St. Paul’s Farmer Market) ST. PAUL, Minn. (FOX 9) – Saturday morning kicked off the start of the spring market at the St. Paul Farmers Market. Activities include crafts for kids, free yoga, vendor demos and samplings, and a donations drive. One of the vendor demonstrations that will be featured at the market Saturday […]
We talked to Rares Vlasceanu and Catalin Costache from Adobe about how they handle 70 000 000 000 events per day with the help of Kotlin and Ktor. Source link
The environment in SwiftUI is sort of like a global dictionary but with stronger types: each key (represented by a key path) can have its own specific value type. For example, the \.isEnabled key stores a boolean value, whereas the \.font key stores an Optional<Font>. I wrote a custom dictionary type that can do the […]
I’m a backend developer who worked extensively writing code in Golang before joining SoundCloud. SoundCloud mostly uses Scala for its microservices, so when I joined, it was important to learn it. As I was new to the language, I faced some challenges going from knowing nothing to becoming skilled at writing code in Scala. This […]
The transcript below may be for an earlier version of this episode. Our transcripts are provided by various partners and may contain errors or deviate slightly from the audio. Shankar Vedantam: This is Hidden Brain. I’m Shankar Vedantam. Have you ever had one of those conversations where half the people in the room have a […]
At Buffer, we’ve been working on a better admin dashboard for our customer advocacy team. This admin dashboard included a much more powerful search functionality. Nearing the end of the project’s timeline, we’ve been prompted with the replacement of managed Elasticsearch on AWS with managed Opensearch. Our project has been built on top of newer […]
If you want to pay online, you need to register an account and provide credit card information. If you don’t have a credit card, you can pay with bank transfer. With the rise of cryptocurrencies, these methods may become old. Imagine a world in which you can do transactions and many other things without having […]
The transcript below may be for an earlier version of this episode. Our transcripts are provided by various partners and may contain errors or deviate slightly from the audio. Shankar Vedantam: This is Hidden Brain, I’m Shankar Vedantam. All of us have had moments when we censor ourselves. A friend says something, we disagree, but […]