Submit

Back to the channels

#repopack

  1. blue stagas: if you like kilocode I'll check out if it has a server mode, because that's needed for repopack chat
  2. blue I only support opencode now because that's what I use. but I plan to add support for codex and claude code
  3. stagas it has "local model server" i find in the settings
  4. stagas is it that? or something else
  5. blue that could be it
  6. blue it's like a daemon mode
  7. stagas they might not have it
  8. stagas https://ibb.co/XZ3m2MLQ
  9. nevet image hosted at ImgBB
  10. stagas that's all it has
  11. blue stagas: "Yes, Kilo Code uses a local server called kilo serve on your machine, as well as optional cloud services"
  12. blue apparently it's enough to run `kilo serve`, very cool
  13. stagas ah nice
  14. blue because these servers are the prerequisite for hosted agents and so on
  15. stagas it's so much stuff it's hard to keep up with all that
  16. blue so basically the idea is, currently I have opencode running locally. and I use both its tui app and also it's a server. I have like four tmux sessions running three tabs (I have one tmux session per repopack project, one tab is implementer, one tab is reviewer, one tab is 'security reviewer')
  17. blue repopack chat replaces the tui part. it connects to my local opencode server, so I can get rid of tmux and all those tabs and sessions that confuse me
  18. blue but the server part still runs on my computer. so when I restart or whatever, everything is lost. also, my computer isn't the strongest
  19. blue so the idea of hosted agents is, I run the opencode server on some vps
  20. blue I can turn off this computer, go to sleep, and continue exactly where I stopped
  21. stagas yes i thought about running codex cli also remotely, didn't know it can be a server, so then the desktop/cli app connects to that?
  22. blue yes
  23. blue that's the idea of repopack chat
  24. blue you run codex cli as server, then repopack chat can connect to it
  25. blue you can run it on your computer or any vps
  26. stagas hope openai give us a reset to celebrate 6.2 :P
  27. stagas you saw the launch article? it improves in all benchmarks over 6.1, finishes tasks with less tokens, and i see it is faster. so it's faster, cheaper and better
  28. blue I haven't seen. I will switch to it soon and also read the article, very exciting
  29. blue nice, opencode already has sol 6.2
  30. blue stagas: what is -astra? is this new?
  31. blue stronger than sol?
  32. stagas it's not new it was in 6.1 also
  33. stagas but it's very expensive
  34. stagas $100 i think vs $20
  35. blue I also see in pricing that they no longer have terra and luna for 6.2
  36. blue maybe they retired them and only have sol and astra now?
  37. stagas prolly nobody is using them since they don't deliver. luna 6.0 to change a variable is fine
  38. blue yup
  39. blue stagas: I got codex installed and connected. adding support for it to repopack chat
  40. stagas nice
  41. stagas btw you saw this? https://runta.com/blog/introducing-frontierharness-eval-v1-1/
  42. stagas apparently codex cli (and probably the desktop app) uses the least tokens
  43. blue well in that case stagas, it makes sense for repopakc chat to support codex too.. and I'll switch to it as well, since I'd be getting the same ui anyway via the web
  44. stagas i can't believe how good codex is at designing 3d meshes from photographs
  45. stagas like one could just do that and sell them
  46. stagas it's very hard to find clean 3d meshes
  47. stagas free
  48. blue interesting
  49. stagas and i wouldn't be able to find these things anywhere, like wastebins, the trams, ubahn sbahn, police cars, ambulances, they're all from berlin photographs
  50. stagas authentic
  51. stagas nevermind all the landmark buildings
  52. stagas the skyscrapers the antenna
  53. phaleth are those meshes triangular? in other words made of triangles, or is it more like a solid geometry made out of closed B-spline surface volumes?
  54. stagas triangles
  55. stagas i've made the first rewarding gameplay mechanic, you collect beer bottles you find under wastebins
  56. stagas which is so characteristic
  57. stagas you'll probably use that score to exchange other goods
  58. stagas like buy a doner kebap
  59. stagas or pay the entrance to the club
  60. phaleth germans are well rewarded for bottles at malls, would not leave them on streets
  61. phaleth I guess if it's not made of too many triangles then those models should be efficient, but when it's a bottle with cylindrical shape or something like that not too sure
  62. phaleth the cool thing about those meshes is that they can be baked into wasm modules directly and then loading them in web browser is fast
  63. phaleth no need for an obj file or whatever 3D mesh format
  64. stagas i have no idea how it's doing it, or if it's generating them at runtime, there are some precomputed like the hair and character rigs and walking/running animations that are json.gz
  65. stagas but i'm spending a lot of time optimizing
  66. stagas so whatever the bottleneck (pun intended) we are solving it early
  67. stagas because my pc is crap and i want good fps as well
  68. phaleth json.gz, hmm, sounds like threejs is used behind the scenes
  69. phaleth I remember digging into json.gz files alot when I worked with a three-js based viewer
  70. stagas nein threejs would have been a dead end. it's all custom shaders
  71. stagas i'm rendering a TON of stuff
  72. phaleth ah, ok, then it's just the format that is similar, I expect in those json.gz files you will find lots of arrays with numeric values that can be processed in parallel
  73. stagas json.gz saves you from decoding the .gz because the browser does it, and saves you from having a mesh format decoder, which would be 5mb and would take time to decode
  74. stagas and the sizes are fine
  75. phaleth yeah, size of an obj file is too much for the browser, that's for sure
  76. stagas the walking/running/swimming and dance moves were all .fbx before
  77. phaleth anyway, all those models are static, so you just need to separate out textures from there and the geometry itself can be baked into wasm directly as C code or however you can compile to wasm
  78. stagas and a few mb and with json they're down to kbs, idk why
  79. phaleth can't remember what is fbx used for, but you know all these formats are optimized for desktop applications, not for the web browser, on desktop the size does not matter too much
  80. stagas phaleth: have you been to Berlin?
  81. phaleth nope
  82. stagas here is your chance https://berlin.stagas.me/ :D
  83. phaleth heh
  84. stagas cold start 17.9mb only
  85. stagas 6s
  86. stagas and i haven't really spent time on optimizing that
  87. stagas i was focused on the game perf
  88. blue oh wow stagas that killed my browser
  89. stagas lol which browser
  90. blue brave
  91. stagas odd
  92. blue but I have a ton of agents running the background
  93. blue I guess they're eating a lot of memory
  94. blue btw I switched to sol 6.2, it's so fast
  95. stagas yea
  96. blue I will soon try out codex because you said it's much better than opencode
  97. stagas it's a bit taking things too literally, need to explain more in the prompt
  98. stagas like it does what i say, but it's not what i wanted :)
  99. stagas they need to improve that
  100. blue heh
  101. stagas maybe because i'm on Low most of the time
  102. stagas but it's odd it has never crashed the browser here, and my pc is crap
  103. blue I'll try after a fresh start
  104. blue phaleth: repopack.com is now running primate 0.45.2, 922 should work now
  105. stagas i'm profiling the startup and will try to fix it and then i'll ask you to try again when you can
  106. stagas there is a hang when shaders compile of 5s
  107. stagas that might be it
  108. blue could be. for now the entire browser froze, I needed to kill it from the terminal
  109. blue for me*
  110. stagas ah that has happened to me
  111. stagas i think i've found what it is
  112. blue awesome
  113. blue "On a local test project with 920 closed tasks, the Closed page’s HTML was 95% smaller, and median time to response headers fell from 1,062 ms to 59 ms. Browser, PostgreSQL, and docs tests passed."
  114. blue phaleth: ^
  115. blue (this is with pagination)
  116. stagas it's because in Berlin it's freezing so it's realistic the freeze
  117. stagas :P
  118. blue lol
  119. stagas should be good now if you want to retry
  120. stagas omg this vps is so slow, i'm not getting >500kb/s
  121. phaleth pagination, ok
  122. blue retrying stagas
  123. blue interesting, it loads for a second or two, then freezes
  124. stagas uhm error in the console?
  125. blue then goes back to loading after a while, then freezes again
  126. blue I'll try to open it, need to wait for unfreezing
  127. stagas yes some ops are blocking, you have to wait maybe
  128. blue oh wow it loaded!
  129. blue oh wow stagas this is incredible
  130. blue btw after flying berghain I got stuck in a wall :P
  131. stagas come in
  132. stagas or you left
  133. blue I left, I'll rejoin soon
  134. stagas :D
  135. stagas thanks
  136. phaleth blue: not sure if that's repopack or primate error https://repopack.com/project/repopack/tasks/928
  137. blue looking phaleth
  138. phaleth ah, forgot to start db :D
  139. phaleth well, still got the error
  140. phaleth ok, there was one migration pending, now it seems to be running
  141. blue yeah, calnker said it's db reachability
  142. blue please close 928 if it's not a problem anymore
  143. blue dreamreal: fyi; rp cli has switched to 30-day token sessions, extended indefinitely. the web ui session is 7-days, extended indefinitely as well
  144. blue that should solve most of your timeout issues, I think
  145. phaleth maybe it is a primate problem, it could say that the db connection has been refused, but it threw the error in esbuild instead
  146. blue k, I'll consult with clanker
  147. phaleth heh, the position of the pagination buttons isn't great, but now there is pagination :)
  148. blue 929 fixed that
  149. blue redeploying
  150. phaleth heh, ok
  151. blue https://repopack.com/project/primate/tasks/428
  152. blue phaleth: ^
  153. dreamreal ooo thank you
  154. blue yw
  155. dreamreal damn it why is the release channel not available
  156. dreamreal every time you tell me something's updated, I go to release it, 503
  157. blue what release channel?
  158. dreamreal Just did rp update
  159. dreamreal got a 503
  160. dreamreal there it goes
  161. blue → rp update
  162. blue updated rp 2a19ad7a -> 9e9b6528 on channel unstable
  163. blue ~ via  v26.13.0 took 3s
  164. blue → rp update --channel stable
  165. blue updated rp 9e9b6528 -> 0.2.0 on channel stable
  166. blue ~ via  v26.13.0
  167. blue → rp update --channel stable
  168. blue rp 0.2.0 is already current on channel stable
  169. blue oh. sorry. the 503 is me redeploying repopack.com
  170. blue I thought probably create a 0.2.1
  171. phaleth dreamreal: heh, unlucky
  172. blue I should*
  173. blue that happened to him TWICE today
  174. blue anyway, I'll cut rp 0.2.1, been a while. it's not needed for the session timeouts, but useful anyway
  175. phaleth primate takes a while to start
  176. dreamreal then cut over to be more durable
  177. dreamreal it's happened with flog, it's happened with rp, I know it's like being hit with a quark but it's happened twice to me
  178. phaleth maybe in traefik there is some sort of configurable timeout, to tell it disconnect the prior container and switch to new one after some more time
  179. blue maybe
  180. blue honestly if we have one user encountering this timeouts twice in two days, we should make the cutover a bit more stable. that's on me I think, rps currently stops the runtime
  181. blue it does so so it can safely apply the migrations
  182. blue however, 1) not all updates have migrations, and that's detectable and more important 2) zero downtime is a possibility, it just needs planning
  183. dreamreal could just be me being horribly unlucky with it, but it's not like you're going "hey update in the next five second" and bang, it doesn't work
  184. phaleth :D
  185. blue well dreamreal I currently redeploy around 20 times a day, and phaleth doesn't really mess around with haproxy THAT often
  186. blue so yeah, the first time was you being unlucky
  187. blue the second time should be avoidable with zero downtime cutover
  188. phaleth I can tell repopack is being redeployed often lately, yeah
  189. phaleth but sometimes it's uptime goes up to two days, for example when clanker was idle
  190. blue but also I have to be honest about: this is clear alpha/beta behaviour. we're moving fast, and while we're not breaking intentionally, we're also not holding back updates when we need them
  191. blue this isn't the standard to expect of this service
  192. dreamreal I'm not complaining except when I am
  193. blue it's ok, you're the customer in this case, you have a right to complain
  194. blue we should do better
  195. dreamreal eh, I'm not complaining as much as observing
  196. dreamreal just in case you don't know
  197. phaleth stackoverflow and other well established services still have such moments
  198. blue dreamreal: rp 0.2.1 is published
  199. dreamreal nobody noticed when SO goes down any more
  200. dreamreal because it has no users any more
  201. blue true
  202. phaleth right
  203. blue the thing about runtime is this, and it's like every other sort of negative feedback. you could be up 99.99% of the time (and repopack.com probably fulfills that metric, quantifiably), but it doesn't matter of users hit downtimes
  204. phaleth stackoverflow prolly figures out how to scale itself down to zero when nobody needs it and then suddenly tries to become available returning 503
  205. blue lol
  206. blue phaleth: https://repopack.com/project/primate/tasks/428
  207. phaleth contabo alone is already bellow 99.99%
  208. blue ya, true
  209. phaleth hmm, why would clanker polute the quickstart?
  210. phaleth otherwise looks good I guess
  211. phaleth now the pagination button are where one would think they might be
  212. blue yup
  213. phaleth the amount of JS didn't increase with primate 0.45.2, which is good
  214. blue yes
  215. stagas ok the new domain is berlin.urt.one

Search posts