00:01:18 | * | brson quit (Ping timeout: 265 seconds) |
00:05:39 | * | brson joined #nim |
00:13:00 | * | Demos_ joined #nim |
00:19:29 | * | zahary quit (Quit: Leaving.) |
00:31:01 | * | yglukhov joined #nim |
00:36:11 | * | yglukhov quit (Ping timeout: 244 seconds) |
00:36:44 | * | gokr quit (Ping timeout: 258 seconds) |
00:41:22 | * | brson quit (Ping timeout: 244 seconds) |
00:49:22 | * | space-wizard joined #nim |
00:54:09 | * | PMunch quit (Quit: leaving) |
00:58:24 | * | xet7_ quit (Ping timeout: 244 seconds) |
01:00:39 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
01:05:39 | * | nairobi joined #nim |
01:05:53 | * | space-wizard joined #nim |
01:07:14 | * | nairobi_ joined #nim |
01:10:03 | * | nairobi quit (Ping timeout: 240 seconds) |
01:10:38 | * | space-wizard quit (Client Quit) |
01:11:51 | * | nairobi_ quit (Ping timeout: 264 seconds) |
01:32:26 | * | pie_ quit (Ping timeout: 250 seconds) |
01:53:01 | * | chemist69 quit (Ping timeout: 258 seconds) |
01:56:06 | * | der-landgraf quit (Quit: WeeChat 1.5) |
02:06:14 | * | chemist69 joined #nim |
02:09:10 | * | der-landgraf joined #nim |
02:09:10 | * | der-landgraf quit (Changing host) |
02:09:10 | * | der-landgraf joined #nim |
02:34:17 | * | yglukhov joined #nim |
02:38:51 | * | yglukhov quit (Ping timeout: 264 seconds) |
03:28:00 | * | Trioxin joined #nim |
03:31:45 | * | nairobi joined #nim |
03:47:34 | * | nairobi quit (Read error: Connection timed out) |
03:48:22 | * | nairobi joined #nim |
03:53:34 | * | nairobi quit (Ping timeout: 244 seconds) |
03:55:51 | * | Aruseus joined #nim |
03:56:53 | * | nairobi joined #nim |
04:02:31 | * | Aruseus quit (Quit: leaving) |
04:14:52 | * | Aruseus joined #nim |
04:20:49 | * | nairobi quit (Remote host closed the connection) |
04:22:47 | * | nairobi joined #nim |
04:25:39 | * | nairobi quit (Remote host closed the connection) |
04:36:35 | * | yglukhov joined #nim |
04:40:52 | * | yglukhov quit (Ping timeout: 252 seconds) |
04:47:29 | ldlework | Trioxin: oh you're here nm |
05:04:06 | * | apollo_ joined #nim |
05:08:03 | * | Trioxin quit (Ping timeout: 240 seconds) |
05:20:30 | * | desophos joined #nim |
05:36:50 | * | Demos_ quit (Ping timeout: 250 seconds) |
05:48:08 | * | Demos joined #nim |
06:06:42 | * | apollo_ is now known as Trioxin |
06:07:22 | * | dashed joined #nim |
06:16:30 | * | ftsf joined #nim |
06:21:49 | * | Aruseus quit (Quit: leaving) |
06:38:13 | * | yglukhov joined #nim |
06:42:31 | * | yglukhov quit (Ping timeout: 244 seconds) |
07:01:10 | * | bjz joined #nim |
07:08:07 | * | yglukhov joined #nim |
07:17:19 | * | mcc quit (Quit: Connection closed for inactivity) |
07:21:28 | * | JeffCanJam4a20 joined #nim |
07:26:57 | * | nairobi joined #nim |
07:32:42 | * | nairobi quit (Ping timeout: 258 seconds) |
07:40:22 | * | wh1t3r0s3 quit (Ping timeout: 244 seconds) |
07:42:01 | * | nairobi joined #nim |
07:46:35 | * | nairobi quit (Ping timeout: 244 seconds) |
08:11:16 | * | der-landgraf quit (Quit: WeeChat 1.5) |
08:31:00 | * | der-landgraf joined #nim |
08:46:06 | * | nairobi joined #nim |
08:50:48 | * | nairobi quit (Ping timeout: 276 seconds) |
08:51:23 | * | nairobi joined #nim |
08:53:59 | * | yglukhov quit (Read error: Connection reset by peer) |
08:54:23 | * | yglukhov joined #nim |
09:00:04 | * | gokr joined #nim |
09:06:58 | * | nairobi quit (Read error: Connection timed out) |
09:07:06 | * | yglukhov_ joined #nim |
09:07:26 | * | yglukhov quit (Ping timeout: 250 seconds) |
09:07:58 | * | nairobi joined #nim |
09:20:28 | cheatfate | dom96, do we use SSLv1/v2/v3 for ssl connections? |
09:22:38 | * | yglukhov_ quit (Remote host closed the connection) |
09:31:00 | * | Sentreen quit (Quit: WeeChat 1.4) |
09:34:24 | * | Sentreen joined #nim |
09:35:36 | * | Demos quit (Ping timeout: 250 seconds) |
09:38:30 | dom96 | cheatfate: the default is `protSSLv23` which IIRC means "pick whatever is best from SSlv2,3 and TLSv1" |
09:42:28 | * | dashed quit (Quit: Connection closed for inactivity) |
09:46:52 | cheatfate | we need to change defaults :( |
09:47:10 | dom96 | federico3: Thank you for writing that release shell script, but why not turn it into a NimScript? :) |
09:47:25 | dom96 | cheatfate: please create a PR |
09:48:06 | federico3 | no way, why nimscript for this use case? |
09:49:26 | dom96 | because we all love nim, why not NimScript? |
10:00:48 | * | nairobi quit (Remote host closed the connection) |
10:05:40 | * | gokr left #nim (#nim) |
10:12:52 | * | ftsf quit (Quit: Leaving) |
10:16:42 | * | Lea2 is now known as Learath2 |
10:16:59 | * | nairobi joined #nim |
10:18:28 | federico3 | because it can be tweaked and run on a buildbot that does not have a copy of Nim on it yet |
10:22:45 | * | nairobi quit (Remote host closed the connection) |
10:56:12 | * | nairobi joined #nim |
11:00:00 | cheatfate | dom96, could you please check version of your openssl |
11:00:22 | * | nairobi quit (Ping timeout: 252 seconds) |
11:00:36 | dom96 | cheatfate: any ideas how I can do that? |
11:00:45 | cheatfate | openssl version |
11:00:52 | cheatfate | in command line? |
11:01:10 | dom96 | federico3: okay, just a suggestion. |
11:01:40 | dom96 | cheatfate: ugh, why isn't it "-v" or "--version"? Anyway, it's: OpenSSL 0.9.8zh 14 Jan 2016 |
11:01:52 | cheatfate | thanks |
11:06:39 | * | wh1t3r0s3 joined #nim |
11:07:35 | * | wh1t3r0s3 quit (Client Quit) |
11:09:09 | * | wh1t3r0s3 joined #nim |
11:09:13 | * | wh1t3r0s3 quit (Remote host closed the connection) |
11:10:54 | dom96 | cheatfate: so it's just my old OpenSSL version then? |
11:11:13 | * | wh1t3r0s3 joined #nim |
11:12:12 | * | wh1t3r0s3 quit (Client Quit) |
11:13:54 | * | wh1t3r0s3 joined #nim |
11:15:05 | * | yglukhov joined #nim |
11:18:19 | cheatfate | dom96, yep but its because of changing defaults in openssl too |
11:29:33 | * | wh1t3r0s3 quit (Quit: ZNC - 1.6.0 - http://znc.in) |
11:29:56 | * | wh1t3r0s3 joined #nim |
11:31:46 | * | rkj-b joined #nim |
11:33:25 | * | rkj-b quit (Client Quit) |
11:42:02 | * | wh1t3r0s3 quit (Quit: ZNC - 1.6.0 - http://znc.in) |
11:44:29 | * | wh1t3r0s3 joined #nim |
11:51:17 | * | Demon_Fox quit (Quit: Leaving) |
11:51:47 | * | wh1t3r0s3 quit (Ping timeout: 258 seconds) |
12:01:14 | * | g00 joined #nim |
12:11:11 | dom96 | cheatfate: so can we fix it? |
12:12:02 | * | g00 quit (Ping timeout: 250 seconds) |
12:12:21 | cheatfate | dom96, ssl deprecated, but 0.9.8zh has only TLSv1_method, my version has TLSv1_1_method, TLSv1_2_method |
12:12:54 | cheatfate | so i dont know how exactly fixit on openssl 0.9.8 |
12:13:14 | cheatfate | i think its better to check version and make error on usage of old openssls |
12:13:27 | dom96 | I think it's fine |
12:13:36 | dom96 | This way it still works for websites which support the deprecated SSL |
12:13:48 | dom96 | and it also works when you update your openssl |
12:18:44 | * | pie_ joined #nim |
12:20:42 | * | JeffCanJam4a20 quit (Ping timeout: 250 seconds) |
12:24:09 | cheatfate | if you want to support deprecated SSL then there no errors... |
12:24:55 | cheatfate | because most modern sites will give you an error like you had |
12:45:38 | * | nairobi joined #nim |
12:49:52 | * | nairobi quit (Ping timeout: 240 seconds) |
12:54:53 | * | themagician joined #nim |
12:56:08 | cheatfate | dom96, please try https://github.com/nim-lang/Nim/pull/4616 |
12:56:12 | cheatfate | is it helps? |
12:57:53 | dom96 | nope |
13:04:06 | * | nairobi joined #nim |
13:10:51 | cheatfate | dom96, same error or another? |
13:11:01 | * | nairobi quit (Remote host closed the connection) |
13:11:31 | dom96 | cheatfate: same |
13:22:28 | cheatfate | dom96, is what i read you need at least 1.0.1 and nothing can be made with 0.9.8 branch |
13:22:47 | dom96 | okay, that's fine |
13:24:12 | * | nairobi joined #nim |
13:37:32 | * | yglukhov quit (Remote host closed the connection) |
13:41:29 | * | yglukhov joined #nim |
13:48:58 | * | desophos quit (Read error: Connection reset by peer) |
13:54:49 | * | yglukhov quit (Remote host closed the connection) |
14:03:35 | * | bodie_ joined #nim |
14:04:30 | bodie_ | I'm having a hard time assessing whether Nim is something to invest in |
14:05:00 | bodie_ | I just discovered it the other day and while the community seems enthusiastic (yay) I don't have a good read on its uptake / survivability |
14:05:18 | bodie_ | there are a bunch of HN posts from about a year and a half ago |
14:06:42 | bodie_ | can anyone help clarify? |
14:09:09 | * | arnetheduck quit (Ping timeout: 265 seconds) |
14:16:03 | * | nairobi quit (Remote host closed the connection) |
14:16:18 | * | nairobi joined #nim |
14:20:05 | * | nairobi_ joined #nim |
14:20:29 | federico3 | bodie_: either the language is past the first hype peak (or it's dying already). The new fundraising is doing well so there's hope |
14:20:40 | * | nairobi quit (Ping timeout: 265 seconds) |
14:34:33 | dom96 | bodie_: hey! I think that Nim's resilience should give you some confidence in it. |
14:34:40 | dom96 | And things are certainly improving |
14:34:56 | dom96 | I'm writing a book about Nim and it should be printed by early next year |
14:36:40 | * | nairobi_ quit (Read error: Connection timed out) |
14:37:50 | * | nairobi joined #nim |
14:41:04 | flyx | bodie_: well the survivability of mankind also does not seem likely, but I invest in it nonetheless. okay, more seriously: the community is big enough and the development is steady, what do you miss for `survivability`? |
14:45:49 | bodie_ | LOL flyx :) |
14:46:40 | bodie_ | well, I just don't want to put a bunch of time and code in only to have my dependencies rot and compiler bugs go unfixed, etc, sometime down the line after I put a bunch in |
14:47:51 | flyx | the only way to fix that is to have some big company behind the language, which is unlikely to happen, I guess |
14:48:45 | flyx | otoh, as I said, the risk does not seem to be that high |
14:49:08 | bodie_ | Solution: I'll make a giant successful Nim project and get super rich and become a leading sponsor! |
14:49:15 | flyx | yeah, do that |
14:49:51 | bodie_ | dom96, one thing I noticed is that the language itself seems pretty small and maintainable, which appears to be a good thing for its future |
14:50:23 | flyx | featurewise, I think `small` is not the right word to describe Nim ^^ |
14:50:24 | * | nairobi quit (Remote host closed the connection) |
14:55:20 | * | yglukhov joined #nim |
14:57:37 | * | nairobi joined #nim |
14:59:33 | * | yglukhov quit (Ping timeout: 240 seconds) |
14:59:44 | dom96 | flyx: bodie_: I think it depends what language you compare it to. I'd say it's small compared to C++ :) |
15:00:30 | dom96 | bodie_: But honestly, if you like Nim then just write some Nim. Don't worry about its survivability too much. |
15:01:06 | dom96 | If I worried about that when i started then I wouldn't have written Aporia, Jester, NimForum, NimBuild, https://pokemongostatus.org, Nimble and many other things. |
15:01:11 | flyx | dom96: I have written quite some C++ and I do not think it has a lot of features not available in Nim |
15:01:36 | * | nairobi quit (Ping timeout: 244 seconds) |
15:02:03 | flyx | admitted, it has a bigger stdlib |
15:02:23 | flyx | but I wouldn't say it is more useful than Nim's :) |
15:05:31 | bodie_ | C++ has soooooo many features.... that doesn't seem like a good feature of C++ lol |
15:05:50 | bodie_ | dom96, that's a good perspective to take! |
15:08:33 | flyx | half of C++ features are cover-ups for bad design decisions taken earlier |
15:13:21 | * | g00 joined #nim |
15:26:58 | * | g00 quit (Ping timeout: 265 seconds) |
15:30:00 | * | gokr joined #nim |
15:49:55 | * | Jesin quit (Quit: Leaving) |
15:51:29 | * | fastrom joined #nim |
16:57:27 | * | yglukhov joined #nim |
16:58:14 | bodie_ | Is this a poor implementation? http://rosettacode.org/wiki/Reverse_words_in_a_string#Nim |
16:58:31 | bodie_ | it's getting rekt by the Go one |
17:02:52 | * | yglukhov quit (Ping timeout: 240 seconds) |
17:14:37 | * | nsf quit (Quit: WeeChat 1.5) |
17:20:12 | flyx | bodie_: well, it certainly does not need two reversed procs |
17:25:33 | bodie_ | flyx, isn't there also a copy that happens when iterating over a seq? |
17:25:42 | bodie_ | total Nim n00b here |
17:26:01 | bodie_ | I'm trying my hand at a rewrite, shaved a couple of seconds off just by making the template string a const array |
17:26:22 | bodie_ | (on a million iterations, which takes about 17 seconds with optimizations) |
17:26:30 | bodie_ | takes me* |
17:30:33 | flyx | bodie_: here is a faster version: https://gist.github.com/flyx/16467896827edd7b9a3ab8ca0abd5f39 |
17:30:57 | flyx | or rather, simpler. I wouldn't say it's faster |
17:31:55 | flyx | a copy of the value happens when you iterate over a seq |
17:32:20 | flyx | but the code does not iterate over the seq |
17:32:50 | flyx | it iterates over the index |
17:33:58 | bodie_ | ok |
17:51:39 | * | nairobi joined #nim |
17:52:56 | * | nairobi_ joined #nim |
17:55:45 | * | Vladar joined #nim |
17:56:19 | * | nairobi quit (Ping timeout: 265 seconds) |
17:56:52 | * | nairobi_ quit (Ping timeout: 240 seconds) |
18:00:17 | * | yglukhov joined #nim |
18:00:59 | chemist69 | bodie_, flyx: what about using `reversed` from the stdlib: https://glot.io/snippets/ehhur5nlqm |
18:02:00 | flyx | chemist69: oh well, I did not know that exists. I would have expected it in sequtils |
18:05:43 | * | space-wizard joined #nim |
18:05:55 | chemist69 | The completeness of the stdlib always surprises me as well... |
18:08:42 | Vladar | Anyone knows some example of a benchmark of iteration over data collections with potentially fragmented memory allocation? |
18:11:41 | * | gokr quit (Ping timeout: 250 seconds) |
18:20:36 | bodie_ | chemist69, this is my best effort, as a newbie. apparently I did something terribly wrong... :3 |
18:20:36 | bodie_ | https://glot.io/snippets/ehhvejyv9t |
18:21:24 | bodie_ | (of course, it's not trying to actually echo the results, that's just there at the end to avoid dead code elimination) |
18:27:24 | bodie_ | for testing against the Go one from Rosetta, I used 10^6 iterations for each |
18:32:25 | * | Jesin joined #nim |
18:35:36 | * | Salewski joined #nim |
18:35:59 | * | nairobi joined #nim |
18:36:58 | Salewski | bodie, what is your goal or problem? I say the example code of flyx, was looking nice. |
18:39:42 | Salewski | s/say/saw/ |
18:40:41 | Salewski | We really should collect such examples somewhere. |
18:41:29 | * | nairobi quit (Remote host closed the connection) |
18:53:53 | chemist69 | bodie_: I can not really comment your code, I am also still very new to Nim. |
18:58:37 | * | yglukhov quit (Remote host closed the connection) |
19:01:20 | Trioxin | is there nim for android and/or ios? |
19:02:58 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
19:03:51 | Trioxin | i see an nes emulator but is that compiled to javascript? |
19:04:02 | Trioxin | for phonegap or something? |
19:08:02 | Trioxin | i see he used javascript but what's it running on? |
19:09:04 | Trioxin | sdl |
19:14:03 | Trioxin | man this looks like a huge pain. someone should automate this process |
19:17:35 | * | xet7__ quit (Quit: Leaving) |
19:19:54 | * | xet7 joined #nim |
19:26:38 | * | nairobi joined #nim |
19:35:53 | * | nairobi quit (Remote host closed the connection) |
19:36:24 | dom96 | Trioxin: You mean compiling to iOS/Android? |
19:36:37 | dom96 | Certainly would be nice. But automating such processes is often not so easy. |
19:38:22 | Vladar | If nim could easily compile to Android, the Haxe would have a serious competition |
19:40:37 | * | gokr joined #nim |
19:45:52 | * | yglukhov joined #nim |
19:47:19 | dom96 | Somebody will need to make that happen, I'm sure you could write a tool to make Nim compilation to Android easy. |
19:49:22 | Vladar | Sadly, my knowledge about Android is limited to "how to write a game in Haxe + HaxeFlixel and run the compilation command" |
19:50:07 | * | nairobi joined #nim |
19:50:26 | * | yglukhov quit (Ping timeout: 250 seconds) |
19:53:36 | * | Matthias247 joined #nim |
19:56:17 | * | nairobi quit (Remote host closed the connection) |
20:03:12 | dom96 | Vladar: Always a good time to learn :) |
20:03:39 | dom96 | This Gopher client written in Lazarus/Free pascal is pretty cool. Maybe Araq is right and we do need to get Nim supported in Lazarus: http://runtimeterror.com/tools/gopher/ |
20:05:48 | * | nairobi joined #nim |
20:19:35 | * | nairobi quit (Remote host closed the connection) |
20:20:16 | Vladar | mm… excellent. My anti-fragmentation dynamically-resizable container appears to be faster than seq in sub-optimal use-cases |
20:27:12 | * | libman joined #nim |
20:31:43 | * | xet7 quit (Quit: Leaving) |
20:33:21 | * | nairobi joined #nim |
20:34:15 | * | User__ joined #nim |
20:43:07 | * | Demos joined #nim |
20:50:03 | * | nairobi quit (Read error: Connection timed out) |
20:51:02 | * | nairobi joined #nim |
20:54:32 | * | yglukhov joined #nim |
21:00:00 | * | yglukhov quit (Ping timeout: 258 seconds) |
21:00:14 | * | Demos quit (Ping timeout: 250 seconds) |
21:00:20 | * | nairobi quit (Remote host closed the connection) |
21:01:25 | * | nairobi joined #nim |
21:06:04 | * | nairobi quit (Ping timeout: 260 seconds) |
21:18:23 | * | brson joined #nim |
21:18:30 | * | xet7 joined #nim |
21:23:01 | * | brson quit (Client Quit) |
21:24:20 | * | User__ quit (Quit: Leaving) |
21:30:20 | * | brson joined #nim |
21:36:29 | * | Matthias247 quit (Read error: Connection reset by peer) |
21:37:31 | * | Salewski left #nim (#nim) |
21:44:14 | Vladar | https://github.com/Vladar4/FastStack |
21:56:26 | * | nsf joined #nim |
21:58:03 | * | brson quit (Quit: leaving) |
22:04:10 | * | Vladar quit (Quit: Leaving) |
22:16:18 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:17:17 | * | Demos joined #nim |
22:18:47 | * | Demos quit (Read error: Connection reset by peer) |
22:20:56 | * | Demon_Fox joined #nim |
22:24:56 | * | nairobi joined #nim |
22:29:02 | * | nairobi quit (Ping timeout: 244 seconds) |
22:29:39 | * | libman quit (Quit: Leaving.) |
22:29:45 | cheatfate | dom96, about your new issue, http://serverfault.com/questions/764753/ssl-error-in-nginx-log |
22:29:59 | cheatfate | i think you need more fresh openssl :) |
22:30:39 | * | libman joined #nim |
22:31:40 | dom96 | cheatfate: I don't think that's the issue |
22:31:47 | dom96 | The server runs Ubuntu 16.04 LTS |
22:31:50 | dom96 | and it's fully upgraded |
22:32:21 | dom96 | Does the example work for you? |
22:35:12 | cheatfate | Error: unhandled exception: error:140E0114:SSL routines:SSL_shutdown:uninitialized [SslError] |
22:35:17 | cheatfate | i got another error |
22:38:40 | cheatfate | maybe proxy is down already... |
22:38:51 | * | bjz joined #nim |
22:39:51 | * | hcorion joined #nim |
22:45:45 | * | bjz quit (Ping timeout: 258 seconds) |
22:47:58 | dom96 | cheatfate: It works via curl |
22:48:17 | dom96 | so it's not the proxy |
22:50:03 | dom96 | good night |
22:57:37 | * | yglukhov joined #nim |
23:01:56 | * | themagician quit () |
23:02:07 | * | yglukhov quit (Ping timeout: 244 seconds) |
23:04:16 | * | bjz joined #nim |
23:05:21 | * | desophos joined #nim |
23:13:20 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
23:26:47 | libman | I'm chatting up Nim advocacy in #GodotEngine and #GodotEngine-devel re http://forum.nim-lang.org/t/2342 |
23:27:16 | * | gokr quit (Ping timeout: 252 seconds) |
23:51:23 | * | JeffCanJam4a20 joined #nim |
23:58:47 | * | fastrom quit (Quit: Leaving.) |