TehPers

joined 1 year ago
[–] TehPers 2 points 18 hours ago* (last edited 18 hours ago) (1 children)

There's a lot of bold claims being made. No segfaults, no memory leaks, etc. I'm curious to see how that's implemented.

Also:

it's safer than Rust because it lacks an "unsafe" keyword

lol

[–] TehPers 10 points 4 days ago (1 children)

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.

[–] TehPers 3 points 4 days ago (2 children)

If the US goes full Holocaust, then progressive states can vote to leave the US. It'll be ugly, but it's been done before.

[–] TehPers 2 points 1 week ago (1 children)

On this topic, I remember seeing a thread for Frostpunk 2 asking if it had DEI stuff in it.

There aren't even any real characters in Frostpunk 2. Tf are you talking about DEI for in a game with no real characters?

[–] TehPers 1 points 1 week ago (1 children)

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?

[–] TehPers 1 points 1 week ago

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.

[–] TehPers 7 points 1 week ago (1 children)

So, in other words, it's so users excuse it when it produces dog shit. Got it.

[–] TehPers 2 points 1 week ago

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.

[–] TehPers 7 points 1 week ago

I'm more worried about fraud at the elector level, not at the voter level. If the survey covered that, I'd say that there will absolutely be (another) attempt this year.

[–] TehPers 12 points 2 weeks ago (2 children)

Chuck Feeney is over here looking like a gigachad though:

He [Feeney] decided to give virtually all his money away to various domestic and international charities and philanthropic efforts over his last 40 years or so. In September 2020, Feeney closed down his philanthropy company, having given away his wealth, minus retirement savings for him and his wife.

[–] TehPers 2 points 2 weeks ago

That makes more sense. Thanks for sharing.

[–] TehPers 5 points 2 weeks ago* (last edited 2 weeks ago)

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.

view more: next ›