author | date_published |
---|---|
Ben Perlmutter (https://github.com/bpmutter) |
2023-28-10 |
prompt to generate image
author | date_published |
---|---|
Ben Perlmutter (https://github.com/bpmutter) |
2023-28-10 |
prompt to generate image
date_published | last_updated |
---|---|
2023-26-05 |
2023-10-12 |
And why I don't care for have mixed opinions on their libraries
I was recently looking at the LangChain python documentation website when I was doing some research on architecting a vector search/LLM chatbot. (something like this).
When need to change path capitalization in git history, things get confusing b/c Mac/Linux file system treats upper and lowercase of a letter the same.
For example things get annoying when you try to change Models/cat.js
to models/Cat.js
.
It gets even weirder if you have a local Models/cats.js
file and the remote has models/cats.js
.
To get the git history synced between local and remote:
git ls-files
to see the different directories that the OS has consolidated into one.{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"additionalProperties": false, | |
"definitions": { | |
"json_expression": { | |
"type": ["integer", "object"] | |
}, | |
"function": { | |
"type": "object", | |
"description": "Configuration for an Atlas Function", |
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd http://www.google.com/schemas/sitemap-image/1.1 http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | |
<url> | |
<loc>https://victoriousseo.com/</loc> | |
<lastmod>2022-08-11T16:27:30+00:00</lastmod> | |
</url> | |
<url> | |
<loc>https://victoriousseo.com/services/keyword-research/</loc> | |
<lastmod>2021-12-09T19:21:21+00:00</lastmod> | |
</url> | |
</urlset> |
// usage: bluehawk exec path/to/config.[js|ts|json] | |
interface ConfigAction { | |
action: "snip" | "copy" | "check"; | |
input: string; | |
output: string; | |
ignore?: string[]; | |
state?: string; | |
format?: "rst" | "md" | "docusaurus"; // or arbitrary string perhaps? | |
} |
// refactor of example from https://www.mongodb.com/docs/realm/web/graphql-apollo-react/#run-a-query | |
// Connect to your MongoDB Realm app | |
const app = new Realm.App(APP_ID); | |
// use setInterval to refresh token before it expires | |
// rather than running before every GQL request | |
const TWENTY_FIVE_MIN_IN_MS = 1500000; | |
setInterval(() => { | |
await app.currentUser?.refreshCustomData(); |