sd

Very efficient flash cards app using Go and SQLite

Commits at 13e921e9c07763a7a5f5b7a10add652efbb55770

  1. 13e921e9 Add > prompt for key Anthony Wang authored at Anthony Wang comitted at
  2. 1bca3da2 Adjust weight function Anthony Wang authored at Anthony Wang comitted at
  3. 71dbd490 Change segmentTree member functions to uppercase Anthony Wang authored at Anthony Wang comitted at
  4. d00b8abc Return from main function instead of os.exit Anthony Wang authored at Anthony Wang comitted at
  5. a6f1a57e Seed RNG if not debugging Anthony Wang authored at Anthony Wang comitted at
  6. 0f9882ea Change billions to millions because sqlite slow :( Anthony Wang authored at Anthony Wang comitted at
  7. 0907db1b More debug logging Anthony Wang authored at Anthony Wang comitted at
  8. 7a082a7f Run gofumpt on everything Anthony Wang authored at Anthony Wang comitted at
  9. 82cca1a6 Add note about segment trees to README Anthony Wang authored at Anthony Wang comitted at
  10. 46c565b6 Add a usage section to README Anthony Wang authored at Anthony Wang comitted at
  11. a6647501 Add an example script for generating Chinese character flashcards Anthony Wang authored at Anthony Wang comitted at
  12. 556149c1 Add note to README about possible C port Anthony Wang authored at Anthony Wang comitted at
  13. 252e4ae4 Move segment tree to separate file Anthony Wang authored at Anthony Wang comitted at
  14. 5ec5caa9 Add Performance section to README Anthony Wang authored at Anthony Wang comitted at
  15. 8962c6b9 Use seg[1] to keep track of sum instead of a sum var Anthony Wang authored at Anthony Wang comitted at
  16. 5719668a Make more of the output debugging output Anthony Wang authored at Anthony Wang comitted at
  17. 4936d52d Use struct for segmentTree Anthony Wang authored at Anthony Wang comitted at
  18. 24d27437 Verbose logging Anthony Wang authored at Anthony Wang comitted at
  19. 8d3e071c Ask for user confirmation before showing val Anthony Wang authored at Anthony Wang comitted at
  20. bd0ff43d Remove extra ints in function declarations Anthony Wang authored at Anthony Wang comitted at
  21. a9c40115 Correctly upate database by maing sure it isn't locked Anthony Wang authored at Anthony Wang comitted at
  22. 7ec4ce70 Choose random cards Anthony Wang authored at Anthony Wang comitted at
  23. 48fefc81 Build segtree from sqlite file Anthony Wang authored at Anthony Wang comitted at
  24. 8cc9e542 Add segment tree implementation Anthony Wang authored at Anthony Wang comitted at
  25. 81fe341a Don't use golang.org/x/term Anthony Wang authored at Anthony Wang comitted at
  26. 2e0dac39 Run go mod tidy Anthony Wang authored at Anthony Wang comitted at
  27. a5977b95 Add golang.org/x/term module for raw input Anthony Wang authored at Anthony Wang comitted at
  28. f038ce57 Add file with main function Anthony Wang authored at Anthony Wang comitted at
  29. d77179fe Use allowlist template for Go .gitignore Anthony Wang authored at Anthony Wang comitted at
  30. 14532c94 Create Go project with go mod init sd Anthony Wang authored at Anthony Wang comitted at