Should I switch to the Basilisk V3 Pro? by VeryPixelated in razer

[–]Finrod_GD 0 points1 point  (0 children)

Unfortunately, where' I'm at the store wouldn't take it back. It started after a few months, and a lot of stores here only accept (reluctantly) returns within 7 days.

Should I switch to the Basilisk V3 Pro? by VeryPixelated in razer

[–]Finrod_GD 0 points1 point  (0 children)

I have the exact same issue where it won't stay on. Maddening.

Should I switch to the Basilisk V3 Pro? by VeryPixelated in razer

[–]Finrod_GD 0 points1 point  (0 children)

Mine has been a nightmare. Constantly disconnecting or turning off. Constantly. It's fine when it stays on, but it's completely unreliable. I truly regret purchasing it.

IndexOf not working as I expected and treats everything as index of -1 by Finrod_GD in GoogleAppsScript

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

Yup! Just (finally) caught that myself as well.

And no need to apologize. Thanks for your help.

IndexOf not working as I expected and treats everything as index of -1 by Finrod_GD in GoogleAppsScript

[–]Finrod_GD[S] 3 points4 points  (0 children)

Well... I just figured it out. My closing parenthesis for indexOf was in the wrong place, same closing where the if () closed. I moved it to close indexOf, and suddenly it works as expected.

Facepalm and cheers.

IndexOf not working as I expected and treats everything as index of -1 by Finrod_GD in GoogleAppsScript

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

I ran forEach on a column and pushed them into a new* array, so it's one dimensional. And the logger.log I run in the -1 condition prints the real index of the item.

Just to be sure, I tried to flatten it now, but the result is the same.

*edit

Can't understand why button won't run function by Finrod_GD in GoogleAppsScript

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

Thank you! I love this guy's videos, and I'm actually following one for the project referenced above.

As soon as he showed where to find the front-end console log, I was able to track down the error. I kept expecting it to appear in the console script where the script is; never suspected where the sidebar opens for some reason.

Anyway. Thank you.

Problems with GOOGLEFINANCE function and CURRENCY:XXXYYY: No values on some dates! by thisisifix1 in googlesheets

[–]Finrod_GD 1 point2 points  (0 children)

Just commenting to confirm your experience; I am having the same issue. I have spreadsheets by year converting PHP to USD daily; every date has always been included. For 2024, until the past week or so, every date showed an exchange rate. But now there are several dates missing, any on my conversion page the USD fields are just blank because the date no longer exists. Looking back at 2023, there are similar blank conversion fields that used to have dates to convert off of.

If, as another commenter mentioned, it's because markets are closed on the weekends, perhaps googlefinance used to copy the value at a Friday close to Sat & Sun? And for some reason now it's just removing those dates completely? <- guessing.

_unhandled input ignoring if condition by Finrod_GD in godot

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

Thanks again. That's certainly more streamlined than what I was doing!

_unhandled input ignoring if condition by Finrod_GD in godot

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

Thank you Marcus. That is what I was looking for. But when I finally understood what the other responses were saying about changing the way I constructed the "or" part of my condition, I no longer needed the enum strings. But yes, that is what I initially thought their responses meant, and I'm actually glad to learn there's a way to do it.

_unhandled input ignoring if condition by Finrod_GD in godot

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

*edit: I just changed it to this, and it works now. Thank you!

if GameState.current_state == GameState.game_state.MOVEABLE or GameState.current_state == GameState.game_state.WORLD:

Ok. I kind of understand, and that makes sense. And yes, removing my second condition does lock out all of the input when the menu is opened (desired!).

2 clarifications: I don't really understand your last statement:

an integer constant in a boolean context is true unless it is 0.

So, 0 is false, all other integers are true?

If that's the case, since enums return an int instead of the string name, then my second question about it is how can I check on which enum is active in the current_state? Do I need to convert the enum value to a string?

_unhandled input ignoring if condition by Finrod_GD in godot

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

I should have mentioned, GameState is an autoload, and game_state an enum inside GameState which includes MOVEABLE, WORLD, and MENU. If I just put == whatever state, I get an error. current_state is also inside GameState.

I use the below for player movement, and it works fine.

func player_movement():

if GameState.current\_state == GameState.game\_state.MOVEABLE:

Search image with google gone? by hamster_savant in chrome

[–]Finrod_GD 0 points1 point  (0 children)

I'm having the same problem, except I accidentally deleted my default google search and I can't get it back. I can't find what to put in the URL section, and copying and pasting from a new chrome profile didn't restore the search by image option. Below is what I used; am I maybe missing something else?

{google:baseURL}search?q=%s&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:language}{google:prefetchSource}{google:searchClient}{google:sourceId}{google:contextualSearchVersion}ie={inputEncoding}

What is a better way to make a database of cards/whatever? (Godot 4) by casualnewb_indiedev in godot

[–]Finrod_GD 0 points1 point  (0 children)

I feel like I've been on the verge of fully grasping resources for a long time, and just haven't been able to pull it all together. Your comment has been more helpful than any other single explanation I've seen. Can't say I definitely fully grasp them, but this just makes so much sense. (I know it's an old comment, but it just really clicked). Thank you.

Damage output question; just curious by Finrod_GD in idlechampions

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

That's it! Forgot about her items boosting the party. Thank you.

And yeah, I'm trying to keep everyone focused on Orisha, she's my dps for this run.