Submit

Back to the channels

#primate

  1. bot [bun.com] Bun v1.4.3 - https://bun.com/blog/bun-v1.4.3
  2. phaleth using application/x-ndjson looks like a good idea if the client can really start parsing the payload earlier
  3. phaleth I've already enabled compression of application/x-ndjson in haproxy, means for primate website that's ready
  4. phaleth I guess no change for bytecode.news needed since that uses it's own API, not sure
  5. blue hi phaleth
  6. phaleth hi blue
  7. blue flog is getting ready soon
  8. phaleth yeah, is flog gonna be fast?
  9. blue yes
  10. blue also there's a follow-up to turn it into a runtime, and it's quite promising
  11. blue https://repopack.com/project/flog/tasks/10
  12. blue https://repopack.com/project/flog/jobs/7?run=186
  13. blue phaleth: ^
  14. phaleth is it gonna embed v8 and use cgo?
  15. blue probably gonna do handoff
  16. blue `flog app.ts --engine v8`, will handoff to flog-v8
  17. blue default engine probably gonna be qjs or whatver you configure. until dog is ready
  18. blue phaleth, esbuild showed that handoff isn't really as bad as people think. esbuild is actually not implemented as a node module, but as a real executable invoked by `exec` from node
  19. blue the benefits are great, not having to support .node abi means bun and deno can run it in the same speed
  20. blue what flog will do is a bit different: it will hand off to another process, so the other way around from esbuild
  21. phaleth I'd postpone dog until there is a ton of money to burn, web standars is a moving target
  22. phaleth yup, esbuild is shipped as golang binary
  23. blue the only thing I wanna see disappearing is node:, bun: and deno:, in favour of std:
  24. blue that's my main reason for dog, tbh
  25. blue or flog in this case, really. dog is an engine
  26. phaleth yeah, don't worry about engine, it's a ton of wasted time
  27. blue hey, you know me, I liek wasting time :P
  28. blue but yeah. dog isn't a priority
  29. phaleth but for that life is short
  30. blue the only reason to do it is satisfy the dog + master branch joke
  31. blue :P
  32. phaleth flog will already have to have a ton of bindings to v8
  33. blue but as you will see, #10 is deferred: I have no intentions of going the runtime path now until I've moved forward a few other things, mostly repopack
  34. phaleth I think clanker can create some nice single page html for flog.run and that's about it
  35. blue just need flog.run/install for now
  36. phaleth and also the install.sh
  37. blue yes
  38. blue btw, soon I can get rid of the machinectl things for scld
  39. blue it's ported to a repopack project and primate 0.42
  40. phaleth well, I have to create a backend in haproxy config, so it'd be good if there was at least something on https://flog.run/
  41. nevet Primate — The Universal Web Framework
  42. blue and postgres, instead of mongo
  43. blue yes
  44. blue I agree
  45. blue this is coming up
  46. blue https://repopack.com/project/flog/jobs/7?run=186
  47. phaleth yeah, let me know when I should modify the backend for sc
  48. blue phaleth: btw: hit `t` inside any repopack project :P
  49. phaleth yeah, I'd like to see a trust me bro script and a front page at least with the how to install via trust me bro script, I now I can just download the thing
  50. blue yes
  51. blue this is coming
  52. phaleth clanker just spends so much tokens spamming all these repopack tasks and so it should be able to do that no problem
  53. blue 100%, I'm just out of it currently
  54. phaleth heh, ok
  55. phaleth blue: can you merge this one manually? https://repopack.com/project/primate/tasks/191 I've already tested the Containerfile it's fine, then we can deploy the master branch
  56. blue done
  57. phaleth thanks, I will try to deploy the master
  58. blue `rp app deploy web-master`
  59. blue technically it's set to autodeploy on master advances, but there's a repopack bug there
  60. phaleth yeah, how can you remember that
  61. phaleth right
  62. blue well rp always works like that
  63. blue `rp [command] [subommand] [args] [flags]`
  64. blue the only thing you'd need to remember is the app name
  65. blue and if you don't, you issue `rp app list`
  66. blue looks like it's working phaleth
  67. blue remember how a year or so ago I was complaining how hard it was to redeploy reliably on master, with fly?
  68. blue we're almost there now :)
  69. phaleth is repopack queing up these deployments?
  70. phaleth and processing them FIFO style
  71. phaleth anyway, the node's permission model is good enough for containers as containers should limit available ports, unless it has bugs
  72. blue I think it does FIFO, yes, but I'd need to check
  73. phaleth so it seems like deno doesn't solve anything node cannot solve
  74. blue deno is snake oil
  75. phaleth ok, cool
  76. phaleth heh, so is bun
  77. phaleth do you think I should be able to replace nub with flog for the deployment? I guess flog detects node runtime right?
  78. phaleth there is no need for any trust me bro script for that
  79. blue you could try, look at all that flog is already doing https://repopack.com/project/flog/tasks?status=closed
  80. blue when I go back to work on it, as soon as the reset hits, I'll set up flog.repopack.app and then we could point flog.run to it
  81. phaleth alright
  82. blue https://repopack.com/project/repopack/tasks/566
  83. blue need to deploy this as well
  84. blue https://repopack.com/project/flog/jobs/7
  85. blue currently job ids are global, that patch fixes them to be local, like tasks
  86. blue this is important, especially when we switch to uuids for the id field
  87. phaleth the rp CLI is fetched from here https://repopack.com/api/v0/cli/version and that URL is public, is there such URL for flog as well?
  88. phaleth yeah, looks like job ids are public
  89. phaleth or rather in a shared table
  90. phaleth well, flog artifacts are protected
  91. phaleth hmm, wait, I see the pattern
  92. phaleth it's just returning 404
  93. blue you can download it from the ui I think
  94. blue https://repopack.com/project/flog/jobs/7/runs/186/artifacts/flog-0.1.0-job-test-linux-amd64.tar.gz
  95. jreicher What is repopack? I was going to check it out but apparently I need a signin?
  96. blue jreicher: agentic git forge and deployment platform
  97. phaleth blue: yeah, but the container build cannot since that is behind login
  98. phaleth this is public https://repopack.com/api/v0/jobs/1/runs/188/artifacts/ but this isn't https://repopack.com/api/v0/jobs/7/runs/186/artifacts/
  99. phaleth or I guess the second one isn't even routed or so
  100. phaleth jreicher: you will need an invite from blue and there are prolly couple other hoops to get in
  101. blue phaleth: let me fix that
  102. phaleth ok
  103. phaleth manually ;)
  104. blue in fact phaleth
  105. blue you can update it yourself, if you wish
  106. blue rp job info 7
  107. blue does that work for you?
  108. blue (inside the flog checkout)
  109. phaleth I need to be in the flog project I guess
  110. phaleth yeah
  111. blue yes
  112. phaleth let me try then
  113. blue jreicher: you can join #repopack ; I can invite you if you provide me an email
  114. blue anyway phaleth
  115. blue rp job info 7 > /tmp/7.json
  116. blue then edit the json and change artifact_access to "public"
  117. blue then `rp job update 7 [json]`
  118. phaleth ok, heh
  119. jreicher Hmm. What about repopack is "agentic"?
  120. blue phaleth: in one command, rp job update 7 "$(rp job info 7 | jq '.artifact_access = "public"')"
  121. jreicher I don't want to take up your time/effort if it's not something I'm actually going to use
  122. blue phaleth: you might need to rerun the job though I'm not sure, try without rerunning first
  123. phaleth I don't understand the command `rp job update 7 [json]`
  124. blue update the job of that numbre with the given json string
  125. blue look at my one command example with jq
  126. phaleth PATCH /api/v0/jobs/7?project=flog failed: 404 Not Found: <!doctype html>
  127. phaleth that's what your one-liner returned
  128. blue let me check the route
  129. blue jreicher: well, the flow on github is usually, you have issues and PRs. repopack replaces both with 'tasks'. tasks are bound to server branches, and they go through a status cycle of OPEN -> ACTIVE -> REVIEW -> REVISION/READY
  130. blue the flow maximises working with agents to complete agents, and then providing feedback either by operators or by other agents
  131. blue repopack is probably less interesting for you if you don't work with agents
  132. phaleth or maybe repopack is more interesting if you wanna try working with agents and never done that before
  133. blue yes
  134. blue I'm checking that patch route, phaleth
  135. phaleth and it looks like a code you've never seen before, heh
  136. blue well, the patch route does exist
  137. phaleth at least you know primate so you can find it, I'd not know where to look
  138. blue web/routes/api/v0/jobs/[job]/index.ts
  139. blue weird, I see nothing in the logs
  140. phaleth there's also web/routes/api/v0/jobs/[job]/runs/[run]/artifacts/index.ts
  141. blue yes
  142. blue phaleth: for now use this https://superarch.org/flog-0.1.0-job-test-linux-amd64.tar.gz
  143. blue until I fix it
  144. phaleth ok, let me give you the full response
  145. blue I have it myself
  146. blue I tried it too
  147. phaleth ah, ok :D
  148. blue afk for a few hours. jreicher: feel free to join #repopack and/or send me your email address privately for an invite. if you have privacy concerns, use an email alias
  149. phaleth btw, here is possibly another bug
  150. phaleth [user@archlinux primate](master):$ rp job info 1
  151. phaleth GET /api/v0/jobs/1?project=primate failed: 404 Not Found: Not found
  152. blue right, `rp job list` is empty
  153. blue phaleth could you create tasks on repopack?
  154. blue for the those two bugs
  155. phaleth yeah, sure
  156. blue thanks
  157. blue ok, afk, later
  158. dreamreal hangman
  159. nevet Hangman: _ _ _ _ _ _ _ _ (6/6 lives) -- Use 'hangman <letter>' to guess, 'hangman solve <word>' to solve.
  160. dreamreal whew!
  161. dreamreal hangman r
  162. nevet Hangman: _ _ r _ _ _ _ _ (6/6 lives, guessed: r) -- 'r' is in the word!
  163. dreamreal hangman t
  164. nevet Hangman: _ _ r _ _ _ _ _ (5/6 lives, guessed: r, t) -- No 't'. 5 lives left.
  165. dreamreal hangman e
  166. nevet Hangman: _ _ r _ _ _ _ _ (4/6 lives, guessed: e, r, t) -- No 'e'. 4 lives left.
  167. dreamreal hangman s
  168. nevet Hangman: _ _ r _ _ _ _ _ (3/6 lives, guessed: e, r, s, t) -- No 's'. 3 lives left.
  169. dreamreal hangman f
  170. nevet Hangman: _ _ r _ _ _ _ _ (2/6 lives, guessed: e, f, r, s, t) -- No 'f'. 2 lives left.
  171. dreamreal ouch!
  172. dreamreal hangman n
  173. nevet Hangman: _ _ r _ _ n _ _ (2/6 lives, guessed: e, f, n, r, s, t) -- 'n' is in the word!
  174. dreamreal hangman h
  175. nevet Hangman: _ _ r _ _ n _ _ (1/6 lives, guessed: e, f, h, n, r, s, t) -- No 'h'. 1 life left.
  176. dreamreal uh oh
  177. dreamreal hangman p
  178. nevet No lives left! The word was 'cardinal'. Use 'hangman' to start over.
  179. dreamreal ouch, indeed.
  180. blue oof

Search posts