-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Structure for expansion of "Ultimate Geography" #603
Comments
IMO, it's important that the maintainers of a repo be willing to maintain the whole content of that repo and not just a part of it; otherwise, we risk ending up with dead parts. This is already a bit of a problem with translations: we, as core maintainers of UG, end up having to translate content ourselves any time there's a change; otherwise, translations would lag behind. Everything is coupled together, which means everything has to be updated at the same time. With multiple repos and proper versioning, each repo can evolve at its own pace. Of course, we could imagine a monorepo set-up of sorts, with "packages" versioned independently from one another. However, I do believe that supporting multiple repos would be more scalable and really help create an
The sky's the limit here. We can easily provide any number of Brain Brew configs, or configs for the selection system that @ohare93 talks about, in order for people to generate the various decks they're interested in learning.
This is definitely the key to the whole thing. People need to be able to generate their own decks, with the notes, fields/models, templates, and translations they want. Each part of those "franken-decks" should be versioned so that they can be updated deterministically. People should be able to add/remove parts and back-up their "franken-deck" configurations. The way I see it, each extension repo could contribute various things to the ecosystem: notes, note models, templates, translations, decks, etc. So there should be a common way to declare these "contribution points". Suffice to say, this will be very complicated to implement.
Multiple notes in a deck can use different note models, right? If so, then I kinda feel like their should be different note models for different types of content. I find that our own note model is already a bit weird to use with some entities like water bodies. Why restrict ourselves and try to fit a square peg into a round hole? UG could very well have different note models, templates and data files for states, territories, water bodies, etc. Then it's a matter of making note models extensible so extension repos can add fields to notes from other repos.
To me this is a problem for the selection system, not for the HG repo (cf. below).
I guess extension decks could contribute "content overrides", for instance: - noteId: <abcd>
fieldName: Capital hint
value: <New hint> I could imagine this being useful also to fix outdated or missing content in case a repo stops being maintained, or even to replace content people disagree with (for instance if someone wants to make a repo that follows another source than Wikipedia.) Then users could ask the selection system to process a configuration such as this (EDIT this is more of a user-facing mental model than a realistic implementation):
Thinking out loud, I think Brain Brew is really not far off from being that "selection system" that we're talking about. Obviously, we'd need a UI on top of it, ideally in the form of an Anki add-on, but Brain Brew's concept of recipes is exactly what we need. One thing that's definitely missing is a standardised way to declare "contribution points" in a repo. This could be a file at the root named "contributions.yml" or simply a standardised file structure similar to UG's. This is so the selection system knows where to look for notes, fields, templates, note models, etc. I recommend attacking the problem from existing needs, of course, rather than to imagine a complete solution with all the bells and whistles: what deck do we want to generate and how to we get there:
Other popular user needs that could be good starting points too:
|
(AAAHHH I wrote a reply and new hit Comment 🙈 Most parts have been addressed by @axelboc but here's what I wrote anyways) Quote away, good sir! 👍 Seems to me like we need to consider there being 4 types of additions that an extended deck can provide:
|
There are several closely-related issues. We're interested in expansions both in terms of additional notes (more "topics" — more autonomous regions, islands, lakes etc.) and additional cards per note (more info, such as pronunciations of names, maybe currencies etc.).
Some slightly chaotic questions (this is a bit of an infodump so that our discussions with @axelboc and @ohare93 aren't forgotten — I haven't had time to make this more organised :/) to be considered (at some point — IMO none of them are critical in the short or medium term):
How should the material be split in terms of repos?
We're currently going with having all additional notes in "hardcore geography", but we might (possibly) later want to switch to having everything in the main deck or split more fine-grainedly.
Also, what about extra cards per note? BrainBrew currently AFAIU doesn't support having deck material split between repos, so it'd seem that all additional info for AUG would have to stay in the
ultimate-geography
, at least for now. However, in the long run, we can change BrainBrew to suit our needs.How should the material be split in terms of decks?
This is related to 1 but slightly different — we can combine material from multiple repos into one deck or produce multiple decks from one repo (actually, we already do — the "standard" and the "extended" decks — though they differ only in the cards per note rather than the content of notes).
We could have the same notes in multiple decks (e.g. both in a "Hardcore Geography" and in a "Lakes" deck).
How could we make the system of allowing the user choose what material to study?
This combines 1 and 2, in a way.
Ideally, the users would be able to pick exactly what they want. Quoting @ohare93 (I hope this is OK — I can't formulate it better):
Should we use the same note models for all "same-level" (having the same cards) decks (i.e. with the exact same styling, same name and same UUID) or separate ones (i.e. similar, possibly even identical in terms of templates/styling, but with different names and UUIDs)?
The note templates likely will be very similar anyway and having the exact same one has the advantage of making things easier for end-users in case they wish to adjust the notes. It also makes it easier for the "mix-and-match" described in 3.
OTOH having the same note model copied among several repos means that updating the decks might have to be synchronised if/when the note models are updated.
Overlapping notes/topics
How do we deal with entities that are split between more than one deck?
For instance, for some of our dependent territories, we include them, but only with country<->map. If we include them in "Hardcore Geography" (or some other deck), do we just include them with capital and flag (i.e. excluding country<->map) or do we duplicate the country<->map card from AUG?
How do we deal with cases where the flag similarities or capital hint is only needed when a user has both (or multiple decks) decks?
In terms of medium-term plans, I don't think that we risk much wasted effort if, as a first stage, we just add all the non-AUG notes to a single, separate repository ("Hardcore Geography") and package it as a single deck. BrainBrew gives us enough flexibility that I don't think that we'll have any issues migrating notes, if necessary, as long as we do it before the first non-core-AUG release. Even after a release there shouldn't be any major user-facing problems provided we have a clean split of one deck into many (e.g. "hardcore geo" -> "lakes", "autonomous territories", "mountains") as opposed to migrating notes between decks in a many-to-many fashion. Autonomous territories are good as a starting point, since we already have a clear demarcation line of what will and won't be in core-AUG (so there's no risk that we'll need to move notes back into the core).
The text was updated successfully, but these errors were encountered: