<< 25-10-2015 >>

00:01:50*bjz quit (Ping timeout: 260 seconds)
00:04:14lazypenguinAraq: Not finding that comment. Do I just pipe all the header files into c2nim?
00:06:16Araqsure, c2nim can read your mind, no need to read its short manual.
00:07:22Araqactually, just add what is missing to iup.nim and create a PR
00:07:40Araqit's a nice wrapper, no need to mess around with c2nim. also it is for IUP 3.
00:08:51lazypenguinyeah I'm taking a look at the iup sources right now to find out major changes for 3.1+
00:09:29lazypenguinalso, i've only used nim for two days now and have no experience in a c language so I apologize of my questions are...basic
00:10:48Araqno need to apologize.
00:11:17Araqusually I'm annoyed by some bug I'm hunting and since I'm a bad person, I let #nim be aware of my suffering
00:36:02Araq!lag
00:36:02NimBot32ms between me and the server.
00:51:09*drduck joined #nim
01:13:21*vikaton quit (Quit: Connection closed for inactivity)
01:27:20VarriountAraq: For some reason, that seems to be a classic personality trait of expert programmers.
01:39:50desophoswhat could "invalid type in this context" mean?
01:41:56desophosi'm pretty lost atm, here's my non-working code: https://bpaste.net/show/99a3ecde4379 and the errors i'm getting: https://bpaste.net/show/ecd1be92d67f
01:42:19desophosplease either ignore the very experimental code or suggest structural improvements
01:43:11desophosor, well, any suggestions are fine with me
01:43:22desophosi'm just experimenting with stuff :P
01:49:46Araqdesophos: common gotcha
01:49:56AraqimpactEvent*: proc doesn't mean what you think it means
01:50:00Araquse instead:
01:50:05AraqimpactEvent*: proc()
01:50:24desophoswow...
01:50:39desophosyeah that makes sense
01:50:46desophosand now no errors -_-
01:50:50desophosthanks!
01:53:32Araqgood night.
01:55:13ephjaalready?
01:55:16ephjagn
03:23:26*darkf joined #nim
04:03:39*jakesyl quit (Ping timeout: 240 seconds)
04:09:34*coryg quit (Ping timeout: 246 seconds)
04:14:01*jakesyl joined #nim
04:22:24*toad joined #nim
04:22:29*toad quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
04:29:39*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
04:37:19*strcmp2 quit (Quit: bbs)
04:37:47*strcmp1 joined #nim
04:45:24*toad joined #nim
04:45:41*tymat quit (Ping timeout: 265 seconds)
04:46:22*tymat joined #nim
04:50:10*toad quit (Ping timeout: 246 seconds)
04:58:45*nchambers quit (Quit: compilerdev.net - Compilers made easy)
05:00:03*Varriount_ joined #nim
05:03:20*Varriount quit (Ping timeout: 272 seconds)
05:05:19*Varriount__ joined #nim
05:06:16*ephja quit (Ping timeout: 244 seconds)
05:06:28*Varriount_ quit (Ping timeout: 265 seconds)
05:13:26*vqrs quit (Ping timeout: 260 seconds)
05:17:01*vqrs joined #nim
05:19:44*toad joined #nim
05:23:58*toad quit (Ping timeout: 240 seconds)
05:25:30*Demos quit (Read error: Connection reset by peer)
05:29:55*bjz joined #nim
05:33:33*barosl quit (Quit: Leaving)
05:36:04*nchambers joined #nim
05:37:48*barosl joined #nim
05:43:54*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:49:54desophoshow do i correctly declare a type field of type proc? that sentence is very confusing; i mean something like `type Obj = object` `field: Table[string, proc()]`? i'm getting a type mismatch error when i try to call the procs stored in that field. i just don't know where to declare the argument types for the proc
05:51:50desophose.g. https://bpaste.net/show/21a19e9161da
05:52:44desophosi get https://bpaste.net/show/7e0d1b3456b7
05:53:07*bjz joined #nim
05:59:38*bjz quit (Ping timeout: 260 seconds)
06:00:26FroznPandaproc(): void
06:00:54FroznPandadont know what youre doind but youre missing the return type
06:01:30*bjz joined #nim
06:09:40FroznPandai see excepted proc() {.closure.}
06:10:22FroznPandaforgot the closure?
06:10:57desophosclosure is the default calling convention
06:11:19*gokr quit (Ping timeout: 268 seconds)
06:33:08*desophos quit (Read error: Connection reset by peer)
06:33:36*gmpreussner|work quit (Read error: Connection reset by peer)
06:33:53*gmpreussner|work joined #nim
06:41:26*gokr joined #nim
06:47:41*gmpreussner|work quit (Read error: Connection reset by peer)
06:49:00*gmpreussner|work joined #nim
07:08:24*nande quit (Remote host closed the connection)
07:15:23*yglukhov quit (Read error: Connection reset by peer)
07:16:00*yglukhov joined #nim
07:22:55*gmpreussner|work quit (Read error: Connection reset by peer)
07:23:12*gmpreussner|work joined #nim
07:27:17*Matthias247 joined #nim
07:34:48*shodan45 quit (Quit: Konversation terminated!)
07:36:23*strcmp1 quit (Quit: bbs)
07:42:31*vqrs quit (Ping timeout: 252 seconds)
07:47:44*vqrs joined #nim
08:01:32Araqwell the error message is pretty clear, isn't it?
08:01:39*gmpreussner|work quit (Read error: Connection reset by peer)
08:02:16Araqyou pass a PhysicsBody to a proc () taking no argument
08:02:51Araquse seq[proc(b: PhysicsBody)] instead
08:21:30*Matthias247 quit (Read error: Connection reset by peer)
08:38:26*Demon_Fox quit (Quit: Leaving)
08:39:25*vendethiel joined #nim
09:27:18*bjz quit (Ping timeout: 260 seconds)
09:34:06*bjz joined #nim
09:34:56*vendethiel quit (Quit: q+)
09:38:42*strcmp1 joined #nim
09:57:54*yglukhov_ joined #nim
09:57:54*yglukhov quit (Read error: Connection reset by peer)
10:51:08*yglukhov_ quit (Remote host closed the connection)
10:53:43*Guest97237isaway is now known as Guest97237
10:55:19*ephja joined #nim
11:13:36*elrood joined #nim
11:25:59*xet7 quit (Ping timeout: 264 seconds)
11:43:44*edaaa_ joined #nim
11:50:29*Mark__ joined #nim
11:50:33*Mark__ left #nim (#nim)
11:51:42*yglukhov joined #nim
11:55:59*yglukhov quit (Ping timeout: 244 seconds)
12:07:41*ephja quit (Quit: WeeChat 1.3)
12:14:17*bjz_ joined #nim
12:15:06*bjz quit (Ping timeout: 244 seconds)
12:17:18*edaaa_ quit (Ping timeout: 260 seconds)
12:41:41*xet7 joined #nim
12:53:50*Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif)
13:18:48*Trustable joined #nim
13:39:17*FroznP joined #nim
13:42:57*FroznPanda quit (Ping timeout: 252 seconds)
13:55:06*jaco60 joined #nim
14:12:59*gokr quit (Quit: Leaving.)
14:13:12*gokr joined #nim
14:21:31*Senketsu quit (Quit: Leaving)
14:32:05*elrood quit (Quit: Leaving)
15:07:20*zepolen_ joined #nim
15:08:42*coryg joined #nim
15:12:52*toad joined #nim
15:21:34*lazypenguin quit (Ping timeout: 246 seconds)
15:33:39*lazypenguin joined #nim
15:50:59*johnsoft quit (Read error: Connection reset by peer)
15:51:49*johnsoft joined #nim
15:52:54*vqrs quit (Ping timeout: 260 seconds)
15:53:21*vqrs joined #nim
15:59:56*UberLambda joined #nim
16:00:13*xet7 quit (Remote host closed the connection)
16:03:14*xet7 joined #nim
16:03:50*desophos joined #nim
16:05:15*elrood joined #nim
16:10:29desophoshow do i fix this code? calling a proc declared in an object field: https://bpaste.net/show/21a19e9161da
16:10:29desophos gives me this type mismatch error: https://bpaste.net/show/7e0d1b3456b7
16:10:54desophosi don't know where to declare the argument types
16:11:01desophos*parameter?
16:19:51*edaaa_ joined #nim
16:38:30*yglukhov joined #nim
16:39:25*barosl quit (Read error: Connection reset by peer)
16:48:00lazypenguindesophos: update is a pretty generic proc name, are you sure it's calling that proc?
16:48:44desophoslazypenguin, i'm not even calling update; this is a compile-time error
16:56:53*barosl joined #nim
17:02:58*toad quit (Ping timeout: 240 seconds)
17:10:04*coryg quit (Ping timeout: 246 seconds)
17:15:36*Matthias247 joined #nim
17:28:17*coryg joined #nim
17:50:45*edaaa_ quit (Ping timeout: 240 seconds)
17:59:09*darkf quit (Quit: Leaving)
18:03:26*Kingsquee joined #nim
18:17:38*zepolen_ quit (Remote host closed the connection)
18:21:50*zepolen joined #nim
18:26:01*toad joined #nim
18:28:54*Varriount__ quit (Ping timeout: 255 seconds)
18:33:53*Trustable quit (Remote host closed the connection)
18:38:11*yglukhov quit (Remote host closed the connection)
18:43:05*linkedinyou quit (Ping timeout: 240 seconds)
18:43:09*linkedinyou|2 joined #nim
18:43:43*linkedinyou|2 is now known as linkedinyou
18:45:09*Demon_Fox joined #nim
18:45:51*yglukhov joined #nim
18:48:43*edaaa_ joined #nim
18:49:47*zepolen quit (Remote host closed the connection)
18:50:19*coryg quit (Ping timeout: 240 seconds)
18:50:34*yglukhov quit (Ping timeout: 260 seconds)
18:51:02*toad quit (Read error: No route to host)
18:51:10*toad joined #nim
18:51:21*xet7 quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
18:51:59*xet7 joined #nim
18:58:00*toad left #nim ("May")
19:00:26*irrequietus joined #nim
19:05:53*toad joined #nim
19:07:05*toad left #nim (#nim)
19:12:14*mat4 joined #nim
19:12:17mat4hello
19:21:11*toad joined #nim
19:21:14*toad left #nim (#nim)
19:34:06*irrequietus quit ()
19:45:54*vendethiel joined #nim
19:48:41*filcuc joined #nim
19:51:54*zepolen joined #nim
19:54:39*Varriount joined #nim
19:54:43*Guest97237 is now known as boopsies
19:55:29*drduck quit (Remote host closed the connection)
20:04:01*desophos quit (Ping timeout: 265 seconds)
20:15:40*vqrs quit (Max SendQ exceeded)
20:16:56*vqrs joined #nim
20:20:11*UberLambda quit (Quit: GTG)
20:25:24*xet7 quit (Remote host closed the connection)
20:26:37*Guest39209 joined #nim
20:27:32*Guest39209 is now known as xet7_
20:29:19*xet7_ is now known as xet7
20:30:24*xet7 quit (Remote host closed the connection)
20:36:41*xet7 joined #nim
20:40:15*coryg joined #nim
20:46:25*xet7 quit (Read error: Connection reset by peer)
20:47:20*yglukhov joined #nim
20:48:12*vendethiel quit (Read error: Connection reset by peer)
20:51:45*vendethiel joined #nim
20:51:47*yglukhov quit (Ping timeout: 264 seconds)
21:01:25*jakesyl quit (Ping timeout: 246 seconds)
21:05:03*mat4 quit (Quit: Leaving)
21:14:13*jakesyl joined #nim
21:25:09*Demos joined #nim
21:27:58*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
21:29:58*coryg quit (Ping timeout: 240 seconds)
21:41:29*pregressive joined #nim
21:44:37*filcuc quit (Quit: Konversation terminated!)
21:48:46*coryg joined #nim
21:51:58*zepolen quit (Remote host closed the connection)
21:52:12*gsingh93 quit (Quit: ZNC - http://znc.in)
21:52:37*gsingh93 joined #nim
21:56:09*nande joined #nim
22:09:37*pregressive quit (Remote host closed the connection)
22:12:29*gsingh93 quit (Quit: ZNC - http://znc.in)
22:12:51*gsingh93 joined #nim
22:18:55*pregressive joined #nim
22:22:34*milton joined #nim
22:26:29*Senketsu joined #nim
22:36:46*pregressive quit (Remote host closed the connection)
22:36:48*desophos joined #nim
22:41:37*xet7 joined #nim
22:49:00*yglukhov joined #nim
22:50:27*boopsies is now known as boopsiesisaway
22:53:22*yglukhov quit (Ping timeout: 250 seconds)
22:55:34*vendethiel quit (Ping timeout: 272 seconds)
22:56:55Araqso how do i figure out why travis cannot run niminst properly?
23:01:55*edaaa_ quit (Quit: Leaving)
23:03:36AraqVarriount: ready for release?
23:03:51Araqtravis thing is the only thing that is blocking me
23:04:19AraqI want to use it to build the tar.xz
23:08:08Araqdesophos: the syntax is field: proc (x: int)
23:08:20Araqfor a proc type taking an x of type int
23:10:51desophosAraq: oh. does the parameter name matter there?
23:11:05Araqno but it is required
23:11:12desophoshmm, okay
23:11:24Araqor you use -> from the future module
23:11:43Araq field: int -> void
23:11:56desophosoh that's cool
23:12:01desophosthanks, i guess i'll use that
23:12:10Araqcan't say it improves error messages though, so watch out
23:16:04desophoshmm, now i get "Error: expression 'event(body)' has no type (or is ambiguous)"
23:16:36desophosi guess it can't infer the type? where do i need to put that type?
23:17:42Araqwell if event doesn't return anythin you cannot do 'let x = event(body)'
23:17:50Araqthat's what the error message means
23:18:35desophosah okay, thanks. i guess discard does something like that
23:19:27desophosjust `event(body)` instead of `discard event(body)` worked
23:19:41Araqyep
23:23:50*Matthias247 quit (Read error: Connection reset by peer)
23:26:44*pregressive joined #nim
23:28:01*ulyssesdwolfe joined #nim
23:29:35*elrood quit (Quit: Leaving)
23:52:52*gokr quit (Quit: Leaving.)
23:57:52*xet7 quit (Quit: Leaving)
23:57:55*FroznP quit (Read error: Connection reset by peer)