<<08-08-2012>>

00:12:02*Trixar_za is now known as Trix[a]r_za
00:34:27*XAMPP joined #nimrod
01:22:42*mal``` quit (Quit: ERC Version 5.3 (IRC client for Emacs))
01:25:32*mal`` joined #nimrod
03:21:43*q66_ joined #nimrod
03:23:14*q66 quit (Ping timeout: 260 seconds)
06:42:57*XAMPP_ joined #nimrod
06:45:55*XAMPP quit (Ping timeout: 246 seconds)
08:29:00*XAMPP__ joined #nimrod
08:31:58*XAMPP_ quit (Ping timeout: 246 seconds)
08:49:31*q66_ quit (Read error: Connection reset by peer)
08:50:24*q66 joined #nimrod
10:55:49*Trix[a]r_za is now known as Trixar_za
11:17:22*Araq_ joined #nimrod
11:29:44*Araq_ quit (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347])
12:05:20*Trixar_za is now known as Trix[a]r_za
12:56:54*Araq_ joined #nimrod
12:58:03*Araq_ quit (Client Quit)
14:27:06*fowl quit (Ping timeout: 264 seconds)
15:23:43*XAMPP__ quit (Quit: Leaving)
15:44:17*shevy quit (Ping timeout: 252 seconds)
15:56:39*shevy joined #nimrod
16:27:47*XAMPP joined #nimrod
16:33:26*Boscop quit (*.net *.split)
16:33:29*Boscop joined #nimrod
16:38:18dom96hello
16:54:18Araqhi dom96
16:57:20dom96what's up?
16:57:33Araqtoo tired to work on anything :-/
16:58:19dom96:(
17:00:10dom96I felt really inspired to work on something... but now that I've sat down...
17:00:37Araqwell
17:00:48Araqwe should motivate each other
17:01:42dom96how?
17:01:51Araqdo some work!
17:02:15dom96lol
17:04:14dom96I have experienced JavaScripts stupid scoping rules (I think) at work today
17:04:23Araqlol
17:04:27dom96Not sure if that's what it's called.
17:05:04Araqyeah I think you used the proper term
17:05:04dom96It was capturing the iteration variable very weirdly in a closure.
17:05:29dom96I read something about `let` but it's apparently non-standard so I couldn't use it...
17:15:25dom96Wow: http://www.youtube.com/watch?v=pMas0tWc0sg
17:15:36dom96This Kim Dotcom thing is interesting
17:20:17Araqwill watch it later
17:31:02shevyyayaya
17:31:06shevythere goes your motivation eh
17:39:31dom96:(
17:44:59dom96Araq: Ok, i'm going to generalise asyncio
17:45:03dom96And add support for closures.
17:45:10Araqyay
17:45:21dom96Any tips on how I should do it?
17:45:42dom96What limitations of closures should I be aware of?
17:46:07AraqI think there are none ;-)
17:47:10dom96Good :P
17:52:53dom96I was looking at Delphi/Pascal examples today and the resemblance to Nimrod is quite apparent
17:53:31Araq;-) interesting
17:54:03dom96http://kd5col.info/swag/
17:55:08*Roin quit (*.net *.split)
17:58:01*Roin joined #nimrod
17:59:18dom96Araq: Any convention for er, well name for 'interfaces'?
17:59:34Araqcapital I
17:59:45dom96Alright :)
18:01:22dom96hrm, a closure is probably an expensive object.
18:01:52dom96hrm, I have a better idea :)
18:02:04Araqnot more expensive than any other 'ref object'
18:02:28Araqok, a bit more expensive
18:02:38*dom96 wonders what the best way of doing this is
18:02:45Araqbut the compiler doesn't optimize them yet
18:03:57dom96argh.
18:04:28Araqwhat?
18:04:44Araqbtw the best way to do it
18:05:10Araqis to remove the PObject parameter in the callbacks and be done with it ;-)
18:05:26Araqthis parameter is only a workaround for the lack of closures
18:05:37dom96I need an interface which will allow multiple select implementations
18:06:16dom96I'm not sure what the best way to identify them is. Because we want all socket objects to use the same select function.
18:06:29dom96But then files could probably use it too.
18:06:39dom96I was thinking identifying by type...
18:07:11*dom96 is really confused
18:07:16Araqyeah
18:07:33Araqwork on aporia instead
18:07:44Araqjumping to an error message does not work at all :P
18:08:03dom96ugh. I don't feel like working on aporia.
18:08:26Araqwell but this feature is essential
18:08:34Araqmaybe I'm doing it wrong?
18:08:40Araqhow is it supposed to work?
18:08:51dom96Are you talking about the error list?
18:11:05Araqyes
18:11:24Araqit says: "Could not find correct tab."
18:11:33Araqwhich is ridiculous
18:11:42Araqas it's the current tab
18:12:05dom96Check the Output of the compiler
18:12:14dom96If the error occurs in system.nim it won't find it
18:12:25dom96Because you do not give it the full path :P
18:12:38AraqI see
18:12:44Araqbut it's a warning message
18:12:53Araqand aporia parses it correctly
18:13:27Araqwell almost
18:13:36Araqit says it's a warning but it is a hint instead
18:13:40dom96I don't see how that makes a difference.
18:13:55dom96Yes, because the only type are currently warning and error
18:13:59dom96*types
18:17:26Araqno matter what I do
18:17:39Araqit says "could not find correct tab"
18:18:09dom96... well a little more info please?
18:18:22Araqcreate a file temp4.nim
18:18:30Araqtype 'echo "arg"'
18:18:36Araqcompile it
18:18:49Araqer
18:18:58Araqbetter write something that produces a hint
18:19:04Araqlike
18:19:09Araqproc unused() = nil
18:22:26AmrykidYOU HAVE INTERFACES NOW!?!?!?!
18:22:35Araqnah
18:22:45Araqyou can use a tuple of closures instead though
18:23:14Amrykid:(
18:24:22Amrykidoff-topic: http://octodex.github.com/adventure-cat/
18:26:02dom96er.
18:26:05dom96Why does: echo ("temp4.nim" in "/tmp/temp4.nim")
18:26:09dom96print false?
18:28:09Araqbecause you need to import strutils for it to work :P
18:28:19Araqotherwise it uses the openarray version
18:28:23Araqknown language issue
18:28:30Araqwill be fixed soon
18:29:09*dom96 sighs
18:51:37Araqyay
18:54:47shevyhehe
20:28:46*XAMPP quit (Ping timeout: 246 seconds)