changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > org > notes / demo-notes.org

changeset 11: d3b409127294
parent: 4839b0675118
author: Richard Westhaver <ellis@rwest.io>
date: Thu, 15 Aug 2024 21:48:42 -0400
permissions: -rw-r--r--
description: refactorin
1 * ideas
2 :PROPERTIES:
3 :ID: 9b5624bb-f007-435d-86bb-bef449cdd088
4 :END:
5 ** use branches for separate levels of expansion
6 :PROPERTIES:
7 :ID: f806f14c-bd32-4e40-8577-4a85b459d9fd
8 :END:
9 - or perhaps some other VC feature.. although I don't want any
10  parallel to time, as if expansions occur in sequence. Thus things
11  like tags don't feel quite right.
12 * research
13 :PROPERTIES:
14 :ID: ea7be421-5cf6-410c-a9db-780e6a4404ac
15 :END:
16 for libraries, always prefer [[https://common-lisp-libraries.readthedocs.io/][defacto libs]]
17 ** [[https://github.com/screenshotbot/screenshotbot-oss][screenshotbot-oss]]
18 :PROPERTIES:
19 :ID: 72fedd7c-45a0-4739-873a-9cf666eecd85
20 :END:
21 - monolithic repo, includes third-party dependencies
22  - full quicklisp source
23  - asdf, etc
24 - addresses many of my concerns about running CL in prod
25 - the repo is too heavy for my liking though
26 - I do like the idea of having many systems though
27 ** DB
28 :PROPERTIES:
29 :ID: a1aacfb1-6a12-4520-951f-b287f1117923
30 :END:
31 *** CLIENT
32 :PROPERTIES:
33 :ID: 64210280-8c8d-4cf3-867f-616083a76e18
34 :END:
35 **** [[https://github.com/fukamachi/mito][mito]]
36 :PROPERTIES:
37 :ID: fb0b87e2-ff06-4eb7-b7c4-f43dc6d6a538
38 :END:
39 ORM, sqlite, postgres, mysql support
40 **** [[https://github.com/fukamachi/cl-dbi][cl-dbi]]
41 :PROPERTIES:
42 :ID: e387a864-12d7-4691-a4d2-b0e4a6db027f
43 :END:
44 database independent interface
45 **** [[https://github.com/fukamachi/sxql][sxql]]
46 :PROPERTIES:
47 :ID: 276f0663-15d2-4331-9432-dec95ee57a4c
48 :END:
49 SQL generator
50 *** SERVICE
51 :PROPERTIES:
52 :ID: 66e6bcb1-fba3-418b-bc17-8f888a3f4f4a
53 :END:
54 **** [[https://github.com/launchbadge/sqlx][sqlx]]
55 :PROPERTIES:
56 :ID: 839a78e1-873b-4fe7-991e-0c1780d0840e
57 :END:
58 - supports rustls, tokio
59 - we should write the service queries using a common-lisp DSL!
60  #+begin_src toml
61  sqlx = { version = "0.7", features = [ "runtime-tokio", "tls-rustls", "any", "chrono" ] }
62  #+end_src
63 ** LOGGING
64 :PROPERTIES:
65 :ID: e87feb9d-67d8-409f-afc1-35e39edae80f
66 :END:
67 *** CLIENT
68 :PROPERTIES:
69 :ID: 762cb089-4f9f-4b5c-9e98-f2d57042da9b
70 :END:
71 **** [[https://github.com/sharplispers/log4cl/][log4cl]]
72 :PROPERTIES:
73 :ID: 97e2c6ce-155c-492b-8f8f-590147f85250
74 :END:
75 supports slime well
76 *** SERVICE
77 :PROPERTIES:
78 :ID: 57c4e64a-b661-4a53-b779-c5f1624eed1a
79 :END:
80 **** [[https://crates.io/crates/tracing][tracing]]
81 :PROPERTIES:
82 :ID: f9fd8886-8285-4264-916b-8a7e03a24e5e
83 :END:
84 **** [[https://crates.io/crates/tokio-console][tokio-console]] - monitoring tool
85 :PROPERTIES:
86 :ID: 45a5a757-cd3e-4fe2-ad66-bb0a3e5fdd05
87 :END:
88 works with tracing using the [[https://crates.io/crates/console-subscriber][console-subscriber]] crate
89 ** UI
90 :PROPERTIES:
91 :ID: 9789c081-93d1-4eab-b7b6-9089cf6de3ca
92 :END:
93 [[https://mcclim.common-lisp.dev/][mcclim]]
94 [[https://slint-ui.com/][slint-ui]]
95 [[https://github.com/rabbibotton/clog][clog]]