<< 07-08-2016 >>

00:04:44*nairobi quit (Remote host closed the connection)
00:25:30*nairobi joined #nim
00:28:54*yglukhov joined #nim
00:34:00*yglukhov quit (Ping timeout: 276 seconds)
00:35:48*Trixar_za quit (Quit: Leaving)
00:45:19*HogynCymraeg joined #nim
00:47:42*HogynCymraeg quit (Client Quit)
00:49:13*HogynCymraeg joined #nim
00:55:03*HogynCymraeg quit (Ping timeout: 264 seconds)
00:56:33*HogynCymraeg joined #nim
01:08:05*HogynCymraeg quit (Ping timeout: 265 seconds)
01:13:51*HogynCymraeg joined #nim
01:14:06*cheatfate joined #nim
01:57:21*chemist69 joined #nim
02:00:12*chemist69_ quit (Ping timeout: 240 seconds)
02:04:14*cheatfate quit (Ping timeout: 250 seconds)
02:05:47*irrequietus quit ()
02:30:58*yglukhov joined #nim
02:36:12*yglukhov quit (Ping timeout: 276 seconds)
02:40:21*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
02:55:31*JeffCanJam4a20 quit (Read error: Connection reset by peer)
03:01:32*cheatfate joined #nim
03:03:26*nairobi quit (Remote host closed the connection)
03:09:07*bjz joined #nim
03:11:57*gokr quit (Ping timeout: 276 seconds)
03:13:34*cheatfate quit (Ping timeout: 250 seconds)
03:19:19*cheatfate joined #nim
03:21:51*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:35:57*space-wizard joined #nim
03:36:46*space-wizard quit (Max SendQ exceeded)
03:37:34*space-wizard joined #nim
03:59:24*Jesin quit (Ping timeout: 276 seconds)
04:12:24*cheatfate quit (Ping timeout: 276 seconds)
04:13:04*Jesin joined #nim
04:46:21*bjz joined #nim
04:51:16*Jesin quit (Ping timeout: 244 seconds)
05:00:00*kssreeram joined #nim
05:05:03*kssreeram quit (Ping timeout: 276 seconds)
05:09:37*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:20:16*yglukhov joined #nim
05:23:21*bjz joined #nim
05:24:50*yglukhov quit (Ping timeout: 244 seconds)
05:32:52*zodiak quit ()
05:33:03*kssreeram joined #nim
05:50:24*kssreeram quit (Read error: Connection reset by peer)
05:56:32*kssreeram joined #nim
06:01:27*Demon_Fox quit (Quit: Leaving)
06:03:38*space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…)
06:04:31*nairobi joined #nim
06:11:15*nairobi quit (Ping timeout: 264 seconds)
06:27:17*mcc quit (Quit: Connection closed for inactivity)
06:37:35*aFrigginElf joined #nim
06:41:33*aFrigginElf quit (Client Quit)
06:42:05*aFrigginElf joined #nim
06:45:15*aFrigginElf quit (Client Quit)
06:45:38*aFrigginElf joined #nim
06:50:52*kssreeram quit (Ping timeout: 240 seconds)
06:55:04*kssreeram joined #nim
07:08:26*aFriginElf joined #nim
07:12:09*aFrigginElf quit (Ping timeout: 250 seconds)
07:15:34*kssreeram quit (Ping timeout: 252 seconds)
07:26:10*chrishel_ joined #nim
07:27:45*aFriginElf quit (Ping timeout: 250 seconds)
07:29:19*chrisheller quit (Ping timeout: 252 seconds)
07:34:16*kssreeram joined #nim
07:51:19*HogynCymraeg quit (Ping timeout: 252 seconds)
07:57:14*kssreeram quit (Read error: Connection reset by peer)
08:37:43*nsf quit (Quit: WeeChat 1.5)
08:48:22*kssreeram joined #nim
08:54:34*HogynCymraeg joined #nim
08:59:35*aFriginElf joined #nim
09:08:16*cheatfate joined #nim
09:15:57*HogynCymraeg quit (Ping timeout: 276 seconds)
09:23:13ftsfI have a "Menu" ref object and a "ControlMenu" ref object of Menu, both have "update" methods defined, but the ControlMenu seems to be using the Menu update. How does nim look up which method to call?
09:23:57ftsf(ControlMenu is defined in a different module to Menu btw)
09:24:45*aFriginElf quit (Ping timeout: 250 seconds)
09:26:41*Arrrr joined #nim
09:26:42*kssreeram quit (Read error: Connection reset by peer)
09:30:48ftsfoh I see why >__< I was doing proc newControlMenu(): ControlMenu = result = ControlMenu(newMenu())
09:30:55ftsfobviously that wasn't going to work
09:37:34Arrrrtoo many controls and menus there
09:40:20ftsf=)
09:46:32*kssreeram joined #nim
09:51:39*nairobi joined #nim
10:07:48*nairobi quit (Read error: Connection timed out)
10:09:10*nairobi joined #nim
10:19:57*nairobi quit (Remote host closed the connection)
10:20:13*kssreeram quit (Ping timeout: 244 seconds)
10:20:24ftsfhmm what would cause from foo import bar to fail with "undeclared identifier: 'bar' when bar* is defined in foo?
10:20:50def-ftsf: maybe another foo module is imported
10:22:45ftsfhmm like a standard lib with that name?
10:23:03def-sure
10:23:23def-or bar* is defined behind a "when"
10:23:24*nairobi joined #nim
10:23:35ftsfhmm neither of those
10:24:25ftsfthe imported one is not listed in [Processing] above the one where it fails
10:24:37ftsfI guess dependency fail?
10:25:01ftsfwait, i'm wrong, it is processed
10:25:12def-no idea, I'd try to reduce it to a minimal example or change the filenames to make sure it's not that
10:25:30ftsfok, thanks
10:28:03ftsfhmm can you define a variable and say it's declared in another module? equivalent to extern in C?
10:28:32def-that shouldn't be necessary. there are forward declarations
10:29:10ftsfoh, how do I forward declare a variable?
10:29:41ftsfI can only find reference to forward delcarations for procs
10:32:40ArrrrYeah, i don't think is possible or i'm not aware of that.
10:32:52def-right, for procs
10:33:03ftsfahh ok
10:33:05*aFriginElf joined #nim
10:33:25def-for variables there are 2 tricks:
10:33:33def-1. define multiple variables in a single var block
10:33:59def-2. have a common types.nim file to define interdependent types
10:34:37ArrrrOr maybe create some procs to access/modify its value and fd them
10:35:01ftsfahh moving it into types.nim does the trick
10:35:39ftsf\o/
10:35:46def-or just designing your data structures not to have circular dependencies ;)
10:35:56ftsfhmm this wasn't a data structure
10:36:06ftsfjust a variable that I want to access from multiple modules
10:39:16*nairobi quit (Read error: Connection timed out)
10:40:02*nairobi joined #nim
10:51:08*nairobi quit (Remote host closed the connection)
10:52:21*nairobi joined #nim
10:55:32*kssreeram joined #nim
10:56:40*nairobi quit (Ping timeout: 252 seconds)
11:02:03*nairobi joined #nim
11:05:59*desophos quit (Read error: Connection reset by peer)
11:09:25*aFriginElf quit (Read error: Connection reset by peer)
11:18:21*nairobi quit (Read error: Connection timed out)
11:19:47*nairobi joined #nim
11:24:20*nairobi quit (Ping timeout: 265 seconds)
11:24:24*nairobi_ joined #nim
11:26:47*cheatfate quit (Ping timeout: 258 seconds)
11:28:04*kssreeram quit (Ping timeout: 244 seconds)
12:05:15*brechtm joined #nim
12:09:02*elrood joined #nim
12:15:34*Laurenzo quit (Ping timeout: 265 seconds)
12:17:12*Laurenzo joined #nim
12:24:08*nairobi_ quit (Remote host closed the connection)
12:25:22*Laurenzo quit (Ping timeout: 258 seconds)
12:25:29*nairobi joined #nim
12:28:31*nairobi_ joined #nim
12:30:18*nairobi quit (Ping timeout: 276 seconds)
12:30:32*nairobi_ quit (Remote host closed the connection)
12:31:53*Laurenzo joined #nim
12:37:29*nairobi joined #nim
12:52:21*kssreeram joined #nim
13:05:08*kssreeram quit (Read error: Connection reset by peer)
13:07:40dom96wow, ~70 more responses on the survey
13:07:57dom964 more to reach my goal of 750 :)
13:11:04dom96bbl
13:11:15*nairobi quit (Ping timeout: 264 seconds)
13:22:20*kssreeram joined #nim
13:36:06*nairobi joined #nim
13:42:06*xet7 quit (Quit: Leaving)
13:46:51*freezerburnv_ joined #nim
14:01:39*xet7_ quit (Ping timeout: 250 seconds)
14:03:40*brechtm quit (Remote host closed the connection)
14:11:23*xet7 joined #nim
14:17:36*brechtm joined #nim
14:39:31*brechtm quit (Read error: Connection reset by peer)
14:39:37*brechtm_ joined #nim
14:47:56*nairobi quit (Remote host closed the connection)
14:53:05*Trustable joined #nim
15:19:17*nairobi joined #nim
15:23:51*nairobi quit (Ping timeout: 276 seconds)
15:40:54*nairobi joined #nim
15:41:28*freezerburnv_ quit (Ping timeout: 265 seconds)
15:45:08*nsf joined #nim
15:53:45*cheatfate joined #nim
15:54:19cheatfateIs anybody knows how DWARF debug information stored inside PE (portable executable) file?
15:54:33cheatfatecould not find any information
16:02:12*Laurenzo quit (Ping timeout: 276 seconds)
16:08:18*Laurenzo joined #nim
16:20:54*kssreeram quit (Read error: Connection reset by peer)
16:30:25*xet7_ joined #nim
16:38:25*space-wizard joined #nim
16:57:14*Arrrr quit (Read error: Connection reset by peer)
16:59:37*nairobi quit (Remote host closed the connection)
16:59:54*nairobi joined #nim
17:04:44*elrood quit (Quit: Leaving)
17:06:01*nairobi quit (Remote host closed the connection)
17:07:39*nairobi joined #nim
17:25:59ofelascheatfate: have you looked at http://www.dwarfstd.org/ and possibly https://golang.org/pkg/debug/pe/
17:31:34*nairobi quit (Remote host closed the connection)
17:32:05*nairobi joined #nim
17:39:22*nairobi quit (Remote host closed the connection)
17:39:37*nairobi joined #nim
17:43:23*nairobi quit (Remote host closed the connection)
17:43:34*nairobi joined #nim
17:44:20*yglukhov joined #nim
17:44:37*nairobi quit (Remote host closed the connection)
17:48:32*yglukhov quit (Ping timeout: 240 seconds)
18:20:04*yglukhov joined #nim
18:34:30*_stowa joined #nim
18:38:46*gokr joined #nim
18:44:01*_stowa quit (K-Lined)
18:54:27*pafmaf joined #nim
18:55:32*zahary joined #nim
18:56:40*nsf quit (Quit: WeeChat 1.5)
19:01:22*space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…)
19:17:07*Matthias247 joined #nim
19:18:51*brechtm_ quit (Remote host closed the connection)
19:30:17*Sentreen is now known as mathsaey
19:31:23*mathsaey quit (Quit: WeeChat 1.4)
19:31:51*Sentreen joined #nim
19:32:08*skrzyp left #nim ("WeeChat 1.4")
19:47:36*nairobi joined #nim
19:48:31*Trixar_za joined #nim
19:53:40*hcorion joined #nim
19:54:55*nairobi quit (Remote host closed the connection)
19:55:29*nairobi joined #nim
19:58:46*brechtm joined #nim
20:00:03*nairobi quit (Ping timeout: 265 seconds)
20:12:01*HogynCymraeg joined #nim
20:18:29*Jesin joined #nim
20:19:09*PMunch joined #nim
20:20:01*Jesin quit (Max SendQ exceeded)
20:21:14*gokr quit (Ping timeout: 250 seconds)
20:29:03*nairobi joined #nim
20:29:12*zahary quit (Quit: Leaving.)
20:33:37*nairobi quit (Ping timeout: 252 seconds)
20:34:42*nairobi joined #nim
20:37:34hcorionHi all, I've got a problem here that I'm trying to sort out. I have a series of strings (that are being stored in a seq) that I'm reading at runtime from a file. I then want to display those in a gui (I'm using iup). However to add things to the gui the code is like this: var box = iup.vbox(tog1, tog2, tog3, nil) and each 'tog' (short for toggle) is like this var tog1 = iup.toggle("string", "")
20:38:07PMunchAnd the problem?
20:38:12*Jesin joined #nim
20:39:09hcorionI don't know how many 'tog's I'll be assigning in iup.vbox, and I'm not sure how to do that dynamically
20:40:17*Demon_Fox joined #nim
20:40:27PMunchAah, I see
20:41:35dom96IUP's vbox should have an 'add' (or similar) procedure that allows you to add more controls to it
20:41:56PMunchWhat about vboxv?
20:42:19PMunchHaven't used iup but by the signature it seems to take some kind of structure of children
20:44:37dom96there must be a way to add controls dynamically to a 'vbox'
20:44:38*nsf joined #nim
20:44:48dom96or at least a way to pass a list to the vbox constructor
20:45:07hcorion@dom96 Yeah, I was wanting to do something like that
20:45:39PMunchThat's what vboxv seems to do
20:45:42PMunchThe latter
20:45:56PMunchBut I agree that it should be possible to add dynamically
20:46:14*gokr joined #nim
20:46:43hcorionSo then how might I go about adding, say a list of 'togs' to vboxv?
20:47:03PMunchNot sure, as as said I haven't used iup
20:48:00hcorionMy iup knowledge is quite slim, as I haven't used it before this project
20:49:57*Jesin quit (Quit: Leaving)
20:50:10*brechtm quit (Remote host closed the connection)
20:51:03hcorionwait, wait, I figured it out. iup has an append function
20:51:10*nairobi quit (Read error: Connection timed out)
20:51:25hcorionThanks @dom96 and @PMunch
20:52:25*nairobi joined #nim
20:59:43*brechtm joined #nim
21:04:45*Jesin joined #nim
21:14:12*pafmaf quit (Ping timeout: 276 seconds)
21:16:08*brechtm quit (Remote host closed the connection)
21:16:45*brechtm joined #nim
21:24:48*cheatfate quit (Ping timeout: 244 seconds)
21:26:05*irrequietus joined #nim
21:28:24*nairobi quit (Remote host closed the connection)
21:34:44*nairobi joined #nim
21:38:58*nairobi quit (Ping timeout: 258 seconds)
21:43:40*Matthias247 quit (Read error: Connection reset by peer)
21:59:29*desophos joined #nim
22:00:05*Trustable quit (Remote host closed the connection)
22:01:31*Trixar_za quit (Quit: Leaving)
22:02:13*yglukhov quit (Remote host closed the connection)
22:03:14*HogynCymraeg quit (Ping timeout: 260 seconds)
22:03:36*Trixar_za joined #nim
22:18:05*HogynCymraeg joined #nim
22:22:07*kunev quit (Ping timeout: 260 seconds)
22:22:39*HogynCymraeg quit (Ping timeout: 264 seconds)
22:23:07*kunev joined #nim
22:43:47*brechtm quit (Remote host closed the connection)
22:44:06*space-wizard joined #nim
22:46:19*irrequietus quit (Ping timeout: 265 seconds)
22:47:25*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
22:49:03*Jesin quit (Ping timeout: 264 seconds)
22:58:09*Jesin joined #nim
23:05:56*irrequietus joined #nim
23:15:33*irrequietus quit (Ping timeout: 240 seconds)
23:17:40*HogynCymraeg joined #nim
23:18:21*HogynCymraeg quit (Client Quit)
23:28:53*irrequietus joined #nim
23:33:59*space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…)
23:35:16*zahary joined #nim
23:35:22*irrequietus quit (Ping timeout: 244 seconds)
23:39:54*zahary quit (Ping timeout: 250 seconds)
23:40:53*irrequietus joined #nim