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:52 | FromGitter | <GraydenH> gcc.exe: error: c:\users\grayden\documents\work\nim\nimxtest\nimcache\ttf_ttf.o: No such file or directory ->on windows |
02:46:12 | FromGitter | <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:27 | FromGitter | <GraydenH> fatal error: GL/gl.h: N ⏎ o such file or directory ⏎ #include <GL/gl.h> on windows and linux |
03:38:55 | FromGitter | <GraydenH> pretty sure this isn't my fault at this point |
03:39:30 | FromGitter | <GraydenH> seems like the mingw compiler doesn't have opengl |
03:41:45 | FromGitter | <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:52 | FromGitter | <Araq> when I wrote the ogl wrapper I made sure it doesn't depend on fucking header files. |
08:56:01 | FromGitter | <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:10 | arnetheduck_ | 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:33 | Araq | no. |
11:35:47 | Araq | only the main module determines the configuration |
11:35:56 | Araq | for the other stuff we have pragmas |
11:50:27 | * | irrequietus joined #nim |
12:07:48 | FromGitter | <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:35 | FromGitter | <GraydenH> It seems like it checks each dir in the whole path for the nim.cfg |
15:34:16 | FromGitter | <GraydenH> E.i. if you compile in ~/work/nim and there is a cfg file in ~ it will use it |
15:34:53 | FromGitter | <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:36 | FromGitter | <Araq> @GraydenH yes, it's also documented behaviour. |
16:15:15 | federico3 | an interesting source of tests for the JSON parser http://seriot.ch/parsing_json.html |
16:22:15 | dom96 | federico3: would be awesome to have these in our test suite |
16:27:05 | federico3 | yep |
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:48 | dom96 | I must say, I am impressed that this works inside a .nimble file https://gist.github.com/dom96/21692ee11d9f606bc06edd6be786c63f |
17:50:49 | yglukhov | dom96: Hi. Could you please merge my pr to nim? |
17:52:03 | dom96 | done |
17:53:25 | yglukhov | thank you |
17:54:29 | * | AckZ quit () |
18:03:04 | * | mitai quit (Remote host closed the connection) |
18:03:17 | kulelu88 | how production-ready is Nims async lib? |
18:03:29 | * | mitai joined #nim |
18:04:18 | dom96 | kulelu88: about 90% ready, I would say. |
18:04:47 | kulelu88 | dom96: performance wise, how many IO requests can I make to a redis key-value store p/sec ? |
18:05:27 | dom96 | Good question and I don't have an answer I'm afraid. |
18:05:30 | Araq | more than you need. |
18:05:54 | kulelu88 | Araq: I need at least 100,000+ |
18:05:54 | dom96 | kulelu88: What are you planning to write? |
18:06:27 | kulelu88 | dom96: 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:37 | yglukhov | kulelu88: there's an aync redis driver for nim, you can try that. |
18:06:38 | federico3 | dom96: heh, so far the json tests never crashed Nim |
18:06:49 | dom96 | federico3: :D |
18:07:01 | kulelu88 | for real? yglukhov oh my, that is awesome news |
18:07:15 | dom96 | I didn't even know there was an async redis driver. |
18:07:17 | dom96 | Nice. |
18:07:36 | yglukhov | kulelu88: https://github.com/sspkrolik/asyncredis |
18:07:47 | dom96 | Out of curiosity, why are you considering Nim and Falcon, and not something like Rust or Go? |
18:08:26 | dom96 | yglukhov: done any benchmarks? |
18:09:10 | yglukhov | dom96: nope. |
18:10:14 | kulelu88 | dom96: 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:05 | dom96 | oh, I thought you meant http://www.falconpl.org/ :) |
18:11:24 | yglukhov | honestly 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:21 | yglukhov | ... saying obvious things, sorry ... =) |
18:12:54 | dom96 | So... should I be worried that this Nimble bug has been hidden for a year and nobody noticed it? |
18:13:21 | kulelu88 | is falconpl like Lua? looks like another dynamic language |
18:13:22 | dom96 | I guess packages which have two levels of dependencies don't happen often |
18:13:23 | dom96 | but still |
18:13:51 | yglukhov | dom96: which bug are talking about? |
18:14:17 | dom96 | The one GraydenH ran into |
18:14:39 | dom96 | A package that depends on nimx cannot be built via `nimble c` or `nimble build` |
18:14:43 | dom96 | as an example |
18:14:46 | Araq | dom96: you should be worried that I wrote a better tool in a single afternoon. |
18:14:54 | Araq | nah, just kidding. |
18:15:10 | Araq | but somebody needs to test and polish my nawabs |
18:15:30 | yglukhov | dom96: dunno, dont use nimble build... |
18:15:59 | Araq | dom96: yeah 'nimble build' is too unknown. but it's awesome |
18:16:14 | Araq | took me long to get its point. |
18:17:32 | dom96 | Most people don't put their binary packages into Nimble I guess |
18:17:41 | dom96 | it's 99% libraries |
18:17:49 | dom96 | and those don't need `nimble build` |
18:18:15 | kulelu88 | is 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:08 | dom96 | Yeah |
18:20:33 | dom96 | Unless one of those libraries has a flaw :) |
18:25:08 | dom96 | federico3: so how many are we failing? |
18:25:36 | * | HakanD quit (Quit: Be back later ...) |
18:31:51 | dom96 | Anybody got a project that could use some easy PRs? I need to contribute to something for Hacktoberfest. |
18:32:10 | Araq | I have written a compiler. |
18:32:21 | Araq | some isses are marked as 'esay' |
18:34:53 | kulelu88 | for your free tshirt? dom96 |
18:35:35 | dom96 | kulelu88: of course :P |
18:37:19 | Araq | nobody is interested in my nawabs |
18:37:42 | * | krux02 joined #nim |
18:38:21 | cheatfate | Araq, i'm just waiting when you replace nimble :) |
18:38:27 | * | vendethiel joined #nim |
18:38:42 | Araq | nimble is about package management. |
18:39:01 | Araq | nawabs is about anti package management. |
18:39:02 | * | confundus joined #nim |
18:39:07 | cheatfate | what is `package`? and what is `management`? |
18:40:09 | cheatfate | for all time i'm using nim i have never used package manager :) |
18:40:32 | krux02 | https://github.com/whyrusleeping/gx |
18:40:52 | Araq | a package is what you use when you don't push your changes into Nim core by blackmailing its core devs |
18:40:54 | krux02 | not evaluated, but claims to be independent of language |
18:41:04 | Araq | :P |
18:41:48 | cheatfate | blackmailing? |
18:43:16 | krux02 | it might be an easier solution to configure gx to be used with nim, that fixing what is not loved in nimble. |
18:43:45 | cheatfate | my first and last experience to pushing package to nimble convince me not to use it at all |
18:44:26 | krux02 | cheatfate, maybe you can configure gx to be the ultimate nim package manager |
18:44:42 | krux02 | I mean packaging software is a known problem, why not use a solution from the self |
18:44:43 | Araq | Once thats installed, use gx like normal to import dependencies. You can import code from the vendor directory using: |
18:44:44 | Araq | import "gx/ipfs/<hash>/packagename" |
18:44:46 | Araq | for example, if i have a package foobar, you can import with gx it like so: |
18:44:47 | Araq | $ gx import QmR5FHS9TpLbL9oYY8ZDR3A7UWcHTBawU1FJ6pu9SvTcPa |
18:44:49 | Araq | And then in your go code, you can use it with: |
18:44:50 | Araq | import "gx/ipfs/QmR5FHS9TpLbL9oYY8ZDR3A7UWcHTBawU1FJ6pu9SvTcPa/foobar" |
18:45:09 | cheatfate | i think 30% talks on IRC about `omg, i can't install opengl via nimble, or i can't install <anyotherpackage>` |
18:45:46 | Araq | ^ yeah, instead lets fix gx to not use hashes |
18:46:16 | cheatfate | Araq, i do not trust `ipfs` too |
18:46:18 | Araq | oh the simplicity of turning human beings into robots |
18:47:08 | Araq | is there anything in Goland that doesn't work by brute force? |
18:48:36 | krux02 | I 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:10 | Araq | yeah, I haven't yet found what it does right. |
18:49:22 | cheatfate | krux02, `Go` is made by `Evil` Corp :) |
18:49:36 | krux02 | yes, so are c++ compilers |
18:49:45 | Araq | the whole design is a single big argument from authority. |
18:49:45 | krux02 | and javascript backends |
18:51:29 | krux02 | Araq: yes, so is nim, just in this case the authority is you. |
18:52:30 | * | confundus quit (Quit: leaving) |
18:52:37 | krux02 | I also don't really want to argue about weather go is good or not |
18:52:49 | kulelu88 | the amount of logical changes Araq has made from valuable input from the community suggests that he is *not* that authoritative |
18:53:13 | Araq | no, 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:15 | krux02 | I 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:07 | Araq | I'm also not demonizing 'assert' or exceptions |
18:54:44 | krux02 | But I have the feeling you are demonizing go |
18:55:41 | Araq | no, I simply don't see a single feature in Go that is worth stealing. |
18:56:27 | * | PMunch quit (Quit: leaving) |
18:56:39 | Araq | and I am sick and tired of this whole "let's use xyz instead of writing our own" |
18:57:41 | krux02 | that's ok, as long as you are open to the inividual features |
18:57:54 | Araq | why develop a new programming language then? |
18:58:48 | Araq | yes, using existing software is less work than writing software. We enjoy writing software though. And we especially enjoy writing Nim. |
18:59:01 | Araq | hence Nimble, written in Nim. |
18:59:46 | krux02 | there 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:54 | FromGitter | <GraydenH> Go is opinionated in the extreme, not a good candidate for looking for features to include from |
19:02:37 | krux02 | No I am not here to talk about go |
19:03:21 | krux02 | I am here to talk about an issue I opened today |
19:03:49 | krux02 | even though I still think you should reconcider weather your bahavior really is wise |
19:03:55 | Araq | "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:18 | krux02 | I also don't want to demonize nimble, I think it's ok |
19:05:22 | krux02 | I can install packages |
19:05:27 | krux02 | and they work |
19:05:29 | Araq | krux02: how can Nim be an argument from authority when I have no authority. |
19:06:01 | krux02 | that argument was not my most serious one |
19:06:49 | krux02 | but I think you are the leading person in the nim development, and without you the project could easily die. |
19:07:45 | dom96 | "I also don't want to demonize nimble, I think it's ok" yay. |
19:08:03 | dom96 | For the amount of time I have for Nimble it's IMO quite an achievement that it's "ok" |
19:08:25 | krux02 | dom96: you have results from the community survey, it's ok |
19:08:43 | * | couven92 quit (Read error: Connection reset by peer) |
19:08:53 | dom96 | Actually IIRC it's better than ok |
19:09:43 | Araq | krux02: ok, so what do you want to talk about? |
19:09:59 | dom96 | yep, http://nim-lang.org/assets/news/images/survey/nimble_opinion.png |
19:10:29 | * | irrequietus joined #nim |
19:10:32 | Araq | and is there some progress on the destructor design? |
19:10:33 | krux02 | https://github.com/nim-lang/Nim/issues/4957 |
19:10:42 | * | irrequietus quit (Changing host) |
19:10:42 | * | irrequietus joined #nim |
19:11:25 | dom96 | Hrm, I think people don't use Nimble enough. It doesn't deserve a 4 |
19:11:47 | krux02 | I 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:36 | dom96 | Araq: Problem with Nim is that I have write access so why would I create PRs? |
19:12:53 | krux02 | my current thoughts go in the direction of using swap for ownership movement to avoid the weird states of objects being "moved from" |
19:13:14 | Araq | you'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:34 | Araq | dom96: to get code reviews from me |
19:15:13 | krux02 | Araq: I wrote some code that does some string comparisons at compile time for my DSL |
19:16:30 | krux02 | it 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:14 | Araq | so patch it to use 'when nimvm' |
19:18:49 | Araq | this problem has a specialized solution in the compiler |
19:19:13 | Araq | where we delay 'when' evaluation until code generation. |
19:20:11 | * | nsf quit (Quit: WeeChat 1.6) |
19:20:14 | krux02 | ok, do I have to move the when into the function body then? |
19:20:31 | Araq | yes |
19:20:48 | * | Jesin joined #nim |
19:22:03 | Araq | krux02: 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:19 | Araq | but I like to review documents that are considered finished/complete. |
19:22:39 | krux02 | Ok, at the current state it is not finished/complete |
19:25:03 | krux02 | But at the moment I really like the idea of using swap instead of introducing a move operator |
19:25:34 | Araq | swap ensures linear typing |
19:25:39 | Araq | I think. |
19:25:50 | Araq | you might be onto something here, yeah. |
19:27:16 | krux02 | what is linear typing? |
19:28:21 | Araq | wikipedia should be able to explain better than me |
19:37:27 | krux02 | ok, 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:25 | krux02 | Araq: 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:37 | krux02 | does 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:36 | Araq | krux02: 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:02 | krux02 | ok I am done so far I create now a pull request |
20:46:10 | * | bjz joined #nim |
20:46:25 | krux02 | I replaced it with an isNil check in case it is nimvm |
20:46:58 | krux02 | when both sequences are nil, then the result is true |
20:47:43 | Araq | sounds good |
20:51:11 | krux02 | meh, I have to update my git fork |
20:53:40 | krux02 | I think getting my fork in sync with upstream is more work that the actual patch |
20:55:00 | Araq | gist your patch then |
20:57:45 | kulelu88 | krux02: syncing with upstream is 2 commands away |
20:58:09 | krux02 | I have to google it every time |
20:58:30 | krux02 | I forgot to sync so I also have to rebase to new devel |
20:58:38 | Araq | git = "google it" ? |
20:58:41 | Araq | :-) |
20:58:45 | krux02 | yea |
20:58:49 | krux02 | I think I got it now |
21:01:53 | krux02 | git needs a "git undo" command that works every time |
21:05:46 | krux02 | I think I accidentally pushed my forw to origin/master |
21:05:55 | krux02 | s/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:02 | krux02 | yay it's done |
21:18:29 | Araq | krux02: 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:48 | krux02 | yea I wrote one, but did not add it |
21:50:03 | krux02 | how do I add a test case in nims |
21:50:10 | krux02 | so that it is actually tested? |
21:50:21 | krux02 | and where should I put it |
21:51:02 | * | HakanD_ joined #nim |
21:51:44 | Araq | tests/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:36 | libman | What'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:52 | libman | Can't get neither times nor posix to work... :( |
23:15:42 | libman | Nim: 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:10 | Araq | times.parse |
23:26:05 | libman | Doesn't seem to catch time time zone in standard JSON time format. |
23:26:06 | * | yglukhov quit (Ping timeout: 244 seconds) |
23:26:32 | Araq | there is no such thing. JSON has no time format in its spec. |
23:28:41 | libman | getLocalTime(toTime(times.parse(timeStr, "YYYY-MM-DDThh:mm:ss+zzzz"))) => "Wed Oct 26 00:18:53 2016" # still GMT, not local time. |
23:30:20 | libman | ISO 8601 not standard? |
23:31:24 | Araq | not part of the JSON spec. |
23:32:59 | Trixar_za | Hey Araq - can I copy my Nim folder to my laptop and just run finish.exe to get Nim on it too? |
23:33:32 | Araq | anyway, times.parse parses as the thing as your local time |
23:33:49 | Araq | Trixar_za: yup. |
23:36:31 | libman | Still 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:05 | Araq | libman: 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:37 | Trixar_za | Araq: Thanks - copying it now :P |
23:37:59 | Araq | time 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:32 | libman | `ti = ti - getTimezone().seconds` doesn't fix it either, one hour off... |
23:54:37 | libman | `ti.isDST = false` did it |
23:57:42 | * | HakanD_ quit (Ping timeout: 250 seconds) |
23:58:05 | * | rtr__ joined #nim |