ByteCode.NewsSubmit
Use quotes for an exact word.

Subscribe

RSSPodcast
Log in

Chat Logs

  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. bluedreamreal: dog is coming
  9. * jreicher is now known as Guest3554
  10. * jreicher joined #primate
  11. * Guest3554 quit (Ping timeout: 261 seconds)
  12. dreamrealwhat breed? :D
  13. blueyou know the answer, dreamreal :P
  14. dreamrealI, uh, might have a guess
  15. jreicherBasenji.
  16. dreamrealprobably a shih-tzy?
  17. dreamrealschnauser? dachshund?
  18. bluejust to be clear, I'm not getting a dog (yet)
  19. dreamrealmaybe a rottweiler?
  20. blueI'm working on a js runtime/engine called Dog
  21. dreamrealhaha
  22. * jreicher quit (Quit: In transit)
  23. * jreicher joined #primate
  24. blueWB jreicher.
  25. dreamrealnew mastheads online :D
  26. dreamreala colorized mondrian, colorized harmonizer, and two new life variants
  27. bluewow
  28. dreamrealblue: where's rcompat's site?
  29. bluedreamreal: nowhere
  30. dreamrealwhy
  31. dreamrealit needs one on primate.run at least
  32. blueidk, it was never needed I guess
  33. bluedo you need one?
  34. dreamrealhave 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. bluehm
  36. bluedreamreal: give me 10 mins
  37. bluedreamreal: https://rcompat.repopack.app/
  38. nevetrcompat — JavaScript standard library
  39. blueI think this should be enough for his purposes, I don't have a bespoke domain for it atm
  40. bluein the future it'll be under std.flog.run or so
  41. bluedreamreal: 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. blueso technically he can move now and continue to use deno, and test with bun/node
  43. bluemoving is anyway most effective, will spare a future rewrite
  44. dreamrealHe doesn't WANT deno support, but he's moving to other runtime environments, and porting TO them
  45. dreamrealso rcompat actually addresses his actual needs
  46. dreamrealbut he doesn't know that and I can't SHOW him because you don't show ME
  47. blueI just sent you the docs website dreamreal
  48. dreamreal(and showing me is pointless: show him!)
  49. bluewht do you need showing else?
  50. dreamrealwhere
  51. blue18:22 < blue> dreamreal: https://rcompat.repopack.app/
  52. nevetrcompat — JavaScript standard library
  53. bluehere, 14 minutes ago
  54. dreamrealoh, sorry
  55. dreamrealmissed it, was AFK
  56. blueno worries
  57. dreamrealSwnt to him
  58. bluegreat
  59. bluercompat itself doesn't have a suppotr channel. but he can use the primate discord or this channel for rcompat support
  60. blueI make the same promise as I do for primate, which is, I will at least look at the issue within 48h
  61. bluethe rcompat website is now triggered to redeploy on master advances :P
  62. bluetakes 22s to redeploy. hm, still too long, but then again it's using pnpm, I should move to flog
  63. dreamrealwhy is it r/compat and not rcompat?
  64. blueyou mean designwise? it's jsut what clanker came up, and I like it. I mean it is "runtime compat"
  65. dreamrealIt was a question from the guy I was talking to, he was like "was it reddit inspired of course it was"
  66. dreamrealI told him I severely doubted it :D
  67. blueyou can tell him that clanker came up with it, and the human operator approved
  68. dreamrealI'll let you do that if he ever joins
  69. blueI mean, up until 30 minutes ago, rcompat had no logo. now clanker proposed, and I didn't disagree
  70. bluewe 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. blueone of the reasons for dog is to challenge runtimes to get into that eden
  72. blueI 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. bluesystemfault: ^
  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. systemfaultHmm, so rewriting imports is the cleanest way?
  81. systemfaultWouldn't be possible to use something like require hooks or similar to allow it? (I guess the node devs don't want that...)
  82. bluesystemfault: 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. systemfaultRight :/
  84. blueso 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. blueif node ever supports std:, it would need to support the "source" runtime key...
  86. blueit'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. blueand 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. blueTS is the source.. why should I build it when publishing? building/type-stripping should be the user's responsibility
  89. blueI 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. bluethe 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. blueI think that's an elegant way forward systemfault...
  92. systemfaultThe only logic argument I can find is that they want the Node ecosystem to remain JS.
  93. bluewhy? TS is superior...
  94. systemfaultSome people just don't like TS... some people are "omgomg MS is EVIL, can't use TS"
  95. bluewell 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. blueit's irrelevant if it comes from MS or whatever... it's good software/language
  97. bluewell, I'm gonna go back to watching die hard... I'm out of codex for now
  98. systemfaultThe first one?
  99. blueDie Hard with a Vengeance.. I think it's the third?
  100. dreamrealI don't like TS because it's TS, not because it's MS
  101. dreamrealTS types would be great if they were consistently enforced but it can use JS so it lies
  102. bluewell, it's a superset dreamreal, how do you mean, "it can use JS"?
  103. dreamrealWell, TS adds a lot of useful things like "type enforcement," for example, but types are lost once you go to JS
  104. dreamrealthis is just a generalized gripe about JS as an ecosystem, so ignore me
  105. bluethen 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. blueunless you're concerned with runtime types in your criticism
  107. dreamrealthe runtime is when I care :D
  108. dreamrealbut it's not a severe care, I write JS very rarely so I just shrug now
  109. dreamrealwhen I lived in JS-land I cared a LOT
  110. blueya