Submit

Back to the channels

#primate

  1. phaleth only 20 seconds to build primate website, used to be about 45-50 seconds
  2. phaleth flog really needs trust me bro script and windows builds
  3. blue hi phaleth
  4. blue yes, the primate website now doesn't need to build packages anymore, runs TS from source
  5. blue btw phaleth, this is something that flog/dog are gonna solve generally for TS. no build step
  6. phaleth hi blue
  7. blue hi
  8. phaleth you mean there is no call to flog build?
  9. blue exactly. no packages are being compiled to JS
  10. blue the 20s are, according to my analysis, 14s docker nonsense, 6s primate build
  11. blue docker stuff can be cached. the real redeploy time of primate website is 6s
  12. blue there's also flog install involved, but that is really, really fast. faster than pnpm currently
  13. phaleth but in the Containerfile there is RUN flog run --workspace apps/website build
  14. blue yes. flog run jst runs scripts
  15. blue in that case, the script is `primate build`
  16. phaleth ah, so before the call was: RUN flog build --workspace apps/website
  17. blue yes. `flog build` builds TS -> JS, recursively
  18. blue with dog around, `flog build` should be kinda obsolete I hope
  19. blue btw dog's motto: One paw at a time. I came up with it and clanker approved
  20. phaleth nah
  21. blue dreamreal found it hilarious for some reason
  22. phaleth I just hope clanker is done with flog except for the issues I've mentioned
  23. blue flog is only getting started. https://repopack.com/project/flog/tasks/73
  24. blue we're getting `flog format` and `flog lint`. but for that we need dog, so it'll arrive later, probably in 2027
  25. blue flog -> everything related to monorepo maintainance, dog -> just running stuff
  26. blue the split bun never had, but should have had
  27. blue maintenance*
  28. phaleth but for just running stuff it can use node
  29. blue yes but node is slow and stupid
  30. phaleth or the go backed in runtime
  31. blue well goja doesn't have jit, dog has jit (already)
  32. phaleth node runs on v8
  33. blue ya, dog is gonna be faster than v8
  34. phaleth omg :D
  35. phaleth I thought flog is gonna be generally useful for people who can't be bothered with pnpm, but cannot fully migrate
  36. blue yes, well it's gonna replace npm/pnpm/yarn/nub/bun
  37. phaleth anyway, JS engine is ton of wasted tokens cause of web standards
  38. blue the web standards are actually the easiest part because clanker has ref
  39. phaleth goja is slow, too bad
  40. blue jit is the hard part, but dog is already getting fast there
  41. blue it already has 0 recompilations for some warm operations
  42. phaleth ok, so that's what is clanker doing
  43. blue that doesn't mean a lot right now, but it's only going to get better
  44. blue and btw remember it's currently only optimised for amd64
  45. blue unlike v8, which has instructions for many, many platforms. I just need linux servers for now
  46. phaleth is JIT compilation doable with golang?
  47. blue yes
  48. blue a friend of mine built wago (wago.sh) which is nearly the fastest wasi runtime, has jit
  49. blue beats the v8 wasm runtime
  50. blue that's currently the inspiration for dog, wago showed it's possible
  51. blue wago is top of many benchmarks and 2nd or 3rd (to jsc) in others
  52. phaleth nah, clanker has no chance
  53. blue wago is 100% clankered
  54. phaleth yeah, but wasm is simple
  55. blue yes
  56. blue I'm not saying it's gonna be as easy as wago
  57. blue but it is possible
  58. phaleth what is this error? flog: binary target is missing
  59. blue no idea
  60. phaleth trying to call: flog run --workspace apps/website build
  61. blue binary target sounds like esbuild stuff?
  62. phaleth ah, so package.json and other things got update in primate repo
  63. phaleth so I need to pull down that
  64. blue yes
  65. blue phaleth, you'll notice it's really really fast
  66. blue it's actually ridiculously fast
  67. phaleth that @primate/source is some magic
  68. phaleth well, at least pnpm repos can still use the previous: flog build --workspace apps/website
  69. blue it's just runtime keys. with dog it's all gonna be standardised into the "source" runtime key
  70. blue the idea is, no need to compile TS, ever
  71. blue it's perfect
  72. blue btw this reminds me, once primate 0.43 releases and flog.run can serve binaries, we gotta move rcompat and repopack to flog
  73. blue get rid of pnpm completely
  74. phaleth yeah, also bun
  75. blue yes bun is dead anyway. sumner threw out all the team and is now playing with claude alone
  76. phaleth not sure what you mean by: compile TS
  77. blue TS -> JS
  78. phaleth there is still build/server.js right now
  79. blue yes but that's primate build, don't confuse it
  80. blue primate build is about building the primate server with esbuild. it also strips TS but that's not a costly operation
  81. phaleth so tsc is not called on invididual primate packages?
  82. phaleth the 6 ones that the primate website needs
  83. blue right now? no. it used to, when we had `flog build` in the containerfile
  84. phaleth hmm
  85. blue tsc (which is tsgo since version 7) is fast, but still costs a lot of time
  86. blue the reason we went down from 44s to 20s are mostly factoring out the TS build time
  87. blue and a few optimisations in flog
  88. phaleth magic
  89. blue well it's hardly any magic. bun has supported running ts directly for a while. node has had it since v24 I think
  90. blue it's not really magic anymore
  91. phaleth well, if rcompat can be built that way then it's legit I guess
  92. blue btw phaleth, one of hte reasons I'm building flog, is that node doesn't allow loading TS from node_modules
  93. phaleth ah, so that's why
  94. blue which is a very, very backward decision
  95. blue one of the reasons I'm building dog*, sorry
  96. blue bun can load TS from node_modules
  97. blue but node refuses. it has the capability, it just refuses
  98. phaleth yeah, bun is pushing node around, good
  99. phaleth well, what a shame for people paying for all those CI costs
  100. phaleth so dog is gonna be the first TS only runtime? JS completely banned?
  101. phaleth I mean it should be exactly that
  102. phaleth cause there are lot of optimizations to be had from the typesystem
  103. blue idk it needs to ban JS completely
  104. blue idt*
  105. blue but dog is gonna be focussed on avoiding that pesky build step
  106. blue and also you to publish source-packages to npm
  107. blue in fact, encourage you to do so
  108. 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
  109. blue the problem of newer runtimes, like deno and bun, they always tried to reshape reality around their own egos
  110. blue I think it's important to play along with npm/node even if I don't like it
  111. phaleth sounds good, but it'll take a lot of time
  112. blue time is all we got
  113. blue of course if we had funding, this would be done yesterday
  114. dreamreal So getting streampack set up for another network has been... instructive
  115. phaleth what's the tech stack?
  116. 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
  117. dreamreal the UIs are "bytecode.news" that use the streampack API, they're not "streampack"
  118. 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.
  119. dreamreal so there's an ontology, and an IRC service, and... well, there's nevet right there
  120. dreamreal I had thought of actually doing an ontology, blazeds or rdf, but... again, ontologies
  121. phaleth ah, it's that nevet thing that is still deployed on the VPS next to repopack
  122. dreamreal yeah, I don't know the state of that at all, baby steps!
  123. phaleth ontology makes you sound like a doctor
  124. dreamreal Does it? To me it makes me sound like someone who works with knowledge graphs, because that's what ontologists do
  125. phaleth heh, ok, I never heard that term
  126. dreamreal an ontology = a body of knowledge
  127. dreamreal designing one is utterly nontrivial
  128. phaleth I remember nevet deployment with primate as frontend was rather smooth, only one problem with jdbc
  129. dreamreal nevet's factoids are an actual limited ontology; a factoid has info, urls, seealso, tags, maven coordinates, etc., as a very limited ontology
  130. dreamreal oh yeah, primate stores the tokens in a db as a limited scope
  131. 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
  132. blue nextjs and good are not typically words that appear together in one sentence
  133. phaleth hmm, I think nextjs or in other words react on backend is wrong, should be all TS at this point in time
  134. dreamreal yep, I suppose it's doable but not by me and I have no interest in it
  135. dreamreal I WOULD like to try an HTMX UI, though, it'd be a lot like the pudl implementation
  136. dreamreal could probably use a lot of the same server code
  137. blue dreamreal: https://primate.run/docs/frontend/htmx
  138. nevet Primate — HTMX
  139. dreamreal heh
  140. dreamreal good point :D
  141. dreamreal See discord, BTW: I'm working on an article about rcompat
  142. blue primate is kinda awesome: you could have both marko *and* htmx, in ONE app, in two disjunctive bundles
  143. blue looking
  144. dreamreal It feels like rcompat mostly needs a good thorough documentation workover
  145. phaleth htmx tends to go well with any view/template layer, but the framework has to be able to support partial html responses
  146. phaleth but might as well not use any framework and put all markup in TS
  147. phaleth I mean template literals are a thing, not much support from IDEs, but clanker does not care
  148. 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
  149. phaleth new rcompat favicon is very original
  150. blue phaleth: primate uses partial html responses on every htmx request, automatically
  151. phaleth that means dreamreal does not have to pester clanker with TS
  152. phaleth I mean template literals
  153. blue ya
  154. phaleth actually, I gotta check if I pushed the favicon
  155. phaleth repopack site thinks favicon is binary
  156. dreamreal 0ver.url=https://0ver.org/
  157. nevet ZeroVer: 0-based Versioning — zer0ver
  158. dreamreal 0ver
  159. dreamreal 0ver.url=https://0ver.org/
  160. dreamreal FactoidUpdatedEvent(selector=0ver)
  161. nevet ok, dreamreal: updated 0ver.
  162. 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.
  163. dreamreal FactoidUpdatedEvent(selector=0ver)
  164. nevet ok, dreamreal: updated 0ver.
  165. dreamreal 0ver.seealso=semver
  166. dreamreal FactoidUpdatedEvent(selector=0ver)
  167. nevet ok, dreamreal: updated 0ver.
  168. dreamreal semver.url=https://semver.org/
  169. dreamreal FactoidUpdatedEvent(selector=semver)
  170. nevet ok, dreamreal: updated semver.
  171. 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.
  172. dreamreal FactoidUpdatedEvent(selector=semver)
  173. nevet ok, dreamreal: updated semver.
  174. dreamreal semver.seealso=0ver
  175. dreamreal FactoidUpdatedEvent(selector=semver)
  176. nevet ok, dreamreal: updated semver.
  177. blue dreamreal: https://rcompat.repopack.app got a logo... courtesy of phaleth
  178. nevet rcompat — JavaScript standard library
  179. dreamreal I HATE IT! Let me go look at it
  180. blue how can you hate it if you didn't look at it >_>
  181. dreamreal no favicon yet, is it the flowchart-looking thing?
  182. dreamreal I was being funny
  183. dreamreal I am hilarious, you know, everyone tells me that after I pay them to say it
  184. blue yes, no favicon yet, because I was lazy
  185. dreamreal No worries, one bit at a time
  186. blue weird, there is a favicon
  187. blue it's just not getting loaded
  188. blue it's not explicitly in the code, btw. it relies on browsers trying for it automatically
  189. blue like primate.run does
  190. blue but I think the favicon may be botched, will need to ask phaleth
  191. blue dreamreal: https://rcompat.repopack.app/
  192. nevet rcompat — JavaScript standard library
  193. blue favicon works
  194. blue I do have some other fixes
  195. dreamreal woot
  196. blue what woot
  197. dreamreal fixes + favicon
  198. blue ya
  199. blue https://bytecode.news/posts/2026/10/emergent-design-outside-the-codebase
  200. blue this is an incredible article, but I recommend listening to it rather than reading
  201. * dreamreal shudders
  202. dreamreal the narrator's a goofball and is not good at this
  203. dreamreal The author also needs to start putting "hey, share this if you think it's worth sharing" somewhere
  204. blue oh come on, don't go yt on us
  205. dreamreal Well, here's the thing: people are not sharing this
  206. 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
  207. 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
  208. dreamreal so I can do it all myself OR I can ask people to step up and help
  209. dreamreal I might ask and then nobody thinks it's worth sharing, that's entirely a possible outcome
  210. blue well this is *good* content, and it's essentially for free, I don't see a reason not to share it
  211. dreamreal because sharing is an action and I don't have any calls for action, so people... don't
  212. blue and btw it's good, as we already established, despite the primary sources often being trrible
  213. dreamreal so the exposure is mostly limited to MY networks and I don't enjoy networking well
  214. dreamreal there's some but not a lot
  215. blue btw, you can add bytecode.news here as a feed too, I'd say
  216. dreamreal and I can't see myself doing the whole "click 'like' and subscribe!' thing
  217. blue it might not always or often be primate relevant, but it's almost always worth reading
  218. dreamreal rss feed subscribe https://bytecode.news/
  219. dreamreal feed subscribe https://bytecode.news/
  220. nevet Subscribed to "ByteCode.News"
  221. dreamreal grr
  222. dreamreal there
  223. blue nice
  224. blue feed list
  225. 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
  226. blue ah, it's all feeds
  227. dreamreal gah, that's a horrible command
  228. blue not just this channel's
  229. blue I forgot :/
  230. dreamreal yeah, I need to fix that
  231. dreamreal feed subscribed
  232. dreamreal a whole lot of commands I forgot how to use
  233. dreamreal feed
  234. blue nevet should print help I think
  235. blue feed
  236. dreamreal yeah, the IRC side has a lot of trouble with help because it's so verbose
  237. dreamreal feed subscriptions
  238. 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
  239. dreamreal there
  240. blue nice
  241. blue "The broad, general, forward-looking interface built for unknown future uses is exactly the speculative abstraction YAGNI forbids"
  242. blue very good
  243. blue what's funny about this article dreamreal is that it describes rcompat almost to t
  244. blue "In both cases the design arrives when something uses it, and not before."
  245. blue it was always designed around my needs in primate
  246. dreamreal yes, emergent design isn't new
  247. blue to a t*
  248. dreamreal bain's book was mid-2000s and wasn't new THEN
  249. blue maybe I should get it
  250. blue btw: why don't you do affiliate links?
  251. blue I think you link to amazon relatively frequently
  252. 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
  253. dreamreal I am allergic to such things :/
  254. dreamreal Don't want to feel like I'm trying to sell people on things, including thinking
  255. blue yeah I get it
  256. blue but at some point it would be nice to have a business model around BCN.. maybe subscriptions
  257. dreamreal yeah, I know
  258. dreamreal I just hate the ideas I've had around it
  259. blue ya
  260. blue https://news.ycombinator.com/item?id=50132798
  261. nevet Emergent Design, Outside the Codebase | Hacker News
  262. blue everyone pls upvote
  263. blue dreamreal: https://repopack.com/project/flog/tasks/74
  264. blue a way forward for dog/flog
  265. blue https://repopack.com/project/rcompat/tasks/46
  266. blue soon coming
  267. blue dog is screaming along...
  268. blue currently working on a measured array-index speed paw
  269. blue dreamreal: ^
  270. blue we also need `flog test --coverage`

Search posts