13 Matching Annotations
  1. May 2021
    1. Examples of this sort of non-logical behaviour used to represent identity can be found in fiction in:

      • Dr. Seuss' The Butter Battle Book (Random House,1984) which is based on
      • the war between Lilliput and Blefuscu in Jonathan Swift's 1726 satire Gulliver's Travels, which was based on an argument over the correct end to crack an egg once soft-boiled.

      It almost seems related to creating identity politics as bike-shedding because the real issues are so complex that most people can't grasp all the nuances, so it's easier to choose sides based on some completely other heuristic. Changing sides later on causes too much cognitive dissonance, so once on a path, one must stick to it.

  2. Feb 2021
    1. In "A Letter of Advice to a Young Poet" from 1721, Jonathan Swift remarked that a commonplace book is something that “a provident poet cannot subsist without, for this proverbial reason, that great wits have short memories”.
    1. If you have large numbers, Swift lets you use underscores as thousands separators – they don’t change the number, but they do make it easier to read.

      Strange, but I guess this is to improve or help with readability yes?

  3. Nov 2020
    1. What’s a Stack? A stack is a collection of SwiftUI views that are grouped together. You can use 3 kinds of stacks with SwiftUI: VStack, a vertical stack, which shows views in a top-to-bottom list HStack, a horizontal stack, which shows views in a left-to-right list ZStack, a depth-based stack, which shows views in a back-to-front list Here’s a visual example: <img src="https://learnappmaking.com/wp-content/uploads/2020/08/swiftui-stacks-diagram.jpg" width="1125" height="450" alt="Diagram of HStack, VStack, ZStack in SwiftUI"> You can compare stacks in SwiftUI with UIStackView in UIKit. Stacks are static, so they’re different from List and table views, for example. Like other SwiftUI views, stacks can contain a maximum of 10 subviews. You can, of course, combine VStacks, HStacks and ZStacks to create complex User Interfaces.
  4. May 2020
  5. Dec 2019
    1. As such, the following two statements are equivalent:

      This is important to note when trying to wrap my head around how OAuth2 integrates with AlamoFire

    1. Executing AppleScript in a Mac app on macOS Mojave and dealing with AppleEvent sandboxing

      This is a useful article for applescript and MacOS applications

  6. Oct 2019
  7. Feb 2017
  8. Jun 2016
    1. And because it’s built to take full advantage of iPad, it’s a first-of-its-kind learning experience.

      Sure, we’ve heard that before. But there’s reason to be cautiously optimistic about this one.

  9. Jan 2016
    1. Some people are porting Apple's Swift programming language to the Raspberry Pi. At the time of this post in December 2015, they had the compiler running on RPi 2 with Ubuntu Linux. They did not yet have the Foundation libraries, the Swift Package Manager, or a version for RPi 1, and it was not certain whether it would run on Raspbian Linux.