00:14:45 | * | darithorn quit () |
00:20:14 | * | wildlander quit (Quit: Konversation terminated!) |
00:25:24 | xace | for kind,path in walkDirRec(dir="/tmp/", followFilter={pcDir,pcLinkToDir}) # Why is the compiler complaining about the wrong number of variables? |
00:25:45 | * | d10n-work quit (Quit: Connection closed for inactivity) |
00:33:30 | * | citycide quit (Ping timeout: 264 seconds) |
00:38:07 | * | citycide joined #nim |
00:48:55 | FromGitter | <Varriount> @timotheecour Could you check that you don't have 2 installations of NimLime active (for example, one downloaded from Package Control, and another from Git)? |
00:54:46 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
01:17:15 | * | zachk quit (Quit: Leaving) |
01:40:31 | * | leorize joined #nim |
02:16:34 | * | narimiran[m] quit (Ping timeout: 250 seconds) |
02:16:56 | * | MrAxilus[m] quit (Ping timeout: 252 seconds) |
02:16:56 | * | sg-james[m] quit (Ping timeout: 252 seconds) |
02:16:56 | * | spymasterd[m] quit (Ping timeout: 252 seconds) |
02:16:58 | * | gh0st[m] quit (Ping timeout: 250 seconds) |
02:16:59 | * | darithorn joined #nim |
02:17:00 | * | pqflx3[m] quit (Ping timeout: 250 seconds) |
02:17:03 | * | kapil____ joined #nim |
02:17:09 | * | GitterIntegratio quit (Ping timeout: 260 seconds) |
02:17:19 | * | yglukhov[m] quit (Ping timeout: 264 seconds) |
02:17:23 | * | stisa[m] quit (Ping timeout: 250 seconds) |
02:17:23 | * | toofly[m] quit (Ping timeout: 250 seconds) |
02:17:26 | * | syntonym[m] quit (Ping timeout: 250 seconds) |
02:17:26 | * | hohlerde quit (Ping timeout: 250 seconds) |
02:17:26 | * | Demos[m] quit (Ping timeout: 250 seconds) |
02:17:28 | * | Miguelngel[m] quit (Ping timeout: 252 seconds) |
02:17:28 | * | macsek1911[m] quit (Ping timeout: 252 seconds) |
02:17:28 | * | dyce[m] quit (Ping timeout: 252 seconds) |
02:17:29 | * | notbot[m] quit (Ping timeout: 264 seconds) |
02:17:29 | * | Connor[m] quit (Ping timeout: 264 seconds) |
02:17:30 | * | codevance[m] quit (Ping timeout: 252 seconds) |
02:17:39 | * | sendell[m] quit (Ping timeout: 252 seconds) |
02:17:41 | * | monofuel[m] quit (Ping timeout: 260 seconds) |
02:17:41 | * | jaens[m] quit (Ping timeout: 260 seconds) |
02:17:41 | * | TheManiac[m] quit (Ping timeout: 260 seconds) |
02:17:41 | * | TheKing[m] quit (Ping timeout: 260 seconds) |
02:17:54 | * | xomachine[m] quit (Ping timeout: 264 seconds) |
02:17:54 | * | zielmicha[m] quit (Ping timeout: 264 seconds) |
02:17:54 | * | bitstoppa[m] quit (Ping timeout: 264 seconds) |
02:17:54 | * | zacharycarter[m] quit (Ping timeout: 264 seconds) |
02:18:04 | * | planetis[m] quit (Ping timeout: 264 seconds) |
02:18:04 | * | petersjt014[m] quit (Ping timeout: 264 seconds) |
02:18:04 | * | k0mpjut0r quit (Ping timeout: 264 seconds) |
02:18:18 | * | endes[m] quit (Ping timeout: 276 seconds) |
02:18:18 | * | xylef quit (Ping timeout: 276 seconds) |
02:24:22 | * | a__b__m quit (Ping timeout: 246 seconds) |
02:32:24 | * | d10n-work joined #nim |
02:34:15 | xace | nvm, realised it was the return statement and not the arguments to the proc |
02:41:39 | * | k0mpjut0r joined #nim |
02:42:25 | * | bitstoppa[m] joined #nim |
02:42:25 | * | zacharycarter[m] joined #nim |
02:42:30 | * | xomachine[m] joined #nim |
02:42:33 | * | zielmicha[m] joined #nim |
02:42:34 | * | planetis[m] joined #nim |
02:42:34 | * | petersjt014[m] joined #nim |
02:43:04 | * | codevance[m] joined #nim |
02:43:21 | * | TheKing[m] joined #nim |
02:44:08 | * | MrAxilus[m] joined #nim |
02:44:41 | * | yglukhov[m] joined #nim |
02:44:54 | * | Demos[m] joined #nim |
02:45:02 | * | hohlerde joined #nim |
02:45:13 | * | endes[m] joined #nim |
02:45:35 | * | xylef joined #nim |
02:46:04 | * | TheManiac[m] joined #nim |
02:46:35 | * | Connor[m] joined #nim |
02:46:42 | * | narimiran[m] joined #nim |
02:46:42 | * | syntonym[m] joined #nim |
02:46:47 | * | spymasterd[m] joined #nim |
02:46:50 | * | sg-james[m] joined #nim |
02:46:52 | * | jaens[m] joined #nim |
02:46:52 | * | monofuel[m] joined #nim |
02:47:45 | * | Miguelngel[m] joined #nim |
02:47:46 | * | macsek1911[m] joined #nim |
02:48:01 | * | notbot[m] joined #nim |
02:48:51 | * | sendell[m] joined #nim |
02:49:16 | * | pqflx3[m] joined #nim |
02:49:24 | * | GitterIntegratio joined #nim |
02:49:51 | * | stisa[m] joined #nim |
02:51:14 | * | toofly[m] joined #nim |
02:52:22 | * | gh0st[m] joined #nim |
02:53:03 | * | dyce[m] joined #nim |
03:05:20 | * | banc quit (Quit: ZNC - http://znc.in) |
03:22:12 | * | banc joined #nim |
03:35:40 | FromGitter | <kdheepak> @Araq I have a question about the license of the generated code. |
03:35:54 | FromGitter | <kdheepak> This is added to every file that Nim creates. ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5be10c1a9088fe25bc68f4c2] |
03:36:35 | FromGitter | <kdheepak> 1) what is the original license here? Is it the license that is in the current repository or is it the Nim compiler license? |
03:36:59 | FromGitter | <kayabaNerve> @kdheepak The Compiler is C Andrea Rumpf; the generated code is under the license that the Nim files were. |
03:37:27 | FromGitter | <kayabaNerve> So if your Nim project is MIT C KDheepak, the generated code is MIT C KDheepak. |
03:37:43 | FromGitter | <kdheepak> 2) If I include this as part of a repository which is copyrighted under some other person / entity, is that fine? |
03:38:25 | * | MrAxilus[m] quit (Ping timeout: 250 seconds) |
03:38:31 | * | codevance[m] quit (Ping timeout: 252 seconds) |
03:38:32 | * | hohlerde quit (Ping timeout: 252 seconds) |
03:38:52 | * | zacharycarter[m] quit (Ping timeout: 250 seconds) |
03:38:53 | * | pqflx3[m] quit (Ping timeout: 252 seconds) |
03:38:55 | * | Connor[m] quit (Ping timeout: 252 seconds) |
03:38:55 | * | petersjt014[m] quit (Ping timeout: 252 seconds) |
03:38:55 | * | xomachine[m] quit (Ping timeout: 252 seconds) |
03:38:56 | * | gh0st[m] quit (Ping timeout: 264 seconds) |
03:38:56 | * | toofly[m] quit (Ping timeout: 264 seconds) |
03:38:57 | * | TheManiac[m] quit (Ping timeout: 264 seconds) |
03:38:57 | * | endes[m] quit (Ping timeout: 264 seconds) |
03:38:57 | * | Demos[m] quit (Ping timeout: 264 seconds) |
03:38:57 | * | TheKing[m] quit (Ping timeout: 264 seconds) |
03:38:59 | FromGitter | <kdheepak> Okay thanks for the clarification. I think the wording here is something the nim core team might want to reconsider. |
03:39:06 | * | planetis[m] quit (Ping timeout: 264 seconds) |
03:39:16 | * | spymasterd[m] quit (Ping timeout: 252 seconds) |
03:39:17 | * | macsek1911[m] quit (Ping timeout: 250 seconds) |
03:39:18 | * | yglukhov[m] quit (Ping timeout: 250 seconds) |
03:39:20 | * | Miguelngel[m] quit (Ping timeout: 250 seconds) |
03:39:20 | * | jaens[m] quit (Ping timeout: 250 seconds) |
03:39:21 | * | notbot[m] quit (Ping timeout: 260 seconds) |
03:39:22 | * | narimiran[m] quit (Ping timeout: 260 seconds) |
03:39:22 | * | zielmicha[m] quit (Ping timeout: 260 seconds) |
03:39:22 | * | bitstoppa[m] quit (Ping timeout: 260 seconds) |
03:39:22 | * | k0mpjut0r quit (Ping timeout: 260 seconds) |
03:39:24 | * | dyce[m] quit (Ping timeout: 252 seconds) |
03:39:25 | * | sendell[m] quit (Ping timeout: 252 seconds) |
03:39:25 | * | monofuel[m] quit (Ping timeout: 252 seconds) |
03:39:25 | * | sg-james[m] quit (Ping timeout: 252 seconds) |
03:39:33 | * | syntonym[m] quit (Ping timeout: 276 seconds) |
03:39:33 | * | xylef quit (Ping timeout: 276 seconds) |
03:39:48 | FromGitter | <kdheepak> Something like `The generated code is subject to the license of the source Nim files`. |
03:39:56 | * | GitterIntegratio quit (Ping timeout: 260 seconds) |
03:40:11 | * | stisa[m] quit (Ping timeout: 276 seconds) |
03:45:29 | * | tobbez quit (Ping timeout: 252 seconds) |
03:45:39 | * | tobbez joined #nim |
03:46:26 | FromGitter | <kayabaNerve> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5be10e92de33dd0c96d72524] |
03:54:52 | * | itschin joined #nim |
04:03:29 | * | chemist69_ joined #nim |
04:06:56 | * | chemist69 quit (Ping timeout: 268 seconds) |
04:18:38 | * | endragor joined #nim |
04:28:58 | * | TheManiac[m] joined #nim |
04:29:16 | * | stisa[m] joined #nim |
04:29:19 | * | jaens[m] joined #nim |
04:29:31 | * | Demos[m] joined #nim |
04:29:32 | * | endes[m] joined #nim |
04:29:34 | * | toofly[m] joined #nim |
04:29:41 | * | GitterIntegratio joined #nim |
04:29:50 | * | notbot[m] joined #nim |
04:29:50 | * | pqflx3[m] joined #nim |
04:29:54 | * | hohlerde joined #nim |
04:30:24 | * | gh0st[m] joined #nim |
04:30:59 | * | TheKing[m] joined #nim |
04:31:23 | * | dyce[m] joined #nim |
04:32:31 | * | planetis[m] joined #nim |
04:32:45 | * | Connor[m] joined #nim |
04:32:47 | * | petersjt014[m] joined #nim |
04:32:54 | * | bitstoppa[m] joined #nim |
04:32:56 | * | codevance[m] joined #nim |
04:33:24 | * | xomachine[m] joined #nim |
04:33:39 | * | Miguelngel[m] joined #nim |
04:33:57 | * | zielmicha[m] joined #nim |
04:34:17 | * | sendell[m] joined #nim |
04:34:38 | * | monofuel[m] joined #nim |
04:34:41 | * | sg-james[m] joined #nim |
04:34:49 | * | xylef joined #nim |
04:34:51 | * | syntonym[m] joined #nim |
04:34:51 | * | k0mpjut0r joined #nim |
04:34:55 | * | MrAxilus[m] joined #nim |
04:34:58 | * | spymasterd[m] joined #nim |
04:35:11 | * | narimiran[m] joined #nim |
04:35:33 | * | zacharycarter[m] joined #nim |
04:36:36 | * | macsek1911[m] joined #nim |
04:36:44 | * | yglukhov[m] joined #nim |
04:41:27 | * | Tanger quit (Read error: Connection reset by peer) |
05:04:45 | * | darithorn quit () |
05:23:41 | * | nsf joined #nim |
05:26:19 | FromGitter | <zacharycarter> shashlick: the regex / move will help with the forward decl |
05:26:33 | FromGitter | <zacharycarter> BUT it won't fix the assignment that shouldn't be there |
05:27:08 | FromGitter | <zacharycarter> I'm guessing that's a c2nim thing though |
05:34:53 | shashlick | What is this assignment? |
05:41:36 | * | dddddd quit (Remote host closed the connection) |
05:52:11 | FromGitter | <zacharycarter> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5be12c0b9088fe25bc69a02b] |
05:52:13 | FromGitter | <zacharycarter> that block |
05:52:23 | FromGitter | <zacharycarter> all the = -1 and nullptr stuff |
06:19:34 | FromGitter | <xmonader> guys any mac users here? getting "error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number" openssl 1.0.2p ? |
06:32:16 | * | dorelix_ quit (Ping timeout: 244 seconds) |
06:38:22 | FromGitter | <gogolxdong> https://github.com/ehmry/nim-cbor/ |
06:46:09 | FromGitter | <Varriount> @timotheecour You there? |
06:49:13 | * | d10n-work quit (Quit: Connection closed for inactivity) |
06:52:44 | FromGitter | <gogolxdong> There isn't cbor serialization in IPFS last time I checked. |
06:59:29 | * | mech422__ joined #nim |
07:02:27 | * | mech422_ quit (Ping timeout: 240 seconds) |
07:07:29 | * | krux02 joined #nim |
07:09:11 | FromGitter | <alehander42> https://blog.systems.ethz.ch/blog/2018/a-hammer-you-can-only-hold-by-the-handle.html ⏎ this "enforce state machine transitions on compile time" thing is always nice. Still, I feel like one can do something in Nim using distinct types: is that so? |
07:13:20 | FromGitter | <zurs> If I want to host the documentation locally, how would I do that? |
07:13:44 | FromGitter | <zurs> I have installed jekyll and got the website running, but the documentation doesn't work |
07:29:40 | krux02 | zurs: nim doc creates a folder with the documentation, you should be able to just open the files with a browser |
07:46:07 | * | kapil____ quit (Quit: Connection closed for inactivity) |
08:09:11 | * | kapil____ joined #nim |
08:12:34 | * | Vladar joined #nim |
08:16:46 | * | jjido joined #nim |
08:35:03 | * | jjido quit (Ping timeout: 245 seconds) |
08:36:58 | * | jjido joined #nim |
08:47:16 | FromGitter | <timotheecour> @Varriount sorry missed your gitter msgs |
09:02:49 | * | a__b__m joined #nim |
09:03:40 | * | a__b__m is now known as abm |
09:04:16 | * | jjido quit (Ping timeout: 260 seconds) |
09:32:52 | * | jjido joined #nim |
09:36:51 | * | PMunch joined #nim |
09:41:34 | * | yonson joined #nim |
10:03:42 | * | floppydh joined #nim |
10:04:06 | * | deathpoison joined #nim |
10:11:30 | PMunch | Huh, nimsuggest doesn't react if you update a nimble package after you've started it |
10:15:11 | PMunch | Why is the latest devel tagged 0.19.9 by the way? |
10:21:05 | FromGitter | <gogolxdong> close to 1.0 , I think |
10:21:26 | FromGitter | <mratsim> 1) 20.0 |
10:22:04 | FromGitter | <mratsim> we need at least one release with seq/strings based on destructors before 1.0 I think |
10:22:06 | FromGitter | <waghanza> 🎉 |
10:22:14 | FromGitter | <waghanza> it will be *amazing* |
10:22:54 | PMunch | mratsim, at least.. Will probably introduce some subtle bugs |
10:23:21 | FromGitter | <gogolxdong> destructor feature is important. |
10:23:56 | FromGitter | <mratsim> yeah but it would make temp allocation when multithreading more sane. |
10:24:50 | FromGitter | <mratsim> `setupForeignThreadGC()` and `teardownForeignThreadGc()` are first annoying to type and second probably have overhead. |
10:25:09 | * | tapiti joined #nim |
10:25:22 | FromGitter | <mratsim> when I just want simple scratch space for temp computation that’s annoying. |
10:26:07 | * | kapil____ quit (Quit: Connection closed for inactivity) |
10:27:53 | * | theelous3 joined #nim |
10:30:07 | * | tapiti quit (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org) |
10:31:00 | FromGitter | <narimiran> PMunch because it is devel version for 0.20, and this nomenclature allows for more backports to 0.19 branch if needed (0.19.2, 0.19.4, 0.19.6, 0.19.8) |
10:36:24 | PMunch | Ah right, that makes sense I guess |
10:59:33 | FromGitter | <timotheecour> @narimiran huh, i don’t understand that logic |
11:00:49 | FromGitter | <timotheecour> skipping patch numbers as done here is never needed in other software, i don’t see why it’s needed for 0.19 branch; seems really arbitrary |
11:14:04 | Araq | I like it, what's the alternative? a 0.19.3 that becomes 0.20 and has nothing to do with 0.19.4? |
11:17:09 | FromGitter | <timotheecour> will reply tmrw, 3am here :) |
11:17:25 | FromGitter | <alehander42> Araq you got it all wrong |
11:17:29 | FromGitter | <alehander42> you need 0.20.-1 |
11:17:31 | Araq | just say "ok, I agree, it makes sense" |
11:24:50 | FromGitter | <xmonader> my app got demoed to some HP people and they definitely didn't hear what nim is.. |
11:26:35 | itschin | Rust people really nailed it with that name |
11:26:37 | itschin | syntax is bananas |
11:26:51 | itschin | rusted old 1940s car |
11:27:25 | FromGitter | <alehander42> syntax is not really the interesting part of rust |
11:28:07 | FromGitter | <xmonader> also the name is apparently for some famous game, some ppl signed up in their forum and asked about the game afaik xD |
11:32:08 | itschin | im new to programming so trying to get past the code to see the ideas is hard |
11:32:15 | itschin | think ill watch a video |
11:32:45 | * | rokups joined #nim |
11:33:00 | FromGitter | <xmonader> @itschin new to programming or to nim? |
11:34:34 | itschin | programming |
11:38:01 | FromGitter | <alehander42> @itschin I also don't like their syntax a lot, but what can you do: wait until you see e.g. erlang or apl |
11:38:50 | FromGitter | <alehander42> (I actually do like erlang's syntax) |
11:47:44 | FromGitter | <technicallyagd> Start programming with rust takes some guts |
11:49:03 | FromGitter | <technicallyagd> It's quite hard for programming beginners IMO |
11:49:04 | FromGitter | <xmonader> @itschin: If you're seeking some advice, use some non-clever language that isn't full of surprises and clear on basic concepts or even language that you can stick to a subset of it for a while until u grasp and ready for more |
11:54:44 | PMunch | itschin, or check out the Nim tutorial specifically for people new to programming: https://narimiran.github.io/nim-basics/ |
11:55:54 | FromGitter | <kaushalmodi> Emacs does x.y.91 for devel versions |
11:56:05 | PMunch | I've worked as a tutor for university classes on introduction to programming, and helped proof-read that tutorial, and I think it turned out pretty understandable for newbies :) |
11:56:21 | FromGitter | <kaushalmodi> And then releases x.(y+1) |
11:56:54 | FromGitter | <kaushalmodi> So it also skips release versions (just giving an example that what Nim's doing is not new) |
11:57:12 | PMunch | Hmm yeah, with .9 we are actually limited to only 8 bug-fix releases. With the old system we could theoretically go 0.19.10 |
11:57:38 | FromGitter | <kaushalmodi> Yeah, Emacs is quite conservative with . 91 :) |
11:57:54 | PMunch | Why 91 and not 99? |
11:57:54 | FromGitter | <kaushalmodi> .92 .. .99 are for RC releases |
11:58:03 | PMunch | Ah okay |
11:58:41 | * | dom96_w joined #nim |
11:58:43 | Araq | 8 bugfix releases for the 0.19 line is perfectly fine. |
11:59:04 | Araq | the biggest breakage is behind us with the not-nil seqs |
11:59:13 | FromGitter | <kaushalmodi> Actually, I need to check when I get to my computer; devel version is .90 and .91+ are RC versions |
12:06:09 | * | Snircle joined #nim |
12:07:39 | * | elrood joined #nim |
12:11:27 | PMunch | Hmm, I remember there was some syntax to take an ident in a template and combine it with something to create a new ident |
12:12:14 | PMunch | I think it was something along the lines of "template test(hello: untyped): untyped = var `hello`_world = 10" |
12:14:37 | PMunch | Ah, found it https://nim-lang.org/docs/manual.html#templates-identifier-construction |
12:24:16 | * | jjido quit (Ping timeout: 246 seconds) |
12:24:47 | FromGitter | <narimiran> nitpicking about the name of devel version. some next level shit :D |
12:25:57 | PMunch | I think it's a good sign, means there's nothing more important to complain about :P |
12:46:21 | * | brainbomb joined #nim |
13:01:17 | * | adeohluwa joined #nim |
13:08:44 | * | dom96_w quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
13:09:42 | FromGitter | <kayabaNerve> I didn't read the manual, but running the Nim compiler caused my computer to grow an arm, pick up a knife, and stab me. I'd like to complain about that if I can. |
13:15:07 | * | dom96_w joined #nim |
13:40:55 | * | endragor quit (Remote host closed the connection) |
14:12:43 | shashlick | @zacharycarter: you'd need to replace nullptr with nil or something, not sure |
14:15:35 | FromGitter | <zacharycarter> I think I can just get rid of those and be fine |
14:15:41 | FromGitter | <zacharycarter> just need to write the regex |
14:20:39 | shashlick | search/replace is good enough for most things |
14:25:11 | * | mal``` quit (Quit: Leaving) |
14:27:18 | * | jjido joined #nim |
14:35:04 | * | birdspider joined #nim |
14:35:15 | * | mal`` joined #nim |
14:50:07 | * | vlad1777d quit (Ping timeout: 240 seconds) |
14:51:44 | * | dddddd joined #nim |
15:00:04 | * | endragor joined #nim |
15:04:13 | * | endragor quit (Ping timeout: 246 seconds) |
15:11:02 | * | adeohluwa quit (Quit: Connection closed for inactivity) |
15:18:11 | * | d10n-work joined #nim |
15:23:49 | * | citycide quit (Ping timeout: 246 seconds) |
15:28:15 | * | jjido quit (Read error: Connection reset by peer) |
15:28:56 | * | jjido joined #nim |
15:38:21 | FromGitter | <alehander42> wow when sublime takes 2gb ram I know i've opened too much stuff |
15:42:47 | PMunch | 2Gb? |
15:45:59 | * | citycide joined #nim |
15:47:24 | FromGitter | <alehander42> yeah |
15:57:50 | * | darithorn joined #nim |
16:01:33 | * | Aareon_ quit (Ping timeout: 252 seconds) |
16:09:04 | * | kapil____ joined #nim |
16:10:59 | * | nsf quit (Quit: WeeChat 2.3) |
16:14:30 | * | Aareon_ joined #nim |
16:23:16 | FromGitter | <zacharycarter> https://github.com/zacharycarter/cacophony is working now and building |
16:23:19 | FromGitter | <zacharycarter> on osx at least |
16:27:38 | shashlick | fails on Linux |
16:27:51 | * | floppydh quit (Quit: WeeChat 2.3) |
16:27:55 | shashlick | plus you need to add a task to generate the nim files |
16:28:33 | shashlick | see https://github.com/genotrance/nimarchive/blob/master/nimarchive.nimble for a good example that installs nimgen as well if it isn't already there |
16:29:28 | FromGitter | <zacharycarter> I will |
16:29:31 | FromGitter | <zacharycarter> working on that stuff now |
16:29:44 | FromGitter | <zacharycarter> i expected it to fail on linux - I don't have the SIMD compiler flags set for linux yet |
16:30:36 | shashlick | cool - http://ix.io/1r9Q |
16:30:55 | FromGitter | <zacharycarter> thx - will let you know once I fix these |
16:31:03 | shashlick | testing on windows |
16:32:34 | * | Vladar quit (Remote host closed the connection) |
16:32:48 | shashlick | Windows - http://ix.io/1r9R |
16:33:42 | FromGitter | <zacharycarter> thanks |
16:33:55 | FromGitter | <zacharycarter> fixed the nimble stuff - working on compiler flags now to support linux and windows |
16:34:22 | shashlick | cool - i can add it to the CI as well |
16:35:15 | shashlick | https://goo.gl/qr6sK2 is what i'm working on right now |
16:36:00 | FromGitter | <zacharycarter> shashlick - question - if I need to compile certain individual cpp files with certain compiler flags |
16:36:25 | FromGitter | <rayman22201> Off topic but Araq will love this article : https://threader.app/thread/1059306393885241346 |
16:36:32 | * | narimiran joined #nim |
16:36:36 | FromGitter | <zacharycarter> is that possible w/ nimgen? |
16:36:46 | krux02 | zacharycarter: do you know that I have some noise functions that compile from Nim to GLSL and therefore are much faster than any SIMD on the CPU? |
16:36:48 | FromGitter | <zacharycarter> love that twitter @rayman22201 |
16:37:26 | FromGitter | <zacharycarter> krux02: I saw you mentioned that yesterday - not sure I'll be able to make that work with godot and my gamejam project |
16:37:30 | FromGitter | <zacharycarter> but it does sound very interesting |
16:37:35 | shashlick | @zacharycarter: i'm not sure that's possible |
16:37:50 | FromGitter | <zacharycarter> shashlick: shoot - I'm going to need that functionality I think |
16:37:53 | shashlick | you could add a pragma to a specific file and see |
16:38:40 | shashlick | but if it is a cpp file, not sure how to send a pragma only for that file since it will be included with a compile pragma |
16:38:49 | shashlick | perhaps Araq might now |
16:38:57 | FromGitter | <zacharycarter> yeah good point |
16:38:58 | krux02 | zacharycarter: as long as godot makes the OpenGL context available to the Nim scripting, it is possible |
16:38:59 | Araq | rayman22201: I already know this :-) |
16:39:00 | FromGitter | <zacharycarter> hrm there may be another wy |
16:39:09 | FromGitter | <zacharycarter> krux02: I'm not sure if it does |
16:39:10 | FromGitter | <zacharycarter> let me see |
16:39:39 | krux02 | but you are probably better off using the noise on the CPU, when you want to do CPU things with it |
16:39:48 | krux02 | the shader version is mostly for procedural textures |
16:40:12 | krux02 | like the old blender renderer materials |
16:40:49 | FromGitter | <zacharycarter> yeah |
16:41:39 | krux02 | zacharycarter, you are on a platform that abandoned OpenGL, so even if it does expose the OpenGL context, it might eventually be replaced by metal if isn't already replaced. |
16:43:17 | Araq | they will take it back and un-abandon OpenGL |
16:43:24 | Araq | maybe. |
16:44:18 | FromGitter | <rayman22201> 😄 |
16:47:27 | * | Trustable joined #nim |
16:47:57 | FromGitter | <zacharycarter> haha |
16:48:05 | FromGitter | <zacharycarter> well I don't plan on being on osx for long - going to back to windows as soon as I leave my job |
16:48:19 | FromGitter | <zacharycarter> shashlick: I just added compiler flags for g++ on windows and linux |
16:48:26 | FromGitter | <zacharycarter> I didn't add msvc++ support yet |
16:48:35 | FromGitter | <zacharycarter> not sure if you can try again on linux / win - if not no worries at all |
16:52:26 | * | rokups quit (Quit: Connection closed for inactivity) |
16:57:31 | * | MyMind joined #nim |
16:58:00 | * | Sembei quit (Ping timeout: 252 seconds) |
17:00:00 | shashlick | I'll try in a couple hours |
17:00:13 | shashlick | Nimgen doesn't support msvc yet |
17:00:42 | FromGitter | <tim-st> Is it correct that this doesnt work? https://gist.github.com/tim-st/1b79104a0cd839484b9fd9392372931e |
17:00:50 | shashlick | Might need to check on Travis as well, older compiler |
17:02:46 | * | brainbomb left #nim (#nim) |
17:14:18 | * | platoff quit (Read error: Connection reset by peer) |
17:14:45 | * | platoff joined #nim |
17:18:47 | FromGitter | <zacharycarter> thanks - I'll try to set up a throw away linux vm to test on |
17:20:42 | * | PMunch quit (Quit: Leaving) |
17:20:45 | * | deathpoison quit (Quit: Leaving.) |
17:22:22 | * | brainproxy joined #nim |
17:27:46 | * | brainproxy quit (Quit: WeeChat 2.3) |
17:28:25 | * | birdspider quit (Remote host closed the connection) |
17:33:56 | * | brainproxy joined #nim |
17:34:40 | shashlick | I used Travis via docker recently |
17:34:57 | shashlick | Was fat ~3gb but easy |
17:37:48 | * | platoff quit (Read error: Connection reset by peer) |
17:39:12 | * | platoff joined #nim |
17:46:13 | narimiran | krux02: you here? |
17:46:23 | krux02 | yes |
17:47:35 | narimiran | re tests for that async fix - how to write the discard block when the error is expected? |
17:48:01 | * | jjido quit (Ping timeout: 246 seconds) |
17:48:22 | krux02 | there are other tests that expect an error |
17:48:34 | krux02 | there are even error patterns but I have to look them up as well |
17:49:21 | Araq | tests/errmsgs has examples |
17:49:21 | narimiran | ok, i thought you might know from the top of your head :) |
17:49:34 | Araq | errormsg: "blah" |
17:49:37 | Araq | line: 34 |
17:50:06 | narimiran | thanks Araq |
17:51:14 | Araq | there is also 'nimout' where you can specify multiline output including warnings |
17:54:17 | narimiran | hmm, i've written the error like in those examples, but the test seems not to raise it!? "expected: ...........", gotten: "<empty>" |
17:57:40 | narimiran | i'm running tests with `koch tests cat async` |
17:58:34 | * | dom96_w quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
18:01:23 | * | Vladar joined #nim |
18:02:57 | * | jjido joined #nim |
18:04:12 | * | yonson quit (Ping timeout: 252 seconds) |
18:21:43 | * | theelous3 quit (Ping timeout: 245 seconds) |
18:30:22 | * | platoff quit (Read error: Connection reset by peer) |
18:37:51 | * | nsf joined #nim |
18:39:34 | * | platoff joined #nim |
18:47:05 | FromGitter | <xmonader> guys anyone mac here? and actively used ssl in nim on it? |
18:47:23 | FromGitter | <xmonader> people keep reporting `error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number` any ideas? |
18:47:27 | * | jjido quit (Ping timeout: 252 seconds) |
18:48:24 | Araq | I had the same issue with ruby's gems |
18:55:24 | * | theelous3_ joined #nim |
18:55:56 | * | Trustable quit (Remote host closed the connection) |
18:56:38 | * | zachk joined #nim |
18:57:31 | * | zachk quit (Read error: Connection reset by peer) |
18:57:52 | * | zachk joined #nim |
18:58:58 | * | mech422_ joined #nim |
19:02:20 | * | mech422__ quit (Ping timeout: 268 seconds) |
19:04:17 | * | jjido joined #nim |
19:04:17 | jjido | I think identifier rules are complex enough, maybe you shouldn't mention emojis |
19:04:17 | jjido | Or separate it in a "fun facts" box |
19:04:17 | jjido | For beginners, would "character string" be more easy to understand than just "string"? |
19:05:04 | FromGitter | <Varriount> @timotheecour I'm having a hard time figuring out why that reloader plugin is doing all those weird import shenanigans. Reloading a python package should be a matter of removing the relevant modules from sys.modules, possibly running garbage collection, then importing the package again. |
19:05:13 | narimiran | jjido: is that about Nim Basics? |
19:05:58 | * | zachk quit (Changing host) |
19:05:58 | * | zachk joined #nim |
19:10:56 | * | jjido quit (Ping timeout: 250 seconds) |
19:30:33 | FromGitter | <kdheepak> I have @xmonader |
19:31:27 | FromGitter | <kdheepak> Try adding the following when you compile the program? ⏎ ⏎ ```-d:ssl``` [https://gitter.im/nim-lang/Nim?at=5be1ec0ffbb6f507e642c778] |
19:32:10 | * | natrys joined #nim |
19:33:14 | FromGitter | <xmonader> @kdheepak i use the -d:ssl flag (on linux i've openssl 1.1.1) and on mac there's (1.0) and building on mac with `-d:ssl` flag gives me that error whenever i try to initiate ssl connection |
19:34:05 | FromGitter | <kdheepak> @narimiran I think you can do the following ⏎ ⏎ ```discard """ ⏎ errormsg: "This is the error message that is thrown in the exception" ⏎ """``` [https://gitter.im/nim-lang/Nim?at=5be1ecad7660cf07ca7bfeb4] |
19:34:17 | FromGitter | <kdheepak> at the top of the file. |
19:34:45 | * | itschin quit (Ping timeout: 252 seconds) |
19:35:14 | FromGitter | <kdheepak> @xmonader I think I had to do `brew upgrade openssl --reinstall ` |
19:35:39 | FromGitter | <kdheepak> if you use brew and have installed openssl that way, this is what I'd recommend trying. |
19:35:55 | narimiran | @kdheepak i did that, but it didn't work as i expected |
19:36:26 | FromGitter | <kdheepak> @narimiran Are you sure you are using double quotes? |
19:36:34 | FromGitter | <kdheepak> Is this a PR that we can look at? |
19:37:19 | FromGitter | <kdheepak> Are you saying that the test does not raise an exception when you expect to it? |
19:37:26 | narimiran | yup |
19:37:31 | FromGitter | <kdheepak> Ah. |
19:37:55 | FromGitter | <kdheepak> But it does in a non test environment? |
19:39:04 | narimiran | yes, when you run the file, you get the error i would expect to get |
19:44:21 | FromGitter | <xmonader> @kdheepak thank you will try that |
20:32:01 | * | nsf quit (Quit: WeeChat 2.3) |
20:42:03 | FromGitter | <timotheecour> @Varriount I would love for a simple solution as well; so far what worked for me was to do the single file reload that I described (based on fileToMod); but are you able to make a whole plugin reload work by "removing the relevant modules from sys.modules, possibly running garbage collection, then importing the package again” ? |
20:44:15 | FromGitter | <Varriount> @timotheecour I'm still confused on what you mean by "single file reload" - do you mean reloading a single python file in a package? |
20:46:21 | FromGitter | <timotheecour> Yes, so if I’m editing $nim_D/NimLime/core/commands/nimcheck.py , a menu item now allows me to reload just that file ; it seems to work (and relies on fileToMod to get fully qualified module name) |
20:49:22 | FromGitter | <timotheecour> Btw regarding nimsuggest: wrote a plugin that calls nimsuggest def to jump to defnition; it requires a patch to nimsuggest to make it work more reliably (eg allowing it to work on random files unrelated to initial file given to nimsuggest) |
20:49:54 | FromGitter | <Varriount> @timotheecour The way to do that currently is to run multiple nimsuggest processes. |
20:50:24 | FromGitter | <Varriount> @timotheecour Reloading a single module is somewhat dangerous - any references to types or functions contained in the module will not be updated. |
20:50:30 | FromGitter | <timotheecour> well the way i did was to add a `refresh` mode that’ll cause recompilation |
20:51:58 | FromGitter | <timotheecour> > any references to types or functions contained in the module will not be updated ⏎ ⏎ ya, i suspected this could be an issue… shoot so we still need whole plugin reload to work then |
20:52:05 | FromGitter | <Varriount> Yeah. |
20:52:34 | FromGitter | <timotheecour> but currently it just breaks NimLime, eg 'nimcheck save’ won’t trigger anymore after using automaticpackagereloader |
20:52:50 | FromGitter | <Varriount> I've done all I can with regards to NimLime. |
20:53:11 | FromGitter | <Varriount> It's AutomaticPackageReloader that's violating the API contract. |
20:53:54 | FromGitter | <Varriount> Though, one way around it would be to place a `plugin_loaded` function in the root NimLime.py file, and have that function call any other init functions. |
20:54:08 | FromGitter | <timotheecour> ya that may work |
20:54:45 | FromGitter | <timotheecour> `The way to do that currently is to run multiple nimsuggest processes.` any advantage over a single nimsuggest process ? given that it consumes lots of memory etc |
20:55:08 | FromGitter | <Varriount> Not really, other than possibly running requests in parallel. |
20:57:14 | FromGitter | <timotheecour> btw did you ever get `nimsuggest use` to work? https://github.com/nim-lang/nimsuggest/issues/90 is making it not as useful as it could (eg for refactoring etc) |
20:58:34 | * | yonson joined #nim |
21:00:07 | FromGitter | <zacharycarter> can anyone explain to me what `$TOKEN` is here - https://github.com/genotrance/nimgen/blob/master/.travis.yml#L16 ? |
21:00:15 | FromGitter | <zacharycarter> Trying to replicate this build for my new library |
21:11:16 | * | yonson quit (Quit: WeeChat 2.3) |
21:14:41 | FromGitter | <Varriount> @zacharycarter Personal Access Token for the Github API? |
21:15:15 | FromGitter | <Varriount> "curl -u encodes the username:password string into a base-64 string which is passed in the Authorization header" |
21:15:54 | FromGitter | <zacharycarter> hrmm okay thanks |
21:16:46 | FromGitter | <Varriount> @zacharycarter And `-u` accepts a parameter of the form username:password |
21:23:56 | * | SitiSchu joined #nim |
21:24:02 | shashlick | Ya that's your http://github.com user plus token |
21:24:24 | * | SitiSchu quit (Remote host closed the connection) |
21:24:27 | shashlick | Otherwise api calls randomly fail since there must be hundreds of anonymous calls from Travis |
21:25:11 | shashlick | Create a new token on http://github.com with no permissions and add it to Travis configuration |
21:25:47 | shashlick | @zacharycarter: I can add cacophony to the nimgen CI |
21:29:14 | * | Vladar quit (Remote host closed the connection) |
21:31:03 | FromGitter | <arnetheduck> hey @dom96, where can I see that nim-result package is failing? is there any requirement on the tag format? |
21:31:15 | dom96 | just run `nimble install <url>` |
21:37:09 | FromGitter | <arnetheduck> oh. right, oops, pushed it to wrong branch, should be fine now |
21:48:09 | * | kapil____ quit (Quit: Connection closed for inactivity) |
21:50:15 | * | narimiran quit (Remote host closed the connection) |
22:22:56 | * | kapil____ joined #nim |
22:30:23 | * | jjido joined #nim |
22:31:24 | jjido | narimiran: yes it was |
22:48:13 | FromGitter | <zacharycarter> shashlick: that'd be great - as soon as I verify it's compiling on linux and windows let's talk about that |
22:51:23 | * | abm quit (Quit: Leaving) |
23:03:27 | * | krux02 quit (Remote host closed the connection) |
23:07:42 | * | chemist69_ quit (Ping timeout: 264 seconds) |
23:11:04 | FromGitter | <zacharycarter> ugh |
23:11:43 | * | vlad1777d joined #nim |
23:11:43 | FromGitter | <zacharycarter> not looking forward to figuring out why this travis build is failing - https://gist.github.com/zacharycarter/2fd4bfd7c2ade4a423219c4d0e543e0a |
23:11:46 | FromGitter | <zacharycarter> anyone have any tips? |
23:13:02 | FromGitter | <zacharycarter> nm - think I may have found something |
23:18:24 | * | natrys quit (Quit: natrys) |
23:20:42 | FromGitter | <zacharycarter> I guess travis osx build bots don't support avx2 anyway |
23:27:51 | FromGitter | <timotheecour> Hi @arnetheduck are you here? |
23:28:14 | FromGitter | <arnetheduck> @timotheecour yep |
23:30:07 | FromGitter | <timotheecour> so IIUC UncheckedArray is already mapping to a pointer in C (or C++), and `a:UncheckedArray[T]` would map to T* ; so why do we have `ptr UncheckedArray[T]` instead of `UncheckedArray[T]` all over the Nim code ? |
23:30:27 | FromGitter | <timotheecour> isn’t that a double pointer reference otherwise? |
23:33:00 | FromGitter | <arnetheduck> I'd guess semantically, `UncheckedArray` is meant to correspond to `array` which is a value type.. to get `T*` you need the address actually.. in `C`, arrays and pointers are interchangeable, in Nim not (at least this is how I remember it, vaguely) |
23:33:31 | * | edcragg_ joined #nim |
23:35:22 | FromGitter | <arnetheduck> also, it doesn't quite make sense to use `UncheckedArray` as a value type - there's no way for the compiler to meaningfully copy it because the length is unknown |
23:35:26 | FromGitter | <timotheecour> side question: right now I’m on a limbo zone: nim devel is 0.19.9 (not 0.20.X as i’d expect) so how can i target stable using NimMajor,NimMinor,NimPath ? |
23:35:51 | FromGitter | <timotheecour> (for https://github.com/timotheecour/nim-ranges/commit/740478c2b0785686fbfd3ab93b5cdff188c0fa57) |
23:36:22 | FromGitter | <timotheecour> (i mean https://github.com/status-im/nim-ranges/pull/31) |
23:37:02 | FromGitter | <arnetheduck> dunno. we use a fork that we control, to side-step and brute-force the versioning story in nimble. it's causing us lots of grief, but it remains the least bad option. |
23:50:08 | FromGitter | <zacharycarter> does anyone have a travis CI config for some SIMD nim code they're testing? |
23:50:12 | FromGitter | <zacharycarter> curious to see what it looks like |
23:50:15 | FromGitter | <zacharycarter> if it exists |
23:58:46 | FromGitter | <timotheecour> > there's no way for the compiler to meaningfully copy it because the length is unknown ⏎ ⏎ just copy the pointer ⏎ plus, see the manual: ⏎ ... [https://gitter.im/nim-lang/Nim?at=5be22ab66c24a807cb6977d3] |