00:03:59 | * | Lord_Nightmare quit (Quit: ZNC - http://znc.in) |
00:07:16 | * | Lord_Nightmare joined #nim |
00:13:47 | FromDiscord | <raynei486> for fun yes |
00:13:55 | FromDiscord | <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:16 | FromDiscord | <raynei486> you probably won't be reaching for C to write most of your projects though |
00:18:04 | FromDiscord | <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:34 | FromDiscord | <raynei486> you need more than integers? |
01:45:39 | FromDiscord | <Elegantbeef> Nah everything is an integer |
01:45:40 | FromDiscord | <Elegantbeef> Life is what you make it and all that jazz |
02:17:39 | * | alphacentauri quit (Quit: WeeChat 4.0.5) |
03:07:30 | FromDiscord | <.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:00 | FromDiscord | <.lekie.> Ahh |
03:11:30 | FromDiscord | <.lekie.> I fixed it by changing sysPath to /usr/include/linux |
03:11:41 | FromDiscord | <.lekie.> And keeping path as /usr/include/ |
03:14:51 | * | rockcavera joined #nim |
03:18:07 | FromDiscord | <.lekie.> How can I see the file that futhark creates? |
03:21:14 | * | mahlon quit (Ping timeout: 255 seconds) |
03:22:35 | FromDiscord | <Elegantbeef> Look at your `.cache/nim` |
03:27:55 | FromDiscord | <.lekie.> this is odd |
03:28:04 | FromDiscord | <.lekie.> im trying to get bindings for libsixel |
03:28:14 | FromDiscord | <.lekie.> but when i check the futhark cache |
03:28:18 | FromDiscord | <.lekie.> all there is is |
03:28:36 | FromDiscord | <.lekie.> sent a code paste, see https://play.nim-lang.org/#ix=4ISx |
03:39:13 | FromDiscord | <.lekie.> Is there any other ways I can get images in the terminal with Nim? |
03:51:48 | FromDiscord | <odexine> only if the terminal supports it |
03:52:02 | FromDiscord | <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:40 | FromDiscord | <sOkam! 🫐> sent a code paste, see https://play.nim-lang.org/#ix=4ISP |
05:10:48 | FromDiscord | <sOkam! 🫐> i don't remember the details, but I remember that my setup was incorrect |
05:10:56 | FromDiscord | <sOkam! 🫐> (edit) "incorrect" => "incorrect, and the outcome was something like that" |
05:22:30 | FromDiscord | <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:35 | Amun-Ra | I 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:51 | FromDiscord | <Chronos [She/Her]> Yeah that's the only way, raising IOError and raises: [] are both conflicting information |
09:06:12 | Amun-Ra | and `echo` has no stderr switch |
09:08:49 | * | PMunch joined #nim |
09:50:26 | FromDiscord | <nnsee> write a helper proc that handles ioerror gracefully and use that? |
09:51:07 | FromDiscord | <nnsee> ("handling" can be a simple `discard`) |
09:57:39 | FromDiscord | <odexine> In reply to @nnsee "write a helper proc": This |
09:58:08 | FromDiscord | <odexine> You can still try and catch with raises, it’s just that errors can’t leave procedures with raises: [] |
10:01:53 | Amun-Ra | hmm, what happens when there's IOError inside cast(raises:[])? |
10:03:21 | FromDiscord | <nnsee> computer just fucking explodes |
10:08:59 | Amun-Ra | replace computer with world and I'm in |
10:11:03 | FromDiscord | <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:21 | PMunch_ | 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:14 | PMunch | I 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:34 | NimEventer | New 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:40 | FromDiscord | <Phil> Sanity check regarding move semantics |
14:39:49 | FromDiscord | <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:57 | FromDiscord | <Phil> sent a code paste, see https://play.nim-lang.org/#ix=4IUA |
14:41:12 | FromDiscord | <Phil> In reply to @odexine "if its you its": Give me the dignity of first typing out the thing please 😛 |
14:44:26 | FromDiscord | <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:45 | FromDiscord | <odexine> dest would have an invalid pointer if you deallocate the stream |
14:44:55 | FromDiscord | <odexine> at least to my understanding that is how it works |
14:45:11 | FromDiscord | <Phil> g_object_unref reduces the ref counter primarily |
14:45:16 | FromDiscord | <Phil> If that hits 0 it gets deallocated |
14:47:48 | FromDiscord | <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:57 | Amun-Ra | do you attach it to another widget or do you keep it floating? |
14:49:57 | FromDiscord | <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:52 | FromDiscord | <Phil> Sooner or later any mediastream gets tttached to a widget so I'm not sure on that particular question |
15:01:11 | FromDiscord | <Phil> In reply to @odexine "conceptually, you're "removing one": That one's a fair point |
15:01:23 | FromDiscord | <Phil> (edit) "tttached" => "attached" |
15:02:37 | Amun-Ra | that 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:38 | FromDiscord | <nervecenter> sent a long message, see http://ix.io/4IUR |
16:13:50 | FromDiscord | <nervecenter> (edit) "http://ix.io/4IUR" => "http://ix.io/4IUS" |
16:14:22 | FromDiscord | <nervecenter> (edit) "http://ix.io/4IUS" => "http://ix.io/4IUT" |
16:15:23 | FromDiscord | <nervecenter> (edit) "http://ix.io/4IUT" => "http://ix.io/4IUU" |
16:16:35 | FromDiscord | <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:22 | FromDiscord | <Chronos [She/Her]> In reply to @nervecenter "Interesting new language. https://nature-lang.org/": I could see myself using that tbf |
16:20:58 | FromDiscord | <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:54 | nmz | is it stable? |
17:25:08 | nmz | I'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:38 | FromDiscord | <nervecenter> Those are always the issues that shatter the idealistic vision |
17:25:49 | FromDiscord | <nervecenter> Seems like Nature is gonna have a couple of those eventually |
17:25:58 | FromDiscord | <nervecenter> Seems very very early |
17:26:47 | nmz | reality, always getting in the way |
17:29:10 | Amun-Ra | naturelang 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:12 | FromDiscord | <.lekie.> In reply to @omentic "perhaps look into this?": Oh ty |
18:26:25 | FromDiscord | <System64 ~ Flandre Scarlet> https://peterme.net/↵Does someone have the full identity of this person please? It's for my bibliography |
18:27:30 | FromDiscord | <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:59 | FromDiscord | <jviega> https://www.linkedin.com/in/peter-munch-ellingsen-11721191/ |
18:28:20 | FromDiscord | <System64 ~ Flandre Scarlet> Thanks! |
18:47:41 | FromDiscord | <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:17 | FromDiscord | <Chronos [She/Her]> Not sure what JWT lib to use hm... |
20:12:58 | FromDiscord | <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:50 | FromDiscord | <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:12 | FromDiscord | <_gumbercules> Not to mention all the spyware commercial software tends to be riddled with |
20:59:46 | FromDiscord | <_gumbercules> And I mean - you're empowered to fix the bugs yourself when it comes to FOSS |
21:00:04 | FromDiscord | <_gumbercules> Vs proprietary software where no such option exists |
21:25:36 | FromDiscord | <Mike> The yglukhov one has been working pretty well for me, FWIW. Haven't tried the others though↵(@Chronos [She/Her]) |
21:26:13 | FromDiscord | <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:42 | FromDiscord | <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:34 | FromDiscord | <treeform> In reply to @chronos.vitaqua "There's 3 options, one": I am switching to one by guzba, it’s pure Nim. |
23:12:15 | FromDiscord | <user2m> anyone using 2.0? I'm trying to switch from 1.6.12 but everything is breaking esp backend js stuff |
23:12:57 | FromDiscord | <user2m> is this supposed to happen? |
23:17:14 | FromDiscord | <Elegantbeef> It depends↵(@user2m) |
23:24:48 | * | krux02 quit (Remote host closed the connection) |
23:26:38 | FromDiscord | <user2m> I'm just getting really weird errors where even basic things like document.getElementByID isn't working?? |
23:41:09 | FromDiscord | <Elegantbeef> In what way |
23:43:36 | * | azimut joined #nim |
23:57:48 | * | alphacentauri quit (Quit: WeeChat 4.0.5) |