Skip Navigation
Embedded and sandboxed scripting languages in Rust
  • You can embed Lua pretty easily using a few different libraries. One I liked in particular was mlua. Lua is tiny, usually sufficiently fast, and easy to learn.

    Otherwise, there are some others like Rhai, but there may be fewer resources available for users if you go with a less popular language.

  • Sustainable building effort reaches new heights with wooden skyscrapers
  • steelmaking in specific is very carbon intensive

    Makes sense, given that steel is an iron/carbon alloy. I guess decarbonization would be making the process more efficient and capturing more of the carbon into the steel?

  • How do I use Option and the '?' operator with a for loop?
  • It's hard to tell what it is you're trying to do here, but maybe Option isn't the right type? To me it feels like you'd want to return a type like Vec or an iterator.

    I would recommend looking at some of the iterator functions to do this. You could look at filter_map, collect, and fold/try_fold and see if any of those help you here.

  • Weekly “What are you playing” Thread || Week of November 3rd
  • Playing FFXIV for the first time.

    I don't really care for multiplayer games as much since I don't like to commit my time to others to play games (I like being able to get up and leave when I need to), but there's a solo challenge that sounded fun, so I'm giving that a shot.

  • Blown away by Estrid's Invocation (blue enchantment for 3 mana) [Commander 2018]
  • One note about Sagas - they tick up on your first main phase, so you'd copy the Binding the Old Gods again before getting the forest.

    Edit: but yes, you'd get the forest in your main phase after it re-entered on your upkeep.

  • “Put Them in Trauma”: Inside a Key MAGA Leader’s Plans for a New Trump Agenda in the U.S.
  • Of course, in context it's a lot different. Conceptually, it's interesting, but only taken without the context that the goal is clearly to subvert the balance of powers between the different branches of government and turn it into an authoritarian government.

    If anyone reasonable were to suggest it, it wouldn't be so terrible though. It's just that we know how Trump would abuse that office to push his own agenda.

  • “Put Them in Trauma”: Inside a Key MAGA Leader’s Plans for a New Trump Agenda in the U.S.
  • An office to consult with could have helped pushed some of Biden's things, especially regarding student loan forgiveness. It's not always clear what is and isn't legal, and ideally a president would try to push the boundaries as much as they can to accomplish what they believe is best for the country.

    Trump is just a uniquely bad dude. Give him a hammer and he'll turn it into a weapon before he builds anything productive with it.

  • “Put Them in Trauma”: Inside a Key MAGA Leader’s Plans for a New Trump Agenda in the U.S.
  • Taken wholly out of context, a legal office to work with the president to ensure their orders are legally sound and hard to challenge sounds like a good thing. Does that not already exist?

    The rest of this nonsense can cease along with his whole campaign, and the world would be better because of it.

  • Removed
    The DeVault Report
  • Up to you. Two people can make mistakes at the same time. Whether there is truth to the claims, I'm not sure, but if there is truth then there are some unpleasant details in it.

  • Universes Beyond is now MTG
  • I've been uninterested in standard since they changed the rotation to 3y. With this, I know I'm done now. It was fun while it lasted.

    I had no issues with UB sets and products as fun eternal format content, but if they're adding more nonsense to standard, no thanks. I much preferred the old, smaller standards.

  • Chatbot that caused teen’s suicide is now more dangerous for kids, lawsuit says
  • My understanding is that users can edit the chat themselves.

    I don't use c.ai myself, but my wife was able to get a chat log with the bot telling her to end herself pretty easily. The follow-up to the conversation was the bot trying to salvage itself after the sabotage by calling the message a joke.

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TE
    TehPers @beehaw.org
    Posts 0
    Comments 540