Posts
Factoids
RSS Reader
Karma
Logs
Tags
Atlas
Back to the channels
#primate
Previous day
17 February 2026 (America/New_York)
Next day
09:10 chovy surrealdb just launched 3.0. or as i like to call it "Fuck The Developer 2"
09:18 blue chovy: then it's good I dropped support for surrealdb in the last version :)
09:19 chovy honestly, i don't know anything but us who used it
09:20 chovy do you support supabase? everyone i see is using it now
09:21 blue chovy: not that I know of. I don't even know what supabase is
09:23 blue supabase sounds more like an api than a db
09:38 chovy its a firebase-like layer ontop of postgres
09:38 chovy its awesome. i have like 19 projects on it right now
09:38 chovy would definitely add official support for primate if i were you
09:38 chovy you can either self host it or use their cloud version for $10/db
09:40 blue primate already supports postgres. if it's just a matter of connecting to a remote server, that's already doable
09:44 blue also, calling a db over an API sounds like a version of hell
10:54 * dreamreal glares at dynamodb
11:42 blue dreamreal: wth is THAT
11:43 blue dreamreal: https://github.com/primate-run/primate/issues/248
11:43 nevet blue mentioned url: https://github.com/primate-run/primate/issues/248 ("Proposal: route schema API for typed validation and OpenAPI generation · Issue #248 · primate-run/primate")
13:18 dreamreal dynamodb
13:18 nevet Dynamo is an AWS document database that guarantees eventual consistency. That means it usually responds within a short amount of time... but there are no guarantees. It's fully acceptable that a write takes place after a month of being issued. Good luck out there! URL: https://aws.amazon.com/dynamodb/ See also: virtually anything else
13:19 dreamreal ... also worth noting: it's acceptable that a READ takes place a month after being issued.
13:32 phaleth hi blue, was the deployment website process all the same as usual?
13:36 phaleth deployment of website*
14:25 blue phaleth: yes
14:25 blue also hi
14:25 blue phaleth: https://github.com/primate-run/primate/issues/248
14:25 nevet blue mentioned url: https://github.com/primate-run/primate/issues/248 ("Proposal: route schema API for typed validation and OpenAPI generation · Issue #248 · primate-run/primate")
14:26 phaleth ok, at least that
14:28 phaleth anyway, I redeployed the website to use node as runtime again, bun was taking too much memory
14:29 blue right
14:29 blue I need to set up a script for openapi.primate.run
14:30 blue I don't have the docker file anymore, and the docs different from what's deployed :(
14:33 phaleth the openapi source is not buildable, been that way for quite some time
14:34 phaleth not sure which dockerfile you mean
14:40 phaleth you can take a look at nspawn/containers/openapi.md in the provision repo
14:42 phaleth hmm, for some reason the openapi container has a wrong ip address
14:42 blue yes. it refers to /app, and currently the openapi container is from /var/www
14:42 blue I think I need to create it completely anew
14:43 phaleth what is the url for the json? https://openapi.primate.run/manifest.json ?
14:43 phaleth yeah, it's broken
14:44 blue hm? it wored just earlier today
14:44 blue did you change anything
14:45 phaleth nope, but now it has wrong IP
14:46 phaleth trying to fix that
14:47 blue oh
14:54 phaleth hmm, it's not really an nginx container
14:56 phaleth it looks like primate repo is deployed in that openapi container, weird
14:57 phaleth looks like the only option is to rebuild the container, which should fail
15:00 blue ya
15:00 blue it should be a static container that serves `generated` from that repo
15:00 blue I'm not sure why the git repo is actually inside the container
15:04 phaleth actually, it works https://openapi.primate.run/manifest.json
15:10 blue nice, how to redeploy?
15:10 blue dreamreal: https://openapi.primate.run/spec/bytenews.json
15:12 phaleth yeah, well, sometimes it does not build so need to retry
15:12 phaleth weird
15:12 blue do you have a script for it?
15:12 blue I got many containers scripted, but not this one
15:12 phaleth to redeploy you gotta follow all the steps in nspawn/containers/openapi.md in provision repo in our gitea
15:12 phaleth I've just updated the container file, if the build fails then simply retry
15:12 blue ah, where is the containerfile?
15:13 phaleth in nspawn/containers/openapi.md in provision repo in our gitea
15:13 blue ah ok
15:13 blue if you're not updating the gh one, can I delete it?
15:14 blue that way I don't accidentally go there and see old stuff
15:15 phaleth yeah, sure
15:15 phaleth that one is too old by now
15:18 blue done, deleted
15:18 blue anything else I need to delete?
15:18 blue provisor-cli-wrapper, docs, website, orglist, provisor-zig-fail, nginx-old-cfg
15:18 blue if you don't need anything, I'll delete all of them
15:19 blue I'll leave the repopack org to retain the name, but not have any repos there
15:21 blue I mean I'll leave it in place and not delete it
15:21 phaleth nginx-old-cfg can still be useful, but the rest can be wiped out from the face of the earth
15:22 phaleth I think the map cache trick in that nginx config is really cool and confusing at the same time, but it works
15:22 blue done, all deleted aside from that one
15:28 phaleth node 25 is still not LTS, that is strange
15:30 phaleth I think they still consider odd number versions not be well just odd and not LTS
Search posts