| 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:13 | ftsf | I 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:57 | ftsf | (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:48 | ftsf | oh I see why >__< I was doing proc newControlMenu(): ControlMenu = result = ControlMenu(newMenu()) |
| 09:30:55 | ftsf | obviously that wasn't going to work |
| 09:37:34 | Arrrr | too many controls and menus there |
| 09:40:20 | ftsf | =) |
| 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:24 | ftsf | hmm what would cause from foo import bar to fail with "undeclared identifier: 'bar' when bar* is defined in foo? |
| 10:20:50 | def- | ftsf: maybe another foo module is imported |
| 10:22:45 | ftsf | hmm like a standard lib with that name? |
| 10:23:03 | def- | sure |
| 10:23:23 | def- | or bar* is defined behind a "when" |
| 10:23:24 | * | nairobi joined #nim |
| 10:23:35 | ftsf | hmm neither of those |
| 10:24:25 | ftsf | the imported one is not listed in [Processing] above the one where it fails |
| 10:24:37 | ftsf | I guess dependency fail? |
| 10:25:01 | ftsf | wait, i'm wrong, it is processed |
| 10:25:12 | def- | 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:30 | ftsf | ok, thanks |
| 10:28:03 | ftsf | hmm can you define a variable and say it's declared in another module? equivalent to extern in C? |
| 10:28:32 | def- | that shouldn't be necessary. there are forward declarations |
| 10:29:10 | ftsf | oh, how do I forward declare a variable? |
| 10:29:41 | ftsf | I can only find reference to forward delcarations for procs |
| 10:32:40 | Arrrr | Yeah, i don't think is possible or i'm not aware of that. |
| 10:32:52 | def- | right, for procs |
| 10:33:03 | ftsf | ahh ok |
| 10:33:05 | * | aFriginElf joined #nim |
| 10:33:25 | def- | for variables there are 2 tricks: |
| 10:33:33 | def- | 1. define multiple variables in a single var block |
| 10:33:59 | def- | 2. have a common types.nim file to define interdependent types |
| 10:34:37 | Arrrr | Or maybe create some procs to access/modify its value and fd them |
| 10:35:01 | ftsf | ahh moving it into types.nim does the trick |
| 10:35:39 | ftsf | \o/ |
| 10:35:46 | def- | or just designing your data structures not to have circular dependencies ;) |
| 10:35:56 | ftsf | hmm this wasn't a data structure |
| 10:36:06 | ftsf | just 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:40 | dom96 | wow, ~70 more responses on the survey |
| 13:07:57 | dom96 | 4 more to reach my goal of 750 :) |
| 13:11:04 | dom96 | bbl |
| 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:19 | cheatfate | Is anybody knows how DWARF debug information stored inside PE (portable executable) file? |
| 15:54:33 | cheatfate | could 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:59 | ofelas | cheatfate: 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:34 | hcorion | Hi 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:07 | PMunch | And the problem? |
| 20:38:12 | * | Jesin joined #nim |
| 20:39:09 | hcorion | I 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:27 | PMunch | Aah, I see |
| 20:41:35 | dom96 | IUP's vbox should have an 'add' (or similar) procedure that allows you to add more controls to it |
| 20:41:56 | PMunch | What about vboxv? |
| 20:42:19 | PMunch | Haven't used iup but by the signature it seems to take some kind of structure of children |
| 20:44:37 | dom96 | there must be a way to add controls dynamically to a 'vbox' |
| 20:44:38 | * | nsf joined #nim |
| 20:44:48 | dom96 | or at least a way to pass a list to the vbox constructor |
| 20:45:07 | hcorion | @dom96 Yeah, I was wanting to do something like that |
| 20:45:39 | PMunch | That's what vboxv seems to do |
| 20:45:42 | PMunch | The latter |
| 20:45:56 | PMunch | But I agree that it should be possible to add dynamically |
| 20:46:14 | * | gokr joined #nim |
| 20:46:43 | hcorion | So then how might I go about adding, say a list of 'togs' to vboxv? |
| 20:47:03 | PMunch | Not sure, as as said I haven't used iup |
| 20:48:00 | hcorion | My 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:03 | hcorion | wait, wait, I figured it out. iup has an append function |
| 20:51:10 | * | nairobi quit (Read error: Connection timed out) |
| 20:51:25 | hcorion | Thanks @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 |