<< 21-11-2023 >>

00:17:13*Mister_Magister quit (Excess Flood)
00:17:34*Mister_Magister joined #nim
00:26:21*jtuckey joined #nim
00:53:47*jay-tuckey joined #nim
00:54:01*jtuckey quit (Ping timeout: 276 seconds)
01:26:15NimEventerNew thread by icedquinn: Concept generics, see https://forum.nim-lang.org/t/10665
01:47:19NimEventerNew Nimble package! yahttp - Awesome simple HTTP client for Nim, see https://github.com/mishankov/yahttp?tab=readme-ov-file#-yahttp---awesome-simple-http-client-for-nim
01:53:48*jay-tuckey quit (Ping timeout: 268 seconds)
02:15:47*jmdaemon joined #nim
02:24:40*nisstyre quit (Ping timeout: 246 seconds)
02:38:04*nisstyre joined #nim
02:49:55*krux02 quit (Remote host closed the connection)
03:50:16*edr quit (Quit: Leaving)
04:08:11*derpydoo quit (Ping timeout: 256 seconds)
06:38:37*jmdaemon quit (Ping timeout: 255 seconds)
07:10:56*advesperacit joined #nim
07:17:56NimEventerNew Nimble package! noxen - highly customizable terminal boxes for nim!, see https://github.com/ptVoid/noxen
07:17:56NimEventerNew Nimble package! niMIDI - MIDI file parser in Nim, for Nim, see https://github.com/Mycsina/NiMIDI
07:27:33*PMunch joined #nim
08:13:52*xet7 quit (Quit: Leaving)
09:10:30*xutaxkamay quit (Quit: ZNC 1.8.2+deb3.1 - https://znc.in)
09:12:18*xutaxkamay joined #nim
09:39:42*krux02 joined #nim
09:52:00*PMunch quit (Quit: Leaving)
09:58:20*krux02 quit (Remote host closed the connection)
10:07:28*PMunch joined #nim
10:52:23NimEventerNew thread by arnetheduck: Chronos v4 RC, see https://forum.nim-lang.org/t/10666
11:15:42*arkanoid joined #nim
11:16:44arkanoidhello! quick question. If I have ARC compatible code but I build with ORC, will it behave as efficient as ARC?
11:43:26PMunchI believe so. I don't think the cycle collector will run unless you have a type which can contain cycles
12:43:37NimEventerNew Nimble package! objaccess - generate setters and getters for object types, see https://github.com/choltreppe/objaccess
13:42:37*edr joined #nim
13:51:22*derpydoo joined #nim
15:58:20NimEventerNew thread by alireza: Verify my account, see https://forum.nim-lang.org/t/10667
16:14:49*xet7 joined #nim
17:25:21*krux02 joined #nim
18:11:15*rockcavera joined #nim
18:20:34*jay-tuckey joined #nim
19:04:27NimEventerNew Nimble package! nimpk - PocketLang binding for Nim, see https://github.com/khchen/nimpk
19:04:27NimEventerNew Nimble package! gura - Gura Configuration Language for Nim, see https://github.com/khchen/gura
19:12:09NimEventerNew thread by Ward: Gura Configuration Language for Nim, see https://forum.nim-lang.org/t/10668
19:45:58*FromDiscord quit (Remote host closed the connection)
19:46:16*FromDiscord joined #nim
19:46:33FromDiscord<apetransaction> im trying to but im receiving errors
19:46:50FromDiscord<greentee333> can u give a little more info about the errors?
19:50:32FromDiscord<apetransaction> rewriting my code, might be a me issue
19:50:47FromDiscord<greentee333> kk : )
19:51:02FromDiscord<greentee333> ping me if u end up needing a little support
19:55:47FromDiscord<JJ> In reply to @isofruit "That supports blocks!?": it doesn't seem to, but it probably should support static blocks
20:03:49FromDiscord<bootymonster69> In reply to @isofruit "You're definitely getting screwed": > Mostly because I don't think anyone came up withthe idea of using blocks inside of [field default values]...↵I am something of an innovator 😎
20:07:44FromDiscord<myxi> In reply to @chronos.vitaqua "Hmm what's the best": lookahead one character when you find a \ in your string consumer
20:08:58FromDiscord<Chronos [She/Her]> In reply to @myxi "lookahead one character when": I mean as in generating the values for `\u0001` to the end
20:09:02FromDiscord<Chronos [She/Her]> Bc that'd be painful
20:12:05FromDiscord<myxi> In reply to @chronos.vitaqua "I mean as in": well, you're not really to have numbers for anything else when you use \u escape char, so if the lookahead is u, just run a while loop that consumes all the numbers then in the end only insert the unicode to your char array
20:12:23FromDiscord<myxi> (edit) "In reply to @chronos.vitaqua "I mean as in": well, you're not really ... to" added "supposed"
20:13:14FromDiscord<myxi> (edit) "In reply to @chronos.vitaqua "I mean as in": well, you're not really supposed to have numbers for anything else ... when`u`," added "instead of the unicode" | "u," => "`u`,"
20:13:19*jay-tuckey quit (Ping timeout: 268 seconds)
20:16:44FromDiscord<Chronos [She/Her]> Hm okay, thanks!
20:17:06FromDiscord<Chronos [She/Her]> How about key things like `\n`? Are there only a few special cases for those escape sequences?
20:18:14FromDiscord<myxi> if the lookahead is `n`, append a `\n` char to your char array
20:18:18FromDiscord<myxi> same for stuff like `\t`
20:18:32FromDiscord<myxi> i'm assuming you're using some sane programming language for your parser though
20:20:34FromDiscord<Chronos [She/Her]> Yeah lol, using Nim
20:43:19*om3ga quit (Read error: Connection reset by peer)
20:43:53FromDiscord<pmunch> In reply to @greentee333 "you could assume some": Not really, it's all happening on the same thread, so as long as you have a reference to something it won't be freed. And the Nim GC never moves thing AFAIK
20:44:03FromDiscord<pmunch> Well, it reallocs sequences
20:46:20FromDiscord<bootymonster69> sent a code paste, see https://play.nim-lang.org/#ix=4M5m
20:46:28*om3ga joined #nim
20:46:49FromDiscord<bootymonster69> (edit) "https://play.nim-lang.org/#ix=4M5m" => "https://play.nim-lang.org/#ix=4M5n"
20:51:37FromDiscord<pmunch> I feel like this should work https://play.nim-lang.org/#ix=4M5r
20:51:56FromDiscord<pmunch> But it errors out somewhere in int128.nim which I'm not even sure why is included
20:54:44FromDiscord<bootymonster69> you forgot the `<` after the `..`, I think. but it still raises another error after i modified it
20:58:17*om3ga quit (Read error: Connection reset by peer)
21:02:39*om3ga joined #nim
21:06:05*om3ga quit (Read error: Connection reset by peer)
21:06:35FromDiscord<bootymonster69> rip
21:10:34*om3ga joined #nim
21:16:25*om3ga quit (Read error: Connection reset by peer)
21:20:14*om3ga joined #nim
21:35:00*om3ga quit (Read error: Connection reset by peer)
21:37:57*om3ga joined #nim
21:42:57FromDiscord<Elegantbeef> Cause it's an internal nim bug
21:43:21FromDiscord<Elegantbeef> The bug causes an assert inside Nim's int128 to raise
21:55:02*om3ga quit (Read error: Connection reset by peer)
21:57:56*om3ga joined #nim
22:07:05*om3ga quit (Read error: Connection reset by peer)
22:10:24*om3ga joined #nim
22:15:22*om3ga quit (Read error: Connection reset by peer)
22:18:48*om3ga joined #nim
22:33:16FromDiscord<bootymonster69> I'm such a noob that I don't know how to use git and its derivatives
22:33:38FromDiscord<bootymonster69> so I can't file the bug
22:35:10FromDiscord<pmunch> Damn, maybe I should strip the proprietary stuff out of the 31 page Git guide I wrote for work 😛
22:35:25FromDiscord<pmunch> Filing a bug on GitHub though is super easy
22:35:37FromDiscord<pmunch> Just head to the issues tab, hit new issue, and then fill out the fields
22:36:17FromDiscord<pmunch> (assuming you have a user of course, which you probably don't if you don't know how to use Git, but this is a great time to create one :))
22:36:26FromDiscord<System64 ~ Flandre Scarlet> In reply to @NimEventer "New Nimble package! nimpk": Sounds interesting! Is it as fast as Lua?
22:36:37FromDiscord<bootymonster69> ok. I will give it a go after I have dinner
22:37:51FromDiscord<Phil> In reply to @bootymonster69 "I'm such a noob": I highly recommend taking the ... 30 minutes or so to learn the really fundamental basics
22:37:54FromDiscord<ElegantBeef> Damn bridge is down
22:38:02FromDiscord<ElegantBeef> I had some high quality responses
22:38:03FromDiscord<Elegantbeef> Time to learn
22:38:04FromDiscord<Phil> It's really just like 6 or so commands that are worth knowing when starting out
22:38:05FromDiscord<Elegantbeef> What's your problem?
22:38:05FromDiscord<Elegantbeef> Login to your github account, go to issues, create a new issue, then fill in pertinent information
22:38:07FromDiscord<Elegantbeef> That's what they say, but once I did it and my entire computer turned into a flamethrower
22:38:07FromDiscord<Elegantbeef> It could've been the gasoline I poured on it, but I'm leaning into the github issue
22:38:09FromDiscord<ElegantBeef> Ah there it is
22:38:51*advesperacit quit ()
22:38:56FromDiscord<bootymonster69> now there is two of them
22:38:59FromDiscord<bootymonster69> crazy
22:39:09FromDiscord<Elegantbeef> Yes we are
22:39:14FromDiscord<ElegantBeef> Assimilate
22:39:16FromDiscord<Phil> I cloned him once
22:39:17FromDiscord<Phil> terrible idea
22:39:23FromDiscord<pmunch> Wait, does this mean the IRC bridge is back as well?
22:39:32FromDiscord<ElegantBeef> They're different bridges
22:39:36FromDiscord<ElegantBeef> So probably not
22:39:39FromDiscord<Phil> Matrix and IRC are different bridges
22:39:42*PMunch_ joined #nim
22:39:44FromDiscord<Phil> I'd know because I have docs on the matrix bridge
22:39:44FromDiscord<pmunch> :/
22:39:47FromDiscord<Phil> and nothing on the IRC one
22:39:48FromDiscord<ElegantBeef> Really where did you get that information Phil?!
22:39:56FromDiscord<pmunch> Ey! It is back up!
22:40:09FromDiscord<Phil> In reply to @elegantbeef "Really where did you": I read it myself somewhere
22:40:19FromDiscord<Elegantbeef> Let's abandon that proprietary shitehole! 😄
22:40:20FromDiscord<Phil> Not too long ago I'm sur
22:40:30PMunch_Which one?
22:40:32PMunch_Discord?
22:40:36PMunch_!nick PMunch
22:40:39FromDiscord<Phil> psure he means that
22:40:45FromDiscord<Elegantbeef> Indeederony
22:40:54*PMunch quit (Killed (NickServ (GHOST command used by PMunch_)))
22:41:00*PMunch_ is now known as PMunch
22:41:15PMunchIRC for the win!
22:41:16*PMunch_ joined #nim
22:41:42FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=4M5T
22:44:12PMunchJokes on you, I'm now dual monitoring IRC and Discord
22:44:52FromDiscord<Elegantbeef> IRC is such a good protocol you need to have Discord open aswell!
22:46:45PMunchDon't really need it, just happened to not have closed it yet :P
22:47:00FromDiscord<Elegantbeef> It's quite weird to actively want to rely on my inotify daemon to backup files to other drives 😄
22:47:14FromDiscord<Elegantbeef> It's 300 lines of code, but is it enough to not explode!
22:47:44FromDiscord<Elegantbeef> Atleast in theory I should get a nice notification if anything bad happens
22:47:52PMunchAh :P
22:49:31FromDiscord<Elegantbeef> I was going to just rely on a cronjob that called rsync every minute or so, but that seemed so unsophisticated
22:49:51PMunchI thought you had hooked up a program to back up your files whenever you got a notification
22:50:22FromDiscord<Elegantbeef> Nah I'm using inotify to watch files/directories for any changes and copying those to other drives
22:50:58PMunchNote that inotify isn't bullet proof
22:51:03PMunchIt can miss updates
22:52:29FromDiscord<Elegantbeef> It's what I'm calling 'non destructive' though, so only modifications propagates and deletions do nothing
22:52:30FromDiscord<Elegantbeef> I do have other backups but I like having another backup on device to protect against real dumb actions by the guy at the keyboard
22:54:01PMunchI should really add some backups to my server..
22:54:13PMunchI have Syncthing syncing my machines (and certain folders to my phone)
22:54:28PMunchSo if I just add some backup on the server I will have a good system :)
22:56:33FromDiscord<Elegantbeef> I use syncthing as well
22:56:42PMunchPretty great program
22:57:36PMunchBut the setup of new devices can be a bit meh, especially when I want to add them to my headless server
22:58:08FromDiscord<Elegantbeef> Yea having to type a long string or scan a qr code is quite annoying
22:58:39*om3ga quit (Read error: Connection reset by peer)
23:01:30*om3ga joined #nim
23:01:47FromDiscord<bootymonster69> does Nim support errors as values? along the lines of rust or go?
23:02:28PMunchNim supports almost anything you can imagine
23:02:39PMunchNot exactly sure what you mean though
23:02:47PMunchLike Result variables?
23:02:58FromDiscord<bootymonster69> oh wait people sent me packages imitating the Result type. I'll go take a look at those
23:03:21FromDiscord<bootymonster69> (edit) "oh wait people sent me packages imitating the ... Result" added "Rust's"
23:03:26FromDiscord<bootymonster69> (edit) removed "the"
23:07:16FromDiscord<Elegantbeef> Sure
23:07:17FromDiscord<Elegantbeef> It has tuples and there is `nim-results`
23:23:58*om3ga quit (Read error: Connection reset by peer)
23:26:52*om3ga joined #nim
23:29:08*PMunch quit (Quit: leaving)
23:58:38*jmdaemon joined #nim