| 00:08:20 | * | shanoaice quit (Quit: The Lounge - https://thelounge.chat) |
| 00:08:34 | * | shanoaice joined #nim |
| 02:41:51 | * | xet7 quit (Remote host closed the connection) |
| 02:43:59 | * | xet7 joined #nim |
| 02:51:27 | * | mal`` quit (Ping timeout: 255 seconds) |
| 03:03:06 | * | rockcavera joined #nim |
| 03:06:52 | * | mal`` joined #nim |
| 03:47:09 | * | SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev) |
| 04:53:24 | * | SchweinDeBurg joined #nim |
| 07:01:26 | * | tiorock joined #nim |
| 07:01:26 | * | tiorock quit (Changing host) |
| 07:01:26 | * | tiorock joined #nim |
| 07:01:26 | * | rockcavera is now known as Guest8964 |
| 07:01:26 | * | tiorock is now known as rockcavera |
| 07:03:55 | * | Guest8964 quit (Ping timeout: 244 seconds) |
| 07:08:27 | * | kick455 quit (Ping timeout: 246 seconds) |
| 07:09:58 | * | oculux joined #nim |
| 08:32:57 | FromDiscord | <lluevtyvn> I need help. Generic doesn't work . https://media.discordapp.net/attachments/371759389889003532/1505125894916669440/EEB023A9-F7C5-4583-80B3-5FBDF8554AF7.png?ex=6a097d39&is=6a082bb9&hm=570ab49831277a3cb5335f7b03d7b1157b32ab69c8dcfbde8884fca77dc081a7& |
| 08:33:15 | FromDiscord | <lluevtyvn> https://media.discordapp.net/attachments/371759389889003532/1505125970451890176/D8F36C5A-2552-41EF-B759-51A84B025957.png?ex=6a097d4b&is=6a082bcb&hm=3d2c890e9d2646599bb938eb4cce487b867d996be9cfa1425424bbc89aa7a72a& |
| 08:35:19 | FromDiscord | <lluevtyvn> https://media.discordapp.net/attachments/371759389889003532/1505126488800759988/B383C11C-D34C-41FF-88EA-BC128F8FF393.png?ex=6a097dc6&is=6a082c46&hm=6d512ec42ae59d89819e1eed55059f2a0bdd1ff1de1df977a7246ae20d10db54& |
| 08:40:11 | FromDiscord | <mratsim> In reply to @lluevtyvn "I need help. Generic": you cannot deduce based on return value and you should use `[T: int32 or uint32]` |
| 08:40:37 | FromDiscord | <mratsim> you will need to do `read[:uint32]()` if you use method call syntax |
| 08:40:58 | FromDiscord | <mratsim> (edit) "`read[:uint32]()`" => "`br.read[:uint32]()`" |
| 08:41:13 | FromDiscord | <mratsim> This is for parsing disambiguation. |
| 08:41:38 | FromDiscord | <mratsim> In reply to @lluevtyvn "I need help. Generic": you have proper primitives in stew/endians2 though |
| 08:42:33 | FromDiscord | <mratsim> sent a code paste, see https://play.nim-lang.org/#pasty=RsswuOzq |
| 08:43:50 | FromDiscord | <lluevtyvn> In reply to @mratsim "you cannot deduce based": oh , it worked, thank you |
| 09:19:38 | FromDiscord | <nevillegg> In reply to @lluevtyvn "I need help. Generic": manually managing memoery? |
| 09:26:48 | FromDiscord | <asviest> In reply to @lluevtyvn "I need help. Generic": Btw unsafeAddr deprecated, `addr` replaces it |
| 09:27:00 | FromDiscord | <asviest> (edit) "In reply to @lluevtyvn "I need help. Generic": Btw unsafeAddr deprecated, `addr` ... replaces" added "in modern nim versions" |
| 09:33:02 | FromDiscord | <nevillegg> sent a code paste, see https://play.nim-lang.org/#pasty=MctmNnHN |
| 10:06:04 | FromDiscord | <lluevtyvn> In reply to @nevillegg "manually managing memoery?": no , memory is still managed by nim default memory manager |
| 10:29:59 | * | tk quit (Remote host closed the connection) |
| 10:31:07 | * | tk joined #nim |
| 10:34:43 | * | beholders_eye joined #nim |
| 11:42:39 | * | rockcavera quit (Read error: Connection reset by peer) |
| 11:42:58 | * | rockcavera joined #nim |
| 11:42:58 | * | rockcavera quit (Changing host) |
| 11:42:58 | * | rockcavera joined #nim |
| 12:15:11 | * | beholders_eye quit (Quit: WeeChat 4.9.0) |
| 12:55:23 | * | rockcavera quit (Remote host closed the connection) |
| 13:40:24 | * | deavmi quit (Quit: Eish, load shedding!) |
| 13:58:31 | * | rockcavera joined #nim |
| 14:02:38 | * | rockcavera quit (Read error: Connection reset by peer) |
| 14:02:57 | * | rockcavera joined #nim |
| 14:02:57 | * | rockcavera quit (Changing host) |
| 14:02:57 | * | rockcavera joined #nim |
| 14:07:52 | * | deavmi joined #nim |
| 14:10:50 | * | kick455 joined #nim |
| 14:12:28 | * | oculux quit (Ping timeout: 276 seconds) |
| 15:08:05 | * | rockcavera quit (Read error: Connection reset by peer) |
| 15:08:25 | * | rockcavera joined #nim |
| 15:08:25 | * | rockcavera quit (Changing host) |
| 15:08:25 | * | rockcavera joined #nim |
| 16:33:21 | FromDiscord | <manekobox> Hello Nim communityyyy, I'm thinking of using Nim but I was wondering how well you guys would say Nim works in a fully offline environment? |
| 17:12:13 | FromDiscord | <mr_rowboto> In reply to @manekobox "Hello Nim communityyyy, I'm": `nim` will definitely wotk.β΅`nimble` won't. |
| 17:14:23 | FromDiscord | <mratsim> In reply to @nevillegg "I wonder if we": There was a nim syntax skin that allowed this |
| 17:15:15 | FromDiscord | <mratsim> In reply to @manekobox "Hello Nim communityyyy, I'm": as long as you don't need to connect to the internet you'' be fine |
| 17:15:52 | FromDiscord | <manekobox> In reply to @mr_rowboto "`nim` will definitely wotk.": Well is there a way to manually install libraries without using Nim's package manager? |
| 17:16:06 | FromDiscord | <mr_rowboto> yes |
| 17:16:23 | FromDiscord | <manekobox> In reply to @mratsim "as long as you": Yeah my phone can connect but my PC can't so I technically don't need to |
| 17:16:37 | FromDiscord | <mr_rowboto> you can git clone, or download and set `--path:the-path` as an arg for `nim` |
| 17:16:51 | FromDiscord | <mr_rowboto> (edit) "you can git clone, or download ... and" added "your dependency" |
| 17:16:52 | FromDiscord | <mratsim> In reply to @manekobox "Well is there a": you can clone repo to an USB key, copy it on your machine and call nimble develop in each so it points to the local clone.β΅β΅And atlas can surely do something about it as well |
| 17:17:05 | FromDiscord | <mr_rowboto> (edit) "`--path:the-path`" => "`--path:the/path`" |
| 17:17:17 | FromDiscord | <mratsim> ah yeah the path thing for the compiler too |
| 17:17:39 | FromDiscord | <mr_rowboto> yeah I honestly ditched package managers for building... |
| 17:18:31 | FromDiscord | <mratsim> In reply to @mr_rowboto "yeah I honestly ditched": I ditched dependencies |
| 17:18:59 | FromDiscord | <mr_rowboto> What I do is setting several `--path`s on a `nim.cfg`, then have a custom tool to build things. |
| 17:19:16 | FromDiscord | <mr_rowboto> In reply to @mratsim "I ditched dependencies": for real? what's your strategy? |
| 17:19:40 | FromDiscord | <manekobox> In reply to @mratsim "you can clone repo": Yeah I think that solves my worries with my setup thanks for the infoooo |
| 17:19:51 | FromDiscord | <manekobox> In reply to @mratsim "I ditched dependencies": -# you can do that? |
| 17:20:12 | FromDiscord | <mr_rowboto> well... you can always `git submodule` |
| 18:49:30 | FromDiscord | <mratsim> In reply to @mr_rowboto "for real? what's your": Well, I wrote Arryamancer and Constantine both from scratch |
| 18:49:46 | FromDiscord | <mratsim> ah Arraymancer does have a BLAS dependency which still bugs me |
| 18:59:08 | FromDiscord | <mr_rowboto> Yeah, I see |
| 18:59:20 | FromDiscord | <mr_rowboto> BLAS as in "Bottom Level Acceleration Structure"? |
| 19:00:10 | FromDiscord | <mr_rowboto> Oh, Basic Linear Algebra Subprograms |
| 19:00:12 | FromDiscord | <mr_rowboto> overload |
| 19:00:13 | FromDiscord | <nasuray> In reply to @manekobox "Hello Nim communityyyy, I'm": Do you need to run offline or develop offline? If the former you can just copy a compiled binary over |
| 19:06:05 | FromDiscord | <manekobox> In reply to @nasuray "Do you need to": The latter |
| 19:06:51 | FromDiscord | <manekobox> The PC I'd be writing and compiling in won't have an internet connection |
| 19:06:59 | FromDiscord | <manekobox> (edit) "in" => "on" |
| 19:43:52 | tarzeau | so nim appears orphaned in debian since mid 2024... version 2.2.4 |
| 19:44:28 | tarzeau | i download nim 2.2.10 and the tarball is only 4,4mb. but the debian src pkg is 125mb |
| 19:44:48 | tarzeau | why is it not standard build system like configure make make install, or cmake, or something common? |
| 19:45:02 | tarzeau | how do i build it without reading all the manuals? |
| 19:45:06 | FromDiscord | <mr_rowboto> In reply to @tarzeau "i download nim 2.2.10": `choosenim` or `grabnim` or even `nimby use` are far better ways to get nim |
| 19:45:44 | FromDiscord | <mr_rowboto> In reply to @tarzeau "how do i build": well... |
| 19:45:46 | tarzeau | not just go to nim github page download source tarball? |
| 19:46:00 | tarzeau | 2nd test, just re-use 2.2.4 debian/ ... |
| 19:46:06 | FromDiscord | <mr_rowboto> if you want to build from source... |
| 19:46:45 | tarzeau | of course i build from source... anything else is not an option |
| 19:47:37 | FromDiscord | <mr_rowboto> may I ask why is it not? |
| 19:47:52 | tarzeau | because debian builds everything from source? |
| 19:48:13 | FromDiscord | <mr_rowboto> only if you consume deb-src? |
| 19:48:15 | tarzeau | or do you work on nim binaries to improve it? no people work on source code... |
| 19:48:20 | FromDiscord | <mr_rowboto> .deb are usually binary distributions |
| 19:48:53 | tarzeau | FromDiscord: users that consume binaries need other users create deb src packages building binary packages for users to consume binary packages |
| 19:49:16 | tarzeau | FromDiscord: i know what .deb is. i'm talking about creating .dsc to run debuild on to generate .deb |
| 19:49:17 | FromDiscord | <mr_rowboto> oh, you want to update the debian package, I see. |
| 19:49:24 | tarzeau | +1 |
| 19:49:42 | tarzeau | only because i want to package chawan. not because i want to learn another language |
| 19:49:55 | tarzeau | i'm fine with C, obj-c, and shell. well basic and some assembly too |
| 19:50:14 | tarzeau | of course i've seen and patched stuff like python. but i don't want to. i don't like it |
| 19:50:40 | tarzeau | then i also wait for zig lang to be packaged, only to package a software synthisizer which was written in zig |
| 19:52:07 | FromDiscord | <planetis_m> tarzeau: get a .deb from here: https://launchpad.net/~planetis/+archive/ubuntu/nim or try the build files from: https://github.com/planetis-m/nim-deb |
| 19:55:44 | tarzeau | not built from source: https://github.com/planetis-m/nim-deb/blob/master/debian/rules |
| 19:56:16 | tarzeau | FromDiscord: this guy is right! he recommends debian: https://launchpad.net/~gagarin |
| 20:08:38 | * | greaser|q quit (Changing host) |
| 20:08:38 | * | greaser|q joined #nim |
| 20:08:40 | * | greaser|q is now known as GreaseMonkey |
| 20:11:35 | FromDiscord | <planetis_m> In reply to @tarzeau "not built from source:": Its a couple of extra steps. You can do it easily. |
| 20:21:53 | tarzeau | FromDiscord: how ? or which file do i read, that explains me in 5 lines? |
| 20:22:03 | tarzeau | or, i mean why is it not just make or cmake? |
| 20:29:45 | yeti | tarzeau: the nim deb src from sid builds with a minor quirk still on older debian. I tried down to deb11 |
| 20:30:07 | yeti | but it has a phase in building where load may hit >160 |
| 20:30:27 | yeti | the build process survives that even on a pi2 but it looks scary |
| 20:30:58 | yeti | mem/swap doesnt overflow in that phase |
| 20:31:06 | tarzeau | yeti: ok so on sid i have src:nim 2.2.4-2, but upstream is on 2.2.10... |
| 20:31:41 | tarzeau | i have some powerful machines, don't care about loads hitting >160 |
| 20:32:16 | tarzeau | fonts-iosveka built on 300+ cores machine took 160 gb memory... this is fine :) |
| 20:32:41 | yeti | I need to add a 1 line change to chawan to build with that version |
| 20:32:48 | tarzeau | chromium or firefox are painful to build! |
| 20:33:07 | tarzeau | yeti: which chawan pkg? i just did a 0.3.3-1 upload into debian |
| 20:33:28 | tarzeau | https://dfsg-new-queue.debian.org/reviews/chawan |
| 20:33:31 | yeti | v0.4-dev |
| 20:34:05 | tarzeau | when is 0.4 released? i'm concerned about: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136881 (2nd mail) |
| 20:34:29 | tarzeau | UNLESS chawan authors transpile/develop in something else? guess not likely to happen |
| 20:34:45 | tarzeau | wish chawan authors were on irc... |
| 20:34:53 | tarzeau | or they used github (for easier issue reporting) |
| 20:36:48 | yeti | I see no problen in keeping nim and chawan in /opt bonsais |
| 20:37:06 | yeti | there is an ubunti nim ppa |
| 20:37:22 | yeti | maybe their sources can be kept uptodate and deboian compatible? |
| 20:41:49 | * | beholders_eye joined #nim |
| 20:42:15 | tarzeau | i have philosophy: if you can't build it from source, you are not entitled to run it! |
| 20:42:21 | tarzeau | since 1999 |
| 20:43:05 | yeti | debian's mackaging is more buerocratic thann all other aspects of my life together |
| 20:43:10 | yeti | it no longer is fun |
| 20:43:36 | yeti | in the beginning debian/rules just was a makefile with readable stuff |
| 20:43:57 | yeti | now it's layers on layers of helpers and no chance to understand any more |
| 20:44:50 | tarzeau | it's still a makefile, and it's much easier than with < debhelper v 9 |
| 21:18:11 | FromDiscord | <shalokshalom> In reply to @yeti "debian's mackaging is more": As someone who is packaging Arch: Debian is a fucking nightmare. I do understand many of the concepts made sense 20 years ago, and I do appreciate all open source contributions, while this does appear pretty nuts standing here. |
| 21:20:37 | yeti | I saw it grow from 1st versions without even relase names. debian turned from being a solution to being a problem over the decades. |
| 21:21:49 | yeti | still I fell more at home in debian/devuan than elsewhere but that HAS to change. |
| 21:22:10 | FromDiscord | <shalokshalom> In case you wanna see fine packaging, I recommend you the distro called [KaOS](https://kaosx.us) that is also using Pacman, although for an independent distro. |
| 21:22:48 | FromDiscord | <shalokshalom> demm is the one individual that maintains the entire distro: Including 2400 packages or something similar to that effect. π |
| 21:22:48 | yeti | I'll look for a nonlinux |
| 21:22:56 | FromDiscord | <shalokshalom> Ah, interesting. |
| 21:23:18 | FromDiscord | <shalokshalom> In what capacity? |
| 21:23:32 | yeti | the linux foundation's board of directors looks like a horrorshow |
| 21:23:52 | FromDiscord | <shalokshalom> Yeah... The whole Linux Foundation does |
| 21:24:09 | FromDiscord | <shalokshalom> So funny as it sounds : I don't think they have much influence on the kernel |
| 21:24:29 | FromDiscord | <shalokshalom> Linux is like Democracy |
| 21:24:56 | yeti | then democracy is pushing granny downstairs because of being slow |
| 21:25:13 | FromDiscord | <shalokshalom> The best thing we have because of the balance it provides, and overall still severly lacking. π |
| 21:32:20 | tarzeau | what's your problem with debian packaging? you dh_make and debuild |
| 21:32:31 | tarzeau | upstream got no release? use git2deb & debuild |
| 21:33:01 | tarzeau | it's like. automatic. unless, of course, upstream rewrites a new build system because of NIH |
| 21:34:58 | tarzeau | haha https://kaosx.us/gallery maintains 2400+ pakcages. but gallery 404 |
| 21:35:11 | tarzeau | kde and gnome. can't wait they die. team gnustep! |
| 21:39:09 | FromDiscord | <muddmaker> In reply to @shalokshalom "So funny as it": It's less about the influence they have on the kernel and more about the influence they have on everything around the kernel |
| 22:08:18 | * | redj quit (Ping timeout: 246 seconds) |
| 23:01:40 | * | beholders_eye quit (Quit: WeeChat 4.9.0) |