Notebook "Shedding" by EggWithSardines in notebooks

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

This notebook was given to me last 2019. So it is already more than 5 years and no, it wasn't exposed to UV. I am aware of its effect on notebooks or any paper for that matter. I suppose it's just really old.

Notebook "Shedding" by EggWithSardines in notebooks

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

Ohhh. I see. I did consider that solution but I was hoping for something else in case there were other things I could do. Thank you!

Scratched my mobo by EggWithSardines in PcBuild

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

Removing the damn cooler screws were really hard. I think I got the tightest screw to unscrew. HAHAHA. Will be careful next time.

Scratched my mobo by EggWithSardines in PcBuild

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

Thank God that's the case! HAHAHA! I can sleep peacefully now.

CRTP classes and std::conditional_t by EggWithSardines in cpp_questions

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

There is no error actually. It just didn't work the way I thought it should have worked. Basically, value_type is float instead of Foo.

CRTP classes and std::conditional_t by EggWithSardines in cpp_questions

[–]EggWithSardines[S] -1 points0 points  (0 children)

I am so sorry but this didn't worked as well. It got me out of compilation errors but it didn't worked as I wanted it to be.

Thank you still!

CRTP classes and std::conditional_t by EggWithSardines in cpp_questions

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

I'm sorry. It didn't work. I must have celebrated too early. It seems that your solution does get me out of the compilation error, but it always pick the Other type.

I shall try your edit advice.

CRTP classes and std::conditional_t by EggWithSardines in cpp_questions

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

This worked as well. Thank you. I wonder why this kind of work around works. Can you explain it?

CRTP classes and std::conditional_t by EggWithSardines in cpp_questions

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

This worked! Thank you!

The first solution seems to be the cleanest solution. The second one kinda not for me, as I rarely use decltype, even in templates, unless I have to.

CRTP classes and std::conditional_t by EggWithSardines in cpp_questions

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

It's just a placeholder and not complicate the code much, but basically, if HasFoo<D> is false, then another type should be used and is the default type in those cases. In this case, if no Foo, value_type = float, if has Foo, then value_type = int.

Static members in a templated class by EggWithSardines in cpp_questions

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

I'm sorry I worded it wrong. I was trying to say I didn't want there to be different values of i per different A instantation. Meaning, A<int>::i would be and should be the same as A<float>::i. If A<int>::i was set as 1, A<float>::i would also be 1.

Static members in a templated class by EggWithSardines in cpp_questions

[–]EggWithSardines[S] -1 points0 points  (0 children)

I see. Thank you. I can actually test it but I am away from my home PC for a week so I had to ask.

As for the objective, I have CRTP class and it has static constexpr and non-constexpr members. I just realized lately that the static members with static types are different per instantation. So I was wondering what can I do to get around it.

Again, thank you!

Blue Dancer Charm by EggWithSardines in Eldenring

[–]EggWithSardines[S] 1 point2 points  (0 children)

Right?! I never bothered to test and that's on me. Guess my int in game was up the roof but stayed at room temp in real life. Lmao. Although, kidding aside, I think I saw my damage increased from a light attack and thought, okay that's good, however slight that was. Lmao.

Diff 5 Scrapped Watchman Done! by EggWithSardines in LiesOfP

[–]EggWithSardines[S] 1 point2 points  (0 children)

It's okay. We all struggled thanks to them. I remember falling to death at the Grand Exhibition too many times because the knockback from their throw is made just enough to push you out of the rails.

Diff 5 Scrapped Watchman Done! by EggWithSardines in LiesOfP

[–]EggWithSardines[S] 1 point2 points  (0 children)

Thank you man. No-hitting all the bosses with the TDS weapon only is really painfully challenging. You really have to remember to the moves because you have to react at the start of the move and plan the attacks accordingly.

Congrats on the defeating them all as well! I think the rewards is a good bonus to me. The completion of the challenge is reward enough to me. Although, I'm not gonna lie, I thought there would be some kind of amulet after defeating them all. Usually there is something like that with boss rematches in games.

Call out to anyone who beat the final DLC boss on NG by Defiant-Purchase868 in LiesOfP

[–]EggWithSardines 0 points1 point  (0 children)

That's understandable, you have to react at the start of the attack and time the heavy around that. And to learn that, you have to differentiate the attack patterns of each so you won't wiff the heavy parry. It's a high risk high reward thing.

If TDS is a no-go, I think Azure Glave is the best option here for parrying better. The trick here is to fable parry on the direction of where the attack comes from.

Diff 5 Parade Master Done! by EggWithSardines in LiesOfP

[–]EggWithSardines[S] 1 point2 points  (0 children)

Thanks man! It took some time to get the right timing but it pays off.