ByteCode.NewsSubmit
Use quotes for an exact word.

Subscribe

RSSPodcast
Log in

Chat Logs

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