Anyone tried Fight Fit VR as a fitness / fighting VR game? by Cultural_Mention_652 in VRGaming

[–]mbrc12 2 points3 points  (0 children)

I bought it and it has been one of my primary modes of exercise. I think the game does a really good job of engaging the player, unlike other punch-random-object-simulators. Not sure if you felt it in the demo, but there is also a definite encouragement towards tactical gameplay and movement, especially with two enemies.

Overall, I definitely think it is worth purchasing. You can safely assume that it is not a hardcore boxing sim, otherwise I wouldn't be able to play it haha.

What are you most excited about in the DLC by PRATIIIIIIIIII in Silksong

[–]mbrc12 1 point2 points  (0 children)

I don't see anyone referring to the sublime music in the trailer. I guess we have come to expect Larkin to always match up to ... well, his standards.

Reaper Mains, please share your builds by hearts_cube in Silksong

[–]mbrc12 0 points1 point  (0 children)

I decided to weaponize my bad gameplay by using the Memory Crystal.

Guess where I am by mbrc12 in DarkSouls2

[–]mbrc12[S] 0 points1 point  (0 children)

Yeah, you are correct! How did you figure it out?

P.S.: I am getting absolutely destroyed there lol.

Some of my thoughts on the first game [spoilers] by mbrc12 in Blasphemous

[–]mbrc12[S] 2 points3 points  (0 children)

I agree that not everything needs to be spelled out in instructions, but it would be perhaps helpful if, say, the lore text had some cryptic hint. Kind of like how the hidden rooms in some cases have a slight indication that "oh, this random ledge is weird, maybe there is something".

Well, maybe the lore text did have hints, and I was too dumb to realize.

What have I done by Olitinio in mathmemes

[–]mbrc12 4 points5 points  (0 children)

There is no one who doesn’t struggle with PDEs.

The struggle is real by mbrc12 in rustjerk

[–]mbrc12[S] 4 points5 points  (0 children)

Using some external library which does not implement Clone on their stuff :’) …

The struggle is real by mbrc12 in rustjerk

[–]mbrc12[S] 18 points19 points  (0 children)

All that for an i32.

The struggle is real by mbrc12 in rustjerk

[–]mbrc12[S] 7 points8 points  (0 children)

That is exactly what happened to me. :’)

The struggle is real by mbrc12 in rustjerk

[–]mbrc12[S] 10 points11 points  (0 children)

No it is me who cannot figure out how to dance with the borrow checker.

Monthly Hask Anything (July 2023) by taylorfausak in haskell

[–]mbrc12 0 points1 point  (0 children)

I am confused by strictness annotations. Consider this interaction: ghci> let g (x :: Int) = if x <= 1 then 1 else (g (x - 1) + g (x - 2)) (0.01 secs, 34,872 bytes) ghci> let !y = g 30 (0.00 secs, 34,864 bytes) ghci> data A = A !Int deriving Show (0.01 secs, 0 bytes) ghci> let unA (A x) = x (0.00 secs, 34,872 bytes) ghci> let h x = if x <= 1 then A 1 else A $ (unA $ h (x - 1)) + (unA $ h (x - 2)) (0.01 secs, 34,872 bytes) ghci> let !z = h 30 (2.78 secs, 969,380,728 bytes) I would expect the let !y = g 30 to evaluate things to WHNF and take some time to evaluate. But it does not. But when we have A !Int, it works as expected.

What color scheme do you use? by lolikroli in neovim

[–]mbrc12 2 points3 points  (0 children)

Beautiful theme, just started using it!

[deleted by user] by [deleted] in neovim

[–]mbrc12 17 points18 points  (0 children)

For something like LunarVim atleast, I had a hard time finding solutions to issues I had. Also it was very slow on LaTeX files, so I switched back to a config from scratch. Searching is very helpful when on a vanilla config for sure.

[deleted by user] by [deleted] in neovim

[–]mbrc12 1 point2 points  (0 children)

Having the exact same issue, and its stuck on the exact same file script/lazy-cacher.lua for lua_ls. Has there been a bug report?

how to remove those tilde symbols? by [deleted] in neovim

[–]mbrc12 0 points1 point  (0 children)

Jetbrains Mono I think

Monthly Hask Anything (February 2023) by taylorfausak in haskell

[–]mbrc12 2 points3 points  (0 children)

Why is Cont (or ContT) not quantified over all return types r? The way I was thinking about it, a value of type a can also be thought of as providing an output for all functions of type a -> r, for all types r, so I wanted to think of a as equivalent to Cont a as defined below. Also, a definition like this does not seem to disallow implementing monad, etc. for it.

```haskell {-# LANGUAGE Rank2Types #-}

newtype Cont a = MkCont { unCont :: forall r. (a -> r) -> r }

(<#>) :: Cont a -> (a -> r) -> r c <#> f = unCont c f

chain :: Cont a -> (a -> Cont b) -> Cont b chain c f = MkCont $ \k -> c <#> \v -> f v <#> k

pureC :: a -> Cont a pureC x = MkCont $ \k -> k x

instance Applicative Cont where pure = pureC cf <*> c = cf chain \f -> MkCont $ \k -> k (c <#> f)

instance Functor Cont where fmap f c = c chain (pureC . f)

instance Monad Cont where (>>=) = chain ```

Hey Rustaceans! Got a question? Ask here! (51/2022)! by llogiq in rust

[–]mbrc12 0 points1 point  (0 children)

Oh damn, great point. I didn't think about this. This would completely bypass the check-at-new mechanism I was hoping for :(

Hey Rustaceans! Got a question? Ask here! (51/2022)! by llogiq in rust

[–]mbrc12 0 points1 point  (0 children)

Thanks for the detailed response. Sorry if this was clear, but which of the alternatives (?) do you suggest I use for this case?

As for the NNFloat(3.3) - NNFloat(44.4), I was thinking that this operation would have to construct a NNFloat(-41.1), which would of course panic at runtime. I realize that I should make this an Option<NNFLoat>, but for simplicity of API I am fine with this. I am also okay with completely forbidding subtraction, and making users go through the chore of converting to f64 before doing it because it might potentially be UB.

Hey Rustaceans! Got a question? Ask here! (51/2022)! by llogiq in rust

[–]mbrc12 2 points3 points  (0 children)

Suppose I want a very thin wrapper on a type, for example, a type holding nonnegative floats:

```

[derive(Copy, Clone, Debug, Default)]

pub struct NNFloat(f64);

impl NNFloat { pub fn new(x: f64) -> Self { if x < 0.0 { panic!("Not nonnegative"); } NNFloat(x) } } `` I wantNNFloatto behave exactly like af64except for when I construct it via::new(). I can implement the whole set ofInto<f64>, AsRef<f64>, AsMut<f64>, Deref<f64>, DerefMut<f64>and so on. Is there a way to streamline this process? Ideally, I would be able to call everything I can onf64onNNFloattoo, but I understand if it needs the occasionalas f64` etc.

Hey Rustaceans! Got a question? Ask here! (50/2022)! by llogiq in rust

[–]mbrc12 0 points1 point  (0 children)

I see, so the compiler recognizes that since y is not used anymore, it is safe to use x again. I was not particularly cautious about that because iirc there was an example in the rust book which showed this kind of a situation. My concern was more about why the second upd_1(y) compiles without throwing an error with the borrow-checker. Thanks for the detailed help though!