[-] qwertyasdef@programming.dev 5 points 10 months ago

Hermitcraft? Seems hard seeing as the subreddit is about as official as it can get short of being literally, officially run by the Hermits. I can't imagine a Lemmy community would see any significant amount of participation except for some number of people double-posting in both. I'd be happy to be wrong though.

[-] qwertyasdef@programming.dev 4 points 1 year ago

As someone who knows very little about Scheme or Arabic, what are some aspects of this language that might be novel or interesting to someone with a background in mainstream languages?

[-] qwertyasdef@programming.dev 5 points 1 year ago

Do people actually use Epic? I wasn't much of a gamer before and didn't care for Steam, and my first real exposure to PC gaming was when Epic started their weekly giveaway of free games. I made an account, discovered some cool titles, and could have been a happy customer if only their launcher weren't so ridiculously slow. Now I can barely even stand opening the launcher to collect the free game, let alone trying to browse for games to buy.

[-] qwertyasdef@programming.dev 3 points 1 year ago

I guess it depends on what you mean by using monads, but you can have a monadic result type without introducing a concrete monad abstraction that it implements.

[-] qwertyasdef@programming.dev 4 points 1 year ago

At a library level, couldn't you have an opaque sum type where the only thing you can do with it is call a match method that requires a function pointer for each possible variant of the sum type? It'd be pretty cursed to use but at least it wouldn't require compiler plugins.

[-] qwertyasdef@programming.dev 3 points 1 year ago

Hah, the house is symmetrical now

[-] qwertyasdef@programming.dev 4 points 1 year ago* (last edited 1 year ago)

Do you care about modeling the cells? If not, you could represent each row with just a number. When X plays, add 1 to all the rows that include the position they played, and when O plays, subtract 1. If any row reaches +3 or -3, that player wins.

As for rotation/reflection invariance, that seems more like a math problem than a Rust problem.

[-] qwertyasdef@programming.dev 4 points 1 year ago

I think that's a British influence. Rs in English words tend to get transcribed into katakana as long vowels to resemble British pronunciation, like parking → パーキング or art → アート. For a Japanese person who hasn't formally learned a romanization system but knows a decent amount of these English → Japanese word pairs, it seems pretty reasonable to try to reverse the process by turning long vowels into Rs when writing Japanese in Romaji.

[-] qwertyasdef@programming.dev 3 points 1 year ago

Oooh, looks exciting! I never played with RotaryCraft back in the day, but I was interested in the idea and I love skyblocks and quests-as-guides so this might be just the thing to make me go back and try it out.

[-] qwertyasdef@programming.dev 3 points 1 year ago

Some clarifications: f(x) = -2x/3 + 5 isn't technically correct. It happens to equal that when x is between 6 and 9, but the function is different outside of that range. Similarly, your equation for F(x) is only correct when x is between 6 and 9. The reason this matters is because F(0) = 2 doesn't mean C = 2. That only works if the function is the same all the way to x = 0, which it's not.

If you want to solve by integrating, you would have to integrate each section and find the right C for each section that makes the integrals all connect to each other.

Alternatively, you can use the property that F(b) - F(a) = the area under f(x) from a to b. I think that region from x = 4 to 6 is supposed to be a semicircle, so each section is a standard shape and you can calculate the area using geometry.

[-] qwertyasdef@programming.dev 4 points 1 year ago

Just a guess, but was there an extra space after the comma? Unlike in English, the full-width comma takes up an entire square worth of space like all other characters and shouldn't have an extra space after it. I don't know if Duolingo even considers spaces when marking answers though so that may not be it.

[-] qwertyasdef@programming.dev 4 points 1 year ago* (last edited 1 year ago)

I was going to suggest some written stories until I saw you wanted movies, shows, or games which this definitely isn't. I'll still leave this here though in case anyone else passing through is interested:

view more: ‹ prev next ›

qwertyasdef

joined 1 year ago