00:15:32 | Araq | good 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:06 | Araq | ping fowl |
07:19:52 | fowl | hey |
07:20:16 | * | XAMPP quit (Quit: Leaving) |
07:21:16 | Araq | I'm curious whether my profiler is useful for games ... ;-) |
07:21:25 | Araq | please try it out |
07:29:12 | fowl | i will in a sec |
07:29:30 | Araq | well I hope it works and produces sensible values ;-) |
07:29:37 | Araq | I have to go now, see you tomorrow |
07:29:45 | fowl | cya |
07:39:06 | fowl | im not sure what this means, https://gist.github.com/3726840 |
07:39:22 | fowl | possibly i need to import nimprof on all my modules isntead of just the main one |
08:08:54 | * | q66 joined #nimrod |
08:34:25 | Araq | fowl: nope |
08:34:49 | Araq | and the results look reasonable to me |
08:35:25 | Araq | each entry is a *stack trace* |
08:35:45 | Araq | your program spends 19% of its running time in 'next' |
08:35:57 | Araq | coming from 'mainUpdate' |
08:36:03 | Araq | coming from 'keineSchweine' |
08:36:49 | Araq | and 2.6% in the GC ;-) |
08:39:03 | Araq | is it still playable with profiling turned on? |
08:39:50 | fowl | i didnt notice it |
08:40:19 | fowl | theres 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:40 | Araq | you can also turn on its realtime mode |
08:41:05 | Araq | but yeah, it's pretty slow in debug mode |
08:41:29 | fowl | now im getting this SIGSEGV: Illegal storage access. (Attempt to read from nil?) |
08:42:00 | fowl | offending line is result.data = newString(len) |
08:51:10 | Araq | yay ... |
08:51:34 | Araq | I can guess why |
08:52:48 | Araq | well not really. |
08:52:58 | Araq | I'll think about it, thanks for trying it out |
08:53:27 | Araq | I guess 'next' calls foreign code that does the bunch of the work? |
08:53:40 | fowl | Araq: i didnt have profiling on |
08:54:01 | Araq | oh ... |
08:54:55 | Araq | well I have to go, sorry |
08:55:39 | fowl | ok |
09:19:07 | fowl | i 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:28 | dom96 | Owner: 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:49 | fowl | good thing about nimrod is you can see how things work because the std lib isn't written in a different language |
12:21:13 | dom96 | indeed |
12:49:06 | dom96 | Araq: 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:38 | dom96 | perhaps a test for that would be nice |
12:49:45 | fowl | if i did a pull request that added some var type variants to sdl would that be coo |
12:50:18 | dom96 | Not sure what you mean by "var type variants". |
12:50:36 | fowl | ie pollEvent(event) instead of pollEvent(addr event) (you would generally make a dummy TEvent, and not have an allocated pointer for that) |
12:50:49 | dom96 | I see. |
12:51:16 | dom96 | Yeah, that would be nice. |
12:51:38 | dom96 | Would also be nice if you improve the graphics module. |
12:51:50 | dom96 | For example fix the drawLineAA function. |
12:55:09 | fowl | whoa |
12:55:15 | fowl | that thing is complicated |
12:55:27 | dom96 | yeah... |
12:55:33 | fowl | doesnt sdl_gfx do that? |
12:55:43 | dom96 | it does? ;o |
12:56:05 | fowl | it has some aaline* functions |
12:56:27 | dom96 | damn. I bet it does. |
12:56:50 | dom96 | Just alias that then :P |
12:56:55 | dom96 | if it works. |
12:57:11 | dom96 | The idea of graphics is to support multiple backends. |
12:57:41 | dom96 | hrm, I dunno. |
12:57:50 | dom96 | Maybe there is no point to even have that function anymore. |
12:58:09 | dom96 | Just leave it, i'll ask Araq about it. |
12:58:40 | fowl | how would you support multiple backends? i wrote my new server to run in sfml with --app:gui |
12:59:04 | fowl | im not sure how to do it without depending on defines |
12:59:09 | dom96 | compile-time define? |
12:59:33 | dom96 | You could always have an enum and then have object variants. |
12:59:50 | dom96 | But that would mean you would depend on multiple backends even if you use only one. |
13:00:46 | dom96 | I 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:46 | shevy | rking! why are you here! |
14:44:05 | shevy | See Araq all the rubyists come here |
14:44:07 | shevy | except Tasser |
14:45:13 | * | Boscop quit (Ping timeout: 260 seconds) |
14:53:15 | dom96 | shevy: reactormonk == Tasser :) |
14:53:27 | shevy | ohhhh |
14:53:35 | dom96 | Also when did rking get here? :O |
14:53:38 | shevy | what a strange change of nicks |
14:53:41 | shevy | I dunno! |
14:53:44 | shevy | he must have heard of the hype |
14:53:49 | dom96 | :D |
14:53:50 | shevy | perhaps 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:37 | rking | shevy: 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:25 | fowl | dom96: 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:53 | moxie | very nice tutorials |
19:12:03 | fowl | hi moxie |
20:03:23 | * | Trix[a]r_za is now known as Trixar_za |
23:11:47 | * | q66 quit (Quit: Quit) |
23:57:34 | Araq | hi moxie, welcome |