<< 17-01-2017 >>

00:00:51*ftsf joined #nim
00:03:31*Ven quit (Ping timeout: 240 seconds)
00:03:32*libman quit (Read error: Connection reset by peer)
00:03:35*libman2 joined #nim
00:06:59*gokr quit (Ping timeout: 240 seconds)
00:09:22*Ven joined #nim
00:18:11*Ven quit (Ping timeout: 240 seconds)
00:33:04*aziz quit (Remote host closed the connection)
00:34:11*libman joined #nim
00:34:11*libman2 quit (Read error: Connection reset by peer)
00:49:12*Ven joined #nim
01:02:11*Ven quit (Ping timeout: 240 seconds)
01:04:59*libman2 joined #nim
01:04:59*libman quit (Read error: Connection reset by peer)
01:09:30*Ven joined #nim
01:09:33*libman2 quit (Ping timeout: 248 seconds)
01:12:33*vendethiel- quit (Remote host closed the connection)
01:12:42*vendethiel joined #nim
01:18:46*Ven quit (Ping timeout: 260 seconds)
01:22:09*devted quit (Quit: Sleeping.)
01:28:58*Ven joined #nim
01:30:10*Ven quit (Read error: Connection reset by peer)
01:36:57*dddddd quit (Quit: Hasta otra..)
01:48:59*Ven joined #nim
01:50:14FromGitter<Varriount> GustavaLapasta: Looks like someone didn't want to become familiar with inlining directives.
02:02:06*Ven quit (Ping timeout: 240 seconds)
02:08:55*Ven joined #nim
02:11:06*def-pri-pub quit (Ping timeout: 240 seconds)
02:17:24*Ven quit (Ping timeout: 256 seconds)
02:21:52*PMunch quit (Quit: leaving)
02:29:07*Ven joined #nim
02:30:20*Ven quit (Read error: Connection reset by peer)
02:38:57*chemist69 quit (Disconnected by services)
02:39:02*chemist69_ joined #nim
02:45:02*Ven joined #nim
02:45:46*Ven quit (Read error: Connection reset by peer)
03:04:52*Ven joined #nim
03:18:11*Ven quit (Ping timeout: 240 seconds)
03:24:55*Ven joined #nim
03:32:46*ftsf quit (Ping timeout: 256 seconds)
03:33:15*def-pri-pub joined #nim
03:33:20*Ven quit (Ping timeout: 256 seconds)
03:35:03*ftsf joined #nim
03:45:19*Ven joined #nim
03:46:05*Ven quit (Read error: Connection reset by peer)
04:04:47*Ven joined #nim
04:19:37*Ven quit (Ping timeout: 240 seconds)
04:24:39*Ven joined #nim
04:32:56*Ven quit (Ping timeout: 255 seconds)
04:36:30*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
04:44:43*Ven joined #nim
04:46:00*Ven quit (Read error: Connection reset by peer)
05:04:25*Ven joined #nim
05:18:10*Ven quit (Ping timeout: 256 seconds)
05:19:28*space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:20:00*space-wizard joined #nim
05:20:16*space-wizard quit (Client Quit)
05:20:19*arnetheduck joined #nim
05:20:47*space-wizard joined #nim
05:21:04*space-wizard quit (Client Quit)
05:21:35*space-wizard joined #nim
05:21:52*space-wizard quit (Client Quit)
05:22:21*space-wizard joined #nim
05:22:40*space-wizard quit (Client Quit)
05:23:07*space-wizard joined #nim
05:23:28*space-wizard quit (Client Quit)
05:23:57*space-wizard joined #nim
05:24:16*space-wizard quit (Client Quit)
05:24:43*space-wizard joined #nim
05:24:52*Ven joined #nim
05:25:04*space-wizard quit (Client Quit)
05:25:52*space-wizard joined #nim
05:25:52*space-wizard quit (Client Quit)
05:30:17*ftsf quit (Ping timeout: 240 seconds)
05:30:35*ftsf joined #nim
05:33:34*Ven quit (Ping timeout: 245 seconds)
05:44:21*Ven joined #nim
05:46:06*Ven quit (Read error: Connection reset by peer)
06:04:35*Ven joined #nim
06:11:40*def-pri-pub quit (Quit: leaving)
06:18:36*Ven quit (Ping timeout: 240 seconds)
06:19:05*idrisa_007 quit (Remote host closed the connection)
06:19:42*eizua joined #nim
06:24:06*Ven joined #nim
06:26:49*bjz joined #nim
06:32:02*space-wizard joined #nim
06:36:08*nsf joined #nim
06:40:00*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
06:48:45*Ven quit (Ping timeout: 248 seconds)
06:50:09*Ven joined #nim
07:00:03*bjz joined #nim
07:00:34FromGitter<moigagoo> @Araq I've checked `nim dump`. The problem seems to be with incorrect conversion from Unix path ("./foo") to WIndows path (".\foo"). The backslash is lost and the path becomes ".foo".
07:09:14*pie_ quit (Ping timeout: 256 seconds)
07:18:17*Ven quit (Ping timeout: 240 seconds)
07:21:37*Ven joined #nim
07:27:38*Gilga joined #nim
07:34:45*space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:39:24*vendethiel quit (Quit: q+)
07:46:19*rokups joined #nim
08:00:34*chemist69_ quit (Ping timeout: 258 seconds)
08:03:01*chemist69 joined #nim
08:06:55*Vladar joined #nim
08:10:39*lenstr quit (Ping timeout: 245 seconds)
08:11:51*gokr joined #nim
08:19:47*samuell joined #nim
08:29:50*Andris_zbx joined #nim
08:35:06*Ven quit (Ping timeout: 240 seconds)
08:37:06*Ven joined #nim
08:40:00*Arrrr joined #nim
08:50:24*Ven quit (Ping timeout: 258 seconds)
08:54:24*Ven joined #nim
09:05:36*Ven quit (Ping timeout: 240 seconds)
09:14:50*Ven joined #nim
09:20:45*Ven quit (Ping timeout: 248 seconds)
09:26:47*GustavoLapasta joined #nim
09:26:49*Arrrr quit (Ping timeout: 258 seconds)
09:28:33*Arrrr joined #nim
09:29:07*Ven joined #nim
09:35:11*bjz quit (Ping timeout: 260 seconds)
09:38:29*bjz joined #nim
09:40:05*Pisuke joined #nim
09:57:28ArrrrIt looks like you can't import two modules with the same path. I guess this was intended.
10:05:36*Ven quit (Ping timeout: 240 seconds)
10:05:51*chemist69 quit (Ping timeout: 240 seconds)
10:08:15*Ven joined #nim
10:17:41*cheatfate quit (Read error: Connection reset by peer)
10:18:21*cheatfate joined #nim
10:19:31*Ven quit (Ping timeout: 240 seconds)
10:28:22*Ven joined #nim
10:33:14*chemist69 joined #nim
10:33:59*Ven quit (Ping timeout: 245 seconds)
10:46:03*Kingsquee joined #nim
10:48:15*Ven joined #nim
11:04:11*Ven quit (Ping timeout: 240 seconds)
11:08:12*Ven joined #nim
11:14:50*Matthias247 joined #nim
11:16:23*couven92 joined #nim
11:17:31*Pisuke quit (Ping timeout: 240 seconds)
11:18:50*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
11:19:11*Ven quit (Ping timeout: 240 seconds)
11:23:02*Ven joined #nim
11:25:53*PMunch joined #nim
11:41:40*Pisuke joined #nim
11:43:54*samuell quit (Read error: Connection reset by peer)
11:49:36*Ven quit (Ping timeout: 240 seconds)
11:52:23*Ven joined #nim
11:57:56*byte512 joined #nim
12:02:31*Snircle joined #nim
12:04:29*PMunch quit (Remote host closed the connection)
12:05:39*Ven quit (Ping timeout: 252 seconds)
12:05:51*PMunch joined #nim
12:07:41*Ven joined #nim
12:09:11*couven92 quit (Ping timeout: 240 seconds)
12:09:56*GustavoLapasta quit (Quit: Leaving)
12:15:56*yglukhov joined #nim
12:23:26FromGitter<moigagoo> Sorry, I don't follow.
12:29:47*yglukhov quit (Remote host closed the connection)
12:31:47*yglukhov joined #nim
12:45:13*NimBot joined #nim
12:56:01*Gonzih joined #nim
13:06:28*Ven quit (Ping timeout: 240 seconds)
13:06:42*PMunch quit (Quit: leaving)
13:06:52*PMunch joined #nim
13:09:22*Ven joined #nim
13:10:00*ftsf quit (Remote host closed the connection)
13:18:02*rupil joined #nim
13:19:41*Ven quit (Ping timeout: 248 seconds)
13:26:10*Ven joined #nim
13:28:08*Arrrr quit (Quit: WeeChat 1.5)
13:29:21*pregressive joined #nim
13:30:59*pregress_ joined #nim
13:30:59*pregressive quit (Read error: Connection reset by peer)
13:46:57*ofelas quit (Ping timeout: 240 seconds)
13:47:01*vlad1777d joined #nim
13:51:54*fifr quit (Ping timeout: 245 seconds)
13:52:35*pregress_ quit ()
13:53:01*fifr joined #nim
13:53:46*pregressive joined #nim
13:57:25*yglukhov quit (Remote host closed the connection)
13:59:51*couven92 joined #nim
14:06:50*yglukhov joined #nim
14:11:03*yglukhov quit (Ping timeout: 252 seconds)
14:16:01*yglukhov joined #nim
14:17:21*yglukhov_ joined #nim
14:20:06*yglukhov quit (Ping timeout: 240 seconds)
14:47:26*krux02 joined #nim
14:48:14krux02is it stable to combine static with openarray?
14:50:52Araqdunno, do you mean static T or static context?
14:51:09*Calinou quit (Remote host closed the connection)
14:51:36*Ven quit (Ping timeout: 240 seconds)
14:52:41*Ven joined #nim
14:53:43*Calinou joined #nim
15:01:56*fredrik92 joined #nim
15:03:14*couven92 quit (Disconnected by services)
15:03:20*fredrik92 is now known as couven92
15:05:24*pie__ joined #nim
15:10:04*yglukhov_ quit (Remote host closed the connection)
15:10:34*devted joined #nim
15:12:52*pregressive quit (Read error: Connection reset by peer)
15:13:19*pregressive joined #nim
15:21:41*Ven quit (Ping timeout: 256 seconds)
15:22:09*yglukhov joined #nim
15:22:57*PMunch quit (Remote host closed the connection)
15:23:05*couven92 quit (Quit: Client disconnecting)
15:23:17*Ven joined #nim
15:25:10*yglukhov quit (Remote host closed the connection)
15:25:25*yglukhov joined #nim
15:28:04*nsf quit (Quit: WeeChat 1.6)
15:28:20krux02Araq: I mean proc foo(args: static[openArray[MyType]]): void =
15:39:41Araqtry it
16:00:12*eizua quit (Quit: Leaving)
16:26:36FromGitter<timeyyy> there was a few websites linked a while ago for searching nim packages, does anyone know what they were?
16:26:58FromGitter<andreaferretti> http://nimble-explorer.com/
16:27:09FromGitter<andreaferretti> and another one I cannot remember
16:27:23FromGitter<andreaferretti> or just https://github.com/nim-lang/packages/blob/master/packages.json + Ctrl+F
16:27:30euantorThere's one currently in development that federico3 is working on
16:27:37euantorBut it's very much a work in progress
16:27:47FromGitter<timeyyy> is it stable enough that i should add it to the awesome-nim list?
16:28:03FromGitter<andreaferretti> is there such a list?
16:28:17euantorSHould probably wait, as the domain isn't resolving to it at the minute and it's only accessible via his test server
16:28:20FromGitter<timeyyy> https://github.com/VPashkov/awesome-nim
16:28:33*gokr quit (Ping timeout: 256 seconds)
16:28:33FromGitter<timeyyy> nimble explorer you mean?
16:28:38euantorI have the nimble.directory domain that was pointing to it, and will be again when it's ready
16:29:09federico3euantor: I can deploy the new version to nimble.directory
16:29:31euantorFeel free whenever you think it's ready. If the DNS needs updating just let me know
16:31:15FromGitter<andreaferretti> I think you should mention that nimble itself can run tasks, much like nake
16:31:57FromGitter<andreaferretti> (also you may or may not want to mention my own http://andreaferretti.github.io/rosencrantz/ under web frameworks)
16:32:40FromGitter<timeyyy> if it meets the criteria here i can make a pr for it https://github.com/VPashkov/awesome-nim/blob/master/CONTRIBUTING.md
16:32:44FromGitter<andreaferretti> and under IDE all the editor integrations: atom, sublime, visual studio code etc.
16:33:21FromGitter<andreaferretti> I think it does
16:34:08FromGitter<andreaferretti> at least, I mantain and document it and there are tests
16:34:12FromGitter<andreaferretti> and I think it is stable enough
16:34:25FromGitter<andreaferretti> I cannot be the one to vouch for its usefulness :-)
16:34:27FromGitter<timeyyy> nice
16:34:30FromGitter<timeyyy> will do
16:34:45FromGitter<timeyyy> haha if you cannot do it who will ?
16:34:48*yglukhov_ joined #nim
16:35:11FromGitter<andreaferretti> well, I meant it would better if it came from someone else :-)
16:35:11*Ven quit (Ping timeout: 240 seconds)
16:35:23FromGitter<andreaferretti> sorry gotta go
16:35:24FromGitter<andreaferretti> bye
16:35:38FromGitter<timeyyy> cya
16:35:42FromGitter<timeyyy> thanks for the infos
16:35:55*yglukhov quit (Ping timeout: 256 seconds)
16:38:23*Ven joined #nim
16:39:45*xet7 quit (Quit: Leaving)
16:45:45*Trustable joined #nim
16:50:36*couven92 joined #nim
16:51:23*Ven quit (Ping timeout: 255 seconds)
16:53:39*Ven joined #nim
17:05:13*gokr joined #nim
17:05:41*yglukhov_ quit (Remote host closed the connection)
17:09:25*AckZ joined #nim
17:10:08*yglukhov joined #nim
17:11:21*yglukhov quit (Remote host closed the connection)
17:19:49*yglukhov joined #nim
17:23:16*awal left #nim (#nim)
17:24:25*yglukhov quit (Ping timeout: 258 seconds)
17:25:40*nsf joined #nim
17:28:39*yglukhov joined #nim
17:32:51*yglukhov quit (Ping timeout: 240 seconds)
17:39:56*vlad1777d quit (Quit: Leaving)
17:40:31*brson joined #nim
17:42:43*space-wizard joined #nim
17:44:14*vlad1777d joined #nim
17:45:27*vlad1777d quit (Remote host closed the connection)
17:47:23*vlad1777d joined #nim
17:52:58*gokr quit (Ping timeout: 240 seconds)
18:05:35*smt_ joined #nim
18:07:21*Ven quit (Ping timeout: 260 seconds)
18:08:18*yglukhov joined #nim
18:08:38*Ven joined #nim
18:08:45*smt quit (Ping timeout: 248 seconds)
18:12:49*yglukhov quit (Ping timeout: 256 seconds)
18:14:06*Andris_zbx quit (Remote host closed the connection)
18:17:55*Pisuke quit (Ping timeout: 256 seconds)
18:18:57*yglukhov joined #nim
18:20:06*ofelas joined #nim
18:25:38*smt_ is now known as smt
18:29:07*space-wizard left #nim ("Textual IRC Client: www.textualapp.com")
18:37:59*kulelu88 joined #nim
18:45:43kulelu88what is the best way to explore the std-lib of Nim? is there an interpreter-like option?
18:51:48dom96There is `nim secret` but it's not usable
18:51:52dom96*not very usable
18:52:27dom96Best way to explore is using Aporia: open a new file, write some code and press F5 to compile and run.
18:56:25*yglukhov quit (Remote host closed the connection)
18:58:29euantoror use slot.io/new/nim if you want to try without installing :)
18:58:55euantorglot.io/new/nim - sorry!
18:59:58federico3there's a real Nim sandbox on glot.io? Nice
19:01:00*yglukhov joined #nim
19:06:55FromGitter<timeyyy> Add glot to the awesome list?
19:10:45dom96Do we have an awesome list?
19:11:21*yglukhov quit (Remote host closed the connection)
19:12:29euantorhttps://github.com/VPashkov/awesome-nim
19:12:34euantorWas mentioned earlier today
19:13:43*michael_campbell joined #nim
19:14:12*yglukhov joined #nim
19:14:30dom96nice
19:14:46dom96Time to tweet about it
19:14:57*dom96 considers adding direct tweeting support to NimBot
19:17:52dom96https://gradha.github.io/articles/2016/03/kerf-timestamps-done-almost-right-nim.html
19:18:02dom96This gave me a giggle "This is a really long article (Buy Nim in Action!) which has been split in different chapters because it is (Nim in Action on sale!) unsuitable for today's average attention span and lets me maximize (Get Nim in Action now!) page ads. "
19:18:31*yglukhov quit (Ping timeout: 240 seconds)
19:18:37dom96Nice to see that gradha is still using ipsum genera for his blog
19:18:46dom96At least my old project still has one devoted user.
19:20:21kulelu88dom96: I have nim installed, I just want to explore the functionalities of the std lib
19:20:59dom96This is a good listing of all the things in the stdlib: http://nim-lang.org/docs/lib.html
19:21:14kulelu88dom96: there is no auto-complete in sublime ?
19:21:44dom96no idea I'm afraid.
19:22:04*rokups quit (Quit: Connection closed for inactivity)
19:35:09FromGitter<Varriount> kulelu88: If you have NimLime installed, along with Nimsuggest set up, it might work.
19:35:27kulelu88noted Varriount
19:35:31FromGitter<Varriount> I'm the theoretical maintainer of NimLime, but I have no time to actually work on it.
19:35:51*yglukhov joined #nim
19:36:13*michael_campbell quit (Quit: ZNC 1.6.1 - http://znc.in)
19:45:35FromGitter<Varriount> @dom96 @Araq http://forum.nim-lang.org/t/2733
19:46:00*dddddd joined #nim
19:46:28dom96I hope you find somebody, my hands are definitely too full
19:46:38dom96and I bet Araq's too I'm afraid
19:47:42FromGitter<timeyyy> Add more blogs/content to the awesome list if you have anything.
19:48:18FromGitter<Varriount> dom96: Yeah, I know. Just wanted to let you know the post is out there.
19:48:44FromGitter<Varriount> If it's any consolation, I should have time for things in about a year and a half (when I graduate)
19:49:13FromGitter<Varriount> (araq might be interested to know I'm taking German classes)
19:49:56*bjz joined #nim
19:50:06*gmpreussner quit (Quit: kthxbye)
19:51:07FromGitter<Varriount> kulelu88: With regards to autocomplete, I there was an experimental nimsuggest-powered autocomplete at one point, however it caused the editor to lag, as the file had to be saved very often (nimsuggest reads from a file).
19:51:40FromGitter<Varriount> However it was abandoned in favor of Sublime's builtin autocomplete capabilities.
19:53:04FromGitter<Varriount> Sorry :<
19:53:31*gmpreussner joined #nim
19:55:03FromGitter<timeyyy> Is araq german?
19:56:55FromGitter<Varriount> Ja
19:57:29FromGitter<timeyyy> Is there a user group around? Im living in germany now
19:58:10FromGitter<Varriount> @timeyyy If only. :(
19:58:54*gokr joined #nim
19:59:06FromGitter<Varriount> Although I wonder if I could take a trip to Germany next summer and meet you two.
20:00:31*bjz quit (Ping timeout: 240 seconds)
20:00:51FromGitter<timeyyy> I just started going to a python user group but im more interested in polyglot meetup
20:01:00FromGitter<timeyyy> Maybe should start one
20:01:09*bjz_ joined #nim
20:01:19FromGitter<timeyyy> Yeah im in cologne come visit haha
20:06:09*Ven quit (Ping timeout: 256 seconds)
20:10:13*Ven joined #nim
20:19:43FromGitter<Varriount> I lived in Germany (US military family) for a total of ~7 years. Would love to go back and visit.
20:20:36FromGitter<Varriount> Oddly enough, I miss the pools the most - swimming pools in the US just can' compare with the ones I went to in Stuttgart
20:23:11*Ven quit (Ping timeout: 240 seconds)
20:24:27FromGitter<timeyyy> Randomly enough I have heard that from a swimmer friend. How do you get by 7 years without learning the language ~?
20:24:49FromGitter<Varriount> Live on/go to school on a US military base.
20:26:31FromGitter<Varriount> Plus it wasn't one continuous period.
20:26:44*Ven joined #nim
20:27:07FromGitter<timeyyy> It doesnt help either that most people love to speak english when they can
20:29:03kulelu88dom96: how can the nim-lang support be installed in gedit? you guys have a .lang file but it looks like languages require a .xml
20:30:34*celsosouza joined #nim
20:31:50dom96.lang is xml
20:32:17*yglukhov quit (Remote host closed the connection)
20:32:19kulelu88so I just rename it to .xml ?
20:33:09dom96huh, as far as I know gedit uses .lang files
20:33:11dom96but they contain xml
20:33:12Araqhi timeyyy, I'm in cologne from time to time
20:33:56Araqusually I'm there on Farther's Day.
20:34:12Araqbut apparently not this year -.-
20:34:22Araqstupid vacations
20:36:57FromGitter<timeyyy> You come for work? Im generally in the cologne-duisburg area.
20:37:36*yglukhov joined #nim
20:37:39FromGitter<timeyyy> Im always up for a coffee or hack session
20:37:44*Ven quit (Ping timeout: 255 seconds)
20:38:30kulelu88dom96: so all that is required is to add the .lang file? no other configs?
20:38:50dom96kulelu88: yes, it's just syntax highlighting
20:38:58*Jesin quit (Quit: Leaving)
20:38:59kulelu88let me try
20:41:50*Ven joined #nim
20:41:59kulelu88worked, thank you dom96
20:42:31Araqtimeyyy: no, Farther's Day is the opposite of work
20:43:01dom96Araq: You mean Father's day right?
20:43:10Araqlol yes
20:44:25FromGitter<timeyyy> Oh your dad is in cologne?
20:44:47kulelu88I assume the 'r' before the 'th' is common in the german language
20:45:46FromGitter<timeyyy> Its that english doesnt write like it sounds :/
20:46:03kulelu88there is no r in fa the 'r'
20:46:15kulelu88or is it 'faa' 'the' 'rr'
20:46:16dom96farther and father are two different words :)
20:46:31dom96And you do pronounce the r in the former word
20:46:48FromGitter<timeyyy> Im australian so the r is like an a sound
20:47:01kulelu88dom96 says this as a European brought up in England @ timeyyy :P
20:47:02FromGitter<timeyyy> Maybe less so for other accents
20:47:13dom96kulelu88: sshhhh
20:47:19euantorAny ideas why this mightt result in a `SIGSEV: Illegal Storage Access`? https://glot.io/snippets/em9zc8cv14
20:47:28kulelu88timeyyy you alright mate? no worries
20:47:30*dom96 needs to keep his identity more secretive
20:47:39euantorIf you remove line 5 it works, which seems a bit odd to me...
20:47:54kulelu88dom96 marlinspike
20:48:20dom96euantor: annoying that glot doesn't give the full stack trace
20:48:56euantorI get the same behaviour on my mac with 0.16.0 too unfortunately
20:48:57dom96kulelu88: not sure what that means
20:49:12kulelu88reference to moxie marlinspike
20:50:13dom96Haven't heard of him, but that is a cool name
20:50:47kulelu88the maker of Signal? dom96
20:50:57federico3(not his real name)
20:52:18*Ven quit (Ping timeout: 240 seconds)
20:52:20smtpossibly a silly question but not finding it in docs, what's the proper way to create a new file in nim?
20:53:14dom96smt: writeFile
20:53:15smtwait nvm i think i see now
20:53:18dom96or open
20:55:13*Ven joined #nim
20:55:32*yglukhov quit (Remote host closed the connection)
20:56:10*celsosouza quit (Quit: Textual IRC Client: www.textualapp.com)
20:57:48FromGitter<Varriount> smt: If you want to be cool, you can call CreateFile on Windows and open on Linux/Mac/Bsd
20:57:54FromGitter<Varriount> :3
20:58:09FromGitter<Varriount> Reinvent all the things!
20:58:34*handlex joined #nim
20:59:33*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
21:09:28euantorAre you meant to get a stack trace with a SIGSEV? My MAC never shows them for some reason
21:09:36*gangstacat quit (Ping timeout: 252 seconds)
21:14:32*yglukhov joined #nim
21:14:49dom96euantor: yes
21:15:03dom96as long as you don't compile with -d:release you should get it
21:15:43euantorI'm just building with: Nim c -r test.nim
21:16:44dom96ahh, that's because the compiler is in fact crashing
21:16:52dom96not the application you compiled
21:17:03dom96so you need a debug compiler to see stack traces
21:17:09dom96report this please
21:17:50euantorOk, will do. I wasn't sure whether this was even meant to be supported
21:18:15*michael_campbell joined #nim
21:18:15dom96even if it isn't the compiler shouldn't crash
21:18:56dom96I think the compiler should output some sort of custom message when it crashes
21:19:05dom96asking for the bug to be reported on Githu
21:19:07dom96*github
21:19:40Araqtimeyyy: no. and that's not what Father's Day means anyway.
21:21:57FromGitter<timeyyy> ?
21:23:09FromGitter<timeyyy> I used to visit my dad on farthers day anyway ^^
21:23:42Araqhttp://www.amigos-unidos.de/wp-content/uploads/2012/01/BierBike.jpg
21:25:02FromGitter<timeyyy> U germans.. carnival the month before is nt enough haha
21:25:09*gangstacat joined #nim
21:26:43FromGitter<GrundleTrundle> Will there ever be a way to tell a compiler to treat two equivalent types with different type names as the same type? (for instance, BobsVector = tuple[x, y: float] and JimsVector = tuple[x, y: float] provided in two different libraries).
21:27:09FromGitter<GrundleTrundle> I'd settle for a weak version where the member names have to be the same in addition to matching types. :)
21:29:27Araqthat's what tuples do out of the box?
21:30:09FromGitter<GrundleTrundle> True, tuple was a bad example. The vectors I'm looking at are defined as objects.
21:30:50Araqyou can only use 'cast' for these
21:32:15FromGitter<GrundleTrundle> Alright. Thanks Araq.
21:36:44*PMunch joined #nim
21:37:57*Ven quit (Ping timeout: 256 seconds)
21:40:10*Ven joined #nim
21:43:51*bjz joined #nim
21:49:35*bjz quit (Ping timeout: 260 seconds)
21:51:28*Ven quit (Ping timeout: 240 seconds)
21:55:18*Ven joined #nim
21:59:58*Trustable quit (Remote host closed the connection)
22:04:52*rupil quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
22:12:54*handlex quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:14:38*handlex joined #nim
22:16:29*xet7 joined #nim
22:19:06euantorCreated an issue: https://github.com/nim-lang/Nim/issues/5235
22:19:57euantorAs a second point, if I try to access the constant defined in the inner template, I get `test.nim(6, 8) Error: undeclared identifier: 'SomeConst'` - I assume this is expected? If so, then what I was originally trying to do won't work anyway
22:20:28euantorAnd if so, a macro should do what I need anyway
22:21:33*sz0 joined #nim
22:22:14*Jesin joined #nim
22:27:42*pregressive quit (Remote host closed the connection)
22:28:16*pregressive joined #nim
22:28:59*Vladar quit (Quit: Leaving)
22:29:39*handlex quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:32:45*pregressive quit (Ping timeout: 260 seconds)
22:44:00*smt_ joined #nim
22:44:59euantorAlso, any idea why this fails? https://www.irccloud.com/pastebin/sYQo4DvS/
22:45:13euantorError message: https://www.irccloud.com/pastebin/doDQ4U7A/
22:46:05*smt quit (Ping timeout: 248 seconds)
22:46:09*smt_ is now known as smt
22:47:52euantorBut this works https://www.irccloud.com/pastebin/JsPVF5Sn/
22:48:51TheManiacHi folks. Can anyone give me any pointers on what to do if attempting to compile my code leads to a compiler crash?
22:48:59TheManiacI rebuilt it without -d:release
22:49:13TheManiac(it being nim)
22:49:32TheManiacso now get a stack trace from the error at least, ending in `system.nim(2587) sysFatal
22:49:33TheManiacError: unhandled exception: sym is not accessible [FieldError]`
22:50:07TheManiacResulting from `Hint: unicode [Processing]`
22:50:51TheManiac(running nim 0.16.0 on OSX)
22:52:24*zahary joined #nim
22:52:26TheManiacnim can compile `unicode.nim` without a problem
22:53:26dom96TheManiac: show us the code
22:53:32dom96and please report this as a bug on github
22:53:58dom96https://github.com/nim-lang/Nim/issues/new
22:56:14TheManiacThanks
23:00:24*Jesin quit (Quit: Leaving)
23:05:15*zahary quit (Quit: Leaving.)
23:13:22*nsf quit (Quit: WeeChat 1.6)
23:18:29TheManiacAha. I've narrowed the problem down
23:18:39*handlex joined #nim
23:19:14TheManiacI declare a table of constants: `const EXTENSIONMAP = {...}.toTable()`
23:19:45TheManiacThen the following line creates a list of the extensions: `const EXTENSIONS = toSet(concat(toSeq(EXTENSIONMAP.values())))`
23:19:57TheManiacand it's that line that causes the compilation error
23:20:34TheManiac(aside, it would be great if errors caused by compile-time evaluation were explicitly flagged as such)
23:22:21*yglukhov quit (Remote host closed the connection)
23:23:58*PMunch quit (Quit: leaving)
23:25:59TheManiacI feel like this broke across a nim upgrade (btw, replacing `const` with `let` makes it work)
23:29:42*Matthias247 quit (Read error: Connection reset by peer)
23:41:36TheManiachttps://github.com/nim-lang/Nim/issues/5237 filed
23:44:47dom96thanks, hopefully using 'let' will do alright for you as a workaround
23:45:31*synshroud quit (Ping timeout: 240 seconds)
23:45:50TheManiacYes, though unfortunately I then only get as far as: `error: duplicate member 'h214819'
23:45:51TheManiacNI h214819;` (i.e. a whole bunch of C compilation errors)
23:46:04*TheManiac is trying to pick up nim again after quite a long hiatus
23:46:51TheManiac(having dropped it when my code started having strange errors). But I spend my day job working in python and I miss nim...
23:47:22*synshroud joined #nim
23:48:34*chemist69 quit (Ping timeout: 245 seconds)
23:49:58*gokr quit (Ping timeout: 240 seconds)
23:50:44dom96strangely you seem to be running into lots of errors
23:50:56dom96C compilation errors are also a sign of compiler bugs
23:57:24dom96good night