<< 04-02-2024 >>

00:16:35FromDiscord<Robyn [She/Her]> ...i should write my own package manager for Nim so I can make it tailored to how I want it :P
00:16:44FromDiscord<Elegantbeef> No you shouldn't
00:16:51FromDiscord<odexine> uh good luck? dep resolution is pretty fucking hard
00:17:20FromDiscord<Elegantbeef> Atlas, Nimph, Nimble, Robyns Totally Unique Package Manager
00:17:23FromDiscord<Elegantbeef> That's too many
00:17:37FromDiscord<Elegantbeef> Albeit atlas is not a package manager
00:18:28NimEventerNew thread by DougT: Bignum note, see https://forum.nim-lang.org/t/10946
00:18:46FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "Atlas, Nimph, Nimble, Robyns": :3
00:18:57FromDiscord<Robyn [She/Her]> In reply to @odexine "uh good luck? dep": Oh? Why?
00:19:08FromDiscord<Elegantbeef> Cause you need to make a dependency graph that works
00:19:14FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "No you shouldn't": But fun!
00:19:17FromDiscord<Elegantbeef> Atlas does supposedly have a SAT solver
00:19:22FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "Cause you need to": Ah
00:19:56FromDiscord<odexine> id say youd have to be a pretty advanced masochist to find it fun
00:20:13FromDiscord<Robyn [She/Her]> :P
00:20:53FromDiscord<Elegantbeef> https://github.com/nim-lang/atlas/blob/60681b93af4c8914afbd8eae9fc9820ba4d198a0/src/sat.nim could be stolen 😄
00:21:32FromDiscord<Elegantbeef> Best to stick to your current project whatever those 10 may be
00:21:43FromDiscord<Robyn [She/Her]> So I am being gently told no, but given the tools anyway? :)
00:22:03FromDiscord<Elegantbeef> I mean what would you do so different to atlas or nimble?
00:24:18FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "Best to stick to": Chat platform, prog lang, and MC server (which is why i need NBT parsing and dumping)
00:24:37FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "I mean what would": I like how Cargo for Rust works, personally
00:24:59FromDiscord<Robyn [She/Her]> It could be done in Nimble easily as a module tbf
00:25:09FromDiscord<Robyn [She/Her]> But idk, I'm always over the top
00:25:20FromDiscord<Elegantbeef> What about cargo
00:27:12FromDiscord<Robyn [She/Her]> The way you can define features for example, the TOML package definitions
00:27:46FromDiscord<odexine> id assume that would imply abandoning the nimble format, in which case good luck
00:27:54FromDiscord<Robyn [She/Her]> Features are just define flags of course, but defining them in the nimble file isn't doable...is it?
00:28:11FromDiscord<Elegantbeef> Right nimble runs after flags are set
00:28:26FromDiscord<Robyn [She/Her]> In reply to @odexine "id assume that would": Would generate and parse the nimble files for compat
00:28:43FromDiscord<odexine> but then what advantage would it have over nimble
00:28:51FromDiscord<Elegantbeef> Except you cannot generate a nimble file that sets flags and you cannot have a `config.nims` loaded from a library
00:28:59FromDiscord<Elegantbeef> So... we're now in a place with 0 interop
00:29:08FromDiscord<Robyn [She/Her]> Ah
00:29:16FromDiscord<Robyn [She/Her]> I see the problem :p
00:29:20FromDiscord<Robyn [She/Her]> Welp
00:29:36FromDiscord<Elegantbeef> Atlas is actually nice in this regard you define a `config.nims` and it has all your config, and then your `.nimble` is just a list of `requires`
00:30:11FromDiscord<Elegantbeef> https://github.com/elcritch/figuro/blob/main/figuro.nimble↵https://github.com/elcritch/figuro/blob/main/config.nims↵For example
00:30:43FromDiscord<Robyn [She/Her]> I can't remember why I didn't like Atlas... I think it was because I struggled to update the dependency version of a pkg? But I know it definitely was doable
00:31:00FromDiscord<Elegantbeef> Personally if I were to have written this I'd have a `figuro.nims` with tasks, but to elcritchs their own
00:31:15FromDiscord<Robyn [She/Her]> Fair
00:31:21FromDiscord<Elegantbeef> It should just be 'increment the required version then atlas replay' or w/e
00:31:31FromDiscord<Robyn [She/Her]> Replay?
00:32:19FromDiscord<Elegantbeef> atlas replay rebuilds the atlas workspace I think
00:32:19FromDiscord<Elegantbeef> Sorry it might be `rep` not replay now
00:32:36FromDiscord<Elegantbeef> There is actually `update` which might do the trick
00:32:44FromDiscord<Robyn [She/Her]> Aaaaah okay
00:32:49FromDiscord<Robyn [She/Her]> Good to know!
00:32:53FromDiscord<Robyn [She/Her]> Thanks aha
00:33:45FromDiscord<Elegantbeef> Yea just tested it in my lock picking project
00:33:56FromDiscord<Robyn [She/Her]> Neato!
01:00:02*nazgulsenpai quit (Quit: ZNC 1.8.2 - https://znc.in)
01:00:54FromDiscord<Elegantbeef> You did get me to find a bug with atlas, but also learn there is a `updateDeps` for updating all your deps at once
01:03:25*nazgulsenpai joined #nim
01:49:30NimEventerNew Nimble package! traitor - Trait-like package made without insight, see https://github.com/beef331/traitor
01:50:43FromDiscord<Elegantbeef> best description ever
02:03:52FromDiscord<odexine> New?
02:04:02FromDiscord<odexine> Did you never add it to the packages
02:04:16FromDiscord<Elegantbeef> It never was in the registry until I rewrote it cause I was still a little uncertain about the API
02:04:33FromDiscord<Elegantbeef> Now I like how simple it is, much easier to audit and understand
02:04:56FromDiscord<Elegantbeef> Though Nim doc gen destroys the trait tuples
02:05:22FromDiscord<odexine> I see
02:05:42*jmdaemon joined #nim
04:07:14*pbsds quit (Quit: The Lounge - https://thelounge.chat)
04:09:26*pbsds joined #nim
04:48:14*SchweinDeBurg quit (Ping timeout: 268 seconds)
06:18:29*azimut quit (Ping timeout: 255 seconds)
07:12:55NimEventerNew thread by Solo-Leveler: Found a Niche that only Nim can do: Easy Retro(e.g. MOS 65xx) Development with ORC/ARC, see https://forum.nim-lang.org/t/10947
07:23:29FromDiscord<.> why am i able to run nim in windows terminal but not in the vs code terminal/
07:23:39FromDiscord<.> (edit) "terminal/" => "terminal?"
07:25:35FromDiscord<Elegantbeef> You likely need to relog to properly get your env variable to work
07:25:54FromDiscord<stardustbiscuits> ummmmm
07:25:59FromDiscord<stardustbiscuits> how?
07:26:09FromDiscord<Elegantbeef> How do you log out?
07:26:19FromDiscord<Elegantbeef> You click your start menu and hit log out
07:26:22FromDiscord<Elegantbeef> Or restart
07:26:37FromDiscord<stardustbiscuits> oh you mean vscode
07:26:50FromDiscord<odexine> No he means the whole system; windows
07:27:00FromDiscord<stardustbiscuits> fck
07:27:05FromDiscord<stardustbiscuits> ok
07:27:17FromDiscord<odexine> You can try restating vscode only first
07:27:20FromDiscord<odexine> Restarting
07:27:30FromDiscord<Elegantbeef> vscode vscode vscode
07:27:51FromDiscord<stardustbiscuits> In reply to @odexine "You can try restating": i did↵↵i got this message↵No 'nim' binary could be found in PATH environment variable
07:28:27FromDiscord<Phil> In reply to @whisperecean "I think norm should": Not convinced there.↵The type "DateTime" gets mapped to the column type "TIMESTAMP WITH TIME ZONE"
07:28:32FromDiscord<odexine> In reply to @Elegantbeef "vscode vscode vscode": "rince and repeat"
07:28:49FromDiscord<Elegantbeef> touche
07:29:50FromDiscord<Phil> In reply to @odexine ""rince and repeat"": At least you tried with the saying. However, rinse and repeat 😛
07:29:53FromDiscord<huantian> I never remember on windows if you have to restart your pc to get the env variable to work
07:30:10FromDiscord<Elegantbeef> Phil rika was referencing a typo I made
07:30:20FromDiscord<Elegantbeef> I just kick the PC until the env variable updates
07:30:28FromDiscord<Elegantbeef> If the system doesn't reboot it's a win win
07:30:32FromDiscord<Phil> In reply to @Elegantbeef "Phil rika was referencing": You are capable of writing typos?
07:30:46FromDiscord<Elegantbeef> Me? Never
07:30:47FromDiscord<huantian> i think you meant to ask "you are capable of not writing typos"
07:31:08FromDiscord<Phil> In secret beef can't write, he just rolls his face across the keyboard and is incredibly lucky
07:31:10FromDiscord<huantian> i hate the grammar of that sentence i just wrote
07:31:22FromDiscord<huantian> nah he just tells his dog what to type
07:31:22FromDiscord<Elegantbeef> Is that really a secret?
07:32:12FromDiscord<Elegantbeef> Look at my code and tell me that's written by someone that knows how to use a keyboard for anything more than a comb
07:32:24FromDiscord<huantian> absolute garbage comb
07:34:08FromDiscord<Elegantbeef> Just like the code
07:34:39FromDiscord<huantian> where did the biscuits go are they still restarting their computer or did beef's hair scare them off
07:34:58FromDiscord<Elegantbeef> No clue, quick write some code using traitor
07:35:33FromDiscord<zumi.dxy> In reply to @NimEventer "New thread by Solo-Leveler:": that reminds me↵SDCC can do 6502↵GBDK has a stdlib for 6502
07:35:41FromDiscord<zumi.dxy> (though cc65 is also a thing)
07:36:35FromDiscord<zumi.dxy> oh man, imagine a demo written in Nim
07:36:59FromDiscord<stardustbiscuits> well restarting worked! thanks
07:37:07FromDiscord<huantian> epic
07:37:16FromDiscord<huantian> i say that as if I helped
07:38:35FromDiscord<odexine> In reply to @huantian "i say that as": good job
07:39:28FromDiscord<huantian> thank you
07:39:36FromDiscord<huantian> I'm proud of myself too
07:40:32FromDiscord<Elegantbeef> Now let's not go that far
07:42:16FromDiscord<huantian> 😔
07:55:33*ehmry__ is now known as ehmry_
08:47:37*advesperacit joined #nim
09:56:15*azimut joined #nim
09:57:23*junaid_ joined #nim
10:02:55FromDiscord<privsec> unsecure IRC servers
10:03:59FromDiscord<privsec> using an outdated protocol instead of XMPP
10:05:08FromDiscord<zumi.dxy> me when waiting for IRCv3↵↵and XMPP is also a pretty "YMMV" protocol↵need to check with servers and clients which extensions they support
10:14:02*azimut quit (Remote host closed the connection)
10:14:07*junaid_ quit (Quit: leaving)
10:14:47*azimut joined #nim
10:17:18*junaid_ joined #nim
10:35:13*jmdaemon quit (Ping timeout: 256 seconds)
11:57:44FromDiscord<bung8954> any tool for code obfuscation?
12:00:23FromDiscord<Robyn [She/Her]> In reply to @bung8954 "any tool for code": For Nim? What's the point?
12:01:18FromDiscord<bung8954> for nim executable, I don't wanna it be naked to crackers
12:06:26FromDiscord<demotomohiro> How can executable obfuscated so that cracker cannot read but OS and CPU can run it?
12:08:54FromDiscord<bung8954> there's ollvm but I want something simple
12:10:36FromDiscord<Robyn [She/Her]> Just use whatever tool you'd use in C, for the outputted Nim code
12:13:11FromDiscord<bung8954> hope there's tool compile nim code obfuscated for me
12:55:01FromDiscord<tauruuuuuus> Installing v2.0.2 through choosenim gave me a lot of false positives for malware at work last week, koch and nimgrab in particular
12:55:33FromDiscord<tauruuuuuus> Anyone experiencing the same? (I know, windows sucks, but I'm kind of stuck with it there..)
13:12:02FromDiscord<demotomohiro> In reply to @tauruuuuuus "Installing v2.0.2 through choosenim": There were related forum posts a month ago:↵https://internet-of-tomohiro.netlify.app/nim/faq.en.html#nim-compiler-is-nimslashnimble-virus-or-malwareqmark
13:12:30FromDiscord<demotomohiro> https://forum.nim-lang.org/t/10820↵https://forum.nim-lang.org/t/10824↵https://forum.nim-lang.org/t/10851
13:42:25FromDiscord<takemichihanagaki3129> In reply to @tauruuuuuus "Anyone experiencing the same?": I have the same experience.↵Not only with Nim, tho.↵A lot of open sourced apps are facing the same problem. Even neovim.
13:42:51FromDiscord<takemichihanagaki3129> I couldn't install neovim because windows does not allow me.
13:44:45FromDiscord<zumi.dxy> what about Golang?
13:45:22*xet7 joined #nim
13:46:15*xet7 quit (Remote host closed the connection)
13:54:25*krux02 joined #nim
14:07:22FromDiscord<tauruuuuuus> Go used to be a huge hassle for the binaries it produced expecially
14:08:01FromDiscord<tauruuuuuus> I can't say the same about nim because I work on firmware so maybe the binaries are not getting flagged since they are not windows binaries
14:08:46FromDiscord<tauruuuuuus> I have not used go professionally in a it, so I have to test that out, anyways v2.0.0 did not give me this issue, it seems like at least for me this is new with v2.0.2 on windowds
14:08:50FromDiscord<tauruuuuuus> (edit) "windowds" => "windows"
14:10:13FromDiscord<tauruuuuuus> (edit) "it," => "bit,"
14:16:59FromDiscord<odexine> In reply to @bung8954 "any tool for code": code obfuscators will be cracked sooner or later. it depends on how motivated crackers are; if your tool is popular, it will be cracked quicker
14:17:34FromDiscord<odexine> know that stuff like enigma protector and etc have been cracked, and if you know about denuvo...
14:23:25FromDiscord<bung8954> In reply to @odexine "code obfuscators will be": so what's the best strategy if I developed a paid application?
14:23:40FromDiscord<odexine> server-only processing
14:24:33FromDiscord<odexine> ^ if you want to prevent cracking as much as possible (itll still happen but much less than otherwise id say)
14:41:08*azimut quit (Ping timeout: 255 seconds)
15:07:00*Lord_Nightmare quit (Quit: ZNC - http://znc.in)
15:09:57*Lord_Nightmare joined #nim
15:47:15FromDiscord<redmechanics> what would be the best library for a 2d physics engine in nim ? (not including csfml if possible)
15:48:03FromDiscord<sOkam! 🫐> Is there any existing library for requesting inputs from the user in CLI in a formatted/pretty way?↵if not, whats the most simple tool to achieve that?
15:48:13*krux02 quit (Remote host closed the connection)
15:48:41FromDiscord<sOkam! 🫐> In reply to @redmechanics "what would be the": `treeform/bumpy` implements a lot of great options for the skeleton to create something like that
16:03:02FromDiscord<sOkam! 🫐> sent a code paste, see https://play.nim-lang.org/#pasty=mVvSNGudMaas
16:24:59FromDiscord<odexine> flush file on stdin is undefined
16:25:13FromDiscord<odexine> iirc
16:26:40*derpydoo joined #nim
16:28:33FromDiscord<Robyn [She/Her]> There's a Chipmunk2D wrapper if you wanna look at that↵(@redmechanics)
16:29:07FromDiscord<Robyn [She/Her]> It's old but there hasn't been any breaking updates to Chipmunk2D so you're not missing out on anything
17:02:49FromDiscord<sOkam! 🫐> In reply to @odexine "flush file on stdin": its just a hack to try to avoid the issue. the problem happens even without flushFile
17:05:08FromDiscord<odexine> it works on windows because of how stdin functions here. on linux you will have to clear any extra characters after read char, or set the terminal to unbuffered
17:05:36FromDiscord<sOkam! 🫐> how do i do those?
17:08:40FromDiscord<odexine> sent a code paste, see https://play.nim-lang.org/#pasty=xsaznLaIBRcR
17:20:22FromDiscord<sOkam! 🫐> sent a code paste, see https://play.nim-lang.org/#pasty=FMXFLiceKbhf
17:26:05FromDiscord<sOkam! 🫐> For reference, in case anyone else finds it useful ✍️↵https://github.com/heysokam/nstd/blob/master/src/nstd/shell.nim#L16-L28
17:32:48*lucasta joined #nim
17:49:02*jmdaemon joined #nim
18:08:49*fallback quit (Ping timeout: 264 seconds)
18:26:57NimEventerNew thread by khaledh-nim: Page allocation for a custom OS, see https://forum.nim-lang.org/t/10948
18:32:52*azimut joined #nim
18:42:25FromDiscord<Phil> sent a code paste, see https://play.nim-lang.org/#pasty=ylRXyPOfWyfw
18:42:44FromDiscord<Phil> sent a code paste, see https://play.nim-lang.org/#pasty=wkpxeVogZTXj
18:42:51FromDiscord<Phil> I'm staring at this and just going "Wtf ?"
18:43:44FromDiscord<Phil> (edit) "https://play.nim-lang.org/#pasty=BAXeQRDjLVaL" => "https://play.nim-lang.org/#pasty=IUdhvyOBUslB"
18:44:43FromDiscord<Phil> Like, what I understand of this so far is that in NimMainModule (test_server.nim:80) the `destroy` proc above gets invoked:↵In that destroy proc somehow... no I got no idea what's going on
18:46:36FromDiscord<Phil> sent a code paste, see https://play.nim-lang.org/#pasty=fxitsuGIGkcr
18:47:00NimEventerNew question by protogia: Why isn&#39;t the order of a sequence kept in nim when deleting an element?, see https://stackoverflow.com/questions/77937137/why-isnt-the-order-of-a-sequence-kept-in-nim-when-deleting-an-element
18:47:58FromDiscord<Phil> ... maybe I just need to reboot
18:53:47FromDiscord<Phil> The amount of fucking bullshit you need to put up with from valgrind makes you want to tear your hair out
19:12:53*krux02 joined #nim
19:22:51FromDiscord<Robyn [She/Her]> Maybe there needs to be more people managing the https://github.com/nim-lang/packages repo :p
19:25:31FromDiscord<fosster> hi folks!
19:26:04FromDiscord<Robyn [She/Her]> Hey there
19:26:14FromDiscord<fosster> had a question, do you have a standard way to convert an object to an array of bytes in nim? or do you need to import a module?
19:26:26FromDiscord<fosster> had a question, do you have a standard way to convert an object to an array of bytes in nim? or do you need to use a module?
19:27:12FromDiscord<Robyn [She/Her]> In reply to @fosster "had a question, do": Hm... Well, you can do `cast[array[sizeof Obj, byte]](obj)`?
19:27:17FromDiscord<Robyn [She/Her]> But what's your usecase?
19:27:29FromDiscord<Robyn [She/Her]> In reply to @chronos.vitaqua "Hm... Well, you can": Also this is unsafe and I wouldn't recommend :P
19:28:39FromDiscord<fosster> basically I have a struct with eterogeneous fields like non-primitive types etc. and I need to convert it into a byte array, I guess in order to do something like this I'd a need a module like a serialization lib↵(@Robyn [She/Her])
19:28:53FromDiscord<fosster> basically I have a struct with eterogeneous fields like non-primitive types etc. and I need to convert it into a byte array, I guess in order to do something like this I'd a need a module like a serialization lib
19:30:05FromDiscord<fosster> something like serde for rust, for instance, or maybe manually write an encoder/decoder from scratch (something I'd avoid)
19:35:41*Goodbye_Vincent quit (Ping timeout: 240 seconds)
19:36:20*Goodbye_Vincent joined #nim
19:42:11*Goodbye_Vincent quit (Ping timeout: 252 seconds)
19:45:20*Goodbye_Vincent joined #nim
19:50:35*iamzim joined #nim
19:57:25*Goodbye_Vincent quit (Ping timeout: 264 seconds)
20:02:02FromDiscord<Robyn [She/Her]> In reply to @fosster "basically I have a": https://github.com/treeform/flatty is an option
20:05:30*lucasta quit (Quit: Leaving)
20:29:41FromDiscord<fosster> thank you for looking up \:D
20:32:41*Goodbye_Vincent joined #nim
20:35:54FromDiscord<fosster> "func toFlatty - Takes structures and turns them into binary string." still wondering what do they mean by "binary string"
20:37:07FromDiscord<fosster> I mean like, do they mean a string representation of a binary data? if so how is does it do it?
20:39:22FromDiscord<leorize> https://github.com/disruptek/frosty also exists, but not as up-to-date
20:39:44FromDiscord<leorize> they probably meant turning into binary data
20:40:09FromDiscord<leorize> nim string is just `seq[byte]` with `string` operations, it doesn't enforce any encoding whatsoever
20:41:30FromDiscord<fosster> strings aren't UTF-8 encoded?
20:42:09FromDiscord<leorize> yep
20:42:15FromDiscord<leorize> though all string literals are UTF-8
20:42:25*Goodbye_Vincent quit (Quit: Ping timeout (120 seconds))
20:45:52*iamzim left #nim (#nim)
20:47:47FromDiscord<fosster> that sounds a bit confusing
20:49:47FromDiscord<leorize> well, just think of it as that nim strings doesn't have any fixed encoding
20:49:55FromDiscord<leorize> and that they are really just byte seqs
21:13:41*Goodbye_Vincent joined #nim
21:17:45FromDiscord<privsec> In reply to @zumi.dxy "me when waiting for": me when XMPP bridge with OMEMO better: 👍
21:19:35FromDiscord<privsec> me when IRC bridge with little to no good, efficient E2EE libraries: 👎
21:20:02FromDiscord<privsec> me when not a pussy who isnt lazy and cares: 😄
21:20:40FromDiscord<privsec> me when sadge little pussycat who scared of big reality so 2 lazy: 😢
21:22:00FromDiscord<privsec> uses shitty crybaby beginner fwiendly irc client with poopie interface: 😠
21:23:24FromDiscord<privsec> uses cool mega chad xmpp client with built-in OMEMO support and other encryption policies and cryptographic libraries to communicate with chadlite discord community: 🥳
21:23:42FromDiscord<exelotl> I was lurking in a public XMPP MUC for a while and it was pretty terrible as far as moderation goes
21:23:51FromDiscord<exelotl> randos would just join and post illegal shit and all the channel owner could do is say "woah careful don't click that folks"
21:23:54FromDiscord<privsec> took 2 weeks to ttpe that
21:24:04FromDiscord<exelotl> basically no better than IRC in that regard
21:24:06FromDiscord<privsec> average maker upper
21:24:13FromDiscord<privsec> stop lying
21:24:16FromDiscord<privsec> its sadge
21:24:25FromDiscord<exelotl> I mean, does XMPP have good moderation tools?
21:24:28FromDiscord<privsec> took you 2 weeks to come up with that shit story
21:24:39FromDiscord<privsec> it depends on the person hosting the xmpp server?
21:24:53FromDiscord<privsec> you think xmpp founders manage fucking other xmpps servers
21:25:15FromDiscord<privsec> let me just backdoor all my protocol users servers rlq and moderate their fucking shit
21:25:21FromDiscord<leorize> a friendly reminder that this channel is about nim
21:25:25FromDiscord<privsec> your depiction is horrifying
21:25:36FromDiscord<privsec> str8ghten out a bit will ya
21:25:53FromDiscord<privsec> ok any xmpp libraries written in nim
21:26:25FromDiscord<exelotl> the original comment was 'YMMV' and I'm telling you my mileage varied compared to yours, that's all.
21:26:40FromDiscord<privsec> alright maker upper
21:26:45FromDiscord<privsec> you can lie all you want
21:27:17FromDiscord<privsec> took you 2 weeks of typing to come up with a story you're now trying to convice me was real.
21:27:26FromDiscord<privsec> do better
21:27:33FromDiscord<privsec> next time
21:28:23FromDiscord<Elegantbeef> Damn I can piss 2m if I drink enough water
21:28:36FromDiscord<Elegantbeef> Oh sorry it's not that kind of pissing contest
21:29:33FromDiscord<privsec> excuse me what?
21:30:16FromDiscord<privsec> ok
21:30:26FromDiscord<Elegantbeef> You've entered into an inane pissing contest and completely disregarded someone's opinion with "maker upper"
21:30:35FromDiscord<Elegantbeef> 10/10 argument skills, let's stick to nim boyos
21:31:19FromDiscord<privsec> your welcome
21:31:22FromDiscord<privsec> thanks
21:31:41FromDiscord<privsec> make sure to make the welcome to somewhere safe
21:31:48FromDiscord<privsec> otherwise it'll blow off into the widn
21:31:55FromDiscord<privsec> (edit) "widn" => "wind"
21:32:09FromDiscord<privsec> (edit) "make" => "move"
21:32:13FromDiscord<privsec>
21:57:19*junaid_ quit (Remote host closed the connection)
21:58:59*KhazAkar joined #nim
22:01:59FromDiscord<Robyn [She/Her]> What would be the best way to compare the items in a sequence?
22:02:17FromDiscord<Robyn [She/Her]> I just need to check if all of the items in one sequence is in another
22:03:09FromDiscord<Robyn [She/Her]> Actually nvm I don't need it
22:09:00*lucasta joined #nim
22:11:46FromDiscord<Robyn [She/Her]> is it a stupid idea to compare the jsonified nodes of the NBT data ooor-
22:13:52FromDiscord<Elegantbeef> The answer is likely yes
22:14:39FromDiscord<Robyn [She/Her]> The issue is I can't compare the objects I made for some very odd reason-
22:17:17FromDiscord<Elegantbeef> Define a `==`
22:17:55FromDiscord<Robyn [She/Her]> I did
22:18:00FromDiscord<Robyn [She/Her]> Which is the most odd thing
22:18:02FromDiscord<Robyn [She/Her]> Hold on
22:19:18FromDiscord<Robyn [She/Her]> Yeah okay, covered all cases but there's still an issue
22:20:54FromDiscord<Robyn [She/Her]> I'd post some code but this is waaay to big to trim down
22:56:09FromDiscord<Robyn [She/Her]> Can anyone spot why the `==` function isn't working on the exact same data variable? I've been trying to spot it for a while now but I'm clueless... The code is here, I've trimmed it down to the bare minimum: https://play.nim-lang.org/#pasty=mtnWfeEGIRfD
22:58:05FromDiscord<Elegantbeef> Y'know list and compound will be handled automatically once you define `==` for your type
22:58:26FromDiscord<Robyn [She/Her]> Wait will they?
22:58:33FromDiscord<Elegantbeef> So all you need to do is `a.listVal == b.listVal` and `a.compundVal == b.compoundVal`
22:58:41FromDiscord<Elegantbeef> I mean you're defining `==` for `TagNode`
22:58:59FromDiscord<Elegantbeef> Which overrides `==` for the `ref` object
22:59:03FromDiscord<Robyn [She/Her]> Won't the `name` field be compared though?
22:59:19FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "So all you need": Ah
22:59:27FromDiscord<Elegantbeef> You don't compare the name
23:00:03FromDiscord<Robyn [She/Her]> That
23:00:08FromDiscord<Robyn [She/Her]> That fixed it for some reason-
23:00:10FromDiscord<Robyn [She/Her]> Welp-
23:00:29FromDiscord<Robyn [She/Her]> Thanks Beef xD
23:01:33*krux02 quit (Remote host closed the connection)
23:04:21*advesperacit quit ()
23:08:07*Goodbye_Vincent quit (Ping timeout: 260 seconds)
23:12:52*Goodbye_Vincent joined #nim
23:18:47FromDiscord<Elegantbeef> You never returned true
23:18:47FromDiscord<Elegantbeef> This is why you should use expressions
23:34:26FromDiscord<girvo> Can `testament` be asked to run a single test file but actually print the output of it, without having to `output: ""` and force a failing test? No worries if not, just curious