<<15-09-2012>>

00:15:32Araqgood night guys
02:22:07*Trixar_za is now known as Trix[a]r_za
05:33:49*fowl-siesta is now known as fowl
07:17:06Araqping fowl
07:19:52fowlhey
07:20:16*XAMPP quit (Quit: Leaving)
07:21:16AraqI'm curious whether my profiler is useful for games ... ;-)
07:21:25Araqplease try it out
07:29:12fowli will in a sec
07:29:30Araqwell I hope it works and produces sensible values ;-)
07:29:37AraqI have to go now, see you tomorrow
07:29:45fowlcya
07:39:06fowlim not sure what this means, https://gist.github.com/3726840
07:39:22fowlpossibly i need to import nimprof on all my modules isntead of just the main one
08:08:54*q66 joined #nimrod
08:34:25Araqfowl: nope
08:34:49Araqand the results look reasonable to me
08:35:25Araqeach entry is a *stack trace*
08:35:45Araqyour program spends 19% of its running time in 'next'
08:35:57Araqcoming from 'mainUpdate'
08:36:03Araqcoming from 'keineSchweine'
08:36:49Araqand 2.6% in the GC ;-)
08:39:03Araqis it still playable with profiling turned on?
08:39:50fowli didnt notice it
08:40:19fowltheres a slight lag when gc hits and its compiled in debug mode but i dont feel the gc at all when its compiled for release
08:40:40Araqyou can also turn on its realtime mode
08:41:05Araqbut yeah, it's pretty slow in debug mode
08:41:29fowlnow im getting this SIGSEGV: Illegal storage access. (Attempt to read from nil?)
08:42:00fowloffending line is result.data = newString(len)
08:51:10Araqyay ...
08:51:34AraqI can guess why
08:52:48Araqwell not really.
08:52:58AraqI'll think about it, thanks for trying it out
08:53:27AraqI guess 'next' calls foreign code that does the bunch of the work?
08:53:40fowlAraq: i didnt have profiling on
08:54:01Araqoh ...
08:54:55Araqwell I have to go, sorry
08:55:39fowlok
09:19:07fowli can only get it to crash half the time -_-
09:49:55*apriori| joined #nimrod
09:53:08*q66 quit (Read error: Connection reset by peer)
09:53:58*q66 joined #nimrod
12:18:28dom96Owner: As far as I know there is no WebSockets library, there is only a sockets module. I believe WebSockets works over http however so you could probably write your own easily because we already have a httpclient and httpserver module.
12:20:49fowlgood thing about nimrod is you can see how things work because the std lib isn't written in a different language
12:21:13dom96indeed
12:49:06dom96Araq: Before we release we should make sure everything in the stdlib compiles with taint mode on :)
12:49:20*dom96 has a feeling most modules don't
12:49:38dom96perhaps a test for that would be nice
12:49:45fowlif i did a pull request that added some var type variants to sdl would that be coo
12:50:18dom96Not sure what you mean by "var type variants".
12:50:36fowlie pollEvent(event) instead of pollEvent(addr event) (you would generally make a dummy TEvent, and not have an allocated pointer for that)
12:50:49dom96I see.
12:51:16dom96Yeah, that would be nice.
12:51:38dom96Would also be nice if you improve the graphics module.
12:51:50dom96For example fix the drawLineAA function.
12:55:09fowlwhoa
12:55:15fowlthat thing is complicated
12:55:27dom96yeah...
12:55:33fowldoesnt sdl_gfx do that?
12:55:43dom96it does? ;o
12:56:05fowlit has some aaline* functions
12:56:27dom96damn. I bet it does.
12:56:50dom96Just alias that then :P
12:56:55dom96if it works.
12:57:11dom96The idea of graphics is to support multiple backends.
12:57:41dom96hrm, I dunno.
12:57:50dom96Maybe there is no point to even have that function anymore.
12:58:09dom96Just leave it, i'll ask Araq about it.
12:58:40fowlhow would you support multiple backends? i wrote my new server to run in sfml with --app:gui
12:59:04fowlim not sure how to do it without depending on defines
12:59:09dom96compile-time define?
12:59:33dom96You could always have an enum and then have object variants.
12:59:50dom96But that would mean you would depend on multiple backends even if you use only one.
13:00:46dom96I don't think there are any other ways to do it.
14:31:14*Boscop quit (Disconnected by services)
14:31:17*Boscop joined #nimrod
14:43:36*shevy joined #nimrod
14:43:46shevyrking! why are you here!
14:44:05shevySee Araq all the rubyists come here
14:44:07shevyexcept Tasser
14:45:13*Boscop quit (Ping timeout: 260 seconds)
14:53:15dom96shevy: reactormonk == Tasser :)
14:53:27shevyohhhh
14:53:35dom96Also when did rking get here? :O
14:53:38shevywhat a strange change of nicks
14:53:41shevyI dunno!
14:53:44shevyhe must have heard of the hype
14:53:49dom96:D
14:53:50shevyperhaps fowl pulled him in
15:31:30*Boscop joined #nimrod
15:41:19*Trix[a]r_za is now known as Trixar_za
16:20:37rkingshevy: Yep, I'm a fowlower.
16:29:52*Trixar_za is now known as Trix[a]r_za
16:38:45*shevy quit (Ping timeout: 248 seconds)
16:43:40*Owner quit (Remote host closed the connection)
16:44:29*Owner joined #nimrod
16:51:32*shevy joined #nimrod
16:53:14*apriori| quit (Quit: Konversation terminated!)
17:16:25fowldom96: check this out http://yow.eventer.com/YOW-2011-1004/Temporally-Quaquaversal-Virtual-Nanomachine-by-Damian-Conway-1028
17:26:19*XAMPP joined #nimrod
19:03:16*moxie joined #nimrod
19:10:53moxievery nice tutorials
19:12:03fowlhi moxie
20:03:23*Trix[a]r_za is now known as Trixar_za
23:11:47*q66 quit (Quit: Quit)
23:57:34Araqhi moxie, welcome