Submit

Back to the channels

#primate

  1. jreicher Is the window-within-the-window behaviour that happens with bytecode.news a primate thing?
  2. blue what window-within-the-window?
  3. jreicher Go to https://pudl.bytecode.news/logs and click on one of the channels. By default it should come up as a window within the page, rather than a new page.
  4. blue but that's pudl jreicher, not primate
  5. jreicher I don't really understand PUDL yet, but I wouldn't have thought the choice of design language gives you some behaviours immediately.
  6. blue pudl is completely unrelated to primate, to my knowledge
  7. jreicher Oh...
  8. jreicher I'm still trying to understand how BCN is put together
  9. blue jreicher: it's kind of confusing. PUDL is both a design language, but there's also a standard impl (in JS)
  10. blue I think dreamreal is using both. however, that nothing to do with primate
  11. blue that has*
  12. jreicher It's really nice it's using primate though. I didn't know that until recently.
  13. blue true
  14. blue dreamreal moved just recently to primate
  15. jreicher I feel a bit strange saying this, but I'm really happy for you. Having someone else use your work is one of the nicest things that can happen.
  16. blue thank you jreicher. yes, I said the same to dreamreal
  17. dreamreal jreicher: yo
  18. dreamreal what's the question?
  19. dreamreal jreicher: oh
  20. dreamreal PUDL is a ridiculous name, and i've told its author so - even while appreciating the humor in it. But it's basically a desktop in the web, windowing, the works, and is a standard (or wants to be). Paul's been doing work similar to it for decades, and only recently has it turned into PUDL itself - it's had good implementations before but nothing like this, IMO.
  21. dreamreal But BCN is built on three layers: a DB (postgres), an app (kotlin/spring), and a pluggable front end, so it has a primate front end (the "main site"), a pudl front end, a nextjs front end, a JSF front end that bores me, etc
  22. dreamreal so what happens is a "new feature" gets scoped: it might be the app, which is a massive ingress/egress workflow engine (takes input from irc, slack, discord, mattermost, mail, http), AND/OR the front end (i.e., pudl's factoid editing stuff, which is a little ahead of the other apps, although that functionality will get ported)
  23. dreamreal and implementation tends to go from the lowest level to the highest (i.e., right now I'm working on factoids again, which means the app changes, and then the front ends adapt)
  24. dreamreal (I'm deploying a factoid update right now, for example - that's why nevet restarted.)
  25. dreamreal The front ends don't HAVE to be efficient - they rely on the backend for data and operations, but they should be able to run properly while the backend is restarting, and they do
  26. jreicher dreamreal: I don't really have a question. I was just wondering at the behaviour of a window for each of the log views. It's uncommon in my experience (and that's not a criticism)
  27. dreamreal Oh, it's uncommon. The pudl front end feels like MOST of a desktop for bytecode would
  28. dreamreal From my sample set most people see the pudl app and go "whoa, neat" but vastly prefer the actual main page for usage
  29. dreamreal as an ADMIN, I barely bother with the primate version except for sharing and checking, because teh feature set for pudl is so much better for editing - both are SPA but pudl allows me to operate in multiple aspects at the same time, whereas the main site has to put it all in the same frame - that's a *design* thing, not an implementation thing, primate could do it
  30. dreamreal for that matter, primate could use pudl
  31. jreicher Sorry, brb.
  32. dreamreal yo jreicher
  33. dreamreal https://bytecode.news/posts/2026/10/testcontainers-and-reuse
  34. dreamreal Someone slap that on HN and lobste.rs if you have an account
  35. dreamreal blue: primate also BUILDS faster than the nextjs app, the actual mechanics of it
  36. blue dreamreal: there's actually more to it. I don't know how next handles it, so can't speak to that. but generally speaking, primate builds *self-contained* .js files in the `build` directory. that has a few implications. you can completely separate build and run server, *and* you don't need npm on the run server, just node/deno/bun
  37. blue the primate build process has been optimised to a high degree to achieve that, because the `node_modules` folder is typically a blackhole, and I did not want to require npm in deployment
  38. dreamreal blue: post that url to HN, I want to see if it shows up this time
  39. blue oki
  40. dreamreal You're not actually supposed to SELF-POST, so ...
  41. dreamreal up yet?
  42. blue https://news.ycombinator.com/item?id=49976944
  43. nevet Hacker News
  44. blue can you see it?
  45. dreamreal I cannot!
  46. dreamreal What the heck?
  47. blue I think bytecode.news may have been blacklisted
  48. blue but unsure
  49. blue did HN get back to you?
  50. dreamreal Not yet
  51. dreamreal I wonder why it's been blacklisted, if that's the case
  52. dreamreal okay, off to get some exercise in
  53. dreamreal was really hoping to see the HN effect :/
  54. blue ya :(
  55. blue dreamreal: https://news.ycombinator.com/item?id=49977000
  56. nevet Testcontainers and Reuse | Hacker News
  57. blue there we go, fixed it for ya
  58. dreamreal What was it?
  59. blue I used a different account from the one previously used to post the blacklisted url
  60. dreamreal ... what
  61. dreamreal that's... odd
  62. dreamreal and there it goes!
  63. blue not inherently: it appears their content mitigation strategy empoys a combination of url/domain/history
  64. blue employs*
  65. blue that's why I have like five different HN accounts, because HN is so finicky
  66. blue I also posted from a vpn, to be sure there is no link
  67. dreamreal interesting. That could explain it, yeah.
  68. blue I do not know, obviously, how the algo works. my hunch: too much 'promotion' (the same host url from the same account), gets the *account* + url blacklisted
  69. dreamreal lots of TX, low CPU usage, woo
  70. blue and since I previously had hans post the blacklisted url, he apparently got blacklisted (for bytecode.news), as well
  71. blue so when he tried to post *this* one, it failed too
  72. blue anyway, saru got it done
  73. dreamreal I *really* want to see this on HN's front page
  74. dreamreal Would be a fantastic test
  75. dreamreal I think the system's about stable as a whole: I'm running out of trivial features to add :D
  76. blue ya
  77. blue dreamreal: at 6 pts now
  78. blue dreamreal: 7, still not ratio'd/homepage'd
  79. dreamreal yeah
  80. dreamreal back
  81. dreamreal I think it's topping out
  82. dreamreal :(
  83. blue :(
  84. dreamreal Such is life
  85. blue sometimes though it happens a bit later
  86. blue their algo for placing something on the hp, is rather weird, as well

Search posts