00:16:35 | FromDiscord | <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:44 | FromDiscord | <Elegantbeef> No you shouldn't |
00:16:51 | FromDiscord | <odexine> uh good luck? dep resolution is pretty fucking hard |
00:17:20 | FromDiscord | <Elegantbeef> Atlas, Nimph, Nimble, Robyns Totally Unique Package Manager |
00:17:23 | FromDiscord | <Elegantbeef> That's too many |
00:17:37 | FromDiscord | <Elegantbeef> Albeit atlas is not a package manager |
00:18:28 | NimEventer | New thread by DougT: Bignum note, see https://forum.nim-lang.org/t/10946 |
00:18:46 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "Atlas, Nimph, Nimble, Robyns": :3 |
00:18:57 | FromDiscord | <Robyn [She/Her]> In reply to @odexine "uh good luck? dep": Oh? Why? |
00:19:08 | FromDiscord | <Elegantbeef> Cause you need to make a dependency graph that works |
00:19:14 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "No you shouldn't": But fun! |
00:19:17 | FromDiscord | <Elegantbeef> Atlas does supposedly have a SAT solver |
00:19:22 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "Cause you need to": Ah |
00:19:56 | FromDiscord | <odexine> id say youd have to be a pretty advanced masochist to find it fun |
00:20:13 | FromDiscord | <Robyn [She/Her]> :P |
00:20:53 | FromDiscord | <Elegantbeef> https://github.com/nim-lang/atlas/blob/60681b93af4c8914afbd8eae9fc9820ba4d198a0/src/sat.nim could be stolen 😄 |
00:21:32 | FromDiscord | <Elegantbeef> Best to stick to your current project whatever those 10 may be |
00:21:43 | FromDiscord | <Robyn [She/Her]> So I am being gently told no, but given the tools anyway? :) |
00:22:03 | FromDiscord | <Elegantbeef> I mean what would you do so different to atlas or nimble? |
00:24:18 | FromDiscord | <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:37 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "I mean what would": I like how Cargo for Rust works, personally |
00:24:59 | FromDiscord | <Robyn [She/Her]> It could be done in Nimble easily as a module tbf |
00:25:09 | FromDiscord | <Robyn [She/Her]> But idk, I'm always over the top |
00:25:20 | FromDiscord | <Elegantbeef> What about cargo |
00:27:12 | FromDiscord | <Robyn [She/Her]> The way you can define features for example, the TOML package definitions |
00:27:46 | FromDiscord | <odexine> id assume that would imply abandoning the nimble format, in which case good luck |
00:27:54 | FromDiscord | <Robyn [She/Her]> Features are just define flags of course, but defining them in the nimble file isn't doable...is it? |
00:28:11 | FromDiscord | <Elegantbeef> Right nimble runs after flags are set |
00:28:26 | FromDiscord | <Robyn [She/Her]> In reply to @odexine "id assume that would": Would generate and parse the nimble files for compat |
00:28:43 | FromDiscord | <odexine> but then what advantage would it have over nimble |
00:28:51 | FromDiscord | <Elegantbeef> Except you cannot generate a nimble file that sets flags and you cannot have a `config.nims` loaded from a library |
00:28:59 | FromDiscord | <Elegantbeef> So... we're now in a place with 0 interop |
00:29:08 | FromDiscord | <Robyn [She/Her]> Ah |
00:29:16 | FromDiscord | <Robyn [She/Her]> I see the problem :p |
00:29:20 | FromDiscord | <Robyn [She/Her]> Welp |
00:29:36 | FromDiscord | <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:11 | FromDiscord | <Elegantbeef> https://github.com/elcritch/figuro/blob/main/figuro.nimble↵https://github.com/elcritch/figuro/blob/main/config.nims↵For example |
00:30:43 | FromDiscord | <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:00 | FromDiscord | <Elegantbeef> Personally if I were to have written this I'd have a `figuro.nims` with tasks, but to elcritchs their own |
00:31:15 | FromDiscord | <Robyn [She/Her]> Fair |
00:31:21 | FromDiscord | <Elegantbeef> It should just be 'increment the required version then atlas replay' or w/e |
00:31:31 | FromDiscord | <Robyn [She/Her]> Replay? |
00:32:19 | FromDiscord | <Elegantbeef> atlas replay rebuilds the atlas workspace I think |
00:32:19 | FromDiscord | <Elegantbeef> Sorry it might be `rep` not replay now |
00:32:36 | FromDiscord | <Elegantbeef> There is actually `update` which might do the trick |
00:32:44 | FromDiscord | <Robyn [She/Her]> Aaaaah okay |
00:32:49 | FromDiscord | <Robyn [She/Her]> Good to know! |
00:32:53 | FromDiscord | <Robyn [She/Her]> Thanks aha |
00:33:45 | FromDiscord | <Elegantbeef> Yea just tested it in my lock picking project |
00:33:56 | FromDiscord | <Robyn [She/Her]> Neato! |
01:00:02 | * | nazgulsenpai quit (Quit: ZNC 1.8.2 - https://znc.in) |
01:00:54 | FromDiscord | <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:30 | NimEventer | New Nimble package! traitor - Trait-like package made without insight, see https://github.com/beef331/traitor |
01:50:43 | FromDiscord | <Elegantbeef> best description ever |
02:03:52 | FromDiscord | <odexine> New? |
02:04:02 | FromDiscord | <odexine> Did you never add it to the packages |
02:04:16 | FromDiscord | <Elegantbeef> It never was in the registry until I rewrote it cause I was still a little uncertain about the API |
02:04:33 | FromDiscord | <Elegantbeef> Now I like how simple it is, much easier to audit and understand |
02:04:56 | FromDiscord | <Elegantbeef> Though Nim doc gen destroys the trait tuples |
02:05:22 | FromDiscord | <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:55 | NimEventer | New 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:29 | FromDiscord | <.> why am i able to run nim in windows terminal but not in the vs code terminal/ |
07:23:39 | FromDiscord | <.> (edit) "terminal/" => "terminal?" |
07:25:35 | FromDiscord | <Elegantbeef> You likely need to relog to properly get your env variable to work |
07:25:54 | FromDiscord | <stardustbiscuits> ummmmm |
07:25:59 | FromDiscord | <stardustbiscuits> how? |
07:26:09 | FromDiscord | <Elegantbeef> How do you log out? |
07:26:19 | FromDiscord | <Elegantbeef> You click your start menu and hit log out |
07:26:22 | FromDiscord | <Elegantbeef> Or restart |
07:26:37 | FromDiscord | <stardustbiscuits> oh you mean vscode |
07:26:50 | FromDiscord | <odexine> No he means the whole system; windows |
07:27:00 | FromDiscord | <stardustbiscuits> fck |
07:27:05 | FromDiscord | <stardustbiscuits> ok |
07:27:17 | FromDiscord | <odexine> You can try restating vscode only first |
07:27:20 | FromDiscord | <odexine> Restarting |
07:27:30 | FromDiscord | <Elegantbeef> vscode vscode vscode |
07:27:51 | FromDiscord | <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:27 | FromDiscord | <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:32 | FromDiscord | <odexine> In reply to @Elegantbeef "vscode vscode vscode": "rince and repeat" |
07:28:49 | FromDiscord | <Elegantbeef> touche |
07:29:50 | FromDiscord | <Phil> In reply to @odexine ""rince and repeat"": At least you tried with the saying. However, rinse and repeat 😛 |
07:29:53 | FromDiscord | <huantian> I never remember on windows if you have to restart your pc to get the env variable to work |
07:30:10 | FromDiscord | <Elegantbeef> Phil rika was referencing a typo I made |
07:30:20 | FromDiscord | <Elegantbeef> I just kick the PC until the env variable updates |
07:30:28 | FromDiscord | <Elegantbeef> If the system doesn't reboot it's a win win |
07:30:32 | FromDiscord | <Phil> In reply to @Elegantbeef "Phil rika was referencing": You are capable of writing typos? |
07:30:46 | FromDiscord | <Elegantbeef> Me? Never |
07:30:47 | FromDiscord | <huantian> i think you meant to ask "you are capable of not writing typos" |
07:31:08 | FromDiscord | <Phil> In secret beef can't write, he just rolls his face across the keyboard and is incredibly lucky |
07:31:10 | FromDiscord | <huantian> i hate the grammar of that sentence i just wrote |
07:31:22 | FromDiscord | <huantian> nah he just tells his dog what to type |
07:31:22 | FromDiscord | <Elegantbeef> Is that really a secret? |
07:32:12 | FromDiscord | <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:24 | FromDiscord | <huantian> absolute garbage comb |
07:34:08 | FromDiscord | <Elegantbeef> Just like the code |
07:34:39 | FromDiscord | <huantian> where did the biscuits go are they still restarting their computer or did beef's hair scare them off |
07:34:58 | FromDiscord | <Elegantbeef> No clue, quick write some code using traitor |
07:35:33 | FromDiscord | <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:41 | FromDiscord | <zumi.dxy> (though cc65 is also a thing) |
07:36:35 | FromDiscord | <zumi.dxy> oh man, imagine a demo written in Nim |
07:36:59 | FromDiscord | <stardustbiscuits> well restarting worked! thanks |
07:37:07 | FromDiscord | <huantian> epic |
07:37:16 | FromDiscord | <huantian> i say that as if I helped |
07:38:35 | FromDiscord | <odexine> In reply to @huantian "i say that as": good job |
07:39:28 | FromDiscord | <huantian> thank you |
07:39:36 | FromDiscord | <huantian> I'm proud of myself too |
07:40:32 | FromDiscord | <Elegantbeef> Now let's not go that far |
07:42:16 | FromDiscord | <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:55 | FromDiscord | <privsec> unsecure IRC servers |
10:03:59 | FromDiscord | <privsec> using an outdated protocol instead of XMPP |
10:05:08 | FromDiscord | <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:44 | FromDiscord | <bung8954> any tool for code obfuscation? |
12:00:23 | FromDiscord | <Robyn [She/Her]> In reply to @bung8954 "any tool for code": For Nim? What's the point? |
12:01:18 | FromDiscord | <bung8954> for nim executable, I don't wanna it be naked to crackers |
12:06:26 | FromDiscord | <demotomohiro> How can executable obfuscated so that cracker cannot read but OS and CPU can run it? |
12:08:54 | FromDiscord | <bung8954> there's ollvm but I want something simple |
12:10:36 | FromDiscord | <Robyn [She/Her]> Just use whatever tool you'd use in C, for the outputted Nim code |
12:13:11 | FromDiscord | <bung8954> hope there's tool compile nim code obfuscated for me |
12:55:01 | FromDiscord | <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:33 | FromDiscord | <tauruuuuuus> Anyone experiencing the same? (I know, windows sucks, but I'm kind of stuck with it there..) |
13:12:02 | FromDiscord | <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:30 | FromDiscord | <demotomohiro> https://forum.nim-lang.org/t/10820↵https://forum.nim-lang.org/t/10824↵https://forum.nim-lang.org/t/10851 |
13:42:25 | FromDiscord | <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:51 | FromDiscord | <takemichihanagaki3129> I couldn't install neovim because windows does not allow me. |
13:44:45 | FromDiscord | <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:22 | FromDiscord | <tauruuuuuus> Go used to be a huge hassle for the binaries it produced expecially |
14:08:01 | FromDiscord | <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:46 | FromDiscord | <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:50 | FromDiscord | <tauruuuuuus> (edit) "windowds" => "windows" |
14:10:13 | FromDiscord | <tauruuuuuus> (edit) "it," => "bit," |
14:16:59 | FromDiscord | <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:34 | FromDiscord | <odexine> know that stuff like enigma protector and etc have been cracked, and if you know about denuvo... |
14:23:25 | FromDiscord | <bung8954> In reply to @odexine "code obfuscators will be": so what's the best strategy if I developed a paid application? |
14:23:40 | FromDiscord | <odexine> server-only processing |
14:24:33 | FromDiscord | <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:15 | FromDiscord | <redmechanics> what would be the best library for a 2d physics engine in nim ? (not including csfml if possible) |
15:48:03 | FromDiscord | <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:41 | FromDiscord | <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:02 | FromDiscord | <sOkam! 🫐> sent a code paste, see https://play.nim-lang.org/#pasty=mVvSNGudMaas |
16:24:59 | FromDiscord | <odexine> flush file on stdin is undefined |
16:25:13 | FromDiscord | <odexine> iirc |
16:26:40 | * | derpydoo joined #nim |
16:28:33 | FromDiscord | <Robyn [She/Her]> There's a Chipmunk2D wrapper if you wanna look at that↵(@redmechanics) |
16:29:07 | FromDiscord | <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:49 | FromDiscord | <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:08 | FromDiscord | <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:36 | FromDiscord | <sOkam! 🫐> how do i do those? |
17:08:40 | FromDiscord | <odexine> sent a code paste, see https://play.nim-lang.org/#pasty=xsaznLaIBRcR |
17:20:22 | FromDiscord | <sOkam! 🫐> sent a code paste, see https://play.nim-lang.org/#pasty=FMXFLiceKbhf |
17:26:05 | FromDiscord | <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:57 | NimEventer | New 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:25 | FromDiscord | <Phil> sent a code paste, see https://play.nim-lang.org/#pasty=ylRXyPOfWyfw |
18:42:44 | FromDiscord | <Phil> sent a code paste, see https://play.nim-lang.org/#pasty=wkpxeVogZTXj |
18:42:51 | FromDiscord | <Phil> I'm staring at this and just going "Wtf ?" |
18:43:44 | FromDiscord | <Phil> (edit) "https://play.nim-lang.org/#pasty=BAXeQRDjLVaL" => "https://play.nim-lang.org/#pasty=IUdhvyOBUslB" |
18:44:43 | FromDiscord | <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:36 | FromDiscord | <Phil> sent a code paste, see https://play.nim-lang.org/#pasty=fxitsuGIGkcr |
18:47:00 | NimEventer | New question by protogia: Why isn'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:58 | FromDiscord | <Phil> ... maybe I just need to reboot |
18:53:47 | FromDiscord | <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:51 | FromDiscord | <Robyn [She/Her]> Maybe there needs to be more people managing the https://github.com/nim-lang/packages repo :p |
19:25:31 | FromDiscord | <fosster> hi folks! |
19:26:04 | FromDiscord | <Robyn [She/Her]> Hey there |
19:26:14 | FromDiscord | <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:26 | FromDiscord | <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:12 | FromDiscord | <Robyn [She/Her]> In reply to @fosster "had a question, do": Hm... Well, you can do `cast[array[sizeof Obj, byte]](obj)`? |
19:27:17 | FromDiscord | <Robyn [She/Her]> But what's your usecase? |
19:27:29 | FromDiscord | <Robyn [She/Her]> In reply to @chronos.vitaqua "Hm... Well, you can": Also this is unsafe and I wouldn't recommend :P |
19:28:39 | FromDiscord | <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:53 | FromDiscord | <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:05 | FromDiscord | <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:02 | FromDiscord | <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:41 | FromDiscord | <fosster> thank you for looking up \:D |
20:32:41 | * | Goodbye_Vincent joined #nim |
20:35:54 | FromDiscord | <fosster> "func toFlatty - Takes structures and turns them into binary string." still wondering what do they mean by "binary string" |
20:37:07 | FromDiscord | <fosster> I mean like, do they mean a string representation of a binary data? if so how is does it do it? |
20:39:22 | FromDiscord | <leorize> https://github.com/disruptek/frosty also exists, but not as up-to-date |
20:39:44 | FromDiscord | <leorize> they probably meant turning into binary data |
20:40:09 | FromDiscord | <leorize> nim string is just `seq[byte]` with `string` operations, it doesn't enforce any encoding whatsoever |
20:41:30 | FromDiscord | <fosster> strings aren't UTF-8 encoded? |
20:42:09 | FromDiscord | <leorize> yep |
20:42:15 | FromDiscord | <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:47 | FromDiscord | <fosster> that sounds a bit confusing |
20:49:47 | FromDiscord | <leorize> well, just think of it as that nim strings doesn't have any fixed encoding |
20:49:55 | FromDiscord | <leorize> and that they are really just byte seqs |
21:13:41 | * | Goodbye_Vincent joined #nim |
21:17:45 | FromDiscord | <privsec> In reply to @zumi.dxy "me when waiting for": me when XMPP bridge with OMEMO better: 👍 |
21:19:35 | FromDiscord | <privsec> me when IRC bridge with little to no good, efficient E2EE libraries: 👎 |
21:20:02 | FromDiscord | <privsec> me when not a pussy who isnt lazy and cares: 😄 |
21:20:40 | FromDiscord | <privsec> me when sadge little pussycat who scared of big reality so 2 lazy: 😢 |
21:22:00 | FromDiscord | <privsec> uses shitty crybaby beginner fwiendly irc client with poopie interface: 😠 |
21:23:24 | FromDiscord | <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:42 | FromDiscord | <exelotl> I was lurking in a public XMPP MUC for a while and it was pretty terrible as far as moderation goes |
21:23:51 | FromDiscord | <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:54 | FromDiscord | <privsec> took 2 weeks to ttpe that |
21:24:04 | FromDiscord | <exelotl> basically no better than IRC in that regard |
21:24:06 | FromDiscord | <privsec> average maker upper |
21:24:13 | FromDiscord | <privsec> stop lying |
21:24:16 | FromDiscord | <privsec> its sadge |
21:24:25 | FromDiscord | <exelotl> I mean, does XMPP have good moderation tools? |
21:24:28 | FromDiscord | <privsec> took you 2 weeks to come up with that shit story |
21:24:39 | FromDiscord | <privsec> it depends on the person hosting the xmpp server? |
21:24:53 | FromDiscord | <privsec> you think xmpp founders manage fucking other xmpps servers |
21:25:15 | FromDiscord | <privsec> let me just backdoor all my protocol users servers rlq and moderate their fucking shit |
21:25:21 | FromDiscord | <leorize> a friendly reminder that this channel is about nim |
21:25:25 | FromDiscord | <privsec> your depiction is horrifying |
21:25:36 | FromDiscord | <privsec> str8ghten out a bit will ya |
21:25:53 | FromDiscord | <privsec> ok any xmpp libraries written in nim |
21:26:25 | FromDiscord | <exelotl> the original comment was 'YMMV' and I'm telling you my mileage varied compared to yours, that's all. |
21:26:40 | FromDiscord | <privsec> alright maker upper |
21:26:45 | FromDiscord | <privsec> you can lie all you want |
21:27:17 | FromDiscord | <privsec> took you 2 weeks of typing to come up with a story you're now trying to convice me was real. |
21:27:26 | FromDiscord | <privsec> do better |
21:27:33 | FromDiscord | <privsec> next time |
21:28:23 | FromDiscord | <Elegantbeef> Damn I can piss 2m if I drink enough water |
21:28:36 | FromDiscord | <Elegantbeef> Oh sorry it's not that kind of pissing contest |
21:29:33 | FromDiscord | <privsec> excuse me what? |
21:30:16 | FromDiscord | <privsec> ok |
21:30:26 | FromDiscord | <Elegantbeef> You've entered into an inane pissing contest and completely disregarded someone's opinion with "maker upper" |
21:30:35 | FromDiscord | <Elegantbeef> 10/10 argument skills, let's stick to nim boyos |
21:31:19 | FromDiscord | <privsec> your welcome |
21:31:22 | FromDiscord | <privsec> thanks |
21:31:41 | FromDiscord | <privsec> make sure to make the welcome to somewhere safe |
21:31:48 | FromDiscord | <privsec> otherwise it'll blow off into the widn |
21:31:55 | FromDiscord | <privsec> (edit) "widn" => "wind" |
21:32:09 | FromDiscord | <privsec> (edit) "make" => "move" |
21:32:13 | FromDiscord | <privsec> |
21:57:19 | * | junaid_ quit (Remote host closed the connection) |
21:58:59 | * | KhazAkar joined #nim |
22:01:59 | FromDiscord | <Robyn [She/Her]> What would be the best way to compare the items in a sequence? |
22:02:17 | FromDiscord | <Robyn [She/Her]> I just need to check if all of the items in one sequence is in another |
22:03:09 | FromDiscord | <Robyn [She/Her]> Actually nvm I don't need it |
22:09:00 | * | lucasta joined #nim |
22:11:46 | FromDiscord | <Robyn [She/Her]> is it a stupid idea to compare the jsonified nodes of the NBT data ooor- |
22:13:52 | FromDiscord | <Elegantbeef> The answer is likely yes |
22:14:39 | FromDiscord | <Robyn [She/Her]> The issue is I can't compare the objects I made for some very odd reason- |
22:17:17 | FromDiscord | <Elegantbeef> Define a `==` |
22:17:55 | FromDiscord | <Robyn [She/Her]> I did |
22:18:00 | FromDiscord | <Robyn [She/Her]> Which is the most odd thing |
22:18:02 | FromDiscord | <Robyn [She/Her]> Hold on |
22:19:18 | FromDiscord | <Robyn [She/Her]> Yeah okay, covered all cases but there's still an issue |
22:20:54 | FromDiscord | <Robyn [She/Her]> I'd post some code but this is waaay to big to trim down |
22:56:09 | FromDiscord | <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:05 | FromDiscord | <Elegantbeef> Y'know list and compound will be handled automatically once you define `==` for your type |
22:58:26 | FromDiscord | <Robyn [She/Her]> Wait will they? |
22:58:33 | FromDiscord | <Elegantbeef> So all you need to do is `a.listVal == b.listVal` and `a.compundVal == b.compoundVal` |
22:58:41 | FromDiscord | <Elegantbeef> I mean you're defining `==` for `TagNode` |
22:58:59 | FromDiscord | <Elegantbeef> Which overrides `==` for the `ref` object |
22:59:03 | FromDiscord | <Robyn [She/Her]> Won't the `name` field be compared though? |
22:59:19 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "So all you need": Ah |
22:59:27 | FromDiscord | <Elegantbeef> You don't compare the name |
23:00:03 | FromDiscord | <Robyn [She/Her]> That |
23:00:08 | FromDiscord | <Robyn [She/Her]> That fixed it for some reason- |
23:00:10 | FromDiscord | <Robyn [She/Her]> Welp- |
23:00:29 | FromDiscord | <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:47 | FromDiscord | <Elegantbeef> You never returned true |
23:18:47 | FromDiscord | <Elegantbeef> This is why you should use expressions |
23:34:26 | FromDiscord | <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 |