home.social

#expect — Public Fediverse posts

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

  1. 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

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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

  7. Explore the #require vs #expect macros in Swift testing. Learn when and how to use them to verify state in your code. Watch the video to enhance your testing skills: youtube.com/watch?v=Pr6hEv9GRYY

  8. "#people #arguing against #abolition saying "you #expect an unarmed person to deescalate someone with a gun?" and it's like we are #expected to literally do that right now only most of the people with guns who we have to deescalate are the #cops, like shut the fuck up"

    tumblr.com/nando161mando/79005

  9. #AI4PEX & #EXPECT joining forces to improve prediction of Climate Extremes in #ESMs

    Fantastic momentum at #EGU25! Teams from two #HorizonEU projects came together for a Splinter Meeting to explore synergies and plan future collaboration.

    Next steps? We're aiming for a joint hackathon and an ECR meeting to build stronger connections and drive innovation across projects. Stay tuned—exciting things ahead!

    #CINEA_EU #ESM #ClimateResearchNet #ClimateScience #ResearchInnovation

  10. Key differences between #require and #expect in Swift Testing:

    🍏 Prefix require with try
    ⚠️ Require failures end the test immediately
    🔑 Require unwraps optional values

    fatbobman.com/en/snippet/swift