00:00:03 | Senketsu | would expect pure lib be okay for threads |
00:00:22 | Senketsu | i think i might give up on threading & Nim at all |
00:00:23 | Senketsu | lol |
00:04:10 | dom96 | Senketsu: I think you should report that as a bug. |
00:04:25 | dom96 | Senketsu: You should be able to use httpclient in different threads. |
00:04:55 | Senketsu | my seconds attempt at meaningfull threading and second bug |
00:04:56 | Senketsu | haha |
00:04:57 | Senketsu | okay |
00:10:21 | * | notfowl quit (Excess Flood) |
00:10:38 | * | Jesin quit (Quit: Leaving) |
00:11:04 | * | notfowl joined #nim |
00:15:09 | * | datanoise joined #nim |
00:15:12 | * | Jesin joined #nim |
00:26:51 | federico3 | Nim is less mature than it looks |
00:27:45 | Senketsu | but that makes it more lovely ¯\_(ツ)_/¯ |
00:46:50 | * | elbow_json joined #nim |
00:46:51 | * | elbow_jason quit (Read error: Connection reset by peer) |
00:47:45 | reactormonk | Senketsu, pedobear incoming? |
00:47:59 | Senketsu | what ? |
00:48:38 | Senketsu | oooh |
00:48:41 | Senketsu | hahaha |
00:48:53 | reactormonk | you using emacs? |
00:49:02 | Senketsu | no, just aporia |
00:50:48 | reactormonk | With nimsuggest? |
00:53:11 | Senketsu | nope, tho did tried it when newsuggest was in devel but i was still very new to nim so it was actually more comfy for me to look into the docs than try find a proc im that |
00:53:29 | Senketsu | im kinda used into looking up docs all the time from C |
00:53:54 | reactormonk | kk. I'm currently banging my head against a wall trying to integrate nimsuggest into emacs |
00:54:17 | Senketsu | hah |
00:55:24 | reactormonk | I get some WTF stuff, like 1. works fine, second call doesn't anymore. |
00:59:20 | * | daurnimator quit (Quit: WeeChat 1.0.1) |
01:06:02 | * | vikaton joined #nim |
01:13:28 | * | datanoise quit (Ping timeout: 264 seconds) |
01:17:38 | * | Siecje joined #nim |
01:33:38 | * | jefus quit (Ping timeout: 246 seconds) |
01:42:47 | * | BitPuffin|osx quit (Remote host closed the connection) |
01:45:33 | * | aboisvert joined #nim |
01:46:15 | * | jefus joined #nim |
01:48:55 | * | notfowl quit (Excess Flood) |
01:49:08 | * | notfowl joined #nim |
01:51:32 | * | askatasuna quit (Ping timeout: 276 seconds) |
01:52:17 | * | askatasuna joined #nim |
01:56:21 | * | datanoise joined #nim |
01:56:36 | * | askatasuna quit (Ping timeout: 240 seconds) |
01:58:39 | * | askatasuna joined #nim |
02:06:54 | * | Quora joined #nim |
02:07:40 | * | notfowl quit (Excess Flood) |
02:09:04 | * | notfowl joined #nim |
02:09:43 | * | tjscanlon joined #nim |
02:13:09 | * | datanoise quit (Quit: leaving) |
02:13:37 | * | darkf joined #nim |
02:15:03 | * | datanoise joined #nim |
02:32:09 | * | JinShil quit (Quit: Konversation terminated!) |
02:41:10 | * | notfowl quit (Excess Flood) |
02:42:04 | * | notfowl joined #nim |
02:45:09 | * | Siecje quit (Quit: Leaving.) |
02:57:40 | * | notfowl quit (Changing host) |
02:57:40 | * | notfowl joined #nim |
02:57:41 | * | notfowl quit (Changing host) |
02:57:41 | * | notfowl joined #nim |
03:34:32 | * | TEttinger joined #nim |
03:37:00 | * | rgv151 joined #nim |
03:40:47 | * | yglukhov___ joined #nim |
03:45:36 | * | yglukhov___ quit (Ping timeout: 265 seconds) |
03:58:42 | * | aboisvert quit (Ping timeout: 252 seconds) |
04:16:25 | * | tjscanlon quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
04:23:26 | * | vikaton quit (Quit: Connection closed for inactivity) |
04:39:54 | * | Sembei quit (Read error: Connection reset by peer) |
04:43:54 | * | Sembei joined #nim |
04:58:12 | * | notfowl quit (Excess Flood) |
04:58:34 | * | notfowl joined #nim |
05:06:20 | * | johnsoft quit (Ping timeout: 265 seconds) |
05:06:51 | * | johnsoft joined #nim |
05:07:12 | * | elbow_json quit (Ping timeout: 276 seconds) |
05:09:35 | * | askatasuna quit (Ping timeout: 256 seconds) |
05:25:07 | * | elbow_jason joined #nim |
05:55:15 | * | d3m1gd joined #nim |
05:57:44 | * | notfowl quit (Excess Flood) |
05:59:04 | * | notfowl joined #nim |
05:59:10 | * | elbow_jason quit (Quit: Leaving) |
06:06:30 | * | gokr_ joined #nim |
06:14:45 | * | datanoise quit (Ping timeout: 256 seconds) |
06:37:05 | * | yglukhov___ joined #nim |
06:41:27 | * | datanoise joined #nim |
06:53:06 | * | notfowl quit (Excess Flood) |
06:54:34 | * | notfowl joined #nim |
06:57:48 | * | Ven joined #nim |
07:01:29 | * | datanoise quit (Ping timeout: 264 seconds) |
07:49:22 | * | Trustable joined #nim |
07:56:34 | * | HakanD joined #nim |
08:02:15 | * | datanoise joined #nim |
08:06:48 | * | datanoise quit (Ping timeout: 256 seconds) |
08:09:16 | * | bjz joined #nim |
08:15:56 | * | MyMind joined #nim |
08:25:57 | * | HakanD quit (Quit: Be back later ...) |
08:38:05 | * | Andris_zbx joined #nim |
08:46:24 | * | rgv151 quit (Read error: Connection reset by peer) |
08:46:59 | * | rgv151 joined #nim |
09:06:00 | * | Pisuke joined #nim |
09:06:09 | * | Sembei quit (Ping timeout: 240 seconds) |
09:06:23 | * | HakanD joined #nim |
09:10:41 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
09:16:09 | * | BlaXpirit joined #nim |
09:24:08 | * | bjz_ joined #nim |
09:26:28 | * | repax joined #nim |
09:27:11 | * | bjz quit (Ping timeout: 246 seconds) |
09:28:48 | * | ingsoc joined #nim |
09:37:26 | * | dddddd joined #nim |
09:55:41 | * | bjz_ quit (Read error: Connection reset by peer) |
09:56:24 | * | bjz joined #nim |
10:19:08 | * | HakanD_ joined #nim |
10:19:13 | * | rgv151 quit (Quit: Leaving...) |
10:21:40 | * | HakanD quit (Ping timeout: 256 seconds) |
10:42:58 | * | JinShil joined #nim |
10:52:33 | * | datanoise joined #nim |
10:56:41 | * | banister quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
10:57:50 | * | askatasuna joined #nim |
10:57:56 | * | datanoise quit (Ping timeout: 256 seconds) |
11:01:21 | * | HakanD_ quit (Ping timeout: 250 seconds) |
11:01:56 | * | banister joined #nim |
11:10:31 | * | BitPuffin joined #nim |
11:16:03 | * | Kingsquee is now known as Kingsqueeeeeeeee |
11:17:33 | * | Kingsqueeeeeeeee is now known as Kingsquee |
11:26:01 | * | jsjoberg joined #nim |
11:32:43 | * | davidhq joined #nim |
11:39:58 | * | OnO joined #nim |
11:47:19 | * | Kingsquee quit (Quit: Konversation terminated!) |
11:55:09 | * | datanoise joined #nim |
12:01:29 | * | datanoise quit (Ping timeout: 245 seconds) |
12:12:16 | * | BlaXpirit quit (Quit: Quit Konversation) |
12:15:07 | * | BlaXpirit joined #nim |
12:16:20 | * | Ven joined #nim |
12:21:10 | * | davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
12:22:07 | * | JinShil quit (Quit: Konversation terminated!) |
12:33:16 | * | davidhq joined #nim |
12:35:43 | * | davidhq quit (Client Quit) |
12:46:52 | * | the9to5 joined #nim |
12:48:10 | * | the9to5 quit (Client Quit) |
12:48:32 | * | the9to5 joined #nim |
12:56:15 | * | mal`` quit (Ping timeout: 248 seconds) |
12:56:44 | * | mal`` joined #nim |
12:58:18 | * | datanoise joined #nim |
12:58:30 | * | the9to5 quit () |
12:58:56 | * | the9to5 joined #nim |
13:03:54 | * | datanoise quit (Ping timeout: 272 seconds) |
13:07:29 | * | the9to5 quit () |
13:10:14 | * | the9to5 joined #nim |
13:11:41 | * | OnO quit (Quit: Textual IRC Client: www.textualapp.com) |
13:17:41 | * | banister quit (Ping timeout: 264 seconds) |
13:21:00 | * | Matthias247 joined #nim |
13:21:38 | * | EXetoC joined #nim |
13:37:59 | * | Strikecarl joined #nim |
13:43:42 | * | banister joined #nim |
13:44:42 | * | the9to5 left #nim (#nim) |
13:45:30 | * | saml joined #nim |
13:47:59 | * | Strikecarl quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
13:49:26 | * | OnO joined #nim |
13:50:14 | * | vikaton joined #nim |
13:51:32 | * | the9to5 joined #nim |
13:57:49 | * | darkf quit (Quit: Leaving) |
14:11:53 | * | johnsoft quit (Ping timeout: 276 seconds) |
14:12:38 | * | notfowl quit (Excess Flood) |
14:14:04 | * | notfowl joined #nim |
14:16:12 | * | johnsoft joined #nim |
14:17:09 | * | Sembei joined #nim |
14:18:59 | * | Pisuke quit (Ping timeout: 245 seconds) |
14:19:27 | * | datanoise joined #nim |
14:24:46 | * | ingsoc quit (Ping timeout: 256 seconds) |
14:34:42 | * | TEttinger quit (Ping timeout: 244 seconds) |
14:47:31 | * | kokozedman joined #nim |
14:49:09 | kokozedman | hey guys, I'm trying to c2nim libprotobuf-c. it uses a lot of name__something (double underscore) and Nim is not happy about it. Is there a way to mangle these automatically without having to go thru them one by one? (hundreds of them inside) |
14:51:34 | * | gokr quit (Quit: Leaving.) |
15:13:51 | * | OnO quit (Quit: My iMac has gone to sleep. ZZZzzz…) |
15:18:58 | dom96 | kokozedman: perhaps you could use this http://nim-lang.org/docs/c2nim.html#preprocessor-support-mangle-directive |
15:19:51 | kokozedman | thanks dom96, I didn't know #mangle supported patterns |
15:30:50 | * | buupisaway is now known as buup |
15:42:00 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
15:47:55 | * | Andris_zbx quit (Remote host closed the connection) |
15:50:38 | * | ingsoc joined #nim |
15:52:12 | * | Ven joined #nim |
15:52:30 | * | gokr joined #nim |
15:55:23 | * | Ven quit (Client Quit) |
15:59:46 | gokr | kokozedman: Check my article on wrapping, I think there was some hints around mangling in it. |
16:00:10 | gokr | http://goran.krampe.se/2014/10/16/nim-wrapping-c/ |
16:01:15 | * | banister quit (Ping timeout: 265 seconds) |
16:01:15 | * | Matthias247 quit (Read error: Connection reset by peer) |
16:07:05 | * | jholland joined #nim |
16:08:17 | * | OnO joined #nim |
16:11:17 | * | fraya joined #nim |
16:22:54 | * | fraya left #nim (#nim) |
16:38:50 | * | rkj-b joined #nim |
16:44:31 | * | OnO quit (Quit: My iMac has gone to sleep. ZZZzzz…) |
16:45:20 | * | NimBot joined #nim |
16:50:50 | * | brson joined #nim |
16:53:16 | * | EXetoC quit (Quit: WeeChat 1.1.1) |
17:15:34 | * | kokozedman quit (Quit: Leaving) |
17:17:41 | * | OnO joined #nim |
17:23:11 | * | vikaton quit () |
17:24:11 | * | bmaxa joined #nim |
17:38:59 | * | gokr_ quit (Ping timeout: 245 seconds) |
17:39:25 | * | gokr quit (Ping timeout: 264 seconds) |
17:44:01 | * | grncdr joined #nim |
17:45:16 | * | brson_ joined #nim |
17:45:25 | * | OnO quit (Quit: My iMac has gone to sleep. ZZZzzz…) |
17:45:45 | * | brson quit (Ping timeout: 276 seconds) |
17:46:25 | * | OnO joined #nim |
17:47:37 | * | brson_ quit (Client Quit) |
17:47:44 | * | brson joined #nim |
18:00:03 | * | grncdr1 joined #nim |
18:00:49 | * | grncdr quit (Ping timeout: 256 seconds) |
18:02:50 | * | vikaton joined #nim |
18:02:51 | * | gsingh93 joined #nim |
18:03:28 | * | grncdr1 quit (Client Quit) |
18:03:50 | * | cazov_ is now known as cazov |
18:06:25 | * | brson quit (Ping timeout: 255 seconds) |
18:13:19 | * | Kelet joined #nim |
18:19:29 | * | brson joined #nim |
18:19:34 | * | bmaxa left #nim ("Leaving") |
18:26:18 | * | rinukkusu quit (Ping timeout: 244 seconds) |
18:26:19 | * | no_name quit (Ping timeout: 244 seconds) |
18:26:19 | * | devzerp quit (Ping timeout: 244 seconds) |
18:26:19 | * | mahlon quit (Ping timeout: 244 seconds) |
18:26:19 | * | ErikBjare_ quit (Ping timeout: 244 seconds) |
18:26:19 | * | RegisterOn quit (Ping timeout: 244 seconds) |
18:26:19 | * | dddddd quit (Ping timeout: 244 seconds) |
18:26:19 | * | jokra quit (Ping timeout: 244 seconds) |
18:26:33 | * | dddddd joined #nim |
18:26:45 | * | banister joined #nim |
18:26:45 | * | banister quit (Max SendQ exceeded) |
18:26:47 | * | Guest95994 quit (*.net *.split) |
18:26:47 | * | mal`` quit (*.net *.split) |
18:26:47 | * | k1i quit (*.net *.split) |
18:26:47 | * | pipeep quit (*.net *.split) |
18:26:47 | * | dddddd quit (*.net *.split) |
18:26:47 | * | brson quit (*.net *.split) |
18:26:48 | * | onionhammer quit (*.net *.split) |
18:26:48 | * | synthmeat quit (*.net *.split) |
18:26:48 | * | reactormonk quit (*.net *.split) |
18:26:48 | * | n0v quit (*.net *.split) |
18:26:48 | * | yomiel quit (*.net *.split) |
18:26:48 | * | jacksnipe quit (*.net *.split) |
18:26:48 | * | \u quit (*.net *.split) |
18:26:49 | * | betawaffle quit (*.net *.split) |
18:26:49 | * | ntjnsz quit (*.net *.split) |
18:26:49 | * | MattAitchison quit (*.net *.split) |
18:26:49 | * | rkj-b quit (*.net *.split) |
18:26:49 | * | federico3 quit (*.net *.split) |
18:26:50 | * | heinrich5991 quit (*.net *.split) |
18:26:50 | * | skyfex___ quit (*.net *.split) |
18:26:50 | * | mischanix quit (*.net *.split) |
18:26:51 | * | BitPuffin quit (*.net *.split) |
18:26:51 | * | xificurC quit (*.net *.split) |
18:26:51 | * | cyraxjoe quit (*.net *.split) |
18:26:51 | * | allan0 quit (*.net *.split) |
18:26:51 | * | syncn quit (*.net *.split) |
18:26:51 | * | so quit (*.net *.split) |
18:26:51 | * | BlaXpirit quit (*.net *.split) |
18:26:52 | * | askatasuna quit (*.net *.split) |
18:26:52 | * | yglukhov___ quit (*.net *.split) |
18:26:52 | * | tmku quit (*.net *.split) |
18:26:53 | * | pleiosaur quit (*.net *.split) |
18:26:53 | * | renesac quit (*.net *.split) |
18:26:53 | * | eventualbuddha quit (*.net *.split) |
18:26:53 | * | mikolalysenko quit (*.net *.split) |
18:26:53 | * | endou_________ quit (*.net *.split) |
18:26:53 | * | cmk_zzz quit (*.net *.split) |
18:26:53 | * | TylerE quit (*.net *.split) |
18:26:53 | * | n1ftyn8 quit (*.net *.split) |
18:26:53 | * | jj2baile quit (*.net *.split) |
18:26:53 | * | Joe-T quit (*.net *.split) |
18:26:53 | * | polde quit (*.net *.split) |
18:26:53 | * | repax quit (*.net *.split) |
18:26:54 | * | jholland quit (*.net *.split) |
18:26:54 | * | ingsoc quit (*.net *.split) |
18:26:54 | * | saml quit (*.net *.split) |
18:26:54 | * | bjz quit (*.net *.split) |
18:26:54 | * | dalarmmst quit (*.net *.split) |
18:26:54 | * | thotypous quit (*.net *.split) |
18:26:54 | * | Senketsu quit (*.net *.split) |
18:26:55 | * | keypusher quit (*.net *.split) |
18:26:55 | * | mnemonikk quit (*.net *.split) |
18:26:55 | * | Shoozza quit (*.net *.split) |
18:26:55 | * | delian66 quit (*.net *.split) |
18:26:55 | * | rektide quit (*.net *.split) |
18:26:56 | * | fold quit (*.net *.split) |
18:26:56 | * | katis_ quit (*.net *.split) |
18:26:56 | * | ekarlso quit (*.net *.split) |
18:26:56 | * | jez0990 quit (*.net *.split) |
18:26:56 | * | zahary1 quit (*.net *.split) |
18:26:56 | * | zulmin quit (*.net *.split) |
18:26:57 | * | Xaseron quit (*.net *.split) |
18:26:57 | * | ggVGc quit (*.net *.split) |
18:26:57 | * | bw_ quit (*.net *.split) |
18:26:57 | * | phI||Ip quit (*.net *.split) |
18:26:57 | * | OnO quit (*.net *.split) |
18:26:57 | * | MyMind quit (*.net *.split) |
18:26:57 | * | buup quit (*.net *.split) |
18:26:58 | * | dhasenan quit (*.net *.split) |
18:26:58 | * | ir2ivps10 quit (*.net *.split) |
18:26:58 | * | mtj__ quit (*.net *.split) |
18:26:58 | * | cazov quit (*.net *.split) |
18:26:58 | * | Araq quit (*.net *.split) |
18:26:58 | * | amaurea quit (*.net *.split) |
18:26:58 | * | Kelet quit (*.net *.split) |
18:26:58 | * | ddsaaaaaaaaf quit (*.net *.split) |
18:26:58 | * | the9to5 quit (*.net *.split) |
18:26:58 | * | jefus quit (*.net *.split) |
18:26:59 | * | silven quit (*.net *.split) |
18:26:59 | * | clone1018 quit (*.net *.split) |
18:26:59 | * | NhanH quit (*.net *.split) |
18:26:59 | * | Amrykid quit (*.net *.split) |
18:26:59 | * | vinnie quit (*.net *.split) |
18:26:59 | * | RushPL quit (*.net *.split) |
18:26:59 | * | Quora quit (*.net *.split) |
18:26:59 | * | dv- quit (*.net *.split) |
18:26:59 | * | biscarch quit (*.net *.split) |
18:27:00 | * | JStoker quit (*.net *.split) |
18:27:00 | * | AckZ quit (*.net *.split) |
18:27:00 | * | lyro quit (*.net *.split) |
18:27:00 | * | pigmej quit (*.net *.split) |
18:27:00 | * | tstm quit (*.net *.split) |
18:27:00 | * | DecoPerson quit (*.net *.split) |
18:27:00 | * | xxx quit (*.net *.split) |
18:27:01 | * | Roin quit (*.net *.split) |
18:27:01 | * | vikaton quit (*.net *.split) |
18:27:01 | * | notfowl quit (*.net *.split) |
18:27:01 | * | cryzed quit (*.net *.split) |
18:27:02 | * | Xe quit (*.net *.split) |
18:27:02 | * | r-ku quit (*.net *.split) |
18:27:02 | * | d33tah quit (*.net *.split) |
18:27:02 | * | EastByte quit (*.net *.split) |
18:27:02 | * | ldlework quit (*.net *.split) |
18:27:02 | * | someplace quit (*.net *.split) |
18:27:02 | * | dom96 quit (*.net *.split) |
18:27:03 | * | reloc0 quit (*.net *.split) |
18:27:03 | * | [CBR]Unspoken quit (*.net *.split) |
18:27:04 | * | gsingh93 quit (*.net *.split) |
18:27:04 | * | jsjoberg quit (*.net *.split) |
18:27:04 | * | vendethiel quit (*.net *.split) |
18:27:04 | * | wb quit (*.net *.split) |
18:27:04 | * | ELFrederich quit (*.net *.split) |
18:27:04 | * | ChrisMAN quit (*.net *.split) |
18:27:04 | * | egrep quit (*.net *.split) |
18:27:04 | * | TheManiac quit (*.net *.split) |
18:27:05 | * | dewdrop quit (*.net *.split) |
18:27:05 | * | datanoise quit (*.net *.split) |
18:27:05 | * | johnsoft quit (*.net *.split) |
18:27:05 | * | Trustable quit (*.net *.split) |
18:27:05 | * | d3m1gd quit (*.net *.split) |
18:27:05 | * | Jesin quit (*.net *.split) |
18:27:05 | * | OnwardEuler quit (*.net *.split) |
18:27:05 | * | wan quit (*.net *.split) |
18:27:05 | * | wtw quit (*.net *.split) |
18:27:06 | * | jh32 quit (*.net *.split) |
18:27:06 | * | zama quit (*.net *.split) |
18:27:06 | * | flyx quit (*.net *.split) |
18:27:06 | * | LoneTech quit (*.net *.split) |
18:27:06 | * | Sornaensis quit (*.net *.split) |
18:27:07 | * | profan quit (*.net *.split) |
18:27:07 | * | beatmox quit (*.net *.split) |
18:27:07 | * | def- quit (*.net *.split) |
18:27:07 | * | arnetheduck quit (*.net *.split) |
18:27:07 | * | skroll1 quit (*.net *.split) |
18:27:07 | * | Varriount quit (*.net *.split) |
18:27:08 | * | CARAM__ quit (*.net *.split) |
18:28:32 | * | jokra joined #nim |
18:28:32 | * | rinukkusu joined #nim |
18:28:32 | * | devzerp joined #nim |
18:28:32 | * | dddddd joined #nim |
18:28:32 | * | mahlon_ joined #nim |
18:28:32 | * | brson joined #nim |
18:28:32 | * | Kelet joined #nim |
18:28:32 | * | gsingh93 joined #nim |
18:28:32 | * | vikaton joined #nim |
18:28:32 | * | OnO joined #nim |
18:28:32 | * | rkj-b joined #nim |
18:28:32 | * | jholland joined #nim |
18:28:32 | * | ingsoc joined #nim |
18:28:32 | * | datanoise joined #nim |
18:28:32 | * | johnsoft joined #nim |
18:28:32 | * | notfowl joined #nim |
18:28:32 | * | the9to5 joined #nim |
18:28:32 | * | saml joined #nim |
18:28:32 | * | mal`` joined #nim |
18:28:32 | * | BlaXpirit joined #nim |
18:28:32 | * | jsjoberg joined #nim |
18:28:32 | * | BitPuffin joined #nim |
18:28:32 | * | askatasuna joined #nim |
18:28:32 | * | bjz joined #nim |
18:28:32 | * | repax joined #nim |
18:28:32 | * | MyMind joined #nim |
18:28:32 | * | Trustable joined #nim |
18:28:32 | * | yglukhov___ joined #nim |
18:28:32 | * | d3m1gd joined #nim |
18:28:32 | * | Quora joined #nim |
18:28:32 | * | jefus joined #nim |
18:28:32 | * | Jesin joined #nim |
18:28:32 | * | ddsaaaaaaaaf joined #nim |
18:28:32 | * | skyfex___ joined #nim |
18:28:32 | * | dalarmmst joined #nim |
18:28:32 | * | xificurC joined #nim |
18:28:32 | * | OnwardEuler joined #nim |
18:28:32 | * | cryzed joined #nim |
18:28:32 | * | vendethiel joined #nim |
18:28:32 | * | wb joined #nim |
18:28:32 | * | ELFrederich joined #nim |
18:28:32 | * | cyraxjoe joined #nim |
18:28:32 | * | so joined #nim |
18:28:32 | * | ChrisMAN joined #nim |
18:28:32 | * | def- joined #nim |
18:28:32 | * | wan joined #nim |
18:28:32 | * | zahary1 joined #nim |
18:28:32 | * | allan0 joined #nim |
18:28:32 | * | arnetheduck joined #nim |
18:28:32 | * | thotypous joined #nim |
18:28:32 | * | buup joined #nim |
18:28:32 | * | dhasenan joined #nim |
18:28:32 | * | Xe joined #nim |
18:28:32 | * | silven joined #nim |
18:28:32 | * | d33tah joined #nim |
18:28:32 | * | beatmox joined #nim |
18:28:32 | * | profan joined #nim |
18:28:32 | * | Roin joined #nim |
18:28:32 | * | Sornaensis joined #nim |
18:28:32 | * | xxx joined #nim |
18:28:32 | * | DecoPerson joined #nim |
18:28:32 | * | tstm joined #nim |
18:28:32 | * | ekarlso joined #nim |
18:28:32 | * | jez0990 joined #nim |
18:28:32 | * | betawaffle joined #nim |
18:28:32 | * | ntjnsz joined #nim |
18:28:32 | * | MattAitchison joined #nim |
18:28:32 | * | katis_ joined #nim |
18:28:32 | * | LoneTech joined #nim |
18:28:32 | * | jacksnipe joined #nim |
18:28:32 | * | fold joined #nim |
18:28:32 | * | pigmej joined #nim |
18:28:32 | * | dom96 joined #nim |
18:28:32 | * | lyro joined #nim |
18:28:32 | * | rektide joined #nim |
18:28:32 | * | dewdrop joined #nim |
18:28:32 | * | phI||Ip joined #nim |
18:28:32 | * | TheManiac joined #nim |
18:28:32 | * | [CBR]Unspoken joined #nim |
18:28:32 | * | flyx joined #nim |
18:28:32 | * | AckZ joined #nim |
18:28:32 | * | bw_ joined #nim |
18:28:32 | * | JStoker joined #nim |
18:28:32 | * | polde joined #nim |
18:28:32 | * | Joe-T joined #nim |
18:28:32 | * | yomiel joined #nim |
18:28:32 | * | ldlework joined #nim |
18:28:32 | * | Guest95994 joined #nim |
18:28:32 | * | jj2baile joined #nim |
18:28:32 | * | delian66 joined #nim |
18:28:32 | * | n1ftyn8 joined #nim |
18:28:32 | * | TylerE joined #nim |
18:28:32 | * | biscarch joined #nim |
18:28:32 | * | dv- joined #nim |
18:28:32 | * | cmk_zzz joined #nim |
18:28:32 | * | endou_________ joined #nim |
18:28:32 | * | mikolalysenko joined #nim |
18:28:32 | * | eventualbuddha joined #nim |
18:28:32 | * | Shoozza joined #nim |
18:28:32 | * | RushPL joined #nim |
18:28:32 | * | EastByte joined #nim |
18:28:32 | * | amaurea joined #nim |
18:28:32 | * | ggVGc joined #nim |
18:28:32 | * | \u joined #nim |
18:28:32 | * | mnemonikk joined #nim |
18:28:32 | * | renesac joined #nim |
18:28:32 | * | Araq joined #nim |
18:28:32 | * | pleiosaur joined #nim |
18:28:32 | * | n0v joined #nim |
18:28:32 | * | vinnie joined #nim |
18:28:32 | * | cazov joined #nim |
18:28:32 | * | mtj__ joined #nim |
18:28:32 | * | reloc0 joined #nim |
18:28:32 | * | reactormonk joined #nim |
18:28:32 | * | keypusher joined #nim |
18:28:32 | * | Amrykid joined #nim |
18:28:32 | * | r-ku joined #nim |
18:28:32 | * | zama joined #nim |
18:28:32 | * | ir2ivps10 joined #nim |
18:28:32 | * | Xaseron joined #nim |
18:28:32 | * | jh32 joined #nim |
18:28:33 | * | egrep joined #nim |
18:28:33 | * | NhanH joined #nim |
18:28:33 | * | CARAM__ joined #nim |
18:28:33 | * | Senketsu joined #nim |
18:28:33 | * | wtw joined #nim |
18:28:33 | * | mischanix joined #nim |
18:28:33 | * | someplace joined #nim |
18:28:33 | * | synthmeat joined #nim |
18:28:33 | * | syncn joined #nim |
18:28:33 | * | tmku joined #nim |
18:28:33 | * | onionhammer joined #nim |
18:28:33 | * | clone1018 joined #nim |
18:28:33 | * | Varriount joined #nim |
18:28:33 | * | skroll1 joined #nim |
18:28:33 | * | zulmin joined #nim |
18:28:33 | * | k1i joined #nim |
18:28:33 | * | pipeep joined #nim |
18:28:33 | * | heinrich5991 joined #nim |
18:28:33 | * | federico3 joined #nim |
18:28:36 | * | no_name joined #nim |
18:28:36 | * | RegisterOn joined #nim |
18:28:37 | * | RegisterOn is now known as Guest69313 |
18:28:37 | * | Sembei quit (Max SendQ exceeded) |
18:28:50 | * | ErikBjare_ joined #nim |
18:29:42 | * | notfowl quit (Excess Flood) |
18:30:04 | * | notfowl joined #nim |
18:30:07 | * | Sembei joined #nim |
18:39:45 | * | BitPuffin quit (Ping timeout: 240 seconds) |
18:48:22 | * | BlaXpirit quit (Remote host closed the connection) |
18:50:07 | * | BlaXpirit joined #nim |
18:50:35 | * | Kelet quit (Quit: Page closed) |
18:52:47 | * | gokr joined #nim |
18:53:14 | * | the9to5 quit () |
18:53:49 | * | notfowl quit (Excess Flood) |
18:54:04 | * | notfowl joined #nim |
18:57:41 | * | ddl_smurf joined #nim |
19:00:15 | * | cvi joined #nim |
19:05:50 | cvi | Hi |
19:06:23 | cvi | anyone have time/patience for a newbie question(s)? |
19:06:56 | cvi | cant figure out how to import properly. Tied to use nimble to install nimgame and then use it |
19:07:30 | cvi | only two rows: 'import nimgame' and 'newEngine().start()' |
19:07:56 | cvi | but it complains with: game1.nim(1, 8) Error: cannot open 'nimgame' |
19:08:08 | cvi | What have i missed? :-) |
19:08:18 | cvi | *tried |
19:09:25 | * | d3m1gd quit (Ping timeout: 264 seconds) |
19:12:51 | * | rkj-b quit (Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/20150415140819]) |
19:15:28 | * | Matthias247 joined #nim |
19:16:07 | cvi | ok, found the answer |
19:17:25 | * | transfuturist joined #nim |
19:17:35 | transfuturist | did I release my nightmarish freetype wrapper yet? |
19:18:30 | transfuturist | apparently not |
19:21:44 | * | the9to5 joined #nim |
19:23:56 | * | gmpreussner|work joined #nim |
19:24:20 | transfuturist | https://github.com/transfuturist/freetype |
19:24:27 | transfuturist | nobody use it. |
19:26:42 | notfowl | Lol |
19:38:24 | * | datanoise quit (Quit: Changing server) |
19:38:27 | * | filcuc joined #nim |
19:47:37 | * | flaviu joined #nim |
19:55:51 | * | cvi quit (Ping timeout: 256 seconds) |
20:04:24 | * | the9to5 quit () |
20:09:24 | * | askatasuna quit (Ping timeout: 276 seconds) |
20:09:54 | * | OnO quit (Quit: My iMac has gone to sleep. ZZZzzz…) |
20:12:25 | * | wan quit (Ping timeout: 264 seconds) |
20:14:32 | * | cvi joined #nim |
20:15:40 | flaviu | Is #2515 blocked on anything? |
20:19:30 | * | MyMind quit (Ping timeout: 264 seconds) |
20:23:28 | * | the9to5 joined #nim |
20:26:50 | * | Jehan_ joined #nim |
20:27:40 | * | wan joined #nim |
20:29:21 | * | stefantalpalaru joined #nim |
20:29:46 | * | Kingsquee joined #nim |
20:32:02 | * | ingsoc quit (Quit: Leaving.) |
20:34:57 | stefantalpalaru | Hi. Is there a way to write a generic converter that will allow for the implicit conversion of a literal nil? This doesn't work, in the sense that it's not picked up and the nil still triggers a type mismatch: "converter toFoo[T](n: pointer): ref Foo[T] = result = cast[ref Foo[T]](n)". How is a literal nil implicitly converted to a pointer and how can I emulate that? |
20:35:40 | * | banister joined #nim |
20:35:44 | * | banister quit (Max SendQ exceeded) |
20:36:46 | * | filcuc quit (Ping timeout: 252 seconds) |
20:40:22 | * | banister joined #nim |
20:42:15 | * | redwyn_ joined #nim |
20:47:36 | * | redwyn_ quit (Quit: leaving) |
20:49:56 | * | filwit joined #nim |
20:51:44 | * | dalarmmst quit (Ping timeout: 265 seconds) |
20:54:35 | * | cvi quit (Ping timeout: 250 seconds) |
20:57:12 | * | Guest69313 is now known as RegisterOn |
20:57:24 | * | RegisterOn quit (Changing host) |
20:57:24 | * | RegisterOn joined #nim |
20:57:28 | * | the9to5 quit (Ping timeout: 256 seconds) |
20:58:16 | * | yglukhov___ quit (Quit: Be back later ...) |
20:59:56 | * | vendethiel quit (Quit: q+) |
21:28:23 | * | gsingh93 quit (Ping timeout: 250 seconds) |
21:43:28 | * | buup is now known as buupisaway |
21:45:00 | Jehan_ | stefantalpalaru: You can't. Internally, nil has its own type, and there's a fair amount of type inference magic in the compiler to make it conform to all types that can be nil. |
21:45:27 | Jehan_ | Well, I'm not actually sure that you literally cannot – Nim has surprised me more than once – but I don't see an easy way to do it. |
21:45:41 | stefantalpalaru | OK. thanks |
21:45:50 | Jehan_ | I'm not sure why it's necessary, though – nil does automatically match reference types? |
21:46:40 | Jehan_ | Actually, now that I think about it, it may be possible to hack something with typedesc[nil]. Not sure, though. |
21:49:29 | stefantalpalaru | references can be cast to and from pointers |
21:50:05 | * | buupisaway is now known as buup |
21:50:07 | stefantalpalaru | what I want is to pass nil as a proc parameter without that ugly in-place casting |
21:57:19 | * | milosn joined #nim |
22:06:07 | * | gsingh93 joined #nim |
22:08:59 | * | wan quit (Ping timeout: 245 seconds) |
22:11:35 | * | datanoise joined #nim |
22:12:35 | * | gsingh93 quit (Ping timeout: 250 seconds) |
22:14:50 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:20:49 | Jehan_ | You should be able to pass nil as a proc parameter to any ref or ptr type? |
22:21:17 | Jehan_ | … of any ... |
22:22:18 | * | wan joined #nim |
22:35:25 | * | Matthias247 quit (Read error: Connection reset by peer) |
22:36:47 | * | BitPuffin|osx joined #nim |
22:46:44 | * | vikaton quit () |
22:52:10 | * | stefantalpalaru quit (Quit: Leaving) |
22:55:54 | onionhammer | varriount we ready to release yet? :) |
23:01:57 | BlaXpirit | flaviu, blocked on nobody caring anymore |
23:02:50 | BlaXpirit | i asked Arаq for final comments, to no avail |
23:03:18 | flaviu | Well, nobody caring anymore is almost a good thing. It's probably in a stable-enough state if no one can find anything to complain about. |
23:04:14 | flaviu | Let's ping Araq tomorrow and get it merged. |
23:04:28 | BlaXpirit | even i'm not really satisfied with it |
23:04:43 | * | buup is now known as buupisaway |
23:06:32 | BlaXpirit | i need to do some things before merging, too |
23:10:47 | flaviu | Ok, that's fine. |
23:16:01 | * | gokr quit (Ping timeout: 244 seconds) |
23:19:43 | * | gokr joined #nim |
23:20:06 | * | gsingh93 joined #nim |
23:21:08 | Varriount | onionhammer: I think so. |
23:24:32 | filwit | Jehan_: our discussion on constructors the other day (namely that you feel the main/only points in favor of it are purely aesthetic) made me think my arguments for the feature weren't clearly illustrated. So I made a short gist which shows a couple of benefits of the idea (and are not based on aesthetics): https://gist.github.com/PhilipWitte/0ca58b9655a6f3fd8ff0 |
23:25:58 | Jehan_ | filwit: Eh, I think that the raw object constructors shouldn't be imported. I don't see what that has to do with constructors in general. |
23:26:06 | Jehan_ | That's just about basic information hiding. |
23:26:45 | Jehan_ | s/imported/exported |
23:27:10 | filwit | well when you compare the solution "hide the obj constructor" vs "make obj constructors more useful" i still think the latter wins |
23:27:25 | ldlework | please don't throw out aesthetics |
23:27:53 | Jehan_ | ldlework: I don't, but aesthetics can be subjective. |
23:28:09 | Jehan_ | For example, I find C++/Java/C# constructors ugly as hell. |
23:28:10 | BlaXpirit | nice to see this gain more attention |
23:28:22 | BlaXpirit | inability to hide object constructor is atrocious |
23:28:24 | filwit | obj constructors are sexy and, more important, they're "universally available".. mean a programmer can expect to use that syntax (in some form) to construct any type |
23:28:37 | filwit | meaning** |
23:29:29 | Jehan_ | filwit: Object constructors should only be used internally in a module IMO. |
23:30:35 | BlaXpirit | you maybe misunderstood |
23:30:38 | * | dtscode joined #nim |
23:31:14 | BlaXpirit | maybe filwit means that you should be able to define a function which replaces object constructor |
23:31:29 | Jehan_ | BlaXpirit: You can already do that. |
23:31:37 | filwit | Jehan_: can you explain your reasoning a bit more? I really do respect your opinions (i find you to be generally object and knowledgeable).. but I don't see how your solution is better than mine except that maybe it has a bit less 'magic' going on.. Simply restricting the use of object constructors doesn't sound objectively better than improving their design.. especially when this pattern closely matches that of destructors |
23:32:06 | filwit | generally objective** |
23:32:11 | filwit | god i can't type today |
23:32:26 | dtscode | What do you mean today? |
23:32:28 | Jehan_ | filwit: Basically, what you're proposing is two different ways of writing a function. One syntax is called a constructor, another a proc, but they do the same thing. Well, actually, constructors do only a subset of what procs can do. |
23:32:43 | filwit | dtscode: shutup, lol.. you're right tho.. |
23:33:01 | Jehan_ | And, eh, typos are an underappreciated art form. :) |
23:33:11 | dtscode | Not in ##c. |
23:33:16 | dtscode | They are banning material. |
23:33:30 | Jehan_ | But there's simply nothing that a constructor can do that that a proc can't. |
23:33:58 | filwit | well no, you could still invoke a constructor explicitly, and it would be no less restricted than a normal proc.. the only thing it does is get invoked implicitly by the object constructor (and an proc that uses that, like 'new') |
23:34:04 | BlaXpirit | proc can't be named the same as a type :| |
23:34:17 | Jehan_ | Constructors in C++ are simply a way to package memory allocation with object instantiation. |
23:35:01 | Jehan_ | BlaXpirit: I see this as an advantage, more or less. |
23:35:07 | Jehan_ | Again, aesthetics. |
23:35:28 | BlaXpirit | [:28:21] <BlaXpirit> inability to hide object constructor is atrocious |
23:35:37 | BlaXpirit | wanna follow that up with: the rest is details |
23:35:48 | Jehan_ | BlaXpirit: Yup. I would make object constructors non-exportable. |
23:36:02 | Jehan_ | That should solve the problem. |
23:36:26 | * | BlaXpirit quit (Quit: Quit Konversation) |
23:36:31 | ldlework | heh |
23:36:44 | Jehan_ | The way objects are constructed internally is an implementation detail that should not be exposed through the API. |
23:38:13 | filwit | proper constructors are important to catch constructions errors are compile-time (ensuring the a proper constructor proc is called).. my solution basically just makes Object Constructors useful instead of the alternative: locking them from being used outside a module (either for all types, or select ones).. I think the latter solution is a) less aesthetically appealing, and b) more confusing, since sometimes you can use constructors |
23:38:13 | filwit | syntax, but other times you cant.. it also may effect generic code more than my solution would, since you not only need to know the params but also a unique name of the constructor |
23:38:53 | ldlework | "X shouldn't be allowed because no one will ever need X, except for all those times you really do need X" |
23:38:55 | Jehan_ | filwit: What construction errors are called at compile time by calling a constructor that calling a proc doesn't catch? |
23:39:35 | Jehan_ | s/called/caught/ |
23:39:47 | filwit | Jehan_: my gist illustrates this |
23:40:10 | Jehan_ | No, your gist illustrates why exporting internal object constructors is a bad idea. |
23:40:46 | filwit | can you give more reason to your assertions when you make them? just stating your opinion doesn't help me understand you reasoning |
23:41:17 | Jehan_ | filwit: Instantiating objects frequently requires additional logic aside from just assigning values to instance variables. |
23:41:41 | * | Trustable quit (Remote host closed the connection) |
23:41:51 | Jehan_ | Exporting object constructors (the current ones, not the ones that you propose) allows you to bypass this logic or even leave instance variables uninitialized. |
23:42:04 | filwit | yes, but that's not what you just asked about, and my solution addresses that too |
23:42:08 | Jehan_ | Worse, they expose implementation details. |
23:42:28 | Jehan_ | My solution is much simpler: DOn't export them, write a proc that creates the object. |
23:42:36 | Jehan_ | There, done, no language extension needed. |
23:43:15 | filwit | yes but i just argued that it's also more confusing to have obj construction work sometimes and not others.. plus generic code has to know the name of the proper constructor to call |
23:43:28 | Jehan_ | The proc is internal to the module and exports a clean, strict interface that guarantees proper initalization. |
23:44:02 | Jehan_ | proc makeMeAnObject*[T](…) works for generics, too. |
23:44:10 | filwit | which is exactly why my solution does too, only it keeps the sexy syntax, and makes it so obj constructors can still be expected as a syntax pattern for every type in Nim |
23:45:14 | * | jholland quit (Quit: Connection closed for inactivity) |
23:45:17 | Jehan_ | The rule for object construction under my proposal is simple: Only use them for types defined within the module. There's nothing confusing about that. |
23:45:21 | filwit | 'makeMeAnObject' may be considered idiomatic, but that doesn't mean everyone will follow it.. people will have 'initMeAnObject' often and your generics break, unlike if you just know the name of the type an can always use it (with a given set of params) |
23:46:01 | Jehan_ | filwit: That was a made-up name. I propose to name procs in ways that make their purpose clear in general. |
23:46:53 | filwit | Jehan_: i acknowledge you solution addresses the problem and would probably be easier to implement, but I don't think it's better. I think if you quantify the benefits of your solution and mine, mine has more significant points in it's favor. |
23:47:48 | Jehan_ | Then quantify them. |
23:47:57 | Jehan_ | In any event, you'll have to convince Araq, not me. |
23:48:28 | ldlework | filwit: is Jehan_ recommending that object construction works in go where you use some silly named proc rathr than the type itself? |
23:48:41 | Varriount | onionhammer: Merging in code now. I should have it done in a couple hours (I have to take a break midway, to get chores done) |
23:49:04 | filwit | ldlework: yes, essentially (only you can still use T() within it's module) |
23:49:15 | ldlework | nooooooooooooooooooooooooooooooooooooooooo |
23:50:20 | filwit | Jehan_: i think a pros/cons list between the two approaches is in order.. and I'm aware we need Araq on board.. i was just hoping to either win you over as well, or at least be convinced or your reasoning. |
23:50:57 | Jehan_ | filwit: Unlike you, I have a totally different background in languages. |
23:50:58 | filwit | god i really can't type today.. |
23:51:31 | Jehan_ | I come from Eiffel, ML dialects, and a number of other languages that aren't C++/C#/Java. |
23:51:55 | Jehan_ | The type of constructors you want is really pretty unique to the C++ family of languages. |
23:52:09 | Jehan_ | Which I'm not particularly fond of (okay, C# is decent). |
23:52:56 | Jehan_ | I mean, the whole "overloading in order to disambiguate constructors" misfeature alone is enough to discredit them. |
23:53:03 | filwit | i see, that explains your apprehension a bit. And for what it's worth, I'm not a huge fan of C/C++ or C# in many ways (C# is nice in many ways, but I don't like C's syntax at any rate) |
23:53:08 | Jehan_ | This is why, if at all, I prefer named constructors. |
23:53:39 | Jehan_ | Even so, constructors tend to primarily occur in languages that do not have a module system separate from classes. |
23:54:03 | Jehan_ | C++ (at least pre-namespaces), Java, Eiffel, Smalltalk. |
23:54:38 | Jehan_ | It's why they are virtually unknown in languages that DO have a separate module system and don't borrow wholesale from C++ (e.g. Ada and the ML family of languages). |
23:55:07 | Jehan_ | Oh, Haskell, too, of course. |
23:55:35 | filwit | I see.. But within context (Nim) I think they have good argument. I don't think it makes Nim any more "C-like" by any means. |
23:55:40 | Jehan_ | Scala has constructors, but discourages their use outside of the companion object of a class. |
23:59:50 | Jehan_ | filwit: My problem is that they make Nim more C-like. I think they are an unnecessary construct, and even if not, they are clearly inferior to named constructors. |