<< 27-05-2023 >>

00:04:48*antranigv quit (Ping timeout: 240 seconds)
00:24:43FromDiscord<shovid> how would i match an openarray or pointer with concepts?
01:02:15*antranigv joined #nim
01:11:26FromDiscord<Chronos [She/Her]> In reply to @shovid "how would i match": `Cursor[openArray[T]]` perhaps?
01:11:35FromDiscord<Chronos [She/Her]> Unsure if that'll work but try it maybe?
01:32:22FromDiscord<Elegantbeef> Sorry
01:32:30FromDiscord<Elegantbeef> sent a code paste, see https://paste.rs/EUYkN
01:32:34FromDiscord<Elegantbeef> That fails on enum indexed arrays 😄
01:37:53*rockcavera quit (Remote host closed the connection)
01:42:58*systemdsucks quit (*.net *.split)
01:42:58*adium quit (*.net *.split)
01:42:58*NimEventer quit (*.net *.split)
01:48:15*systemdsucks joined #nim
01:48:15*adium joined #nim
01:48:15*NimEventer joined #nim
02:06:05*derpydoo quit (Ping timeout: 246 seconds)
02:17:43*derpydoo joined #nim
02:31:45*derpydoo quit (Ping timeout: 240 seconds)
02:46:13NimEventerNew post on r/nim by Uwu_Uwu135: Nim Async Net and Net not working together, see https://reddit.com/r/nim/comments/13svz17/nim_async_net_and_net_not_working_together/
02:55:03*derpydoo joined #nim
02:59:50FromDiscord<SkynWalker> Yo all would appreciate if y’all checked that post out
03:00:09FromDiscord<SkynWalker> I’m having some funky behavior that I can’t attribute to anyhting
03:00:28FromDiscord<Elegantbeef> You didnt provide code or explain the isssue
03:00:36FromDiscord<SkynWalker> It’s in the Reddit post
03:00:53FromDiscord<Elegantbeef> image.png https://media.discordapp.net/attachments/371759389889003532/1111851490278113403/image.png
03:00:53FromDiscord<that_dude> There's nothing in the post
03:00:53FromDiscord<SkynWalker> I’m in mobile rn but post was made on pc for code formatting
03:01:00FromDiscord<SkynWalker> Wait wtf
03:01:04FromDiscord<that_dude> It's just a title
03:01:08FromDiscord<SkynWalker> No way
03:01:11FromDiscord<SkynWalker> Brb
03:01:31FromDiscord<SkynWalker> I see content when I click on the post
03:01:51FromDiscord<that_dude> https://media.discordapp.net/attachments/371759389889003532/1111851734969618452/image.png
03:01:57FromDiscord<SkynWalker> I’ll be damned
03:02:18FromDiscord<SkynWalker> https://media.discordapp.net/attachments/371759389889003532/1111851846789763102/IMG_6404.png
03:02:36FromDiscord<that_dude> No idea tbh
03:03:49FromDiscord<SkynWalker> Very odd
03:03:55FromDiscord<SkynWalker> Try again rq
03:05:19FromDiscord<SkynWalker> https://www.reddit.com/r/nim/comments/13svz17/nim_async_net_and_net_not_working_together/?utm_source=share&utm_medium=ios_app&utm_name=ioscss&utm_content=2&utm_term=1
03:05:43FromDiscord<SkynWalker> Am I shadowbanned or sum?
03:05:45FromDiscord<Elegantbeef> If that's your first post perhaps mod approval is required? No clue what moderation features reddit has
03:05:59FromDiscord<SkynWalker> Well hm
03:06:22FromDiscord<SkynWalker> It’s not my first post
03:06:27FromDiscord<SkynWalker> Even to the nim sun
03:06:29FromDiscord<SkynWalker> Sub
03:06:44FromDiscord<Elegantbeef> Sounds like a reddit issue then
03:07:41FromDiscord<SkynWalker> sent a long message, see http://ix.io/4wNq
03:07:42FromDiscord<SkynWalker> heres the post lol
03:09:01FromDiscord<SkynWalker> my heartburn is the fact that an ncat listner works with the client and an ncat connection works with the server but not together
03:09:07FromDiscord<SkynWalker> that seens really odd to me
03:09:10FromDiscord<SkynWalker> seems
03:14:46FromDiscord<SkynWalker> would love any guidance on this yall
03:15:22FromDiscord<Elegantbeef> I do not do networking or async so cannot say anything, plus your code is not inside a code block so is a hassle to read
03:16:37FromDiscord<SkynWalker> its good man. ive been beating my head against a wall for about 5 days to fix this lol
03:17:04FromDiscord<SkynWalker> ive tried hella shit and its still not working figured id take to reddit/discord as my last resort
03:17:59FromDiscord<Elegantbeef> Forum is also a good place
03:18:15FromDiscord<SkynWalker> ill post there too
03:28:24FromDiscord<kots> sock.send("hii\n")
03:28:43FromDiscord<kots> makes it work for me
03:29:04FromDiscord<SkynWalker> if that works im killing myself
03:32:18FromDiscord<that_dude> https://www.youtube.com/watch?v=i1GmxMTwUgs
03:32:41FromDiscord<that_dude> Ah it doesn't show it. It's the "in the arms of the angel" song
03:36:35FromDiscord<SkynWalker> mother
03:36:36FromDiscord<SkynWalker> fucker
03:36:42FromDiscord<SkynWalker> holy fuck
03:36:47FromDiscord<SkynWalker> it works boys
03:36:54FromDiscord<SkynWalker> sign my death certificate
03:37:00FromDiscord<kots> rip
03:37:14FromDiscord<kots> asyncnet.recvLine says:↵> If the socket is disconnected in the middle of a line (before \r\L is read) then line will be set to "". The partial line will be lost.
03:38:25FromDiscord<SkynWalker> dude youre awesome
03:41:23FromDiscord<kots> 😌
03:53:41FromDiscord<huantian> In reply to @SkynWalker "sign my death certificate": Any item in the game pog
04:58:08*disso-peach joined #nim
05:15:02*lucasta quit (Quit: Leaving)
06:17:59*ntat joined #nim
06:22:09FromDiscord<mratsim> In reply to @Hourglass, When the Hour Strikes "`Cursor[openArray[T]]` perhaps?": openArray are not first class unless you use {.experimental: "views".} and the latter is not that tested.
07:38:00*xet7 joined #nim
07:54:14*rockcavera joined #nim
08:03:01*Notxor joined #nim
09:41:13FromDiscord<voidwalker> any super proper example of using multisync with a http api client library ? Having trouble figuring out the proper design
09:46:21FromDiscord<voidwalker> https://github.com/Yardanico/nimvkapi/blob/3af1998f0d9bf07c15bb0f916757e4e7994aee31/vkapi.nim#L77
09:46:47FromDiscord<voidwalker> something like this looks good, but I'm thinking, if I reuse httpclient in async context, won't it mess up if it has two simultaneous requests ?
11:21:58FromDiscord<Bung> `multisync` pragma striped out `await` in sync context
11:27:11*derpydoo quit (Ping timeout: 240 seconds)
11:32:45FromDiscord<voidwalker> yes that I know, but I'd still like to see examples of good implementation.
11:32:55FromDiscord<voidwalker> In the context of making http api client libraries
11:57:09*Notxor quit (Read error: Connection reset by peer)
11:58:24*Notxor joined #nim
12:07:56FromDiscord<amadan> The implementation of `std/httpclient` is a good example
12:16:30FromDiscord<voidwalker> thanks but I wanted an example using async/httpclient, in client http API libs, not httpclient iteslf
12:26:03*derpydoo joined #nim
12:40:20FromDiscord<hdbg> Can I get all methods of type `X` inside macros?
12:52:40FromDiscord<Chronos [She/Her]> In reply to @mratsim "openArray are not first": Ah didn't know that
12:56:22FromDiscord<chmod222> Given that `type MyType {.mymacro.} = ...` expands into `TypeDef(...)` and anything my macro would produce thus still remaining firmly inside the `type` declaration, is there any way to generate code that might touch state visible at runtime?
12:57:22FromDiscord<chmod222> i.e. I have `type MyType {.extension.} = ...` generate the original type def pretty much 1\:1 but also register in some global table that "MyType" is now a known quantity?
13:02:43FromDiscord<chmod222> Ah, figured it out, I can use `{.compileTime.}` as a workaround
13:05:26FromDiscord<kcvinker> sent a code paste, see https://play.nim-lang.org/#ix=4wP1
13:10:54FromDiscord<mratsim> In reply to @kcvinker "I found pointer arithmetic": "other"? You can only do arithmetic on numbers. But if you have a `p: ptr UncheckedArray[int]` you can always do `p[i].addr` instead of `cast[ByteAddress](p) +% i`
13:12:32FromDiscord<kcvinker> Thank you @mratsim . One more question.↵If I use the above said (int conversion) algorithm, can I expect a compiler optimization ?
13:13:22FromDiscord<kcvinker> I mean does the compiler use proper pointer arithmetic in C without an int conversion ?
13:13:54FromDiscord<mratsim> In reply to @kcvinker "I mean does the": yes
13:14:04FromDiscord<kcvinker> Great.
13:14:22FromDiscord<mratsim> casting pointer to integer is a no-op in generated code
13:14:33FromDiscord<kcvinker> no-op means ?
13:14:45FromDiscord<mratsim> generates no actual hardware instruction
13:14:55FromDiscord<kcvinker> Oh I see
13:15:01FromDiscord<mratsim> and accessing a displaced address can also be fused with the actual operation on many architectures
13:15:56FromDiscord<kcvinker> Anyhow, I will check the UncheckedArray soon.
13:41:35FromDiscord<Zectbumo> what happened to the state of Nim on OpenBSD? I can't even open a file anymore
13:45:44FromDiscord<chmod222> It's for security. Files can be dangerous so it's best they remain closed
13:46:01FromDiscord<chmod222> I think that's how OpenBSD works at least
13:46:08FromDiscord<Zectbumo> Nim stuck on 1.6.6
13:49:20*azimut quit (Ping timeout: 240 seconds)
15:56:18*derpydoo quit (Quit: derpydoo)
16:03:57*xet7 quit (Quit: Leaving)
16:45:58*arkurious joined #nim
17:17:04ntatI have sequence of files in directory. How can I find file by extension? → https://play.nim-lang.org/#ix=4wPZ
17:19:58FromDiscord<Elegantbeef> `os.splitFile`
17:20:04FromDiscord<Graveflo> are you asking?
17:22:25ntat <Elegantbeef> thanks :)
17:38:54FromDiscord<guttural666> anybody know what the technical reason is, that these different types couldn't have the same field names?
17:38:57FromDiscord<guttural666> https://media.discordapp.net/attachments/371759389889003532/1112072463979909180/image.png
17:46:52FromDiscord<sOkam!> sent a code paste, see https://play.nim-lang.org/#ix=4wQ5
17:47:12FromDiscord<Rika> In reply to @guttural666 "anybody know what the": Fields could then have different types depending on runtime data
17:47:30FromDiscord<Rika> I believe it’s just disallowed and not technically impossible
17:51:09FromDiscord<Graveflo> sent a code paste, see https://play.nim-lang.org/#ix=4wQ7
17:54:22FromDiscord<Graveflo> sent a code paste, see https://play.nim-lang.org/#ix=4wQ9
17:54:44FromDiscord<sOkam!> whats failing is adding to the code string
17:54:50FromDiscord<sOkam!> sent a code paste, see https://play.nim-lang.org/#ix=4wQa
17:55:33FromDiscord<Graveflo> ok I think it might be the default
17:59:34FromDiscord<sOkam!> In reply to @Graveflo "ok I think it": what does that mean?
18:02:17FromDiscord<Graveflo> I'm not sure LOL but the thing is if you pass a string that is already defined when calling the macro it works, but when you don't and rely of the default `""` or any literal it fails because the type of `header` in that case is `NimNode`
18:03:02FromDiscord<Graveflo> sent a code paste, see https://play.nim-lang.org/#ix=4wQg
18:05:10FromDiscord<Graveflo> well actually it is NimNode
18:05:29FromDiscord<sOkam!> im passing a `"""` if it matters
18:08:05FromDiscord<Graveflo> sent a code paste, see https://play.nim-lang.org/#ix=4wQi
18:08:47FromDiscord<sOkam!> definitely using it incorrectly. that's why i was asking how is a string passed
18:12:31FromDiscord<sOkam!> @Graveflo wait, actually it is failing but printing the text before? thats even more confusing :puz
18:12:45FromDiscord<sOkam!> (edit) ":puz" => "🧩"
18:14:06*Notxor quit (Remote host closed the connection)
18:14:20FromDiscord<Graveflo> sent a code paste, see https://play.nim-lang.org/#ix=4wQk
18:14:38FromDiscord<Graveflo> but I think i know what to do. Or at least something that will kinda work.
18:15:09FromDiscord<sOkam!> yeah, that's the part that works for me too. but how does that work but assigning fails?
18:19:25FromDiscord<Graveflo> s a literal
18:19:26FromDiscord<Graveflo> sent a code paste, see https://play.nim-lang.org/#ix=4wQn
18:21:31FromDiscord<sOkam!> sent a code paste, see https://play.nim-lang.org/#ix=4wQo
18:21:45FromDiscord<sOkam!> i don't care about the impl. its just meant to be a simple string and used as such
18:23:28FromDiscord<Graveflo> so does the last one that I posted work for you? I seems to get the strVal for each of the NodeKinds that you seem to be expecting
18:25:16FromDiscord<sOkam!> sent a code paste, see https://play.nim-lang.org/#ix=4wQp
18:27:27FromDiscord<Graveflo> sent a code paste, see https://play.nim-lang.org/#ix=4wQq
18:28:03FromDiscord<Graveflo> I have a feeling that there has got to be a better way than that, but idk
18:28:24FromDiscord<Chronos [She/Her]> How would I store a hash using norm?
18:28:47FromDiscord<sOkam!> i guess i could make that a template or smth
18:29:06FromDiscord<Chronos [She/Her]> Would `seq[byte]` be fine? I can't see anything about it in the docs
18:29:51FromDiscord<Graveflo> I messed up by naming test the same as it's value. When the node is `nkSym` then you get get the string with that conditional. It should work for what we have discussed so far, its just im not sure if that is clean or not
18:30:25*luis_ joined #nim
18:34:56FromDiscord<Graveflo> In reply to @Hourglass, When the Hour Strikes "Would `seq[byte]` be fine?": ive never used norm. Is seq[byte] a BLOB type in the db? If so, you can do that if you want. I prefer to store hashes as strings in dbs unless I really want to avoid it for some reason
18:35:46FromDiscord<chmod222> Well, if you have your Token and access ".val", how is nim going to know whether there is an int or a float there?
18:36:56FromDiscord<Chronos [She/Her]> In reply to @Graveflo "ive never used norm.": Postgres doesn't support null bytes in strings so that's my issue
18:37:21FromDiscord<Chronos [She/Her]> Also since `norm` supports Postgres and SQLite3, I want to let the user choose either
18:37:35FromDiscord<Graveflo> can you just base64 the hash to make it string compatible?
18:38:12FromDiscord<Graveflo> or charset compatible I guess
18:40:20FromDiscord<Chronos [She/Her]> In reply to @Graveflo "can you just base64": Wouldn't that mean it'd have to take up more space in the db?
18:41:15FromDiscord<Graveflo> yea that is why Ive felt compelled to use blobs in the past for hashes but I usually figure it isn't worth the hassle
18:43:40FromDiscord<Chronos [She/Her]> Why isn't it worth the hassle?
18:46:56FromDiscord<Graveflo> because everyone uses strings so it's very unlikely that choice will result in a snag
18:47:41FromDiscord<Chronos [She/Her]> Fair, but postgres will suffer and break from just using strings here which sucks
18:48:04FromDiscord<demotomohiro> sent a code paste, see https://paste.rs/CqZ9a
18:48:14FromDiscord<Graveflo> but yea try seq[byte] or seq[uint8] I think norm will allow openarray[uint8] and such so It should be fine
18:49:34FromDiscord<Chronos [She/Her]> In reply to @Graveflo "but yea try seq[byte]": Hm I'll try `seq[byte]` but Norm doesn't say it's supported so it's giving me doubts it'll work
18:49:52FromDiscord<Graveflo> this is what I found when looking into it: https://github.com/moigagoo/norm/issues/99
18:53:12FromDiscord<Chronos [She/Her]> > The problem is that you declared your field as string and not a DbBlob.↵> This is important because the underlying representation of stringis TEXT which gets converted to a cstring when calling the C-API for a select query.↵> ↵> If you store binary data into a cstring it will gets truncated at the first byte with value 00 . This is why, your data gets truncated at length 12 because the value of the byte is 00 (and also w
18:54:57FromDiscord<Graveflo> yea makes sense. non-terminating 0x00 is the bane of c strings
18:55:02FromDiscord<Chronos [She/Her]> Apparently it can be stored as `DbBlob` but that would need me to compile two separate binaries :/
18:55:25FromDiscord<Chronos [She/Her]> Since it's defined in `sqlite` and `postgres` it seems
18:56:10FromDiscord<Chronos [She/Her]> Nvm `DbBlob` doesn't even exist for `postgres`
18:56:56FromDiscord<Graveflo> yea these are said snags. This is why I just use base64 string and hope that compression and HD space is enough. Idk what kind of database you are making but maybe its worth the sacrifice
18:59:16FromDiscord<Chronos [She/Her]> It'll be storing user passwords as hashes so... Every single time they log in, the hash has to be converted from base64 so it can be checked, which would become slow as it becomes bigger, really
19:00:56*Notxor joined #nim
19:02:50FromDiscord<Graveflo> I hear ya, but isn't it typical to compute many hashes when converting a plaintext password to the stored hash value? My security knowledge is dated but people were doing that back in the day. The "salt and pepper" thing
19:04:51FromDiscord<tsoj> sent a code paste, see https://play.nim-lang.org/#ix=4wQC
19:05:32FromDiscord<Chronos [She/Her]> In reply to @tsoj "Why does the following": My guess is a compiler bug/oversight?
19:06:17FromDiscord<Chronos [She/Her]> In reply to @Graveflo "I hear ya, but": Wdym? I'm not into security really but trying to keep this info as secure as it can be
19:06:39FromDiscord<Chronos [She/Her]> I'm gonna be using argon2 for the hashing algorithm
19:06:48*Guest71 joined #nim
19:07:17FromDiscord<Graveflo> In reply to @tsoj "Why does the following": I think this is because the default value happens statically. You need to wrap the initial value in a generic proc probably
19:09:03FromDiscord<mratsim> In reply to @Hourglass, When the Hour Strikes "Wdym? I'm not into": use argon2 yes
19:09:18FromDiscord<Chronos [She/Her]> The issue is how to store that hash :p
19:10:17FromDiscord<mratsim> what's your threat model?
19:10:39FromDiscord<Chronos [She/Her]> I mean storing it in the db, norm doesn't have support for storing byte arrays
19:10:49FromDiscord<Chronos [She/Her]> For postgres, at least (which I want to support)
19:11:09FromDiscord<mratsim> mmmmh
19:11:38FromDiscord<Chronos [She/Her]> Yeaah :p
19:11:52FromDiscord<Chronos [She/Her]> I could just not use norm, but it provides some nice to use features :/
19:11:54FromDiscord<mratsim> https://norm.nim.town/customDatatypes.html↵↵It says DbBlob here
19:13:04FromDiscord<Chronos [She/Her]> In reply to @mratsim "https://norm.nim.town/customDatatypes.html It says": Only for the sqlite db
19:13:20FromDiscord<Chronos [She/Her]> If you do `norm/postgres` there's only `dbBlob` (for the enum)
19:13:59*Guest71 quit (Quit: Client closed)
19:14:47FromDiscord<mratsim> well, I guess a PR is needed: https://www.postgresql.org/docs/9.1/datatype-binary.html
19:15:13FromDiscord<Chronos [She/Her]> Makes sense
19:15:45FromDiscord<Chronos [She/Her]> For now though, don't have the knowledge or energy to exactly contribute so
19:17:20*luis_ quit (Quit: Leaving)
19:19:32FromDiscord<Chronos [She/Her]> Might roll my own solution for now hm
19:54:48*zeus-supreme joined #nim
19:56:27*zeus-supreme quit (Client Quit)
19:56:41*zeus-supreme joined #nim
19:56:48*zeus-supreme quit (Client Quit)
20:03:43*fallback quit (Ping timeout: 265 seconds)
20:55:16FromDiscord<ieltan> does something like this: `proc myproc(some: seq[Thing] = @[])` allocates at runtime ?
20:55:47FromDiscord<ieltan> alternatively `proc myproc(some = newSeq[Thing])`
20:55:54FromDiscord<ieltan> (edit) "newSeq[Thing])`" => "newSeq[Thing]())`"
20:58:23FromDiscord<Graveflo> sent a code paste, see https://play.nim-lang.org/#ix=4wQU
20:59:13FromDiscord<Elegantbeef> `= @[]` is technically `nil`
20:59:32FromDiscord<Elegantbeef> There isnt any allocation there, but `newSeq` of course allocates at runtime
21:00:15FromDiscord<Graveflo> yea I just realized what I said is messed up bc you cant use some in the proc
21:05:02FromDiscord<ieltan> alright, thanks !
21:31:01*Notxor quit (Ping timeout: 240 seconds)
21:36:20FromDiscord<H̲A̲C̲K̲K̲E̲R̲> sent a code paste, see https://play.nim-lang.org/#ix=4wR1
21:36:48FromDiscord<H̲A̲C̲K̲K̲E̲R̲> (edit) "https://play.nim-lang.org/#ix=4wR1" => "https://play.nim-lang.org/#ix=4wR2"
21:37:00FromDiscord<H̲A̲C̲K̲K̲E̲R̲> (edit) "https://play.nim-lang.org/#ix=4wR2" => "https://play.nim-lang.org/#ix=4wR3"
21:39:25NimEventerNew Nimble package! pyopenai - An attempt to reimplement python OpenAI API bindings in nim, see https://github.com/HACCKKER/pyopenai
21:40:32FromDiscord<Elegantbeef> Restart vscode perhaps
21:40:34FromDiscord<Elegantbeef> `openAiClient` is the correct one
21:41:01FromDiscord<Arathanis> In reply to @H̲A̲C̲K̲K̲E̲R̲ "I am experiencing issues": nimble in localdeps mode?
21:43:11*derpydoo joined #nim
21:43:14FromDiscord<H̲A̲C̲K̲K̲E̲R̲> In reply to @Elegantbeef "`openAiClient` is the correct": isn't nim case insensitive?(except first letter)
21:44:26NimEventerNew Nimble package! kapsis - Build delightful command line interfaces in seconds., see https://github.com/openpeeps/kapsis
21:47:25FromDiscord<H̲A̲C̲K̲K̲E̲R̲> In reply to @Elegantbeef "`openAiClient` is the correct": main.nim(18, 8) Error: cannot open file: openAiClient
21:48:01FromDiscord<H̲A̲C̲K̲K̲E̲R̲> In reply to @Arathanis "nimble in localdeps mode?": could you please elaborate on this as I am unfamiliar with this configuration option
21:49:48FromDiscord<H̲A̲C̲K̲K̲E̲R̲> I double checked, there is no nimbledeps directory in my working directory
21:51:14FromDiscord<H̲A̲C̲K̲K̲E̲R̲> (edit) "I double checked, there is no nimbledeps directory in my working directory ... " added "so nimble localdeps mode shouldn't be the reason."
21:53:02FromDiscord<Arathanis> ok not in local deps mode
21:53:17FromDiscord<Arathanis> In reply to @H̲A̲C̲K̲K̲E̲R̲ "could you please elaborate": and yeah, its just means it installs it locally for just your project instead of globally for every project
21:54:03FromDiscord<H̲A̲C̲K̲K̲E̲R̲> I already figured it out as I have a lot of python expirience and I used virtualenvs every day
21:54:30FromDiscord<H̲A̲C̲K̲K̲E̲R̲> but still can't get this library to work
21:54:35FromDiscord<H̲A̲C̲K̲K̲E̲R̲> (edit) "work" => "import"
21:58:17FromDiscord<Arathanis> @H̲A̲C̲K̲K̲E̲R̲ what version of openaiclient?
21:58:39FromDiscord<H̲A̲C̲K̲K̲E̲R̲> I didn't specify so I assume implicitly latest
21:59:29FromDiscord<Arathanis> nimble check
21:59:30FromDiscord<H̲A̲C̲K̲K̲E̲R̲> (edit) "I didn't specify so I assume implicitly latest ... " added "(0.1.0)"
21:59:48FromDiscord<Arathanis> yeah, that version has no source
22:00:03FromDiscord<Arathanis> i dont think the maintainer has done what is necessary to get nimble to see their most up-to-date changes
22:00:19FromDiscord<H̲A̲C̲K̲K̲E̲R̲> aka broken package
22:00:23FromDiscord<Arathanis> yes
22:00:24FromDiscord<Arathanis> https://media.discordapp.net/attachments/371759389889003532/1112138261566074880/image.png
22:00:28FromDiscord<Arathanis> this is the entire contents of what is installed
22:00:33FromDiscord<Arathanis> just the nimble file
22:00:37FromDiscord<Arathanis> and its a basic nimble file
22:00:53FromDiscord<Arathanis> looks like `nimble init` -> `initial commit`
22:01:12FromDiscord<Arathanis> you can just clone their repo and drop it into your working directory and use it from thre
22:01:13FromDiscord<Arathanis> (edit) "thre" => "there"
22:06:23*lucasta joined #nim
22:07:38*derpydoo quit (Ping timeout: 246 seconds)
22:08:29FromDiscord<H̲A̲C̲K̲K̲E̲R̲> In reply to @NimEventer "New Nimble package! pyopenai": I am currently working on alternative, more "python OpenAI lib"-like implementation of openai api library that has a more modular codebase, contributions are welcome. tomorrow I plan to cover 100% of the api described in the reference.↵↵Contributions are welcome.
22:09:16FromDiscord<H̲A̲C̲K̲K̲E̲R̲> (edit) "100%" => "remaining 30%"
22:09:47FromDiscord<H̲A̲C̲K̲K̲E̲R̲> (edit) "welcome." => "welcome.(maybe someone has ideas on how to make it even more convenient)"
22:14:32*ntat quit (Quit: Leaving)
22:39:10FromDiscord<Graveflo> Is there a way to make it so generics called in other modules don't force the calling module to chase down all the import dependencies? All I can find is the `bind` keyword and that doesn't seem to help much
22:45:30FromDiscord<sOkam!> In reply to @Graveflo "Is there a way": `mixin`? 🤔
22:52:17NimEventerNew post on r/nim by Yandallulz: SSL not working on Mac, see https://reddit.com/r/nim/comments/13tklkr/ssl_not_working_on_mac/
22:58:47*fallback joined #nim
23:07:01FromDiscord<Graveflo> sent a long message, see http://ix.io/4wRp
23:18:54*disso-peach quit (Quit: Leaving)
23:46:16FromDiscord<Elegantbeef> `export tables`
23:46:33FromDiscord<Elegantbeef> Araq thinks type bound operations will resolve this
23:52:02FromDiscord<gogolxdong> https://github.com/ThomasTJdev/nim_openai
23:52:52FromDiscord<Graveflo> yep that works thanks beef