summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* speed-up Bayes predictionsdakkar2020-01-25
| | | | this is *probably* correct
* fewer temporary variablesdakkar2020-01-25
| | | | | we can `return` from an inner block, even when that block is executed somewhere else: `return` is lexical!
* nicer scan-dir signaturedakkar2020-01-25
|
* pre-compute more Bayes stuffdakkar2020-01-11
| | | | when all my mails were indexed, it took ages to guess the mailbox
* allow multiple maildirs on cmdlinedakkar2020-01-11
|
* lock when reading, toodakkar2020-01-03
|
* use a set instead of an arraydakkar2020-01-03
|
* binding FTWdakkar2020-01-03
|
* I don't understand this context/flat thingdakkar2019-12-31
|
* better fix for the array type checkdakkar2019-12-31
| | | | | | | the slip seems to take the `:delete` as its own argument, and dies forcig explicit list context on the LHS works, although I'm not sure why it's needed
* avoid type check failuredakkar2019-12-31
|
* work around some weird newline issuesdakkar2019-12-31
|
* more sensible worker count defaultdakkar2019-12-31
|
* log end-of-scandakkar2019-12-29
|
* handle receiving same file more than oncedakkar2019-12-29
| | | | | | `scan-dir`, because of `IO.watch`, can emit the same path multiple times; we don't want messing up the index (especially the bayesian one!) because of that
* better scandirdakkar2019-12-29
| | | | | | * breadth-first, not depth-first * emits an `End` once all files that were there at the start have been emit-ed
* new module extensiondakkar2019-12-29
|
* close files after parsingdakkar2019-12-29
|
* change port from cmdlinedakkar2019-12-29
|
* warn exceptions' normal stringification, not their `.perl`dakkar2019-12-29
|
* 6.d has been stable a whiledakkar2019-12-29
|
* better predictions with small foldersdakkar2019-12-28
|
* no need to .key on pairs we don't care aboutdakkar2019-12-28
|
* more types, counts seems to work better this waydakkar2019-12-28
|
* one more addressdakkar2019-12-28
|
* forget about things when they go to 0dakkar2019-12-28
|
* naive-bayes classifying indexdakkar2019-12-28
| | | | half-tested by hand
* make things faster by doing more work (?!??!)dakkar2019-12-27
|
* ok, the slow bit is looking for the @separatorsdakkar2019-12-27
|
* Log::Timelinedakkar2019-12-27
| | | | apparently reading from the socket is the slowest bit
* types in Storedakkar2019-12-27
|
* some fixes after manual testingdakkar2019-12-27
|
* skip non-mails based on name, firstdakkar2019-12-27
| | | | this saves us trying to parse stuff that we then wouldn't use
* move scan-dir out of Storedakkar2019-12-27
|
* extract addressesdakkar2019-12-27
| | | | | | | | | | tried to add some typing, wanted to return `Positional[Str:D]`, but half the `Array` / `List` methods return `Seq`, empty arrays are untyped, plus https://github.com/rakudo/rakudo/issues/3383 made the whole thing a mess so we're just returning `Iterable`, which is not even parametric, so we can't promise we're returning strings
* restructure store, extract serverdakkar2019-12-26
| | | | | | | | | now Store has a set of Index, which actually do the indexing Store also runs the scan-dir (this may not be ideal, but will do for now) Server handles I/O
* test emaildakkar2018-11-16
|
* test the parserdakkar2018-11-16
|
* look up by refs, not id!dakkar2018-11-09
|
* feature parity!dakkar2018-11-09
|
* fix indentdakkar2018-11-09
|
* in-memory store, and Email classdakkar2018-11-09
|
* move stuff into modulesdakkar2018-11-09