[–] 2 points 9 months ago

Yeah, even though I have a bit of background I can't really make heads or tails of that OpenSearch doc at a glance, it's dense stuff.

In my experience knowing the keywords to stick in a search engine is often half the battle; there are plenty of resources out there on "vector databases". "Semantic search" from the lede of the OpenSearch doc might be another good one to have around.

Feel free to ask me any other questions and I can try to answer to the best of my abilities, though again, not an expert and honestly I've never actually used these myself beyond toy examples.

  • source
  • parent
  • context
  • [–] 3 points 9 months ago* (last edited 9 months ago) (2 children)

    I'm not an expert, but it sounds like you want an embedding+vector database. This essentially extracts the part of an LLM that "understands" (loaded term, note the quotes) the text you put in, and then does a lookup directly on that "understanding", so it's very good at finding alternate phrasings or slightly differing questions.

    There's no actual text generation involved, and no need to retrain anything when adding new questions.

    OpenSearch has an implementation (which I learned about just now while writing this comment and thus cannot vouch for); you could start there.

  • source
  • [–] 5 points 9 months ago

    And apparently profitable. These companies are essentially buying their shit based on clout, not actual possessed monetary value. I’m struggling to see how that could translate into whatever system Cloudflare thinks they will engage with.

  • source
  • parent
  • context
  • [–] 1 point 9 months ago

    I remember when this is how browser zoom always worked. It was super janky, everyone hated it and the current "zoom everything" system was seen as a big improvement.

    I guess opt-in makes sense. Probably nobody is going to bother though.

  • source
  • [–] 3 points 9 months ago*

    The setup process asked users to run a shell command that decoded a hidden payload, ran it, and then downloaded a second script. Finally, it installed a macOS binary and removed quarantine settings so the built-in malware checks wouldn't detect it.

    This just in, installing random un trusted binaries directed by plug in developers will get you in trouble. Garbage propaganda.

  • source
  • [–] 1 point 9 months ago

    aside: A simple head meta tag with color-scheme light dark will make the web-browser respect user settings and show light or dark. No need for a toggle the user has to activately activate. One meta tag is enough.

    <meta name="color-scheme" content="light dark" />

    MDN meta color-scheme


    If you override the default colors, the light-dark() CSS function is very useful, if the "newly available" compatibility is enough.

    html { background-color: light-dark(#fff, #222); }
    

    or with variables for reuse and centralized definitions :root { --bg-0: light-dark(#fff, #222); } html { background-color: var(--bg-0); }

    Well, I only wanted to suggest the meta alternative and went on a longer tangent. I want to see more websites with dark scheme, especially given how easy it is to enable, and how straight-forward it is if you know how to get started even with custom coloring.

  • source
  • [–] 2 points 9 months ago (1 child)

    Well, to me, it sounded like they themselves can't rely on prefers-color-scheme, which is why the manual toggle is necessary, but it doesn't hurt to support it for other folks.

    I guess, that does mean that a solution without persistence is going to be annoying, but yeah, I don't think that's solvable without JS. One could ensure that the JS is entirely optional, so that when the user blocks it, you simply get no persistence, but that's probably about it...

  • source
  • parent
  • context
  • [–] 2 points 9 months ago (2 children)

    All true. 👍

    Although OP mentioned they can't use prefers-color-scheme for fingerprinting reasons. And for some reason are against a little bit of JavaScript to help save the value.

    A checkbox also can't offer the three common values: Light, Dark, and Follow system. But oh well, to each their own.

  • source
  • parent
  • context
  • view more: ‹ prev next ›