<< 31-07-2017 >>

00:17:17*ketralnis joined #nim
00:20:25dom96ooh https://min-lang.org/
00:20:29dom96Written in Nim. Nice :)
00:21:27FromGitter<codenoid> i cant access that site
00:21:45FromGitter<codenoid> oh nice
00:26:08dom96'night
00:30:21*yingjun joined #nim
00:35:44*yingjun quit (Ping timeout: 260 seconds)
00:37:02FromGitter<zetashift> gnight
00:39:42*Serenit0r joined #nim
00:43:47*Serenitor quit (Ping timeout: 260 seconds)
00:51:33*dddddd quit (Quit: Hasta otra..)
01:00:15*yingjun joined #nim
01:04:45*deep-book-gk joined #nim
01:06:48*deep-book-gk left #nim (#nim)
01:27:27*djellemah__ joined #nim
01:29:21*chemist69 quit (Ping timeout: 255 seconds)
01:30:15*mahmudov quit (Remote host closed the connection)
01:30:46*djellemah_ quit (Ping timeout: 240 seconds)
01:39:23FromGitter<zacharycarter> def-pri-pub: no - would you like to help me make one?
01:39:33FromGitter<zacharycarter> dom96: min-lang looks exciting
01:43:00*chemist69 joined #nim
02:10:19FromGitter<zacharycarter> yuken: not sure if you're around or not but if you're looking for a good way to learn Nim and want to contribute to a project, you could always help with zengine by adding examples
02:10:27FromGitter<zacharycarter> and they'd be easy to port if you know C already
02:22:54*rauss quit (Quit: WeeChat 1.9)
02:23:42*rauss joined #nim
02:27:19yukenzacharycarter, don't know any C myself. but not around, just went on to set a reminder before sleeping
02:27:20yukenbai
02:27:42FromGitter<zacharycarter> o/
02:29:13ftsfmy nim game for Ludum Dare game comp https://impbox.itch.io/minisyn
02:29:49FromGitter<zacharycarter> nice! \o/
02:29:53FromGitter<zacharycarter> grats
02:30:58FromGitter<zacharycarter> http://imgur.com/a/b6kem
02:31:03FromGitter<zacharycarter> going to start working on animation now
02:31:39ftsfawesome
02:31:53ftsfglobal illumination?
02:32:25FromGitter<zacharycarter> nah no GI
02:33:00FromGitter<zacharycarter> just a craftily placed light :P
02:35:07def-pri-pubzacharycarter: Model animation?
02:35:34FromGitter<zacharycarter> yeah that's the plan
02:35:53FromGitter<zacharycarter> I'm guessing it'd be desired
02:37:31FromGitter<zacharycarter> def-pri-pub: if there are things you'd like to see first though let me know
02:44:17def-pri-pubAnimation is just one of my interested.
02:44:21def-pri-pubinterests*
02:45:08FromGitter<zacharycarter> I'd like to support spine too again
02:45:18FromGitter<zacharycarter> should be easy given the foundation I've already written
02:57:36*BitPuffin|osx quit (Ping timeout: 260 seconds)
02:58:28*def-pri-pub quit (Quit: leaving)
03:04:21ftsfi got skeletal animation working in my 3d engine, it was a pain!
03:19:14*Serenit0r quit (Quit: Leaving)
03:34:31*yingjun quit (Remote host closed the connection)
03:34:41*yingjun joined #nim
03:36:04*yingjun quit (Remote host closed the connection)
03:39:31*yingjun joined #nim
04:17:12*yingjun quit (Remote host closed the connection)
04:17:22*yingjun joined #nim
04:17:38*yingjun quit (Remote host closed the connection)
04:31:51*endragor joined #nim
04:40:23*sakalli joined #nim
04:44:43*gokr joined #nim
05:04:17*sakalli quit (Ping timeout: 246 seconds)
05:07:07*Vladar joined #nim
05:08:21*yingjun joined #nim
05:10:31*yingjun quit (Remote host closed the connection)
05:10:40*yingjun joined #nim
05:12:03*yingjun quit (Remote host closed the connection)
05:12:47*yingjun joined #nim
05:27:40*GK1wmSU joined #nim
05:30:16*GK1wmSU left #nim (#nim)
05:30:47*dankrad quit (Ping timeout: 260 seconds)
05:41:14*_GK1wmSU joined #nim
05:42:08*_GK1wmSU left #nim (#nim)
05:57:53*rauss quit (Quit: WeeChat 1.9)
06:07:49*nsf joined #nim
06:09:33*Vladar quit (Remote host closed the connection)
06:59:33*yglukhov joined #nim
07:02:05*Vladar joined #nim
07:07:15*yingjun quit (Remote host closed the connection)
07:09:06*yingjun joined #nim
07:15:14yglukhovAraq: hi, any issues with https://github.com/nim-lang/Nim/pull/6153?
07:20:21*xet7 quit (Read error: Connection reset by peer)
07:24:28*xet7 joined #nim
07:38:33*Andris_zbx joined #nim
07:44:08*rokups joined #nim
07:47:11*Arrrr joined #nim
07:47:11*Arrrr quit (Changing host)
07:47:11*Arrrr joined #nim
08:05:31*yingjun quit (Remote host closed the connection)
08:18:15*vendethiel- joined #nim
08:19:46*vendethiel quit (Ping timeout: 240 seconds)
08:20:20*yingjun joined #nim
08:20:25*yingjun quit (Remote host closed the connection)
08:20:56*yingjun joined #nim
08:23:58*Sentreen quit (Ping timeout: 276 seconds)
08:28:10Arrrris it possible to define release inside a nim.cfg or at that point is too late?
08:36:09*Sentreen joined #nim
08:49:52*ShalokShalom joined #nim
08:51:49*bjz joined #nim
08:52:06*dom96|w joined #nim
09:11:04*gangstacat quit (Ping timeout: 255 seconds)
09:12:12*gangstacat joined #nim
09:21:43*vendethiel joined #nim
09:23:32*vendethiel- quit (Ping timeout: 260 seconds)
09:34:05*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
09:38:07*ShalokShalom quit (Ping timeout: 260 seconds)
09:38:11*ShalokShalom_ joined #nim
09:39:40*dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…)
09:39:59*v17d joined #nim
09:44:01*ShalokShalom_ quit (Quit: No Ping reply in 180 seconds.)
09:45:29*ShalokShalom joined #nim
09:46:50*dom96|w joined #nim
09:59:13*ShalokShalom quit (Ping timeout: 246 seconds)
10:01:50*vendethiel- joined #nim
10:03:16*vendethiel quit (Ping timeout: 240 seconds)
10:07:27*dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…)
10:11:11*yingjun quit (Remote host closed the connection)
10:11:22*yingjun joined #nim
10:12:18*yingjun quit (Remote host closed the connection)
10:15:55*dom96|w joined #nim
10:16:18*yingjun joined #nim
10:32:41*yingjun quit (Remote host closed the connection)
10:32:43*yingjun_ joined #nim
10:34:40*yingjun_ quit (Remote host closed the connection)
10:34:55*vendethiel joined #nim
10:35:17*vendethiel- quit (Ping timeout: 260 seconds)
10:54:06FromGitter<TiberiumN> How can I enable syntax highlighting in generated docs?
10:54:12FromGitter<TiberiumN> ah, code block
10:54:14*yingjun joined #nim
11:05:16*Arrrr quit (Ping timeout: 240 seconds)
11:09:13*yingjun quit (Remote host closed the connection)
11:09:22*yingjun joined #nim
11:10:46*yingjun quit (Remote host closed the connection)
11:15:37*CcxWrk joined #nim
11:22:34*yingjun joined #nim
11:24:31*BitPuffin|osx joined #nim
11:26:05*nattefrost joined #nim
11:27:53*gokr quit (Ping timeout: 246 seconds)
11:28:03*bjz joined #nim
11:33:44*krux02 joined #nim
11:33:56*yingjun_ joined #nim
11:34:02*yingjun quit (Ping timeout: 255 seconds)
11:34:51krux02Are there any plans to improve variant types in Nim?
11:44:33*yingjun_ quit (Remote host closed the connection)
11:52:49*mahmudov joined #nim
12:00:30*hohlerde quit (Ping timeout: 240 seconds)
12:00:30*jivank[m] quit (Ping timeout: 240 seconds)
12:00:41*dyce[m] quit (Ping timeout: 255 seconds)
12:00:46*mindB quit (Ping timeout: 258 seconds)
12:00:46*ehmry quit (Ping timeout: 258 seconds)
12:00:50*MrAxilus[m] quit (Ping timeout: 240 seconds)
12:01:03*Demos[m] quit (Ping timeout: 255 seconds)
12:01:04*TheManiac quit (Ping timeout: 276 seconds)
12:03:51*Snircle joined #nim
12:06:15*dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…)
12:29:45*bjz_ joined #nim
12:30:42*dom96|w joined #nim
12:31:26*bjz quit (Ping timeout: 258 seconds)
12:45:04*yingjun joined #nim
12:49:08*yingjun quit (Ping timeout: 240 seconds)
13:06:13*dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…)
13:16:37*v17d quit (Ping timeout: 246 seconds)
13:17:46*dom96|w joined #nim
13:29:12*gokr joined #nim
13:31:50*rauss joined #nim
13:33:40*gokr quit (Ping timeout: 260 seconds)
13:36:24*rauss quit (Client Quit)
13:36:58*rauss joined #nim
13:44:23FromGitter<Varriount> krux02: As far as I know, we still need a consuls on when option types, refs, etc should be used in the standard library
13:44:53FromGitter<Varriount> *consensus
13:50:03*krux02 quit (Remote host closed the connection)
13:50:07FromGitter<Varriount> Should the standard library favor returning option types over null references or sentinel values? When should a null reference/optional type be returned vs an exception raised?
13:50:37FromGitter<Varriount> Those are two important questions that need to be addressed as the standard library is developed
13:51:59*gokr joined #nim
13:55:47FromGitter<TiberiumN> dom96: merge pls? https://github.com/nim-lang/packages/pull/551
13:55:52euantorThere's been talk of using "not nil" by default for types, though I'm not 100% sure what that'll actually mean in practice
13:56:20*gokr quit (Client Quit)
14:03:59FromGitter<Varriount> I'd vote for not nil handling to be worked on after concepts are finished
14:06:27FromGitter<Varriount> @TiberiumN @dom96 Merged
14:06:39FromGitter<TiberiumN> thanks
14:15:25*v17d joined #nim
14:26:40*sakalli joined #nim
14:30:43*v17d quit (Remote host closed the connection)
14:38:30*MrAxilus[m] joined #nim
14:45:45*mindB joined #nim
14:45:45*ehmry joined #nim
14:45:45*Demos[m] joined #nim
14:45:45*dyce[m] joined #nim
14:45:51*hohlerde joined #nim
14:45:51*jivank[m] joined #nim
14:45:51*TheManiac joined #nim
14:47:09*yingjun joined #nim
14:51:35*yingjun quit (Ping timeout: 255 seconds)
14:52:13FromGitter<TiberiumN> I ❤️ Nim, look at this macro: https://github.com/TiberiumN/nimvkapi/blob/master/vkapi.nim#L223 ⏎ ⏎ With it you can call api like "[email protected](user_id=1)" instead of "api.apiRequest("users.get", {"user_id": "1"}.toApi)"
14:53:33FromGitter<TiberiumN> also multisync is very useful too
14:59:10*bjz_ quit (Ping timeout: 240 seconds)
15:21:54*Trustable joined #nim
15:30:52*endragor quit (Remote host closed the connection)
15:32:07*enthus1ast__ joined #nim
15:36:17FromGitter<TiberiumN> hmmm
15:36:19FromGitter<TiberiumN> but I have a problem
15:36:51FromGitter<TiberiumN> If I have statement like "echo [email protected](user_id=1)[0]["first_name"].str" ⏎ ⏎ how can I parse only users.get stuff excluding all thing to the right?
15:44:35*GaveUp quit (Ping timeout: 240 seconds)
15:47:31*rokups quit (Quit: Connection closed for inactivity)
15:48:30FromGitter<Varriount> What do you mean?
15:48:41FromGitter<TiberiumN> well
15:48:55FromGitter<TiberiumN> Before: ⏎ echo [email protected](user_id=1)[0]["first_name"].str ⏎ After:
15:49:14FromGitter<TiberiumN> echo api.apiRequest("users.get", {"user_id": "1"}.toApi)[0]["first_name"].str
15:49:24FromGitter<TiberiumN> so I want to "replace" [email protected](user_id=1)
15:49:36FromGitter<TiberiumN> but I don't care about other stuff to the right
15:50:17*Andris_zbx quit (Remote host closed the connection)
15:51:22FromGitter<TiberiumN> probably I need to traverse full body, find statement like this, and replace it with result
15:51:46*GaveUp joined #nim
15:52:58*^GaveUp^ joined #nim
15:54:09FromGitter<TiberiumN> hmm, I can use while loop probably
15:54:46*mahmudov quit (Ping timeout: 240 seconds)
15:56:03*GaveUp quit (Ping timeout: 255 seconds)
15:56:04*^GaveUp^ is now known as GaveUp
15:59:02FromGitter<TiberiumN> oh, wait, no!
15:59:05FromGitter<TiberiumN> recursive procedure
15:59:11FromGitter<TiberiumN> seems to be easiest way
16:01:11*^GaveUp^ joined #nim
16:02:16*GaveUp quit (Ping timeout: 240 seconds)
16:02:16*^GaveUp^ is now known as GaveUp
16:07:05*GaveUp quit (Quit: You're a bloody puppet!)
16:08:26*GaveUp joined #nim
16:13:27FromGitter<TiberiumN> hmm
16:13:33FromGitter<TiberiumN> can I iterate over NimNodes and change them?
16:14:10FromGitter<TiberiumN> ah sorry I probably can
16:14:16*GaveUp quit (Ping timeout: 240 seconds)
16:14:32def-@Tiberium I usually recurse and return a new tree
16:15:02FromGitter<TiberiumN> well I don't know how to recreate old tree
16:15:10FromGitter<TiberiumN> with my needed info changed
16:16:03*GaveUp joined #nim
16:16:39*rokups joined #nim
16:21:52FromGitter<Varriount> Yeah, you get wierd errors if you mutate NimNodes you receive
16:21:59FromGitter<TiberiumN> oh
16:22:05FromGitter<Varriount> Isn't there a copy procedure?
16:22:11FromGitter<TiberiumN> well there is
16:22:20FromGitter<TiberiumN> but I don't know HOW I would reconstruct old tree
16:22:23FromGitter<Varriount> https://nim-lang.org/docs/macros.html#copyNimTree,NimNode
16:22:29FromGitter<Varriount> What do you mean?
16:22:39FromGitter<TiberiumN> well I need to recursively iterate over nim nodes
16:22:44FromGitter<TiberiumN> find needed node
16:22:48FromGitter<TiberiumN> replace it with new node
16:23:08FromGitter<TiberiumN> and return
16:23:12FromGitter<Varriount> So at the beginning of your procedure, you copy the input tree, and then recursively modify it.
16:23:15FromGitter<TiberiumN> ok
16:28:13yglukhovTiberiumN: there's such a proc in mu pr to nim "attr feature".
16:28:24yglukhovunfortunately github is down for me now (
16:28:31yglukhov*my pr
16:29:15FromGitter<TiberiumN> for me too
16:29:32FromGitter<TiberiumN> so you can modify nimnode tree recursively with attr feature?
16:30:11yglukhovTiberiumN: https://github.com/nim-lang/Nim/pull/6070/files#diff-dab10df7df3430cd91ac1b8a15c01b91R1018
16:30:12yglukhovthere
16:30:35yglukhovline 1018 in the new file
16:30:40FromGitter<TiberiumN> ok
16:30:47FromGitter<TiberiumN> i'll wait until github loads this page :)
16:30:54FromGitter<TiberiumN> oh yes
16:30:55FromGitter<TiberiumN> it did
16:31:17FromGitter<TiberiumN> ok, thanks, I'll check itnow
16:33:50*yglukhov quit (Remote host closed the connection)
16:36:55FromGitter<TiberiumN> I DID IT! OMG! THANKS!!!
16:41:12*dankrad joined #nim
16:48:53*yingjun joined #nim
16:53:16*yingjun quit (Ping timeout: 240 seconds)
16:53:17*enthus1ast__ quit (Ping timeout: 260 seconds)
16:53:27*dankrad quit (Ping timeout: 240 seconds)
16:54:00*dankrad joined #nim
16:59:43*itseris joined #nim
17:14:46*dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…)
17:14:57FromGitter<TiberiumN> https://github.com/TiberiumN/nimvkapi/blob/master/vkapi.nim#L223
17:25:16*mahmudov joined #nim
17:26:04*yglukhov joined #nim
17:30:44*yglukhov quit (Ping timeout: 260 seconds)
17:30:52mahmudovftsf
17:31:01mahmudovhttps://ncry.pt/p/Z3Dn#hhoIqr3ZvuVCtNPuNBad-V-nXujsd5xOUBkLZaivkOE
17:31:06mahmudovhttps://ncry.pt/p/a4Dn#MCv0YNVMC86_iNO8iXCIbXDTDA9oIZCzp4vhATFVeUw
17:31:13mahmudovcan you look
17:33:21*Vladar quit (Quit: Leaving)
17:33:44*yglukhov joined #nim
17:51:15*endragor joined #nim
17:55:56*endragor quit (Ping timeout: 260 seconds)
17:58:48ftsfmahmudov, hi, yes it's a problem with pico using a different version of nim's SDL wrapper
17:59:08ftsfif you change the type it should work
17:59:30mahmudovi used: nimble install sdl2
17:59:36mahmudovright?
18:00:17*yglukhov quit (Remote host closed the connection)
18:01:02ftsfsure, but i made some changes because the type was incorrect. you can just fix pico.nim to use the standard version's types though.
18:06:12*dankrad quit (Ping timeout: 260 seconds)
18:07:28mahmudovok thnks
18:07:47*dankrad joined #nim
18:08:15mahmudovwhat about second
18:08:38mahmudovontroller.nim(2, 14) Error: cannot open 'sdl2/sdl'
18:09:45ftsfit uses a different sdl2 wrapper, nim-sdl2
18:18:18FromGitter<adamrezich> why is OrderedTableRef deprecated?
18:18:54FromGitter<adamrezich> nvm; misread :P
18:40:29*nsf quit (Quit: WeeChat 1.9)
18:47:48FromGitter<TiberiumN> How can I choose custom github link for my docs?
18:47:56FromGitter<TiberiumN> so "source" and "edit" would work
18:50:27*yingjun joined #nim
18:55:02*yingjun quit (Ping timeout: 255 seconds)
19:03:32*Matthias247 joined #nim
19:03:57*vendethiel quit (Ping timeout: 260 seconds)
19:24:17*dankrad quit (Ping timeout: 258 seconds)
19:28:27*mahmudov quit (Ping timeout: 240 seconds)
19:36:51*Trustable quit (Remote host closed the connection)
19:37:31*dankrad joined #nim
19:45:11*sakalli quit (Read error: Connection reset by peer)
19:45:22*yglukhov joined #nim
19:46:48*yglukhov quit (Remote host closed the connection)
19:50:38*zenit joined #nim
19:51:07*smt_ joined #nim
19:54:50*smt quit (Ping timeout: 240 seconds)
19:57:13*mahtov2 joined #nim
19:57:58*mahmudov joined #nim
19:58:09mahmudovftsf can it install via nimble ?
19:58:11mahmudovnim-sdl2 ?
19:58:13mahmudovif i install can it conflict sdl2?
19:58:48*sakalli joined #nim
20:03:15*mahmudov quit (Remote host closed the connection)
20:04:48*sakalli quit (Quit: leaving)
20:05:23*nsf joined #nim
20:05:24*sakalli joined #nim
20:05:55*sakalli quit (Client Quit)
20:06:35*sakalli joined #nim
20:37:31*rokups quit (Quit: Connection closed for inactivity)
20:43:02*yglukhov joined #nim
20:51:48*nattefrost quit (Remote host closed the connection)
20:52:19*yingjun joined #nim
20:53:26*yglukhov quit (Remote host closed the connection)
20:54:25*kunev quit (Ping timeout: 246 seconds)
20:55:35*kunev joined #nim
20:56:05*BitPuffin joined #nim
20:56:11*rauss quit (Quit: WeeChat 1.9)
20:56:31*yingjun quit (Ping timeout: 246 seconds)
20:56:45*rauss joined #nim
20:59:32*rauss quit (Client Quit)
21:11:22*spkpp joined #nim
21:17:23*v17d joined #nim
21:31:02FromGitter<zacharycarter> o/
21:32:53*tinAndi joined #nim
21:55:50*dankrad quit (Ping timeout: 240 seconds)
21:59:10*rauss joined #nim
22:02:37FromGitter<zacharycarter> dom96: I figured out I can do the anonymous gist thing but I need to create a app and use the github oauth flow
22:02:49FromGitter<zacharycarter> I'll get it straightened out sometime this week / this weekend at the latest
22:03:19*nsf quit (Quit: WeeChat 1.9)
22:03:27FromGitter<zacharycarter> but fyi it's impossible to create anonymous content when you are authenticated with github
22:03:29FromGitter<zacharycarter> by design
22:06:13*tinAndi quit (Quit: ChatZilla 0.9.93 [Firefox 53.0.3/20170518000419])
22:12:14*Nobabs27 joined #nim
22:14:54*Matthias247 quit (Read error: Connection reset by peer)
22:16:47FromGitter<zetashift> @mahmudov try "nimble install sdl2_nim#head" and yea should work fine alongst the 'official' sdl2
22:32:10*mahmudov joined #nim
22:33:17*zenit quit (Max SendQ exceeded)
22:33:45*zenit joined #nim
22:35:09mahmudovzetashift
22:35:09mahmudovhttps://ncry.pt/p/c4Dn#EYgoiMeYGd4cJ_gz0aJRPBP-ZbEvzkTaLCsR8oBgf-o
22:35:18mahmudovno success
22:36:15*v17d quit (Ping timeout: 240 seconds)
22:36:22mahmudovit worked
22:36:23mahmudovnimble install sdl2_nim
22:36:32mahmudovnot with #head
22:37:48mahmudovftsf
22:37:49mahmudovhttps://ncry.pt/p/d4Dn#4hTmjdDUN6Vf0w55K1NQgO4RaqGthv6Vv5SnbJHGXaY
22:38:09mahmudovcan you make an .nimble file for depencies ?
22:38:34mahmudovor write in makefile
22:52:18FromGitter<zacharycarter> slowly getting my drawing optimized
22:52:45FromGitter<zacharycarter> one draw call for the whole model instead of one for each mesh
22:52:46FromGitter<zacharycarter> (https://files.gitter.im/nim-lang/Nim/gF2W/Screen-Shot-2017-07-31-at-6.52.23-PM.png)
22:53:44*yingjun joined #nim
22:54:43FromGitter<zetashift> I wish I understood 3D graphics pipelines and stuff; but alas I don't (yet). So out of admiration and slight jealousy I say: looks noice@
22:54:44FromGitter<zetashift> !
22:55:53FromGitter<zacharycarter> I think I'll have animation in by tonight
22:55:56FromGitter<zacharycarter> tomorrow at the latest
22:58:27*yingjun quit (Ping timeout: 260 seconds)
23:27:01*https_GK1wmSU joined #nim
23:28:19*https_GK1wmSU left #nim (#nim)
23:48:35*Nobabs27 quit (Quit: Leaving)