bluephaleth: fyi: repopack *still* consumes 200 <= x <= 300 MiB of memory. Dog will specifically require to lower that number to <= 100 MiB. I don't know why it needs so much memory to be honest, is all of it JIT?
phalethit's cause it's a VM
blueyes I know it's a VM, but repopack isn't doing much
phalethgolang runtime takes less memory only cause it's native
bluethe repopack build/server.js is 36M
phalethyeah, but you know there is event loop and that just in a sense heats up the VM
bluewhich is already a lot and probably needs optimisaing. but 36M -> 300M is only 10x
phalethall VMs are like that, node is actually doing very well for a VM
bluealso bun was leaking like crazy
phaleth36M means it should take ten times the memory, yeah
phalethwith latest flog --ignore-scripts seems to work, but there is another error
bluewhat error?
phalethon build about node --conditions=@primate/source
phalethI'll create a task
dreamreal*sigh* two new pieces underway for BCN
phalethI think it's a primate problem, not flogs
dreamrealI need to get critical mass enough that other people write for it, because I'm burning myself alive
dreamreal... although... okay, question time: blue, you read BCN because I force you to, phaleth, do you?
bluephaleth: flog is pristine, so probably primate
phalethdreamreal: sometimes, when I have time to lurk
bluedreamreal: well, I read BCN for particularly two reasons. the first, I don't need to look around prefiltering what any idiot writes on his blog, I get the rough gold nuggets (usually) and 2) I get them in a REFINED form, so the rough gold nuggets are made pristine
dreamrealWell, here's the question: am I setting the bar too high for people to be willing to write on BCN?
dreamrealLike, I'm trying to write well but at full resolution
dreamrealand if people go "I can't do dat, I rite gud on twitter insted" ...
bluepartially, yes
bluethe bar is pretty high because the takes are often complex and require thinking
blueI do wish you had more plebs-oriented takes; like the current value destroying that andrew-zig has been hard at work on, for the last few months
blueyou did have a take on zig's AI policy; but it was *way* too nice
bluezig's AI policy, combined with lashing like crazy at bun, combined with the crazy and irrational move to codeberg... just shows you what a deranged dictator-for-life can cause for damage, in a project with otherwise high value
dreamrealWell, BCN's editorial policy is to keep criticism unpersonal, and there's no way I'm digging in against anyone.
blueI'm actually less annoyed with the AI policy, less annoyed with the childish lashing out at bun, than I am annoyed at how condescending and insufferable this guy was against *donors* on github
dreamrealI'd like to have more plebe-oriented stuff as you call it, but I don't really think that way so it feels scripted
dreamrealand since I don't use zig I don't have enough visibility into the specific issue, if you will
bluewell, *you* draw the consequences, one of your most seen pieces was the bun rust rewrite, and it was closest to plebs content
dreamrealI wouldn't mind publishing something written well
blueI'm not gonna try and tell you how to run BCN. But if you want more exposure, and consequently perhaps more authors, you might have to stoop a bit
blueyou don't *have* to make a zig 'hit' piece a personal attack
dreamrealActually, I need to check the actual numbers: the bun rust rewrite piece maintains the most temperature but that doesn't actually correspond to "most hits"
blueit is a personal problem caused by the project leader, but it is equally a project problem, by now
dreamrealI don't mind, but I cannot stand ragebait, so I'm very sensitive to hosting it
bluecodeberg regularly doesn't work properly; a ton of work was left unfinished on github in terms of issues, that the zig project did not bother migrating
dreamrealRight now I'm binding pele into BCN, which will be a content piece as well, AND I'm working on a piece on irrelephants
phalethcelld is the current hype, and the deno team being bought by cloudflare to work on celld
blueand people are wary of using zig on high profile project, because if they pivot away, they'll get lashed out at
dreamrealblue: See, I don't have those perspectives to even work with
dreamrealwhich kinda sucks: I can't know everything and (surprise!) I don't
phalethI mean clanker on celld, inlcuding the original author of node Ryan Dahl (think I spelled that right)
dreamrealpele installed on server! Now working on one of the front ends to test it out :D
bluebecause personally the lack of major 1 in zig is currently the biggest problem
dreamrealblue: you mean major 0?
blueno, I mean major 1
dreamrealI mean, I agree with you, and you know why
bluezig was not meant to be a 0ver
blueand for a change, I don't think it should be. I'm in the 0ver-camp, but not for programming languages
dreamrealSee, I know who should write this, and who should edit it
dreamrealor I THINK I do
blueI can tell you that such an article will generate A LOT of interaction
dreamrealI'm sure it would
bluebecause I know how people feel, and they feel strongly, either way
* dreamreal actually does not, which is part of why he shouldn't write it
blueit touches on all the current plebs seams. AI, semver, hosting platforms
dreamrealTo me, zig is very much a storm in a teacup
dreamrealI know it's actually NOT - that's the point of the irrelephant article I'm working on - but to me it is
bluedreamreal: I'm just gonna tell you that if *I* wrote it, it'd probably be titled "The Zig project is going nowhere"
dreamrealhell, write it that way! We'll edit it into shape if it needs it.
dreamrealHideki Idoru has only published one thing so far!
* dreamreal giggles
bluetrue
blueunfortunately I'm currently busy with Dog
dreamrealI'd actually prefer a different pseudonym, or under your name, but eh, whatever. If we want to reuse it as an anonymous id, we can.
dreamrealSit, dog!
dreamrealLie down!
dreamrealRoll over!
dreamrealPlay dead!
blueIt's edging on V8, believe it or not
bluewhether it can beat it or not, remains open
blueI'm skeptical, but Dog seems to be confident
blueI'd be actually personally ok with getting lim(v8) rather than surpassing
dreamrealdang it, now I want the zig thing too
bluehaha
bluethis is where we are currently at: "recent Dog timings varied roughly 59–76 µs/batch versus V8’s 3.3–4.0 µs/batch."
blue17-18x roughly, on a non-representative benchmark
bluewe started at 30x
blueWe're still doing work for reference-bearing JIT, but it's not enabled yet
* dreamreal is so jazzed by pele - BCN is getting mermaid graphs in posts, I think
dreamreal(I say "I think" but it's actually looking like it's working on the server, but the UIs need to respect the directives)
blueya, I recently added mermaid support to repopack
dreamrealpele.run!
dreamrealpele > mermaid so far, since it actually generates SVG differently
blueusing the "mermaid" npm package, I believe. you should render it on the client, cheaper
dreamreals/should/could/ but mermaid's expensive
dreamrealthe problem is that we'd have to pass the mermaid block to the client
dreamrealI AM rendering drafts on the client, though
bluepele is great. let me replace the mermaid dep with pele in repopack
bluePele 1.6.0 replaces Mermaid 12.1.0
blueand its diagram dependency graph, including KaTeX, Chevrotain and lodash-es.
blueso nice, dreamreal!
dreamrealI'm impressed as all hell
dreamrealGot a crackerjack post underway on it but want to have it deployed, so the post on pele uses pele :D
blueand the zig post?
bluehas it materialised yet?
dreamrealHmm,I don't think I'm the one to materialize that one, it could be written here with !article (that's why that command exists, to allow people to discuss content that creates an article) but I don't think I should sole-source it
dreamrealbut to answer you directly: no, I have two high-effort pieces underway, a third would be a lot for a calm peaceful sunday
blueI can give clanker a few pointers, see what it comes up with
bluebut I won't be able to read it aloud!
dreamrealThat's fine, I'll narrate it
dreamrealthe audio isn't literally narrated, the audio is a separate piece of content and should be considered as such
bluefair
dreamrealWhat I do for the audio is have the *rendered draft* in front of me, and it's mostly a mostly-faithful way of how *I read it*
dreamrealso no footnotes unless they occur to me as I read the actual main content, etc
dreamrealthe main thing about using !article is that if you use the AI features for it you get haiku as the model
dreamrealphaleth: you're on there as "phaleth" right?
dreamrealsays it's got a pending invite :/
phalethlooking at the Dockerfile and there are few changes I am gonna suggest in the PR, the one big mistake I see is to use npx to run the app, that results two node processes instead of one I think
dreamreal(graalvm's native images do not do image libraries well)
dreamrealphaleth: *nod* I used AI to build the app, I do not and did not expect it to be good at it, just sufficient
phalethbut I will create a PR
dreamreal*nod* and thank you VERY much
phalethno problem
bluedreamreal: discord, zig article
dreamrealgot it, looking, will get to it ASAP but drowning right now
blueget a LIFE VEST
phalethanother big mistake is to use main as branch name :)
blueYES
bluefinally someone calling it out
phaleththe sole reason why dog exists
blueyes
bluefinally someone who gets it
dreamrealphaleth: I don't care, it's github default and I saw no reason to give a single crap about it :D
dreamrealI don't care about main/master, use master and I'm fine, use main and I'm fine, no reason to get my knickers in a twist about it
dreamrealAdding fonts and styles for primate, and getting the preview renderer in place
dreamrealand doing a rare nextjs update so the fonts render in case any damn fool uses the nextjs front end :D
blueHOLY HECK THE ZIG POST IS GOING PLACES AND THE EDITOR IS BUSY FIDDLING WITH GRAPHS
dreamrealblue: the editor has a queue and is human and stuff AND the author hasn't granted access to the zig post anyway
blueI sent you a glink
dreamrealyes, and I requested access because I didn't get granted access despite the link
dreamrealokay, one of four done in the queue, now to work on #2
blueDONE
dreamrealthere's #4!
bluelol
dreamrealokay, how do you want to do this
dreamrealdo you want to post it yourself, or do you want the same process as the prior one
blueto what are those questions tending
bluedo you want to draft it on BCN?
blueotherwise I'd say, let's finish it first on gdocs, then decide
dreamrealWell, I mean is it a hideki irodu-type "a user sent this in" post, or what
dreamrealokay, I 'll file comments, some will be to me, some to you, okay?
blueidk, I haven't decided yet
dreamrealThat's fine, it just affects voice
bluesure
dreamrealif it's you or attributed to a pseudonym, some of the stronger statements get to stand
blueI'm currently trying to make it sond more human, because it screams clanker, and it annoys me because I don't like reading clanker content either, feels so unreal
dreamrealThe way to do that is for you to read each sentence and phrase it yourself, including flow, FTR
dreamrealbut I get it
blueyes
dreamrealOkay, I'm goingto wait on the bun section until you're done editing
bluek
bluethx
dreamrealLMK when, going to work on the pele post now
bluek
bluedreamreal: done
dreamrealOkay, almost done with the pele edit, will switch when I get closer on this, won't be long
phalethdreamreal: I found the current deployment is very insecure, there are all node_modules in the container at runtime with write permissions
dreamrealphaleth: *nod* feel *very* free to fix
dreamrealI make no claims to the primate ui's quality
bluephaleth: did you see the native gains on `ws`?
bluethis is amazing. Getting rid of a dep, and becoming faster
phalethdreamreal: PR is already there
phalethblue: I saw some 2x improvements in some table
phalethwell, consider using websockets instead of SSE for repopack
bluethis is amaze sauce
dreamrealthanks for notifying me, GITHUB YOU PIECE OF SHIT
dreamrealsorry
* blue points at repopack
blueactually, there's no way to subscribe to a project's tasks... yet.
bluephaleth: we need a task for this
dreamrealphaleth: deploying now
dreamrealmuch appreciated
dreamrealphaleth: ++
nevetphaleth now has karma of 1.
phalethblue: btw, should be tricky to make flog work against bcn's primate frontend, I tried nub but nub failed
phalethyeah, I wonder what happened to the release candidates task in repopack, forgot the number
dreamrealokay, queue item #2 done! back to #4 for a bit
dreamrealblue: okay, my thought: this needs to be attributed to an outside contributor, either through authorship (you submit it) or direct attribution (as we did with the idoru article)
dreamrealIf I narrate this, I'm gonna have to use a ring modulator or something to change the narration voice, becuase these aren't my words.
bluetrue dreamreal
blueyou don't *have* to narrate it though
bluewe should make a podcast recording out of this article really
phalethdiagrams now display correctly in librewolf
liolocblue: Hey blue, are websockets up to date in the primate documentation?
liolocoh interesting, do you know if blue is going to update the documentation website for primate.run? It looks homeless compared to this one, looks clean
phalethyou mean the design or the content?
liolocdesign
phaleththere's gonna be some pema section when 0.43 is out
phalethoh, hmm, dunno
phalethcan you create a task in primate repo?
liolocI can, but i'll have to first identify the issues with it, there's a few things that break on mobile
liolochow are you btw? thanks for helping me out on a sunday :D
phalethok, I think blue fixed some mobile issues, but it's all stuck with 0.43
blueI'm honestly thinking of pulling this into 0.43
blueI have half a mind to release a primate 0.43 that comes with totally outdated rcompat versions, and then I'm gonna need to start backporting nonsense
blueso better pull off the plaster now than later
phalethcool, looks fine
blue(that's bandaid, for our american friends here)
bluelioloc: the next rcompat versions got rid of their last few deps (busboy and ws, both for @rcompat/http on node), and replaced them with custom implementations, which are faster than those packages
bluercompat is now completely dependency free, as it should be
blueI believe I found a golden path there, but it's yet to be seen if it's doable
bluethere's also `flog format`, `flog lint`, `flog test` (which is proby, really) and `flog test --coverage` coming for flog, but most of those need AST stuff and thus will need to wait for dog
blueflog will refuse to publish with any "std:" imports in the tree, unless --std-compat or --std-pure are provided
liolocwhen you say rcompat is completely dependency free, it still uses node for some stuff or not at all?
blueyes, it uses node, just not npm
liolockk gotcha
liolocthat's insane
liolocvery cool
blueya
liolocand you're using flog already?
blueyes, primate has already switched to flog for 0.43, and it's faster than pnpm
blueand safer, too
bluewe're waiting for release primitives to land in repopack so people can download flog from flog.run
liolocneat
bluewell, 'waiting' is a general term here. I need to do it
blueit's more like phaleth is waiting and I'm wasting my time playing with Dog
bluebut I sometimes need the right mindset to get into a task, and until I get it sorted it in my head, I don't start
blueright now it's a bit hard to conceptualise whether releases draw from job runs or vice versa
blueI guess they need to draw from job runs, but also that means you can only create a release after the job has finished running, at the ref you want to create the release
bluemaybe we'll just go the gh way where you create or choose a tag. but still creating a tag would then need to run a job and create the artifacts first
blueanyway, I'm not entirely convinced here which way is the good way, need to sit on it a bit longer
blueshould be done hopefully by next week, I want to push 0.43 out the door
phalethcan have release stable and release unstable
phalethstable is supposed to be tagged
blueyeah but like, I don't wanna a second mechanism to create artifacts
bluejobs already do that
phalethone stream of runs, overlaping
blueand releases should probably include the source in one way or another
phalethsecond mechanism?
blueyes
bluejobs can already create artifacts
bluebut releases should offer the source as tar.gz etc.
bluethat's another 'artifact'
blueI don't want two systems
bluemaybe it's unavoidable
phalethcreating tag does not have to run job, just take artifacts from tagged commit and rename those
blueyes but who creates the tar.gz of the source at the ref?
bluewhat primitive? the release or the job run?
blueif the release owns it, then that's two mechanisms that own artifacts
phalethI'd not worry about tar of source
phaleththat's like duplicating the source code, downlodable artifacts is the goal
bluefair, so you're leaving it to the jobs
blueyou know, maybe jobs should just have the option of delivering source artifacts
blueI think that possibly solves the conundrum
blueand then releases are just light tags that link to job runs (and freeze them, so they don't get cleaned up)
phalethtar.gz is another issue, that needs to be downlodable on demand
phalethnot stored permanently with release
bluek
bluephaleth: there's a new feature on repopack
blueif you hit p, you get the quickjump to projects, don't know if you knew that
bluehowever, if you fully type the name of a project, you can also quick-quick to a task there
bluetry it, hit p
bluethen write repopack:283
blueand Enter
phalethI knew about /
blueyes but you didn't know about p, t, j and a
bluehitting t, j or a and immediately Enter also jumps to the section itself
bluekinda neat
phalethforwardslash does not accept repopack:283 but p does, weird
blueyes because forwardslash isn't in project mode
phalethah, you can switch to /projects from /
blueyes
phalethblue: take a look at tasks in review in the flog repo
bluedreamreal: I did another sweep of the article. I think it's much better now, care to rereview?