home.social

#bitfield — Public Fediverse posts

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

  1. #HowToThing #023 — Responsive & reactive image gallery with tag-based Jaccard similarity ranking/filtering using thi.ng/bitfield, thi.ng/rstream & thi.ng/rdom

    A quite common comment about #ThingUmbrella is that people often have little idea what some of the ~185 packages are even good/intended for and/or how to synthesize solutions from these small, individual building blocks. IMHO this is less about these packages themselves and more down to existing blank spots about the underlying concepts, algorithms and their potential role/utility in a larger problem domain... So I very much hope this new example is also useful in this respect!

    Alas, the full code for this got pretty long and contains a lot more UI stuff. I'm intending to develop this further for the new homepage to browse all ~135 #ThingUmbrella examples (and maybe even for parts of the thi.ng website itself)... For those of you interested in more "advanced" thi.ng/rdom examples, do check it out!

    Background info:
    en.wikipedia.org/wiki/Jaccard_

    Demo:
    demo.thi.ng/umbrella/related-i

    Full source code:
    github.com/thi-ng/umbrella/tre

    The important parts re: using compact binary encoding, bitfields & Jaccard similarity to find related items are here:

    github.com/thi-ng/umbrella/blo

    #ThingUmbrella #Tagging #Statistics #Similarity #Ranking #Bitfield #TypeScript #JavaScript #UI #Frontend #Reactive #Tutorial