home.social

#expect — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #expect, aggregated by home.social.

fetched live
  1. @DjityDjity "Stop paying tax" has to be the answer in our history at some point

    Here and fucking now ...

    Stop paying the #bastards and# robbers robbing others,

    Can't give them #money and #expect #State and #Banks to do different.

    No way around it, don't fund it / fund it le$$.

    #Tax #Solution #Answers
    #Revolt #Boycott #Revolution

    Original Tax Pic = #RichardMurphy

  2. 🤗☁️🌈☁️🌀🕊️☁️✝️👑💦🪽😇🪽🤍💗❤️🩷🧡🔥⚡✝️👑🛡️🗡️🐎☁️🏳️🍥❤️‍🔥🩷⚡🛡️🗡️🐎☁️😳😱😧🫨😲😮🤯🙀🫪☁️⚡🕊️✝️👑🌀🌐🌏🔥⚡🤗*Being Ready!*You Must Be Ready!🤗💦🏳️🍥❤️‍🔥🩷🛡️🗡️🐎☁️😳😱😧🪽😇🪽🫨😲😮🤯🌐🌏🔥⚡☁️🌈☁️⚡🕊️✝️👑🌀🤍💗❤️🩷🧡🔥⚡✝️👑🛡️🗡️🐎☁️🤗

    🤗☁️🌈☁️🙀🫪💦🏳️🍥❤️‍🔥🩷🛡️🗡️🐎☁️😳😱😧🫨🪽😇🪽😲🔥🤍💗❤️🩷🧡😮🤯⚡🕊️☁️✝️👑🌀⚡✝️👑🛡️🗡️🐎🔥⚡✝️👑🛡️🗡️🐎🌐🌏🔥⚡🤗*"You also must be ready!*for the Son of Man is coming at an hour you do not expect!”🤗🙀🫪💦🏳️🍥❤️‍🔥🩷😳😱😧🫨😲😮🤯🕊️☁️🌈☁️🌀⚡✝️👑🛡️🗡️🐎🙀🪽😇🪽🌐🌏🔥⚡🤍💗❤️🩷🧡🔥⚡✝️👑🛡️🗡️🐎☁️🤗

    (Luke 12:40)
    #Being #Ready
    #the #Son #of #Man #is #coming #at #an #hour #you #do #not #expect #CHRIST #JESUS #End #Time #Surprise

  3. 🤗☁️🌈☁️🌀🕊️☁️✝️👑💦🪽😇🪽🏳️🍥❤️‍🔥🩷⚡🛡️🗡️🐎☁️😳😱😧🫨😲😮🤯🙀🫪☁️⚡🕊️✝️👑🌀🌐🌏🔥⚡🔥⚡☁️✝️👑🛡️🗡️🐎🔥⚡🌀🤗*Being Ready!*You Must Be Ready!🤗💦🏳️🍥❤️‍🔥🩷🛡️🗡️🐎☁️😳😱😧🪽😇🪽🫨😲😮🤯☁️🌈☁️⚡🕊️✝️👑🌀🌐🌏🔥⚡🤗

    🤗☁️🌈☁️🙀🫪💦🏳️🍥❤️‍🔥🩷🛡️🗡️🐎☁️😳😱😧🫨🪽😇🪽😲😮🤯⚡🕊️☁️✝️👑🌀⚡✝️👑🛡️🗡️🐎🌐🌏🔥⚡☁️✝️👑🛡️🗡️🐎🌏🔥⚡☁️✝️👑🛡️🗡️🐎🤗*"You also must be ready!*for the Son of Man is coming at an hour you do not expect!”🤗🙀🫪💦🏳️🍥❤️‍🔥🩷😳😱😧🫨😲😮🤯🕊️☁️🌈☁️🌀⚡✝️👑🛡️🗡️🐎🙀🪽😇🪽🌐🌏🔥⚡🤗

    (Luke 12:40)
    #Being #Ready
    #the #Son #of #Man #is #coming #at #an #hour #you #do #not #expect #CHRIST #JESUS #End #Time #Surprise

  4. *~*Being Ready!*You Must Be Ready!*~*

    *~*"You also must be ready!*for the Son of Man is coming at an hour you do not expect!”*~*

    (Luke 12:40)

    #Being #Ready
    #the #Son #of #Man #is #coming #at #an #hour #you #do #not #expect #CHRIST #JESUS #End #Time #Surprise

  5. Why do we still need custom assertions when #𝑒𝑥𝑝𝑒𝑐𝑡 is already more informative than XCTest? The key: use 𝑆𝑜𝑢𝑟𝑐𝑒𝐿𝑜𝑐𝑎𝑡𝑖𝑜𝑛 to report failures at the call site, not inside helpers. For complex validation, 𝐼𝑠𝑠𝑢𝑒.𝑟𝑒𝑐𝑜𝑟𝑑 is the way to go.

    🔗: qualitycoding.org/swift-testin by Jon Reid (@qcoding)

    #SwiftTesting #Swift #iOSDev

  6. Why do we still need custom assertions when #𝑒𝑥𝑝𝑒𝑐𝑡 is already more informative than XCTest? The key: use 𝑆𝑜𝑢𝑟𝑐𝑒𝐿𝑜𝑐𝑎𝑡𝑖𝑜𝑛 to report failures at the call site, not inside helpers. For complex validation, 𝐼𝑠𝑠𝑢𝑒.𝑟𝑒𝑐𝑜𝑟𝑑 is the way to go.

    🔗: qualitycoding.org/swift-testin by Jon Reid (@qcoding)

    #SwiftTesting #Swift #iOSDev

  7. tired: my energy efficient computer doesn't know the date and time when there's no Wi-Fi :flan_sad:

    wired: hook up an RTC chip with backup battery, and buy another of those for the project it's meant to go into :flan_think:

    inspired: set up GRUB on the attached power-hungry computer so that an #Expect script can press its power button, wait for the boot menu to show over serial, choose an option that displays the date and time and powers off, and set the clock with that result :flan_set_fire:

  8. tired: my energy efficient computer doesn't know the date and time when there's no Wi-Fi :flan_sad:

    wired: hook up an RTC chip with backup battery, and buy another of those for the project it's meant to go into :flan_think:

    inspired: set up GRUB on the attached power-hungry computer so that an #Expect script can press its power button, wait for the boot menu to show over serial, choose an option that displays the date and time and powers off, and set the clock with that result :flan_set_fire:

  9. 3 #gods do not get along. #1-God, #creator and #immortality. #2-the #devil, a created #enemy. #3-YOU, the created #mortal god, #humans. Everything you were taught in #school is a lie. If you follow me; I #expect that you are #interested in #reading the #book.

  10. 3 #gods do not get along. #1-God, #creator and #immortality. #2-the #devil, a created #enemy. #3-YOU, the created #mortal god, #humans. Everything you were taught in #school is a lie. If you follow me; I #expect that you are #interested in #reading the #book.

  11. #expect : to regard something as likely

    - French: attendre

    - German: erwarten

    - Italian: aspettarsi

    - Portuguese: esperar, supor

    - Spanish: esperar

    ------------

    Word of The Hour's Annual Survey @ wordofthehour.org/r/form

  12. #expect : to regard something as likely

    - French: attendre

    - German: erwarten

    - Italian: aspettarsi

    - Portuguese: esperar, supor

    - Spanish: esperar

    ------------

    Word of The Hour's Annual Survey @ wordofthehour.org/r/form

  13. Catch the error, *then* what? #expect(throws:) and #require(throws:) in Swift Testing return the error directly, so you can inspect it separately from the throw check itself. hackingwithswift.com/swift/6.1

  14. uh, thats nice:

    “Today, the Swift Testing and XCTest libraries stand mostly independently, which means an XCTAssert failure in a Swift Testing test or an #expect failure in an XCTest test is silently ignored. To address this, we formally declare a set of interoperability principles and propose changes to the handling of specific APIs that will enable users to migrate with confidence.”

    github.com/swiftlang/swift-evo

    CC @dimsumthinking

  15. I know #people who are getting #banned on #github because they're #VibeCoding now in part or in whole.

    And so, as a #target of an #ai #code #hack that as a part time #developer myself saddens me.

    IF you give any of your #data to a #centralized server or #cloud #service #platform now, do not #expect it to stay untouched.

    Buy a #dedicated #server from places that allow #public #torrent #trackers on them.

    hostingby.design

    seedhost.eu

    Stay #informed and don't let #corporate #government #censorship push you around.

    I #believe that #freedom and #privacy #rights will never die if we alone keep them and ourselves #alive as best we can.

    Otherwise, the #inshitification of our #world continues.

    that's what I did. That's what I use. That's why I use them. Don't give up the #fight on the #account of the #needs of somebody else.

    It's time to #save the #west from total collapse of our #right to #live #well into the #future as such.

  16. Last but not least is Swift Testing Pro: an agent skill that helps AI coding tools write better tests using Swift Testing. Covers the Test macro, #expect and #require, parameterized testing, confirmations, exit tests, and more. github.com/twostraws/Swift-Tes

  17. @ctietze @younata Alas it is more complicated than that. #expect() predates (slightly) the introduction of move-only types. The technical constraints preventing us from relaxing the relevant argument types to ~Copyable are… complicated.

    We're planning to refactor #expect() entirely in order to resolve the problem, but we likely need to wait for Borrow<T> to land among other compiler changes.

    github.com/swiftlang/swift-tes

  18. 3️⃣ XCTest Instead of Swift Testing

    By default, I get:
    ```swift
    import XCTest

    class MyTests: XCTestCase {
    func testUserCreation() {
    XCTAssertNotNil(user)
    }
    }
    ```

    Swift Testing launched at WWDC 2024. I've been using:
    ```swift
    import Testing

    @Test func userCreation() {
    #expect(user != nil)
    }
    ```

    I'll use llm.codes by [email protected] to download the documentation and adding it my Claude docs.

    Has anyone found a better way?

  19. #expect : to look forward to, as to something that is believed to be about to happen or come

    - French: attendre

    - German: erwarten

    - Italian: aspettarsi

    - Portuguese: esperar, supor

    - Spanish: esperar

    ------------

    Word of The Hour's Annual Survey @ wordofthehour.org/r/form

  20. TIL round tripping a `Foundation.Date` using epoch time can lose precision 🤷

    let now = Date.now
    #expect(now == Date(timeIntervalSince1970: now.timeIntervalSince1970)) // ❌

    #swift