<< 29-04-2016 >>

00:01:38*Trustable quit (Remote host closed the connection)
00:06:57*desophos quit (Remote host closed the connection)
00:17:26*yglukhov joined #nim
00:21:54*yglukhov quit (Ping timeout: 260 seconds)
00:24:49*PMunch quit (Ping timeout: 250 seconds)
00:43:58*brson quit (Read error: Connection reset by peer)
00:45:19*derka joined #nim
00:45:24*derka quit (Client Quit)
00:49:11*brson joined #nim
00:56:36*libman quit (Remote host closed the connection)
01:00:36*brson quit (Read error: Connection reset by peer)
01:03:25*brson joined #nim
01:14:52*gokr quit (Ping timeout: 252 seconds)
01:36:09*kulelu88 joined #nim
01:36:44*kulelu88 quit (Changing host)
01:36:44*kulelu88 joined #nim
01:56:33*yglukhov joined #nim
01:57:46*brson quit (Ping timeout: 252 seconds)
02:01:04*yglukhov quit (Ping timeout: 252 seconds)
02:11:18*desophos joined #nim
02:19:08*desophos_ joined #nim
02:21:07*yglukhov joined #nim
02:24:20*desophos_ quit (Ping timeout: 276 seconds)
02:25:20*yglukhov quit (Ping timeout: 250 seconds)
02:36:40*gunn joined #nim
02:45:55*enthus1ast quit (Ping timeout: 268 seconds)
02:57:11*yglukhov joined #nim
03:01:57*yglukhov quit (Ping timeout: 268 seconds)
03:29:24*vendethiel joined #nim
04:08:28*kulelu88 quit (Quit: Leaving)
04:19:28*deavmi_mobile2 joined #nim
04:29:35*drs joined #nim
04:34:28*vendethiel quit (Ping timeout: 250 seconds)
04:53:11*deavmi_mobile2 quit (Ping timeout: 276 seconds)
04:53:44*Deavmi_mobile quit (Ping timeout: 260 seconds)
05:03:13*vendethiel joined #nim
05:24:04*vendethiel quit (Ping timeout: 260 seconds)
05:25:19*novavis joined #nim
05:25:29*gokr joined #nim
05:31:18*novavis quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
05:34:19*yglukhov joined #nim
05:34:38*desophos_ joined #nim
05:38:38*desophos_ quit (Ping timeout: 244 seconds)
05:38:45*yglukhov quit (Ping timeout: 246 seconds)
05:40:01*desophos quit (Read error: Connection reset by peer)
05:58:50*yglukhov joined #nim
06:04:02*yglukhov quit (Ping timeout: 276 seconds)
06:22:22*gokr quit (Ping timeout: 268 seconds)
06:25:51*castlelore quit (Quit: WeeChat 1.4)
06:34:27*castlelore joined #nim
06:34:52*yglukhov joined #nim
06:35:11*gokr joined #nim
06:39:18*yglukhov quit (Ping timeout: 246 seconds)
06:39:22*castlelore quit (Quit: WeeChat 1.4)
06:39:42*castlelore joined #nim
06:56:00*s4 joined #nim
07:25:58*Trustable joined #nim
07:49:14*elrood joined #nim
08:14:47wuehlmausif one uses unix and zsh as a shell: compdef _gnu_generic nim, now you have command line completion for nim.
08:15:32Araq_yay, but do we have the same for bash?
08:16:03wuehlmausi am known to be a zsh guy so someone else has to answer
08:19:30*yglukhov joined #nim
08:30:34elroodwuehlmaus, doesn't do anything for me
08:31:01wuehlmausnim --<tab> ?
08:31:17wuehlmauswell, it's autogenerated completion
08:31:48elroodproduces a list of files in the current directory, as before
08:31:58elroodany other steps that'd need to be taken?
08:32:41wuehlmausperhaps def- knows .... i am not sure right now
08:33:06wuehlmauselrood: nifty completion works for you?
08:33:29wuehlmausthat must be enabled but then it's not suitable for the #nim channel :)
08:34:11wuehlmausautoload compinit ; compinit must be done
08:34:13*Arrrr joined #nim
08:34:13*Arrrr quit (Changing host)
08:34:13*Arrrr joined #nim
08:34:16wuehlmausenough said
08:36:28elroodyup. already compinited, still no effect, unfortunately. thanks for the attempt, though
08:40:41*derka joined #nim
08:50:23*derka quit (Quit: derka)
09:06:25*Demon_Fox quit (Quit: Leaving)
09:24:03*derka joined #nim
09:27:12*derka quit (Client Quit)
09:54:05*derka joined #nim
09:54:30*derka quit (Client Quit)
09:58:34*derka joined #nim
10:21:57*idwaker joined #nim
10:28:25yglukhovhow do i add an __attribute__((used)) to generated C function?
10:28:36*desophos joined #nim
10:29:44*yglukhov_ joined #nim
10:32:50*yglukhov quit (Ping timeout: 250 seconds)
10:33:07*desophos quit (Ping timeout: 252 seconds)
10:36:16Araq_yglukhov_: .codegenDecl it ... but omg why do you need this?
10:36:27yglukhov_emscripten =)
10:40:21federico3thansk wuehlmaus I'll add it to the Nim Debian package
10:43:35*derka quit (Quit: derka)
10:44:35*yglukhov_ quit (Remote host closed the connection)
10:47:37*aziz_ joined #nim
10:51:19*Amun_Ra quit (Ping timeout: 260 seconds)
10:55:26*Amun_Ra joined #nim
11:02:43*yglukhov joined #nim
11:08:52*yglukhov quit (Remote host closed the connection)
11:10:24*pregress_ quit (Read error: Connection reset by peer)
11:10:45*pregressive joined #nim
11:13:14*idwaker quit (Remote host closed the connection)
11:16:41*derka joined #nim
11:20:22wuehlmausit's not perfect but a beginning at least
11:21:51*aziz_ is now known as aziz
11:22:19*derka quit (Quit: derka)
11:32:00*derka joined #nim
11:40:19*novavis joined #nim
11:41:56*novavis quit (Client Quit)
11:45:46*yglukhov joined #nim
11:50:13*BitPuffin joined #nim
12:30:29*GangstaCat quit (Quit: Leaving)
12:34:38*GangstaCat joined #nim
12:44:00*derka_ joined #nim
12:46:49*derka quit (Ping timeout: 260 seconds)
12:46:49*derka_ is now known as derka
13:45:49*yglukhov_ joined #nim
13:46:06*yglukhov quit (Read error: Connection reset by peer)
14:00:50*jeffc joined #nim
14:02:42*cheatfate quit (Quit: Leaving)
14:23:05*vendethiel joined #nim
14:33:10*GangstaCat quit (*.net *.split)
14:33:10*kier quit (*.net *.split)
14:33:10*federico3 quit (*.net *.split)
14:33:11*sarlalian quit (*.net *.split)
14:33:11*zxtx quit (*.net *.split)
14:33:11*Xe quit (*.net *.split)
14:33:11*wh1t3r0s3 quit (*.net *.split)
14:33:55*sarlalian joined #nim
14:34:16*wh1t3r0s3 joined #nim
14:36:55*GangstaCat joined #nim
14:37:07*novavis joined #nim
14:37:07*kier joined #nim
14:37:07*zxtx joined #nim
14:37:11*federico3 joined #nim
14:37:17*novavis quit (Changing host)
14:37:17*novavis joined #nim
14:39:25*Xe joined #nim
14:54:35*derka quit (Quit: derka)
15:05:22*libman joined #nim
15:13:54Araq_yglukhov_: stack traces for JS are weird now.
15:14:33Araq_when NimStackTrace:
15:14:33Araq_ var buf = rawWriteStackTrace()
15:14:33Araq_ else:
15:14:35Araq_
15:14:54Araq_so ... when NimStackTrace we assign it to some buffer and discard it completely? o.O
15:14:57*libman quit (Quit: Leaving.)
15:15:03*libman joined #nim
15:15:20yglukhov_yeah i know, theyve been weird for a while
15:15:41yglukhov_bbl
15:18:33Araq_we can set window.onerror and translate JS exceptions that happen under our hood into Nim stack traces :-)
15:19:16*libman quit (Ping timeout: 250 seconds)
15:19:29*vendethiel quit (Ping timeout: 268 seconds)
15:19:53*yglukhov_ quit (Ping timeout: 244 seconds)
15:26:15*s4 quit (Quit: Konversation terminated!)
15:34:31*libman joined #nim
16:02:46*aziz quit (Remote host closed the connection)
16:04:15*vendethiel joined #nim
16:04:56*yglukhov joined #nim
16:24:00*derka joined #nim
16:29:03*pregressive quit (Remote host closed the connection)
16:35:00*derka quit (Ping timeout: 276 seconds)
16:40:07*derka joined #nim
16:40:47*yglukhov quit (Remote host closed the connection)
16:46:41*yglukhov joined #nim
16:47:04*desophos joined #nim
17:01:28*wuehlmaus quit (Quit: Lost terminal)
17:09:16*brson joined #nim
17:23:44*yglukhov quit (Remote host closed the connection)
17:46:02*novavis quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
17:46:16*yglukhov joined #nim
17:47:15*novavis joined #nim
17:50:27*novavis quit (Client Quit)
17:51:11*yglukhov quit (Ping timeout: 268 seconds)
17:51:23*desophos quit (Remote host closed the connection)
17:51:25*yglukhov joined #nim
17:55:29*desophos joined #nim
17:58:02*desophos quit (Remote host closed the connection)
17:58:33*desophos joined #nim
18:01:59*desophos quit (Remote host closed the connection)
18:07:15*yglukhov quit (Remote host closed the connection)
18:09:04*BitPuffin quit (Read error: Connection reset by peer)
18:15:26*yglukhov joined #nim
18:26:20*yglukhov quit (Remote host closed the connection)
18:28:41*draynium quit (Max SendQ exceeded)
18:38:13*yglukhov joined #nim
18:42:52*yglukhov quit (Ping timeout: 260 seconds)
18:43:54*yglukhov joined #nim
18:47:05*desophos joined #nim
18:49:48*draynium joined #nim
18:55:14*seguleh joined #nim
18:58:46*desophos quit (Remote host closed the connection)
19:08:52*desophos joined #nim
19:11:04*novavis joined #nim
19:35:31*wuehlmaus joined #nim
19:39:20*Arrrr quit (Quit: WeeChat 1.4)
19:42:55*novavis quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
19:43:07*novavis joined #nim
19:48:11*rok joined #nim
20:07:45*desophos quit (Remote host closed the connection)
20:14:19*desophos joined #nim
20:17:29*silven quit (Ping timeout: 244 seconds)
20:18:22*silven joined #nim
20:18:52*desophos quit (Ping timeout: 252 seconds)
20:25:14*nchambers left #nim ("Leaving")
20:27:25*deavmi joined #nim
20:27:28deavmiello all
20:27:50deavmiAnyone want to play slither.io with me. I am too tired to do Nim learning now.
20:28:34deavmisilther.io is written in js btw. So Nim version upciming ey ;))
20:29:14*desophos joined #nim
20:31:39Araq_hi deavmi
20:32:07deavmiAraq_: hello o/
20:33:12Araq_slither is boring, what about SC2?
20:33:24deavmiSC2?
20:34:46deavmiMy Internet connection lags like hell with Slither
20:35:00deavmiUnderstandable cause there is a lot of data transfer with that game
20:35:22deavmiStarCraft 2?
20:35:26Araq_aye
20:35:36deavmiI was thinking of something browser based
20:35:49Araq_the only game that I play these days -.-
20:35:51deavmiAs I don't want to have to download (or pay) for something
20:35:54deavmiAraq_: lol
20:35:57federico3Star Control II?
20:36:02deavmiAraq_: Minesweeper is the best.... XD
20:36:03*derka quit (Quit: derka)
20:36:22deavmiI play Flex
20:36:27deavmias well as Bison
20:36:32deavmiand Bison++
20:36:41deavmijust kidding, could use those tools to save my life.
20:37:26deavmiThis song should play when ever IRC users connect - https://www.youtube.com/watch?v=eOofWzI3flA (lol)
20:39:25*derka joined #nim
20:39:40deavmiWelcome derka - https://www.youtube.com/watch?v=eOofWzI3flA
20:39:48derkaTHx deavmi
20:39:56deavmiderka: Pleasure :)
20:40:07derkaGuys, what are the big projects on Nim
20:40:57deavmiderka: projects implemented in Nim?
20:41:24*Ven joined #nim
20:41:31derkadeavmi: yeah
20:41:32federico3none yet :(
20:41:47deavmiderka: I don't know, maybe the nim wiki should have a listing for it (on the github wiki)
20:41:52derkayaeh
20:41:53deavmias well as a list for learning resources
20:42:08derkayeah
20:42:09deavmiAraq_: What do you think about the above two or atleast the second proposal(s)?
20:42:18derkaAraq_ is there any new video of you presenting Nim ?
20:42:54deavmiderka: Video tutorials are good for theory I think, but in terms of learning I like text-based stuff. In my opinion.
20:43:12Araq_derka: not sure, did you see my NimConf talk?
20:43:46derkai think so, it was in 2015 ?
20:44:03deavmiCan we please get Araq_ rapping a bunch of Nim keywords for his new mixtape "Advantures of Nim"
20:44:10deavmi* Adventures"
20:44:37derkaactually i dont think i saw it
20:44:41derkai saw the OSCON one
20:44:47derkaand the nim workshop at some company
20:45:31Araq_derka: yeah. well I will be at PolyConf
20:45:39deavmiPolyConf?
20:45:42Araq_in fact, I really need to prepare this talk ...
20:46:13Araq_deavmi: cannot watch it, german youtube is censored
20:46:29derkawhat is censored ??
20:46:31deavmiAraq_: Wow. really? Or as in "Not available in your country"
20:46:38deavmiAraq_: I see you here - http://polyconf.com/speakers/
20:47:12Araq_wtf, that was not the picture I sent them
20:47:16Araq_oh well.
20:47:21deavmiAHAHA :)
20:47:23Araq_at least it shows my fist.
20:47:30deavmiPOWER TO THE FIST
20:47:39deavmiAnd your microphone
20:47:50deavmiYou gotta get that micrphone sponsership in there you know XD
20:48:15deavmiYours isn't bad, some of these look like Instagram'd photos
20:48:24deavmiselfies :)
20:48:34Araq_any idea how long my talk will be?
20:48:47deavmiAraq_: idk. let me see
20:49:08deavmiDon't really know
20:49:23deavmiYou know where it will be happening, the venue and country?
20:49:29deavmiberlin?
20:49:37Araq_Poland.
20:49:41deavmiLet me see
20:50:18deavmiWarsaw
20:50:19deavmiI think
20:50:32deavmihttp://polyconf.com/satellites/warsaw/
20:50:49deavmiDoesn't list you here - http://polyconf.com/satellites/warsaw/
20:56:09*libman quit (Remote host closed the connection)
20:58:22deavmidom96: Looked at this and I was wondering - https://github.com/dom96/nael/blob/master/src/lexer.nim - Is building a lexer with regex or the "manual" way you did it, which one is better? I here regex is?
20:58:48*desophos quit (Remote host closed the connection)
20:59:34deavmiAraq_: When you built the lexer for nim did you use regex?
20:59:44*gokr quit (Ping timeout: 260 seconds)
21:02:59*yglukhov quit (Remote host closed the connection)
21:03:14*deavmi_mobile joined #nim
21:05:44*desophos joined #nim
21:09:28*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:10:03*desophos quit (Ping timeout: 240 seconds)
21:11:21Araq_deavmi: nah, regexes suck
21:13:08federico3unfortunately pegs don't have non-greedy ".*"
21:14:49*yglukhov joined #nim
21:17:00*deavmi quit (Ping timeout: 250 seconds)
21:18:53*desophos joined #nim
21:19:34*yglukhov quit (Ping timeout: 260 seconds)
21:20:45*elrood quit (Remote host closed the connection)
21:21:45*novavis quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
21:31:50*fredrik92 joined #nim
21:33:20*derka quit (Quit: derka)
21:34:03*derka joined #nim
21:38:01Araq_federico3: you can simulate it though, kinda
21:38:34deavmi_mobileAraq_: so does your lexer go through the string of code character by character and analyse it like that?
21:39:03Araq_deavmi_mobile: yes. that's what every production quality compiler (that I'm aware of) does.
21:39:15deavmi_mobilesounds good
21:39:34deavmi_mobilehoesntly regex confuses me and character by character always felt easier infact
21:40:20Araq_it doesn't really matter what you use, lexers are trivial, compilers are hard.
21:43:41federico3Araq_: how? excluding a specific char doesn't cut it :-/
21:44:06Araq_federico3: there is a look-ahead operator
21:45:07federico3"@E"?
21:46:02Araq_no idea, I don't use pegs anymore.
21:46:24federico3oh?
21:46:52Araq_regexes are everywhere, pegs nowhere.
21:47:23federico3the "re" module is deprecated in favor of pegs
21:47:27Araq_and they both have their problems, so when I need more control, I use char-by-char
21:47:39Araq_no, it's deprecated in favor of 'nre'
21:48:22federico3actually both "Consider using the nre or pegs modules instead"
21:50:26Araq_well pegs have no dependencies
21:56:13federico3and are claimed to be faster
21:56:44federico3and are close enough to regexps for many use cases if it wasn't for the greedyness
21:59:54segulehHello, all. Any samples of https / ssl jester servers out there?
22:01:58*nchambers joined #nim
22:02:40Araq_hi seguleh. compile with -d:ssl ?
22:03:08segulehHmm. Thought that was all I had to do. But curl hangs, and other https requests just hang.
22:03:33segulehMust be missing something in my setup. I'll go through it all again, and see where the user error occurred.
22:04:17segulehHi Araq_ ... just in case this is all I did. nim c -d:ssl tester.nim
22:05:53Araq_federico3: somebody needs to take pegs and make it ready for parser generators
22:06:03Araq_that's what people expect.
22:07:21Araq_can't be hard, only requires a proc that returns a parse tree and not a bool
22:10:17*deavmi_mobile quit (Read error: Connection reset by peer)
22:10:44*seguleh quit (Ping timeout: 250 seconds)
22:14:52*deavmi_mobile joined #nim
22:20:34*Demon_Fox joined #nim
22:29:12*derka quit (Ping timeout: 246 seconds)
22:33:45*desophos quit (Remote host closed the connection)
22:35:28*zaquest quit (Read error: Connection reset by peer)
22:35:42*derka joined #nim
22:36:53*Trustable quit (Remote host closed the connection)
22:37:12*zaquest joined #nim
22:39:34*desophos joined #nim
22:40:12*Matthias247 joined #nim
22:59:51*rok quit (Quit: rok)
23:06:08*yglukhov joined #nim
23:07:23*derka quit (Quit: derka)
23:10:34*yglukhov quit (Ping timeout: 244 seconds)
23:16:21*derka joined #nim
23:17:19*derka quit (Client Quit)
23:19:38*Matthias247 quit (Read error: Connection reset by peer)
23:30:21*yglukhov joined #nim
23:35:05*yglukhov quit (Ping timeout: 276 seconds)
23:39:20*fredrik92 quit (Quit: Shutting down...)
23:50:36*Jesin quit (Ping timeout: 250 seconds)