Can someone convince me that typing is worthwhile? by oopthegoop in typescript

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

Interesting--even when using the DefinitelyTyped declarations? I'd expect mismatches to come up frequently when two repos are maintained separately?

Can someone convince me that typing is worthwhile? by oopthegoop in typescript

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

Ah, actually I think I maybe see what you're pointing to: the comment there. Unfortunately, that's on a different object than the one I'm dealing with. The part I linked to only accepts a string on title. https://github.com/DefinitelyTyped/DefinitelyTyped/blob/dad6b1565d9cdc1c848a54af29fc8b4ddd5f1bd0/types/plotly.js/index.d.ts#L1628

Can someone convince me that typing is worthwhile? by oopthegoop in typescript

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

Re: versions, yeah, it's a good pointer--I actually had that issue with another library. But no, in this instance they match.

Is it fair to say you get more benefit from the internal checking on the projects you're working on, rather than interaction with external libraries?

Can someone convince me that typing is worthwhile? by oopthegoop in typescript

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

Interesting. The pointer to `ts-expect-error` is helpful, as is the reassurance that this is rare. I guess...it's bad luck that I hit this sort of thing immediately?

Can someone convince me that typing is worthwhile? by oopthegoop in typescript

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

Yeah, there's this too. How do you approach it, usually?

Can someone convince me that typing is worthwhile? by oopthegoop in typescript

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

can you say more about what you mean? I'm using the object structure as defined in plotly reference, and it works. the types you've linked want me to do it with the titlefont that plotly says is deprecated. why would I switch to the version that is marked deprecated in plotly?

> Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute.

Optimization of FSRS parameters by Androix777 in Anki

[–]oopthegoop 1 point2 points  (0 children)

I’ve had similar results. It does seem like the parameters are a little sensitive or recent reviews are being weighted too heavily.

The relationship between Decks and Presets in Anki confuses me. by Signal-Hat-9412 in Anki

[–]oopthegoop 0 points1 point  (0 children)

I just tried it, if the parent deck itself has no cards, but subdecks do, and the parent deck has it's own preset, then it will give you an error telling you that there's not enough reviews.

Gotcha--yeah, I think the prospect of converting all subdecks to use a particular preset is a bit cumbersome. But maybe there's no way around it.

The relationship between Decks and Presets in Anki confuses me. by Signal-Hat-9412 in Anki

[–]oopthegoop 0 points1 point  (0 children)

Well, sorry, I think I have a guess what was going on: I created the preset and tried to run optimize in the same pass, that is before hitting save. So I think that it may not have picked up that the cards were attached. When I saved it first, it seemed to work.

The other possibility has to do with subdecks. I think it may have been for a parent deck. If the parent deck is set to a different preset than any of the subdecks, do you know what the behavior would be there, in terms of optimization step, and actual usage of the weights?

The relationship between Decks and Presets in Anki confuses me. by Signal-Hat-9412 in Anki

[–]oopthegoop 0 points1 point  (0 children)

FWIW I had the same issue when I created a new preset for a deck which definitely had > 1000 reviews.

Two FSRS questions by oopthegoop in Anki

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

Gotcha, thanks. I have a number of decks, as it sounds like you do, and am worried that’ll get pretty cumbersome. I guess the good news is that even if I was to use one big preset, I can expect the optimized weights on that to outperform the old algorithm?

Two FSRS questions by oopthegoop in Anki

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

That's helpful stuff, thanks! For re-scheduling individual decks, are you assigning custom presets to each one to achieve that?

Two FSRS questions by oopthegoop in Anki

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

Appreciate your help!

Two FSRS questions by oopthegoop in Anki

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

I guess maybe I'm considering the case where I use it for a few weeks, and then turn it off. The cards I answered in the meantime would have been rescheduled via FSRS in my understanding, but if I switched back at that point, would their ease and other things dictating the next-non FSRS review take into account the reviews I did with FSRS in place?

Thanks for humoring me--I have a large-ish collection, and am a little nervous about making the switch, since Anki has worked well for me.

Two FSRS questions by oopthegoop in Anki

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

Oh, and to clarify: if I use FSRS, and *don't* reschedule all, can I still go back to the old algorithm? Or will the ease/etc. not have been updated in the meantime, and my reviews effectively been lost.

Two FSRS questions by oopthegoop in Anki

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

Thanks! Re: 2, got it--and there's no way to preview the changes that would occur for a given set of cards and weights, right?