<< 18-08-2018 >>

00:02:00*RyanKnack19 joined #nim
00:06:37*RyanKnack19 quit (Remote host closed the connection)
00:09:25shashlickdoes Nim support `proc abc(param: string|int)`
00:09:41shashlickthen you can do `if param is string`?
00:11:50*noonien quit (Quit: Connection closed for inactivity)
00:19:57*zachk quit (Quit: Leaving)
00:30:43*rorx13 joined #nim
00:31:16*rorx13 quit (Remote host closed the connection)
00:38:30FromGitter<gogolxdong> attempting to call undeclared routine: 'threadvar'
00:45:14*vivus quit (Quit: Leaving)
00:48:09*vosper quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:49:44FromGitter<citycide> slashlick: yes but do `when param is string` instead of `if`
00:55:53*vosper joined #nim
00:57:18*vosper quit (Client Quit)
00:57:37FromGitter<retsyo> @tim-st @data-man I have just learned that for unicode regex, at least `(*UTF8)` should be used, which is mentioned on `nre` document page
01:01:43*ziddey10 joined #nim
01:02:46*pwntus quit (Ping timeout: 256 seconds)
01:03:33*ziddey10 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
01:15:33*pwntus joined #nim
01:21:25shashlick@citycide: thanks!
01:22:06shashlick@gogolxdong: --threads:on + import threading?
01:28:55FromGitter<gogolxdong> import threading?
01:29:15FromGitter<gogolxdong> which module.
01:36:08AlexMaxOof
01:36:22AlexMaxUFCS doesn't mix with fully-qualified names
01:36:38AlexMaxyou can't do var x = 4.0.glm.GLfloat
01:37:12AlexMaxerm
01:37:35AlexMaxyou can't do var x = 4.0.opengl.GLfloat
01:38:06FromGitter<timotheecour> see https://github.com/nim-lang/Nim/issues/8013#issuecomment-413332220 for my proposal to allow it in UFCS
01:39:55ltr_hello everyone, I'm playing right now with nimble and i would like to pass some flags/switches to the compiler in the "build" stage, how can that be archived?
01:40:01ltr_for example --passL
01:41:10AlexMaxI actually found that polluting the global namespace actually kinda sorta makes sense in some cases, and I used the "feature" a lot sooner than I had anticipated
01:41:39AlexMaxall of the gl functions and the constants like GLfloat look kind of silly if they're namespaced
01:42:06AlexMax.....except they are kinda....already namespaced, aren't they? That's what the 'gl' and 'GL' are, after all
01:54:50*endragor joined #nim
01:55:09FromGitter<zetashift> @ltr_ I think you use a nim.cfg or something but this post says nimscript: https://forum.nim-lang.org/t/3603
01:58:18*vosper joined #nim
01:59:26*endragor quit (Ping timeout: 256 seconds)
01:59:59*JesseOor joined #nim
02:00:27*JesseOor quit (Remote host closed the connection)
02:09:10*kaushalmodi_ joined #nim
02:11:06FromGitter<kaushalmodi> IRC experts/admin: Any idea why my kaushalmodi nick on IRC is banned?
02:13:54FromGitter<kaushalmodi> As it's banned on #nim, I cannot switch to that nick on any other channel too
02:14:39FromGitter<kaushalmodi> Pinging PMunch, dom96. Please see above ^
02:16:37FromGitter<kayabaNerve> nim.cfg or FILE_NAME.nims
02:21:02*pwntus quit (Ping timeout: 272 seconds)
02:22:57*pwntus joined #nim
02:25:05*vosper quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:41:31*violet7 joined #nim
02:41:49*violet7 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
02:42:25*vosper joined #nim
02:48:32*vosper quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:49:19*vosper joined #nim
02:50:00*pskosinski14 joined #nim
02:50:21*pskosinski14 quit (Killed (Sigyn (Spam is off topic on freenode.)))
02:51:21ltr_zetashift: ill look into that
02:55:02*vosper quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:09:37*madprops2 joined #nim
03:12:17*madprops2 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
03:26:08shashlick@kaushalmodi: probably not banned but muted
03:26:14shashlickAre you logged in?
03:44:53*Selfsigned joined #nim
03:47:05*Selfsigned quit (Killed (Unit193 (Spam is not permitted on freenode.)))
04:05:53*thomasross_ is now known as thomasross
04:28:47*kaushalmodi_ quit (Quit: Connection closed for inactivity)
04:44:45*RyZum joined #nim
04:45:25*RyZum quit (Killed (Unit193 (Spam is not permitted on freenode.)))
05:16:22*dddddd quit (Remote host closed the connection)
05:18:29*vosper joined #nim
05:24:57*vosper quit (Ping timeout: 240 seconds)
05:42:08*rockcavera quit (Read error: Connection reset by peer)
05:42:24*rockcavera joined #nim
05:42:24*rockcavera quit (Changing host)
05:42:24*rockcavera joined #nim
05:58:18*nsf joined #nim
06:06:14*karstensrage15 joined #nim
06:06:36*karstensrage15 quit (Killed (Sigyn (Spam is off topic on freenode.)))
06:07:04*naos2 joined #nim
06:08:41*Vladar joined #nim
06:10:56*naos2 quit (Remote host closed the connection)
06:25:41*vosper joined #nim
06:31:16*Trustable joined #nim
07:01:04FromGitter<tim-st> is it expected that `repr(var)` adds no newline suffix but `repr(addr(var))` does?
07:07:00*nsf quit (Quit: WeeChat 2.2)
07:07:58*nsf joined #nim
07:09:18*raynold joined #nim
07:14:54*raynold quit (Ping timeout: 272 seconds)
07:21:20FromGitter<tim-st> another question: Is there a reason why `algorithm.sort` doesn't has default value `cmp=system.cmp`?
07:22:04FromGitter<timotheecour> this was previously asked; could u please file a bug? I think it’s a valid point
07:22:20FromGitter<tim-st> ok
07:22:50FromGitter<timotheecour> after that, optionally, maybe try to search in forum or IRC log to link to it :-)
07:23:21FromGitter<tim-st> yes, I do at the moment
07:23:59FromGitter<timotheecour> it was like in the past 2 to 3 days at most IIRC
07:24:01FromGitter<tim-st> also some easy algorithms are needed like bubblesort, shellsort
07:24:23FromGitter<tim-st> I remember it is asked at least every 2 months
07:24:27FromGitter<tim-st> in chat
07:25:03FromGitter<timotheecour> Meh, i think there are bigger priorities than bubble sort; do we at least have these: quicksort, timsort?
07:25:50FromGitter<tim-st> yes, we have a good one based on merge sort, but if I know that my element has length always in 0..20 it is much faster to use n^2 sort
07:25:54FromGitter<tim-st> insitu
07:26:31FromGitter<timotheecour> Ok that’s a very valid point. is bubble sort really state of the art for small n ???
07:27:39FromGitter<tim-st> I dont know state of the art, I think in timsort there is a explicit check for small n and fall back, we should look there, I think in java code it is used too
07:29:00FromGitter<timotheecour> looking at D implementation for `sort` could be a good start; it’s pretty complete IIRC (see https://dlang.org/phobos/std_algorithm_sorting.html)
07:30:31FromGitter<tim-st> ok, thanks
07:40:25Araqfor small N "insertion sort" is the state of art
07:40:42Araqor hardcoding the decision tree with ifs+swap
07:44:29Araqand no, we don't need every sort algorithm in the stdlib, quicksort() has O(n^2) worst case and is not a stable sort
07:45:59Araqyou can fix all of its problems but the result is not pretty and nobody knows if it's still "quicker" than its competitors
07:52:21*pwntus quit (Ping timeout: 244 seconds)
07:52:39*pwntus joined #nim
07:56:05FromGitter<tim-st> yes, I also found out about insertion sort, and already finished the nim implementation at this moment^^
07:56:39*echotangoecho joined #nim
07:57:12FromGitter<tim-st> Araq: was there a reason for not having `system.cmp` as default?
07:57:22FromGitter<tim-st> (for algorithm.sort)
08:03:21*gmpreussner_ quit (Quit: kthxbye)
08:04:13*gmpreussner joined #nim
08:13:26*gmpreussner quit (Ping timeout: 256 seconds)
08:16:28Araqtim-st: tbh it was a workaround for a Nim bug :-)
08:18:31FromGitter<tim-st> ok, with the current devel vesion setting a default argument works, though I'm not sure if all test cases still work then
08:18:53FromGitter<tim-st> currently I get the following error: `Error: internal error: expr(nkClosedSymChoice); unknown node kind` dont know why
08:22:44FromGitter<tim-st> Oh, I found the solution: when already one param has a default value, the next one is not allowed (I mean it's obvious, but the error lets me search for minutes)
08:23:00FromGitter<tim-st> *is not allowed to be without default
08:26:08Araqit is allowed when you use keyword arguments
08:26:47FromGitter<tim-st> hm, when I changed the signature the error was gone
08:39:08*pwntus quit (Ping timeout: 272 seconds)
08:44:11*echotangoecho quit (Quit: Lost terminal)
08:51:46*baweaver0 joined #nim
08:54:31*baweaver0 quit (Read error: Connection reset by peer)
09:02:13*guardian3 joined #nim
09:03:01FromGitter<tim-st> keyword was exactly the reason for the crash :)
09:05:15*pwntus joined #nim
09:09:51*guardian3 quit (Ping timeout: 244 seconds)
09:10:58*xet7 joined #nim
09:12:19*quicksilver10 joined #nim
09:14:22*nsf quit (Quit: WeeChat 2.2)
09:17:27*papabear69 joined #nim
09:18:09*lbft27 joined #nim
09:20:56*ski77776 joined #nim
09:21:26*quicksilver10 quit (Ping timeout: 256 seconds)
09:22:15*Shrooms19 joined #nim
09:22:59*lbft27 quit (Read error: Connection reset by peer)
09:24:50*papabear69 quit (Ping timeout: 256 seconds)
09:25:09*Shrooms19 quit (Remote host closed the connection)
09:27:40*ski77776 quit (Ping timeout: 256 seconds)
09:27:58FromGitter<timotheecour> @tim-st maybe you can submit a issue “sort should have a default” so we don’t keep asking the same stuff over and over in IRC :-) ; it’s a lot more visible/searchable in github. If you want you can also link in issue your WIP to your private branch so we can all help if needed
09:28:26FromGitter<mratsim> Lambda the ultimate: https://github.com/nim-lang/Nim/issues/8675 https://github.com/nim-lang/Nim/issues/8678 https://github.com/nim-lang/Nim/pull/8679
09:28:52*alienated joined #nim
09:29:57*alienated quit (Remote host closed the connection)
09:31:25FromGitter<mratsim> @timotheecour for your variadic map, you can have a look into loop-fusion: https://github.com/numforge/loop-fusion
09:36:12*fxrh3 joined #nim
09:37:41*sparklefarkle joined #nim
09:44:21FromGitter<tim-st> @timotheecour I will do, but currently I have an issue open for `insertionSort` that will exactly affect `algorithm.sort` because it will have the same signature, unless the latest issue is not fixed I cannot address `algorithm.sort`
09:44:57*fxrh3 quit (Ping timeout: 240 seconds)
09:45:35*sparklefarkle quit (Ping timeout: 240 seconds)
09:45:53FromGitter<tim-st> well, I can already create the issue :)
09:50:24*april joined #nim
09:51:47*april quit (Remote host closed the connection)
09:53:51*wildlander quit (Quit: Konversation terminated!)
10:02:10*abm joined #nim
10:10:23*abm quit (Read error: Connection reset by peer)
10:14:18*stefanos82 joined #nim
10:17:19stefanos82with the latest repo updates, ./koch tools breaks https://www.pastery.net/rubqeg/
10:18:05*rockcavera quit (Ping timeout: 240 seconds)
10:19:40*vosper quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:25:07*vosper joined #nim
10:35:31*vosper quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:43:36*quarks joined #nim
10:52:08*quarks quit (Ping timeout: 272 seconds)
11:11:21*ms78216 joined #nim
11:14:09*ms78216 quit (Remote host closed the connection)
11:17:18*nsf joined #nim
11:29:21*BitPuffin joined #nim
11:31:03FromGitter<Clyybber> @timotheecour Wouldn't it be better to fix the implementation of `=>` rather than special case map/map2 ?
11:55:13*PMunch joined #nim
12:00:22*nkk71 joined #nim
12:03:54*nkk71 quit (Killed (Sigyn (Spam is off topic on freenode.)))
12:04:30PMunch@dom96: http://ix.io/1ky0
12:11:46*leorize quit (Quit: WeeChat 2.2)
12:21:11*dddddd joined #nim
12:23:06*e15 joined #nim
12:23:10*PMunch quit (Quit: leaving)
12:27:04*e15 quit (Killed (Sigyn (Spam is off topic on freenode.)))
12:36:45*codebam23 joined #nim
12:40:26*codebam23 quit (Remote host closed the connection)
12:52:21Araqso ... how can I add ~/.cache/nim to my VSCode workspace?
12:53:27AraqI don't know how anybody can stay productive with these "best practice" hidden folders
12:53:56Araqit's bullshit, don't hide directories
13:00:02*idn1 joined #nim
13:00:15*idn1 quit (Remote host closed the connection)
13:03:14*Vladar quit (Ping timeout: 272 seconds)
13:07:17Xedoes the nim frontend stuff have some ability for complicated web applications?
13:07:44Xealso is there a protocol buffer generator for nim yet?
13:08:24FromDiscord<awr> i believe there is a capn proto library in nimble
13:08:53Xei need normal protobufs though
13:09:09FromDiscord<awr> also there is https://github.com/PMunch/protobuf-nim
13:09:38Xethat's not a normal code generator though
13:10:27FromDiscord<awr> what do you mean by generate? do you mean convert an arbitrary nim object to protobuf?
13:10:43FromDiscord<awr> apologies if i'm confused, i'm slightly more familiar with capn proto
13:11:38FromDiscord<awr> https://github.com/oswjk/nimpb ?
13:12:32Araqxet7: does nim's forum count as a complicated web app?
13:12:57XeAraq: does it have a router that i can attach pages to?
13:13:08Xeor some kind of similar abstraction?
13:13:51AraqKarax supports routing, yes. Not sure what kind of abstraction you need
13:14:28Araqmapping strings to functions is not what I consider abstraction worthy
13:16:07FromGitter<data-man> @Araq: When you have time: https://github.com/nim-lang/c2nim/pull/134
13:16:40Araqdata-man: awesome :-)
13:17:40XeAraq: I see, that's actually better, thanks.
13:18:49FromDiscord<awr> wow i was just going to ask about the removal of nilable seqs and strings lol
13:19:30FromDiscord<awr> what is going to be better style going forward? `a == ""/@[]` or `a.len == 0`?
13:19:46FromDiscord<awr> i suppose the latter is more generic
13:19:57FromGitter<tim-st> len == 0 is better I think
13:20:22Araqlen == 0 is better.
13:21:25Araqmaybe we should get isEmpty(), it's handy for compressed data structures
13:22:12FromDiscord<awr> i guess that sort of thing should be clarified in NEP-1
13:22:57*soahccc joined #nim
13:23:05*soahccc quit (Killed (Sigyn (Spam is off topic on freenode.)))
13:25:24Araqalso called the "style guide"
13:25:48Araqinterestingly every other "NEP" is called "RFC"...
13:27:17FromDiscord<awr> Nim Improvement Manifesto
13:29:34Araqlol
13:29:53FromDiscord<awr> do we still use the experimental pragma? if so `{.reorder: on.}` should probably be made experimental for the time being
13:30:19Araqawr: indeed, but I think 'reorder' is not even documented anywhere
13:30:40*sophiya joined #nim
13:31:13*Vladar joined #nim
13:31:19FromDiscord<awr> yeah i noticed an issue with it and I couldn't find it in the manual
13:32:07*sophiya quit (Remote host closed the connection)
13:35:13*nsf quit (Quit: WeeChat 2.2)
13:57:17*noonien joined #nim
13:59:59*ascheel27 joined #nim
14:00:05*KindOne29 joined #nim
14:00:46*KindOne29 quit (Remote host closed the connection)
14:08:02*ascheel27 quit (Remote host closed the connection)
14:10:32FromGitter<tim-st> Should my lib with c sources work with `nim cpp -r lib.nim` too?
14:10:50FromGitter<tim-st> I tried to compile it but it seems to hang without error
14:11:05FromGitter<gogolxdong> Have anyone noticed nimble suffers regression from nil?
14:23:50*pwntus quit (Ping timeout: 268 seconds)
14:25:14*d__b joined #nim
14:28:56*d__b quit (Remote host closed the connection)
14:33:53*pwntus joined #nim
14:48:23*Algernop28 joined #nim
14:52:27*Algernop28 quit (Read error: Connection reset by peer)
14:58:56*deadman5 joined #nim
15:03:11*bgnnr joined #nim
15:08:02dom96PMunch: weird, bug report
15:28:32*nsf joined #nim
15:29:50xet7Araq: I did read through nim's forum code. It's not any "hello world" app, but a advanced real-world app, but code is so understandable, and not so long in length, so I would not count is as complicated. It is easier to understand than php forum code I have read.
15:31:11xet7I did read nim's forum code some days ago.
15:32:57*xynashi16 joined #nim
15:33:00*PrimHelios joined #nim
15:33:44xet7forum code could be improved by splitting big code file to smaller files that would have file names describing their functionality.
15:33:53*xynashi16 quit (K-Lined)
15:36:52*nirel joined #nim
15:39:05*nirel quit (Remote host closed the connection)
15:40:28*leorize joined #nim
15:44:43*Matrixiumn joined #nim
15:45:56*PrimHelios quit (Quit: Leaving)
15:48:59shashlickAraq: does this syntax still work?
15:49:11shashlick`{.compile: ("./libui/common/*.c", "common_$#.obj").}`
15:49:34shashlickI tried and it doesn't
15:50:36shashlickFigured Nim has an issue with overwriting object files if file name is identical across directories
15:51:38shashlickdom96 ^^ since you've worked in this too
15:52:35*Matrixiumn quit (Ping timeout: 276 seconds)
15:57:08Araqshashlick: it still works
16:01:07FromDiscord<treeform> I have added selection and picking to my typography text font library:
16:01:09FromDiscord<treeform>
16:01:09FromDiscord<treeform> https://cdn.discordapp.com/attachments/371759389889003532/480405800628518912/unknown.png
16:02:54*bgnnr left #nim ("Textual IRC Client: www.textualapp.com")
16:03:04shashlickAraq: ok I'll check, it's not documented so
16:03:19shashlickBut is it known that object files will get overwritten?
16:03:33shashlickShouldn't Nim complain or rename it something
16:18:41*NSCLRP-1 joined #nim
16:25:18*NSCLRP-1 quit (Ping timeout: 256 seconds)
16:29:49*leorize quit (Quit: WeeChat 2.2)
16:32:47*interd0me joined #nim
16:34:00Araqyeah well... let's better fix it
16:35:35shashlickWhat's the right thing to do? Rename the object file and not bother user?
16:39:30Araqyeah
16:39:47ltr_evenings!, quick question, can i get the value of a C enum member from nim with {.importc?
16:40:21ltr_or just import an enum
16:40:49Araqnah, c2nim can do that though, maybe
16:41:03*interd0me quit (Ping timeout: 260 seconds)
16:41:15dom96treeform: niceee :)
16:54:01*Jesin joined #nim
16:54:38*Jesin quit (Remote host closed the connection)
16:59:03*Steinsplitter16 joined #nim
16:59:29*Steinsplitter16 quit (Killed (Sigyn (Spam is off topic on freenode.)))
16:59:56*Jesin joined #nim
17:00:13*NimBot joined #nim
17:04:42*voiceftp quit (Remote host closed the connection)
17:05:06*voiceftp joined #nim
17:06:07federico3any Mastodo user?
17:07:24*xeroks5 joined #nim
17:08:12*xeroks5 quit (Killed (Sigyn (Spam is off topic on freenode.)))
17:12:37FromGitter<zetashift> mastodo or mastodon?
17:25:00federico3mastodon :)
17:35:09Araqmasturbatodo
17:36:12*leorize joined #nim
17:36:36dom96https://mastodon.social/@dom96
17:37:02dom96Mastodon really needs a trending list
17:40:32*elrood joined #nim
17:46:25*wildlander joined #nim
17:50:37*elrood quit (Quit: Leaving)
17:52:40*sh4nks29 joined #nim
17:53:17*sh4nks29 quit (Killed (Sigyn (Spam is off topic on freenode.)))
17:57:44stefanos82why are we still depending on hosts? :/ with p2p technologies, can't we have a direct p2p connection between us, much like how magnet links work?
18:09:34*leorize quit (Ping timeout: 260 seconds)
18:11:28*leorize joined #nim
18:13:52*ktr12 joined #nim
18:14:35*ktr12 quit (Killed (Sigyn (Spam is off topic on freenode.)))
18:16:45*andries9 joined #nim
18:17:15FromGitter<tim-st> is there a link where nims proc overloading rules are clearly defined? Some things are suprising to me
18:19:15FromGitter<tim-st> it says: `How this overloading resolution algorithm works exactly is not discussed here (it will be specified in the manual soon). ` https://nim-lang.org/docs/tut1.html#procedures-named-arguments
18:21:58*kaniini_ joined #nim
18:22:23*zachk joined #nim
18:22:44*zachk quit (Changing host)
18:22:44*zachk joined #nim
18:23:27Araqtim-st: it is in the manual
18:25:27FromGitter<tim-st> thanks, it's just surprising that multiple set default values for one proc dont work when not all are set for the call
18:25:59*andries9 quit (Ping timeout: 276 seconds)
18:28:35*kaniini_ quit (Ping timeout: 240 seconds)
18:32:57shashlickI think I have some issue with comctl32.dll, not able to load it on runtime
18:33:11shashlickBut on two machines so wondering what's going on
18:33:25shashlickEverything compiles and links fine
18:42:53*edcragg quit (Excess Flood)
18:42:56*alehander42 joined #nim
18:43:04*edcragg joined #nim
18:47:25*drdanick17 joined #nim
18:52:07*drdanick17 quit (Remote host closed the connection)
19:01:33*leorize quit (Quit: WeeChat 2.2)
19:12:33*Metacity28 joined #nim
19:17:20*Jesin quit (Remote host closed the connection)
19:17:58*Metacity28 quit (Ping timeout: 244 seconds)
19:29:34*Blendify_i5 joined #nim
19:37:05*Blendify_i5 quit (Ping timeout: 240 seconds)
19:48:32*echotangoecho joined #nim
19:50:27*labviking joined #nim
19:51:59*labviking quit (Remote host closed the connection)
19:53:55*Guest43845 joined #nim
19:55:06*Guest43845 quit (Remote host closed the connection)
19:55:17*vosper joined #nim
19:58:16stefanos82Araq or dom96: did you guys see my message about an error that takes place during ./koch tools building procedure?
19:58:17stefanos82https://www.pastery.net/rubqeg/
20:04:21dom96https://github.com/nim-lang/nimble/issues/520
20:17:55*KanerixWolfe joined #nim
20:20:22*KanerixWolfe quit (Killed (Sigyn (Spam is off topic on freenode.)))
20:24:27stefanos82dom96: so what am I supposed to do? All I did was first fetch the latest repo updates, then run ./koch boot -d:release and then ./koch tools; that's all
20:27:35*Trustable quit (Remote host closed the connection)
20:32:31stefanos82dom96: ah...I didn't rebuild koch -_-
20:32:35stefanos82now it works as expected
20:35:33zachkwhats the most up to date or preffered sdl2 library for nim? the nimble install sdl2 doesnt seem to work with the lastest SDL2_gfx
20:43:54FromDiscord<awr> i use this one because the other one has gaps
20:43:57FromDiscord<awr> https://github.com/Vladar4/sdl2_nim
20:44:32FromDiscord<awr> by gaps i mean missing a lot of stuff
20:44:34zachkawr, does it include SDL2_gfx in it?
20:44:47FromDiscord<awr> looks like it
20:45:10zachkthank you
20:46:11*alehander42 quit (Ping timeout: 255 seconds)
20:46:12FromDiscord<awr> you may want to uninstall the other one, they might conflict
20:46:20FromDiscord<awr> when you import them at least
20:47:35FromDiscord<awr> i dont use SDL2_gfx but has anything changed with it recently?
20:54:54*stefanos82 quit (Quit: Quitting for now...)
20:59:46Araqplease patch the existing official SDL2 wrapper
21:05:15*nsf quit (Quit: WeeChat 2.2)
21:09:53*vosper quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:11:43*Vladar quit (Remote host closed the connection)
21:13:28*Our joined #nim
21:14:57*BitPuffin quit (Ping timeout: 240 seconds)
21:16:43*Our quit (Killed (Sigyn (Spam is off topic on freenode.)))
21:21:51*xet7 quit (Quit: Leaving)
21:21:53*deadman5 quit (Ping timeout: 265 seconds)
21:25:13dom96Vladar4's sdl package should be updated to not conflict
21:25:23dom96This is precisely why Nimble gives warnings during its installation
21:25:42dom96Conflicts shouldn't be possible and that's why Nimble will simply make that an error soon
21:26:14shashlickokay so at least I'm not crazy - just tried nim-lang/ui and controlgallery.nim and I run into the same error
21:26:27FromGitter<kayabaNerve> What's the best dependency manager for Nim projects?
21:26:35*xet7 joined #nim
21:26:56*deadman5 joined #nim
21:26:59FromGitter<kayabaNerve> Nimble doesn't meet my needs as it only handles dependencies for packages and this is not a package in any form.
21:27:09shashlick`The procedure entry point TaskDialog could not be located in the dynamic link library c:\....\controlgallery.exe`
21:27:23shashlickwhy does it act like the exe is a link library
21:28:55shashlickTaskDialog is in comctl32.dll but 32-bit program gets linked to the comctl32.dll in winsxs for some reason
21:29:32dom96kayabaNerve: what?
21:29:39dom96You want a dependency manager that handles what then?
21:32:24FromGitter<kayabaNerve> Installing Nimble packages/running some Git commands but not installing the project as a Nimble package
21:33:10FromGitter<kayabaNerve> Nimble develop and install both try to install the project as a package. AFAIK, there's no other way to get Nimble to install dependencies. The project isn't structured according to Nimble rules and shouldn't be installed as a Nimble package.
21:50:35*pwntus quit (Ping timeout: 240 seconds)
21:51:29dom96Every package management system expects some sort of structure
21:51:38dom96You can just use git submodules if you want
21:53:49*Lausefuchs15 joined #nim
21:55:04*Lausefuchs15 quit (Remote host closed the connection)
21:55:20*PrimHelios joined #nim
22:06:40*vosper joined #nim
22:07:30shashlickthis is pointless, unless I get some useful input, this libui wrapper is dead - I cannot even get the official nim-lang/ui wrapper working
22:10:46*pwntus joined #nim
22:11:03FromGitter<kayabaNerve> ```git submodule update --init ⏎ nimble install stint nimcrypto secp256k1 nimx``` [https://gitter.im/nim-lang/Nim?at=5b789976157b9d34efa6fa5f]
22:11:44FromGitter<kayabaNerve> Those are the commands I have to run. I just wanted to know if there's a prominent Nim tool that will handle that for whoever downloads the code.
22:12:19FromGitter<DanielSokil> Are there any official of unofficial code style formatters for Nim?
22:15:16*xet7 quit (Quit: Leaving)
22:15:17dom96kayabaNerve: That's what you would use a .nimble file for
22:16:24dom96if you're writing a binary program then you don't even need to care about any structure
22:16:30*echotangoecho quit (Quit: Lost terminal)
22:17:25dom96https://github.com/nim-lang/nimforum/blob/master/nimforum.nimble#L35
22:19:13FromGitter<kayabaNerve> So you use a task > nimble install/develop. Got it
22:19:23dom96kayabaNerve: no
22:19:30FromGitter<kayabaNerve> Nope.
22:19:35dom96I was replying to zacharycarter[m]
22:19:35FromGitter<kayabaNerve> Yep. Just looked over it more.
22:19:52FromGitter<kayabaNerve> Sorry
22:19:59dom96You just need requires "stint"; requires "nimcrypto" etc.
22:20:22dom96zacharycarter[m]: Yes, docs can always be improved/extended
22:21:01FromGitter<kayabaNerve> Yep... that's the part I have an issue with because it tries to install it as a package. Also, his messages aren't being relayed to Gitter.
22:21:15dom96Nimble isn't a black box. If you don't understand what it's doing check out its source code, or run with `--debug` or `--verbose`
22:22:14zacharycarter[m]I'm not blaming nimble - I'm really blaming nimscript and the lack of documentation b/w the two
22:22:23dom96This spamming situation is really annoying
22:22:46zacharycarter[m]I'm in riot - :shrug:
22:23:02dom96zacharycarter[m]: You're unmuted now
22:23:31zacharycarter[m]thanks - I'm in riot - so not sure how I got muted
22:23:59dom96As much as you might be on Riot you are connected to IRC
22:24:11dom96And you're not identified/registered so you're muted by default
22:24:24zacharycarter[m]I think there's a disconnect / lack of explanation regarding how you can use nimble much like NPM to create a set of tasks for managing a product
22:24:49zacharycarter[m]ah - okay, thank you - I need to set up auto-register w/ nickserv I guess or just get a IRC client, because this does suck
22:25:08zacharycarter[m]sorry I meant project not product
22:27:26dom96It's fine, just don't change your nickname and you'll be fine
22:27:39dom96In fact, let me just exempt all of matrix.org
22:29:34dom96Okay, hopefully that works
22:29:51zacharycarter[m]👍thank you
22:33:26*Guest81029 joined #nim
22:37:48*Guest81029 quit (Remote host closed the connection)
22:39:40*vosper quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:44:27*Cork28 joined #nim
22:45:29*Cork28 quit (Remote host closed the connection)
22:46:11*smt quit (Ping timeout: 244 seconds)
22:48:53*zeroed joined #nim
22:53:11*janus19 joined #nim
22:55:05*zeroed quit (Ping timeout: 276 seconds)
23:01:05*janus19 quit (Ping timeout: 240 seconds)
23:03:39*weaksauce15 joined #nim
23:06:49zachkim getting this error "could not load: SDL2_gfx.dll" when I use the sdl_gfx from sdl2 or sdl2_nim, im using msys2, I have sdl2_gfx installed manually from source, I also tried the pacman version, I even downloaded the dll and put it different places, how do I get it working?
23:10:10*luke-jr6 joined #nim
23:11:30*luke-jr6 quit (Read error: Connection reset by peer)
23:11:53*weaksauce15 quit (Ping timeout: 260 seconds)
23:28:14*okdas joined #nim
23:29:52*okdas quit (Killed (Sigyn (Spam is off topic on freenode.)))
23:32:42*acronix8 joined #nim
23:33:27*pwntus quit (Ping timeout: 240 seconds)
23:33:57*pwntus joined #nim
23:38:35*acronix8 quit (Ping timeout: 240 seconds)
23:39:13*Cthalupa quit (Ping timeout: 248 seconds)
23:40:23FromDiscord<exelotl> zachk: have you tried putting it in the same folder as your compiled executable? is the name correct (SDL2_gfx.dll not libSDL2_gfx.dll)? could it be a 32 bit vs 64 bit issue?
23:40:51zachknot sure, I tried the same directory gave a slightly different complaint
23:40:51zachknight
23:40:55*zachk quit (Quit: Leaving)
23:46:40*shentino20 joined #nim
23:48:47*shentino20 quit (Killed (Sigyn (Spam is off topic on freenode.)))
23:50:02*poxifide24 joined #nim
23:53:24*dp315 joined #nim
23:53:57*poxifide24 quit (Killed (Sigyn (Spam is off topic on freenode.)))
23:55:01*dp315 quit (Remote host closed the connection)