00:49:38 | * | XAMPP quit (Ping timeout: 246 seconds) |
06:39:25 | fowl | is there a way to coerce a traced ref into a generic ptr |
06:43:01 | * | zahary quit (Ping timeout: 260 seconds) |
08:17:09 | * | zahary joined #nimrod |
08:56:20 | * | Araq_ joined #nimrod |
08:56:55 | Araq_ | fowl, you can 'cast' it |
08:57:20 | fowl | i ended up storing addr result[] and cast[ptr TLiveBullet](..) |
09:11:57 | fowl | Araq_: casting to the ref type works too >_> |
09:12:17 | Araq_ | don't do that :P |
09:12:31 | Araq_ | store it as a 'ptr' |
09:29:28 | fowl | what do you mean |
09:34:04 | fowl | these all have the same address https://gist.github.com/cd3682ba8b553885adeb |
09:34:19 | Araq_ | well casting from ref to ptr is "safe", casting from ptr to ref is not |
09:34:42 | Araq_ | it doesn't matter if they have the same address or not |
09:35:01 | Araq_ | 'ref' may make the compiler generate a write barrier |
09:35:29 | Araq_ | which is likely to be wrong and causes segfaults |
09:36:45 | fowl | hm |
11:08:57 | fowl | bah |
11:09:10 | fowl | *** glibc detected *** ./keineschweine: double free or corruption |
11:15:17 | Araq_ | :P |
11:37:42 | fowl | Araq: it seems that the animations are being freed more than the bullets are |
11:39:22 | fowl | nvm its fine if i dont explicitly free them |
11:44:47 | Araq_ | well I dunno, do you use SDL? |
11:44:58 | Araq_ | an SDL PSurface is GC'ed iiirc |
11:45:29 | Araq_ | but anyway, nimrod doesn't use glibc's malloc |
11:51:02 | fowl | no, sfml |
11:51:10 | fowl | the animation is a ref though |
11:54:06 | Araq_ | er ... |
11:54:19 | Araq_ | seriously, you free a 'ref'? |
11:56:09 | Araq_ | you should never do that |
12:10:53 | * | XAMPP joined #nimrod |
12:12:15 | fowl | today i learnt |
12:12:25 | fowl | >_- |
12:35:55 | * | Amrykid quit (Ping timeout: 272 seconds) |
12:37:17 | * | Amrykid joined #nimrod |
12:43:14 | * | q66 joined #nimrod |
13:30:27 | * | Araq_ quit (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347]) |
14:04:29 | * | zahary quit (Ping timeout: 260 seconds) |
14:07:12 | * | zahary joined #nimrod |
14:53:37 | * | zahary quit (Quit: Leaving.) |
14:55:28 | * | zahary joined #nimrod |
15:13:40 | dom96 | hello |
15:15:54 | reactormonk | morning |
15:16:43 | dom96 | afternoon :D |
15:16:54 | reactormonk | 10 is morning |
15:17:17 | dom96 | 16 is afternoon :P |
15:18:28 | reactormonk | 10 is eating time |
15:19:02 | dom96 | 16 is back from school time |
15:19:11 | fowl | ello |
15:19:17 | dom96 | hey fowl :) |
15:28:19 | dom96 | fowl: How's the game going? |
15:29:37 | fowl | good |
15:30:27 | fowl | i got a friend interested in it, he should be coming in whenever his internet gets turned on |
15:30:50 | dom96 | cool |
15:31:19 | fowl | how come the windows tests are so far behind? |
15:32:00 | dom96 | The windows tester is offline |
15:32:06 | dom96 | Because it's way too slow. |
15:32:17 | fowl | o |
15:34:07 | fowl | i tried to set up a windows 7 vm to test compile but it wouldnt boot up |
15:35:08 | dom96 | I wish I could run a Win 7 VM in a Linux VPS |
15:35:26 | dom96 | I'm not sure that is possible though |
15:35:44 | dom96 | And it would require way too much memory anyway |
15:36:15 | fowl | what version do you use to test |
15:36:41 | fowl | this laptop has 8gb memory :D |
15:37:45 | dom96 | zahary set up a Windows server on Amazon's thingy. |
15:38:08 | dom96 | Your laptop is definitely better |
15:38:21 | dom96 | But it wouldn't be on 24/7 would it? :P |
15:38:52 | fowl | yeah, usually lol |
15:40:51 | dom96 | Give me remote desktop to it then and i'll set it up :P |
15:43:11 | reactormonk | fowl: that's one heavy thing of a laptop |
15:44:00 | fowl | it is heavy, its comparable to an original xbox :/ |
15:44:28 | fowl | dom96: i think its bad cd's im downloading or something, theres no reason win7 shouldnt work in virtual box |
15:46:47 | reactormonk | dom96: I think I can get one from MSDNAA ;-) |
15:47:21 | dom96 | reactormonk: Win 7 or a windows server? :O |
15:47:36 | dom96 | fowl: Just grab a copy from TPB :P |
15:47:46 | reactormonk | dom96: probably both |
15:48:57 | dom96 | Also by "Windows Server" I mean, both hardware and software :P |
15:49:32 | dom96 | If you could get that, that would be great :D |
15:49:51 | reactormonk | software only... hardware, I gotta ask |
15:50:30 | * | Trix[a]r_za is now known as Trixar_za |
15:51:15 | dom96 | reactormonk: How come you can get this stuff for free? |
15:51:59 | fowl | he secretly lives in the boiler room at their redwood office |
15:52:07 | dom96 | hah |
15:53:25 | reactormonk | dom96: MSDNAA |
15:53:34 | reactormonk | hardware - gotta ask around |
15:54:09 | dom96 | I just read MSDN |
15:55:43 | dom96 | reactormonk: please do |
15:56:00 | reactormonk | atm I'm trying to find my briefcase :-/ |
15:56:55 | reactormonk | ehh wallet |
16:00:33 | dom96 | ok |
16:05:14 | * | Boscop joined #nimrod |
16:19:06 | dom96 | argh, I have so many cool ideas for Nimbuild but I don't have enough time to implement them! |
16:21:46 | * | Trixar_za is now known as Trix[a]r_za |
16:42:31 | shevy | dom96 hah I know how that feels |
16:43:00 | dom96 | oh hi there shevy :) |
16:45:39 | shevy | I am trying to continue with things like |
16:45:47 | shevy | "create a working .dpkg archive file" |
16:45:54 | shevy | but it is so boring that I just can't continue |
16:46:25 | dom96 | yeah, I hate when you stop working at the point where you have boring stuff next |
16:46:37 | dom96 | and then you can't get back to it because it feels so boring :( |
16:46:51 | dom96 | I have the same problem with games as well lol |
16:47:38 | shevy | hehe |
16:47:42 | shevy | I am rewriting a project right now |
16:52:58 | * | shevy quit (Ping timeout: 268 seconds) |
17:01:06 | fowl | bullets (somewhat) :D http://i.imgur.com/vHZ59.gif |
17:01:35 | dom96 | lol |
17:01:42 | dom96 | They don't fly very far |
17:02:16 | fowl | yea i can add more velocity once i make them not collide with my ship |
17:05:13 | * | shevy joined #nimrod |
17:06:48 | fowl | i always forget how to do that |
19:30:40 | reactormonk | Araq: I assume there's no chance of getting a regex for numbers - they seem way more complicated according to the lexer |
19:31:08 | reactormonk | dom96: where do you take the regexes for syntax hl from? |
19:31:40 | dom96 | reactormonk: For the GtkSourceView? Most of them have been written by Araq. |
19:32:04 | reactormonk | dom96: I just took a look at nimrod-mode |
19:32:27 | reactormonk | dom96: well, where to look for them? Then I can extract them for greater good |
19:32:56 | dom96 | https://github.com/nimrod-code/Aporia/blob/master/share/gtksourceview-2.0/language-specs/nimrod.lang |
19:34:10 | reactormonk | is this xml a standard of some kind? |
19:34:51 | dom96 | reactormonk: http://developer.gnome.org/gtksourceview/stable/lang-tutorial.html |
19:34:59 | dom96 | and http://developer.gnome.org/gtksourceview/stable/lang-reference.html |
19:35:35 | reactormonk | nice |
19:39:03 | dom96 | reactormonk: Should just use Aporia instead of emacs ;) |
19:43:11 | reactormonk | dom96: not enough vim on top :-) |
19:43:48 | Araq | does anybody use "find definition"? |
19:44:01 | Araq | does it work good enough finally? |
19:44:42 | dom96 | I forgot I added that feature to Aporia. |
19:44:45 | dom96 | Araq: Do you use it? |
19:45:00 | Araq | no ;-) |
19:45:33 | Araq | I spent most time thinking and adding 'echo' statements somewhere |
19:45:44 | Araq | aka "debugging" |
19:46:05 | reactormonk | Araq: how about applying for google summer of code? |
19:46:28 | Araq | how does that work? :-) |
19:46:40 | reactormonk | no idea |
19:46:46 | Araq | lol me neither |
19:50:05 | reactormonk | http://code.google.com/p/ccc-gistemp/wiki/GSoC2013Template |
20:06:46 | reactormonk | Araq: does this help? |
20:09:18 | Araq | not really :P |
20:09:33 | reactormonk | it basically says stuff will happen later |
20:10:08 | Araq | I don't need money anyway ;-) |
20:11:48 | Araq | unless it's so much I can stop working |
20:12:05 | reactormonk | well, you'd register as a mentor |
20:12:19 | reactormonk | it's basically free work for you ;-) |
20:13:47 | Araq | aha |
20:32:03 | Araq | ping zahary |
20:43:54 | * | Amrykid quit (Changing host) |
20:43:54 | * | Amrykid joined #nimrod |