Submit

Back to the channels

#primate

  1. * skillnews quit (Remote host closed the connection)
  2. * skillbot quit (Remote host closed the connection)
  3. * skillnews joined #primate
  4. * skillbot joined #primate
  5. * jreicher quit (Quit: In transit)
  6. * jreicher joined #primate
  7. blue hype https://repopack.com/project/rcompat/tasks/61
  8. * jreicher quit (Quit: In transit)
  9. * jreicher joined #primate
  10. dreamreal https://bytecode.news/posts/2026/10/there-is-no-irrelephant
  11. blue dreamreal: wow
  12. dreamreal told you I thought it was a firecracker
  13. blue damn
  14. dreamreal As always: if you think the content's valuable, or might be valuable to someone, please share it: without grassroots involvement, that site runs on whatever passion I have room to give it, and I'm *busy*
  15. blue I just realised that since I restart the server, I'd only rejoined #primate...
  16. blue I should add everything to my autojoin, but can't be bothered
  17. blue restarted*
  18. dreamreal which client do you use?
  19. blue irssi
  20. dreamreal *nod* I don't remember how to configure it in irssi, I moved to weechat a long time ago and don't remember why
  21. blue dreamreal: I *love* compaction in repopack. it's basically like to distilling everything that happened before, and creating a new baseline for tasks. It's amazing because it's a much better way to move tasks with changing requirements forward, than editing notes
  22. blue https://repopack.com/project/repopack/tasks/283
  23. blue you probably can't see that... but it looks REALLY nice
  24. blue I tried to give you read access to tasks on repopack, but I think you never accepted the invite
  25. dreamreal I don't remember that, either - I might not have, I get a ton of data across all input streams and I don't want to use tooling to sort it because I'm human, damn it!
  26. blue oh well, if you're ever interested or have the time, drop me a message
  27. dreamreal You saw the issue I filed sunday or monday, yeah?
  28. blue https://repopack.com/project/primate/tasks/231
  29. blue this?
  30. blue no I didn't, I was off monday
  31. bot [ByteCode.News] There Is No Irrelephant - https://bytecode.news/posts/2026/10/there-is-no-irrelephant
  32. dreamreal Is that the <head> bug?
  33. blue yes
  34. dreamreal then yeah.
  35. dreamreal It's not a huge thing, just duplicated data
  36. dreamreal and I think the OG stuff that requires node_modules is because the modules I used kinda suck
  37. dreamreal they work but meh
  38. blue well yeah, need to get rid of that
  39. blue node_modules has lost nothing in deployment
  40. dreamreal Working on backend streampack issues first, for forge subscriptions
  41. blue you don't really put in your entire maven tree in java deployment either, as far as I know
  42. dreamreal well, I think the problem is that they look stuff up at runtime
  43. dreamreal but I'm not sure, I just needed OG to work pronto
  44. blue primate actually copies node: addons too into the build folder. the idea is that the build folder must be self contained. you should be able to copy it whole and deploy from anywhere
  45. blue if this invariant is violated, it can have two reasons. either you messed up, or primate messed up
  46. blue I believe there was a marginal case where primate could not copy the .node addons due to some weird dynamic shenanigans
  47. blue or perhaps the mechanism just doesn't work, I haven't used it myself often, it worked the last time I did
  48. blue anyway, if it's an in-tree issue, I suggest you fix it, it'll improve the security and speed of deployment. if it's a primate issue, please file a task
  49. dreamreal I don't know, will have to look - it was satori, I think, if memory serves - I was *busy*
  50. dreamreal and was like "oh crap, why is OG failing, must make it work"
  51. blue opengraph?
  52. blue https://www.npmjs.com/package/satori ?
  53. blue https://repopack.com/project/primate/tasks/231 is done
  54. dreamreal I *think* so, and yes, the opengraph stuff
  55. blue oof, vercel
  56. dreamreal I've got two pri 1 fires to put out right now, so will deploy ASAP but not immediately
  57. blue buddy, you got yourself in some deep manure there
  58. blue (vercel makes nextjs :P)
  59. dreamreal All the OG stuff was thrown together. Maybe the fix for teh issue is "rip out the OG content and do it better" but I need to provide better directions for it - JS image manipulation is not something I know well
  60. blue what is this specifically used for?
  61. dreamreal at delos they assigned images to a junior engineer, who managed to get image generation for frames down to 120ms/per, at 16 frames per set
  62. dreamreal OG? Link previews on sites
  63. blue the og: tags?
  64. dreamreal I got angry at them and yanked it away from the junior (who didn't do a bad job) and got all 16 frames down to 8ms
  65. blue lol
  66. dreamreal but I did it with SVG because I'm not an idiot
  67. dreamreal and yes, the og: tags
  68. blue mein gott
  69. dreamreal (the junior did not know about SVG, nor did the CTO who assigned it to him: he was like "that won't work!" and insisted on that even after I showed him, until the guy who hired ME told him to shut up, he was embarassing himself)
  70. dreamreal so... I didn't actually gain any *actual image manipulation* experience because we didn't need images and apparently nobody else realized it
  71. blue ya
  72. blue const unbundled = (name: string) => import(name);
  73. blue ew ew ew
  74. * dreamreal sighs. I liked that CTO but he did not understand programming or why you'd reason about code: he designed a language, but was utterly committed to it even though it had no BNF and no BNF could be constructed for it; he also didn't know about standard programming operators, so he'd CHOOSE operators if they were available, which is why BNF was ... difficult
  75. blue seriously, who wrote src/og/cards.ts?
  76. dreamreal blue: I think that'd why node_modules is necessary there
  77. blue this majorly skirts primate's bundling
  78. dreamreal in ui-primate?
  79. blue yes
  80. * dreamreal points to claude
  81. * blue hits claude
  82. blue that is TERRIBLE code
  83. dreamreal Hey, I've been saying I threw it together!
  84. dreamreal I AGREE! How fix pls suh
  85. blue "Cannot fork because streampack-dev/ui-primate has forking disabled"
  86. dreamreal Hold on, damn it
  87. blue this should be on repopack, gh is so hard to work with
  88. dreamreal grrr, it won't even allow me to alter the forking. Maybe it needs to be public.
  89. blue you can also give me push permissions, and I'll push to rework-og or smth
  90. blue I just don't wanna push to master directly, I don't like that
  91. dreamreal It's public, you should be able to do branches now
  92. blue k
  93. dreamreal and I don't want modules to live on rp AND GH, it needs to be a full jump for the entire project
  94. blue k
  95. blue kinda pity though you must make the project public just for someone to fork
  96. blue weird restriction
  97. dreamreal GH sucks
  98. dreamreal GL sucks
  99. dreamreal but they're better than alternatives like "nothing at all"
  100. blue well, RP is coming
  101. blue "Full suite: Fails during setup because no container runtime is available for the PostgreSQL Testcontainer."
  102. blue should I fix your tests whilst at it?
  103. blue they currently fail
  104. dreamreal oh, primate needs the testcontainer, doesn't it
  105. blue I guess because they assume stuff
  106. dreamreal I have postgres running locally at all times, and the ui modules were always sort of meant to be private modules, as you can see
  107. dreamreal so yes
  108. blue k
  109. blue dreamreal: are you interested in moving this node impl to rcompat? it currently hardcodes node: stuff, which makes runnable on bun, but not on native paths
  110. blue that also means for you that moving ui-primate currently to bun won't speed up anything
  111. dreamreal I have absolutely NO objection to doing so, and I have no interest in moving to bun
  112. blue well, I don't need to put in the work if cross-compat isn't a goal for you
  113. dreamreal I have no special OBJECTION to it, but eh
  114. dreamreal well, here's my thought THERE: I do not mind a single damn bit for this to be a proofing of the projects it uses
  115. blue @rcompat/* stuff will possibly - but not guaranteed - be accessible to Dog native paths in the future
  116. dreamreal like, you see how I file bugs as I come across them, to pudl and to primate
  117. dreamreal and all of that's because the problem isn't originator's-problem-shaped, which is how to find the edges and limits
  118. blue I think Dog won't rewrite npm stuff unless it's evoked with --rewrite-rcompat or so
  119. dreamreal all I care about is that the project *works*
  120. blue well, you know I don't like putting in work for stuff that doesn't matter to the owner
  121. blue if it doesn't matter to you, it shouldn't matter to me
  122. dreamreal well, making it work well DOES matter to me, and giving originating projects data ALSO matters to me
  123. dreamreal like, fixing the head stuff? That makes primate better, so that's a total win
  124. blue I'm fairly agnostic on whether you use native node: paths or rcompat
  125. dreamreal but I do not ask for free work
  126. blue mhm
  127. blue https://github.com/streampack-dev/ui-primate/pull/83
  128. blue "Primate 0.42.2 now handles these dependencies correctly: with ordinary static imports it bundles Satori into build/server.js and copies Resvg’s native addon to build/native/. The old workaround is obsolete, so the separate runtime node_modules installation can also be removed from the image."
  129. blue very good, dreamreal
  130. blue very good
  131. blue next PR coming your way
  132. blue I told ya primate can copy native addons :P
  133. blue I specifically engineered it to do that, to avoid node_modules
  134. blue however, that dynamic import was black voodoo magic
  135. blue I wonder why claude did that
  136. dreamreal *nod*
  137. dreamreal Probably learned from millions of idiot JS programmers, all yapping at their keyboards stupidly
  138. dreamreal and I don't know JS well enough, being quite honest, to review the code and say "no, don't do that"
  139. blue ya
  140. dreamreal at delos I LIVED in JS but that was all IOT and device interaction and a completely different profile of problems
  141. blue ya
  142. blue well PR is updated, and as I can see, now merged
  143. dreamreal I'm testing it locally before pushing live
  144. blue ya
  145. blue I also found out why claude did it
  146. dreamreal just run fails with five build errors: `client/annotate.ts:11:25: ERROR: Could not resolve "@streampack-dev/clientjs/annotate"`
  147. dreamreal why did claude do it?
  148. blue it claims primate can't bundle satori
  149. dreamreal haha
  150. dreamreal well, that would explain it, yes
  151. blue do `npm ci`, then `just run`
  152. dreamreal grrrr, damn it to hell
  153. dreamreal thank you
  154. blue yw
  155. blue just to be fair to claude, it did find an issue with some wasm stuff back in satori 0.32. but that was 2 months ago, your primate is newer. it might have relied on old satori package data
  156. blue ("it" meaning my codex, not claude)
  157. blue anyway, let's see if it works
  158. blue I at least can't see that it has issues bundling satori locally
  159. dreamreal Doing a full release and deploy, can revert if necessary
  160. blue k
  161. dreamreal You reverted the dockerfile, yeah?
  162. dreamreal or fixed it, rather
  163. blue yes, I simplified the containerfile back to node_modules-free
  164. dreamreal grazi
  165. dreamreal todah
  166. dreamreal sorry
  167. blue yw
  168. dreamreal pushing image now
  169. dreamreal yep, works like a champ
  170. dreamreal blue++
  171. nevet blue now has karma of 4.
  172. blue great
  173. dreamreal is live :D
  174. blue fyi, that makes your build *portable*. you could use one server for building primate, and another for deploying it. you probably use the same server, but primate allows for a split build/deploy flow
  175. blue the important aspect is that the deployment server/image would no longer require npm
  176. blue cool
  177. dreamreal I do not build on the server it runs on
  178. dreamreal and ideally we'd have a multistage build anyway
  179. blue well, better, now you don't need to copy node_modules across the world
  180. dreamreal You were around when I threw the primate build together, and it was VERY literally thrown together
  181. blue ya
  182. blue dreamreal: release artifacts are COMING.
  183. dreamreal nice. Working on a pudl refresh.:/
  184. blue why :/ ?
  185. blue I thought you liked pudl
  186. dreamreal I do, I'm refreshing it to meet the pudl design and releases
  187. dreamreal The pudl design was based originally on pudl 0.41 and now it's at 0.69.3
  188. dreamreal I have a lot of workarounds for features pudl actually supports better now
  189. blue wow
  190. * blue still doesn't know what pudl is
  191. blue except it can be friends with dog, of course
  192. blue dreamreal: I need a dedicated server for dog :/
  193. blue the vs-v8 benchmarks on my comp keep getting tainted on account of other work
  194. blue maybe I'll try to use my other comp
  195. dreamreal pudl is two things: a UI spec and an implementation of it
  196. dreamreal it's designed around accessibility for specific types of apps
  197. dreamreal IMO it's not so great for pure presentation
  198. blue and the implementation, it's pure frontend?
  199. dreamreal yes
  200. blue so why not add a @primate/pudl ?
  201. * dreamreal shrugs. No reason not to, IMO
  202. blue what's your backend on the pudl client?
  203. dreamreal for BCN the primate front end IS tuned for production, where pudl is tuned for an application view
  204. dreamreal kotlin+spring
  205. blue you talk directly to the api, or is that ANOTHER spring app in between?
  206. dreamreal the ui-pudl is a spring app itself, a go-between with the UI
  207. blue mein gott
  208. dreamreal so postgres <-> app <-> ui-pudl (kotlin) <-> pudl on the client
  209. blue double'd spring, that's a memory nightmare
  210. dreamreal the UI is not going to talk to the api directly
  211. dreamreal not really
  212. blue why not?
  213. dreamreal memory usage on that container's pretty low
  214. dreamreal why would it be a nightmare?
  215. blue I got (an older version of) nevet on the repopack vps, it's like 685M
  216. blue memory hog to no end
  217. dreamreal nevet's the backend though
  218. blue yes
  219. blue that's the 'app' in your <-> chart, yes?
  220. dreamreal yes
  221. blue so what has a memory usage that's "pretty low"?
  222. blue ui-pudl (kotlin)?
  223. dreamreal ui-pudl
  224. blue how much?
  225. dreamreal i have it set pretty aggressively, it's around 300m, the primate version's way lower, but 300m on that server is well within constraints and could be dropped
  226. dreamreal a lot of that is teh base image itself
  227. blue omg
  228. dreamreal me shrugs
  229. blue you know repopack is 269mb, right?
  230. blue and it's not even optimised!
  231. dreamreal sure
  232. blue anyway, I think should be possible to create a @primate/pudl, though the gains mightn't be beyond less memory use
  233. dreamreal sure
  234. blue unless it has like ssr and friends
  235. dreamreal I want to say the author does all his backend stuff in go or C#
  236. blue which author
  237. blue also, why does pudl release a very like every few hours
  238. blue that's such churn
  239. blue I don't think I'd be able to keep up with that
  240. blue a version*
  241. dreamreal claude
  242. dreamreal of course
  243. dreamreal he works for a POS vendor, I think
  244. dreamreal like, point of sale
  245. blue yes
  246. dreamreal Used to work for NCR, and Samsung
  247. blue sounds like a korean
  248. blue do you know the guy?
  249. dreamreal Floridian like me. I've known him since I was 14. :D
  250. blue oh
  251. dreamreal he was the best man at my wedding.
  252. blue oh WOW
  253. blue oh goddamn it
  254. blue I KNOW this guy, he lives in singapore
  255. dreamreal yes
  256. blue you spoke about him before, I'm 100% certain
  257. dreamreal yes
  258. dreamreal I am too
  259. blue ok, now it's falling into place
  260. dreamreal for him, pudl's research+application, which is how I'm using it, too :D
  261. blue well, as we all know, the best people are from florida
  262. * blue looks at perigrin
  263. blue - Full clean: 0.26 s vs 0.43 s — about 40% less wall time
  264. blue - Repeat install: 0.06 s vs 0.11 s — about 45% less
  265. blue - Production closure: 0.06 s vs 0.11 s — about 45% less
  266. blue dreamreal: flog vs pnpm, on the primate repo
  267. dreamreal hah
  268. dreamreal nice
  269. dreamreal closing in on the pudl refresh
  270. blue nice
  271. dreamreal very much a change in UI design
  272. blue also: rcompat full API docs are coming
  273. dreamreal VERY nice
  274. dreamreal I'm using the pudl refresh to avoid fixing some severe requirement mismatches at $work
  275. blue cool
  276. dreamreal I actually told them today that i was rejecting the request with "the speed of light disagrees with this requirement"
  277. dreamreal "can we make our 8-cpu system emulate a cray with 800 cpus?"
  278. dreamreal um, no. You need 800 cpus to do that.
  279. blue oO
  280. blue lol
  281. dreamreal We built the module on a specific set of requirements, and overshot them by 50%... and from the user: the actual requirements look NOTHING like our stated expectations, by like 15000%
  282. dreamreal yes, I typed the right number of zeros
  283. blue ... and you need 800 cpus
  284. dreamreal "and oh can we make it faster?"
  285. dreamreal Like, "we built this to handle 150k inputs, and the requirements said 75k was likely" "cool, here's a 4T input and BTW the search vector isn't 800 but more like... uh... 24000"
  286. dreamreal "and oh yeah, you take 3ms for the 75k, can we do that 4T input in ... we'll have some grace, 5ms?"
  287. dreamreal me: "no."
  288. dreamreal note: we have CSRs TALKING TO THE CUSTOMERS THE WHOLE TIME.
  289. dreamreal How in the effing hell does this kind of scale thing not get brought up
  290. dreamreal You might describe me as vaguely unhappy :D
  291. blue lol
  292. blue this is the reason it's hard to trust clankers: const workspace = fs.ref(new URL("../../../", import.meta.url).href)
  293. dreamreal heh
  294. blue they produce a lot of this nonsense. rcompat has a *funtion* for htis, in another package
  295. blue @rcompat/runtime.projectRoot(import.meta.dirname);
  296. blue is the correct abstraction
  297. blue though import.meta.url should equally work there
  298. blue but hardcoding paths.. that's bad
  299. dreamreal aye
  300. blue dreamreal: https://repopack.com/project/rcompat/tasks/64
  301. blue this is legit cool..
  302. blue fs.spool... gets you a stream, but ONLY if it passes a digest.
  303. blue idea: to check the digest, you need to read the stream anyway; this operation saves you the trouble, when you know the expected digest up ahead
  304. blue you can tell rcompat, I want this stream, but also, it must satisfy this digest, otherwise error out
  305. blue that's an operation that's completely missing node
  306. blue from node*
  307. * phaleth joined #primate
  308. blue hi phaleth
  309. blue haha phaleth
  310. blue you lashing out at clankers is the funniest ever
  311. blue " \Stop blocking the logo and the favicon because of CPS already and go do something useful."
  312. blue LOL
  313. phaleth hi blue
  314. phaleth yeah
  315. phaleth why did clanker add CPS to the docs anyway
  316. blue no idea
  317. blue it's flog
  318. blue btw, I merged this earlier https://repopack.com/project/flog/tasks/80
  319. blue btw, https://repopack.com/project/rcompat/tasks/61
  320. blue btw, https://repopack.com/project/rcompat/tasks/62
  321. blue btw, https://ptx6lcpc3-task-65.repopack.app/api/fs
  322. nevet @rcompat/fs API · rcompat
  323. blue dreamreal: ^
  324. blue systemfault: ^
  325. blue including hover shenanigans!
  326. phaleth lets try that linux speedup
  327. blue these API docs are amaze sauce
  328. blue they also unveiled some private types that should be public
  329. blue some music for chill https://www.youtube.com/watch?v=KLlXJH7oJSI
  330. nevet YouTube: Tocotronic – Freiburg V3.0 (Official Video) | Tocotronic
  331. phaleth flog docs site is peak performance, rcompat docs is an app pulling in a lot of JS to the browser
  332. blue awww
  333. blue it also takes a truckload of time to redeploy, gets on my poor nerves
  334. blue https://ptx6lcpc3-task-65.repopack.app/api/symbol
  335. nevet @rcompat/symbol API · rcompat
  336. phaleth but why is that on site there is no app and on another kinda same there is the app JS bundle?
  337. blue where?
  338. blue you mean in flog
  339. blue ?
  340. blue OMG THAT LOGO
  341. blue phaleth you are a genius
  342. phaleth yeah, take a look at https://flog.run vs. https://rcompat.repopack.app
  343. nevet https://flog.run "flog — predictable JavaScript package management" || https://rcompat.repopack.app "rcompat — JavaScript standard library"
  344. phaleth heh
  345. blue the rcompat website is seriously messed up
  346. blue wth
  347. blue also I'm not getting a favicon on flog website
  348. blue also, we probably need to adapt the flog website colours to the logo
  349. blue damn, this logo is too good
  350. phaleth and on rcompat docs you get the favicon?
  351. blue yes
  352. blue btecause I wired the damn thing myself
  353. phaleth then LShift + Refresh
  354. blue yeah, this is a private brave tab
  355. phaleth nah
  356. blue i'll close it
  357. phaleth let me check
  358. blue goddamn brave
  359. blue nah, not getting favicon'd
  360. phaleth so you put in <link rel="icon" href="/logo.svg" type="image/svg+xml" />
  361. phaleth and then it works on brave
  362. blue yes, like a big idiot
  363. blue and primate website works without it
  364. blue I have no idea why
  365. blue I hate browsers
  366. blue browsers suck
  367. phaleth I can see the favicon no problem
  368. * dreamreal hands blue w3m, lynx, links, gopher
  369. blue maybe it's just brave, idk
  370. phaleth and I've never seen <link rel="icon" href="/logo.svg" type="image/svg+xml" /> on any website
  371. blue dreamreal, can you see favicon https://flog.run/
  372. nevet flog — predictable JavaScript package management
  373. blue oh yeah, tell me about it phaleth. dunno, clanker suggested that
  374. dreamreal no
  375. blue WHY AREN'T THE FAVICONS SHOWING UP
  376. dreamreal has the brave browser's default "world" favioc
  377. blue friggin brave
  378. blue I'm gonna try another browser
  379. blue I gotta know
  380. blue I might have a chromium flying around here somewhere
  381. dreamreal safari... looks like it's rendering SOMETHING?
  382. blue HAH
  383. dreamreal it's too small to tell what it is
  384. blue IT WORKS ON CHROMIUM
  385. blue I KNEW IT
  386. * blue kicks brave
  387. dreamreal chrome works too
  388. dreamreal safari != chromium, though, I thought. Webkit, right?
  389. phaleth I bet safari does not show the favicon
  390. blue ya. safari is webkit, chrome is like the google thing, whatever it's called
  391. phaleth cause epiphany doesn't
  392. * skillnews quit (Remote host closed the connection)
  393. * skillbot quit (Remote host closed the connection)
  394. blue safari webkit/jsc
  395. phaleth chrome is v8 and blink
  396. * skillnews joined #primate
  397. * skillbot joined #primate
  398. blue chrome is whatever the h the google renderer is called and v8
  399. blue yes, blink, thank you
  400. blue and why can't brave show the favicon now?
  401. blue only god knows
  402. blue we're only in 2026 and we haven't solved yet favicons
  403. blue I'm gonn adrop this explicit <link thing in rcompat
  404. blue this is ridiculous
  405. phaleth can brave show favicon from bytecode.news?
  406. phaleth I can add some metatags, but I'd like to avoid that
  407. blue YES
  408. blue it can
  409. blue a b over a black background with a red corner
  410. blue but damn it dreamreal, that looks like...
  411. blue you need phaleth for a new favion
  412. phaleth ok, I will try to fix that later for brave then
  413. blue he's an aritst
  414. blue phaleth where is the favicon for dog
  415. phaleth dog doesn't have a website
  416. blue we all know favicons are the most important for a project
  417. phaleth dog doesn't even exists I hope
  418. phaleth yeah
  419. blue ya but dog exists
  420. blue https://repopack.com/project/dog
  421. blue I hope dreamreal doesn't die of laughter here
  422. phaleth so it's like a secret project
  423. blue well it's secret until it reaches parity with v8, yes
  424. blue currently it's 9x slower
  425. blue it started at 30x, so we're going somewhere
  426. blue the real goal is 5x faster than v8, though
  427. phaleth let me give you something to read
  428. blue I read a whitepaper over go jit perf earlier
  429. blue that went nowhere, unfortunately
  430. blue anyway, if you fix the flog favicon on brave, fix that rcompat dumpster fire too
  431. blue favicons should be auto discoverable via favicon.ico, not in <link
  432. phaleth https://encore.dev/blog/rust-runtime
  433. nevet What We Learned Building a Rust Runtime for TypeScript
  434. phaleth yeah, sure
  435. blue phaleth: can you have js.stdlib.run point to rcompat.repopack.app, please?
  436. blue just registered
  437. phaleth yeah, sure
  438. blue thx
  439. blue js.stdlib.run 207.180.197.249 600
  440. phaleth favicon shows up twice on palemoon https://i.imageupload.app/7c3a342918e297635996.png
  441. blue record is there
  442. phaleth also the site is fast on palemoon cause it's peek performance
  443. blue dog will be hosted at dog.flog.run, fyi
  444. phaleth hope you didn't pay $8k for that domain
  445. blue $4
  446. phaleth ok, nice
  447. phaleth anyway, why js as subdomain?
  448. blue because it's a js stblib
  449. blue stdlib*
  450. phaleth ok, well, then there will be a TLS cert jut for that, but why not use stdlib.run also?
  451. phaleth at least temporarily
  452. phaleth and www.stdlib.run for that matter as well
  453. blue we can use stblib.run if you prefer
  454. blue I'm not dogmatic on that, I just thought js. is cooler
  455. blue dreamreal: opinion?
  456. blue js.stdlib.run or stdlib.run ?
  457. phaleth ok, I will setup all three of them with the same TLS cert
  458. dreamreal I'm all for it! What is the opinion about?
  459. blue 20:15 < blue> js.stdlib.run or stdlib.run
  460. dreamreal oh, js.stdlib.run
  461. dreamreal it's scoped to js
  462. dreamreal ... said with no forethought whatsoever on my part
  463. blue phaleth: we can redirect stdlib.run and www stblib.run to js.stdlib.run
  464. phaleth ok, I will setup the rewrite
  465. blue A js.stdlib.run 207.180.197.249 600
  466. blue A stdlib.run 207.180.197.249 600
  467. blue CNAME www.stdlib.run stdlib.run. 600
  468. blue good?
  469. blue I thought of CNAMING directly to js.stdlib.run, but nah, sounds weird
  470. blue anyway, all three should point at rcompat.repopack.app, methinks
  471. blue or rather, the non js. ones should probably redirect to .js
  472. blue js.*
  473. blue yeah, probably best
  474. phaleth yeah
  475. blue then dreamreal could send his buddy a real nice domain
  476. blue and his buddy won't have reservations anymore, clearly
  477. blue because domains are all that matters
  478. dreamreal well, the ability to understand is relatively important
  479. blue ya
  480. blue I should be able to finish the API docs today or tomorrow, and merge htem onto master
  481. blue and together with the new domain, it's gonna be wicked
  482. blue then I'm gonna fix the flog website and throw out all the nonsense clanker garbage about primate
  483. blue out-of-the-box thinking is not a particular strength of clankers, I find
  484. blue yes, I used primate as a reference point for flog working as intended, that doesn't mean you need to write A WHOLE SECTION about it into the docs
  485. blue idiot
  486. dreamreal yes, they take offhand suggestions and explanations VERY seriously
  487. dreamreal I think I wrote an article about that
  488. blue I think I read it
  489. dreamreal i think so, too. :D
  490. blue phaleth: btw, I fixed the node_modules pulling-in on BCN's primate client, earlier. clanker hallucinations
  491. blue now it's pristine, and dreamreal's server is spared from sinking into the black hole known as node_modules
  492. dreamreal I find "hallucination" to be the wrong term - they're not hallucinations as much as model inferences
  493. blue well, in that it decided that primate can't bundle .node addons, which is specifically NOT the case
  494. phaleth blue: oh, I was gonna look into that, so you fixed that in primate?
  495. dreamreal it inferred, because it has no judgment
  496. blue no, I fixed it in BCN/primate
  497. dreamreal he fixed it in the build
  498. blue as in, ui-primate, I mean
  499. phaleth ok, cool, I will see what you did
  500. dreamreal it was my code, not primate's, because *I* didn't write the primate UI, I directed it
  501. blue claude really outdid itself there
  502. blue peak stuff
  503. phaleth or what clanker did anyway, curious
  504. blue it tried (and managed) to bust primate's bundler by inventing a dynamically importing function
  505. blue because it was of the opinion that primate can't do something
  506. blue problem if, there are very few things, and still fewer USABLE things, that primate's bundler, esbuild, CAN'T do
  507. blue problem is*
  508. blue https://github.com/streampack-dev/ui-primate/commit/5697be1ad785ba423b8a9ead3738756fedcc9615#diff-7bd1e06f12808abf8ebcab5b3789bc58f25461cc27e79f616ea5fceb84b48af6L9-L11
  509. nevet Merge pull request #83 from terrablue/master · streampack-dev/ui-primate@5697be1
  510. blue "satori's WebAssembly and resvg's native binary don't survive Primate's server bundle"
  511. blue this is a lie
  512. blue hence hallucination
  513. blue "and Primate has no way to leave a package out of it"
  514. blue this could have been true at the time. I believe it arrived in 0.42, and ui-primate was written against 0.41
  515. blue however, irrelevant, because the capability wasn't necessary
  516. blue hence this amazing code: const unbundled = (name: string) => import(name);
  517. blue which esbuild can't unroll
  518. blue >_>
  519. blue https://ptx6lcpc3-task-65.repopack.app/api/type
  520. nevet @rcompat/type API · rcompat
  521. blue is now ported
  522. blue I gotta do something about these terrible task urls
  523. perigrin floridia does represent ... as do ex samsung employees
  524. blue lol
  525. perigrin *Florida (see you can tell I'm a product of Florida's education system)
  526. blue You're a Florida Man :P
  527. perigrin I have my moments.
  528. blue lol
  529. blue phaleth: I love the flog logo
  530. blue when I'm done with the rcompat website I'll prop up the flog website
  531. phaleth I had to put temporary redirect there cause otherwise browser will not change the hostname of the url https://stdlib.run/
  532. nevet rcompat — JavaScript standard library
  533. phaleth heh, ok, I had fun making that logo
  534. phaleth actually I think the colors could be better, but whatever
  535. phaleth blue: anyway, try to figure out why is the rcompat docs site a full blown app, that's kinda weird
  536. blue ya will do
  537. blue phaleth: peak rcompat website coming
  538. phaleth nice
  539. blue The workaround now produces fully static pages:
  540. blue - /api/array: 16,569 → 6,873 bytes (−59%)
  541. blue - /api/assert: 186,290 → 75,266 bytes (−60%)
  542. blue - Browser JS: 85.8 KB → 0
  543. blue - Hydration/walker scripts: 3 → 0
  544. blue - Page responses now include Cache-Control: public, max-age=300, must-revalidate
  545. blue phaleth: good? ^
  546. blue also seems to have found a Marko <Head> bug, but perhaps dreamreal has already reported, unsure if this is the same thing
  547. phaleth awesome
  548. blue I reported upstream to the primate team, hope they have some competent people to fix it
  549. * nevet joined #primate
  550. * blue!~blue@user/blue changed the topic to: https://primate.run | This channel is logged: https://bytecode.news/logs/irc/libera/primate
  551. blue https://repopack.com/project/primate/tasks/232
  552. blue this isn't relevant I think to dreamreal, he uses hydration
  553. phaleth yeah, bytecode.news uses the app
  554. blue anyway I don't think the primate team will backport it to .42
  555. blue nor doe the rcompat consider it necessary
  556. blue so it's all good
  557. blue primate#232 is being worked on
  558. phaleth marko({ csr: false }) does the trick, nice
  559. blue yes
  560. blue but still, the <Head> tag should play nicely without hydration
  561. blue and not force a workaround
  562. blue the primate team is on it, but it won't get out until .43
  563. phaleth can you do a deployment preview on https://repopack.com/project/rcompat/tasks/65 ?
  564. blue https://ptx6lcpc3-task-65.repopack.app/
  565. blue it's building right now
  566. phaleth oh, it was already there, it says No Preview on the task page for me
  567. phaleth great, that's super fast
  568. blue ya, I might need to fix permissions there
  569. blue there you go
  570. blue fixed
  571. phaleth yeah, now I can see the preview link
  572. blue yeah, very fast
  573. blue ignore that terrible link. it'll look better in repopack ui once I have a bit of time
  574. blue should be a button, not a link
  575. blue oh man, those websites are FAST
  576. phaleth it's an anchor tag
  577. phaleth but that's good
  578. blue ya
  579. blue nice, js.stdlib.run is online!
  580. blue once I'm done with the api stuff I'll merge it and then it's all fine and dandy
  581. phaleth so it's server rendered from TypeScript?
  582. blue yes
  583. blue it's hard to get dreamreal excited about stuff: so if I managed to do it, I know I'm on the right track
  584. phaleth should be fast the, not sure about node
  585. blue ya
  586. phaleth then*
  587. blue with dog will be faster
  588. blue also rcompat is still being bundled with pnpm
  589. blue which is going to be addressed soon
  590. blue anyway, I'm off to play a board game and then chill for the rest of the evening
  591. blue you fine gentleman, have a great rest of day
  592. blue gentlemen*
  593. blue also note the wallop by libera team, and update your browsers/systems if applicable
  594. blue something something certificate keys leaked
  595. phaleth ok, bye
  596. * phaleth quit (Quit: phaleth)
  597. dreamreal blue: let's talk in the morning about the zig article
  598. blue dreamreal: ok mate
  599. dreamreal Are you happy with where you left it?
  600. blue mostly, yes. I've kept some distance for a final human pass, it's still a bit too clankery
  601. blue for my taste
  602. blue mostly thinking about std loaders right now, dreamreal
  603. blue whether I want to do @rcompat/{yaml,toml,json5,jsonc}, or skip for now. bun offers most of them native, and it's something that I think would be good to have in a stdlib
  604. dreamreal *nod* I think the next question for that zig thing is what you want to post it as: do you want ME to post it an attribute it to a pseudonym, do you want me to edit it for voice to remove some of the clanker-y bits, as you put it...
  605. dreamreal do you want me to narrate it, etc
  606. blue dreamreal: I think we can post it under my `blue` username. But I'd be grateful if you could edit it for voice and remove the clanker-y bits, because one of the thing that annoyed me about the last article I wrote on my blog, was how many people complained it was AI-generated. I do NOT want the HN plebs to complain about that - they should engage with content, not tone, but it's very hard for them to do
  607. blue that if they smell clankerness
  608. blue one of the things*
  609. dreamreal blue: okay, will look at it tomorrow morning
  610. blue thx
  611. blue dreamreal: https://js.stdlib.run/
  612. nevet rcompat — JavaScript standard library
  613. blue https://js.stdlib.run/api
  614. blue full API
  615. blue there are still a few smaller things to fix, but it's looking good. tomorrow I'm going to publish new versions of everything

Search posts