Community
Chat Logs
Friday, May 8, 2026
- bluehi phaleth
- phalethhi blue
- phalethI've been lurking and found https://github.com/railwayapp/railpack which looks like something we might need
- nevetGitHub - railwayapp/railpack: Zero-config application builder that automatically analyzes and turns your code into an image
- phalethlooks like it builds debian based images
- phaleththe idea itself is good I think
- phalethran into this bug https://github.com/containers/podman/pull/28454 well, actually that's the bugfix, just not released yet
- nevetfix(#28429): OCIRuntime field in SpecGenerator is ignored when called through HTTP Rest API by aadi58002 路 Pull Request #28454 路 containers/podman
- phalethit's good that someone reported the problem
- bluewhat's it do?
- blueoh btw yesterday I discovered podman-tui, tried to install via aur, it went straight to go compilation so I ditched it
- phalethlets you choose the container runtime, via CLI that works, it's a bugfix for REST API
- bluearch is so bad sometimes, I'm way too old to be compiling software
- jreicherblue: k9s?
- phalethyeah, well, I'm trying to avoid CLIs for the automation
- bluejreicher: I won't touch kubernetes with a 9-yard-stick
- bluephaleth: and yes, the principle behind railpack is essential the same like repopack
- blueexcept of course, using a web app and not spitting out a docker file
- bluethis is the deal, right? I *still* need to deploy the thing somewhere
- phalethrailpack does not output Dockerfile
- phalethit uses buildkit LLB, which I think is something worth taking notes about
- bluebut we will also have a `rp` cli that does essentially the same, but deploys to rp.com
- bluemy idea is something like `rp deploy`, then you get `deployed to https://[hash].repopack.app`
- bluebut we will need something like `rp login` or so because obviously you need some user association there
- bluebut essentially my dream flow is running just one command in my repo and getting a url that I can open
- blueand then rince repeat
- phalethoh, you mean CLI for the enduser, that's for sure gonna be very handy as people want to script things
- blueya
- bluebtw, phaleth, I was looking at Temporal last night, and oh boy, that is a dumpster fire of complexity
- blueso node 26 has it, deno apparently has it too, bun doesn't have it because webkit doesn't have it
- bluehttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal
- nevetTemporal - JavaScript | MDN
- bluelook at this bible-long garbage
- blueit took them 9 years to come up with THIS?
- bluethe amount of don'ts is terrible
- blue"Don't assume that era is a user-friendly string; use toLocaleString() to format your date instead."
- blueyeah, good luck giving devs a bunch of don'ts
- phalethyeah, well, dealing with datetimes and timezones has always been a pain
- blueI think I will skip that and create @rcompat/time. dates are complex, but this API is *not* a good answer
- phalethnah, just don't bother
- blueI have good ideas, and you know how it is when I have good ideas
- blueI waste time on them
- phalethjust stitch together something quick and dirty and hardcode it to repopack
- phalethif it works out you can create a lib out of that later
- blue`import time from "@rcompat/time"; const t = time.ref(Date | string | number); t.stamp();`
- blueyeah I don't actually need any of this for RP
- phaleththat's good, then no need to bother at all
- phalethfor repopack you can always convert time on frontend anyway, will that make the site slower? yes, but who cares, it's a tiny bit slower
- bluethat's what you should do, anyway
- phalethagreed
- bluewe will store TIMESTAMPTZ in the postgres db
- phalethnew Date().getTimezoneOffset() / 60
- blueand we will get a date object
- bluebecause p.date maps to TIMESTAMPTZ
- phaleththat should return -2 for you, and timestamps in postgres are all GMT
- blueUTC, yes
- phalethyeah
- phalethnow you need to figure out how to calc time diffs to be able to add those -2 or whatever and that way you replace the whole library
- blueya
- bluebut you know, I just want simple APIs. the two mortal sins of CS are caching and overengineering
- blue`epochNanoseconds`
- bluereal use case right there right now. JS in airplanes, coming to your next starport!
- blue`Temporal.PlainYearMonth`
- bluecome ON
- bluethis is so bad
- blueit took them nine years to come up with this monstrosity
- blueno thank you, I prefer `Date` over that with all its gotchas
- phalethyeah, waste of time
- blueI think they copied some stuff from https://docs.oracle.com/javase/8/docs/api/java/time/temporal/Temporal.html
- nevetTemporal (Java Platform SE 8 )
- blueI mean, the Java API is its own level of crazy with stuff like `ThaiBuddhistDate`
- blueMinguoDate ???
- bluewhy is everything so bad
- bluewait till we colonise mars, they'll invent java.time.chromo.MarsTime
- bluechrono*
- blueanyway, point being, I ain't using Temporal in JS
- bluephaleth: given repopack.com/[0]/[1], do you prefer calling 0 org or namespace?
- phaletha participant
- phalethor a member
- blueso conceptually it can be a user or an organisation
- bluemember sounds good to me for now, we can also call it user and have user types
- phalethforgot to say I need to reboot the server
- phalethblue: any clue what's wrong here? https://upaste.de/raw/FDq
- bluephaleth: did you restart the server?
- phalethtrying to add the --prod flag to pnpm install
- phalethblue: yes, I did, forgot to warn
- blueall good
- blueI'm just monitoring contabo a bit for reliability
- bluehm, that's pnpm being a pain in the butt
- phaleth--prod seems to have effect https://upaste.de/raw/m79
- blueso the problem is (peer)deps inside the monorepo
- bluesome imports might point to .js files, but if `npm run build` hasn't been run at least once, those files won't exist
- bluepnpm is just a garbage tool, that's all. if you run `npm run build` once inside the repo, the next pnpm install would work
- bluemaybe we'll switch to bun from pnpm
- bluebtw I love the new comp
- blueI only just now finished configuring niri and the gang, and it's fabulous
- phalethI've tried switching to bun from pnpm but could not figure out how
- phalethnew comp?
- blueyes, the thinkpad t480 that I'd order like half a year ago
- phalethoh yeah
- blueand then I was slowly building up superarch on it
- blueit's on gitea
- phalethpnpm install just worked two days ago, nothing has change on primate master since
- bluewasn't there the switch to tsgo?
- blueoh, this is still on github, I need to move it to gitea
- bluehttps://github.com/superarch-org/config
- phaleththe switch to tsgo wasn't a problem two days ago
- phalethand there is no new commit since
- bluepnpm sucks
- blueis the container running?
- phalethyeah, but bun cannot replace pnpm
- blueI can pop in and fix it
- phaleththe container is fine
- blueso buildctl is failing?
- phalethyeah, image build is failing
- blueRUN pnpm approve-builds
- bluetry this phaleth
- blueprior to
- blueRUN pnpm install --prod
- phalethok
- blueor just drpo the --prod flag
- bluewhat do you need it for, anyway
- bluewhat's it do?
- blueRUN pnpm install
- blueRUN pnpm -r build
- blueor that other command which builds only the packages relevant for apps/website
- phalethhttps://upaste.de/raw/AAo
- phaleth--prod means it will not bother with devDependencies on pnpm install
- phalethbut it was already failing without --prod
- bluewas that the first link you sent?
- phalethyeah
- blueI get the same warnings when I clone locally
- phalethI think there is a new pnpm version
- blueanyway the prod flag isn't gonna help you
- blueyou need TS to build stuff
- blueand TS is a devdep
- blueif you were an app, it would be OK, because you'd be consuming js from npm or having your bundler transform non-js
- bluebut here you need the TS devdep
- bluejust put
- bluepnpm install && pnpm -r build
- blueinto the build
- bluethat should work
- bluewith tsgo it's gonna be fast anywy
- phalethright, that's true
- phalethRUN npm install -g pnpm@10 <- avoids the problem
- blueyeah, let's pin things to an old version that no one will support anymore
- phalethwelcome to the JS ecosystem
- bluehaha
- bluealso known as the DS ecosystem
- bluedumpster fire script
- phaleththat's DFS
- blueyes but that's already like depth-first search or some other nonsense
- phalethdepth first traversal
- bluejavascript is a joke, and we all know it
- phalethI mean pnpm 10 works better than bun
- blueit's always been a joke to be honest, but the sad thing is that no one's trying to fix it
- phalethyou can try to build the monorepo with bun, but then you will have to change things in the repo I guess
- blueso the reason I haven't done that is simply that most people currently run node
- phalethyeah, bun just comes with their own solution that comes with it's own problems
- blueand I don't *feel* the need to verify that stuff is working on deno/bun, because I have rcompat
- blueyou have no idea how comfortable it is just to write stuff and know it works on all runtimes
- blueusing non-crazy APIs
- phalethI wish npm was able to build these monorepos
- phaleththe way pnpm screws around in the node_modules dir is very odd
- blueyeah, pnpm is doing so odd voodoo magic
- bluesome*
- bluethey all do, because the JS ecosystem is like that