Artifact
68f40043d58950f6fb72c4908280276d83e574c32635490aab46a44c825a4381:
Wiki page
[HaskerDeux] by
simon
2018-06-05 10:28:04.
0000: 44 20 32 30 31 38 2d 30 36 2d 30 35 54 31 30 3a D 2018-06-05T10:
0010: 32 38 3a 30 34 2e 35 39 34 0a 4c 20 48 61 73 6b 28:04.594.L Hask
0020: 65 72 44 65 75 78 0a 4e 20 74 65 78 74 2f 78 2d erDeux.N text/x-
0030: 6d 61 72 6b 64 6f 77 6e 0a 55 20 73 69 6d 6f 6e markdown.U simon
0040: 0a 57 20 33 35 30 36 0a 23 20 48 61 73 6b 65 72 .W 3506.# Hasker
0050: 64 65 75 78 20 2d 20 41 20 53 69 6d 70 6c 65 20 deux - A Simple
0060: 43 6f 6d 6d 61 6e 64 20 4c 69 6e 65 20 43 6c 69 Command Line Cli
0070: 65 6e 74 20 66 6f 72 20 54 65 75 78 64 65 75 78 ent for Teuxdeux
0080: 20 69 6e 20 48 61 73 6b 65 6c 6c 0d 0a 0d 0a 57 in Haskell....W
0090: 72 69 74 74 65 6e 20 77 69 74 68 20 74 68 65 20 ritten with the
00a0: 64 75 61 6c 20 70 75 72 70 6f 73 65 20 6f 66 20 dual purpose of
00b0: 62 65 69 6e 67 20 61 20 6c 65 61 72 6e 69 6e 67 being a learning
00c0: 20 65 78 65 72 63 69 73 65 20 66 6f 72 20 48 61 exercise for Ha
00d0: 73 6b 65 6c 6c 20 61 6e 64 20 61 6c 73 6f 20 62 skell and also b
00e0: 65 63 61 75 73 65 20 49 20 72 65 61 6c 6c 79 20 ecause I really
00f0: 77 61 6e 74 65 64 20 61 20 63 6f 6d 6d 61 6e 64 wanted a command
0100: 20 6c 69 6e 65 20 74 6f 6f 6c 20 66 6f 72 20 5b line tool for [
0110: 54 65 75 78 64 65 75 78 5d 28 68 74 74 70 3a 2f Teuxdeux](http:/
0120: 2f 74 65 75 78 64 65 75 78 2e 63 6f 6d 29 2e 20 /teuxdeux.com).
0130: 41 73 20 69 74 20 73 74 61 6e 64 73 20 74 68 69 As it stands thi
0140: 73 20 69 73 20 61 20 62 69 74 20 72 6f 75 67 68 s is a bit rough
0150: 20 61 6e 64 20 72 65 61 64 79 2c 20 62 75 74 20 and ready, but
0160: 69 74 20 64 6f 65 73 20 77 6f 72 6b 2e 0d 0a 0d it does work....
0170: 0a 49 74 20 75 73 65 64 20 74 6f 20 75 73 65 20 .It used to use
0180: 4e 65 74 77 6f 72 6b 2e 43 75 72 6c 2c 20 62 75 Network.Curl, bu
0190: 74 20 49 20 63 61 6e 27 74 20 67 65 74 20 74 68 t I can't get th
01a0: 61 74 20 74 6f 20 77 6f 72 6b 20 61 6e 79 6d 6f at to work anymo
01b0: 72 65 20 73 6f 20 49 27 6d 20 64 6f 69 6e 67 20 re so I'm doing
01c0: 73 74 72 61 69 67 68 74 20 73 79 73 74 65 6d 20 straight system
01d0: 63 61 6c 6c 73 20 74 6f 20 63 75 72 6c 20 77 68 calls to curl wh
01e0: 69 63 68 20 6d 65 61 6e 73 20 69 74 27 73 20 6e ich means it's n
01f0: 6f 74 20 76 65 72 79 20 48 61 73 6b 65 6c 6c 79 ot very Haskelly
0200: 20 61 6e 64 20 75 6c 74 69 6d 61 74 65 6c 79 20 and ultimately
0210: 61 20 62 69 74 20 6f 66 20 61 20 70 6f 69 6e 74 a bit of a point
0220: 6c 65 73 73 20 75 73 65 20 6f 66 20 48 61 73 6b less use of Hask
0230: 65 6c 6c 2c 20 62 75 74 20 69 74 27 73 20 66 6f ell, but it's fo
0240: 72 20 6d 65 2c 20 73 6f 20 74 68 65 72 65 2e 0d r me, so there..
0250: 0a 0d 0a 23 23 20 53 74 61 74 75 73 0d 0a 0d 0a ...## Status....
0260: 41 6c 69 76 65 21 20 4f 66 66 69 63 69 61 6c 20 Alive! Official
0270: 73 74 61 74 75 73 20 69 73 20 22 4d 65 73 73 79 status is "Messy
0280: 20 61 6e 64 20 77 6f 72 6b 73 20 66 6f 72 20 6d and works for m
0290: 65 2c 20 75 6e 6c 69 6b 65 6c 79 20 74 6f 20 69 e, unlikely to i
02a0: 6d 70 72 6f 76 65 22 3b 20 49 74 20 77 61 73 20 mprove"; It was
02b0: 64 65 61 64 20 66 6f 72 20 79 65 61 72 73 20 62 dead for years b
02c0: 65 63 61 75 73 65 20 49 20 64 69 64 6e 27 74 20 ecause I didn't
02d0: 74 68 69 6e 6b 20 69 74 20 77 61 73 20 70 6f 73 think it was pos
02e0: 73 69 62 6c 65 20 74 6f 20 67 65 74 20 74 68 65 sible to get the
02f0: 20 6e 65 77 20 41 50 49 20 74 6f 20 77 6f 72 6b new API to work
0300: 2e 0d 0a 0d 0a 0d 0a 23 23 20 52 65 71 75 69 72 .......## Requir
0310: 65 6d 65 6e 74 73 0d 0a 0d 0a 59 6f 75 20 6e 65 ements....You ne
0320: 65 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 ed the following
0330: 20 48 61 73 6b 65 6c 6c 20 70 61 63 6b 61 67 65 Haskell package
0340: 73 20 69 6e 73 74 61 6c 6c 65 64 3a 0d 0a 0d 0a s installed:....
0350: 2d 20 44 61 74 61 2e 4c 69 73 74 2e 53 70 6c 69 - Data.List.Spli
0360: 74 0d 0a 2d 20 54 65 78 74 2e 4a 53 4f 4e 0d 0a t..- Text.JSON..
0370: 0d 0a 49 20 61 6c 73 6f 20 73 75 67 67 65 73 74 ..I also suggest
0380: 20 79 6f 75 20 63 6f 6d 70 69 6c 65 20 69 74 20 you compile it
0390: 74 6f 20 75 73 65 20 69 74 20 2d 20 69 74 27 73 to use it - it's
03a0: 20 6d 75 63 68 20 66 61 73 74 65 72 20 74 6f 20 much faster to
03b0: 75 73 65 20 74 68 61 74 20 77 61 79 2e 20 4a 75 use that way. Ju
03c0: 73 74 20 64 6f 20 60 67 68 63 20 2d 2d 6d 61 6b st do `ghc --mak
03d0: 65 20 68 61 73 6b 65 72 64 65 75 78 2e 68 73 60 e haskerdeux.hs`
03e0: 2e 20 49 66 20 79 6f 75 20 64 6f 6e 27 74 20 63 . If you don't c
03f0: 6f 6d 70 69 6c 65 20 69 74 20 74 68 65 6e 20 72 ompile it then r
0400: 65 70 6c 61 63 65 20 60 2e 2f 68 61 73 6b 65 72 eplace `./hasker
0410: 64 65 75 78 60 20 69 6e 20 74 68 65 20 65 78 61 deux` in the exa
0420: 6d 70 6c 65 73 20 62 65 6c 6f 77 20 77 69 74 68 mples below with
0430: 20 60 72 75 6e 68 61 73 6b 65 6c 6c 20 68 61 73 `runhaskell has
0440: 6b 65 72 64 65 75 78 2e 68 73 60 2e 0d 0a 0d 0a kerdeux.hs`.....
0450: 0d 0a 23 23 20 46 65 61 74 75 72 65 73 2f 43 6f ..## Features/Co
0460: 6d 6d 61 6e 64 73 0d 0a 0d 0a 48 61 73 6b 65 72 mmands....Hasker
0470: 64 65 75 78 20 77 6f 72 6b 73 20 69 6e 20 74 68 deux works in th
0480: 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 77 61 79 3a e following way:
0490: 0d 0a 0d 0a 60 68 61 73 6b 65 72 64 65 75 78 20 ....`haskerdeux
04a0: 3c 64 61 74 65 3e 20 3c 63 6f 6d 6d 61 6e 64 3e <date> <command>
04b0: 20 3c 6f 70 74 69 6f 6e 61 6c 20 61 72 67 73 3e <optional args>
04c0: 60 0d 0a 0d 0a 49 2e 65 2e 20 74 68 65 20 64 61 `....I.e. the da
04d0: 74 65 20 73 75 70 70 6c 69 65 64 20 69 73 20 74 te supplied is t
04e0: 68 65 20 64 61 74 65 20 74 68 65 20 63 6f 6d 6d he date the comm
04f0: 61 6e 64 73 20 61 63 74 20 6f 6e 2e 20 49 74 20 ands act on. It
0500: 75 6e 64 65 72 73 74 61 6e 64 73 20 22 74 6f 64 understands "tod
0510: 61 79 22 2c 20 22 74 6f 6d 6f 72 72 6f 77 22 20 ay", "tomorrow"
0520: 61 6e 64 20 64 61 74 65 73 20 69 6e 20 22 59 59 and dates in "YY
0530: 59 59 2d 4d 4d 2d 44 44 22 20 66 6f 72 6d 61 74 YY-MM-DD" format
0540: 2e 20 41 6c 6c 20 63 6f 6d 6d 61 6e 64 73 20 72 . All commands r
0550: 65 63 6f 67 6e 69 73 65 20 61 6e 64 20 72 65 71 ecognise and req
0560: 75 69 72 65 20 61 20 64 61 74 65 2e 0d 0a 0d 0a uire a date.....
0570: 49 74 20 69 6e 63 6c 75 64 65 73 20 74 68 65 20 It includes the
0580: 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6d 6d 61 6e following comman
0590: 64 73 3a 20 0d 0a 0d 0a 0d 0a 23 23 23 20 54 6f ds: ......### To
05a0: 64 6f 73 0d 0a 0d 0a 46 6f 72 20 6c 69 73 74 69 dos....For listi
05b0: 6e 67 20 74 6f 64 6f 73 20 6f 6e 6c 79 20 28 61 ng todos only (a
05c0: 73 20 74 68 61 74 20 69 73 20 61 6c 6c 20 49 20 s that is all I
05d0: 77 61 6e 74 20 74 6f 20 73 65 65 29 0d 0a 0d 0a want to see)....
05e0: 60 68 61 73 6b 65 72 64 65 75 78 20 74 6f 64 61 `haskerdeux toda
05f0: 79 20 74 6f 64 6f 73 60 0d 0a 60 68 61 73 6b 65 y todos`..`haske
0600: 72 64 65 75 78 20 74 6f 6d 6f 72 72 6f 77 20 74 rdeux tomorrow t
0610: 6f 64 6f 73 60 0d 0a 60 68 61 73 6b 65 72 64 65 odos`..`haskerde
0620: 75 78 20 32 30 31 37 2d 30 32 2d 32 38 20 74 6f ux 2017-02-28 to
0630: 64 6f 73 60 0d 0a 0d 0a 54 68 69 73 20 72 65 74 dos`....This ret
0640: 75 72 6e 73 20 61 20 6e 75 6d 62 65 72 65 64 20 urns a numbered
0650: 6c 69 73 74 2c 20 6c 69 6b 65 20 73 6f 3a 0d 0a list, like so:..
0660: 0d 0a 09 30 20 2d 20 57 72 69 74 65 20 52 45 41 ...0 - Write REA
0670: 44 4d 45 20 66 6f 72 20 48 61 73 6b 65 72 64 65 DME for Haskerde
0680: 75 78 0d 0a 09 31 20 2d 20 57 72 69 74 65 20 42 ux...1 - Write B
0690: 6c 6f 67 20 70 6f 73 74 20 61 62 6f 75 74 20 48 log post about H
06a0: 61 73 6b 65 72 64 65 75 78 0d 0a 09 32 20 2d 20 askerdeux...2 -
06b0: 53 70 6c 69 74 20 64 65 76 65 6c 6f 70 6d 65 6e Split developmen
06c0: 74 20 77 6f 72 6b 20 69 6e 20 64 69 66 66 65 72 t work in differ
06d0: 65 6e 74 20 62 72 61 6e 63 68 0d 0a 09 33 20 2d ent branch...3 -
06e0: 20 50 65 72 68 61 70 73 20 64 6f 20 73 6f 6d 65 Perhaps do some
06f0: 20 61 63 74 75 61 6c 20 77 6f 72 6b 20 79 6f 75 actual work you
0700: 20 61 72 65 20 70 61 69 64 20 74 6f 20 64 6f 0d are paid to do.
0710: 0a 0d 0a 59 6f 75 20 63 61 6e 20 75 73 65 20 74 ...You can use t
0720: 68 6f 73 65 20 6e 75 6d 62 65 72 73 20 77 69 74 hose numbers wit
0730: 68 20 74 68 65 20 50 75 74 4f 66 66 20 61 6e 64 h the PutOff and
0740: 20 43 72 6f 73 73 4f 66 66 20 63 6f 6d 6d 61 6e CrossOff comman
0750: 64 73 2c 20 65 74 63 2e 0d 0a 0d 0a 23 23 23 20 ds, etc.....###
0760: 4e 65 77 0d 0a 0d 0a 46 6f 72 20 63 72 65 61 74 New....For creat
0770: 69 6e 67 20 6e 65 77 20 74 61 73 6b 73 0d 0a 0d ing new tasks...
0780: 0a 60 68 61 73 6b 65 72 64 65 75 78 20 74 6f 64 .`haskerdeux tod
0790: 61 79 20 6e 65 77 20 22 3c 41 20 74 6f 64 6f 20 ay new "<A todo
07a0: 69 74 65 6d 20 66 6f 72 20 74 6f 64 61 79 3e 22 item for today>"
07b0: 60 0d 0a 60 68 61 73 6b 65 72 64 65 75 78 20 74 `..`haskerdeux t
07c0: 6f 6d 6f 72 72 6f 77 20 6e 65 77 20 22 3c 41 20 omorrow new "<A
07d0: 74 6f 64 6f 20 69 74 65 6d 20 66 6f 72 20 74 6f todo item for to
07e0: 6d 6f 72 72 6f 77 3e 22 60 0d 0a 0d 0a 23 23 23 morrow>"`....###
07f0: 20 50 75 74 4f 66 66 0d 0a 0d 0a 46 6f 72 20 70 PutOff....For p
0800: 75 74 74 69 6e 67 20 6f 66 66 20 61 20 74 61 73 utting off a tas
0810: 6b 20 75 6e 74 69 6c 20 74 68 65 20 6e 65 78 74 k until the next
0820: 20 64 61 79 2e 0d 0a 0d 0a 60 68 61 73 6b 65 72 day.....`hasker
0830: 64 65 75 78 20 74 6f 64 61 79 20 70 75 74 6f 66 deux today putof
0840: 66 20 3c 74 61 73 6b 6e 75 6d 62 65 72 20 66 72 f <tasknumber fr
0850: 6f 6d 20 74 6f 64 6f 73 20 6c 69 73 74 3e 60 0d om todos list>`.
0860: 0a 0d 0a 45 2e 67 3a 0d 0a 0d 0a 60 68 61 73 6b ...E.g:....`hask
0870: 65 72 64 65 75 78 20 74 6f 64 61 79 20 70 75 74 erdeux today put
0880: 6f 66 66 20 33 60 0d 0a 0d 0a 23 23 23 20 4d 6f off 3`....### Mo
0890: 76 65 54 6f 0d 0a 0d 0a 46 6f 72 20 6d 6f 76 69 veTo....For movi
08a0: 6e 67 20 61 20 74 61 73 6b 20 74 6f 20 61 6e 6f ng a task to ano
08b0: 74 68 65 72 20 64 61 74 65 2e 0d 0a 0d 0a 60 68 ther date.....`h
08c0: 61 73 6b 65 72 64 65 75 78 20 74 6f 64 61 79 20 askerdeux today
08d0: 6d 6f 76 65 74 6f 20 3c 74 61 73 6b 6e 75 6d 62 moveto <tasknumb
08e0: 65 72 20 66 72 6f 6d 20 74 6f 64 6f 73 20 6c 69 er from todos li
08f0: 73 74 3e 20 3c 64 61 74 65 20 69 6e 20 59 59 59 st> <date in YYY
0900: 59 3a 4d 4d 3a 44 44 3e 60 0d 0a 0d 0a 45 2e 67 Y:MM:DD>`....E.g
0910: 3a 0d 0a 0d 0a 60 68 61 73 6b 65 72 64 65 75 78 :....`haskerdeux
0920: 20 74 6f 64 61 79 20 6d 6f 76 65 74 6f 20 31 31 today moveto 11
0930: 20 32 30 31 32 2d 30 39 2d 30 31 60 0d 0a 0d 0a 2012-09-01`....
0940: 23 23 23 20 43 72 6f 73 73 4f 66 66 0d 0a 0d 0a ### CrossOff....
0950: 46 6f 72 20 6d 61 72 6b 69 6e 67 20 61 20 74 61 For marking a ta
0960: 73 6b 20 61 73 20 63 6f 6d 70 6c 65 74 65 0d 0a sk as complete..
0970: 0d 0a 60 68 61 73 6b 65 72 64 65 75 78 20 74 6f ..`haskerdeux to
0980: 64 61 79 20 63 72 6f 73 73 6f 66 66 20 3c 74 61 day crossoff <ta
0990: 73 6b 6e 75 6d 62 65 72 20 66 72 6f 6d 20 74 6f sknumber from to
09a0: 64 6f 73 20 6c 69 73 74 3e 60 0d 0a 0d 0a 23 23 dos list>`....##
09b0: 23 20 44 65 6c 65 74 65 0d 0a 0d 0a 46 6f 72 20 # Delete....For
09c0: 63 6f 6d 70 6c 65 74 65 6c 79 20 72 65 6d 6f 76 completely remov
09d0: 69 6e 67 20 61 20 74 61 73 6b 0d 0a 0d 0a 60 68 ing a task....`h
09e0: 61 73 6b 65 72 64 65 75 78 20 74 6f 64 61 79 20 askerdeux today
09f0: 64 65 6c 65 74 65 20 3c 74 61 73 6b 6e 75 6d 62 delete <tasknumb
0a00: 65 72 20 66 72 6f 6d 20 74 6f 64 6f 73 20 6c 69 er from todos li
0a10: 73 74 3e 60 0d 0a 0d 0a 0d 0a 23 23 20 55 73 69 st>`......## Usi
0a20: 6e 67 20 2e 6e 65 74 72 63 20 46 6f 72 20 53 74 ng .netrc For St
0a30: 6f 72 69 6e 67 20 55 73 65 72 6e 61 6d 65 20 61 oring Username a
0a40: 6e 64 20 50 61 73 73 77 6f 72 64 0d 0a 0d 0a 49 nd Password....I
0a50: 74 27 73 20 63 6f 6d 70 75 6c 73 6f 72 79 2e 20 t's compulsory.
0a60: 49 74 20 75 73 65 64 20 74 6f 20 73 75 70 70 6f It used to suppo
0a70: 72 74 20 70 61 73 73 69 6e 67 20 75 73 65 72 6e rt passing usern
0a80: 61 6d 65 2f 70 61 73 73 77 6f 72 64 20 61 73 20 ame/password as
0a90: 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 20 61 72 67 command line arg
0aa0: 73 2c 20 62 75 74 20 6e 6f 20 6d 6f 72 65 2e 20 s, but no more.
0ab0: 54 68 65 20 60 3c 75 73 65 72 6e 61 6d 65 3e 60 The `<username>`
0ac0: 20 61 6e 64 20 60 3c 70 61 73 73 77 6f 72 64 3e and `<password>
0ad0: 60 20 61 72 65 20 72 65 61 64 20 66 72 6f 6d 20 ` are read from
0ae0: 60 2e 6e 65 74 72 63 60 2e 20 4a 75 73 74 20 61 `.netrc`. Just a
0af0: 64 64 20 61 6e 20 65 6e 74 72 79 20 74 6f 20 60 dd an entry to `
0b00: 2e 6e 65 74 72 63 60 20 61 73 20 66 6f 6c 6c 6f .netrc` as follo
0b10: 77 73 3a 0d 0a 0d 0a 09 6d 61 63 68 69 6e 65 20 ws:.....machine
0b20: 74 65 75 78 64 65 75 78 2e 63 6f 6d 0d 0a 09 09 teuxdeux.com....
0b30: 6c 6f 67 69 6e 20 73 75 70 65 72 70 72 6f 63 72 login superprocr
0b40: 61 73 74 69 6e 61 74 6f 72 0d 0a 09 09 70 61 73 astinator....pas
0b50: 73 77 6f 72 64 20 6d 79 73 65 63 72 65 74 70 61 sword mysecretpa
0b60: 73 73 77 6f 72 64 0d 0a 0d 0a 4f 72 20 74 68 65 ssword....Or the
0b70: 20 73 69 6e 67 6c 65 20 6c 69 6e 65 20 66 6f 72 single line for
0b80: 6d 61 74 3a 0d 0a 0d 0a 09 6d 61 63 68 69 6e 65 mat:.....machine
0b90: 20 74 65 75 78 64 65 75 78 2e 63 6f 6d 20 6c 6f teuxdeux.com lo
0ba0: 67 69 6e 67 20 73 75 70 65 72 70 72 6f 63 72 61 ging superprocra
0bb0: 73 74 69 6e 61 74 6f 72 20 70 61 73 73 77 6f 72 stinator passwor
0bc0: 64 20 6d 79 73 65 63 72 65 74 70 61 73 73 77 6f d mysecretpasswo
0bd0: 72 64 0d 0a 0d 0a 49 74 20 73 68 6f 75 6c 64 20 rd....It should
0be0: 77 6f 72 6b 20 6f 6b 20 77 69 74 68 20 65 69 74 work ok with eit
0bf0: 68 65 72 20 66 6f 72 6d 61 74 2e 20 49 74 20 77 her format. It w
0c00: 6f 6e 27 74 20 77 6f 72 6b 20 69 66 20 79 6f 75 on't work if you
0c10: 20 68 61 76 65 20 73 70 61 63 65 73 20 69 6e 20 have spaces in
0c20: 79 6f 75 72 20 70 61 73 73 77 6f 72 64 20 74 68 your password th
0c30: 6f 75 67 68 2e 0d 0a 0d 0a 0d 0a 23 23 20 44 65 ough.......## De
0c40: 76 65 6c 6f 70 6d 65 6e 74 0d 0a 0d 0a 4e 6f 70 velopment....Nop
0c50: 65 2e 0d 0a 0d 0a 0d 0a 23 23 20 54 68 61 6e 6b e.......## Thank
0c60: 73 0d 0a 0d 0a 53 6f 6d 65 20 72 65 73 6f 75 72 s....Some resour
0c70: 63 65 73 20 74 68 61 74 20 68 65 6c 70 65 64 20 ces that helped
0c80: 6d 65 20 66 69 67 75 72 65 20 74 68 69 73 20 6f me figure this o
0c90: 75 74 3a 0d 0a 0d 0a 2d 20 5b 41 20 48 61 73 6b ut:....- [A Hask
0ca0: 65 6c 6c 20 4e 65 77 62 69 65 73 20 47 75 69 64 ell Newbies Guid
0cb0: 65 20 74 6f 20 54 65 78 74 2e 4a 53 4f 4e 5d 28 e to Text.JSON](
0cc0: 68 74 74 70 3a 2f 2f 77 77 77 2e 61 6d 61 74 65 http://www.amate
0cd0: 75 72 74 6f 70 6f 6c 6f 67 69 73 74 2e 63 6f 6d urtopologist.com
0ce0: 2f 62 6c 6f 67 2f 32 30 31 30 2f 31 31 2f 30 35 /blog/2010/11/05
0cf0: 2f 61 2d 68 61 73 6b 65 6c 6c 2d 6e 65 77 62 69 /a-haskell-newbi
0d00: 65 73 2d 67 75 69 64 65 2d 74 6f 2d 74 65 78 74 es-guide-to-text
0d10: 2d 6a 73 6f 6e 2f 29 20 61 6e 64 20 65 73 70 65 -json/) and espe
0d20: 63 69 61 6c 6c 79 20 74 68 65 20 63 6f 6d 6d 65 cially the comme
0d30: 6e 74 73 20 65 78 70 6c 61 69 6e 69 6e 67 20 74 nts explaining t
0d40: 68 65 20 67 65 6e 65 72 69 63 20 61 70 70 72 6f he generic appro
0d50: 61 63 68 2e 0d 0a 2d 20 46 6f 72 20 74 68 65 20 ach...- For the
0d60: 6e 65 77 20 41 50 49 20 61 6e 64 20 6d 61 6b 69 new API and maki
0d70: 6e 67 20 6d 65 20 72 65 61 6c 69 73 65 20 69 74 ng me realise it
0d80: 20 77 61 73 20 70 6f 73 73 69 62 6c 65 20 74 6f was possible to
0d90: 20 6d 61 6b 65 20 74 68 69 73 20 77 6f 72 6b 20 make this work
0da0: 6f 6e 63 65 20 61 67 61 69 6e 2c 20 5b 64 6d 69 once again, [dmi
0db0: 33 27 73 20 54 65 75 78 44 65 75 78 20 55 6e 6f 3's TeuxDeux Uno
0dc0: 66 66 69 63 69 61 6c 20 41 50 49 20 66 6f 72 20 fficial API for
0dd0: 50 79 74 68 6f 6e 5d 28 68 74 74 70 73 3a 2f 2f Python](https://
0de0: 67 69 74 68 75 62 2e 63 6f 6d 2f 64 6d 69 33 2f github.com/dmi3/
0df0: 74 65 75 78 64 65 75 78 29 2e 0a 5a 20 34 31 30 teuxdeux)..Z 410
0e00: 35 33 34 31 37 64 65 65 64 36 64 64 34 33 30 65 53417deed6dd430e
0e10: 34 61 65 34 33 32 34 37 36 36 66 32 38 0a 4ae4324766f28.