<< 07-05-2017 >>

00:08:46*yglukhov joined #nim
00:13:07*yglukhov quit (Ping timeout: 240 seconds)
00:23:47*def-pri-pub joined #nim
00:26:58*zachcarter joined #nim
00:27:30zachcarteranyone know why my double hyphens in a html document are turning into a single hyphen?
00:28:38def-pri-pubAre you editing your .html file in MS Word?
00:28:45zachcartervs code
00:28:55def-pri-pubhmmm.... dunno, I don't use it.
00:29:13zachcartero/ btw def-pri-pub, long time no see
00:29:20def-pri-pubWord processors like MS Work, Google Docs, LibreOffice are the only things I know of that do that
00:29:35zachcarteryeah it’s strange
00:29:43def-pri-pubYeah, been busy moving & with work. I'm not working on any Nim projects right now, just taking a break.
00:29:57zachcartergotcha
00:33:51zachcarterdef-pri-pub: I made a new website for frag
00:33:52zachcarterwell it’s wip
00:33:55zachcarterhttp://fragworks.io
00:33:58zachcarterI also made
00:34:00def-pri-pubI think I saw it before
00:34:02zachcarterhttps://play.nim-lang.org
00:34:18def-pri-pubI saw that play one posted in /r/nim. It's pretty cool
00:34:32zachcarterthanks
00:36:53*Trioxin joined #nim
00:38:04Trioxinis there a page that describes how to read the standard library docs? A few things throw me off a bit
00:40:33zachcarterhttps://nim-lang.org/docs/manual.html
00:40:57zachcarternot sure if that’s what you’re looking for or not
00:41:21zachcarterhttps://nim-lang.org/docs/lib.html
00:46:49*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:47:25def-pri-pubI will say that Nim doesn't really have the easiest docs to read. The formatting, layout, and structure of the pages could use some work.
00:48:34def-pri-pubTrioxin: If you're looking to simply learn what's in the standard library, the best thing to do would to be to that `lib.html` page, pick out a library, and read it.
00:48:44def-pri-pubThere are some sparse example of how each function is used.
00:48:55def-pri-pubIf there is something missing docs, please report it to the issue tracker.
00:50:11def-pri-pub`system`, Things in the "Collections and Algorithms" section, and `strutils` are what is the most important IMO.
00:50:32def-pri-pubIf you're doing anything math heavy (e.g. writing a ray tracer), go through some of the math libraries
01:05:34*vlad1777d quit (Quit: Leaving)
01:05:45*chemist69 quit (Ping timeout: 240 seconds)
01:09:02*Kingsquee quit (Ping timeout: 240 seconds)
01:19:41*chemist69 joined #nim
01:24:08*Kingsquee joined #nim
01:29:25*Kingsquee quit (Ping timeout: 240 seconds)
01:30:53*Kingsquee joined #nim
02:03:54*bjz joined #nim
02:11:00*yglukhov joined #nim
02:15:05*yglukhov quit (Ping timeout: 240 seconds)
02:26:25*jsgrant_om quit (Read error: Connection reset by peer)
02:40:53*def-pri-pub quit (Quit: leaving)
02:40:57*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:23:49*arnetheduck joined #nim
03:28:45*brson quit (Ping timeout: 240 seconds)
03:45:41*bjz joined #nim
04:13:07*zachcarter quit (Quit: zachcarter)
04:13:13*yglukhov joined #nim
04:17:37*yglukhov quit (Ping timeout: 240 seconds)
04:24:01*BennyElg quit (Remote host closed the connection)
04:44:33FromGitter<geohuz> I would say all the data structure manipulation related api should have more examples in the document. I just finished a tiny project to download gz file then uncompress the csv file, then read certain columns and deduplicate rows data, finally return a json response. Nim is a great language and I enjoyed using it. But I still feel lacking of documentation (especially example codes in API) thus took me hours read source cod
04:44:33FromGitter... to trying figure out how to do things
04:44:48ftsfo/
04:50:08FromGitter<geohuz> the pegs lib, for example, maybe more example of usage would be great. BTW, is there any lazy evaluation feature in the Nim? For my specific task, downloading a large file (100m) and doing data processing should be a good example of applying lazy iterator
04:53:36FromGitter<geohuz> maybe a good nim recipe site will help a lot
05:08:42*kunev quit (Ping timeout: 264 seconds)
05:09:01*kunev joined #nim
05:10:25*Trioxin quit (Read error: Connection reset by peer)
05:24:50*rauss quit (Quit: WeeChat 1.7.1)
05:36:02*kunev quit (Ping timeout: 240 seconds)
05:37:35*kunev joined #nim
06:07:32*Sembei quit (Ping timeout: 240 seconds)
06:08:16*kunev quit (Ping timeout: 260 seconds)
06:09:09*kunev joined #nim
06:13:52*kunev quit (Ping timeout: 260 seconds)
06:15:32*yglukhov joined #nim
06:16:11*kunev joined #nim
06:19:37*yglukhov quit (Ping timeout: 240 seconds)
06:23:07*kunev quit (Ping timeout: 255 seconds)
06:24:11*kunev joined #nim
06:25:02FromGitter<maiermic> Hi, I'm new to nim and currently discovering the language. I wonder if calculating compile time constants is supported, but this fails due to `I1 + I2`: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=590ebdc1c4d73f445a802801]
06:27:06FromGitter<maiermic> Is support of calculated compile time constants planned in Nim?
06:27:25ftsfmaiermic, i believe you can calculate constants at compile time
06:29:01FromGitter<maiermic> I get this compile time error: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=590ebeb00dcaa48e6736cac3]
06:29:16ftsfyep i see, i'm not sure how to get around that...
06:30:05Araquse static T and beware of its bugs
06:37:00FromGitter<maiermic> @Araq I tried ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=590ec08f5c89dc5361832cf6]
06:40:23*Trustable joined #nim
06:44:43*kunev quit (Ping timeout: 255 seconds)
06:45:15*kunev joined #nim
06:52:17*kunev quit (Ping timeout: 255 seconds)
06:53:14*kunev joined #nim
06:59:15*BennyElg joined #nim
07:02:51*nsf joined #nim
07:08:53*Trustable quit (Remote host closed the connection)
07:17:32*yglukhov joined #nim
07:22:26*yglukhov quit (Ping timeout: 260 seconds)
07:40:02*BennyElg quit (Remote host closed the connection)
07:40:47*nsf quit (Quit: WeeChat 1.7.1)
07:43:05*kdst joined #nim
08:09:22*BennyElg joined #nim
08:10:08*BennyElg_ joined #nim
08:10:08*BennyElg quit (Read error: Connection reset by peer)
08:24:30*yglukhov joined #nim
08:25:16*kdst quit (Quit: Leaving)
08:31:21*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:55:40*bjz joined #nim
08:58:22*bjz quit (Remote host closed the connection)
08:59:19*bjz joined #nim
09:00:35*Tiberium joined #nim
09:03:30FromGitter<timeyyy> @araq I am going to be starting a group for people to sprint/pair/mob programming on different projects. Language independant, focused on learning about design/architecture etc and maybe drinking beer :/. Would you want to participate with nim?
09:09:56*sz0 joined #nim
09:16:14*couven92 joined #nim
09:29:07*vlad1777d joined #nim
09:59:33*DebugDude12 joined #nim
10:00:21DebugDude12Is information hiding supposed to work this way? http://dpaste.com/3F6DDNG
10:04:06*Tiberium quit (Remote host closed the connection)
10:05:23*Tiberium joined #nim
10:06:34*zachcarter joined #nim
10:11:38FromGitter<zacharycarter> @geohuz if you find missing docs please add them or at the very least file an issue - but better to just update them and issue a PR
10:12:24FromGitter<zacharycarter> there is rosettacode which has a lot of nim examples on it
10:12:43FromGitter<zacharycarter> but I'm not aware of any nim recipe site atm
10:15:52FromGitter<zacharycarter> ooo is choosenim released now @dom96 ?
10:16:00FromGitter<zacharycarter> I just saw a link to it on reddit
10:18:26FromGitter<zacharycarter> Does anyone know why linking secondary dependencies is different on ubuntu vs other distros?
10:18:58DebugDude12in which regard?
10:20:41FromGitter<zacharycarter> I'm linking to this library bgfx, which references this one opengl function
10:20:54FromGitter<zacharycarter> https://github.com/bkaradzic/bgfx/blob/master/src/glcontext_glx.cpp#L113
10:22:19FromGitter<zacharycarter> give me one second I'm just verifying something
10:23:25FromGitter<zacharycarter> okay yeah
10:23:34FromGitter<zacharycarter> so in like debian for instance - I don't even have to specifically link OpenGL
10:24:08FromGitter<zacharycarter> actually nevermind I do
10:24:10FromGitter<zacharycarter> BUT
10:24:53FromGitter<zacharycarter> I can link it with after bgfx, I guess Ubuntu is strict in regards to linking order
10:25:23DebugDude12they may just use different versions of some linker
10:25:48FromGitter<zacharycarter> either way it's super annoying
10:25:57DebugDude12the same way tar expects the --exclude args BEFORE the dir to pack, on older versions its the other way around <.<
10:26:20FromGitter<zacharycarter> well I don't know a good way to solve this besides overlinking bgfx
10:26:37FromGitter<zacharycarter> and then to do that I have to somehow detect when bgfx is being compiled on ubuntu vs other distros
10:27:00FromGitter<zacharycarter> unless I can somehow tell nim compiler to link OpenGL first
10:27:06*yglukhov quit (Remote host closed the connection)
10:27:09FromGitter<zacharycarter> tell the nim compiler to tell the linker
10:27:10FromGitter<zacharycarter> gah
10:30:18FromGitter<zacharycarter> I think it might all have to do with
10:30:23FromGitter<zacharycarter> https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition
10:33:20DebugDude12I guess i shouldn't use withFoo(body) style templates in modules that define objects :S
10:34:49DebugDude12Can i unbind symbols in a better way than shadowing them with some incompatible value?
10:36:47FromGitter<zacharycarter> not sure
10:36:50*yglukhov joined #nim
10:51:39*yglukhov quit (Remote host closed the connection)
11:06:41ldleworkhttps://gfycat.com/YearlyGivingBonobo
11:28:14*Matthias247 joined #nim
11:34:33*nsf joined #nim
11:38:46*Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif)
11:50:04zachcarterany opinions on this section of the docs page: http://fragworks.io/documentation/examples/ ?
11:50:06zachcartertoo many tabs?
11:56:38FromGitter<stisa> zachcarter : yeah, I feel 3 levels of tabs is too much
11:56:40DebugDude12If a template returns a typed block, does it mean it gets resolved there?
11:57:16zachcarterstisa: I’m thinking the same thing, just can’t think of a better way to organize it
11:58:37FromGitter<stisa> not sure either, maybe a top level tab "Examples" with screenshots and run instructions?
11:59:06zachcartermaybe
11:59:55zachcarteryeah that’s probably the right way
12:05:54*Vladar joined #nim
12:10:54*yglukhov joined #nim
12:13:36*yglukhov quit (Remote host closed the connection)
12:17:39*yglukhov joined #nim
12:21:25*yglukhov quit (Remote host closed the connection)
12:29:11*yglukhov joined #nim
12:34:18*bjz quit (Remote host closed the connection)
12:43:09*dddddd joined #nim
13:06:35DebugDude12Should i wrap templates that declare dummy variables in a block statement, or is the name-wrangling reliable enough?
13:07:37*Arrrr joined #nim
13:07:37*Arrrr quit (Changing host)
13:07:37*Arrrr joined #nim
13:10:37FromGitter<stisa> DebugDude12 : If you aren't using dirty or inject, variables declared in templates aren't accessible out of them, see https://nim-lang.org/docs/manual.html#templates-hygiene-in-templates
13:10:50FromGitter<stisa> or are you talking about something else?
13:12:43DebugDude12Im asking if they are still declared under a wrangled name, in which case a block: could keep them local
13:23:24*DebugDude12 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
13:25:06BennyElg_:))
13:30:53*pie_ joined #nim
13:38:41*pie_ quit (Quit: Leaving)
13:39:05*pie_ joined #nim
13:41:26*arnetheduck quit (Remote host closed the connection)
13:49:04*PMunch joined #nim
14:15:45*Sembei joined #nim
14:37:53*Tiberium quit (Remote host closed the connection)
14:38:22*Tiberium joined #nim
14:50:41*PMunch quit (Quit: leaving)
15:00:10*nsf quit (Quit: WeeChat 1.7.1)
15:28:21*couven92 quit (Quit: Client Disconnecting)
15:30:03*BennyElg_ quit (Remote host closed the connection)
15:30:29*BennyElg joined #nim
15:34:45*BennyElg quit (Ping timeout: 240 seconds)
15:48:32Tiberiumhmm, just curious - can I create an array with range from 0 to 1000000? not seq, but an array
15:53:16FromGitter<ftsf> are return value and setting result supposed to be equivalent? i'm seeing different behaviour if i make a function that sets result compared with one that returns a new variable but is otherwise the same.
15:54:29euantorYes, result and return should be the same
15:54:56euantorTiberium: Sure you can, just make an array sized 1000001 and fill it with values
15:55:44FromGitter<ftsf> euantor, that's what i thought. https://gist.github.com/ftsf/62107e4a1d5a00462ead75dc4dd96cf8 this code gives different results depending on which function is used =\
15:57:02FromGitter<ftsf> i can't figure out why the copyPolyBroken one returns a sequence with every second element being 0,0
15:57:38euantorInteresting, I'm not sure why that would be either
15:58:19euantorWhat does the seq look like before the return?
15:58:28FromGitter<ftsf> before return it looks correct
15:58:45FromGitter<ftsf> only checking it afterwards from outside the function does it have the missing data
15:58:58Tiberiumeuantor, ehm, C compiler gives me four errors, first one: "error: size of array ‘TY_y3BV9aZfMrPOlx74qU9cj8xg’ is too large"
15:59:26Tiberiumlol, but it compiles with cpp
15:59:28euantorProbably because array is on the stack and is too long I'd guess
15:59:37euantorI could be entirely wrong though
15:59:47Tiberiumor no, it doesn
15:59:48Tiberiumt
16:00:15euantorhttp://stackoverflow.com/a/18372236/951577
16:04:37euantorftsf: This minimal test case seems to work: https://glot.io/snippets/epn1mmkive
16:04:47euantorWhat type is Vec2f?
16:06:49*Trustable joined #nim
16:09:28FromGitter<ftsf> glm Vec2f which is Vec[2, float32] where Vec[N: static[int]], T] = object: arr: array[N,T]
16:13:00euantorNo idea then I'm afraid
16:16:13FromGitter<ftsf> interesting, seems like it might be a problem with the glm module...
16:16:29FromGitter<ftsf> i copied the bits i'm using out into that file and it worked fine
16:16:37FromGitter<ftsf> but if i import it it breaks
16:23:06*yglukhov quit (Remote host closed the connection)
16:29:25*nsf joined #nim
16:48:21TiberiumCan someone try to reproduce https://github.com/nim-lang/nimsuggest/issues/61 ?
16:49:42*rauss joined #nim
17:05:24subsetparkTiberium: same here
17:20:31*vlad1777d quit (Quit: Leaving)
17:23:36*yglukhov joined #nim
17:27:44*yglukhov quit (Ping timeout: 245 seconds)
17:28:42Tiberiumsubsetpark, ok, thanks, at least it's not caused by my environment :)
17:29:28Tiberiumbut I can't use nimsuggest in my project because of this :(
17:35:14FromGitter<maiermic> FYI, I've added my question on SO: http://stackoverflow.com/questions/43834584/how-to-concat-two-arrays-in-nim
17:44:56*scriptkiddy joined #nim
17:45:22scriptkiddyanyone available to help with an asynchttpserver question?
17:59:49*couven92 joined #nim
18:09:23*yglukhov joined #nim
18:14:24scriptkiddyhello
18:15:24Arrrrlol
18:15:38ArrrrI have no experience with async, maybe dom96 is around here?
18:16:08scriptkiddythat would be cool. I asked on the forums as well.
18:17:16ArrrrThe "template/generic instantiation from here" is not an error, don't worry
18:17:23ArrrrIs there for informative purposes
18:17:47ArrrrI don't know why nimsuggest complains though.
18:18:44scriptkiddyOK, that's good.
18:18:52scriptkiddyMight be my editor tbh.
18:18:58scriptkiddyI'm using micro
18:20:36Tiberiumif I have seq[string], how can I get "string" type?
18:20:42Tiberiuminside generic proc
18:21:16scriptkiddyTiberium, can you post a link to your code on pastebin/
18:21:53Tiberiumscriptkiddy, ah, nevermind, I solved it: I don't need to do it this way :)
18:22:26scriptkiddygood to hear
18:22:35*yglukhov quit (Remote host closed the connection)
18:24:18demi-scriptkiddy: i implemented the support for the nim linter in micro, that is a warning, not an error
18:26:49scriptkiddydemi-, cool.
18:26:54scriptkiddythanks for your work btw
18:27:12def-Tiberium: type(x[0]) maybe
18:33:37demi-scriptkiddy: i'm planning on getting nim-suggested implemented as well, but that is blocked on some support micro needs to provide
18:34:19scriptkiddydemi-, I wish I could help, but I'm not familiar with Go.
18:35:20*gokr joined #nim
18:41:00*vlad1777d joined #nim
18:44:21*yglukhov joined #nim
19:00:36*Arrrr quit (Ping timeout: 260 seconds)
19:00:40*yglukhov quit (Remote host closed the connection)
19:08:47*Arrrr joined #nim
19:10:20*BennyElg joined #nim
19:22:53*PMunch joined #nim
19:30:19*Arrrr quit (Ping timeout: 264 seconds)
19:51:57fvsCan js dom be used for touch-enabled mobile apps? I see it has a Touch object but no events: touchstart, touchmove, etc. Haven't seen any examples.
19:58:05*Vladar quit (Quit: Leaving)
20:09:31*yglukhov joined #nim
20:09:48scriptkiddyfvs, That probably has more to do with a browser/runtime's implementation of js events.
20:24:37*Sentreen quit (Ping timeout: 240 seconds)
20:35:19dom96fvs: yes, it can. My snake game supports touch
20:36:03dom96https://github.com/dom96/snake/blob/master/snake/touch.nim and https://github.com/dom96/snake/blob/master/snake.nim#L35
20:38:18*Sentreen joined #nim
20:44:37*nsf quit (Quit: WeeChat 1.7.1)
20:49:17*hust921 left #nim ("Leaving")
20:49:18scriptkiddyAnyone familiar with using procvars?
20:50:56scriptkiddyI have an object that has 4 attributes that are of `proc` type.
20:51:27scriptkiddyI want to initialize the object with a default proc in it's constructor proc
20:52:05scriptkiddyhowever, when I try to pass the function as the default argument, i get an error saying that I can pass the proc as a procvar
20:52:14scriptkiddy*can't pass
20:53:02scriptkiddyIf i alias the proc with a variable, there is no issue
20:54:20*Trustable quit (Remote host closed the connection)
20:55:09scriptkiddyis this the accepted solution?
20:57:01*byte512 quit (Ping timeout: 255 seconds)
21:07:10dom96scriptkiddy: you can mark your proc with the {.procvar.} pragma https://nim-lang.org/docs/manual.html#pragmas-procvar-pragma
21:08:35ldleworkdid anyone see my AI?
21:08:57dom96Did it become sentient and run away?
21:09:08scriptkiddydom96, I did try that. Still gave an error.
21:09:17scriptkiddythe function signature looks like this:
21:09:36dom96Anybody with emscripten + Nim experience can answer this? http://stackoverflow.com/questions/43830559/using-strings-in-nim-with-emscripten-causes-javascript-error
21:09:41ldleworkdom96, hehe they don't need sentience for that
21:09:43scriptkiddyproc notFoundHandler(req: Request) {.async, procvar.}
21:10:18dom96scriptkiddy: try: proc notFoundHandler(req: Request): Future[void] {.procvar.} instead
21:10:33scriptkiddyI'll giv it a shot.
21:12:40scriptkiddydom96, That's strange. now im getting another error where `await` in the function body is an undeclared identifier. asyncdispatch is imported.
21:13:23dom96yes, well, use the {.async.} pragma on the proc but not on the proc type definition
21:13:25Tiberiumldlework, can you give a link?
21:13:44scriptkiddyI see.
21:14:06ldleworkhttps://gfycat.com/YearlyGivingBonobo
21:16:22Tiberiumldlework, ah I saw it
21:16:25scriptkiddyIdl
21:16:32Tiberiumldlework, now do it in Nim :)
21:16:36scriptkiddyldlework, That's pretty cool.
21:16:37ldleworkNah
21:16:54ldleworkC# is a great language.
21:17:07scriptkiddyHave you tried it with obstacles the monster things have to navigate arround?
21:17:18ldleworkSure, they are navmesh agents so they do that automatically
21:17:30ldleworkI will eventually hook up AStar
21:17:51ldlework(For dynamic obstacles)
21:18:11ldleworkThough, I'm not sure what I'll actually need that for.
21:18:22scriptkiddyAre you using it for a game or something?
21:18:32ldleworkYeah I'm making a VR title I hope to release on Steam
21:19:19scriptkiddyNice. Game programming is something I've never gotten into, but it seems like it could be an interesting challenge.
21:22:50ldleworkI like it because generally it involves everything software engineering has to offer.
21:23:17scriptkiddyIt seems like one of the few places where you actually get to use fancy algorithms.
21:23:54ldleworkWell I would say that gamedev is definitely one of the less ... rigorous fields overall.
21:23:58ldleworkOn the curve at least.
21:27:52scriptkiddyI tried using godot once. I manged to make pong...
21:35:35*yglukhov quit (Remote host closed the connection)
21:51:24*zachcarter quit (Quit: zachcarter)
22:04:53*fvs left #nim ("leaving")
22:05:14FromGitter<Varriount> ldlework: What about all that opengl and matrices stuff
22:05:31ldleworkVarriount?
22:06:14FromGitter<Varriount> Yes?
22:08:56FromGitter<Varriount> ldlework: Yes?
22:09:25ldleworkI don't understand your question
22:09:36ldleworkWhat about it?
22:10:23FromGitter<Varriount> I mean, aren't those fairly rigorous parts of game development?
22:11:44*xet7 quit (Quit: Leaving)
22:12:50*xet7 joined #nim
22:12:56*Rush_ joined #nim
22:13:46*Tiberium quit (Quit: Leaving)
22:15:57ldleworkSure but compared to the number of people doing game development the number of people writing low-level graphics code is low
22:16:17ldleworkThe number of produced implementations along the lines of UE4 or down to libgdx is even far smaller
22:17:27ldleworkBasically, if you combine the two things I've said so far, Game Development is both rich with software-engineering opportunity and filled with so little of it.
22:17:43FromGitter<Varriount> It's a paradox!
22:20:56*pigmej_ joined #nim
22:21:00*hlt joined #nim
22:22:26*scriptkiddy quit (*.net *.split)
22:22:26*EastByte quit (*.net *.split)
22:22:26*m712 quit (*.net *.split)
22:22:26*pigmej quit (*.net *.split)
22:22:26*RushPL quit (*.net *.split)
22:22:26*jtremback_____ quit (*.net *.split)
22:22:27*pigmej_ is now known as pigmej
22:22:31*hlt is now known as m712
22:27:42*Jesin joined #nim
22:37:17*scriptkiddy joined #nim
22:42:01*vlad1777d quit (Quit: Leaving)
22:42:38*EastByte joined #nim
22:42:38*jtremback_____ joined #nim
22:46:12*zachcarter joined #nim
22:46:22FromGitter<zacharycarter> No more nim Idlework?
22:48:00FromGitter<zacharycarter> Also there's a new siggraph AI that's pretty mindblowing : https://youtu.be/5YvIHREdVX4?t=149
22:57:37PMunchHmm, the json module documentation should really mention that parseJson can throw a JsonParsingError
22:57:56PMunchI had to write a dumb example to figure out what it would raise..
22:58:54FromGitter<zacharycarter> I don't want to speak for @dom96 or @Araq but I think their answer is usually: please add it PMunch
22:59:06PMunchHaha, I guess you're right :P
22:59:24FromGitter<zacharycarter> :P
22:59:38PMunchI'll have to do that some other time though. Now I just need to get this done..
23:01:56FromGitter<stisa> PMunch: I'm pretty sure parseJson is already annotated with ` raises: [Exception, Exception, ValueError, JsonParsingError]`, isn't it?
23:02:33PMunchhttps://github.com/nim-lang/Nim/blob/master/lib/pure/json.nim#L1175
23:02:34PMunchNope
23:02:40PMunchUnfortunately..
23:03:02PMunchWait, ValueError as well?
23:03:18dom96PMunch: https://nim-lang.org/docs/json.html#parseJson,Stream,string
23:03:22dom96Click the {..}
23:03:34*Matthias247 quit (Read error: Connection reset by peer)
23:03:53PMunchWhat!? That's a feature??
23:04:16PMunchThat should be made way more visible..
23:09:07dom96Yeah... I argee.
23:09:09dom96*agree
23:13:11demi-i'd suggest it be made visible by default, i thought that was just some syntactic design
23:16:15*rauss quit (Quit: WeeChat 1.7.1)
23:16:27*rauss joined #nim
23:23:32*gokr quit (Ping timeout: 240 seconds)
23:23:49PMunchdemi-, well that might look really messy for some procedures..
23:24:33*Tiberium joined #nim
23:25:04PMunchIf I'm just seeing what procedures are available I don't care what all the procedures can raise.
23:52:32PMunchHow can I get rid of ProveField warnings when using the json module?
23:52:55PMunchI've got all my access wrapped in a try except and even use data.hasKey..
23:56:47TiberiumPMunch, just disable them? :D
23:56:57PMunchHaha, I guess :P
23:57:51PMunchHmm, does jester terminate a route after a resp?
23:58:05PMunchie is that a return of sorts?