Submit

Back to the channels

#primate

  1. * skillnews quit (Remote host closed the connection)
  2. * skillbot quit (Remote host closed the connection)
  3. * skillbot joined #primate
  4. * skillnews joined #primate
  5. * jreicher quit (Quit: In transit)
  6. * jreicher joined #primate
  7. blue 🐕
  8. blue dreamreal: dog is coming
  9. * jreicher is now known as Guest3554
  10. * jreicher joined #primate
  11. * Guest3554 quit (Ping timeout: 261 seconds)
  12. dreamreal what breed? :D
  13. blue you know the answer, dreamreal :P
  14. dreamreal I, uh, might have a guess
  15. jreicher Basenji.
  16. dreamreal probably a shih-tzy?
  17. dreamreal schnauser? dachshund?
  18. blue just to be clear, I'm not getting a dog (yet)
  19. dreamreal maybe a rottweiler?
  20. blue I'm working on a js runtime/engine called Dog
  21. dreamreal haha
  22. * jreicher quit (Quit: In transit)
  23. * jreicher joined #primate
  24. blue WB jreicher.
  25. dreamreal new mastheads online :D
  26. dreamreal a colorized mondrian, colorized harmonizer, and two new life variants
  27. blue wow
  28. dreamreal blue: where's rcompat's site?
  29. blue dreamreal: nowhere
  30. dreamreal why
  31. dreamreal it needs one on primate.run at least
  32. blue idk, it was never needed I guess
  33. blue do you need one?
  34. dreamreal have a friend who's migrating from deno to bun, I'm like "crikey, rcompat, then you get node and bun without having to target them any more" but I have nowhere to POINT HIM
  35. blue hm
  36. blue dreamreal: give me 10 mins
  37. blue dreamreal: https://rcompat.repopack.app/
  38. nevet rcompat — JavaScript standard library
  39. blue I think this should be enough for his purposes, I don't have a bespoke domain for it atm
  40. blue in the future it'll be under std.flog.run or so
  41. blue dreamreal: you can tell him, but he probably knows, that going forward, deno support in rcompat will be sunset roughly 6 months after deno itself is discontinued
  42. blue so technically he can move now and continue to use deno, and test with bun/node
  43. blue moving is anyway most effective, will spare a future rewrite
  44. dreamreal He doesn't WANT deno support, but he's moving to other runtime environments, and porting TO them
  45. dreamreal so rcompat actually addresses his actual needs
  46. dreamreal but he doesn't know that and I can't SHOW him because you don't show ME
  47. blue I just sent you the docs website dreamreal
  48. dreamreal (and showing me is pointless: show him!)
  49. blue wht do you need showing else?
  50. dreamreal where
  51. blue 18:22 < blue> dreamreal: https://rcompat.repopack.app/
  52. nevet rcompat — JavaScript standard library
  53. blue here, 14 minutes ago
  54. dreamreal oh, sorry
  55. dreamreal missed it, was AFK
  56. blue no worries
  57. dreamreal Swnt to him
  58. blue great
  59. blue rcompat itself doesn't have a suppotr channel. but he can use the primate discord or this channel for rcompat support
  60. blue I make the same promise as I do for primate, which is, I will at least look at the issue within 48h
  61. blue the rcompat website is now triggered to redeploy on master advances :P
  62. blue takes 22s to redeploy. hm, still too long, but then again it's using pnpm, I should move to flog
  63. dreamreal why is it r/compat and not rcompat?
  64. blue you mean designwise? it's jsut what clanker came up, and I like it. I mean it is "runtime compat"
  65. dreamreal It was a question from the guy I was talking to, he was like "was it reddit inspired of course it was"
  66. dreamreal I told him I severely doubted it :D
  67. blue you can tell him that clanker came up with it, and the human operator approved
  68. dreamreal I'll let you do that if he ever joins
  69. blue I mean, up until 30 minutes ago, rcompat had no logo. now clanker proposed, and I didn't disagree
  70. blue we all have to remember that rcompat is not yet eden. it is upon the gates of eden. eden is "std:*", but for that we need runtimes to hop on, and I don't have traction for that
  71. blue one of the reasons for dog is to challenge runtimes to get into that eden
  72. blue I have long pondered how it's even possible to get this done. and the only way I see forward is to use "std:", publish source TS to npm, and have `flog publish` rewrite "std:*" to @rcompat/*" for js. since node doesn't respect the "source" runtime key, it would still work for node, but anything that supports std:* + "source" runtime key, would benefit from the new world
  73. blue systemfault: ^
  74. * skillbot quit (Remote host closed the connection)
  75. * skillnews quit (Remote host closed the connection)
  76. * skillbot joined #primate
  77. * skillnews joined #primate
  78. * nevet joined #primate
  79. * blue!~blue@user/blue changed the topic to: https://primate.run | this channel is publicly logged at https://bytecode.news/logs/irc/libera/primate and mirrored to Primate discord, channel #irc
  80. systemfault Hmm, so rewriting imports is the cleanest way?
  81. systemfault Wouldn't be possible to use something like require hooks or similar to allow it? (I guess the node devs don't want that...)
  82. blue systemfault: the problem is that if I want to change primate to use "std:" imports instead of "@rcompat/", then the next version I publish like that, would stop working under node (and bun)
  83. systemfault Right :/
  84. blue so my idea was, to publish both src (TS) and lib (JS). src contains "std:, lib contains the same imports, but flog rewrites them to "@rcompat/". and package.json uses a "source" runtime key for "src/". node ignores "source" unless you write --conditions=source
  85. blue if node ever supports std:, it would need to support the "source" runtime key...
  86. blue it's a complicated way, but it's the only way I can see to run things under node/bun until/if they add support for "std:"
  87. blue and also I've been wanting to publish TS to npm for a while. node not loading TS from node_modules is such a stupid and unnecessary limitation
  88. blue TS is the source.. why should I build it when publishing? building/type-stripping should be the user's responsibility
  89. blue I heard such weird arguments against publishing TS to npm. like, you'd have to publish a tsconfig and version it... I don't think that's a real argument. node can strip TS today and it doesn't need a tsconfig for that...
  90. blue the only problem with publishing TS is if you use non-erasable syntax.. and you shouldn't. maybe flog could check that as well when publishing
  91. blue I think that's an elegant way forward systemfault...
  92. systemfault The only logic argument I can find is that they want the Node ecosystem to remain JS.
  93. blue why? TS is superior...
  94. systemfault Some people just don't like TS... some people are "omgomg MS is EVIL, can't use TS"
  95. blue well I used to be anti-TS as well, but then I gave it a chance, and it's just better. especially erasable TS is amazing...
  96. blue it's irrelevant if it comes from MS or whatever... it's good software/language
  97. blue well, I'm gonna go back to watching die hard... I'm out of codex for now
  98. systemfault The first one?
  99. blue Die Hard with a Vengeance.. I think it's the third?
  100. dreamreal I don't like TS because it's TS, not because it's MS
  101. dreamreal TS types would be great if they were consistently enforced but it can use JS so it lies
  102. blue well, it's a superset dreamreal, how do you mean, "it can use JS"?
  103. dreamreal Well, TS adds a lot of useful things like "type enforcement," for example, but types are lost once you go to JS
  104. dreamreal this is just a generalized gripe about JS as an ecosystem, so ignore me
  105. blue then you should be reading what I've written above; if you publish TS to npm, the only time it gets lost is when the runtime runs, stripping the types
  106. blue unless you're concerned with runtime types in your criticism
  107. dreamreal the runtime is when I care :D
  108. dreamreal but it's not a severe care, I write JS very rarely so I just shrug now
  109. dreamreal when I lived in JS-land I cared a LOT
  110. blue ya

Search posts