Live data from Hacker News

Viewing profile — mayoff

mayoff

HN member
Joined
Wed, Jun 02, 2010, 4:36 PM UTC
HN karma
1,842
Public activity
378 items

About mayoff

Random bits of iOS programming

Recent public activity

  1. comment
    Comment #49219333

    I started using SuperDuper user in 2005 and was happy with it for a decade. Then one day in 2015 or 2016 it stopped working, and upon investigating, I discovered it used AppleScrip…

  2. comment
    Comment #49201631

    That can be just a ziplock bag and the same water bath you're going to use for the sous vide anyway. https://www.youtube.com/watch?v=XrZPLF0ezw8nn

  3. comment
    Comment #49116714

    > (Mary, at 16, was twice her age) The problem states “She _is_ twice as old as Ann was”, not “She _was_ twice as old as Ann was”.

  4. comment
    Comment #48951192

    This idea is a significant part of Anathem by Neal Stephenson.

  5. comment
    Comment #48824075

    Here’s what Tim Schafer said about selling Double Fine to Microsoft at the time: > "I think it's perfect for us, because we can just focus on doing our inspired weird games, and no…

  6. comment
    Comment #48769587

    I’m with Casey on this: I will not buy a car without CarPlay. Of course, I haven’t bought a car since 2013. That one is a Tesla Model S and I think its UI is pretty decent for maps…

  7. comment
    Comment #48638621

    At my office we refer to these (in IntelliJ) as ketchup, mustard, and relish (depending on the color).

  8. comment
    Comment #48340192

    This article is about actors in the Swift programming language, and I’d answer the question (“is a stateless actor pointless?”) differently: there is no such thing as a stateless a…

  9. comment
    Comment #47984414

    In Swift (Apple’s C++ successor), the normal operators (`+`, `-`, `*`) trap on overflow for integer types. If you want twos complement wrapping, you can use `&+`, `&-`, and `&*`. G…

  10. comment
    Comment #47964318

    The second sentence of your summary is fine, but I don’t like the first sentence: > Use your language’s type system to parse unstructured inputs. We don’t use the type system to pa…

  11. comment
    Comment #47964008

    In the Intel CPU + cold cache case, the quad search matters. In the other three cases, only the SIMD matters.

  12. comment
    Comment #47963988

    Quaternary search effectively performs both of the next loop iteration’s possible comparisons simultaneously with the current iteration’s comparison. This is a little more complex …

  13. comment
    Comment #47899678

    While plenty about the iPad situation sucks, my biggest gripe is the discontinuation of the Smart Keyboard Folio. This was the one that only had a keyboard, no trackpad, but could …

  14. comment
    Comment #47622438

    It's kind of crazy that the IRS (among other United States government agencies) uses ID.me for account management. The .me domain belongs to Montenegro.

  15. comment
    Comment #47480894

    How to add a button in SwiftUI: Button(“Click Me”) { buttonWasClicked() }

  16. comment
    Comment #47480265

    When my daughter finally needed one of those godawful monopoly-priced calculators for school, we went to the nearest pawn shop and found a TI 84 Plus, opened, for $40, and a TI 84 …

  17. story
  18. comment
    Comment #47221852

    Somehow Woot still has a supply of the Smart Keyboard Folio for certain 11" iPads Pro/Air. My wife is still using an older gen 11" iPad Pro and her keyboard folio stopped working (…

  19. comment
    Comment #47182634

    Most of the “delivery” (getting it from the factory to its final installed location) was done by machine: forklifts, cranes, ships, trucks, and (I'm guessing) a motorized lift on t…

  20. comment
    Comment #46907908

    If you’re a Swift programmer, the swift-snapshot-testing package is a great implementation of these ideas. https://github.com/pointfreeco/swift-snapshot-testing

  21. comment
    Comment #46881894

    For an electrification company.

  22. comment
    Comment #46849530

    I'm pretty sure you meant something other than "buildings under about 6 feet".

  23. story
  24. comment
    Comment #46630305

    Thank you for this. I’ve been using it for years.

  25. comment
    Comment #46285412

    Maybe just don't utilize "utilize" or "utilise" at all. There are very few cases where utilizing "utilize" or "utilise" is better than using "use".