Submit

Back to the channels

#primate

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