Submit

Back to the channels

#primate

  1. chovy surrealdb just launched 3.0. or as i like to call it "Fuck The Developer 2"
  2. blue chovy: then it's good I dropped support for surrealdb in the last version :)
  3. chovy honestly, i don't know anything but us who used it
  4. chovy do you support supabase? everyone i see is using it now
  5. blue chovy: not that I know of. I don't even know what supabase is
  6. blue supabase sounds more like an api than a db
  7. chovy its a firebase-like layer ontop of postgres
  8. chovy its awesome. i have like 19 projects on it right now
  9. chovy would definitely add official support for primate if i were you
  10. chovy you can either self host it or use their cloud version for $10/db
  11. blue primate already supports postgres. if it's just a matter of connecting to a remote server, that's already doable
  12. blue also, calling a db over an API sounds like a version of hell
  13. * dreamreal glares at dynamodb
  14. blue dreamreal: wth is THAT
  15. blue dreamreal: https://github.com/primate-run/primate/issues/248
  16. 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")
  17. dreamreal dynamodb
  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
  19. dreamreal ... also worth noting: it's acceptable that a READ takes place a month after being issued.
  20. phaleth hi blue, was the deployment website process all the same as usual?
  21. phaleth deployment of website*
  22. blue phaleth: yes
  23. blue also hi
  24. blue phaleth: https://github.com/primate-run/primate/issues/248
  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")
  26. phaleth ok, at least that
  27. phaleth anyway, I redeployed the website to use node as runtime again, bun was taking too much memory
  28. blue right
  29. blue I need to set up a script for openapi.primate.run
  30. blue I don't have the docker file anymore, and the docs different from what's deployed :(
  31. phaleth the openapi source is not buildable, been that way for quite some time
  32. phaleth not sure which dockerfile you mean
  33. phaleth you can take a look at nspawn/containers/openapi.md in the provision repo
  34. phaleth hmm, for some reason the openapi container has a wrong ip address
  35. blue yes. it refers to /app, and currently the openapi container is from /var/www
  36. blue I think I need to create it completely anew
  37. phaleth what is the url for the json? https://openapi.primate.run/manifest.json?
  38. phaleth yeah, it's broken
  39. blue hm? it wored just earlier today
  40. blue did you change anything
  41. phaleth nope, but now it has wrong IP
  42. phaleth trying to fix that
  43. blue oh
  44. phaleth hmm, it's not really an nginx container
  45. phaleth it looks like primate repo is deployed in that openapi container, weird
  46. phaleth looks like the only option is to rebuild the container, which should fail
  47. blue ya
  48. blue it should be a static container that serves `generated` from that repo
  49. blue I'm not sure why the git repo is actually inside the container
  50. phaleth actually, it works https://openapi.primate.run/manifest.json
  51. blue nice, how to redeploy?
  52. blue dreamreal: https://openapi.primate.run/spec/bytenews.json
  53. phaleth yeah, well, sometimes it does not build so need to retry
  54. phaleth weird
  55. blue do you have a script for it?
  56. blue I got many containers scripted, but not this one
  57. phaleth to redeploy you gotta follow all the steps in nspawn/containers/openapi.md in provision repo in our gitea
  58. phaleth I've just updated the container file, if the build fails then simply retry
  59. blue ah, where is the containerfile?
  60. phaleth in nspawn/containers/openapi.md in provision repo in our gitea
  61. blue ah ok
  62. blue if you're not updating the gh one, can I delete it?
  63. blue that way I don't accidentally go there and see old stuff
  64. phaleth yeah, sure
  65. phaleth that one is too old by now
  66. blue done, deleted
  67. blue anything else I need to delete?
  68. blue provisor-cli-wrapper, docs, website, orglist, provisor-zig-fail, nginx-old-cfg
  69. blue if you don't need anything, I'll delete all of them
  70. blue I'll leave the repopack org to retain the name, but not have any repos there
  71. blue I mean I'll leave it in place and not delete it
  72. phaleth nginx-old-cfg can still be useful, but the rest can be wiped out from the face of the earth
  73. phaleth I think the map cache trick in that nginx config is really cool and confusing at the same time, but it works
  74. blue done, all deleted aside from that one
  75. phaleth node 25 is still not LTS, that is strange
  76. phaleth I think they still consider odd number versions not be well just odd and not LTS

Search posts