<< 26-03-2024 >>

00:01:29anddamI cannot find where that is described in manual or tutorial, can you point to it?
00:03:59rockcaveraanddam https://nim-lang.org/docs/manual_experimental.html#void-type
00:25:25NimEventerNew thread by Nlits: Conversion between radicals and logs, see https://forum.nim-lang.org/t/11295
01:05:57*fallback quit (Ping timeout: 272 seconds)
01:15:30*fallback joined #nim
01:35:32*xet7 joined #nim
02:01:32*krux02_ quit (Remote host closed the connection)
02:12:07*SEP quit (Ping timeout: 260 seconds)
02:19:11*SEP joined #nim
02:22:53FromDiscord<pri.ivy> Trying to compile a program usingdb_sqlite
02:22:56FromDiscord<pri.ivy> and I get this↵↵main.nim(11, 8) Error: cannot open file: db_sqlite
02:23:00FromDiscord<pri.ivy> I thought it was s tandard lib
02:23:04FromDiscord<pri.ivy> (edit) "usingdb_sqlite" => "using db_sqlite"
02:23:35FromDiscord<pri.ivy> nvm im sped
02:23:51*fallback quit (Ping timeout: 272 seconds)
02:27:28*fallback joined #nim
02:31:26*dtomato7 joined #nim
02:32:22*dtomato quit (Ping timeout: 246 seconds)
02:32:22*dtomato7 is now known as dtomato
02:53:08*rockcavera quit (Remote host closed the connection)
03:24:27FromDiscord<pri.ivy> sent a code paste, see https://play.nim-lang.org/#pasty=GzASsfgLGawO
03:25:07FromDiscord<Elegantbeef> What does the compiler say?
03:25:15FromDiscord<pri.ivy> it compiles okay
03:25:23FromDiscord<pri.ivy> but gives me an error runtime↵Error: unhandled exception: index out of bounds, the container is empty [IndexDefect]
03:25:56FromDiscord<Elegantbeef> It also gives you a line number
03:26:12FromDiscord<Elegantbeef> You issue is likely anwhere you index
03:26:53FromDiscord<pri.ivy> It's sql, another library I was using worked fine but the one that's "std" doesn't have a similar function to what I was using before
03:27:15FromDiscord<pri.ivy> row[5].fromDbValue(seq[byte])
03:27:29FromDiscord<pri.ivy> In reply to @pri.ivy "row[5].fromDbValue(seq[byte])": ^ attempting to emulate this from tiny_sqlite
03:29:51FromDiscord<Elegantbeef> Uh huh, well one of those index operations are wrong or you're writing outside of a buffer
03:29:54FromDiscord<Elegantbeef> So ensure all the logic is sound
03:32:09*fallback quit (Ping timeout: 268 seconds)
03:40:23*xutaxkamay quit (Quit: ZNC 1.8.2+deb3.1 - https://znc.in)
03:40:45FromDiscord<pri.ivy> yeah im not the brightest
03:40:48*xutaxkamay joined #nim
03:40:49FromDiscord<pri.ivy> it wasnt the sqlite lib
03:40:56FromDiscord<pri.ivy> it was just me reading data that didnt exist
03:54:56*xutaxkamay quit (Ping timeout: 252 seconds)
03:55:59*xutaxkamay joined #nim
03:59:06*fallback joined #nim
04:03:29*rockcavera joined #nim
04:14:34FromDiscord<user2m> sent a code paste, see https://play.nim-lang.org/#pasty=KBxaEZDZwLJZ
04:15:04FromDiscord<user2m> (edit) "sent" => "how do I cast" | "code paste, see https://play.nim-lang.org/#pasty=dyIlhIXtktJk" => "string as an enum?"
04:15:08FromDiscord<user2m> sent a code paste, see https://play.nim-lang.org/#pasty=tKHakCvqzVqW
04:17:11FromDiscord<user2m> without doing a cae stmt of course
04:17:18FromDiscord<user2m> (edit) "cae" => "case"
04:21:19FromDiscord<Elegantbeef> strutils.parseEnum
04:21:35FromDiscord<Elegantbeef> Stop using the term cast for type conversions and parsing though 😄
04:35:52*adium quit (Remote host closed the connection)
04:38:51FromDiscord<user2m> In reply to @Elegantbeef "Stop using the term": Lol fair enough and thank you!
05:11:52*adium joined #nim
05:58:25*SchweinDeBurg quit (Quit: WeeChat 4.3.0-dev)
05:58:50*SchweinDeBurg joined #nim
06:06:41*advesperacit joined #nim
06:33:45*fallback quit (Ping timeout: 255 seconds)
06:44:12*fallback joined #nim
07:26:34*rockcavera quit (Remote host closed the connection)
08:04:53*cornfeedhobo quit (Read error: Connection reset by peer)
08:05:14*cornfeedhobo joined #nim
09:30:25FromDiscord<fosster> is there a way to explicitally panic on error in nim?
09:52:56FromDiscord<demotomohiro> https://nim-lang.org/docs/system.html#quit%2Cstring
10:31:51FromDiscord<kiloneie> Does anyone here have forum admin rights ? I was unable to change my password for years, but yesterday it worked... but the password i give it, does NOT match what i then retype at login, so i am LOCKED OUT. I tried reseting several times...
10:33:53FromDiscord<kiloneie> Wait i was able to get in now, it seems it HATES the # symbol
10:41:43FromDiscord<nnsee> In reply to @kiloneie "Wait i was able": hmmmmm
10:41:47FromDiscord<nnsee> hmmmmmmmmm
10:42:28FromDiscord<kiloneie> Literally all my passwords use that symbol... so it's annoying me like hell
10:46:06FromDiscord<kiloneie> Actually the password which i was unable to change for years did have the # symbol. But when i did the reset, i just though maybe it doesn't like symbols, so i didn't use it, and then it worked. I think that maybe the password reset form somehow is more limited than when you actually make your account.
12:07:00*madprops joined #nim
12:07:43madpropsis there a way to get the current directory like getCurrentDir() but optionally resolving or not resolving symlinks?
12:11:20FromDiscord<Robyn [She/Her]> Wdym?
12:11:49madpropsit's resolving the symlinks to their full path
12:11:57madpropsbut i want to add an option to disable that
12:11:59madpropsin my program
12:29:30FromDiscord<odexine> i dont think symlinks make sense in the context of getcurrentdir
12:30:07FromDiscord<Robyn [She/Her]> ^^^
12:30:31FromDiscord<odexine> you can "enter a symlink" but that isnt conceptually the same as entering a directory, kind of thing
12:31:41FromDiscord<odexine> https://unix.stackexchange.com/a/331346
12:33:17FromDiscord<odexine> i guess more info on how to check https://unix.stackexchange.com/a/145481
12:45:52FromDiscord<nnsee> this is true
12:46:22FromDiscord<nnsee> sent a code paste, see https://play.nim-lang.org/#pasty=jHftUpZwLXYe
13:11:31*advesperacit quit (Ping timeout: 260 seconds)
13:11:46*advesperacit joined #nim
13:23:58madpropswell now im getting another issue
13:24:08madpropsit can't seem to resolve symlinks this time
13:24:16madpropsit fails to open a path that exists (but is symlinked) a file
13:30:15madpropsusing open()
13:31:05madpropsseems i need readLink
13:52:04madpropsstrange thing is, it can open files in the root of the dir
13:52:12madpropsbut it's failing on a specific subdirectory
13:56:07madpropsif i target the subdirectory it works
13:56:12madpropsbut if i target the root it doesn't
13:56:18madpropsit's supposed to open files recursively
14:05:01madpropsi kinda think it's a bug
14:05:07madpropsor some sort of lock
14:05:20madpropsbecause if i omit certain subdirectories, the file opens
14:05:29madpropsbut if i do a lot file opens, it fails to open
14:09:04*krux02 joined #nim
14:10:10*xet7 quit (Remote host closed the connection)
14:12:02*madprops left #nim (Leaving)
14:44:55FromDiscord<Neo Абвгдеев> Hello everyone How to change the color of the name
14:53:42FromDiscord<MDuardo> Color of what?
14:56:50FromDiscord<Neo Абвгдеев> In here.. The color of my name
14:58:42FromDiscord<Neo Абвгдеев> You're green, and I'm red! I want a different color
15:01:12FromDiscord<␀ Array 🇵🇸 🍉> the element client doesnt let you change it directly, but you can mess with its css or use schildi
15:01:57FromDiscord<Neo Абвгдеев> Ok
15:02:52FromDiscord<nnsee> you're all white to me
15:03:03FromDiscord<nnsee> https://media.discordapp.net/attachments/371759389889003532/1222199141791305748/image.png?ex=661558a6&is=6602e3a6&hm=7bcdb1b67c820b22ec6a05efade7831f5558860774c4df3b18ec1096cde968fb&
15:05:17FromDiscord<Neo Абвгдеев> Wow.. Didn't know
15:06:10FromDiscord<MDuardo> I think it depends on the client
15:06:12FromDiscord<Neo Абвгдеев> Screenshot\_20240326-180533.png https://media.discordapp.net/attachments/371759389889003532/1222199935257022484/Screenshot_20240326-180533.png?ex=66155963&is=6602e463&hm=c3142c48eb0ecba78e91e2f025bf5b89cecde0663a74ff99a0649cc9276529d2&
15:07:12FromDiscord<MDuardo> You are all green for me in SchildiChat, if that makes you feel better
15:08:12FromDiscord<Neo Абвгдеев> Lol
15:26:32*ntat joined #nim
15:47:52*Guest51 joined #nim
15:48:11*Guest51 quit (Client Quit)
15:58:21*KhazAkar quit (Read error: Connection reset by peer)
16:01:31FromDiscord<tsoj> Is there a way with nimble to pass a --run flag to a task? E.g. `nimble myTask --run MyProjwcz.nimble`, how you can do it with just nimscript.
16:07:21FromDiscord<tsoj> I can't put it in the task directly, because I want to be able to build a task without running it.
16:11:49FromDiscord<whisperecean> I just got an error like this and dont know where to check what's the problem: options.nim(202) get↵Error: unhandled exception: Can't obtain a value from a `none` [UnpackDefect]
16:20:03FromDiscord<A2> I'm battling the nim type system a little bit right now, trying to parse some json that could be one of several types.`{"kind": "type_one", "data": {"one": "foobar"}`↵`{"kind": "type_two", "data": {"two": "boofar", "something_else": "wow"}`
16:20:03FromDiscord<A2> Object variants don't really work for me, since the "data" field name is repeated for several variants
16:20:04FromDiscord<A2> What are my other options? I'm looking at `alaviss/union` right now, but to be frank I can't figure out how to branch on which union variant I get.
16:20:33FromDiscord<A2> I can also change the shape of the json that's arriving, but I'd prefer not to.
16:28:50*KhazAkar joined #nim
16:29:08FromDiscord<Robyn [She/Her]> sent a code paste, see https://play.nim-lang.org/#pasty=qeSonbsuKYea
16:29:12FromDiscord<Robyn [She/Her]> Just an fyi
16:30:01FromDiscord<Robyn [She/Her]> When statements also work, not sure if nested case statements do, though
16:35:00FromDiscord<A2> that's cool if the type of `data` should always be the same. but what if `data` should be `string` when `kind` is `KindA`, and `data` should be `int` when `kind` is `KindB`?
16:35:29FromDiscord<odexine> will never be allowed
16:35:33FromDiscord<A2> This feels a bit x/y-question ish. Feel free to let me know if I'm should be asking a different question.
16:35:49FromDiscord<odexine> that means the type of a field would change on runtime info
16:36:02FromDiscord<A2> coolcool. Then what's the idiomatic way to parse a string, where the resulting type depends on the content of a string?
16:36:12FromDiscord<jviega> If the schema is that irregular, what's wrong w/ leaving it all in the JSon object and query that??
16:37:14FromDiscord<A2> possible json access errors all over the place. I'd like to do parsing in just one step
16:37:41FromDiscord<A2> Is it that weird? It doesn't feel that strange in a parsing situation to have a string that could be parsed into two different types.
16:37:51FromDiscord<jviega> Huh? Use it to parse the JSON then walk the tree to unload into native data structures and validate the schema
16:39:09FromDiscord<A2> hmm but then what is the type of my parsing function? `parse_my_json_string(x: string): ObjA | ObjB` doesn't seem to be possible
16:39:12FromDiscord<A2> haha feel free to let me know if my json is dumb
16:40:44FromDiscord<A2> I'm just really used to working in languages that have sum types, I think...
16:40:44FromDiscord<jviega> Unload into whatever data structure is appropriate and return that data structure
16:41:25FromDiscord<A2> I'm trying to figure out what that data structure looks like, if object variants arent feasible and sum types aren't a thing
16:41:46FromDiscord<jviega> I mean, you can definitely use the Any type if you really want, or create types that are sum types if you really want (not as easily as with some languages)
16:41:54*rockcavera joined #nim
16:42:15FromDiscord<A2> What type would you parse something like `{"kind": "int", "data": 2}` or `{"kind": "str", "data": "foobar"}` into?
16:42:56*modev joined #nim
16:43:00FromDiscord<A2> sent a code paste, see https://play.nim-lang.org/#pasty=tkIZyxxbbKaY
16:43:02FromDiscord<A2> sent a code paste, see https://play.nim-lang.org/#pasty=XwFOVcpogcuk
16:43:44FromDiscord<jviega> Assuming the overarching object is something akin to a 'VALUE', I'd probably have a value type that has a 'kind' descriminator, and then rename the data field, or do something uglier for it
16:43:46FromDiscord<A2> I'd really prefer not to use the Any type 😅
16:44:05FromDiscord<jviega> I'd prefer you didn't either
16:44:14FromDiscord<A2>
16:44:19FromDiscord<pri.ivy> Is there an sqlite lib that doesnt use dlls
16:44:25FromDiscord<A2> so this is the idiomatic way?
16:44:31FromDiscord<pri.ivy> db_sqlite and tiny_sqlite both use dlls
16:44:33*modev quit (Client Quit)
16:44:33FromDiscord<pri.ivy> I dont want that
16:44:59FromDiscord<jviega> That's what I was saying, unless you insist on always calling it 'data' in which case you have some options
16:45:42FromDiscord<jviega> Like a sub-object that's different per type, etc
16:48:43FromDiscord<pri.ivy> In reply to @pri.ivy "Is there an sqlite": .
16:49:13FromDiscord<A2> coolcool, I'll do that \:)
16:52:24*modev joined #nim
16:52:45*modev quit (Client Quit)
16:54:29FromDiscord<odexine> In reply to @pri.ivy ".": no
16:54:34FromDiscord<odexine> not that im aware of
16:56:45FromDiscord<pri.ivy> In reply to @odexine "not that im aware": bruh
16:56:50FromDiscord<solitudesf> In reply to @pri.ivy "Is there an sqlite": https://nim-lang.org/docs/nimc.html#dynliboverride
17:00:44FromDiscord<pri.ivy> where would I find the .lib for sqlite3_64?
17:00:56FromDiscord<pri.ivy> https://www.sqlite.org/2024/sqlite-tools-win-x64-3450200.zip Assuming here
17:01:08FromDiscord<demotomohiro> If you want to statically link C library, you need to build the library as static library.
17:10:24FromDiscord<pri.ivy> nim -d:mingw --opt:speed --dynlibOverride:sqlite3_64 --passL:sqlite3.lib c main
17:10:39FromDiscord<pri.ivy> https://media.discordapp.net/attachments/371759389889003532/1222231251562528788/image.png?ex=6615768e&is=6603018e&hm=e4450eb5daf8116377ce6a9acb7533c45670aa505e9c232bfa31a562c2058b1c&
17:10:44FromDiscord<pri.ivy> that still shows this runtime
17:11:08FromDiscord<pri.ivy> https://media.discordapp.net/attachments/371759389889003532/1222231374551973928/image.png?ex=661576ab&is=660301ab&hm=1b061ccbd573b221ca1509a595e2b7321670def19e50408fdbc203f4d5f04f69&
17:11:26FromDiscord<demotomohiro> On windows, both static library (contains library code and doesn't load dll) and import library (loads dll file) have .lib extension.
17:12:11FromDiscord<demotomohiro> https://internet-of-tomohiro.pages.dev/nim/clibrary.en
18:17:33FromDiscord<itr_> Been using scoop to install nim so far, but had some issues and read choosenim worked well for nim. Latest release is v0.8.4 from two years ago, anybody know if it's still good for installing nim? / is there something else I should be using instead? Or just install nim manually
18:24:50FromDiscord<itr_> nvm, looks like people are saying not to use choosenim. Guess i'll just use scoop again and manually add package folder to path or whatever
18:25:05FromDiscord<itr_> (edit) removed "Guess i'll just use scoop again and manually add package folder to path or whatever"
18:25:13FromDiscord<nnsee> i mean
18:25:19FromDiscord<nnsee> choosenim _works_
18:25:35FromDiscord<jviega> Not really on MacOS
18:25:40FromDiscord<jviega> Works fine on Linux
18:26:08FromDiscord<itr_> linux doesn't have nim in the package manager directly?
18:26:20FromDiscord<nnsee> they mentioned scoop so i assumed windows?
18:26:27FromDiscord<itr_> yea, windows lol
18:26:42FromDiscord<nnsee> In reply to @itr_ "linux doesn't have nim": choosenim has the extra benefit of being able to quickly switch between nim versions
18:26:52FromDiscord<arnetheduck> In reply to @pri.ivy ".": https://github.com/arnetheduck/nim-sqlite3-abi automatically compiles `sqlite` together with your application so you don't need a DLL - the wrapper does not include a high-level Nim interface at this time however
18:26:55FromDiscord<nnsee> or quickly build straight from the latest commit
18:27:18FromDiscord<nnsee> honestly i have no idea what the choosenim situation on windows is
18:27:21FromDiscord<jviega> choosenim would be decent enough if it simply worked well everywhere 🙂
18:27:31FromDiscord<nnsee> it's a bit
18:27:32FromDiscord<nnsee> eh
18:27:33FromDiscord<bung8954> suse can install via package manager
18:27:33FromDiscord<nnsee> yeah
18:28:14FromDiscord<itr_> I think I might just stick to scoop tbh, I can do that with scoop too. ↵Seemsl ike the only issue is that nim 2.0.2 has the wrong hash so it thinks it's a virus, and that nimble packages aren't added to path (anymore? I feel like it worked before)
18:28:22FromDiscord<itr_> but I'll just install 2.0.0 isntaed
18:28:26FromDiscord<itr_> (edit) "isntaed" => "instead"
18:29:50FromDiscord<itr_> aah, I'm guessing nim2 uses pkgs2 instead of pkgs, and only pkgs have been added or something?
18:32:10Amun-Raiirc it's going to use pkg in the first place
18:32:16Amun-Rapkgs*
18:32:41FromDiscord<itr_> I just installed astar with `nimble install astar`, and it's only in the pkg2 folder, not the pkg folder
18:32:49FromDiscord<itr_> (edit) "pkg2" => "pkgs2" | "pkg" => "pkgs"
18:33:01Amun-Raright, nimble 2.x won't install to pkgs
18:34:04FromDiscord<itr_> adding ` nimblepath="$home/.nimble/pkgs2/"` to my nim.cfg under the other def seems to have done the trick
19:09:02FromDiscord<Robyn [She/Her]> In reply to @nnsee "choosenim has the extra": Choosenim also fucks up the langserver :P
19:11:56FromDiscord<Robyn [She/Her]> I should probably fork choosenim, it'd be an easy project
19:20:48FromDiscord<intervinn> In reply to @chronos.vitaqua "Choosenim also fucks up": about choosenim
19:20:57FromDiscord<intervinn> could it fuck up packages stuff
19:21:02FromDiscord<intervinn> because it sees no packages https://media.discordapp.net/attachments/371759389889003532/1222264066374893639/image.png?ex=6615951d&is=6603201d&hm=324230fe94e1c072d587bd41f254964e856e72725fa633536bb1dd8671d67027&
19:21:45FromDiscord<intervinn> (edit) "it" => "nimsuggest"
19:21:53FromDiscord<intervinn> (edit) "nimsuggest" => "nimsuggest/langserver"
19:22:07FromDiscord<Robyn [She/Her]> Import `os` for getEnv functionality
19:22:12FromDiscord<intervinn> oh lol
19:22:37FromDiscord<Robyn [She/Her]> Lol
19:31:21FromDiscord<Phil> Yknow I'd really like to poke at folks that do appdev, wondering what their take is on Elm Architecture
19:31:48*xet7 joined #nim
19:32:02FromDiscord<Phil> The longer I do my current job the more I feel like I'm gravitating towards it
19:32:07FromDiscord<Phil> (edit) "The longer I do my current job the more I feel like I'm gravitating towards it ... " added "in Angular"
19:33:57FromDiscord<Phil> Where you basically have some kind of central state object and your components/widgets take slices of that state and use that data to create rendered Widgets/Components.↵User interactions or changes just update the state, and state changes trigger rerendering
19:35:20FromDiscord<Phil> If you actually use ngrx properly in Angular it feels like you almost invariably end up with an Elm Architecture where everything that can change is Observables from the central store whose updates will trigger re-renders of the individual components that use those observables etc. etc.
19:51:05FromDiscord<ezquerra> sent a code paste, see https://play.nim-lang.org/#pasty=DrfkDeiTbNbr
19:51:19*ntat quit (Quit: Leaving)
20:07:06FromDiscord<3nes4932> Teen Porn and Onlyfan Leaks here :peach: :pizza: https://discord.gg/sexgirls @everyone
20:08:30FromDiscord<Phil> Apologies for the ping everybody, a spammer tried something, I was merely faster at banning him then y'all were at looking at the message
20:08:57FromDiscord<Elegantbeef> everyone ping should be disabled 😄
20:09:10FromDiscord<Phil> I concur
20:09:26FromDiscord<Elegantbeef> I mean I don't think it's presently enabled
20:09:44FromDiscord<Phil> I honestly don't know, I just saw it in there
20:09:54FromDiscord<ta_efimova_19> I'm new here hope I'm welcome
20:11:19FromDiscord<Phil> In reply to @ta_efimova_19 "I'm new here hope": Heyho, sure! Welcome to the discord channel about the nim programming language.↵There's a couple other rooms/channels as well, for non-programming related chatting you might want to look for "Nim Offtopic". If you're programming for a more specific area (Appdev, Science, gamedev) there are specific channels for that.↵↵The matrix space for that I'll need to grab the link for, one sec
20:12:01FromDiscord<Elegantbeef> Phil given that they tried to start a matrix DM i'm scared that it's just a spammer
20:12:55FromDiscord<Phil> They tried to start a matrix DM?
20:13:04FromDiscord<Elegantbeef> Yea with me
20:15:34FromDiscord<ta_efimova_19> Just wanna make friends around the world 🌎 that's all, but if it's against the chat room, I'm definitely sorry
20:16:47FromDiscord<Phil> This server is specifically geared towards programming discussions related to the nim programming language and similar. If that's not your shtick then this might not be the community for you.
20:17:11FromDiscord<Phil> By server I mean the matrix room you're in and other Nim related channels
20:20:27*FromDiscord quit (Remote host closed the connection)
20:20:41*FromDiscord joined #nim
20:28:56FromDiscord<itr_> Is there any quick/easy way of finding out why a type doesn't match a concept?
20:30:45FromDiscord<Phil (he/him)> That sounds like a beefy question
20:30:45FromDiscord<Phil (he/him)> By which I mean Beef, I choose you! (To answer this question)
20:31:11FromDiscord<itr_> managed to solve my issue since the concept didn't have many constraints, but figured I should learn if there's an easier way than just going through all of them manually
20:31:38FromDiscord<Elegantbeef> Make a proc that accepts the concept call that it'll print out the entire stack of mismatch reasons
20:32:51FromDiscord<patitotective> Hi, I was wondering why the character á can't fit into a character literal? In the manual it says a character literal is a single byte, and if I'm not wrong ascii extended fits in a single byte.↵Actually I'm reading a CSV that is encoded in WIN-1252 and accented letters are not being decoded properly, I'm using datamancer `readCsv` proc that states that it expects an ascii text file where one letter = one character
20:36:00FromDiscord<patitotective> In reply to @patitotective "Hi, I was wondering": Seems like `std/encodings.convert` might work https://nim-lang.org/docs/encodings.html#convert%2Cstring%2Cstring%2Cstring
20:36:47FromDiscord<itr_> sent a long message, see https://pasty.ee/OMtzwPefPuUM
20:39:47FromDiscord<itr_> sent a code paste, see https://play.nim-lang.org/#pasty=JXCYEQHkpxic
20:39:55FromDiscord<itr_> (edit) "https://play.nim-lang.org/#pasty=zZxPYQftiIix" => "https://play.nim-lang.org/#pasty=MXybvucbHwPj"
20:40:33FromDiscord<Elegantbeef> Uhh
20:40:37FromDiscord<Elegantbeef> `let grid: Graph`?
20:40:42FromDiscord<Elegantbeef> Is `Graph` a concept or oop?
20:41:29FromDiscord<itr_> In reply to @Elegantbeef "Is `Graph` a concept": concept
20:41:49FromDiscord<itr_> ah, yeah, that was the issue
20:42:01FromDiscord<itr_> Strange that it let me compile that
20:42:13FromDiscord<Elegantbeef> Concept are not existential types so don't use them as such
20:42:37FromDiscord<itr_> Yeah, reason I did it was to figure out which of the 2 concepts were mismatched
20:43:36FromDiscord<itr_> Strange that the `invalid type: 'Graph' for let` only appeared when it didn't match the type
20:43:41FromDiscord<itr_> (edit) "Strange that the `invalid type: 'Graph' for let` only appeared when it didn't match the type ... " added "though"
20:44:59FromDiscord<itr_> that said now that all compile errors are fixed my program is actually working completely correctly on first run
20:45:04FromDiscord<itr_> I love static checking
20:48:13*xet7 quit (Ping timeout: 246 seconds)
20:48:35FromDiscord<whisperecean> I have a problem with nim confutils
20:48:37FromDiscord<whisperecean> https://play.nim-lang.org/#pasty=ZbNkYEnWZmBc
20:50:20FromDiscord<whisperecean> (edit) "https://play.nim-lang.org/#pasty=ZbNkYEnWZmBc" => "https://play.nim-lang.org/#pasty=dtlecoAWYkRH"
20:50:39FromDiscord<whisperecean> When the config file does not exist I get this segmentation fault. But I thought that should have been handled by the InputFile
20:52:55FromDiscord<whisperecean> I based it off of this https://github.com/waku-org/nwaku/blob/6d0f6d822c85fd8345597bb0ed4332950ef46974/waku/factory/external_config.nim#L704
20:55:11FromDiscord<whisperecean> How can I debug this even?
21:00:55*xet7 joined #nim
21:04:54FromDiscord<whisperecean> Is that a bug?
21:18:23FromDiscord<patitotective> Hi, I wanted to know if there was any library that allowed the creation of docx files from Nim code
21:20:42FromDiscord<Robyn [She/Her]> In reply to @patitotective "Hi, I wanted to": Google doesn't reveal anything, maybe look for a C lib and bind to that?
21:21:48FromDiscord<Robyn [She/Her]> https://nimble.directory/pkg/foliant @patitotective don't know if it does what you want exactly
21:21:52FromDiscord<Robyn [She/Her]> Could check the docs?
21:25:41FromDiscord<flyx> that looks like a wrapper around pandoc.↵(@Robyn [She/Her])
21:26:31FromDiscord<Robyn [She/Her]> 🤷‍♀️
21:27:56FromDiscord<patitotective> In reply to @chronos.vitaqua "Google doesn't reveal anything,": I think I'll have to use a library from another language as you say, foliant doesn't seem to be able to change fonts or any details
21:30:54FromDiscord<Elegantbeef> Cmon it's only xml how hard could it be 😛
21:34:28FromDiscord<Robyn [She/Her]> In reply to @patitotective "I think I'll have": Unfortunate
21:34:33FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "Cmon it's only xml": Microsoft touched it
21:49:13*advesperacit quit ()
22:37:17*krux02_ joined #nim
22:39:41*krux02 quit (Ping timeout: 240 seconds)
23:01:08*jmdaemon joined #nim