<< 02-07-2017 >>

00:12:29*sz0 quit (Quit: Connection closed for inactivity)
00:14:30*v17d quit (Remote host closed the connection)
00:17:17*shashlick quit (Ping timeout: 260 seconds)
00:46:09*chemist69 quit (Ping timeout: 255 seconds)
00:50:46*chemist69 joined #nim
01:01:31*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:01:53*onionhammer1 joined #nim
01:30:05*Serenit0r joined #nim
01:33:13*Serenitor quit (Ping timeout: 246 seconds)
01:48:15*chemist69 quit (Ping timeout: 255 seconds)
01:51:25*bjz joined #nim
02:01:47*chemist69 joined #nim
02:20:40*jsgrant joined #nim
02:51:02*onionhammer joined #nim
02:53:16*onionhammer1 quit (Ping timeout: 260 seconds)
02:56:43*SusWombat joined #nim
03:07:03*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:18:03*queequ7A joined #nim
03:35:29*queequ7A quit (Ping timeout: 248 seconds)
03:38:29*queequ7A_ joined #nim
03:38:47*queequ7A_ quit (Remote host closed the connection)
03:45:47SusWombathow can i acces nested fields in a json node?
03:45:51SusWombataccess*
03:47:34*bjz joined #nim
03:51:36*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:53:47subsetparkwhy not just foo["bar"]["baz"]?
03:55:01*bjz joined #nim
03:56:56SusWombatsubsetpark, ... thanks i did that before and got an error so i thought it wouldnt work ... but i made an mistake elsewhere
03:57:15subsetparkgreat!
04:02:55*fredrik92 quit (Quit: Client Disconnecting)
04:03:04*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
04:29:01*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
04:33:08*onionhammer1 joined #nim
04:35:38*onionhammer quit (Ping timeout: 268 seconds)
04:46:48FromGitter<Varriount> Ugh, C++ initialization semantics make my head hurt
04:47:04FromGitter<Varriount> Anyone have a good guide handy?
04:50:48def-pri-pubI've been kind of away from the Nim scene for the past few months. Has there been any good developments on UI toolkits?
04:51:29def-pri-pubI've been doing this project right now in Python & PyQt, and some other CFFI bound C libraries, but my intrest is turning into maybe using Nim for it.
04:53:14FromGitter<Varriount> def-pri-pub: Nothing huge, Trustable released a new gui library today, though it's new and doesn't have a Mac implementation yet.
04:53:25FromGitter<Varriount> https://github.com/trustable-code/NiGui
04:54:22def-pri-pubWasn't someone doing something with Gtk3 or GObject?
04:57:01FromGitter<Varriount> def-pri-pub: Possibly.
04:57:54FromGitter<Varriount> def-pri-pub: https://github.com/yglukhov/nimx Is quite active
04:59:03*def-pri-pub quit (Quit: leaving)
05:03:18FromGitter<Varriount> That one doesn't appear to have a native-os look though.
05:04:23FromGitter<Varriount> def-pri-pub: There are bindings for GTK3 I think
05:11:46FromGitter<Varriount> @StefanSalewski It appears that your gtk3 wrapper isn't on Nimble yet.
05:20:25*pilne quit (Quit: Quitting!)
05:24:42*ftsf quit (Ping timeout: 260 seconds)
05:28:33SusWombatcant i nest newSeq?
05:31:24*ShalokShalom joined #nim
05:31:36FromGitter<Varriount> SusWombat: Example?
05:33:11SusWombatVarriount var test: seq[seq[int]]
05:33:11SusWombattest = newSeq[newSeq[int]()]()
05:34:08FromGitter<ephja> no, because what goes there is the type of the elements
05:35:31FromGitter<ephja> `newSeqseq[int ()`
05:36:48FromGitter<ephja> then "test.add @[]", "test.add newSeqint ()" and so on
05:37:09FromGitter<ephja> `@[@[1, 2, 3], @[4, 5, 6]]`
05:49:10*chemist69 quit (Ping timeout: 240 seconds)
05:50:25SusWombatokay
05:52:03*chemist69 joined #nim
05:53:29SusWombathm ok i think i still didnt get it :/
05:56:31SusWombatoh nvm got it. Thanks
06:03:43*Serenit0r quit (Quit: Leaving)
06:07:00*dddddd quit (Remote host closed the connection)
06:10:23*xet7 joined #nim
06:22:15*libman quit (Quit: Connection closed for inactivity)
06:31:03*tankfeeder joined #nim
06:32:05*tankfeeder quit (Client Quit)
06:32:25*tankfeeder joined #nim
06:33:16*tankfeeder quit (Client Quit)
06:42:07*nsf joined #nim
06:42:19*aerx quit (Quit: WeeChat 1.9)
06:55:51*bjz joined #nim
06:59:26*bjz quit (Client Quit)
07:08:39*salewski joined #nim
07:09:45salewskiVarriount: Yes, and there are some reasons for that.
07:10:52salewskiFirst, the still unresolved name conflicts, my gtk3 related modules have cairo, pango, glib2 and some more also.
07:11:59salewskiAnd second, gtk3 is not that popular currently, I think there are no really interested Nim users currently.
07:13:52salewskiThere was one interested user, for him I did the rsvg module. But I think he never came back.
07:14:53salewskiNow I am working on the high level GTK3 bindings based on GObject-Introspection, and progress is really good.
07:15:27*Ven joined #nim
07:15:47salewskiI am just prepairing a minimal tutorial. Name of that binding will be nim-gi, so I hope for less name conflicts.
07:15:51*Ven is now known as Guest71914
07:16:40salewskiWhen manning finaly releases the book, I will read the nimble chapter more carefully and do the nimble package.
07:17:14salewskiBye.
07:20:12*Guest71914 quit (Ping timeout: 260 seconds)
07:28:44*salewski quit (Quit: WeeChat 1.4)
07:57:34*bjz joined #nim
08:05:00*xet7 quit (Ping timeout: 260 seconds)
08:25:02*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:27:30*bjz joined #nim
08:28:31*Arrrr joined #nim
08:28:31*Arrrr quit (Changing host)
08:28:31*Arrrr joined #nim
08:50:03*arecacea1 quit (Remote host closed the connection)
08:50:39*arecacea1 joined #nim
09:04:21*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
09:08:04*adeohluwa joined #nim
09:52:28*notbarton joined #nim
09:56:14*bjz joined #nim
09:57:16*notbarton quit (Client Quit)
09:57:32*notbarton joined #nim
10:00:34*rokups joined #nim
10:01:36*couven92 joined #nim
10:13:58*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
10:15:28*bjz joined #nim
10:16:54*v17d joined #nim
10:42:18*Snircle joined #nim
10:51:19*yglukhov joined #nim
10:57:17*fredrik92 joined #nim
11:15:26*adeohluwa quit (Quit: Connection closed for inactivity)
11:21:05*nattefrost joined #nim
11:22:51*Matthias247 joined #nim
11:26:26*zahary joined #nim
11:32:11*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
11:36:52*fredrik92 quit (Ping timeout: 260 seconds)
11:38:28FromGitter<TiberiumN> I forgot - what's the option to disable console window while compiling for Windows?
11:38:49FromGitter<TiberiumN> ah, --app:gui
12:01:13*smt quit (Read error: Connection reset by peer)
12:01:19*smt_ joined #nim
12:10:50*smt_ is now known as smt
12:27:02*smt quit (Read error: Connection reset by peer)
12:27:11*smt joined #nim
12:35:47*salewski joined #nim
12:36:20salewskiTrustable, is your NiGui full high level?
12:37:06salewskiSo User can create a few thousands widgets and forgett about them, and GC will collect them properly?
12:37:19*couven92 quit (Quit: Bye)
12:37:45salewskiAnd User can assign one Widget to another one, or try deepCopy or shallowCopy on then?
12:38:51salewskiI guess that copy operations may still fail for my high level GTK3 widgets -- have to think about it.
12:42:06salewskiBye.
12:42:09*salewski quit (Quit: WeeChat 1.4)
12:44:40FromGitter<indy9000_twitter> is there an equivalent of sprintf ? I want to print some formatted numbers to a string
12:47:59FromGitter<stisa> @indy9000_twitter have a look in strutils, I think there was a `format` proc
12:51:18*bjz joined #nim
13:11:25*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:13:55*Amrykid2 joined #nim
13:25:12*xet7 joined #nim
13:26:41*PMunch joined #nim
13:37:37*notbarton quit (Read error: Connection reset by peer)
13:48:01*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
13:50:52*notbarton joined #nim
13:56:29*pilne joined #nim
14:01:10*Arrrr quit (Read error: Connection reset by peer)
14:07:46*Snircle joined #nim
14:10:12*rokups quit (Quit: Connection closed for inactivity)
14:20:57*v17d quit (Ping timeout: 240 seconds)
14:36:33*xet7 quit (Quit: Leaving)
14:37:22*bjz joined #nim
14:42:25*Matthias247 quit (Read error: Connection reset by peer)
14:49:37*Trustable joined #nim
15:09:06*PMunch quit (Quit: leaving)
15:23:42FromGitter<ephja> do any of the other GCs reduce nimsuggest's memory usage? if the issue isn't with cstring allocations something
15:27:28*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
15:32:14*v17d joined #nim
15:34:57*bjz joined #nim
15:46:26*onionhammer joined #nim
15:48:03*Trustable quit (Remote host closed the connection)
15:48:17*onionhammer1 quit (Ping timeout: 248 seconds)
15:48:58*shashlick joined #nim
15:49:01*shashlick quit (Read error: Connection reset by peer)
15:49:59FromGitter<TiberiumN> hmm, I didn't noticed any high memory usage with 8gb of ram
15:50:41FromGitter<TiberiumN> it uses ~100mb ram for me
15:53:09*Tiberium joined #nim
15:56:40FromGitter<ephja> tried using it with the compiler source? :p
15:56:56*yglukhov quit (Remote host closed the connection)
16:01:32*PMunch joined #nim
16:02:52*qwertfisch joined #nim
16:12:10FromGitter<gokr> NiGui - wow! That's i teresti g.
16:13:06FromGitter<gokr> Also, I discovered Nimnode last night, lots of cool stuff happening
16:13:47*Tiberium quit (Remote host closed the connection)
16:14:33*Arrrr joined #nim
16:14:33*Arrrr quit (Changing host)
16:14:33*Arrrr joined #nim
16:16:40PMunchNiGui?
16:16:45PMunchgokr, link?
16:17:05PMunchhttps://github.com/trustable-code/NiGui This thing?
16:18:13PMunchInteresting indeed, this is what couven92 and I was talking about earlier this year :)
16:18:26demi-hmmm; i'm still having problem with the nimyaml package
16:19:25demi-and when i `nimble install NimYAML` i keep getting 0.9.1 instead of 0.10.0 :(
16:19:54*Tiberium joined #nim
16:21:07PMunchdemi-, Nim version?
16:21:20demi-0.17.0
16:21:22PMunchAccording to NimYAML: "NimYAML needs at least Nim 0.17.0 in order to compile. Version 0.9.1 is the last release to support 0.15.x and 0.16.0."
16:21:26PMunchAh, that's strange then..
16:21:36demi-nimble 0.8.6
16:21:57demi-i've even tried to pull from the git repo and build it and i still get the same error
16:22:14PMunchI also get 0.9.1 when I do "nimble install yaml"
16:22:28demi-yeah that is why i tried from the git repo
16:22:49*flyx is looking into it
16:23:19PMunchhttps://github.com/flyx/NimYAML/blob/devel/yaml.nimble
16:23:34PMunchAh, according to it's .nimble file it is 0.9.1
16:24:04flyxI updated the yaml.nimble file, try again
16:24:56demi-still pulling 0.9.1
16:24:56PMunchStill get 0.9.1, does it pull devel instead of master?
16:26:39*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
16:26:55flyxI pushed it to devel
16:28:16*Tiberium quit (Remote host closed the connection)
16:28:52demi-nimble still shows 0.9.1
16:29:15PMunchdemi-, nimble refresh?
16:29:25demi-i did that
16:30:15demi-flyx: i get this when i build devel
16:30:16demi-https://gist.github.com/samdmarshall/7efb9b4ec348100b218d6d4c731d35d2
16:30:24demi-i just pulled your changes
16:33:14flyxdamn
16:33:15PMunch"git clone --recursive --depth 1 -b v0.10.0 https://github.com/flyx/NimYAML /tmp/nimble_26729/githubcom_flyxNimYAML"
16:33:25flyxI should have given this more time
16:33:36PMunchThat's apparently the command nimble issues (according to --debug)
16:33:56PMunchhttps://github.com/flyx/NimYAML/tree/v0.10.0
16:34:00*Tiberium joined #nim
16:34:11PMunchSo that's what it pulls, and there the .nimble file is 0.9.1 :P
16:35:13*yglukhov joined #nim
16:37:35flyxokay, it seems like I *tried* to test with Nim 0.17.0, but updating to Nim 0.17.0 failed and I didn't notice
16:38:04flyxactually, I can't get Nim 0.17.0 to compile
16:38:05flyxclang throws errors
16:38:07flyxeven if starting from csources
16:38:37flyxso I cannot fix this right now, until current Nim compiles again on my system
16:39:40flyxsorry folks, but I currently don't have the time to debug Nim itself, so until there is a release that compiles for me, I cannot do anything.
16:40:35*Tiberium quit (Quit: Leaving)
16:44:16*mal``` quit (Quit: Leaving)
16:45:03demi-flyx: no worries
16:48:59*mal`` joined #nim
16:49:10*yglukhov quit (Remote host closed the connection)
16:49:42*Snircle_ joined #nim
16:49:43*adeohluwa joined #nim
16:50:28*yglukhov joined #nim
16:50:30*Snircle quit (Ping timeout: 240 seconds)
16:57:34*Snircle joined #nim
17:00:10*Snircle_ quit (Ping timeout: 276 seconds)
17:07:36*nsf quit (Quit: WeeChat 1.7.1)
17:11:47FromGitter<ephja> @gokr you discovered macros? :p
17:15:16*Matthias247 joined #nim
17:16:46*Matthias247_ joined #nim
17:18:21*arnetheduck joined #nim
17:19:27*Matthias247 quit (Ping timeout: 240 seconds)
17:24:27*arnetheduck quit (Ping timeout: 240 seconds)
17:26:10*Amrykid2 quit (Ping timeout: 276 seconds)
17:33:27*nattefrost quit (Remote host closed the connection)
17:37:26FromGitter<gokr> Hum?
17:38:04FromGitter<ephja> @gokr macros.NimNode?
17:38:35FromGitter<gokr> No, the package Nimnode on github. Based on libuv
17:39:07FromGitter<gokr> Similar to reactor, but may be ... further evolved. Dunno
17:39:25FromGitter<ephja> nvm it's not even defined there. it's just mentioned in the prelude
17:39:28FromGitter<ephja> ok
17:39:55FromGitter<gokr> https://github.com/tulayang/nimnode
17:42:26FromGitter<gokr> By Wang Tong, wonder if he/she is around?
17:42:39PMunchgokr, that NiGui stuff looks really interesting by the way
17:42:56*yglukhov quit (Remote host closed the connection)
17:43:06FromGitter<gokr> Yup
17:43:34*yglukhov joined #nim
17:43:55*Trustable joined #nim
17:44:00PMunchLooking forward to test it out once I get the time
17:55:00*yglukhov quit (Remote host closed the connection)
18:00:59*yglukhov joined #nim
18:03:14*notbarton quit (Quit: Leaving)
18:03:20*aerx joined #nim
18:12:04FromGitter<indy9000_twitter> when an array is passed into a proc, does it make a copy ?
18:17:08ArrrrNo
18:17:12FromGitter<gokr> See arrays here: https://github.com/nim-lang/Nim/wiki/Nim-for-C-programmers
18:19:02*madmalik quit (Quit: Connection closed for inactivity)
18:22:20*yglukhov quit (Remote host closed the connection)
18:23:23FromGitter<indy9000_twitter> ta! on the same topic, is it possible accomplish this: ⏎ `proc blah(arraySize:int) = ⏎ var myArray: array[arraySize,float] ⏎ ` [https://gitter.im/nim-lang/Nim?at=59593a1bf5b3458e30059d42]
18:24:38FromGitter<indy9000_twitter> `var myArray ..` should be on a new line (formatting prob)
18:26:28FromGitter<zacharycarter> no
18:26:37FromGitter<zacharycarter> array size must be known at compile time
18:29:21FromGitter<indy9000_twitter> so I should use `seq` and keep adding elements ??
18:29:31FromGitter<zacharycarter> what are you trying to do exactly?
18:30:08FromGitter<indy9000_twitter> I want to allocate an array or a seq but the size of which is only known at runtime
18:30:19FromGitter<zacharycarter> yeah use a seq for that
18:30:34FromGitter<gokr> Seq is the logical choice for dynamic arrays so to speak.
18:30:43FromGitter<zacharycarter> ^
18:31:22FromGitter<gokr> Do note they too have value semantics on assignment, might come as a surprise.
18:34:41FromGitter<indy9000_twitter> Thanks
18:35:37FromGitter<zacharycarter> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=59593cf8c101bc4e3a439999]
18:35:58FromGitter<zacharycarter> I have the above in a config.nims file in the root of my project
18:36:11FromGitter<zacharycarter> but it doesn't appear that the config options are being picked up
18:36:33FromGitter<zacharycarter> but the task runs fine
18:36:55FromGitter<zacharycarter> if I run the command ```➜ zengine nim c -d:emscripten -d:wasm -d:release -o:core-window.html examples/zengine_examples/core/window.nim```
18:37:05FromGitter<zacharycarter> from the same directory, things compile fine
18:37:24*yglukhov joined #nim
18:57:45*adeohluwa quit (Quit: Connection closed for inactivity)
19:04:39*gokr joined #nim
19:07:44chemist69Trustable: NiGui looks very promising, thanks a lot for this effort. Please consider making it a nimble project.
19:09:00yglukhovzielmicha_: ping
19:09:24*Kingsquee joined #nim
19:12:23Trustablechemist69, thx, I work on it since 8 month, still a lot to do..
19:20:07*SusWombat quit (Remote host closed the connection)
19:22:11*SusWombat joined #nim
19:22:14*SusWombat quit (Remote host closed the connection)
19:23:08PMunchOh yeah Trustable, NiGui looks very good
19:23:27PMunchHaven't had time to do much more than run the tests but it seems to work fine
19:23:50PMunchAnd since it's pure Nim for the xplat stuff the file sizes are really small :)
19:24:49dom96Trustable: Really though, please put it on Nimble.
19:25:43chemist69Trustable: Really nice. I have some small GUI programs for which I have used libui or iup so far, definitely will try out NiGui for some future progs.
19:34:25*Arrrr quit (Ping timeout: 248 seconds)
19:38:10*nsf joined #nim
19:43:47FromGitter<zacharycarter> hrm it would appear the logging module in the stdlib is not wasm / emscripten friendly
19:50:23*Arrrr joined #nim
19:50:23*Arrrr quit (Changing host)
19:50:23*Arrrr joined #nim
20:29:48*gokr quit (Ping timeout: 260 seconds)
20:30:30*jsgrant quit (Ping timeout: 240 seconds)
20:36:37*Jesin joined #nim
20:40:01*Arrrr quit (Ping timeout: 248 seconds)
20:45:00*ShalokShalom_ joined #nim
20:45:31TrustableI made a calculator with Nim and NiGUI as first show case: https://github.com/trustable-code/NiCalc
20:48:01*ShalokShalom quit (Ping timeout: 248 seconds)
20:51:46*bjz joined #nim
20:56:19*gokr joined #nim
21:03:34*ShalokShalom_ quit (Remote host closed the connection)
21:13:39chemist69Trustable: Cool!
21:14:11chemist69good night.
21:14:26Trustablegood night :)
21:24:41*Trustable quit (Remote host closed the connection)
21:28:14*Jesin quit (Quit: Leaving)
21:30:12*smt quit (Read error: Connection reset by peer)
21:30:26*smt joined #nim
21:31:26*Jesin joined #nim
21:46:40*Amrykid2 joined #nim
21:48:47PMunchHmm, maybe I should write a RPN calculator with NiGui to test it out
21:49:18*chemist69 quit (Ping timeout: 255 seconds)
21:49:50*chemist69 joined #nim
22:12:42*jackkv is now known as jackv
22:13:36*yglukhov quit (Read error: Connection reset by peer)
22:14:11*yglukhov joined #nim
22:18:50*fredrik92 joined #nim
22:21:10*nsf quit (Quit: WeeChat 1.7.1)
22:25:05*smt quit (Read error: Connection reset by peer)
22:25:21*smt joined #nim
22:30:24*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
22:30:31*fredrik92 quit (Quit: Client Disconnecting)
22:37:58*Matthias247_ quit (Read error: Connection reset by peer)
22:40:39*onionhammer1 joined #nim
22:41:31*xet7 joined #nim
22:42:48*onionhammer quit (Ping timeout: 260 seconds)
23:01:28*gokr quit (Read error: Connection reset by peer)
23:03:05*xet7_ joined #nim
23:06:15*xet7 quit (Ping timeout: 255 seconds)
23:20:56FromGitter<zacharycarter> wait so when Nim is compiled to JS does it go Nim - > C -> JS or just Nim -> JS?
23:27:51PMunchJust Nim -> JS isn't it?
23:28:43*FromGitter * zacharycarter has no idea
23:29:55FromGitter<ephja> probably
23:52:50*chemist69 quit (Ping timeout: 240 seconds)
23:53:24*v17d quit (Remote host closed the connection)
23:53:40*cspar joined #nim
23:55:40*chemist69 joined #nim