• 7 Posts
  • 661 Comments
Joined 6 年前
cake
Cake day: 2020年5月31日

help-circle




  • Yeah, differentiating between multiplications vs. divisions and additions vs. subtractions doesn’t make sense, because they’re the same thing respectively, just written differently.

    When you divide by 3, you can also multiply by ⅓.
    When you subtract 7, you can also add -7.

    There is one quirk to be aware of, though. When people notate a division with a long horizontal line, that implies parentheses around both of the expressions, top and bottom.


  • It certainly does!

    …but, uh, well, it’s a widely-spaced monospace font in this case. That’s the one situation where kerning actually cannot matter.

    Which seems intentional. I believe, the cartoonist is being more clever here and referencing a common ligature, specifically the first of these two:

    Lower-case "f" and "i" visually merge, so that the i-dot does not collide with the hood of the f.

    https://en.wikipedia.org/wiki/Ligature_(writing)

    Presumably the two letters got written together so often in this futuristic universe, that “fi” has actually become its own letter. Like how in German the “ß” came to be from a ligature of a long S (ſ) and a Z (which was written as ʒ), so together “ſʒ”.

    Maybe someone who’s deep into Simpsons lore can confirm that theory. 😅





  • I also always find the minimalism vs. maximalism debate interesting for usability. Lots of minimal designs are so flat that you can’t tell a button from a label or icon.
    At the same time, iOS’ new Frutiger theme regularly confuses me with its transparency, e.g. yesterday I saw that the silent-mode notification had a ➋ inside. It was centered and everything. Then the notification went away, but the ➋ stayed, because it was from an app icon behind.

    I wish, we could throw out the bad eye candy, like transparency, while keeping the good parts, like 3D buttons and such. I feel like this kind of neo-brutalist UI design isn’t the worst direction to go in:

    (This particular example isn’t perfect, like the buttons are flat, while there’s useless shadows around the boxes. But yeah, could just move those shadows to the buttons and it would still look fine.)


  • Servo company? It’s an open-source project underneath the Linux Foundation. The Servo Shell source code seems to be here: https://github.com/servo/servo/tree/main/ports/servoshell
    It probably wouldn’t be too difficult to compile it yourself, if you really want it.

    However, you have to mind that it’s damn near impossible to build a browser from scratch that supports the majority of web standards at this point. Servo does not do so. Most webpages will not be usable on it.
    That’s the reason why they don’t care to provide a general-purpose browser interface. Because Servo is only useful at this point when only a specific webpage or specific set of webpages needs to be displayed.
    So, generally when it’s embedded into hardware or into a software application, where the user does not have a URL bar to type arbitrary addresses into, and where the webpage to display can be specifically crafted for Servo.





  • The problem is that in this case, the LLM just naively auto-completes a password from what it knows a password to most likely look like.

    It is possible to enable an LLM to call external tools and to provide it with instructions, so that it’s likely to auto-complete the tool call instead. Then you could have it call a tool to generate a correct horse battery staple, or a completely random password by e.g. calling the pwgen command on Linux.

    But yeah, that just isn’t what this article is about. It’s specifically about cases where an LLM is used without tool calls and therefore naively auto-completes the most likely password-like string.




  • If you’ve got access to a microwave, I’ve found rice dishes quite convenient, like for example a lentil curry. They generally re-heat without tasting worse and the rice traps the moisture, so even if your container isn’t 100% sealed, you’re unlikely to get mess everywhere.

    (Though I’d still recommend getting a properly sealed container. Personally, I also transport my food in a separate cloth bag, so that if it should ever leak, I can just wash that bag.)


  • I always thought openSUSE’s package manager zypper has quite a few neat ideas:

    • It offers two-letter shorthands for subcommands, so zypper installzypper in, updateup, removerm.
    • When it lists what packages it will install or remove, it will list them with the first letter highlighted in a different color, kind of like so: fish git texlive
      This makes it really easy to visually scan the package list, and since it’s sorted alphabetically, it also makes it easier to find a particular package you might be looking for.
      And while there’s separate lists for packages to be added vs. updated vs. removed, they also color those letters in green vs. yellow vs. red, so you can immediately see what’s what.
    • When it lists items (other than packages), it prints an ID number, too.
      So, zypper repos gives you a list of your repositories, numberered 1, 2, 3 etc., and then if you want to remove a repo, you can run zypper removerepo 3.
    • When you run a zypper search, it prints the results in a nicely formatted table.

    Documentation: https://doc.opensuse.org/documentation/tumbleweed/zypper/