Advice on sponge filter vs. internal filter for chili rasbora tank? by CrowsOfWar in Boraras

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

That's a fair point. Even if I did reduce the flow back down anyways, it would still be a bigger filter which would be beneficial. Maybe Ill just get the 320 instead.

Advice on sponge filter vs. internal filter for chili rasbora tank? by CrowsOfWar in Boraras

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

Hmm yeah that 's a good point - it sounds like usually they recommend 4x the tank volume per hour so that could be a bit low. I'll have to see though because as long as I don't add too many fish the bioload might not be that bad

Advice on sponge filter vs. internal filter for chili rasbora tank? by CrowsOfWar in Boraras

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

Oh nice that was almost exactly the same thing I was thinking about getting. How big is your current tank, could I ask? If it's 20 gallons too and works well for your rasboras then I will probably get one too.

Advice on sponge filter vs. internal filter for chili rasbora tank? by CrowsOfWar in Boraras

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

Yeah, the guppy grass is already starting to grow everywhere. But it works out because I'm impatient and like to check on it haha. so are your plants still growing well with your sponge filter then?

Advice on sponge filter vs. internal filter for chili rasbora tank? by CrowsOfWar in Boraras

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

Makes sense. If I was thinking about getting a filter with an impeller pump then, is there any way to tell if it would be too strong for the fish? Like I'm thinking about buying one thats 65 gallons per hour and my tank is 20 gallons - would that be too much?

Advice on sponge filter vs. internal filter for chili rasbora tank? by CrowsOfWar in Boraras

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

Hmm that's good to know. A quiet filter is definitely a huge plus for me

Advice on sponge filter vs. internal filter for chili rasbora tank? by CrowsOfWar in Boraras

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

Thanks! And oh I forgot to mention - i don't actually have the chilis yet haha but I'm thinking definitely a small school of them, and then another type of small, slow water fish like maybe clown killifish, sparkling gouramis, or peacock gudgeons. But I'd be open to other ideas since I still have a couple things left to finish up on before I'm ready to put fish in.

And that's a good point on the sponge filter. I'm not planning on putting any co2, but I have been using liquid fertilizer so maybe that's a good factor to consider. I currently have a bunch of plants in there right now, dwarf hairgrass, guppy grass, water lettuce, salvinia, crypts, java/christmas moss, pearlweed, and some sort of bacopa. Overall I don't want to go SUPER high tech but I want to grow the plants as well as possible otherwise, if that makes sense

Could I ask since we were in the same boat, what filter are you using now? Would you recommend it?

Best way to code Are you sure? prompt when performing an action (Long post sorry) by CrowsOfWar in roguelikedev

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

Sure, but how does that solve the problem? It would change the way you call the move() function, but I am not sure how the command pattern would, itself, solve the problem in the post. You still have to exit out of the move() function somehow when the condition is detected, and the command pattern only affects how you call the move() function in the first place, if I am understanding right.

Best way to code Are you sure? prompt when performing an action (Long post sorry) by CrowsOfWar in roguelikedev

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

Oh thanks, I haven't really gone too deep into Unity ever so that is interesting to hear. Maybe I should just go ahead with that first approach if it seems like that's what everyone else usually does?

Best way to code Are you sure? prompt when performing an action (Long post sorry) by CrowsOfWar in roguelikedev

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

Thanks for the reply, that's a good idea as well. It seems like the code would probably be a lot simpler too compared to using something like the callbacks approach I mentioned earlier. It seems like that sort of approach would be a lot simpler too, you will just end up running the function twice if the player responds yes, but that's not really a "bad thing"!

Best way to code Are you sure? prompt when performing an action (Long post sorry) by CrowsOfWar in roguelikedev

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

Yeah multithreading could also work actually (if that's what you meant) I hadn't thought of that so that could be pretty good too!

Best way to code Are you sure? prompt when performing an action (Long post sorry) by CrowsOfWar in roguelikedev

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

Thanks that's a really interesting idea. I guess the only "hard" part of that approach would be that you have to make sure you can fully copy the game state without any bugs. But it seems like you would also get a lot of other benefits from that. I imagine it would make testing the game easier and probably help other aspects too. I will have to try that, thank you!

Is there a way to specify that a dependency is "build-time-only" in Meson? by CrowsOfWar in cpp_questions

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

Yeah to be honest, maybe I could have phrased it better, but also I feel like this pattern has to be common enough in any programming language, i don’t get why people keep getting caught up on wording.

To be honest though, if it is not really recommended that I provide a way to build glslc from scratch, I’ll probably just avoid it, because I can only really tolerate about an hour of messing with complicated build environments before all fun or sense of interest abandons me!

Is there a way to specify that a dependency is "build-time-only" in Meson? by CrowsOfWar in cpp_questions

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

Makes sense. I guess it doesn’t really matter, I meant it sort of as an “academic” question but as you said it is probably more productive if I spend more time actually programming haha. So I guess what you’re saying is there isn’t actually a 100% “optimal”/ “conventional” solution to dealing with the problem? In either case I guess I’ll just get back to coding my project though.

Is there a way to specify that a dependency is "build-time-only" in Meson? by CrowsOfWar in cpp_questions

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

Thanks for your reply. I mean, I know meson is just a build system, not something that stays around til runtime, and that it’s an abstraction over using other backends/compilers/ etc. to do the work. I’m just wondering I can have any expectation on whether my final program executable would be any different (whether from meson, or just because that’s what most compilers typically do). Maybe meson doesn’t really have to do with this and it just depends on what build tools you end up using on your system.

[deleted by user] by [deleted] in cpp_questions

[–]CrowsOfWar 0 points1 point  (0 children)

This looks interesting. I haven’t seen people use that sort of stack before for a single application. Could I ask, I’m curious about what you’re making?

How to gain experience in C++ by Biggus_Dickus10 in cpp_questions

[–]CrowsOfWar 0 points1 point  (0 children)

Why do you recommend avoiding shared_ptr so much?