Submit

Back to the channels

#primate

  1. * skillbot quit (Remote host closed the connection)
  2. * skillnews quit (Remote host closed the connection)
  3. * skillbot joined #primate
  4. * skillnews joined #primate
  5. * phaleth joined #primate
  6. * phaleth is learning inkscape
  7. phaleth flog docs are done exactly as I described yesterday, all template literals including css
  8. phaleth I mean css in js is bad, but still
  9. * jreicher quit (Quit: In transit)
  10. * jreicher joined #primate
  11. blue hi phaleth
  12. blue https://repopack.com/project/flog/tasks/76
  13. blue I got it done yesterday, just forgot to merge
  14. phaleth ok, great
  15. blue phaleth: https://repopack.com/project/rcompat/tasks?status=open
  16. blue see 57 and 58
  17. blue rcompat is getting very close to be dependencyfree
  18. blue just two more deps needed to eliminate
  19. phaleth cool, noticed you removed crypto, crypto in JS is dumb
  20. blue it was just a weird package with one convenience function
  21. blue fs has FileRef#hash too
  22. blue and crypto would be shadowing globalThis.crypto
  23. blue so there's that
  24. blue anyway, it's gone
  25. phaleth nice
  26. blue clanker did a full audit of rcompat, found a few things
  27. blue hence this
  28. blue https://repopack.com/project/primate/tasks/226
  29. blue phaleth: fyi: repopack *still* consumes 200 <= x <= 300 MiB of memory. Dog will specifically require to lower that number to <= 100 MiB. I don't know why it needs so much memory to be honest, is all of it JIT?
  30. phaleth it's cause it's a VM
  31. blue yes I know it's a VM, but repopack isn't doing much
  32. phaleth golang runtime takes less memory only cause it's native
  33. blue the repopack build/server.js is 36M
  34. phaleth yeah, but you know there is event loop and that just in a sense heats up the VM
  35. blue which is already a lot and probably needs optimisaing. but 36M -> 300M is only 10x
  36. phaleth all VMs are like that, node is actually doing very well for a VM
  37. blue also bun was leaking like crazy
  38. phaleth 36M means it should take ten times the memory, yeah
  39. phaleth bun is a different story
  40. blue bun is dumpster fire
  41. blue phaleth: https://repopack.com/project/primate/tasks/228
  42. blue I'm gonna merge this, but the website itself uses the .svg as a favicon..
  43. blue just fyi
  44. phaleth not really I think
  45. blue I added a <link tag to app.html
  46. phaleth nope
  47. phaleth no reason to do that anyway
  48. phaleth unless you need multiple favicons on the site
  49. blue it didn't load the favicon.ico otherwise, for some reason
  50. blue it does it on primate.run, didn't do it for rcompat
  51. blue I couldn't be bothered to figure out, and implicit things are weird
  52. phaleth yeah, it's fine as is
  53. phaleth implicit is fine
  54. blue well if you can figure out why the browser didn't issue the request, then remove it again
  55. blue dreamreal said he saw no favicons on rcompat.repopack.app
  56. phaleth it will load, don't worry :)
  57. phaleth seems like flog is node specific https://upaste.de/raw/Trr
  58. blue let me see
  59. phaleth apps/website/static/favicon.ico | Bin 15406 -> 5430 bytes
  60. blue wow phaleth
  61. blue btw, clanker said that this isn't about flog. the postinstall specifies "node install.js"
  62. blue flog just ran the script
  63. phaleth yeah, I saw node in those package.json scripts I think
  64. phaleth but that's weird
  65. phaleth why can't flog do whatever install.js is doing?
  66. blue what is this install.js?
  67. blue like, where does it come from right now?
  68. blue I can't see it in primate website
  69. blue package.json
  70. phaleth you can search for `node --conditions=@primate/source`
  71. phaleth there are alot of those
  72. blue yes
  73. phaleth actually three of those in apps/website
  74. blue "start": "node --conditions=@primate/source ../../packages/primate/src/bin.ts",
  75. blue "build": "node --conditions=@primate/source ../../packages/primate/src/bin.ts build",
  76. blue "serve": "node --conditions=@primate/source ../../packages/primate/src/bin.ts serve",
  77. blue you mean these?
  78. blue yes, this is currently only necessary because package.json's "bin" field doesn't support conditions
  79. phaleth ok, that is where node is called
  80. phaleth so node is hard dep
  81. blue we're doing straight from source run, not compilation to JS
  82. blue no compilation*
  83. phaleth ok, well, the error message I posted said it happens on flog install
  84. phaleth so those node calls are possibly not to blame
  85. blue yes, but where does that `node install.js` come from?
  86. phaleth esbuild postinstall
  87. phaleth https://github.com/evanw/esbuild/issues/4288
  88. nevet post-install documentation · Issue #4288 · evanw/esbuild
  89. phaleth tried to add --ignore-scripts to flog install, same error
  90. phaleth take a look at the pnpm-workspace.yml it had a directive to ignore esbuild scripts
  91. phaleth and I think there was also some other package
  92. blue looking it up
  93. blue yeah, oracledb was same
  94. blue phaleth: flog install --workspace apps/website --prod --ignore-scripts
  95. phaleth tried exactly that
  96. blue are you running current flog?
  97. blue also, can you paste the current containerfile that's failing?
  98. blue so I can have clanker test
  99. phaleth is there newer flog released today?
  100. blue not today
  101. blue well there is, but it's just triggered by the website updates
  102. blue just take the latest, build 65
  103. phaleth ok, I will just put that new version in and write task
  104. blue https://repopack.com/project/flog/jobs/1/runs/65/artifacts/flog-0.0.0-dev.07a7aad7035f-linux-amd64.tar.gz
  105. blue the best is if you have a reproducible test case for me as a containerfile
  106. blue then I can run it past the agent
  107. phaleth yup
  108. blue phaleth: https://repopack.com/project/rcompat/tasks/57
  109. blue look at this beauty, we're beating busboy :)
  110. phaleth with latest flog --ignore-scripts seems to work, but there is another error
  111. blue what error?
  112. phaleth on build about node --conditions=@primate/source
  113. phaleth I'll create a task
  114. dreamreal *sigh* two new pieces underway for BCN
  115. phaleth I think it's a primate problem, not flogs
  116. dreamreal I need to get critical mass enough that other people write for it, because I'm burning myself alive
  117. dreamreal ... although... okay, question time: blue, you read BCN because I force you to, phaleth, do you?
  118. blue phaleth: flog is pristine, so probably primate
  119. phaleth dreamreal: sometimes, when I have time to lurk
  120. blue dreamreal: well, I read BCN for particularly two reasons. the first, I don't need to look around prefiltering what any idiot writes on his blog, I get the rough gold nuggets (usually) and 2) I get them in a REFINED form, so the rough gold nuggets are made pristine
  121. dreamreal Well, here's the question: am I setting the bar too high for people to be willing to write on BCN?
  122. dreamreal Like, I'm trying to write well but at full resolution
  123. dreamreal and if people go "I can't do dat, I rite gud on twitter insted" ...
  124. blue partially, yes
  125. blue the bar is pretty high because the takes are often complex and require thinking
  126. blue I do wish you had more plebs-oriented takes; like the current value destroying that andrew-zig has been hard at work on, for the last few months
  127. blue you did have a take on zig's AI policy; but it was *way* too nice
  128. blue zig's AI policy, combined with lashing like crazy at bun, combined with the crazy and irrational move to codeberg... just shows you what a deranged dictator-for-life can cause for damage, in a project with otherwise high value
  129. dreamreal Well, BCN's editorial policy is to keep criticism unpersonal, and there's no way I'm digging in against anyone.
  130. blue I'm actually less annoyed with the AI policy, less annoyed with the childish lashing out at bun, than I am annoyed at how condescending and insufferable this guy was against *donors* on github
  131. dreamreal I'd like to have more plebe-oriented stuff as you call it, but I don't really think that way so it feels scripted
  132. dreamreal and since I don't use zig I don't have enough visibility into the specific issue, if you will
  133. blue well, *you* draw the consequences, one of your most seen pieces was the bun rust rewrite, and it was closest to plebs content
  134. dreamreal I wouldn't mind publishing something written well
  135. blue I'm not gonna try and tell you how to run BCN. But if you want more exposure, and consequently perhaps more authors, you might have to stoop a bit
  136. blue you don't *have* to make a zig 'hit' piece a personal attack
  137. dreamreal Actually, I need to check the actual numbers: the bun rust rewrite piece maintains the most temperature but that doesn't actually correspond to "most hits"
  138. blue it is a personal problem caused by the project leader, but it is equally a project problem, by now
  139. dreamreal I don't mind, but I cannot stand ragebait, so I'm very sensitive to hosting it
  140. blue codeberg regularly doesn't work properly; a ton of work was left unfinished on github in terms of issues, that the zig project did not bother migrating
  141. dreamreal Right now I'm binding pele into BCN, which will be a content piece as well, AND I'm working on a piece on irrelephants
  142. phaleth celld is the current hype, and the deno team being bought by cloudflare to work on celld
  143. blue and people are wary of using zig on high profile project, because if they pivot away, they'll get lashed out at
  144. dreamreal blue: See, I don't have those perspectives to even work with
  145. dreamreal which kinda sucks: I can't know everything and (surprise!) I don't
  146. phaleth I mean clanker on celld, inlcuding the original author of node Ryan Dahl (think I spelled that right)
  147. * nevet joined #primate
  148. * blue!~blue@user/blue changed the topic to: https://primate.run | This channel is logged: https://bytecode.news/logs/irc/libera/primate
  149. dreamreal pele installed on server! Now working on one of the front ends to test it out :D
  150. blue because personally the lack of major 1 in zig is currently the biggest problem
  151. dreamreal blue: you mean major 0?
  152. blue no, I mean major 1
  153. dreamreal I mean, I agree with you, and you know why
  154. blue zig was not meant to be a 0ver
  155. blue and for a change, I don't think it should be. I'm in the 0ver-camp, but not for programming languages
  156. dreamreal See, I know who should write this, and who should edit it
  157. dreamreal or I THINK I do
  158. blue I can tell you that such an article will generate A LOT of interaction
  159. dreamreal I'm sure it would
  160. blue because I know how people feel, and they feel strongly, either way
  161. * dreamreal actually does not, which is part of why he shouldn't write it
  162. blue it touches on all the current plebs seams. AI, semver, hosting platforms
  163. dreamreal To me, zig is very much a storm in a teacup
  164. dreamreal I know it's actually NOT - that's the point of the irrelephant article I'm working on - but to me it is
  165. blue dreamreal: I'm just gonna tell you that if *I* wrote it, it'd probably be titled "The Zig project is going nowhere"
  166. dreamreal hell, write it that way! We'll edit it into shape if it needs it.
  167. dreamreal Hideki Idoru has only published one thing so far!
  168. * dreamreal giggles
  169. blue true
  170. blue unfortunately I'm currently busy with Dog
  171. dreamreal I'd actually prefer a different pseudonym, or under your name, but eh, whatever. If we want to reuse it as an anonymous id, we can.
  172. dreamreal Sit, dog!
  173. dreamreal Lie down!
  174. dreamreal Roll over!
  175. dreamreal Play dead!
  176. blue It's edging on V8, believe it or not
  177. blue whether it can beat it or not, remains open
  178. blue I'm skeptical, but Dog seems to be confident
  179. blue I'd be actually personally ok with getting lim(v8) rather than surpassing
  180. dreamreal dang it, now I want the zig thing too
  181. blue haha
  182. blue this is where we are currently at: "recent Dog timings varied roughly 59–76 µs/batch versus V8’s 3.3–4.0 µs/batch."
  183. blue 17-18x roughly, on a non-representative benchmark
  184. blue we started at 30x
  185. blue We're still doing work for reference-bearing JIT, but it's not enabled yet
  186. * dreamreal is so jazzed by pele - BCN is getting mermaid graphs in posts, I think
  187. dreamreal (I say "I think" but it's actually looking like it's working on the server, but the UIs need to respect the directives)
  188. blue ya, I recently added mermaid support to repopack
  189. dreamreal pele.run!
  190. dreamreal pele > mermaid so far, since it actually generates SVG differently
  191. blue using the "mermaid" npm package, I believe. you should render it on the client, cheaper
  192. dreamreal s/should/could/ but mermaid's expensive
  193. dreamreal the problem is that we'd have to pass the mermaid block to the client
  194. dreamreal I AM rendering drafts on the client, though
  195. blue pele is great. let me replace the mermaid dep with pele in repopack
  196. blue Pele 1.6.0 replaces Mermaid 12.1.0
  197. blue and its diagram dependency graph, including KaTeX, Chevrotain and lodash-es.
  198. blue so nice, dreamreal!
  199. dreamreal I'm impressed as all hell
  200. dreamreal Got a crackerjack post underway on it but want to have it deployed, so the post on pele uses pele :D
  201. blue and the zig post?
  202. blue has it materialised yet?
  203. dreamreal Hmm,I don't think I'm the one to materialize that one, it could be written here with !article (that's why that command exists, to allow people to discuss content that creates an article) but I don't think I should sole-source it
  204. dreamreal but to answer you directly: no, I have two high-effort pieces underway, a third would be a lot for a calm peaceful sunday
  205. blue I can give clanker a few pointers, see what it comes up with
  206. blue but I won't be able to read it aloud!
  207. dreamreal That's fine, I'll narrate it
  208. dreamreal the audio isn't literally narrated, the audio is a separate piece of content and should be considered as such
  209. blue fair
  210. dreamreal What I do for the audio is have the *rendered draft* in front of me, and it's mostly a mostly-faithful way of how *I read it*
  211. dreamreal so no footnotes unless they occur to me as I read the actual main content, etc
  212. dreamreal the main thing about using !article is that if you use the AI features for it you get haiku as the model
  213. blue zig article is cooking, dreamreal
  214. dreamreal ooo that's awesome
  215. phaleth diagrams will finally properly display in librewolf? https://repopack.com/project/repopack/tasks/701
  216. dreamreal I am SO jazzed about this pele thing
  217. dreamreal phaleth: so what did you see in the ui-primate OCI image?
  218. phaleth not yet, I will log into github, one sec
  219. dreamreal no hurry
  220. blue phaleth: maybe
  221. dreamreal I'm doing a general site refresh this morning thanks to pele but most OCI updates like that barely affect traffic
  222. phaleth dreamreal: don't see any notification
  223. blue phaleth: https://repopack.com/project/rcompat/tasks/58
  224. blue beating ws as well now
  225. dreamreal phaleth: you're on there as "phaleth" right?
  226. dreamreal says it's got a pending invite :/
  227. * nevet joined #primate
  228. * blue!~blue@user/blue changed the topic to: https://primate.run | This channel is logged: https://bytecode.news/logs/irc/libera/primate
  229. phaleth looking at the Dockerfile and there are few changes I am gonna suggest in the PR, the one big mistake I see is to use npx to run the app, that results two node processes instead of one I think
  230. dreamreal (graalvm's native images do not do image libraries well)
  231. dreamreal phaleth: *nod* I used AI to build the app, I do not and did not expect it to be good at it, just sufficient
  232. phaleth but I will create a PR
  233. dreamreal *nod* and thank you VERY much
  234. phaleth no problem
  235. blue dreamreal: discord, zig article
  236. dreamreal got it, looking, will get to it ASAP but drowning right now
  237. blue get a LIFE VEST
  238. phaleth another big mistake is to use main as branch name :)
  239. blue YES
  240. blue finally someone calling it out
  241. phaleth the sole reason why dog exists
  242. blue yes
  243. blue finally someone who gets it
  244. dreamreal phaleth: I don't care, it's github default and I saw no reason to give a single crap about it :D
  245. dreamreal I don't care about main/master, use master and I'm fine, use main and I'm fine, no reason to get my knickers in a twist about it
  246. dreamreal Adding fonts and styles for primate, and getting the preview renderer in place
  247. dreamreal and doing a rare nextjs update so the fonts render in case any damn fool uses the nextjs front end :D
  248. dreamreal blue: https://primate.bytecode.news/posts/2026/10/test-post
  249. blue HOLY HECK THE ZIG POST IS GOING PLACES AND THE EDITOR IS BUSY FIDDLING WITH GRAPHS
  250. dreamreal blue: the editor has a queue and is human and stuff AND the author hasn't granted access to the zig post anyway
  251. blue I sent you a glink
  252. dreamreal yes, and I requested access because I didn't get granted access despite the link
  253. dreamreal okay, one of four done in the queue, now to work on #2
  254. blue DONE
  255. dreamreal there's #4!
  256. blue lol
  257. dreamreal okay, how do you want to do this
  258. dreamreal do you want to post it yourself, or do you want the same process as the prior one
  259. blue to what are those questions tending
  260. blue do you want to draft it on BCN?
  261. blue otherwise I'd say, let's finish it first on gdocs, then decide
  262. dreamreal Well, I mean is it a hideki irodu-type "a user sent this in" post, or what
  263. dreamreal okay, I 'll file comments, some will be to me, some to you, okay?
  264. blue idk, I haven't decided yet
  265. dreamreal That's fine, it just affects voice
  266. blue sure
  267. dreamreal if it's you or attributed to a pseudonym, some of the stronger statements get to stand
  268. blue I'm currently trying to make it sond more human, because it screams clanker, and it annoys me because I don't like reading clanker content either, feels so unreal
  269. dreamreal The way to do that is for you to read each sentence and phrase it yourself, including flow, FTR
  270. dreamreal but I get it
  271. blue yes
  272. dreamreal Okay, I'm goingto wait on the bun section until you're done editing
  273. blue k
  274. blue thx
  275. dreamreal LMK when, going to work on the pele post now
  276. blue k
  277. blue dreamreal: done
  278. dreamreal Okay, almost done with the pele edit, will switch when I get closer on this, won't be long
  279. phaleth dreamreal: I found the current deployment is very insecure, there are all node_modules in the container at runtime with write permissions
  280. dreamreal phaleth: *nod* feel *very* free to fix
  281. dreamreal I make no claims to the primate ui's quality
  282. blue phaleth: did you see the native gains on `ws`?
  283. blue this is amazing. Getting rid of a dep, and becoming faster
  284. phaleth dreamreal: PR is already there
  285. phaleth blue: I saw some 2x improvements in some table
  286. phaleth well, consider using websockets instead of SSE for repopack
  287. blue this is amaze sauce
  288. dreamreal thanks for notifying me, GITHUB YOU PIECE OF SHIT
  289. dreamreal sorry
  290. * blue points at repopack
  291. blue actually, there's no way to subscribe to a project's tasks... yet.
  292. blue phaleth: we need a task for this
  293. dreamreal phaleth: deploying now
  294. dreamreal much appreciated
  295. dreamreal phaleth: ++
  296. nevet phaleth now has karma of 1.
  297. phaleth blue: btw, should be tricky to make flog work against bcn's primate frontend, I tried nub but nub failed
  298. phaleth yeah, I wonder what happened to the release candidates task in repopack, forgot the number
  299. dreamreal define sesquipedalian
  300. nevet define sesquipedalian: sesquipedalian (noun): A long word. (Wiktionary via FreeDictionaryAPI.com, CC BY-SA 4.0: https://en.wiktionary.org/wiki/sesquipedalian)
  301. dreamreal okay, queue item #2 done! back to #4 for a bit
  302. * phaleth quit (Ping timeout: 246 seconds)
  303. dreamreal blue: okay, my thought: this needs to be attributed to an outside contributor, either through authorship (you submit it) or direct attribution (as we did with the idoru article)
  304. dreamreal If I narrate this, I'm gonna have to use a ring modulator or something to change the narration voice, becuase these aren't my words.
  305. * phaleth joined #primate
  306. blue true dreamreal
  307. blue you don't *have* to narrate it though
  308. blue we should make a podcast recording out of this article really
  309. phaleth diagrams now display correctly in librewolf
  310. * lioloc joined #primate
  311. lioloc blue: Hey blue, are websockets up to date in the primate documentation?
  312. lioloc i only found this: "https://primate.run/guides/responses/websocket-chat"
  313. phaleth take a look at https://rcompat.repopack.app
  314. nevet rcompat — JavaScript standard library
  315. phaleth there is currently only this change pending https://i.imageupload.app/43b5fc35da9bbdc36d38.png
  316. lioloc oh interesting, do you know if blue is going to update the documentation website for primate.run? It looks homeless compared to this one, looks clean
  317. phaleth you mean the design or the content?
  318. lioloc design
  319. phaleth there's gonna be some pema section when 0.43 is out
  320. phaleth oh, hmm, dunno
  321. phaleth can you create a task in primate repo?
  322. lioloc I can, but i'll have to first identify the issues with it, there's a few things that break on mobile
  323. * blue quit (Remote host closed the connection)
  324. lioloc how are you btw? thanks for helping me out on a sunday :D
  325. phaleth ok, I think blue fixed some mobile issues, but it's all stuck with 0.43
  326. phaleth I'm doing alright
  327. phaleth can you test against https://primate-master.repopack.app ?
  328. phaleth hmm, I think I got the wrong url, one sec
  329. phaleth the server has died
  330. phaleth bye bye blue
  331. lioloc 😵
  332. phaleth heh, weird, that never happens, but the uptime is of course not 100%
  333. lioloc its ok, i'm busy doing other stuff anyway
  334. lioloc i'm building a meal prepping app with a primate server as my backend and native swift app, personal app for now
  335. lioloc would be so awesome if i could have used primate for the ios app as well
  336. phaleth cool
  337. phaleth lioloc: https://primate-master.repopack.app is the one that tracks master branch, if you find issues there then please create tasks
  338. nevet Primate — The Universal Web Framework
  339. * blue joined #primate
  340. phaleth even small tasks are good, does not have to be super detailed
  341. blue phaleth: hey, did you restart the server?
  342. phaleth blue: there was a server restart all the sudden
  343. blue ah ok, hm contabo
  344. phaleth actually a slow one, but contabo never claims 100% uptime
  345. phaleth everything needs maint
  346. phaleth one container didn't start, I think that's repopack docs, will redeploy it
  347. blue right
  348. blue lioloc: you had a question?
  349. phaleth hmm, it only took 7 seconds to deploy
  350. blue yes
  351. blue phaleth: I merged the rcompat native ws rewrite, so rcompat should now be completely depsfree and ready for dog
  352. phaleth ok, did you merge the favicon and logo optimizations?
  353. blue not sure
  354. blue not yet, will review
  355. blue I like the rcompat logo
  356. blue dunno who made it, but it's cool
  357. phaleth yeah, but the SVG is huge, so I made it simpler
  358. blue I think it's time to start looking at repopack#283
  359. blue I've been pretending it doesn't exist for a while
  360. phaleth true
  361. phaleth https://repopack.com/project/rcompat/tasks/59
  362. blue yes, reviewing
  363. blue the rcompat image builds in 15s.. still too slow
  364. phaleth I'm working on logo and favicon for flog
  365. blue and dog?
  366. blue remember dog's motto...
  367. phaleth rcompat build uses pnpm
  368. blue I guess flog comes first because it already has a website
  369. blue yes I know, it needs to switch to flog
  370. blue dog's website will be dog.flog.run
  371. phaleth I was planning to do that, but still kinda waiting for trust me bro installer
  372. blue yes that's 283
  373. phaleth nah, dog does not need a website yet
  374. phaleth also flog's docs are outdated already
  375. blue outdated how
  376. phaleth waste of tokens, it should have been just a frontpage
  377. blue this reminds me flog needs `flog outdated`
  378. phaleth there is something about primate migration
  379. * blue creates task
  380. phaleth heh
  381. blue yeah, the primate migration needs to get out of there
  382. blue clanker overcomitted on that
  383. blue I somehow don't like rcompat's font
  384. blue such a generic documentation font :/
  385. blue feels like it's inter of smth
  386. blue or smth*
  387. blue oh, it is inter, LOL
  388. blue totally soulless
  389. blue I like the code snippets
  390. blue both the colours and font, ui-monospace. they're good
  391. blue I just don't like the prose font
  392. blue maybe you have a better suggestion
  393. phaleth lioloc seems to like rcompat docs
  394. phaleth I only need to see if the logo gets updated properly
  395. blue well he helped writing them, why wouldn't he like them
  396. blue or do you mean the website
  397. phaleth the design
  398. blue rcompat logo merged
  399. blue https://repopack.com/project/primate/tasks/226
  400. blue I'm honestly thinking of pulling this into 0.43
  401. blue I have half a mind to release a primate 0.43 that comes with totally outdated rcompat versions, and then I'm gonna need to start backporting nonsense
  402. blue so better pull off the plaster now than later
  403. phaleth cool, looks fine
  404. blue (that's bandaid, for our american friends here)
  405. lioloc blue: hey blue! yeah i was just wondering if the docs had a page on websockets, or if the most up to date page was the guide "https://primate.run/guides/responses/websocket-chat"
  406. phaleth yeah, rcompat updates is just chores
  407. blue hey lioloc. so are you asking if it properly reflects the source code, or whether it updates with 0.43?
  408. lioloc and yeah i prefer the documentation website for rcompat than primate
  409. lioloc looks nice
  410. blue because we haven't done a lot of work on websockets in 0.43
  411. lioloc more so if it is up to date in general
  412. blue well, the @primate/http example is a bit ridiculous, we should switch to marko or svelte, but I thik it's uptodate
  413. lioloc in case it wasn't an old page
  414. blue let me sweep over it shortly
  415. blue @primate/html*
  416. blue the guides should ideally contain switchable examples when they show frontend snippets, but it's too much work
  417. blue maybe now with AI it's improvable
  418. blue btw lioloc, I'm not particularly set-in-stone about the primate website design, if you have another suggestion, create a task and send it to revie
  419. blue fortunately now with task apps I can quickly review for aesthetics
  420. blue and yes, the example is correct. it contains a small bug, which I'm going to fix for 0.43
  421. lioloc yeah tasks make it quite easy to make updates, pretty neat
  422. lioloc oh it does? I'm using it atm
  423. lioloc not with html
  424. lioloc just as a raw endpoint
  425. blue it's a huge bug, just a small incorrectness in the examples, I'll show you the fix
  426. blue https://repopack.com/project/primate/tasks/230
  427. blue it's not a huge bug*
  428. blue lioloc: the next rcompat versions got rid of their last few deps (busboy and ws, both for @rcompat/http on node), and replaced them with custom implementations, which are faster than those packages
  429. blue rcompat is now completely dependency free, as it should be
  430. blue the stdlib should not rely on npm
  431. blue this is also somewhat relevant for the future of rcompat and flog/dog https://repopack.com/project/flog/tasks/74
  432. blue I believe I found a golden path there, but it's yet to be seen if it's doable
  433. blue there's also `flog format`, `flog lint`, `flog test` (which is proby, really) and `flog test --coverage` coming for flog, but most of those need AST stuff and thus will need to wait for dog
  434. blue flog will refuse to publish with any "std:" imports in the tree, unless --std-compat or --std-pure are provided
  435. lioloc when you say rcompat is completely dependency free, it still uses node for some stuff or not at all?
  436. blue yes, it uses node, just not npm
  437. lioloc kk gotcha
  438. lioloc that's insane
  439. lioloc very cool
  440. blue ya
  441. lioloc and you're using flog already?
  442. blue yes, primate has already switched to flog for 0.43, and it's faster than pnpm
  443. blue and safer, too
  444. blue we're waiting for release primitives to land in repopack so people can download flog from flog.run
  445. lioloc neat
  446. blue well, 'waiting' is a general term here. I need to do it
  447. blue it's more like phaleth is waiting and I'm wasting my time playing with Dog
  448. blue but I sometimes need the right mindset to get into a task, and until I get it sorted it in my head, I don't start
  449. blue right now it's a bit hard to conceptualise whether releases draw from job runs or vice versa
  450. blue I guess they need to draw from job runs, but also that means you can only create a release after the job has finished running, at the ref you want to create the release
  451. blue maybe we'll just go the gh way where you create or choose a tag. but still creating a tag would then need to run a job and create the artifacts first
  452. blue anyway, I'm not entirely convinced here which way is the good way, need to sit on it a bit longer
  453. blue should be done hopefully by next week, I want to push 0.43 out the door
  454. phaleth can have release stable and release unstable
  455. phaleth stable is supposed to be tagged
  456. blue yeah but like, I don't wanna a second mechanism to create artifacts
  457. blue jobs already do that
  458. phaleth one stream of runs, overlaping
  459. * skillbot quit (Remote host closed the connection)
  460. * skillnews quit (Remote host closed the connection)
  461. blue and releases should probably include the source in one way or another
  462. phaleth second mechanism?
  463. blue yes
  464. * skillbot joined #primate
  465. * skillnews joined #primate
  466. blue jobs can already create artifacts
  467. blue but releases should offer the source as tar.gz etc.
  468. blue that's another 'artifact'
  469. blue I don't want two systems
  470. blue maybe it's unavoidable
  471. phaleth creating tag does not have to run job, just take artifacts from tagged commit and rename those
  472. blue yes but who creates the tar.gz of the source at the ref?
  473. blue what primitive? the release or the job run?
  474. blue if the release owns it, then that's two mechanisms that own artifacts
  475. phaleth I'd not worry about tar of source
  476. phaleth that's like duplicating the source code, downlodable artifacts is the goal
  477. blue fair, so you're leaving it to the jobs
  478. blue you know, maybe jobs should just have the option of delivering source artifacts
  479. blue I think that possibly solves the conundrum
  480. blue and then releases are just light tags that link to job runs (and freeze them, so they don't get cleaned up)
  481. phaleth tar.gz is another issue, that needs to be downlodable on demand
  482. phaleth not stored permanently with release
  483. blue k
  484. blue phaleth: there's a new feature on repopack
  485. blue if you hit p, you get the quickjump to projects, don't know if you knew that
  486. blue however, if you fully type the name of a project, you can also quick-quick to a task there
  487. blue try it, hit p
  488. blue then write repopack:283
  489. blue and Enter
  490. phaleth I knew about /
  491. blue yes but you didn't know about p, t, j and a
  492. blue hitting t, j or a and immediately Enter also jumps to the section itself
  493. blue kinda neat
  494. phaleth forwardslash does not accept repopack:283 but p does, weird
  495. blue yes because forwardslash isn't in project mode
  496. phaleth ah, you can switch to /projects from /
  497. blue yes
  498. phaleth blue: take a look at tasks in review in the flog repo
  499. * phaleth quit (Quit: phaleth)
  500. blue dreamreal: I did another sweep of the article. I think it's much better now, care to rereview?
  501. * jreicher quit (Quit: In transit)
  502. * lioloc quit (Ping timeout: 240 seconds)
  503. * jreicher joined #primate
  504. * theskillwithin joined #primate
  505. * theskillwithin left #primate (Textual IRC Client: www.textualapp.com)
  506. * nevet joined #primate
  507. * blue!~blue@user/blue changed the topic to: https://primate.run | This channel is logged: https://bytecode.news/logs/irc/libera/primate

Search posts