<< 26-10-2016 >>

00:00:08*elrood quit (Quit: Leaving)
00:12:09*Demon_Fox quit (Read error: Connection reset by peer)
00:40:12*chemist69 quit (Ping timeout: 250 seconds)
00:40:47*chemist69 joined #nim
00:47:22*couven92 quit (Quit: Client disconnecting)
00:55:47*libman quit (Remote host closed the connection)
01:00:27*dmi0 quit (Remote host closed the connection)
01:00:54*dmi0 joined #nim
01:03:05*yglukhov joined #nim
01:04:57*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
01:06:43*gokr quit (Ping timeout: 245 seconds)
01:07:27*yglukhov quit (Ping timeout: 252 seconds)
01:12:16*ludocode quit (Ping timeout: 260 seconds)
01:17:02*Xe quit (Ping timeout: 250 seconds)
01:18:48*chemist69 quit (Ping timeout: 245 seconds)
01:21:32*Xe joined #nim
01:32:29*chemist69 joined #nim
01:35:40*EastByte quit (Ping timeout: 250 seconds)
01:36:02*EastByte joined #nim
01:54:36*dddddd quit (Remote host closed the connection)
01:55:36*OnO quit (Ping timeout: 250 seconds)
01:55:43*OnO joined #nim
02:07:45*ftsf joined #nim
02:10:00*ftsf quit (Client Quit)
02:17:34*AckZ joined #nim
02:45:52FromGitter<GraydenH> gcc.exe: error: c:\users\grayden\documents\work\nim\nimxtest\nimcache\ttf_ttf.o: No such file or directory ->on windows
02:46:12FromGitter<GraydenH> what is that all about
02:52:11*dmi0 quit (Ping timeout: 256 seconds)
02:58:52*pie_ quit (Ping timeout: 256 seconds)
03:04:35*yglukhov joined #nim
03:09:11*yglukhov quit (Ping timeout: 256 seconds)
03:38:27FromGitter<GraydenH> fatal error: GL/gl.h: N ⏎ o such file or directory ⏎ #include <GL/gl.h> on windows and linux
03:38:55FromGitter<GraydenH> pretty sure this isn't my fault at this point
03:39:30FromGitter<GraydenH> seems like the mingw compiler doesn't have opengl
03:41:45FromGitter<GraydenH> can anyone else do `nimble install nim-glfw` and then run a nim file that just opens it
04:18:30*pecan joined #nim
05:06:18*yglukhov joined #nim
05:09:02*bjz joined #nim
05:10:46*yglukhov quit (Ping timeout: 250 seconds)
05:16:56*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:28:25*bjz joined #nim
05:32:01*MyMind joined #nim
05:35:07*Sembei quit (Ping timeout: 252 seconds)
06:07:51*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
06:26:25*nsf joined #nim
06:29:43*ludocode joined #nim
06:35:43*Matthias247 joined #nim
06:59:38*astocko quit (Quit: ZNC 1.6.3+deb1+trusty0 - http://znc.in)
07:00:58*Trustable joined #nim
07:01:35*Arrrr joined #nim
07:08:34*HakanD__ joined #nim
07:11:21*couven92 joined #nim
07:13:06*yglukhov joined #nim
07:13:23*Arrrr quit (Ping timeout: 252 seconds)
07:13:45*yglukhov quit (Remote host closed the connection)
07:14:00*yglukhov joined #nim
07:14:05*yglukhov quit (Remote host closed the connection)
07:15:05*yglukhov joined #nim
07:15:12*yglukhov quit (Client Quit)
07:30:36*bjz joined #nim
07:38:38*GustavoLapasta joined #nim
07:40:04*gokr joined #nim
07:51:10*gokr quit (Remote host closed the connection)
07:52:34*gokr joined #nim
07:57:34*Andris_zbx joined #nim
07:57:41*yglukhov joined #nim
08:00:35*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:55:52FromGitter<Araq> when I wrote the ogl wrapper I made sure it doesn't depend on fucking header files.
08:56:01FromGitter<Araq> Good they are back. -.-
09:02:11*bjz joined #nim
09:07:03*yglukhov quit (Ping timeout: 252 seconds)
09:10:03*yglukhov joined #nim
09:10:13*PMunch joined #nim
09:14:12*pie_ joined #nim
09:40:36*Arrrr joined #nim
09:45:36*Arrrr quit (Ping timeout: 260 seconds)
09:52:08*desophos quit (Read error: Connection reset by peer)
09:53:56*Arrrr joined #nim
09:56:29*dmi0 joined #nim
10:00:19*Arrrr quit (Ping timeout: 276 seconds)
10:01:30*yglukhov quit (Remote host closed the connection)
10:03:43*yglukhov joined #nim
10:36:28*bjz quit (Ping timeout: 250 seconds)
10:36:58*bjz joined #nim
10:59:09*dmi0 quit (Ping timeout: 260 seconds)
11:03:14*Snircle joined #nim
11:04:38*couven92 quit (Quit: Client disconnecting)
11:08:07*GustavoLapasta quit (Quit: Leaving)
11:21:16*elrood joined #nim
11:27:50*mitai joined #nim
11:33:10arnetheduck_if I stick a cfg file in a folder, will that cfg file be used even if it's a different folder than the project? ie can I create a module that adds some include paths of its own?
11:35:33Araqno.
11:35:47Araqonly the main module determines the configuration
11:35:56Araqfor the other stuff we have pragmas
11:50:27*irrequietus joined #nim
12:07:48FromGitter<nigredo-tori> кшсрьщтв
12:24:19*irrequietus quit (Ping timeout: 252 seconds)
12:25:51*dmi0 joined #nim
12:26:06*irrequietus joined #nim
12:35:53*chemist69 quit (Ping timeout: 245 seconds)
12:37:57*HakanD____ joined #nim
12:40:50*HakanD__ quit (Ping timeout: 256 seconds)
12:56:16*samuell joined #nim
13:01:04*yglukhov_ joined #nim
13:03:09*chemist69 joined #nim
13:04:16*yglukhov quit (Ping timeout: 276 seconds)
13:07:56*yglukhov_ quit (Remote host closed the connection)
13:08:49*yglukhov joined #nim
13:14:51*yglukhov quit (Remote host closed the connection)
13:17:01*yglukhov joined #nim
13:22:47*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:28:22*HakanD____ quit (Quit: Be back later ...)
13:28:49*HakanD____ joined #nim
13:31:15*jivank_ joined #nim
13:32:58*HakanD____ quit (Ping timeout: 244 seconds)
13:41:19*gokr quit (Ping timeout: 276 seconds)
13:42:43*Senketsu joined #nim
13:43:27*nsf quit (Quit: WeeChat 1.6)
14:19:08*couven92 joined #nim
14:24:45*throwaway3748 joined #nim
14:27:21*fredrik92 joined #nim
14:27:21*fredrik92 quit (Client Quit)
14:27:29*couven92 quit (Read error: Connection reset by peer)
14:27:30*michael_campbell joined #nim
14:33:38*couven92 joined #nim
14:43:42*desophos joined #nim
14:57:23*throwaway3748 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
15:15:11*yglukhov quit (Ping timeout: 252 seconds)
15:15:32*pregressive joined #nim
15:32:35FromGitter<GraydenH> It seems like it checks each dir in the whole path for the nim.cfg
15:34:16FromGitter<GraydenH> E.i. if you compile in ~/work/nim and there is a cfg file in ~ it will use it
15:34:53FromGitter<GraydenH> Guess it is so you can use 1 cfg for multiple projects?
15:39:32*jh32 joined #nim
15:40:56*pregressive quit (Read error: Connection reset by peer)
15:41:13*Sentreen quit (Quit: WeeChat 1.4)
15:41:24*pregressive joined #nim
15:43:33*Sentreen joined #nim
15:54:07*Andris_zbx quit (Remote host closed the connection)
15:56:15*gokr joined #nim
16:06:36FromGitter<Araq> @GraydenH yes, it's also documented behaviour.
16:15:15federico3an interesting source of tests for the JSON parser http://seriot.ch/parsing_json.html
16:22:15dom96federico3: would be awesome to have these in our test suite
16:27:05federico3yep
16:37:54*yglukhov joined #nim
16:38:02*kulelu88 joined #nim
16:42:09*chemist69 quit (Ping timeout: 260 seconds)
16:42:40*yglukhov quit (Ping timeout: 276 seconds)
16:43:55*irrequietus quit (Ping timeout: 252 seconds)
16:44:27*chemist69 joined #nim
16:49:02*yglukhov joined #nim
16:52:06*nsf joined #nim
17:00:16*samuell quit (Quit: Hejdå)
17:02:08*gokr quit (Ping timeout: 250 seconds)
17:03:43*HakanD joined #nim
17:07:05*libman joined #nim
17:19:13*Amun_Ra quit (Ping timeout: 245 seconds)
17:27:53*Amun_Ra joined #nim
17:28:07*rtr_ joined #nim
17:40:26*Trustable quit (Remote host closed the connection)
17:49:48dom96I must say, I am impressed that this works inside a .nimble file https://gist.github.com/dom96/21692ee11d9f606bc06edd6be786c63f
17:50:49yglukhovdom96: Hi. Could you please merge my pr to nim?
17:52:03dom96done
17:53:25yglukhovthank you
17:54:29*AckZ quit ()
18:03:04*mitai quit (Remote host closed the connection)
18:03:17kulelu88how production-ready is Nims async lib?
18:03:29*mitai joined #nim
18:04:18dom96kulelu88: about 90% ready, I would say.
18:04:47kulelu88dom96: performance wise, how many IO requests can I make to a redis key-value store p/sec ?
18:05:27dom96Good question and I don't have an answer I'm afraid.
18:05:30Araqmore than you need.
18:05:54kulelu88Araq: I need at least 100,000+
18:05:54dom96kulelu88: What are you planning to write?
18:06:27kulelu88dom96: I've already written my service in Python. I want to evaluate if using Falcon with GEvent or Nim with async would be better for performance
18:06:37yglukhovkulelu88: there's an aync redis driver for nim, you can try that.
18:06:38federico3dom96: heh, so far the json tests never crashed Nim
18:06:49dom96federico3: :D
18:07:01kulelu88for real? yglukhov oh my, that is awesome news
18:07:15dom96I didn't even know there was an async redis driver.
18:07:17dom96Nice.
18:07:36yglukhovkulelu88: https://github.com/sspkrolik/asyncredis
18:07:47dom96Out of curiosity, why are you considering Nim and Falcon, and not something like Rust or Go?
18:08:26dom96yglukhov: done any benchmarks?
18:09:10yglukhovdom96: nope.
18:10:14kulelu88dom96: well Falcon is Python, so I will essentially just be porting over Flask code to Falcon. As far as Nim goes, I see it as the language that I can most comfortably move over to from Python (I know there is Go, but I don't really like that community and their attitude)
18:11:05dom96oh, I thought you meant http://www.falconpl.org/ :)
18:11:24yglukhovhonestly though i don't think there's a reason for nim to lag behind some top performers. of course there may be some performance bugs to fix, but other than that nim should be really fast.
18:12:21yglukhov... saying obvious things, sorry ... =)
18:12:54dom96So... should I be worried that this Nimble bug has been hidden for a year and nobody noticed it?
18:13:21kulelu88is falconpl like Lua? looks like another dynamic language
18:13:22dom96I guess packages which have two levels of dependencies don't happen often
18:13:23dom96but still
18:13:51yglukhovdom96: which bug are talking about?
18:14:17dom96The one GraydenH ran into
18:14:39dom96A package that depends on nimx cannot be built via `nimble c` or `nimble build`
18:14:43dom96as an example
18:14:46Araqdom96: you should be worried that I wrote a better tool in a single afternoon.
18:14:54Araqnah, just kidding.
18:15:10Araqbut somebody needs to test and polish my nawabs
18:15:30yglukhovdom96: dunno, dont use nimble build...
18:15:59Araqdom96: yeah 'nimble build' is too unknown. but it's awesome
18:16:14Araqtook me long to get its point.
18:17:32dom96Most people don't put their binary packages into Nimble I guess
18:17:41dom96it's 99% libraries
18:17:49dom96and those don't need `nimble build`
18:18:15kulelu88is it possible to merge this: https://github.com/sspkrolik/asyncredis with this: https://github.com/rgv151/telebot.nim . By 'merge' , I mean use async redis with async telegram ?
18:20:08dom96Yeah
18:20:33dom96Unless one of those libraries has a flaw :)
18:25:08dom96federico3: so how many are we failing?
18:25:36*HakanD quit (Quit: Be back later ...)
18:31:51dom96Anybody got a project that could use some easy PRs? I need to contribute to something for Hacktoberfest.
18:32:10AraqI have written a compiler.
18:32:21Araqsome isses are marked as 'esay'
18:34:53kulelu88for your free tshirt? dom96
18:35:35dom96kulelu88: of course :P
18:37:19Araqnobody is interested in my nawabs
18:37:42*krux02 joined #nim
18:38:21cheatfateAraq, i'm just waiting when you replace nimble :)
18:38:27*vendethiel joined #nim
18:38:42Araqnimble is about package management.
18:39:01Araqnawabs is about anti package management.
18:39:02*confundus joined #nim
18:39:07cheatfatewhat is `package`? and what is `management`?
18:40:09cheatfatefor all time i'm using nim i have never used package manager :)
18:40:32krux02https://github.com/whyrusleeping/gx
18:40:52Araqa package is what you use when you don't push your changes into Nim core by blackmailing its core devs
18:40:54krux02not evaluated, but claims to be independent of language
18:41:04Araq:P
18:41:48cheatfateblackmailing?
18:43:16krux02it might be an easier solution to configure gx to be used with nim, that fixing what is not loved in nimble.
18:43:45cheatfatemy first and last experience to pushing package to nimble convince me not to use it at all
18:44:26krux02cheatfate, maybe you can configure gx to be the ultimate nim package manager
18:44:42krux02I mean packaging software is a known problem, why not use a solution from the self
18:44:43AraqOnce thats installed, use gx like normal to import dependencies. You can import code from the vendor directory using:
18:44:44Araqimport "gx/ipfs/<hash>/packagename"
18:44:46Araqfor example, if i have a package foobar, you can import with gx it like so:
18:44:47Araq$ gx import QmR5FHS9TpLbL9oYY8ZDR3A7UWcHTBawU1FJ6pu9SvTcPa
18:44:49AraqAnd then in your go code, you can use it with:
18:44:50Araqimport "gx/ipfs/QmR5FHS9TpLbL9oYY8ZDR3A7UWcHTBawU1FJ6pu9SvTcPa/foobar"
18:45:09cheatfatei think 30% talks on IRC about `omg, i can't install opengl via nimble, or i can't install <anyotherpackage>`
18:45:46Araq^ yeah, instead lets fix gx to not use hashes
18:46:16cheatfateAraq, i do not trust `ipfs` too
18:46:18Araqoh the simplicity of turning human beings into robots
18:47:08Araqis there anything in Goland that doesn't work by brute force?
18:48:36krux02I would not hate too much on Go, I know it's not your favorite language, but I like to copy from it what it does right instead of alienating it.
18:49:10Araqyeah, I haven't yet found what it does right.
18:49:22cheatfatekrux02, `Go` is made by `Evil` Corp :)
18:49:36krux02yes, so are c++ compilers
18:49:45Araqthe whole design is a single big argument from authority.
18:49:45krux02and javascript backends
18:51:29krux02Araq: yes, so is nim, just in this case the authority is you.
18:52:30*confundus quit (Quit: leaving)
18:52:37krux02I also don't really want to argue about weather go is good or not
18:52:49kulelu88the amount of logical changes Araq has made from valuable input from the community suggests that he is *not* that authoritative
18:53:13Araqno, I'm not telling my users to conflate type hiearchies with type parametrization just to have better arguments at hand why my language lacks generics.
18:53:15krux02I can only repeat myself, if I think go would be the holy grail of programming, I would not looked for other programming languages like nim
18:54:07AraqI'm also not demonizing 'assert' or exceptions
18:54:44krux02But I have the feeling you are demonizing go
18:55:41Araqno, I simply don't see a single feature in Go that is worth stealing.
18:56:27*PMunch quit (Quit: leaving)
18:56:39Araqand I am sick and tired of this whole "let's use xyz instead of writing our own"
18:57:41krux02that's ok, as long as you are open to the inividual features
18:57:54Araqwhy develop a new programming language then?
18:58:48Araqyes, using existing software is less work than writing software. We enjoy writing software though. And we especially enjoy writing Nim.
18:59:01Araqhence Nimble, written in Nim.
18:59:46krux02there is no problem with that, but for example scala could only be successful as it is right now, because it is so compatible with software that exists in java
18:59:54FromGitter<GraydenH> Go is opinionated in the extreme, not a good candidate for looking for features to include from
19:02:37krux02No I am not here to talk about go
19:03:21krux02I am here to talk about an issue I opened today
19:03:49krux02even though I still think you should reconcider weather your bahavior really is wise
19:03:55Araq"i think 30% talks on IRC about `omg, i can't install opengl via nimble, or i can't install <anyotherpackage>`" this is simply not true.
19:05:18krux02I also don't want to demonize nimble, I think it's ok
19:05:22krux02I can install packages
19:05:27krux02and they work
19:05:29Araqkrux02: how can Nim be an argument from authority when I have no authority.
19:06:01krux02that argument was not my most serious one
19:06:49krux02but I think you are the leading person in the nim development, and without you the project could easily die.
19:07:45dom96"I also don't want to demonize nimble, I think it's ok" yay.
19:08:03dom96For the amount of time I have for Nimble it's IMO quite an achievement that it's "ok"
19:08:25krux02dom96: you have results from the community survey, it's ok
19:08:43*couven92 quit (Read error: Connection reset by peer)
19:08:53dom96Actually IIRC it's better than ok
19:09:43Araqkrux02: ok, so what do you want to talk about?
19:09:59dom96yep, http://nim-lang.org/assets/news/images/survey/nimble_opinion.png
19:10:29*irrequietus joined #nim
19:10:32Araqand is there some progress on the destructor design?
19:10:33krux02https://github.com/nim-lang/Nim/issues/4957
19:10:42*irrequietus quit (Changing host)
19:10:42*irrequietus joined #nim
19:11:25dom96Hrm, I think people don't use Nimble enough. It doesn't deserve a 4
19:11:47krux02I am thinking about them, because I really want that neither seq nor string have gc dependency, but the problem is I never wrote a compiler I don't know about the true problems that may arise
19:12:36dom96Araq: Problem with Nim is that I have write access so why would I create PRs?
19:12:53krux02my current thoughts go in the direction of using swap for ownership movement to avoid the weird states of objects being "moved from"
19:13:14Araqyou're not alone, in fact, zahary agrees with you. and hopefully he will be able to invest more time in Nim development again soon
19:13:34Araqdom96: to get code reviews from me
19:15:13krux02Araq: I wrote some code that does some string comparisons at compile time for my DSL
19:16:30krux02it took a long time to find out what the real problem was, until I realized, that I cant do `static: echo cmp("a","b")`
19:18:14Araqso patch it to use 'when nimvm'
19:18:49Araqthis problem has a specialized solution in the compiler
19:19:13Araqwhere we delay 'when' evaluation until code generation.
19:20:11*nsf quit (Quit: WeeChat 1.6)
19:20:14krux02ok, do I have to move the when into the function body then?
19:20:31Araqyes
19:20:48*Jesin joined #nim
19:22:03Araqkrux02: you don't have to implement your destructor proposal nor think too hard about compiler dev. I will review your proposal and complain if it's too complex to implement :P
19:22:19Araqbut I like to review documents that are considered finished/complete.
19:22:39krux02Ok, at the current state it is not finished/complete
19:25:03krux02But at the moment I really like the idea of using swap instead of introducing a move operator
19:25:34Araqswap ensures linear typing
19:25:39AraqI think.
19:25:50Araqyou might be onto something here, yeah.
19:27:16krux02what is linear typing?
19:28:21Araqwikipedia should be able to explain better than me
19:37:27krux02ok, yes I think swap is not able to duplicate states
19:43:46*couven92 joined #nim
19:59:21*dmi0 quit (Ping timeout: 252 seconds)
20:22:25krux02Araq: is there a way to implement seqToPtr on nimvm, or should I just skip it on nimvim?
20:23:06*HakanD joined #nim
20:24:35*HakanD quit (Client Quit)
20:25:10*HakanD joined #nim
20:26:37krux02does nimvim not include nimscript?
20:28:29*HakanD_ joined #nim
20:29:13*HakanD quit (Ping timeout: 245 seconds)
20:34:05*vendethiel quit (Ping timeout: 260 seconds)
20:38:19*bjz joined #nim
20:38:30*gokr joined #nim
20:42:52*pregressive quit (Read error: Connection reset by peer)
20:43:20*pregressive joined #nim
20:44:26*bjz quit (Ping timeout: 250 seconds)
20:44:36Araqkrux02: you need to find workarounds for seqToPtr, should be ok to ignore it for what it is used for
20:44:41*vendethiel joined #nim
20:46:02krux02ok I am done so far I create now a pull request
20:46:10*bjz joined #nim
20:46:25krux02I replaced it with an isNil check in case it is nimvm
20:46:58krux02when both sequences are nil, then the result is true
20:47:43Araqsounds good
20:51:11krux02meh, I have to update my git fork
20:53:40krux02I think getting my fork in sync with upstream is more work that the actual patch
20:55:00Araqgist your patch then
20:57:45kulelu88krux02: syncing with upstream is 2 commands away
20:58:09krux02I have to google it every time
20:58:30krux02I forgot to sync so I also have to rebase to new devel
20:58:38Araqgit = "google it" ?
20:58:41Araq:-)
20:58:45krux02yea
20:58:49krux02I think I got it now
21:01:53krux02git needs a "git undo" command that works every time
21:05:46krux02I think I accidentally pushed my forw to origin/master
21:05:55krux02s/forw/fork/
21:06:50*pie_ quit (Read error: Connection reset by peer)
21:07:55*pie_ joined #nim
21:09:35*FromGitter quit (Remote host closed the connection)
21:09:35*BlaXpirit quit (Quit: Bye)
21:09:51*FromGitter joined #nim
21:09:58*BlaXpirit joined #nim
21:16:02krux02yay it's done
21:18:29Araqkrux02: no test case?
21:36:22*HakanD_ quit (Quit: Be back later ...)
21:36:56*HakanD_ joined #nim
21:41:24*HakanD_ quit (Ping timeout: 260 seconds)
21:49:48krux02yea I wrote one, but did not add it
21:50:03krux02how do I add a test case in nims
21:50:10krux02so that it is actually tested?
21:50:21krux02and where should I put it
21:51:02*HakanD_ joined #nim
21:51:44Araqtests/newconfig tests .nims files
21:55:36*HakanD_ quit (Ping timeout: 256 seconds)
21:57:28*nsf joined #nim
21:59:00*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
22:05:03*PMunch joined #nim
22:11:40*pie__ joined #nim
22:12:10*pregressive quit ()
22:12:25*irrequietus quit ()
22:12:41*bjz joined #nim
22:13:27*bjz quit (Client Quit)
22:14:53*pie_ quit (Ping timeout: 260 seconds)
22:17:19*pie__ quit (Changing host)
22:17:19*pie__ joined #nim
22:21:23*yglukhov quit (Remote host closed the connection)
22:35:11*bjz joined #nim
22:42:37*confundus joined #nim
22:44:26*confundus quit (Client Quit)
22:50:59*bjz quit (Read error: Connection reset by peer)
22:51:47*HakanD_ joined #nim
22:56:21*HakanD_ quit (Ping timeout: 256 seconds)
22:56:36libmanWhat's the simplest way to parse a GMT timestamp like "2016-10-26T00:18:53+0000" to my timezone?
23:09:34*vendethiel quit (Ping timeout: 244 seconds)
23:09:47*vendethiel joined #nim
23:10:54*gokr quit (Ping timeout: 250 seconds)
23:13:52libmanCan't get neither times nor posix to work... :(
23:15:42libmanNim: 10001 features I don't need, but it doesn't have Date.parse... :(
23:17:20*Matthias247 quit (Read error: Connection reset by peer)
23:19:48*nsf quit (Quit: WeeChat 1.6)
23:21:58*yglukhov joined #nim
23:23:10Araqtimes.parse
23:26:05libmanDoesn't seem to catch time time zone in standard JSON time format.
23:26:06*yglukhov quit (Ping timeout: 244 seconds)
23:26:32Araqthere is no such thing. JSON has no time format in its spec.
23:28:41libmangetLocalTime(toTime(times.parse(timeStr, "YYYY-MM-DDThh:mm:ss+zzzz"))) => "Wed Oct 26 00:18:53 2016" # still GMT, not local time.
23:30:20libmanISO 8601 not standard?
23:31:24Araqnot part of the JSON spec.
23:32:59Trixar_zaHey Araq - can I copy my Nim folder to my laptop and just run finish.exe to get Nim on it too?
23:33:32Araqanyway, times.parse parses as the thing as your local time
23:33:49AraqTrixar_za: yup.
23:36:31libmanStill can't figure out how to get the ISO 8601 date to my local timezone (without offsetting manually). In languages like python, js, php, etc this is a no-brainer.
23:36:43*fredrik92 joined #nim
23:37:05Araqlibman: we know the times module has its problems and bugs, PRs are welcome
23:37:29*PMunch quit (Ping timeout: 260 seconds)
23:37:36*libman doesn't submit PRs because it's usually safe to assume I'm the problem.
23:37:37Trixar_zaAraq: Thanks - copying it now :P
23:37:59Araqtime handling is not exactly trivial and sometimes you get what you paid for.
23:39:56*couven92 quit (Ping timeout: 250 seconds)
23:41:49*freddy92 joined #nim
23:42:29*pie__ quit (Read error: Connection reset by peer)
23:43:23*freddy92 is now known as couven92
23:43:44*fredrik92 quit (Disconnected by services)
23:52:30*HakanD_ joined #nim
23:53:32libman`ti = ti - getTimezone().seconds` doesn't fix it either, one hour off...
23:54:37libman`ti.isDST = false` did it
23:57:42*HakanD_ quit (Ping timeout: 250 seconds)
23:58:05*rtr__ joined #nim