2023, week 14
notes on mamba, denoflare, chromadb etc
Created:
Monday, 2023-04-03 to Sunday, 2023-04-09
Programming
Learnt about Python Mamba – “Mamba is a fast, robust, and cross-platform package manager.”
Fixed mdx_bib
so that I can use it to parse bibtex
entries. See example
here
Denoflare for Deploying Deno on Cloudflare
deno install --unstable --allow-read --allow-net --allow-env --allow-run \
--name denoflare --force \
https://raw.githubusercontent.com/skymethod/denoflare/v0.5.11/cli/cli.ts
crux.land – “A free open-source registry for permanently hosting small Deno scripts”
Encoding datetime
objects to JSON is
not automatic when using the native Python json
library.
The orjson library solves
that issue:
with open(os.path.join(DEST, "sitemeta.json"), "wb") as f:
f.write(
orjson.dumps(
sitemeta,=orjson.OPT_NAIVE_UTC
option| orjson.OPT_INDENT_2
| orjson.OPT_APPEND_NEWLINE,
) )
People
Remembering Bob Lee aka crazybob
LLM
Chroma – “the AI-native open-source embedding database”. Chroma makes it easy to build LLM apps by making knowledge, facts, and skills pluggable for LLMs.
pip install chromadb