home.social

#bitfields — Public Fediverse posts

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

fetched live
  1. 🎏 🐶 flag_shih_tzu v1.0.0 is finally out, 8 years after 0.3.23. There are breaking changes, and many new features, including multi-bit flags 🩵 think multiple enum attributes in a single integer column! Also complete Truffleruby and JRuby support.

    :ruby: I write about the most important breaking change here:
    dev.to/galtzo/why-flagshihtzu-
    #ruby #bitfields #activerecord

  2. @bug a u2; or an s2, if it's signed.

    A byte is a u8, a nibble :blobcatcookienom: is a u4.

    A a dword is a u32 and a qword is a u64... and so on.

    Simple, unambiguous, and it even tells you whether it's signed or unsigned... but it's not cute :blobfoxboopcute:, I grant you.

    I think it's unlikely to be confused with the high-altitude plane ✈️ or the rock band :blobcatcool:, given context 😁