ByteCode.NewsSubmit
Use quotes for an exact word.

Subscribe

RSSPodcast
Log in

Chat Logs

  1. liolochey blue!
  2. phalethant migrated to upm https://github.com/theMackabu/ant/pull/143
  3. nevetmigrate from libpkg (zig) to upm (ts) by theMackabu · Pull Request #143 · theMackabu/ant
  4. phalethnotice how many lines of code got dropped
  5. bluehi lioloc
  6. bluephaleth: I know neither libpkg nor upm... but ant is a VERY badly chosen name. there's a buildtool for java called that way
  7. phalethflog 0.1.3 can build bytecode.news site
  8. phalethblue: naming is hard
  9. bluewow, flog is amazing
  10. phalethyeah, the build of the image is slower with flog than with npm/npx by about 34 seconds cause of some dev deps that have to be installed
  11. phalethupm looks interesting
  12. phalethand it's also nice that ant was able to remove all the zig code and get better compatibility with windows
  13. blueflog 0.1.4 is out
  14. bluephaleth: is flog is slower than npm, then I won't replace the BCN stuff. flog must be faster than other package managers in all scenarios
  15. blueif flog*
  16. phalethwhen `flog lock` is executed does it convert `package-lock.json`?
  17. phaleththere seems to be no equivalent to `flog ci`
  18. blueno, flog lock currently doesn't convert any existing lock files
  19. phalethok, the bcn deployment uses `npm ci`
  20. bluethe flog equivalent is `flog install`
  21. blueflog install never modifies a lockfile, it just materialises it
  22. phalethalso `flog install --prod` fails to install some shacdn whatever which makes `flog build` fail next
  23. blueok, let me see if I can see why
  24. phalethyeah, but the flog.lock is missing and there is only package-lock.json
  25. blueyeah, that's why you run `flog.lock`
  26. blue`flog lock`*
  27. phalethok, let me send you the Containerfile
  28. phalethbut flog.lock does not convert so that means it will just look into npmjs.com for versions
  29. blueonly when you do `flog lock` the first time. otherwise you commit the flog.lock file alongside
  30. blueui-primate on master [$?] via  v26.11.1 took 5s flog install
  31. blueinstalled 616 packages and 0 workspace links (143 cache hits, 473 downloads)
  32. blueui-primate on master [$?] via  v26.11.1 took 9s flog install --prod
  33. blueinstalled 138 packages and 0 workspace links (138 cache hits, 0 downloads)
  34. blueselected 0 source workspaces
  35. bluelooks good no?
  36. phalethblue: I've only added flog install steps to this Containerfile https://upaste.de/raw/r3z
  37. phalethah, so you have flog locally
  38. blueya but that Containerfile is unfinished
  39. blueit needs to copy flog.lock
  40. phalethoh, there is flog.lock in the repo?
  41. blueand drop package-lock.json
  42. bluethere isn't, but there should be, as part of the transition
  43. phalethso flog is not going to support package-lock.json?
  44. phalethok
  45. bluenot that I intend to
  46. blueI mean, you either use flog or npm to manage the repo, I think
  47. bluemixing is bad
  48. phalethyeah, but how to adopt flog here
  49. blue`rm package-lock.json && flog lock`
  50. bluethat's a one-off migration
  51. blueafterwards the Containerfile can be adapted to copy flog.lock
  52. phalethok, let me see if that will make the build faster
  53. phaleththere is also `.npmrc` which I have no clue what it does
  54. blueit contains this
  55. blue@streampack-dev:registry=https://nexus.streampack.dev/repository/npm-group/
  56. nevetRepository - Sonatype Nexus Repository
  57. blueI have no idea what that is
  58. bluepossibly for those two deps:
  59. blue "@streampack-dev/clientjs": "^0.2.3",
  60. blue "@streampack-dev/masthead": "^0.5.5",
  61. blueidk, we're gonna have to ask dreamreal what this sonatype nexus shenanigans are
  62. phalethlooks like custom npm repository to me
  63. phalethdoes flog support that?
  64. bluedon't think so
  65. phalethI think otherwise one would have to specify something like: "https://nexus.streampack.dev/repository/npm-group/clientjs": "^0.2.3", in package.json
  66. bluewell the question is how do those custom repositories work
  67. blueis it only for certain packages, or all, or?
  68. blueI'll investigate
  69. phalethwell, they should have the same API as npmjs.com
  70. phalethyou remember the move of sheetjs outside of npmjs.com to their own custom npm repository
  71. phalethor registry or whatever that's called
  72. phalethand npm as client can handle that
  73. phalethI've used sheetjs in a project in the past, let me try to find it
  74. blueya
  75. phalethlooks like sheetjs changed the installation process and now explain how to vendor the dep, but there's still some doc https://docs.sheetjs.com/docs/getting-started/installation/nodejs#legacy-endpoints
  76. nevetNodeJS | SheetJS Community Edition
  77. phalethwell, I've tried to provide flog.lock to the bytecode.news project and running into same restrictivity as I've ran in past: flog: error: flog.lock does not match the project: lockfile does not represent current target linux/x64/musl (represented: linux/x64/glibc); run flog lock after reviewing manifest changes
  78. phalethError: building at STEP "RUN flog install --prod": while running runtime: exit status 1
  79. phalethcause of use of alpine container to do the install
  80. phalethtask is already there
  81. phalethusing flog.lock for bytecode.news frontend does not make the installation faster
  82. phalethI mean the overall container build that now has to use debian slim
  83. phalethcontainer image build*
  84. phalethbut anyway, big milestone for flog
  85. blueya
  86. bluephaleth: https://www.npmjs.com/package/@rcompat/fs
  87. blueflog published its first package
  88. bluedreamreal: can you make two corrections to the zig article?
  89. liolocblue: hey blue, the new @primate/native package is not yet released right?
  90. phalethblue: nice
  91. dreamrealblue: I can but are you not able to edit it?
  92. bluelioloc: hey, not yet
  93. bluedreamreal: no
  94. blueI don't see an edit button
  95. dreamrealokay, I think I know why - decision about people editing post-approval
  96. dreamrealwhat edits
  97. blue11:28 <phaleth> here I think the words stop and start should be switched https://i.imageupload.app/93d34153359774c87400.png
  98. blue11:29 <phaleth> and here it seems a sentence is unfinished https://i.imageupload.app/a6021d7054a5ff94be58.png
  99. blueso for the second one, phaleth suggests "anything but appreciative", which I agree
  100. bluedreamreal: ^ + ^^ + ^^^
  101. * dreamreal sighs
  102. dreamrealOkay. I do not approve, but I'll make the changes.
  103. bluewait wait
  104. bluethe first one is a legit error
  105. blueand why do you not approve of the second one?
  106. dreamrealBecause they were your words
  107. bluedo you prefer the elliptic style?
  108. dreamrealI actually disagree with the first one, because it's valid either way semantically
  109. phalethheh
  110. dreamrealand the second: you wrote it. Own it.
  111. phalethit's immutable like repopack comments
  112. * dreamreal shrugs. It's not. It's a matter of how you view your creative work.
  113. blueI guess you can read it either way
  114. bluefine, leave it
  115. dreamrealToo late
  116. bluewell, now you have to implement an edit feature so I can change back it :P
  117. bluechange it back*
  118. bluebut anyway, next time let's discuss it, if you disapprove. I'm always open to hearing another perspective
  119. dreamrealThere already is an edit feature: it just stops once the thing gets calcified, because the site author has a particular view towards creative work
  120. dreamrealhaving been created, I see it as a thing itself, errors and all
  121. blueya, it's like repopack comments
  122. dreamrealI did not DISAPPROVE
  123. dreamrealI disgareed
  124. dreamrealthere's a massive difference
  125. blueyou said you do not approve :P
  126. dreamrealWhich is not disapproval
  127. blueok, so let's discuss it anyway next time, even if you don't disagree but only disagree, or not approve
  128. * dreamreal shrugs
  129. blueif you don't disapprove*
  130. dreamrealokay
  131. dreamrealI find the first change (start/stop) a matter of semantics and it works either way
  132. dreamrealthe second change sands down your voice
  133. phalethtoo funny
  134. blueyeah, and upon rereading I got the point. the first change is from *describing* reality (stop -> start) and *prescribing* it (start -> stop)
  135. dreamrealand as a musician, you eventually come to a place where you play what you played, and there it is: fiddling with it endlessly after the fact eventually erodes any hint of soul it might have had
  136. dreamrealI'll correct misspellings, most of the time, but ... honestly, my contorted grammar in my earlier writing, that was me
  137. dreamrealstill is, and I still write that way sometimes
  138. dreamrealc'est la vie
  139. phaleththe article has soul, that's for sure
  140. bluebut both changes are not something I feel very strongly about. and that's also a personality quirk of mine. there are things I prefer to not have a strong opinion about, because... I don't. so I leave room for others' strong(er) opinion, and I think that's valid. I heard phaleth's side, I think you should allow your side to be heard as well
  141. * dreamreal is not the author
  142. bluethat doesn't mean you can't have an opinion
  143. dreamrealI have a lot of opinions, most of which remain isolated as they should be
  144. blueyou're also not the author of primate, and you can also have an opinion, and make suggestions...
  145. * phaleth now thinks his repopack comments have a soul
  146. bluehaha
  147. dreamrealYou thought they did not?
  148. dreamrealask martin buber
  149. nevetMartin Buber (1878–1965) was an Austrian-Israeli philosopher best known for *I and Thou* (1923), which contrasts treating things as objects ("I–It") with genuine, mutual encounter ("I–Thou"). By his view, your repopack comments could have "soul" if you relate to them as a Thou, not merely an It.
  150. dreamrealThat's... not entirely correct but close enough
  151. dreamrealbut buber did have a lot to say about how people interact with their world
  152. bluethe problems are not dissimilar. someone who has read an older version of the Zig article might post a reply that is now invalidated
  153. bluethere are reasons to keep things as they are, and not purely for an "authentic snapshop of time" reason
  154. dreamrealThat'd be a particularly anal reader; "no, no, you start at THIS and stop at THAT, it's not the other way around where you STOP at THIS and start at THAT unless you decide you want to look at the two inversely, you know. ACTUALLY..."
  155. bluerepopack comments are uneditable the exact reason that discussions can always be understood linearly
  156. bluefor the exact reason*
  157. bluethat is worth the price, I think
  158. blueretconning things always creates danger... there's a reason they say you should never edit migrations, even if they contain nonsense
  159. phalethmigrations containing nonsense is guaranteed, so is development project issues
  160. blueya
  161. dreamrealI'm working on a piece about the information economy, because what I think is happening a lot is that people describe it as an economy while not treating it like one
  162. bluewhat is the information economy?
  163. dreamrealIt's not an it, for one thing, but it's a description of a model where information is value in and of itself
  164. dreamrealopen source shares the value innately, but people take the value and hoard it
  165. bluehm
  166. dreamrealand we end up with crap like php2shell
  167. dreamrealbecause people don't share back enough: "it's open source, they gave it to me, why should I give back?"
  168. bluethe alternative worldview, dreamreal, is that php simply sucks, should never have existed as a programming language, and we should retire it out of existence ASAP
  169. dreamrealand it's not just MONEY to give pack - php is drastically underfunded for its userbase, despite being utter crap - it's actual interaction and contribution, which is information and has value itself
  170. dreamrealNot the point, people relied on it despite its vast suckitude (I despise PHP)
  171. bluelike, if I tell you of some building material, which is really easy to build with, super friendly, but also it's a dumpster fire that will collapse with the slightest wind, and you build half your infrastructure, and most of your informational infrastructure with it, it's kind of your fault at that stage, and you're get your just deserts
  172. dreamrealMissing the point that we could learn from PHP
  173. dreamrealPHP has been crap since early on: it's entirely accreted with no design
  174. dreamrealzend tried to fix some of it but there's too much momentum
  175. dreamrealwould have been worse than python 2 -> 3
  176. dreamrealbut you see the same pattern all over the place
  177. dreamrealI've gotten five projects new releases this week, all from simply exchanging information with the maintainers
  178. dreamrealnot even "oh it's broke" but just asking questions that I couldn't find the answers to, trivially, when I thought I should be able to
  179. dreamrealI usually try to share what I found, along with workarounds and why
  180. blueya
  181. phalethis it like php people thought it'd be a good time to update their legacy php 5.4 projects yet again all the sudden? just give them a few days to realize they don't really know what they are thinking
  182. phalethI think php 8.2 and onwards is fine and also the use of composer is a good addition, even tho a bit weird
  183. phalethbut where did all the vendoring of deps take all those php 5 people? exactly nowhere and that's btw the majority of those 70% projects running the internet or whatever
  184. dreamrealphaleth: PHP's problem isn't *versioning*
  185. dreamrealit's design
  186. dreamrealit's accreted by people who didn't have a vision of the core product, so it's highly inconsistent
  187. phalethwell, that too, but you can say the same about JS
  188. dreamreal... I do
  189. phalethyeah, it's like every single PHP dev is using different tools, I know
  190. dreamrealNot just different tools, but writing a PHP app means using APis that LOOK LIKE C and LOOK LIKE other things too
  191. dreamrealthere's no coherent design, the core API is a chimera
  192. dreamrealit's just the way it is
  193. phalethyeah, for sure, I mean standard library is also a tool
  194. phalethbut anyway, people will just keep thinking this pays our bills and move on whatever the complexity
  195. phalethsimply shoehorn everything useful back into php 5.4 and that's it
  196. dreamrealor stop using php. I've still got two WP sites, and I'd love to move away from them. :/
  197. phalethwell at least WP is easy to update unless you are stuck with some of it's legacy plugins that you necessarily had to vendor at some point in time
  198. blue`flog bump` is coming
  199. phalethwhat's a flog bump?
  200. bluewell, flog currently detects release-sets, but there's no way to do it before you run `flog publish --dry-run`
  201. blue`flog bump --dry-run` shows you what other packages in a monorepo needs updating
  202. blueand `flog bump` edits the package.json files
  203. phalethsounds like flog check-updates
  204. phalethflog npm-check-updates -u
  205. phalethrepopack has 18551 lines of Bourne Shell in 92 files
  206. bluethat's `flog upgrade`
  207. bluebump just makes sure your release set is sane
  208. phalethok
  209. phalethrobots.txt has a cool icon on repopack website
  210. phalethcan I change repopack's logo and favicon?
  211. bluesure
  212. blueif you rework the logo, I can't promise I'll accept, but you can change it
  213. blueso far the logos have been excellent, for rcompat and flog
  214. phalethalright
  215. phalethcurrent logo is boring
  216. bluek
  217. phaleththe situation with templates in repopack project is also kinda crazy
  218. bluehow do you mean?
  219. phaleththere are two app.html files that are same
  220. bluelol
  221. liolochey blue! Do you have a target release date for 0.43?
  222. bluelioloc: hi, yes, today in Elon Musk time. Which means that if I'm lucky, probably sometime next week. I was *aiming* for today, but this is a big release and I need to audit it carefully
  223. blueI might still get lucky and manage to get it out today, but don't count on it
  224. liolocno worries
  225. blueI know you're waiting for the webview stuff, haven't forgotten about you
  226. liolocthanks
  227. bluedreamreal is also waiting for some stuff, I'm doing my best :-)
  228. lioloci completely understand
  229. blueflog 0.1.7 is coming, that should unblock some rcompat bumping, which should unlock the last primate updates before the release
  230. bluelioloc: btw, flog is now openly available via https://flog.run
  231. nevetflog — predictable JavaScript package management
  232. liolocoh neat!
  233. liolocwill try it now
  234. blueflog 0.1.7 is out!
  235. liolocFor a first project without a lock, create or edit package.json, then make the resolution step explicit:
  236. liolocwhat does this mean? You always have to run `flog lock` on new projects? (i deleted node_modules and i'm about to try flog instead of bun)
  237. blueyes, you run it the first time you start
  238. blueit creates flog.lock
  239. lioloci'll probably do an flog-init zsh alias that does that
  240. blueflog is a bit different from other package managers. `flog install` does not modify the lock file, it materialises it only
  241. blueflog add / remove do change the lock file
  242. blueadd is *not* an alias for install
  243. liolocwait so if it materialises the flog.lock file when you run flog install, why do you need to run flog lock? what does that do?
  244. bluethat creates a lock file for a project without one
  245. bluematerialising just means reading whatever is in flog.lock and installing that into node_modules
  246. liolocoh
  247. liolocmaybe a flog init would be nice
  248. liolocthat would run "flog lock
  249. liolocgit diff -- package.json flog.lock
  250. liolocflog install"
  251. liolocanyway I will just create an alias for it for now
  252. bluesounds good, could you create a task at https://repopack.com/project/flog
  253. blueflog init could also create a package.json if missing, with some sane defaults
  254. bluelike "type": "module"
  255. liolocyeah would be nice
  256. bluelioloc one thing that flog does which I love, and pnpm and no other package manager does, is release set. it verifies that you can't publish a workspace package in a way that would mess up its dependencies
  257. bluehttps://flog.run/docs/release-sets#the-failure-this-prevents
  258. liolocinteresting
  259. liolocvery cool
  260. lioloci think i created the task (i can't actually see anything on the dashboard)
  261. liolocwait nvm maybe it was just slow
  262. liolocyup i see it
  263. blueya
  264. bluelioloc: what is this for: git diff -- package.json flog.lock ?
  265. liolocits on the installation instructions, i just realised it wasn't useful either
  266. liolochttps://flog.run/docs
  267. nevetDocumentation · flog
  268. blueok, makes sense
  269. liolocI just copied pasted it blindly without thinking
  270. liolocbe back later