<< 13-10-2023 >>

00:03:59*Lord_Nightmare quit (Quit: ZNC - http://znc.in)
00:07:16*Lord_Nightmare joined #nim
00:13:47FromDiscord<raynei486> for fun yes
00:13:55FromDiscord<tapeda> C might teach you some minimalism for what tools/features to reach for when architecting your program, but you can learn all the interesting parts of C writing Nim and never have to deal with `` syntax ever again
00:14:16FromDiscord<raynei486> you probably won't be reaching for C to write most of your projects though
00:18:04FromDiscord<Elegantbeef> You also get type safety 😄
00:35:35*derpydoo joined #nim
00:56:50*beholders_eye quit (Ping timeout: 246 seconds)
01:33:37*_________ quit (Ping timeout: 255 seconds)
01:34:34FromDiscord<raynei486> you need more than integers?
01:45:39FromDiscord<Elegantbeef> Nah everything is an integer
01:45:40FromDiscord<Elegantbeef> Life is what you make it and all that jazz
02:17:39*alphacentauri quit (Quit: WeeChat 4.0.5)
03:07:30FromDiscord<.lekie.> How would I pass a path to futhark if my header is in /usr/include, i can't pass it as both the sysPath and the path
03:10:40*derpydoo quit (Read error: Connection reset by peer)
03:11:00FromDiscord<.lekie.> Ahh
03:11:30FromDiscord<.lekie.> I fixed it by changing sysPath to /usr/include/linux
03:11:41FromDiscord<.lekie.> And keeping path as /usr/include/
03:14:51*rockcavera joined #nim
03:18:07FromDiscord<.lekie.> How can I see the file that futhark creates?
03:21:14*mahlon quit (Ping timeout: 255 seconds)
03:22:35FromDiscord<Elegantbeef> Look at your `.cache/nim`
03:27:55FromDiscord<.lekie.> this is odd
03:28:04FromDiscord<.lekie.> im trying to get bindings for libsixel
03:28:14FromDiscord<.lekie.> but when i check the futhark cache
03:28:18FromDiscord<.lekie.> all there is is
03:28:36FromDiscord<.lekie.> sent a code paste, see https://play.nim-lang.org/#ix=4ISx
03:39:13FromDiscord<.lekie.> Is there any other ways I can get images in the terminal with Nim?
03:51:48FromDiscord<odexine> only if the terminal supports it
03:52:02FromDiscord<odexine> depends on how good you want the images to look
03:55:26*mahlon joined #nim
04:10:09*lucerne quit (Quit: Ping timeout (120 seconds))
04:11:22*lucerne joined #nim
04:13:16*rockcavera quit (Remote host closed the connection)
04:25:28*_________ joined #nim
05:10:40FromDiscord<sOkam! 🫐> sent a code paste, see https://play.nim-lang.org/#ix=4ISP
05:10:48FromDiscord<sOkam! 🫐> i don't remember the details, but I remember that my setup was incorrect
05:10:56FromDiscord<sOkam! 🫐> (edit) "incorrect" => "incorrect, and the outcome was something like that"
05:22:30FromDiscord<JJ> In reply to @.lekie. "Is there any other": perhaps look into this? https://github.com/jesvedberg/tpix
05:57:15*advesperacit joined #nim
06:54:20*junaid_ joined #nim
06:56:47*junaid_ quit (Remote host closed the connection)
07:06:59*azimut quit (Ping timeout: 252 seconds)
08:26:52*beholders_eye joined #nim
09:00:35Amun-RaI have a program and I want to annotate main with raises: [], the problem is I also want to output any error messages to stderr via stderr.write which… raises IOError… is there a way to log into stderr this way? is {.cast(raises: []).} the only option?
09:04:51FromDiscord<Chronos [She/Her]> Yeah that's the only way, raising IOError and raises: [] are both conflicting information
09:06:12Amun-Raand `echo` has no stderr switch
09:08:49*PMunch joined #nim
09:50:26FromDiscord<nnsee> write a helper proc that handles ioerror gracefully and use that?
09:51:07FromDiscord<nnsee> ("handling" can be a simple `discard`)
09:57:39FromDiscord<odexine> In reply to @nnsee "write a helper proc": This
09:58:08FromDiscord<odexine> You can still try and catch with raises, it’s just that errors can’t leave procedures with raises: []
10:01:53Amun-Rahmm, what happens when there's IOError inside cast(raises:[])?
10:03:21FromDiscord<nnsee> computer just fucking explodes
10:08:59Amun-Rareplace computer with world and I'm in
10:11:03FromDiscord<nnsee> in all seriousness, probably pretty easy to test
10:26:17*alphacentauri joined #nim
10:31:21*beholders_eye quit (Ping timeout: 255 seconds)
10:49:11*PMunch_ joined #nim
10:52:06*PMunch quit (Ping timeout: 260 seconds)
11:23:11*alphacentauri quit (Ping timeout: 255 seconds)
11:28:08*alphacentauri joined #nim
11:50:21PMunch_Looking at the "Learning Nim: Write an interpreter" videos. Very interesting to see how they go through the docs and what trips them up
11:52:05*PMunch_ is now known as PMunch
11:52:17*alphacentauri quit (Quit: WeeChat 4.0.5)
12:06:14PMunchI think maybe we should split the docs into user docs and implementation docs.. He keeps getting stuck in low-level stuff that he really doesn't need to worry about
12:13:04*junaid_ joined #nim
12:19:44*alphacentauri joined #nim
12:25:09*junaid_ quit (Remote host closed the connection)
12:25:31*emery quit (Read error: Connection reset by peer)
12:25:47*ehmry joined #nim
12:39:20*alphacentauri quit (Ping timeout: 255 seconds)
12:54:47*alphacentauri joined #nim
12:58:20*ehmry quit (Read error: Connection reset by peer)
12:58:26*emery joined #nim
13:03:13*alphacentauri quit (Quit: WeeChat 4.0.5)
13:04:34NimEventerNew thread by ingo: Set global for all libraries, see https://forum.nim-lang.org/t/10548
13:12:44*junaid_ joined #nim
13:16:29*junaid_ quit (Remote host closed the connection)
13:20:42*alphacentauri joined #nim
13:37:18*emery quit (Read error: Connection reset by peer)
13:37:29*ehmry joined #nim
13:47:27*ehmry quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
13:47:34*emery joined #nim
13:52:03*emery quit (Client Quit)
13:52:10*ehmry joined #nim
14:08:57*beholders_eye joined #nim
14:11:37*PMunch quit (Quit: Leaving)
14:17:22*ehmry quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
14:17:28*emery joined #nim
14:25:40*alphacentauri quit (Ping timeout: 255 seconds)
14:33:53*alphacentauri joined #nim
14:38:40FromDiscord<Phil> Sanity check regarding move semantics
14:39:49FromDiscord<odexine> if its you its certified insane 👌
14:40:24*emery quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
14:40:37*ehmry joined #nim
14:40:57FromDiscord<Phil> sent a code paste, see https://play.nim-lang.org/#ix=4IUA
14:41:12FromDiscord<Phil> In reply to @odexine "if its you its": Give me the dignity of first typing out the thing please 😛
14:44:26FromDiscord<odexine> you're not deep-copying anything (you're moving the pointer from source to dest) so why would you deallocate the stream
14:44:45FromDiscord<odexine> dest would have an invalid pointer if you deallocate the stream
14:44:55FromDiscord<odexine> at least to my understanding that is how it works
14:45:11FromDiscord<Phil> g_object_unref reduces the ref counter primarily
14:45:16FromDiscord<Phil> If that hits 0 it gets deallocated
14:47:48FromDiscord<Phil> Though I think the point is moot because it appears I understand my shit even less than I thought, mediastream is not deallocated via unreffing stuff
14:49:57Amun-Rado you attach it to another widget or do you keep it floating?
14:49:57FromDiscord<odexine> conceptually, you're "removing one reference" (source) and "adding one" (dest) no?
14:50:44*advesperacit quit (Ping timeout: 255 seconds)
14:51:18*advesperacit joined #nim
15:00:52FromDiscord<Phil> Sooner or later any mediastream gets tttached to a widget so I'm not sure on that particular question
15:01:11FromDiscord<Phil> In reply to @odexine "conceptually, you're "removing one": That one's a fair point
15:01:23FromDiscord<Phil> (edit) "tttached" => "attached"
15:02:37Amun-Rathat makes g_object_unref not necessary
15:43:33*alphacentauri quit (Quit: WeeChat 4.0.5)
15:47:23*edr joined #nim
16:00:06*azimut joined #nim
16:05:43*rockcavera joined #nim
16:08:12*alphacentauri joined #nim
16:13:38FromDiscord<nervecenter> sent a long message, see http://ix.io/4IUR
16:13:50FromDiscord<nervecenter> (edit) "http://ix.io/4IUR" => "http://ix.io/4IUS"
16:14:22FromDiscord<nervecenter> (edit) "http://ix.io/4IUS" => "http://ix.io/4IUT"
16:15:23FromDiscord<nervecenter> (edit) "http://ix.io/4IUT" => "http://ix.io/4IUU"
16:16:35FromDiscord<griffith1deadly> In reply to @nervecenter "Interesting new language. https://nature-lang.org/": in some cases looks like zig
16:18:24*alphacentauri quit (Ping timeout: 245 seconds)
16:20:22FromDiscord<Chronos [She/Her]> In reply to @nervecenter "Interesting new language. https://nature-lang.org/": I could see myself using that tbf
16:20:58FromDiscord<Chronos [She/Her]> Though definitely prefer Nim's syntax more tbh
16:27:33*derpydoo joined #nim
16:33:17*xet7 joined #nim
16:35:55*alphacentauri joined #nim
16:40:27*azimut quit (Ping timeout: 252 seconds)
16:49:05*alphacentauri quit (Quit: WeeChat 4.0.5)
16:52:03*alphacentauri joined #nim
17:02:32*junaid_ joined #nim
17:02:59*alphacentauri quit (Quit: WeeChat 4.0.5)
17:05:56*alphacentauri joined #nim
17:23:54nmzis it stable?
17:25:08nmzI'm tired of being a bug tester, that's all open source is, bug test this bug test that, woops that feature has a colossal exploit
17:25:38FromDiscord<nervecenter> Those are always the issues that shatter the idealistic vision
17:25:49FromDiscord<nervecenter> Seems like Nature is gonna have a couple of those eventually
17:25:58FromDiscord<nervecenter> Seems very very early
17:26:47nmzreality, always getting in the way
17:29:10Amun-Ranaturelang looks like vlang
18:09:23*advesperacit quit (Ping timeout: 258 seconds)
18:10:03*advesperacit joined #nim
18:13:11*edr quit (Quit: Leaving)
18:23:12FromDiscord<.lekie.> In reply to @omentic "perhaps look into this?": Oh ty
18:26:25FromDiscord<System64 ~ Flandre Scarlet> https://peterme.net/↵Does someone have the full identity of this person please? It's for my bibliography
18:27:30FromDiscord<jviega> Sure, that's: https://www.linkedin.com/search/results/all/?fetchDeterministicClustersOnly=true&heroEntityKey=urn:li:fsd_profile:ACoAABNuQGMBbZbzTGRLPdgCpbkkXr_qjENIZhg&keywords=peter%20munch-ellingsen&origin=RICH_QUERY_SUGGESTION&position=0&searchId=5fcda911-0c61-4c52-a9a6-77a751b40c83&sid=FC:&spellCorrectionEnabled=false
18:27:59FromDiscord<jviega> https://www.linkedin.com/in/peter-munch-ellingsen-11721191/
18:28:20FromDiscord<System64 ~ Flandre Scarlet> Thanks!
18:47:41FromDiscord<Chronos [She/Her]> You can also go t the source 😛 PMunch
20:01:06*rez joined #nim
20:03:49*alphacentauri quit (Quit: WeeChat 4.0.5)
20:08:11*alphacentauri joined #nim
20:12:17FromDiscord<Chronos [She/Her]> Not sure what JWT lib to use hm...
20:12:58FromDiscord<Chronos [She/Her]> There's 3 options, one by treeform (forked from yglukhov), one by yglukhov and another from guzba
20:26:22*krux02 joined #nim
20:38:50FromDiscord<nnsee> In reply to @nmz "I'm tired of being": what a strange take. feel free to simply not use software written by volunteers provided to you free of charge, and pay for your "stable" bugs and vulnerabilities. because lord knows that proprietary software never has any issues
20:55:13*alphacentauri quit (Quit: WeeChat 4.0.5)
20:58:16*alphacentauri joined #nim
20:59:12FromDiscord<_gumbercules> Not to mention all the spyware commercial software tends to be riddled with
20:59:46FromDiscord<_gumbercules> And I mean - you're empowered to fix the bugs yourself when it comes to FOSS
21:00:04FromDiscord<_gumbercules> Vs proprietary software where no such option exists
21:25:36FromDiscord<Mike> The yglukhov one has been working pretty well for me, FWIW. Haven't tried the others though↵(@Chronos [She/Her])
21:26:13FromDiscord<Mike> I also haven't tried public/private signing and verification yet; just symmetric
21:29:17*junaid_ quit (Remote host closed the connection)
21:31:59*rez quit (Quit: much snoozes...)
21:33:42FromDiscord<Chronos [She/Her]> Fair
21:42:48*advesperacit quit ()
22:00:03*dza quit (Quit: )
22:01:41*dza joined #nim
22:20:34*derpydoo quit (Quit: derpydoo)
22:55:34FromDiscord<treeform> In reply to @chronos.vitaqua "There's 3 options, one": I am switching to one by guzba, it’s pure Nim.
23:12:15FromDiscord<user2m> anyone using 2.0? I'm trying to switch from 1.6.12 but everything is breaking esp backend js stuff
23:12:57FromDiscord<user2m> is this supposed to happen?
23:17:14FromDiscord<Elegantbeef> It depends↵(@user2m)
23:24:48*krux02 quit (Remote host closed the connection)
23:26:38FromDiscord<user2m> I'm just getting really weird errors where even basic things like document.getElementByID isn't working??
23:41:09FromDiscord<Elegantbeef> In what way
23:43:36*azimut joined #nim
23:57:48*alphacentauri quit (Quit: WeeChat 4.0.5)