Commit graph

32 commits

Author SHA1 Message Date
Anthony Wang db359b424a
Mention sdc-git AUR package in README 2024-01-30 22:48:44 -05:00
Anthony Wang 00d60c4620
Don't require -f flag for specifying file (adding -f won't hurt though), allow specifying sd-add card file as argv[1] 2024-01-30 22:42:49 -05:00
Anthony Wang a5bfafa8a7
Use sd binary in same directory as scripts instead of needing to pass path to sd binary 2024-01-30 21:59:19 -05:00
Anthony Wang 33b76d4106
Fix #1: PyQt6 and Tkinter GUIs 2024-01-02 20:06:09 -06:00
Anthony Wang fdd8f1fe2d
Noninteractive mode
This mode accepts inputs with newlines and doesn't disable input buffering. This is useful for using SDC as a backend for GUIs such as https://git.exozy.me/a/SDGUI.
2024-01-02 19:25:44 -06:00
Anthony Wang fce879b5c5
Capitalize SQL statements in sd-add.fish 2024-01-02 23:47:57 +00:00
Anthony Wang 479101f270
Add tips and tricks for common operations 2024-01-02 23:47:05 +00:00
Anthony Wang 97722764e8
Add command for creating table in README, add fish helper scripts 2023-12-29 16:16:25 -06:00
Anthony Wang 63f04f0041
Recommend using WAL for 100% better performance 2023-10-23 14:02:05 -04:00
Anthony Wang 1f36fa09fa
Make sure the sum of weights is positive to avoid undefined behavior 2023-07-19 09:42:08 -05:00
Anthony Wang 012a500fdb
SDC is finished and no new features will be added 2023-06-30 20:08:29 +00:00
Anthony Wang 3f0388f340
Remove unused header files, fix compiler warnings 2023-06-01 09:41:12 -05:00
Anthony Wang 1db25e6c54
Update README with latest performance test information 2023-05-30 14:58:12 -05:00
Anthony Wang 9f316d8e6e
Add testing script that generates deck DB with 10**8 cards
Starting SDC with this DB takes 5 seconds to load all the weights from disk (it's 1.9GB), but after that it's incredibly fast and responsive. Yay segment trees and overengineering!
2023-05-30 14:49:38 -05:00
Anthony Wang fe80a19358
Add missing space 2023-03-17 00:37:37 +00:00
Anthony Wang db559aa991
Fix some compiler warnings 2023-03-16 20:35:33 -04:00
Anthony Wang b1b2e1c521
Check system() return value 2022-12-28 16:00:57 -06:00
Anthony Wang cd9b330a1f
Fix #2: Make sure 0-weight cards are never selected 2022-11-15 19:10:49 -05:00
Anthony Wang a73b0c48a6
Code cleanup 2022-10-20 00:37:37 -04:00
Anthony Wang 6ea6f9c1c6
Rename to SDC 2022-10-20 00:33:23 -04:00
Anthony Wang 87ea08e8f7
Add info about future performance improvements 2022-04-21 12:35:58 -05:00
Anthony Wang 54cacc7d39
Add benchmark results 2022-04-21 12:32:23 -05:00
Anthony Wang 6d05da9986
Remove useless .gitignore 2022-04-21 12:23:25 -05:00
Anthony Wang b890783bf6
Fix another segtree bug 2022-04-19 15:21:14 -05:00
Anthony Wang 03b09cc02a
Clean up code and fix a typo in segmenttree.c 2022-04-19 15:13:09 -05:00
Anthony Wang b95cdd56c2
Actually modify db 2022-04-19 13:04:37 -05:00
Anthony Wang 9009a690b9
Finish porting SD code 2022-04-19 12:54:07 -05:00
Anthony Wang 74b018bf1c
Implement C arg parsing with getopt_long 2022-04-19 08:23:47 -05:00
Anthony Wang 530da23dfc
Start working on C port 2022-04-18 21:10:19 -05:00
Anthony Wang aff6510957
Fix typo in README 2022-04-18 20:56:42 -05:00
Anthony Wang 97165561c9
Update README using stuff from SD 2022-04-18 20:06:20 -05:00
Anthony Wang aaf53bc778
Initial commit 2022-04-18 20:03:31 -05:00