2,159 karma · joined Jun 21, 2020 (6y ago) · 760 submissions
https://github.com/david-allison
gmail: davidallisongithub
Sponsors: https://github.com/sponsors/david-allison/
https://opencollective.com/ankidroid
comment 1d ago · link · parent
> On December 2, 2026, GitHub will enforce the default policy for affected repositories that were using the default pull_request_target policy before general availability.
https://docs.github.com/en/actions/reference/security/secure...
comment 1w ago · link · parent
Could you report this: https://github.com/ankitects/anki
----
For historical reasons, the Android app requests "All files access", if not using the Play Store variant. I'm working to fix this.
We don't need it. The replacement API is 300x slower on some phones[1] and is infeasible to use.[0] It should be possible to use AnkiDroid in a "public" folder, but it no longer needs to be the norm. Times have changed
[0] https://news.ycombinator.com/item?id=43987745
[1] just tested: 966ms for a file delete on my Pixel 9 Pro vs 3ms
comment 1w ago · link · parent
Source: I wrote that AnkiDroid code ~6 years ago.
https://developer.android.com/reference/android/content/Inte...
PS: the menu can be disabled in the "General" settings of AnkiDroid... I need to get around to better onboarding for it.
comment 1mo ago · link · parent
They should be after 2 years, I occasionally get emails, linking: https://support.google.com/accounts/answer/12418290
comment 2mo ago · link · parent
E-waste is awful, as is cutting off old devices. We still backport security fixes to minSdk 21.
To Google's credit, post-21 is a much more pleasant experience and requires very little developer time. API desugaring[0] has worked perfectly, their compatibility classes[1] handle most of the common cases, and there's often very little to actually code[2].
[0] https://developer.android.com/studio/write/java8-support-tab...
[1] https://developer.android.com/jetpack/androidx/releases/appc...
[2] https://github.com/ankidroid/Anki-Android/blob/main/compat/s...
comment 2mo ago · link · parent
* We target minSdk 24
* We're still using XML views
* We target a large variety of form factors
* We have a lot of screens, and these have a lot of configuration options.
I really wish it was "point an agent at it, and walk away", but many screens ended up being hours of iteration with Fable driving my phone/an emulator to produce an acceptable outcome.
Given that my Pixel 9 Pro has system screens which are still broken under edge to edge, it's not an easy change, and takes up time which could have been going towards feature development.
comment 2mo ago · link · parent
The next update won't be huge, (Google required us to make all screens 'edge to edge'[0], which took up most of my time last month). I'm hoping for some solid improvements now that's out the way, once the release pipeline has returned to normal.
Feel free to get in touch if you fancy contributing.
[0] https://developer.android.com/develop/ui/views/layout/edge-t...
comment 3mo ago · link · parent
comment 4mo ago · link · parent
I predict that things will be 'good' within the next 5 years, but your intuition is correct (and the SOTA models are often producing worse prompts than older models).
comment 5mo ago · link · parent
The wrapper around these is very lean, FFI-based[1], it's abstracted to a library so Android devs never need to know there's rust/codegen involved.
We then define a light Kotlin-based wrapper around the protobuf-generated API[2]. This is a candidate to move to Kotlin multiplatform in the near future (mostly for test speed improvements).
[0] https://github.com/ankitects/anki/tree/main/proto
[1] https://github.com/ankidroid/Anki-Android-Backend/blob/a0428...
[2] https://github.com/ankidroid/Anki-Android/blob/68192585a7ae4...
comment 6mo ago · link · parent
It still does. Feel free to use https://unmaintained.tech/ on your repo.
comment 6mo ago · link · parent
1.1 Contribute to society and to human well-being, acknowledging that all people are stakeholders in computing.
1.2 Avoid harm.
1.3 Be honest and trustworthy.
1.4 Be fair and take action not to discriminate.
1.5 Respect the work required to produce new ideas, inventions, creative works, and computing artifacts.
1.6 Respect privacy.
1.7 Honor confidentiality.
2.1 Strive to achieve high quality in both the processes and products of professional work.
2.2 Maintain high standards of professional competence, conduct, and ethical practice.
2.3 Know and respect existing rules pertaining to professional work.
2.4 Accept and provide appropriate professional review.
2.5 Give comprehensive and thorough evaluations of computer systems and their impacts, including analysis of possible risks.
2.6 Perform work only in areas of competence.
2.7 Foster public awareness and understanding of computing, related technologies, and their consequences.
2.8 Access computing and communication resources only when authorized or when compelled by the public good.
2.9 Design and implement systems that are robustly and usably secure.
3.1 Ensure that the public good is the central concern during all professional computing work.
3.2 Articulate, encourage acceptance of, and evaluate fulfillment of social responsibilities by members of the organization or group.
3.3 Manage personnel and resources to enhance the quality of working life.
3.4 Articulate, apply, and support policies and processes that reflect the principles of the Code.
3.5 Create opportunities for members of the organization or group to grow as professionals.
3.6 Use care when modifying or retiring systems.
3.7 Recognize and take special care of systems that become integrated into the infrastructure of society.
4.1 Uphold, promote, and respect the principles of the Code.
4.2 Treat violations of the Code as inconsistent with membership in the ACM.