Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
  • Home Home Home, current page.
  • About

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
Meaningness's profile
David Chapman
David Chapman
David Chapman
@Meaningness

Tweets

David Chapman

@Meaningness

Better ways of thinking, feeling, and acting—around problems of meaning and meaninglessness; self and society; ethics, purpose, and value.

meaningness.com/about-my-sites
Joined September 2010

Tweets

  • © 2020 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Imprint
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    1. David R. MacIver‏ @DRMacIver 13 Nov 2019
      • Report Tweet
      • Report NetzDG Violation

      This design constraint has been a recurring headache in Hypothesis. User provided functions must be treated as hazardous and can never be invoked outside the context of a test. This enables a lot of nice stuff for users, but it does rather tie our hands.

      1 reply 0 retweets 1 like
      Show this thread
    2. David R. MacIver‏ @DRMacIver 13 Nov 2019
      • Report Tweet
      • Report NetzDG Violation

      Anyway, long story short, the awful terrible solution was this: Hypothesis strategies at the time also had a serialised representation for their templates. They had to be able to validate this so as to not produce bad data when rerunning changed tests.

      1 reply 0 retweets 1 like
      Show this thread
    3. David R. MacIver‏ @DRMacIver 13 Nov 2019
      • Report Tweet
      • Report NetzDG Violation

      So a template for my_strat.flatmap(f) was a pair of a template for my_strat and a serialised representation that might or might not be convertible to a template, but you would only find out when the test ran. It was actually worse than that for reasons I won't get into.

      1 reply 0 retweets 0 likes
      Show this thread
    4. David R. MacIver‏ @DRMacIver 13 Nov 2019
      • Report Tweet
      • Report NetzDG Violation

      This was dreadful and slow and buggy and caused all sorts of problems, but for the most part it worked, and it now meant something important: Hypothesis had a full end-to-end implementation of shrinking and serialisation that worked with anything you could randomly generate.

      1 reply 0 retweets 0 likes
      Show this thread
    5. David R. MacIver‏ @DRMacIver 13 Nov 2019
      • Report Tweet
      • Report NetzDG Violation

      When writing the modern implementation of Hypothesis this gave me something very powerful: I knew that what I was trying to do was possible, because I already done it. The existing implementation was terrible, but I could focus on fixing that without worrying if it could work.

      1 reply 0 retweets 3 likes
      Show this thread
    6. David R. MacIver‏ @DRMacIver 13 Nov 2019
      • Report Tweet
      • Report NetzDG Violation

      Remarkably little changed in the public API when I switched over from the old implementation to the new one. I had to remove a couple of really niche APIs that were no longer supportable (mostly things that made it look more QuickCheck like), but it was mostly fine.

      1 reply 0 retweets 0 likes
      Show this thread
    7. David R. MacIver‏ @DRMacIver 13 Nov 2019
      • Report Tweet
      • Report NetzDG Violation

      Hypothesis has very much been a success story for writing a nice clean combinator based API that elides all of the underlying complexity of the implementation - I've been able to make some really invasive changes without users noticing anything except maybe some bugs.

      1 reply 0 retweets 2 likes
      Show this thread
    8. David R. MacIver‏ @DRMacIver 13 Nov 2019
      • Report Tweet
      • Report NetzDG Violation

      One more FUN HYPOTHESIS FACT: Hypothesis is more monadic than QuickCheck in two senses. 1. Hypothesis strategies actually form a monad (they're parser combinators!), QuickCheck's Gen only "morally" does. 2. Everything in Hypothesis is in the monad, QC's shrinking isn't.

      1 reply 0 retweets 5 likes
      Show this thread
    9. David R. MacIver‏ @DRMacIver 13 Nov 2019
      • Report Tweet
      • Report NetzDG Violation

      Despite this "monad(ic)" is mentioned exactly once in the Hypothesis docs. https://hypothesis.readthedocs.io/en/latest/data.html#chaining-strategies-together …

      1 reply 0 retweets 3 likes
      Show this thread
    10. David R. MacIver‏ @DRMacIver 13 Nov 2019
      • Report Tweet
      • Report NetzDG Violation

      This thread is much longer than I intended, but people still seem entertained. As a breather, here's a photo of the unofficial Hypothesis mascot's tail being attacked by his brother Dexter (this would have been probably a bit before I left Google, so not quite Hypothesis era).pic.twitter.com/D0UuvyxNlb

      3 replies 1 retweet 13 likes
      Show this thread
      David Chapman‏ @Meaningness 13 Nov 2019
      • Report Tweet
      • Report NetzDG Violation
      Replying to @DRMacIver

      Your cat has an impressive bookshelf

      12:07 PM - 13 Nov 2019
      • 6 Likes
      • Charlie Awbery Andrew Kirby socially distanced kush Uncarved Bitmap QC David R. MacIver
      0 replies 0 retweets 6 likes

      Loading seems to be taking a while.

      Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

        Promoted Tweet

        false

        • © 2020 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Imprint
        • Cookies
        • Ads info