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. * nevet joined #primate
  7. * 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
  8. * skillbot joined #primate
  9. phaleth only 20 seconds to build primate website, used to be about 45-50 seconds
  10. phaleth flog really needs trust me bro script and windows builds
  11. blue hi phaleth
  12. blue yes, the primate website now doesn't need to build packages anymore, runs TS from source
  13. blue btw phaleth, this is something that flog/dog are gonna solve generally for TS. no build step
  14. phaleth hi blue
  15. blue hi
  16. phaleth you mean there is no call to flog build?
  17. blue exactly. no packages are being compiled to JS
  18. blue the 20s are, according to my analysis, 14s docker nonsense, 6s primate build
  19. blue docker stuff can be cached. the real redeploy time of primate website is 6s
  20. blue there's also flog install involved, but that is really, really fast. faster than pnpm currently
  21. phaleth but in the Containerfile there is RUN flog run --workspace apps/website build
  22. blue yes. flog run jst runs scripts
  23. blue in that case, the script is `primate build`
  24. phaleth ah, so before the call was: RUN flog build --workspace apps/website
  25. blue yes. `flog build` builds TS -> JS, recursively
  26. blue with dog around, `flog build` should be kinda obsolete I hope
  27. blue btw dog's motto: One paw at a time. I came up with it and clanker approved
  28. phaleth nah
  29. blue dreamreal found it hilarious for some reason
  30. phaleth I just hope clanker is done with flog except for the issues I've mentioned
  31. blue flog is only getting started. https://repopack.com/project/flog/tasks/73
  32. blue we're getting `flog format` and `flog lint`. but for that we need dog, so it'll arrive later, probably in 2027
  33. blue flog -> everything related to monorepo maintainance, dog -> just running stuff
  34. blue the split bun never had, but should have had
  35. blue maintenance*
  36. phaleth but for just running stuff it can use node
  37. blue yes but node is slow and stupid
  38. phaleth or the go backed in runtime
  39. blue well goja doesn't have jit, dog has jit (already)
  40. phaleth node runs on v8
  41. blue ya, dog is gonna be faster than v8
  42. phaleth omg :D
  43. phaleth I thought flog is gonna be generally useful for people who can't be bothered with pnpm, but cannot fully migrate
  44. blue yes, well it's gonna replace npm/pnpm/yarn/nub/bun
  45. phaleth anyway, JS engine is ton of wasted tokens cause of web standards
  46. blue the web standards are actually the easiest part because clanker has ref
  47. phaleth goja is slow, too bad
  48. blue jit is the hard part, but dog is already getting fast there
  49. blue it already has 0 recompilations for some warm operations
  50. phaleth ok, so that's what is clanker doing
  51. blue that doesn't mean a lot right now, but it's only going to get better
  52. blue and btw remember it's currently only optimised for amd64
  53. blue unlike v8, which has instructions for many, many platforms. I just need linux servers for now
  54. phaleth is JIT compilation doable with golang?
  55. blue yes
  56. blue a friend of mine built wago (wago.sh) which is nearly the fastest wasi runtime, has jit
  57. blue beats the v8 wasm runtime
  58. blue that's currently the inspiration for dog, wago showed it's possible
  59. blue wago is top of many benchmarks and 2nd or 3rd (to jsc) in others
  60. phaleth nah, clanker has no chance
  61. blue wago is 100% clankered
  62. phaleth yeah, but wasm is simple
  63. blue yes
  64. blue I'm not saying it's gonna be as easy as wago
  65. blue but it is possible
  66. phaleth what is this error? flog: binary target is missing
  67. blue no idea
  68. phaleth trying to call: flog run --workspace apps/website build
  69. blue binary target sounds like esbuild stuff?
  70. phaleth ah, so package.json and other things got update in primate repo
  71. phaleth so I need to pull down that
  72. blue yes
  73. blue phaleth, you'll notice it's really really fast
  74. blue it's actually ridiculously fast
  75. phaleth that @primate/source is some magic
  76. phaleth well, at least pnpm repos can still use the previous: flog build --workspace apps/website
  77. blue it's just runtime keys. with dog it's all gonna be standardised into the "source" runtime key
  78. blue the idea is, no need to compile TS, ever
  79. blue it's perfect
  80. blue btw this reminds me, once primate 0.43 releases and flog.run can serve binaries, we gotta move rcompat and repopack to flog
  81. blue get rid of pnpm completely
  82. phaleth yeah, also bun
  83. blue yes bun is dead anyway. sumner threw out all the team and is now playing with claude alone
  84. phaleth not sure what you mean by: compile TS
  85. blue TS -> JS
  86. phaleth there is still build/server.js right now
  87. blue yes but that's primate build, don't confuse it
  88. blue primate build is about building the primate server with esbuild. it also strips TS but that's not a costly operation
  89. phaleth so tsc is not called on invididual primate packages?
  90. phaleth the 6 ones that the primate website needs
  91. blue right now? no. it used to, when we had `flog build` in the containerfile
  92. phaleth hmm
  93. blue tsc (which is tsgo since version 7) is fast, but still costs a lot of time
  94. blue the reason we went down from 44s to 20s are mostly factoring out the TS build time
  95. blue and a few optimisations in flog
  96. phaleth magic
  97. blue well it's hardly any magic. bun has supported running ts directly for a while. node has had it since v24 I think
  98. blue it's not really magic anymore
  99. phaleth well, if rcompat can be built that way then it's legit I guess
  100. blue btw phaleth, one of hte reasons I'm building flog, is that node doesn't allow loading TS from node_modules
  101. phaleth ah, so that's why
  102. blue which is a very, very backward decision
  103. blue one of the reasons I'm building dog*, sorry
  104. blue bun can load TS from node_modules
  105. blue but node refuses. it has the capability, it just refuses
  106. phaleth yeah, bun is pushing node around, good
  107. phaleth well, what a shame for people paying for all those CI costs
  108. phaleth so dog is gonna be the first TS only runtime? JS completely banned?
  109. phaleth I mean it should be exactly that
  110. phaleth cause there are lot of optimizations to be had from the typesystem
  111. blue idk it needs to ban JS completely
  112. blue idt*
  113. blue but dog is gonna be focussed on avoiding that pesky build step
  114. blue and also you to publish source-packages to npm
  115. blue in fact, encourage you to do so
  116. blue if you publish both src and lib, and point to src with the "source" runtime key, you allow dog to run your packages directly from source
  117. blue the problem of newer runtimes, like deno and bun, they always tried to reshape reality around their own egos
  118. blue I think it's important to play along with npm/node even if I don't like it
  119. * nevet joined #primate
  120. * 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
  121. phaleth sounds good, but it'll take a lot of time
  122. blue time is all we got
  123. blue of course if we had funding, this would be done yesterday
  124. dreamreal So getting streampack set up for another network has been... instructive
  125. phaleth what's the tech stack?
  126. dreamreal the backend server is postgres+jvm, the front ends are variable: everything's OCI. The main front end on bytecode.news is primate; there's a spring+JS UI at pudl.bytecode.news
  127. dreamreal the UIs are "bytecode.news" that use the streampack API, they're not "streampack"
  128. dreamreal The idea was to build an ontology on the backend, not using *ontology tools* because nobody really thinks of ontologies very well, and the translation from ontology to usable API isn't worth it for the most part. But the API says "here's what you can do," and the UIs and services make those operations appropriate for their domains.
  129. dreamreal so there's an ontology, and an IRC service, and... well, there's nevet right there
  130. dreamreal I had thought of actually doing an ontology, blazeds or rdf, but... again, ontologies
  131. phaleth ah, it's that nevet thing that is still deployed on the VPS next to repopack
  132. dreamreal yeah, I don't know the state of that at all, baby steps!
  133. phaleth ontology makes you sound like a doctor
  134. dreamreal Does it? To me it makes me sound like someone who works with knowledge graphs, because that's what ontologists do
  135. phaleth heh, ok, I never heard that term
  136. dreamreal an ontology = a body of knowledge
  137. dreamreal designing one is utterly nontrivial
  138. phaleth I remember nevet deployment with primate as frontend was rather smooth, only one problem with jdbc
  139. dreamreal nevet's factoids are an actual limited ontology; a factoid has info, urls, seealso, tags, maven coordinates, etc., as a very limited ontology
  140. dreamreal oh yeah, primate stores the tokens in a db as a limited scope
  141. dreamreal the nextjs front end doesn't, and probably should, but I'm trying to sort of drop that one as unmaintained except for security issues: if someone wants to write a GOOD nextjs front end I'll be happy to deploy it but it's not MINE and I don't like that UI
  142. blue nextjs and good are not typically words that appear together in one sentence
  143. phaleth hmm, I think nextjs or in other words react on backend is wrong, should be all TS at this point in time
  144. dreamreal yep, I suppose it's doable but not by me and I have no interest in it
  145. dreamreal I WOULD like to try an HTMX UI, though, it'd be a lot like the pudl implementation
  146. dreamreal could probably use a lot of the same server code
  147. blue dreamreal: https://primate.run/docs/frontend/htmx
  148. nevet Primate — HTMX
  149. dreamreal heh
  150. dreamreal good point :D
  151. dreamreal See discord, BTW: I'm working on an article about rcompat
  152. blue primate is kinda awesome: you could have both marko *and* htmx, in ONE app, in two disjunctive bundles
  153. blue looking
  154. dreamreal It feels like rcompat mostly needs a good thorough documentation workover
  155. phaleth htmx tends to go well with any view/template layer, but the framework has to be able to support partial html responses
  156. phaleth but might as well not use any framework and put all markup in TS
  157. phaleth I mean template literals are a thing, not much support from IDEs, but clanker does not care
  158. blue dreamreal: you're also welcome to submit patches to rcompat (docs), if you want. otherwise I'll fix those things myself as soon as I can
  159. phaleth new rcompat favicon is very original
  160. blue phaleth: primate uses partial html responses on every htmx request, automatically
  161. phaleth that means dreamreal does not have to pester clanker with TS
  162. phaleth I mean template literals
  163. blue ya
  164. phaleth actually, I gotta check if I pushed the favicon
  165. phaleth repopack site thinks favicon is binary
  166. dreamreal 0ver.url=https://0ver.org/
  167. nevet ZeroVer: 0-based Versioning — zer0ver
  168. dreamreal 0ver
  169. dreamreal 0ver.url=https://0ver.org/
  170. dreamreal FactoidUpdatedEvent(selector=0ver)
  171. nevet ok, dreamreal: updated 0ver.
  172. dreamreal 0ver=<reply>"0ver" refers to a versioning scheme that uses a significant version of "0," forever, used by *many* popular projects across many ecosystems.
  173. dreamreal FactoidUpdatedEvent(selector=0ver)
  174. nevet ok, dreamreal: updated 0ver.
  175. dreamreal 0ver.seealso=semver
  176. dreamreal FactoidUpdatedEvent(selector=0ver)
  177. nevet ok, dreamreal: updated 0ver.
  178. dreamreal semver.url=https://semver.org/
  179. dreamreal FactoidUpdatedEvent(selector=semver)
  180. nevet ok, dreamreal: updated semver.
  181. dreamreal semver=<reply>Semver is "semantic versioning," a version scheme that uses major, minor, and patch version numbers, indicating the severity of change from *prior* numbers.
  182. dreamreal FactoidUpdatedEvent(selector=semver)
  183. nevet ok, dreamreal: updated semver.
  184. dreamreal semver.seealso=0ver
  185. dreamreal FactoidUpdatedEvent(selector=semver)
  186. nevet ok, dreamreal: updated semver.
  187. * phaleth quit (Quit: phaleth)
  188. blue dreamreal: https://rcompat.repopack.app got a logo... courtesy of phaleth
  189. nevet rcompat — JavaScript standard library
  190. dreamreal I HATE IT! Let me go look at it
  191. blue how can you hate it if you didn't look at it >_>
  192. dreamreal no favicon yet, is it the flowchart-looking thing?
  193. dreamreal I was being funny
  194. dreamreal I am hilarious, you know, everyone tells me that after I pay them to say it
  195. blue yes, no favicon yet, because I was lazy
  196. dreamreal No worries, one bit at a time
  197. blue weird, there is a favicon
  198. blue it's just not getting loaded
  199. blue it's not explicitly in the code, btw. it relies on browsers trying for it automatically
  200. blue like primate.run does
  201. blue but I think the favicon may be botched, will need to ask phaleth
  202. blue dreamreal: https://rcompat.repopack.app/
  203. nevet rcompat — JavaScript standard library
  204. blue favicon works
  205. blue I do have some other fixes
  206. dreamreal woot
  207. blue what woot
  208. dreamreal fixes + favicon
  209. blue ya
  210. blue https://bytecode.news/posts/2026/10/emergent-design-outside-the-codebase
  211. blue this is an incredible article, but I recommend listening to it rather than reading
  212. * dreamreal shudders
  213. dreamreal the narrator's a goofball and is not good at this
  214. dreamreal The author also needs to start putting "hey, share this if you think it's worth sharing" somewhere
  215. blue oh come on, don't go yt on us
  216. dreamreal Well, here's the thing: people are not sharing this
  217. dreamreal they're leaving it up to me and that's not going to be sufficient to build critical mass, it's just the way it is
  218. blue I mean, I *get* the sentiment. people don't share unless you ask them to. I might be an exception, but still, the "subscribe, hit the bell icon" thing is what annoys me the most in yt videos
  219. dreamreal so I can do it all myself OR I can ask people to step up and help
  220. dreamreal I might ask and then nobody thinks it's worth sharing, that's entirely a possible outcome
  221. blue well this is *good* content, and it's essentially for free, I don't see a reason not to share it
  222. dreamreal because sharing is an action and I don't have any calls for action, so people... don't
  223. blue and btw it's good, as we already established, despite the primary sources often being trrible
  224. dreamreal so the exposure is mostly limited to MY networks and I don't enjoy networking well
  225. dreamreal there's some but not a lot
  226. blue btw, you can add bytecode.news here as a feed too, I'd say
  227. dreamreal and I can't see myself doing the whole "click 'like' and subscribe!' thing
  228. blue it might not always or often be primate relevant, but it's almost always worth reading
  229. dreamreal rss feed subscribe https://bytecode.news/
  230. dreamreal feed subscribe https://bytecode.news/
  231. nevet Subscribed to "ByteCode.News"
  232. dreamreal grr
  233. dreamreal there
  234. blue nice
  235. blue feed list
  236. nevet justine.lol - https://justine.lol/rss.xml Next.js Blog - https://nextjs.org/feed.xml Read the Tea Leaves - https://nolanlawson.com/feed/ The JetBrains Blog - https://blog.jetbrains.com/feed/ W3C - Blog - https://www.w3.org/blog/feed Terminal Trove - https://terminaltrove.com/blog.xml Distant Province - https://distantprovince.substack.com/feed That Privacy Guy! Blog - https://www.thatprivacyguy.com/blog/feed.xml James Shore - https://www.jamesshore.com/v2/feed Entropic Thoughts - https://entropicthoughts.com/feed Feed - https://hollycummins.com/rss.xml Eignex - https://eignex.com/feed.xml Nate Meyvis - https://www.natemeyvis.com/feed/ FREEZE64.COM - https://freeze64.com/feed/ purplesyringa's blog - https://purplesyringa.moe/blog/feed.rss Angular Blog - Medium - https://blog.angular.dev/feed Typotheque - https://www.typotheque.com/rss Ziglang.org News - https://ziglang.org/news/index.xml Martin Fowler - https://martinfowler.com/feed.atom bun.com - https://bun.com/rss.xml Svelte blog - https://svelte.dev/blog/rss.xml The Astro Blog - https://astro.build/rss.xml Improbable Research - https://improbable.com/feed/ Diátaxis - https://diataxis.fr/atom.xml Terence Eden’s Blog - https://shkspr.mobi/blog/feed/atom Ember.js Blog - https://blog.emberjs.com/rss.xml Random Notes and Cheat Sheets - https://www.kodewerk.com/feed.xml Deciphering Glyph - https://blog.glyph.im/feeds/all.atom.xml Docker - https://www.docker.com/feed/ Node.js Blog - https://nodejs.org/en/feed/blog.xml Simon Willison's Weblog - https://simonwillison.net/atom/everything/ Chicory Blog - https://chicory.dev/blog/rss.xml tRPC Blog - https://trpc.io/blog/rss.xml Primate Blog - https://primate.run/blog.rss OpenTelemetry - https://opentelemetry.io/index.xml Blog posts | RSS Feed - https://www.cockroachlabs.com/rss.xml Rust Blog - https://blog.rust-lang.org/feed.xml ByteCode.News - https://bytecode.news/feed.xml Nushell - https://www.nushell.sh/atom.xml Vanish is... - https://vanish.is/feed.xml Paged Out! Magazine - https://pagedout.institute/rss.xml JoshLong.com - https://api.joshlong.com/feed.xml Nature Reviews Computing - https://www.nature.com/nrcomput.rss David M. Lloyd - https://word-bits.flurg.com/rss.xml Biome | Blog - https://biomejs.dev/blog/rss.xml Deno - https://deno.com/feed Spring - https://spring.io/blog.atom OpenAPI Initiative - https://www.openapis.org/feed TypeScript - https://devblogs.microsoft.com/typescript/feed/ Enigmastation.com - https://enigmastation.com/feed.xml Open Liberty - https://openliberty.io/feed.xml MDN Blog - https://developer.mozilla.org/en-US/blog/rss.xml Fernando Borretti - https://borretti.me/feed.xml The Nuxt Blog - https://nuxt.com/blog/rss.xml The Vue Point - https://blog.vuejs.org/feed.rss cekrem.github.io - https://cekrem.github.io/index.xml Vlad Mihalcea - https://vladmihalcea.com/feed/ Piotr's TechBlog - https://piotrminkowski.com/feed/ Apache Fory™ Blog - https://fory.apache.org/blog/rss.xml Vercel News - https://vercel.com/atom Poimandres - https://pmnd.rs/feed.xml Apache NetBeans - https://netbeans.apache.org/blogs/atom React Blog - https://react.dev/feed.xml Christian Rackerseder | Blog - https://www.echooff.dev/rss.xml thoughts from the red planet - http://feeds.feedburner.com/ThoughtsFromTheRedPlanet WebKit - https://webkit.org/feed
  237. blue ah, it's all feeds
  238. dreamreal gah, that's a horrible command
  239. blue not just this channel's
  240. blue I forgot :/
  241. dreamreal yeah, I need to fix that
  242. dreamreal feed subscribed
  243. dreamreal a whole lot of commands I forgot how to use
  244. dreamreal feed
  245. blue nevet should print help I think
  246. blue feed
  247. dreamreal yeah, the IRC side has a lot of trouble with help because it's so verbose
  248. dreamreal feed subscriptions
  249. nevet bun.com - https://bun.com/rss.xml Node.js Blog - https://nodejs.org/en/feed/blog.xml Primate Blog - https://primate.run/blog.rss ByteCode.News - https://bytecode.news/feed.xml Deno - https://deno.com/feed
  250. dreamreal there
  251. blue nice
  252. * blue!~blue@user/blue changed the topic to: https://primate.run | This channel is logged: https://bytecode.news/logs/irc/libera/primate
  253. blue "The broad, general, forward-looking interface built for unknown future uses is exactly the speculative abstraction YAGNI forbids"
  254. blue very good
  255. blue what's funny about this article dreamreal is that it describes rcompat almost to t
  256. blue "In both cases the design arrives when something uses it, and not before."
  257. blue it was always designed around my needs in primate
  258. dreamreal yes, emergent design isn't new
  259. blue to a t*
  260. dreamreal bain's book was mid-2000s and wasn't new THEN
  261. blue maybe I should get it
  262. blue btw: why don't you do affiliate links?
  263. blue I think you link to amazon relatively frequently
  264. blue if I buy the book anyway, I don't see any harm in you getting something out of it. it's a win-win situation, since amazon has enough to spare
  265. dreamreal I am allergic to such things :/
  266. dreamreal Don't want to feel like I'm trying to sell people on things, including thinking
  267. blue yeah I get it
  268. blue but at some point it would be nice to have a business model around BCN.. maybe subscriptions
  269. dreamreal yeah, I know
  270. dreamreal I just hate the ideas I've had around it
  271. blue ya
  272. blue https://news.ycombinator.com/item?id=50132798
  273. nevet Emergent Design, Outside the Codebase | Hacker News
  274. blue everyone pls upvote
  275. * skillnews quit (Remote host closed the connection)
  276. * skillbot quit (Remote host closed the connection)
  277. * skillbot joined #primate
  278. * skillnews joined #primate
  279. blue dreamreal: https://repopack.com/project/flog/tasks/74
  280. blue a way forward for dog/flog
  281. blue https://repopack.com/project/rcompat/tasks/46
  282. blue soon coming
  283. blue dog is screaming along...
  284. blue currently working on a measured array-index speed paw
  285. blue dreamreal: ^
  286. blue we also need `flog test --coverage`
  287. * jreicher quit (Quit: In transit)
  288. * jreicher joined #primate

Search posts