Camelia, the Perl 6 bug

IRC log for #sdl, 2010-02-25

← Previous day | Index | Channel Index | Today | Next day → | Search | Google Search | Plain-Text | plain, newest first

All times shown according to UTC.

Time Nick Message
01:12 kthakore FROGGS: back
01:12 dorkfish howdy
01:12 kthakore dorkfish: hiya
01:12 dorkfish: new game we are making for CeBIT
01:17 dorkfish: wanna see?
01:59 dorkfish kthakore: sure
02:05 garu moo
02:05 dorkfish, http://gist.github.com/313833
02:07 kthakore++ # as usual
02:15 kthakore garu: dude my collision logic is messed up
02:15 NEED HAPL!
02:15 garu: here is an update where you can give it levels
02:16 garu: http://gist.github.com/313833
02:40 garu: ??
02:40 dude where are you?
02:45 dorkfish joined #sdl
02:46 kthakore dorkfish: hiya
02:46 dorkfish: updated http://gist.github.com/313833
02:48 dorkfish hi
02:53 garu heya
02:54 sorry, I was watching canada x russia =)
02:54 kthakore, it's looking really sharp
02:54 kthakore garu: lol
02:54 garu: I am stuck with some perl code
02:54 need HALP
02:55 garu speak, oh mighty overlord
02:55 kthakore when the wheel is 0 I can't detach
02:55 garu what's the problem
02:55 kthakore when the wheel is 0 I can't detach
02:55 garu k
02:55 kthakore http://gist.github.com/313833
02:55 see  subs iterate_step and check_mouse
02:55 garu k
02:55 dorkfish kthakore: how do you win the game?
02:56 garu dorkfish, you reach next level if you touch all barrels
02:57 kthakore dorkfish: you don't yet
02:57 dorkfish: YOU NEVER WIN!
02:57 MUAHAHHAHA
02:58 garu: the $ball->{wheel} is what I using to determine if it is detached or not
02:58 garu: also it keeps track of the wheel it left from in oldwheel
02:58 garu: that way it doesn't snap back on the wheel it is leaving
02:59 garu sounds good
02:59 kthakore but it ain't working on wheel 0
03:00 garu: try changing the wheel number on line 91
03:00 you will see what I mean
03:00 garu yeah, I see the ball's not going anywhere
03:00 kthakore, can we change it from mouse to keyboard?
03:01 like spacebar instead of mouse click?
03:01 using the mouse gives me the (wrong) impression that I can control movement
03:02 kthakore garu: ok
03:02 garu: but after you fix this stupid wheel!!
03:02 AGGHGH
03:02 work
03:03 garu hm?
03:03 heheh
03:03 kthakore, don't overuse the 'w' word here... it's fun :)
03:03 even when it doesn't work :P
03:04 kthakore maok
03:04 I should be making diagrams for the presentation
03:04 but this thing is bugging the shit outta me
03:05 garu kthakore, ok, I see several things needing update. I'm focusing on releasing the ball, k?
03:06 kthakore right from wheel 0
03:06 set line 91
03:06 to wheel 0
03:06 garu something happened
03:06 kthakore what?
03:07 garu is the starting wheel random? the release thing worked as soon as I activated the debug flag
03:07 k
03:08 I see wheel 0 not working
03:08 damn
03:09 kthakore crap I know what happenz
03:09 :(
03:09 sooooo ostupid
03:09 garu (and yes, starting wheel is random, I saw it)
03:09 kthakore see 452
03:09 garu what?
03:09 kthakore see 452
03:09 I am incrementing wheel number with $t
03:09 garu 452 is a blank line here =)
03:10 inside make_rand_particle
03:10 kthakore my $t = blah
03:10 that line
03:10 garu k
03:10 kthakore see how I increment $t
03:10 it is wrong
03:11 garu where? $t += $dt?
03:11 kthakore woorks now
03:11 no
03:11 putting it up
03:11 garu $t = 0 if $t = -1
03:11 k
03:11 tell me when to pull
03:11 :)
03:14 kthakore, hurry =)
03:14 kthakore ok
03:14 ok
03:15 garu: done!
03:15 see it now
03:16 I guess what we can do is color a circle black once you leave it
03:16 garu: if you land on it again you die
03:16 garu: you have to get all circles to win?
03:16 levels are eazy to make see line 74
03:17 garu kthakore, yeah, I saw it
03:19 kthakore, I'm thinking we could make it a hash of arrrayrefs so we could insert different elements (like your black-wheels, bomb-wheels, idle wheels, etc)
03:19 better yet, turn wheels into objects
03:20 and insert them at our will
03:20 what do you think?
03:20 hahaha I loved the new layout
03:21 if we make each wheel into an object, they can have different colors, speed, direction
03:22 kthakore garu: feel free to do that
03:22 !
03:22 I was thinking
03:22 180 wheel
03:22 garu cool
03:22 I like it
03:22 kthakore the ball moves in only two direction
03:22 isowheel
03:22 3 points
03:22 so on
03:22 an you can pick up powers to change a wheel
03:22 garu yeah
03:23 kthakore, sounds like you really got the spirit of things :)
03:31 kthakore hehe ok
03:31 garu: now you make it
03:32 garu :P
03:33 kthakore crap the line is not working :(
03:34 can do trig drunk
03:34 can't
03:35 garu: http://gist.github.com/313833 line 425
03:35 garu: figure out the trig
03:35 and see ya I have to do the presentation
03:36 garu cya
03:37 kthakore garu: feel free to refactor the names and add comments
03:37 particles is not right
03:38 garu: I can add the blur for the ball after
03:38 garu k
03:40 kthakore, can you give me push rights?
03:41 I fixed the controls, now they use the spacebar rather than the mouse
03:49 kthakore garu: just click edit on the page
03:49 and change the lines
03:50 http://gist.github.com/313833
03:52 .ok I am going to sleep
03:52 garu: ping.
03:54 garu bah
03:54 I'm doing git clone on it
03:54 but ok
03:55 kthakore ok
03:55 damn I got the line so cloes
03:59 garu kthakore, you're calling the spinning wheels "particles", right?
04:01 kthakore garu: yeah
04:02 garu k
04:02 let me try and objectify each of them
04:02 kthakore, think it's a good idea?
04:03 kthakore garu: yeah hold on I fixed the line
04:03 just check that and change
04:03 garu k
04:04 kthakore garu: there
04:04 ok see if it looks ok?
04:04 ok ish..
04:04 it jitters a little when it switch quadrants
04:05 garu unless I'm doing something really stupid, gists really suck to work collaboratively with
04:05 git doesn't let me merge your spinner to my local version
04:06 kthakore garu: yes it does
04:06 garu: ok make a git repo
04:06 and move it on there I guess
04:06 garu then wtf am I doing wrong?
04:06 ok
04:06 hang on
04:13 dorkfish joined #sdl
04:13 garu http://github.com/garu/Spinner
04:13 kthakore, ^
04:13 kthakore, doesn't have your latest change, though
04:14 but I figured you're better with merges than I am :)
04:14 kthakore, you have push rights, btw
04:15 kthakore ok
04:18 garu: You can't push to git://github.com/garu/Spinner.git
04:18 garu: I don;t have rights
04:20 garu weird, I gave them to you
04:20 let me double check
04:21 kthakore garu: works now
04:21 garu: github lag
04:22 garu :)
04:22 kthakore all View subs have draw on them
04:22 init_ stuff make assets
04:23 garu: and others are calculators or event handlers
04:28 garu cool
04:29 kthakore garu: I am adding escape quit
04:29 and f toggle fullscreen
04:29 ok?
04:29 garu sounds good
04:30 kthakore garu: it is up
04:30 garu: now make it perly
04:30 and installable so we can show it to CeBIT
04:31 garu will do
04:31 (or, try, rather :)
04:31 kthakore, where's this competition url?
04:31 kthakore competition?
04:32 it is an event
04:32 garu but you said we're showing it off
04:32 kthakore garu: ask szabgab. He wanted to show SDL-perl games
04:32 garu aaaah
04:32 I remember now
04:32 when is it
04:32 kthakore garu: I want more perl game mindshare
04:32 garu agreed
04:32 when is it?
04:32 kthakore in a week
04:33 we need a module of spinner, shooter and tetris? by monday
04:33 garu not *this* weekend, is it?
04:33 kthakore no
04:33 garu heh
04:33 kthakore next
04:33 garu k
04:33 kthakore 3 games should be good enough
04:33 garu I thought tetris was done already
04:34 kthakore it is
04:34 jus need to show it
04:34 garu: it is last resort ;)
04:34 garu roger roger
04:58 kthakore garu: can you look at my presentation please?
04:59 garu sure
04:59 kthakore that is for 30 -45 mins
04:59 I don't have time for images
04:59 garu send it already?
04:59 kthakore it is on google docs
04:59 you are shared
04:59 garu k
05:04 yay! you used the Hero =)
05:04 kthakore hehe
05:05 yeah at least one image ya know?
05:06 garu heh
05:06 kthakore, you should mention SDL_Net on slide #5 no?
05:09 kthakore, also, small typo on slide #12: should be "don't ask", not "done ask"
05:10 kthakore, maybe you should also mention the current projects for the upper layer, like C:U, SDLx::Rect, and the "easy games, easy. complex games, possible"
05:10 * garu likes that motto
05:10 garu :)
05:10 kthakore ok
05:11 SDL_net not sure if we are goin to support it
05:11 garu other than that, it looks great
05:11 kthakore I mean perl does network
05:11 garu ah, leave it away then
05:11 =)
05:12 kthakore, I bookmarked that PodSixNet url, might play with a Perl equivalent in the near future
05:12 kthakore cool
05:12 garu kthakore, one artistic note... maybe you should build that last "Thank You" with tetris bricks =P
05:12 kthakore garu: no ...
05:12 I am tired man
05:12 garu hehe.. just sayin
05:13 go sleep then
05:13 kthakore will do that soon
05:13 garu presentation's fine
05:13 kthakore getting all the files in place
05:21 all done!
05:22 garu: no more spiner ?
05:22 oh well going to sleep any way
05:22 garu kthakore, still working on it
05:22 it's 2am, I'm a little slow =)
05:23 kthakore oh crap
05:23 I just forgot to make copies of SDL_source files
05:23 ....
05:23 ok doing that now
05:24 garu: I am never going to sleep :|
05:24 garu: 5 hrs total it the last few days
05:24 ok f this
05:24 I am crashing
05:25 garu g'night!
05:25 dorkfish haha night
05:25 kthakore dorkfish: see ya
05:25 dorkfish: I like how you always haha me
05:25 no matter what
05:25 dorkfish: you will go far in this chan
05:25 ;)
05:25 dorkfish :)
05:26 kthakore good luck with repl
05:26 dorkfish ty
06:42 dorkfish joined #sdl
07:36 dorkfish joined #sdl
08:31 dorkfish joined #sdl
08:48 waxhead joined #sdl
10:34 Apocalypse kthakore: This error is crap :)
10:37 shadowpaste "Apocalypse" at 217.168.150.38 pasted "SDL My::Builder blows up on old Alien::SDL" (14 lines) at http://paste.scsys.co.uk/39806
10:42 Apocalypse And, after updating Alien::SDL I get more crap :(
10:42 WARNING: Possible missing or corrupt 'MANIFEST' file.
10:42 Nothing to enter for 'provides' field in metafile.
10:42 Creating new 'Build' script for 'SDL' version '2.3_6'
10:42 apoc@blackhole:~/kthakore-SDL_perl-96c2de7$
10:43 I assume it's just because you auto-generate MANIFEST on "Build dist" time so no worries about that...
10:45 On this ubuntu 64bit box, I get this: lib/SDL/Time.xs: In function ‘XS_SDL__Time_remove_timer’:      lib/SDL/Time.xs:68: warning: cast to pointer from integer of different size
10:51 Finally, spinner.pl executes just fine! :)
10:51 kthakore++
10:51 Now, bedtime for me hah
11:25 daxim joined #sdl
11:26 daxim I tried the core.t test again with a refreshed "redesign" branch
11:26 core.t line 48 must be       skip 'perl compiled with -DPERL_USE_SAFE_PUTENV', 2 if $Config{'config_args'} =~ /PERL_USE_SAFE_PUTENV/;
11:26 in the original, the order of arguments to skip() is wrong;  and PUTENV is spelled wrong
11:52 kthakore daxim: oh great!
11:53 thanks
11:54 Apocalypse: thanks man
11:55 CIA-1 SDL_perl: 03Kartik Thakore 07redesign * rabb27d6 10/ t/core.t : Fixed real stupid typo - http://bit.ly/8XPRzm
12:11 FROGGS joined #sdl
12:12 FROGGS hi there
12:12 kthakore FROGGS: dude
12:12 FROGGS hmm?
12:12 kthakore you have to see shooter
12:12 err spinner
12:13 http://github.com/garu/Spinner
12:13 FROGGS: ^^
12:18 FROGGS awesome!
12:18 kthakore++
12:18 garu++
12:18 !!
12:26 kthakore FROGGS now he has to make levels for playing
12:26 and count if each wheel is visited
12:26 and show the time
12:27 simple game 2
12:28 FROGGS you can put chars in the big balls and if the players collects all (for a word) he gets to next level
12:28 right direction => more points
12:28 kthakore oooh
12:28 garu: ^^ listen to this guy
12:28 FROGGS: add it too the design doc
12:29 FROGGS i have no write access, do i?
12:29 kthakore FROGGS: you can hack on it if you want, unless if the docs are a lot of fun
12:29 FROGGS: yeah
12:29 FROGGS: go ahead
12:29 FROGGS: we have to get a good enough version by Monday
12:29 FROGGS i'll wanna finish mixer first, okay?
12:29 k
12:29 kthakore szabgab: ^^ ? Right that is ok>
12:29 FROGGS: ok yay!
12:34 k gtg
12:34 FROGGS kk
12:34 good luck today
13:16 ruoso joined #sdl
13:19 shadowpaste "daxim" at 217.168.150.38 pasted "backtrace for crash in perl -Mblib t/gfx_primitives.t" (195 lines) at http://paste.scsys.co.uk/39809
13:20 daxim ping FROGGS, is it helpful?
13:25 FROGGS hi daxim... we'll see
13:25 i dont have a clue, i'm reading the SDL_gfxPrimitives.c
13:34 daxim: its weird, the proper working trigon function are using internally also the polygon functions
13:35 it has to be the SDL::Video::load_BMP()
13:37 daxim: do you checked this with kthakore?
13:37 daxim check how now?
13:37 FROGGS to comment out this and 2 other lines in this test script?
13:37 can you edit the t/gfx_primitives.c
13:38 and comment out the line 254, 263 and 266
13:38 daxim alright
13:42 no, that did not help
13:42 the crash occurs in any of the polygon tests from lines 256-266
13:43 FROGGS then please comment all these test out
13:43 if this works we comment in one by one
13:44 daxim enabled line 256 again and it crashes there
13:45 FROGGS did it worked before?
13:45 daxim for me never
13:46 FROGGS then, as i said, disable line 256-271
13:46 the result has to be a FAIL but it shouldnt crash
13:46 daxim yes
13:47 I already said I could isolate the crash to the line 256-266
13:47 any of those evokes the crash
13:48 FROGGS thats weird because 269-271 also does polygon drawing stuff
13:48 daxim they work just fine
13:49 FROGGS so am i right, if you comment out 256-266 you see the gfx in the window?
13:50 daxim yes
13:50 FROGGS okay, good
14:02 kthakore FROGGS: hey
14:02 FROGGS kthakore: hey
14:02 kthakore FROGGS: try making a new $display there
14:03 FROGGS why that?
14:04 kthakore FROGGS: becuase the backtrace shows a problem with perl not SDL_gfx
14:04 FROGGS ohh, okay
14:04 kthakore FROGGS: so I wanna put it in a new window there and see if the location in the script is causing the fail
14:05 FROGGS: so do SDL::quit() then $display = same window as before
14:05 FROGGS kk
14:05 kthakore if so we have a perl mem problem
14:05 normally we don't write this fast to a video device
14:08 wait ... the GC is removing something there
14:08 why>
14:08 why?
14:08 refCNT is messed for something
14:08 ....
14:09 FROGGS where do you see this?
14:10 kthakore in the backtrace
14:10 we see perl calling realloc
14:10 so an array was expanded
14:10 FROGGS this ^^ ?
14:10 kthakore yeah
14:10 FROGGS ; /lib64/libc.so.6(realloc+0xf9)[0x7ffff6e32b49]
14:10 kthakore #5
14:10 yeah
14:11 when that happens an array was resized
14:11 see perl_sv_grow
14:11 FROGGS yes, i see
14:11 kthakore which was called in Test::More
14:11 ARG!
14:12 the!
14:12 namelen on that array
14:12 is tooo big
14:12 crap
14:13 FROGGS: we are doing too many heavy tests
14:13 FROGGS thats why olny the tests are failing, not the drawing afterwards
14:13 kthakore in gfx
14:13 right
14:13 FROGGS okay, so we split it up
14:13 kthakore FROGGS: right
14:13 but this is a bug
14:13 daxim commit something, I'll test it later this evening (european time)
14:13 kthakore in Test::More
14:13 daxim: np
14:14 daxim: thanks fior the backtrrace
14:14 FROGGS: btw it is HV
14:14 in Test::More
14:14 I will send this too Andy
14:14 FROGGS i'm looking
14:14 kthakore he can look at this crap
14:15 FROGGS: ok I hae to work today
14:15 FROGGS kk
14:15 kthakore have been skimping in the last few days
14:16 FROGGS ohhh, then hurry up ;o)
14:16 kthakore FROGGS: split it up and have daxim test it
14:16 FROGGS i'll do
14:16 kthakore thanks man
14:17 FROGGS np np
14:17 kthakore we have to learn how to do backtraces
14:17 daxim: dude how do I do backtraces
14:17 FROGGS right...
14:17 kthakore oh well not now
14:17 gotta go
14:17 ;)
14:17 FROGGS kk, bye ;o)
14:18 daxim have gdb run perl, not prove (because test::harness forks)
14:18 gdb --args perl t/something
14:18 when it has crashed, type   bt full
14:18 in the gdb prompt
14:18 gdb --args perl -Mblib t/something
14:26 CIA-1 SDL_perl: 03Tobias Leich 07redesign * r2994b15 10/ (t/gfx_primitives.t t/gfx_primitives2.t): splitted up to two test files, otherwise Test::More crashes - http://bit.ly/a2zIHt
14:27 FROGGS daxim: there it is
14:38 shadowpaste "daxim" at 217.168.150.38 pasted "two crashes t/gfx_primitives.t t/gfx_primitives2.t" (306 lines) at http://paste.scsys.co.uk/39814
14:39 daxim it's different than before
14:45 kthakore FROGGS: have ruoso look at the first one
14:45 FROGGS k
14:45 kthakore FROGGS: the second one need more digging
14:45 FROGGS: he wrote that code part
14:45 ruoso: ping ^^
14:45 FROGGS: lol
14:46 change free(pointers) to free(pointer[1]);
14:46 FROGGS: ^^
14:46 surface is already freed
14:46 lol
14:46 FROGGS free(pointers[1]) <--- right? (with "s")
14:48 CIA-1 SDL_perl: 03Kartik Thakore 07redesign * r64dcf43 10/ src/Core/objects/Surface.xs : lol ... we need to be careful - http://bit.ly/d6E3Hn
14:48 kthakore yeah
14:48 FROGGS: done
14:49 FROGGS but i think you have a typo, it should be "pointers" not "pointer"
14:50 kthakore oh shit
14:50 daxim you need to be more careful! :p
14:50 CIA-1 SDL_perl: 03Kartik Thakore 07redesign * rbe7ab6f 10/ src/Core/objects/Surface.xs : oops - http://bit.ly/9rZHpY
14:50 kthakore daxim: yeah
14:50 I ddo
14:51 daxim: my ssh connection east words
14:51 eats
14:51 characters
14:52 * daxim recompiles
14:52 * FROGGS too
14:53 kthakore daxim: it seems your malloc is built with strict for libc
14:53 what os (freebsd ?)
14:53 daxim oooh, that is bad, panic: free from wrong pool all over the place now
14:53 kthakore crap
14:53 :(
14:54 daxim > uname -a
14:54 Linux galahad 2.6.31.12-0.1-default #1 SMP 2010-01-27 08:20:11 +0100 x86_64 x86_64 x86_64 GNU/Linux
14:54 kthakore man your os is super strict
14:54 no hanky panky
14:55 but it is right
14:55 daxim > cat /etc/*release*
14:55 openSUSE 11.2 (x86_64)
14:55 kthakore ruoso: !!!!
14:55 daxim VERSION = 11.2
14:55 kthakore FROGGS: I am reverting back
14:55 ok?
14:56 FROGGS right, even i have fails now
14:56 * garu yawns
14:56 garu mornings
14:56 :)
14:57 CIA-1 SDL_perl: 03Kartik Thakore 07redesign * rc551dfb 10/ src/Core/objects/Surface.xs : Just lets use saferee - http://bit.ly/aNPHny
14:57 kthakore garu: hiya
14:57 FROGGS hi garu
14:57 kthakore daxim's fort knox of an os found a mem bug
14:57 garu ruoso, http://github.com/garu/Spinner
14:58 kthakore daxim: dude can you comment out +154
14:58 garu hi FROGGS! glad you liked it
14:58 kthakore daxim: and run just the first test
14:58 FROGGS ;o)
14:58 kthakore garu: I am thinking of making the wheels blobs
14:58 they stick out and grap the ball
14:58 garu (btw if anyone wants push rights to it, just let me know - you already can fork it if you prefer doing it like so)
14:58 kthakore garu: FROGGS will soonish
14:59 garu kthakore, that would be freaking awesome
14:59 I was going for a more electric theme
14:59 kthakore garu: but that is later ... after the rest of the game
14:59 garu: that is good too
14:59 garu: we can make the animation plugable
14:59 garu like, the ball and the wheel must touch each other
14:59 so it's easier to code
14:59 kthakore I want to make the animation smoother there
14:59 but we need a game fist
14:59 garu yup
15:00 kthakore garu: can you make it die (loss) if you go back on the same wheel
15:00 garu: and level +1 if we get al wheels
15:00 garu I like FROGGS' idea of numbered wheels, but I'm thinking a special kind of wheel that needs to be fetched in that particular order
15:01 kthakore, also
15:01 I kinda need a crash course on SDL::Colors =)
15:01 kthakore what do you need to know?
15:03 garu I want each wheel to have a given color (I need to know how to get to red, blue, etc) so we can darken (or better, lighten) them once they're touched
15:03 kthakore ah ok
15:04 daxim kthakore, from t/gfx_primitives.t:  Freed surface f8eb90 and pixels 7320657720657241
15:04 garu kthakore, you don't like it?
15:04 kthakore daxim: that is worng .... pixels should be 0
15:04 garu: yeah that is fine
15:04 FROGGS: can you check your run?
15:04 garu: see init_particle_surf
15:04 FROGGS kthakore: now i'm in a conflict and try to resolv it
15:05 kthakore FROGGS: ok
15:05 FROGGS: sorry
15:05 garu I want to do that right after I turn the whole ball into an object. then I'll do a map class
15:05 kthakore, it's init_surface() now btw =)
15:05 daxim git reset --hard origin/redesign
15:05 git pull
15:05 FROGGS thanks!
15:06 i didnt specify the branch
15:06 kthakore garu: we call it before the whole game so we don't remake the surfaceeach time
15:06 garu: you can change it so the wheel surface is remade each time the ball touch it
15:06 FROGGS garu: may i help you with colors?
15:07 kthakore garu: in collision call $wheel->{surf} = init_surface
15:07 garu FROGGS, please do
15:07 :)
15:07 FROGGS where do you draw the circles? which line?
15:07 garu kthakore, I see
15:08 kthakore garu: you will have to keep track of old colors
15:08 garu FROGGS, 374 I think
15:08 under init_surface
15:08 kthakore, why?
15:08 kthakore garu: to change them
15:09 more lighter so on
15:09 or just change alpha
15:09 garu 'k
15:09 kthakore ligther = ++ to $r $b $g
15:09 transparent = ++ $alpha
15:09 FROGGS and if the whole color is hex, then its 0xRRGGBBAA
15:09 red gren blue alpha
15:10 so 0xFF0000FF is full painted red
15:10 kthakore FROGGS: I construct that in rand_colro
15:10 color
15:10 garu FROGGS, I see rand_color(), SDL::Color->new(), SDL::Video::set_color_key
15:10 kthakore garu: right
15:10 daxim: sorry man
15:10 FROGGS and 0xFF000080 is half transparent red
15:10 kthakore FROGGS: can you comment out 154 in Surface.xs and run the first primitives test?
15:10 I need the value of pixels
15:10 FROGGS: for daxim
15:10 FROGGS k
15:11 it is working
15:11 garu hey!
15:12 kthakore garu: what?
15:12 garu kthakore gave me an idea
15:12 since we can't actually make it look good without stealing a lot of time from FROGGS (or other talented person around here), how about we animate it through colors?
15:13 like make each circle "breathe"
15:13 FROGGS like the old cool games ;o)
15:13 garu by making it brighten up, then darken, then brighten again
15:13 kthakore garu: sure what ever
15:13 go crazy
15:14 garu FROGGS, you know kthakore doesn't like something when he goes 'whatever' on you =)
15:14 kthakore FROGGS: I need that pixel number dood
15:14 garu: hippie
15:14 garu hahah
15:14 kthakore, "done-by-monday" requires such compromises :)
15:14 bricas kthakore: any response back about that document i helped with? :)
15:14 FROGGS C:\SDL_perl>Build test --test_files t\gfx_primitives.t
15:14 t\gfx_primitives.t .. 3/? Freed surface cb5398 and pixels 74732065
15:14 t\gfx_primitives.t .. ok
15:14 kthakore garu: I still think you should get the game playable before fidling with colors
15:14 garu kthakore, ok
15:15 kthakore bricas: yeah! I GOT IT!
15:15 bricas woot.
15:15 way to go.
15:15 kthakore bricas: all thanks to your cunning linguist ckils
15:15 bricas: hehe
15:15 FROGGS: crap ...
15:16 bricas :P
15:16 FROGGS ?
15:16 kthakore FROGGS: I am getting pixels 0, daxim and you are getting pixel values
15:17 FROGGS: we really need ruoso's help
15:17 FROGGS: I don't have much time today
15:18 garu: game first then colors
15:18 bricas: you are ok no orders for you
15:18 ;)
15:18 daxim: bug ruoso!!! Get that sucker here
15:18 k gtg
15:18 daxim nah, your responsibility, mr. project manager
15:18 kthakore daxim: damn you!!!
15:18 damn you to purgatory
15:19 garu FROGGS, k, I got the rand_color thing, I'll make the balls die. We'll animate once game is done
15:20 (like kthakore rightly put it)
15:20 FROGGS right ;o)
15:21 Ryan52 joined #sdl
16:26 garu now spinner.pl has both winning and losing conditions!
16:26 kthakore, FROGGS ^^
16:27 we gotta make edge case limits for wheel speeds
16:27 it can get too fast
16:27 now I gotta get back to work
16:28 have fun :)
16:28 FROGGS thx ;o)
16:40 kthakore garu: great
16:40 garu: I am making it so you just  restart the level
16:40 garu: instead of die
16:41 garu kthakore, awesome
16:42 kthakore, if you can make wheels have top speed, it'd also be great
16:42 sometimes it's so fast I can't even see the ball circling
16:42 I fiddled with the wheel speeds because the ball speed, when released, was too damn slow
16:43 and I was a little scared of breaking something if I changed your $dt's and ball->vx/vy
16:44 when I get back I'll finish objectifying the ball, and making a level package
16:45 kthakore garu: yeah maybe later
16:45 * garu & # work
16:58 * ruoso afraid of showing up...
17:05 kthakore ruoso: !!!!
17:08 ruoso: we are having some crashes with the pointer bag for sufrface
17:10 daxim can you add the line pointer[0] = NULL; after line 155
17:10 daxim: an then try gfx_primatives
17:10 daxim: or no
17:11 daxim: the line is pointers[0]
17:16 daxim Freed surface f8d580 and pixels 7720657241202d20
17:16 then crash
17:18 kthakore gdb stack?
17:21 daxim: also see if the crash goes away if you comment out the safefree(pointers)
17:22 shadowpaste "daxim" at 217.168.150.38 pasted "with pointers[0] = NULL;" (188 lines) at http://paste.scsys.co.uk/39831
17:25 "daxim" at 217.168.150.38 pasted "without safefree(pointers);" (186 lines) at http://paste.scsys.co.uk/39832
17:28 kthakore ok put safefree(pointers) before SDL_FreeSurface
17:29 daxim: and pointers[0] = NULL before that
17:32 daxim Program exited normally.  <-  :o
17:33 kthakore O M G
17:34 yay!
17:34 FROGGS: ^^^
17:34 order of free!!
17:34 FUCK YEAH
17:34 FROGGS cool!
17:35 CIA-1 SDL_perl: 03Kartik Thakore 07redesign * rfb8ef84 10/ src/Core/objects/Surface.xs : The order of free is very critical for Surface free SDL method - http://bit.ly/bQMfBW
17:36 FROGGS no errors/warnings on my system too!
17:36 kthakore daxim: can you run the whole test suite again?
17:36 daxim already running
17:37 it got panic: free from wrong pool again, but fewer than last time
17:37 kthakore shit...
17:37 phew
17:37 shadowpaste "daxim" at 217.168.150.38 pasted "prove -bf @ fb8ef84ca2774b03aca8d213719fc3a12824df2c" (213 lines) at http://paste.scsys.co.uk/39833
17:39 kthakore daxim: can you strip gfxprimitives1 of all test stuff
17:39 and run it?
17:39 then give me the backtrace?
17:39 FROGGS: wanna strip it for him and paste/
17:39 ?
17:41 FROGGS what do you mean exactly?
17:41 gfx_primitives.t looks good for me
17:41 #2 does something wrong
17:42 kthakore FROGGS: make a sperate script
17:42 calling the same gfx functions as in the test
17:43 but no TEst::More and stuff
17:43 FROGGS: it makes it eaiser to read
17:43 and debug
17:43 FROGGS ahh okay, understand
17:45 kthakore $work be right back
17:47 shadowpaste "FROGGS" at 217.168.150.38 pasted "gfx_primitives.pl - without Test::More" (245 lines) at http://paste.scsys.co.uk/39836
17:48 kthakore daxim: can you run that and backtrace?
17:49 daxim Freed surface caeb60 and pixels 0
17:49 gfx_primitives.t runs just fine
17:52 FROGGS i'll give you the second test, wait
17:52 kthakore ok
17:52 daxim: what version of test::more?
17:53 daxim newest
17:53 I have stripped stuff of ...2.t
17:53 FROGGS all tests?
17:54 shadowpaste "daxim" at 217.168.150.38 pasted "t/gfx_primitives2.t without test::more" (148 lines) at http://paste.scsys.co.uk/39838
17:57 kthakore FROGGS: why is there safefree at 643?
17:57 we can safefree like that anymore
17:59 we need to check the pointer[1] and GET_PERL_CONTEXT
17:59 s/can/ca't
17:59 FROGGS sry, i cant follow you
17:59 kthakore FROGGS: also
17:59 ok
17:59 from the start
17:59 see src/GFX/primitives.xs
18:00 FROGGS: ok line :643
18:00 _vx is comming form a SV
18:00 never ever free a perl internal
18:01 a lot of plumings gets crishesd
18:01 err ..
18:01 a lot of plumbing  gets crushed
18:01 we leave SV for teh garbage collector
18:01 FROGGS: ok?
18:02 FROGGS sure, wasnt my idea, i just copy&pasted it from somewhere else
18:02 kthakore hehe
18:02 ok
18:02 FROGGS so i remove all those lines?
18:02 kthakore yeah
18:02 FROGGS k
18:02 kthakore all the safefree on the AV* values
18:02 _vx and what ever
18:03 FROGGS ya
18:03 kthakore ok that is this one
18:03 daxim: until tehn wanna strip t/core_video.t and try?
18:03 daxim ok
18:03 kthakore daxim: seriousily I gotta get your kernel config
18:04 daxim: the super strict is helping a lot
18:04 daxim opensuse provides virtualbox images
18:05 CIA-1 SDL_perl: 03Tobias Leich 07redesign * r2e7ea54 10/ src/GFX/Primitives.xs : removed all safefree() - http://bit.ly/9MUBZ6
18:09 kthakore FROGGS: did you run test on it ?
18:11 FROGGS id did
18:11 everything fine
18:11 kthakore ok
18:11 ...
18:11 FROGGS: :P man open source is so humbling at times
18:11 FROGGS: this would never get caught on my code at work
18:12 FROGGS right... i would say the next guy who has such problems gets kicked ;o)
18:13 kthakore FROGGS: hehe
18:13 FROGGS: I bet a freebsd guy will come along
18:14 find the most stupid C
18:14 * kthakore eyes Apocalypse
18:14 FROGGS i have a freebsd image here... i can test it on there too this evening
18:14 kthakore NOOOOOoooOOOOOO
18:14 FROGGS ;o)
18:14 kthakore FROGGS: yeah do it
18:15 FROGGS: except gget ruoso to fix them now
18:15 Fthat guy is hiding
18:16 FROGGS: so what is left for mixer
18:16 I wanna get these fixes out
18:17 FROGGS i'm hacking on SDL::Mixer::Channels::channel_finished( callback )
18:18 tests and docs are todo for samples, groups, music and effects
18:18 kthakore oooh callback is going to be a bithc
18:19 FROGGS: I will help on Mixer tommorow
18:19 today is bug squashing day
18:19 daxim: where are we at?
18:20 daxim stripping tests off things where it panics is not helpful
18:20 perl doesn't crash, you see
18:20 kthakore so perl only crashes in Test::Harness?
18:21 FROGGS: I have a feeling we are going to have to wrap use SDL stuff in BEGIN
18:22 daxim no, I have no crashes occurring in t/core_video.t
18:22 this seems to be a warning at perl level, not a fatal thing at C level
18:23 kthakore what does it say again?
18:24 oh the free from worng ppol
18:24 pool
18:24 hmm
18:24 shadowpaste "daxim" at 217.168.150.38 pasted "(in cleanup) panic: free from wrong pool at t/core_video.t line ..." (92 lines) at http://paste.scsys.co.uk/39840
18:25 kthakore daxim: what version of perl do you have?
18:25 daxim 5.10.1
18:25 kthakore daxim: is perl threaded?
18:25 daxim yes
18:25 * FROGGS is back in 30min
18:25 kthakore daxim: can I get your compile time options?
18:25 $Config ... thing
18:26 shadowpaste "daxim" at 217.168.150.38 pasted "perl -V" (49 lines) at http://paste.scsys.co.uk/39841
18:27 kthakore daxim: can you run perl -MWx -e '$ENV{foo} = bar';
18:27 I know it is Wx
18:28 but I am just confirming something
18:28 daxim hangs half a second, no output
18:28 kthakore crapp
18:29 hey!
18:29 daxim yo!
18:29 kthakore daxim: you asked this question on stackoverflow
18:29 Term::ReadLine::GNU thing
18:29 daxim yes
18:30 kthakore well this is the same problem
18:30 same as in Wx
18:30 daxim and what is in Wx?
18:30 kthakore the panic
18:31 with global vars
18:31 with  SAFE_PERL_PUTENV
18:33 daxim no, not quite
18:33 kthakore daxim: no?
18:33 daxim T::RL::G says  panic: free from wrong pool during global destruction.
18:33 kthakore all three have XS with PUTENV
18:33 daxim and perl crashes
18:33 kthakore oh
18:33 daxim core_video.t says     (in cleanup) panic: free from wrong pool at t/core_video.t line 212.
18:33 and perl lives
18:34 however to me this also looks like two facets of the same buggy gem
18:35 kthakore yeah
18:35 daxim: what does the total test say
18:35 FAIl or PASS
18:36 shadowpaste "daxim" at 217.168.150.38 pasted "prove -b t/core_video.t" (16 lines) at http://paste.scsys.co.uk/39843
18:36 daxim pass
18:37 kthakore ok ... I don't know where to hunt for it
18:37 I am going to have to get an reproducable machine
18:37 and perl
18:37 daxim: can you add a ticket for this please?
18:37 daxim bleh
18:37 kthakore bleh you ;P
18:38 daxim you know that I cannot write into your trac
18:40 kthakore daxim: register
18:55 daxim: thanks
19:05 dorkfish hi
19:05 kthakore daxim: hiya
19:05 oops
19:05 dorkfish: hi
19:06 dorkfish: http://github.com/garu/spinner
19:06 dorkfish: almost playable now
19:06 dorkfish oh neat
19:06 garu it's already playable
19:06 kthakore garu: :P
19:06 LEVEL!
19:06 garu but we gotta make it more fun :)
19:06 kthakore UP!
19:06 garu: and clean up graphics
19:06 garu yup
19:06 btw
19:06 kthakore and seperate the layers
19:07 what?
19:07 garu who has dj aspirations here?
19:07 kthakore not ME!
19:07 no more use of my creative juice
19:07 I am hoarding it now
19:07 garu we need an addictive, repetitive, fast-paced, dark, techno beat
19:07 for the game :)
19:07 kthakore garu: listening to it right now
19:07 ;)
19:08 garu heheh
19:08 kthakore Vocal Trance on Shoutcast
19:08 dorkfish kthakore: where's the Mouse package at?
19:08 kthakore cpan
19:08 dorkfish: cpan Mouse
19:08 dorkfish oh okay
19:09 kthakore garu: there are cc game sound loops
19:09 garu: we just give them credits
19:09 dorkfish kthakore: how do you feel about using moose in a game?
19:09 kthakore dorkfish: no big diff to me
19:09 dorkfish oh okay
19:09 kthakore dorkfish: garu doesn't though
19:09 dorkfish i wasn't sure if moose was kind of heavy and slow
19:09 kthakore dorkfish: only at startup
19:09 dorkfish ah
19:10 kthakore games have longish startups anyway
19:10 garu we use Moose on spinner
19:10 dorkfish yeah, so it's no big deal
19:10 kthakore garu: we use MOUSE
19:10 no?
19:10 dorkfish haha
19:10 garu well, Mouse actually
19:10 heh
19:10 dorkfish alright so how do i play spinner?
19:10 kthakore space
19:10 f
19:10 and escape
19:10 are the keys
19:10 garu but I did an s/Mouse/Moose/ and all went well, same fps, same everything
19:11 even without make_immutable()
19:11 kthakore garu: blah! that is due to my awesome game loop
19:11 garu: I take credit for that!
19:11 garu hehe
19:11 yeah, yeah
19:11 :P
19:11 kthakore taht game lop was apain in the ass
19:11 dorkfish haha
19:12 this game is tough
19:12 kthakore it is
19:12 garu it's actually pretty good, tonight we'll see how it handles different levels
19:12 kthakore garu: yu
19:12 garu: we need a barrier class
19:12 garu kthakore, yeah!
19:12 kthakore a barrier is a wall
19:12 garu wall!!
19:12 kthakore three types
19:12 spiky
19:12 = death
19:12 bounce =  normal
19:13 speed = speed up the ball
19:13 daxim garu, http://www.youtube.com/watch?v=eVs04bm8ua4 gives tips for freely licensed music
19:13 see sidebar
19:13 kthakore and in level_map we can de fine it easily
19:13 garu daxim++
19:13 kthakore garu: hey!
19:13 garu daxim, pick one for us!
19:13 kthakore where is my ++
19:13 :{
19:13 daxim I'm at work, I have no speakers
19:13 kthakore :[
19:13 daxim besides, I'm a snob
19:13 garu kthakore += $dt
19:13 :P
19:13 kthakore NOOO!
19:14 nightmares!
19:14 garu hahahah
19:14 kthakore burn it
19:14 burn it FIRE!
19:14 garu kthakore, I also want a "wind" wall, one that would repel the ball as it passes close enough to it
19:15 we also gotta build the different wheels
19:15 kthakore garu: ok call it slow
19:15 the walls are easy to implement
19:15 garu kthakore, yeah, now that I turned them into classes!
19:15 kthakore $ball->{vx} ++ or ---
19:16 garu where's *my* ++ :)
19:16 kthakore garu-- for greed!
19:16 garu hehehe
19:16 kthakore all ++ are for ME
19:16 garu nooooo
19:16 kthakore !!!!
19:16 brb
19:16 garu and I'm the greedy one?!
19:16 kthakore work
19:18 garu dorkfish, as for the Moose in games, it really doesn't make that much of a difference, specially for ones that aren't really cpu-intense
19:19 the only reason I picked Mouse over Moose in this game is because it's meant to be simple to install, and Mouse has no non-core deps
19:20 besides, we don't need moose's magic on this one, just the sugar =)
19:26 dorkfish ah
19:26 hm
19:27 i did look at mouse a while back and it seemed pretty cool
19:27 i may try it instead of moose
19:27 because f perl's default oo
19:37 kthakore garu: bak
19:38 garu dorkfish, it's purpose is getting you comfortable enough to try moose
19:38 kthakore dorkfish: it is sneak ware
19:38 dorkfish: trojan ware
19:38 garu yup
19:38 noo
19:38 sneakware
19:38 kthakore dorkfish: the dutchman
19:38 garu like spinner.pl
19:38 kthakore dorkfish: the switcheroo
19:39 dorkfish: the slicky sailor
19:39 garu you try mouse, you get a taste of moose and never want to go back
19:39 kthakore dorkfish: the black dong
19:39 garu you try spinner.pl, you get a taste of SDL Perl and... run away? :P
19:39 kthakore garu: the asian dong?
19:40 garu kthakore, dude, keep your favored dongs to yourself
19:40 kthakore garu: arean't I glad Ryan52 is not on here
19:40 garu :)
19:40 kthakore garu: hehe
19:40 garu: we scared dorkfish away
19:40 garu you'll scare others if you keep harassing you own software
19:40 :)
19:41 kthakore garu: so for CEbIT
19:41 garu: pick a set off features
19:41 no scope creep
19:41 garu: I vote: normal and death barrier and the wheels as is
19:42 garu: and level maps
19:42 I thnk we can do good game in htat
19:42 garu: I want to give it a main menu and a scorre system
19:42 garu: it just writes a yaml file of you level and millisecs
19:43 garu: that is it what do u think?
19:43 garu I like it
19:43 dorkfish kthakore: nop, i'm reading about perl bytecode compilation :)
19:43 i don't have a hilite notifier so i don't notice when i get highlighted
19:44 garu kthakore, it will also lead us to better design over what sugar we need for SDLx
19:44 dorkfish, really? what irc client you use?
19:44 dorkfish weechat
19:44 i get highlights in it fine
19:44 but they don't put out x notification events, so i don't notice them 'till i witch back to this tag
19:44 * dorkfish is running awesome wm.
19:45 dorkfish switch*
19:45 kthakore dorkfish: where are you reading about perl bytecode
19:45 dorkfish http://oreilly.com/catalog/ppe[…]chapter/ch18.html
19:45 kthakore garu: so? what?
19:45 garu: I realy want menu and hi-score
19:46 garu: then people at cebit can compete
19:46 dorkfish: oooh neat
19:47 dorkfish yeah
19:47 i really want these bytecode generators to mature faster
19:48 it would make it a lot easier to distribute software with them than a bunch of perl scripts
19:48 kthakore dorkfish: see parrot
19:48 dorkfish yeah i've looked at it
19:48 but it's still not production ready
19:48 like the rest of perl6 :)
19:48 kthakore dorkfish: yup
19:48 garu: !! PANG
19:48 garu dorkfish, but it's -Ofun, so make sure to try it
19:48 kthakore, WHAT???
19:48 dorkfish haha
19:48 garu :)
19:48 kthakore garu: HAVE YOU SEEN THE FEATURE LIST!
19:49 garu kthakore, yeah, I even replied
19:49 kthakore WHAT DID YOU SAY
19:49 I DIDN"T HEAR YOU
19:49 garu "I like it"
19:49 "kthakore, it will also lead us to better design over what sugar we need for SDLx"
19:49 kthakore OK TAHNK YOU
19:49 dorkfish: yeah we have parrotSDL starting too
19:49 dorkfish: http://github.com/kthakore/parrotSDL
19:49 garu kthakore, do it.
19:49 NAO
19:49 kthakore garu: what?
19:50 garu :)
19:50 kthakore garu: MANU?
19:50 garu kthakore, up
19:50 yup
19:50 menu
19:50 kthakore ok
19:50 tommorow
19:50 tonight is TPM
19:50 garu and high-score while you're at it
19:50 kthakore :P
19:51 garu: you better get barriers and level working
19:51 or I WILL HURT YOU
19:51 and YOU WILL LIKE IT
19:51 ;)
19:51 garu ooookay.... time to go
19:51 kthakore garu: hehe
19:51 dorkfish look kthakore, you scared him away
19:52 kthakore dorkfish: haha
19:52 dorkfish :)
19:52 kthakore :)
19:54 garu kthakore, if I push some music and sound effects, can you make it happen before TPM?
19:55 kthakore will try
19:55 you want me to show this in TPM?
19:55 garu btw, 'TPM' in pt_BR is an acronym for PMS :)
19:55 kthakore thanks for that
19:55 now I feel durty
19:56 like I just had a bunch of mem leaks in my pants
19:56 garu it's really funny when you say it like "tonight is TPM" :)
19:56 yuck
19:56 kthakore garu: indeed
19:56 I delight in my awesome power to gross people out accross the globe
19:57 with just a bunch of text
19:57 garu just send them a picture of you
19:57 sorry.. low :)
19:57 dorkfish ]haha
19:57 wow lag
19:58 garu kthakore, you don't want to show it on tpm?
19:58 spinner, I mean
19:58 * ruoso curious on what garu and kthakore are talking about
19:59 kthakore garu: not now
19:59 dorkfish toronto perl mongers meeting
19:59 kthakore garu: my feelings are hurt
19:59 ruoso: hi
19:59 ruoso: lots of fixes of mem problems in bag on the repo
19:59 ruoso hi kthakore
19:59 cool
19:59 kthakore ruoso: we begged for your apperance
20:00 ruoso: but ... *sniff* ... you werent there
20:00 * ruoso working on planning and budgets again... :(
20:00 kthakore ruoso: I feel for you man
20:00 that sucks
20:00 :(
20:01 I am making a testing script for a 4 month long testing cycle
20:01 *pukes*
20:02 ruoso: to.pm.org
20:02 ruoso: ctrl-f SDL
20:03 ruoso: also me an garu are trying to eget a game done for CEbiIT
20:05 garu ruoso, http://github.com/garu/Spinner
20:05 ruoso, give it a try
20:05 kthakore mib_55g7o8: after the crash run 'bt full' in gdb
20:06 garu spacebar releases the ball
20:06 kthakore oops
20:06 garu and 'f' toggles fullscreen
20:06 that's pretty much it
20:06 (so far)
20:06 kthakore garu: not in windows :|
20:06 garu: oh win and fail
20:06 * garu blames kthakore
20:06 garu :)
20:07 * kthakore recursive blames garu
20:07 kthakore ;)
20:08 garu: beat teh game in 7 secs
20:08 beat taht
20:10 garu: this level sucks
20:10 wee need more levels man
20:12 garu yeah, as soon as work is done
20:18 kthakore garu: ok I have simple levels
20:18 2 level fix
20:18 we just have to load @level_map from some place
20:18 ok pushing it
20:19 garu man
20:19 I have just the song for the game
20:19 http://ccmixter.org/content/Lo[…]hadow_-_SP_NK.mp3
20:19 at least the beginning, before the dude starts singing
20:22 how do you like it?
20:23 kthakore garu: you owe me one menu
20:23 garu: posted level system
20:23 garu: fixed speed
20:24 garu: can't listen to that at work
20:24 is it streamed?
20:26 garu kthakore, it can be
20:26 kthakore, I don't know how to do the menu... was hoping you'd do it :)
20:26 kthakore :P
20:27 garu http://ccmixter.org/files/Loveshadow/25375
20:27 kthakore, ^
20:27 kthakore ok
20:27 meh ...
20:28 dorkfish rage
20:28 are there ANY decent pixel art-oriented editors for linux?
20:28 gimp sucks
20:28 mtpaint sucks
20:28 kthakore garu: looking for a better one
20:28 dorkfish pinta sucks
20:29 kthakore dorkfish: gimp?
20:29 no?
20:30 garu: this site rox!
20:30 garu: good find
20:31 dorkfish kthakore: gimp is terrible for pixel art
20:31 garu daxim++
20:36 kthakore garu: don't you mean dorkfish
20:37 garu: how about http://ccmixter.org/files/Fireproof_Babies/254465
20:38 garu: how about http://ccmixter.org/files/Fireproof_Babies/25465
20:38 garu: we will use electric motif
20:46 garu: actually I like you song now
20:46 garu: I think we sould keep the vocals
20:47 parrotSDL joined #sdl
20:47 parrotSDL parrotSDL: 07master 03Kartik Thakore * dc165b3 (1 files in 1 dirs): Quick fix for pic location - http://bit.ly/bYjzmJ
20:47 parrotSDL left #sdl
20:59 garu kthakore, can you put it in an eternal loop in the background?
21:00 kthakore garu: yeah
21:00 sub menu
21:00 sub score
21:00 garu hehe
21:00 kthakore sub game
21:00 put all th current sutff in sub game?
21:05 parrotSDL joined #sdl
21:05 parrotSDL parrotSDL: 07master 03Kartik Thakore * 6a83d4c (2 files in 2 dirs): Really stupid way to make errors. But oh well - http://bit.ly/9DimYF
21:05 parrotSDL left #sdl
21:06 garu kthakore, for now, yeah
21:06 we move it later when it starts getting in the way
21:06 kthakore garu: can you get that set up at least
21:06 garu (like wheel and ball)
21:06 of course not
21:06 kthakore I will do the menu loops and what not
21:06 garu :)
21:07 kthakore I hate you
21:07 garu kthakore, what do you want me setting up?
21:07 kthakore :p
21:07 garu :)
21:07 kthakore garu: just the subs
21:07 and in main
21:07 call game()
21:09 parrotSDL joined #sdl
21:09 parrotSDL parrotSDL: 07master 03Kartik Thakore * 8e9ff52 (1 files in 1 dirs): A better way I guess - http://bit.ly/cxqZKH
21:09 parrotSDL left #sdl
21:10 garu kthakore, I thought you made it go back to the level instead of quitting
21:11 kthakore garu: no ... well it didn't have levels before
21:13 garu yay! I went to level 2
21:13 kthakore garu: nice
21:13 don't go to level 3!!!
21:13 you break the game
21:13 ;)
21:13 garu heh
21:14 meaning we need a 'congratulations!' page as well =)
21:14 kthakore yeah
21:14 ...
21:14 or credits
21:14 KARTIK THAKORE
21:14 and .... (wishper) garu
21:14 garu hehehhe
21:15 that too, specially since we're going CC on music and art
21:15 that site's pretty good
21:15 kthakore yeah
21:15 I wanna so a line at the botthm showing the music playing
21:17 ok time to go to the TPM
21:17 garu: caio
21:18 garu kthakore, good luck
21:19 kthakore ok
21:27 garu http://ccmixter.org/files/_ghost/22043
21:27 this is for our yet-to-come Metal Gear Solid clone =)
21:30 Apocalypse ooo MGS
21:30 that would be insane hah
21:31 garu we'll get there ;)
21:31 Apocalypse =]
21:31 I'll gladly become your betatester for that ehehe
21:32 garu :)
22:05 CIA-1 SDL_perl: 03Tobias Leich 07redesign * r1f85726 10/ (3 files in 3 dirs): finished SDL::Mixer::Channels -> channel_finished(callback) - http://bit.ly/9p9C03
22:05 FROGGS can somebody try this?
22:06 never trust a passing test on windows^^
22:11 kthakore FROGGS: will do
22:11 FROGGS cool
22:11 kthakore Apocalypse: oh in that case we have a component of MGS_perl for you to test in FreeBSD
22:11 Apocalypse: it is called Alien::SDL and SDL_perl
22:11 ;)
22:12
22:13 garu: nice
22:13 garu: FINISH you work
22:13 garu: so we can make GA<EZ
22:13 gameZ
22:14 FROGGS: pass
22:14 FROGGS YAY
22:14 kthakore FROGGS: good job
22:14 FROGGS !!
22:14 kthakore FROGGS: welcome to real hacking
22:14 FROGGS me is teh awesome!!
22:14 ;o)
22:14 kthakore FROGGS: now I am gonna break it
22:14 FROGGS pah
22:15 garu done
22:15 kthakore, ready to make some games!
22:15 kthakore garu: really?
22:16 garu yup
22:16 kthakore garu: no I have to download deps for TPm
22:16 garu: but get the code modularized
22:16 I have an hour to hack
22:16 garu I'll try
22:16 kthakore FROGGS: how does it test teh call back?
22:16 FROGGS it just calls it
22:17 and if its alive afterwards, its good ;o)
22:17 kthakore FROGGS: well do a counter
22:17 my $call_finished
22:17 then ++ it in the call back to test it
22:17 FROGGS hmmm, ya that is good
22:17 kthakore FROGGS: otherwise we never knwo if it ran
22:17 FROGGS right
22:17 kthakore FROGGS: I learned that early on
22:17 FROGGS i'll do
22:18 kthakore FROGGS: thanks
22:18 I will test it
22:18 FROGGS: is that the last of mixer?
22:18 or is effects left?
22:18 FROGGS the last of ::channels
22:18 kthakore ok
22:19 FROGGS i didnt looked insight the other ones yet
22:19 kthakore FROGGS: hehe
22:19 you are in for fun!
22:19 FROGGS ;o)
22:19 garu FROGGS, are we ready to plug some sound effects on spinner?
22:19 kthakore Effects is crazy you can warp your sound a lot
22:19 garu and, by "we", I mean "you" :)
22:20 kthakore garu: you can play sounds thru audio too
22:20 garu: my you I mean you
22:20 FROGGS SFX is not done, from what i know
22:20 kthakore FROGGS: yeah it is isnt
22:20 FROGGS: there is a lot of stuff in effects
22:22 garu: ok where were we?
22:22 I will add menu sub ok?
22:23 make a package?
22:23 garu: ??
22:25 garu ok
22:25 I'm going through some sound samples now
22:27 kthakore sound?
22:28 garu playable game first no?
22:28 garu it's playable!
22:28 :P
22:28 kthakore ok *sigh*
22:28 garu ok
22:28 * kthakore pats garu's eager head
22:28 garu I'll go do the sub $stuff
22:28 kthakore yay!
22:31 garu kthakore, what is it you want again? :)
22:31 kthakore garu: hehe
22:31 garu: ok
22:31 put what we have in a sub game()
22:31 garu k
22:31 kthakore you will have to handle the missing globals now
22:32 garu: that way I can call game() from menu() to start a game
22:32 ok?
22:32 garu hmm
22:32 kthakore the $app will always be global
22:32 ok?
22:32 garu k
22:32 kthakore just new event loop
22:32 or better yet we can pass it to game
22:32 game()
22:33 FROGGS: how is that counter?
22:33 need elp?
22:34 dorkfish1 joined #sdl
22:34 FROGGS no, this will work, i had to care about andr�
22:36 kthakore ok
22:36 hi dorkfish1
22:36 dorkfish1 o hi there
22:37 kthakore want me to push it frogs?
22:37 FROGGS: I got it
22:37 FROGGS cool, doing the same thing
22:37 -.-
22:37 kthakore sorry couldn't help it got curious
22:37 how is andre
22:37 nothing serious I hope
22:38 CIA-1 SDL_perl: 03Kartik Thakore 07redesign * r66ee6d1 10/ t/mixer_channels.t : Checked if the callback actually ran - http://bit.ly/aLvYse
22:38 FROGGS he is trying to fall asleep right now, so i only have 1 free hand
22:38 kthakore FROGGS: oh
22:38 FROGGS: I turn on the vacuum to get my younger cousin to go to sleep
22:38 FROGGS: the white noise see?
22:38 garu (white noise)++
22:39 FROGGS its 11pm
22:39 lemme revert my changes on mixer...
22:39 -.-
22:39 kthakore FROGGS: try this
22:39 garu anything that hums would suffice
22:39 kthakore simplynoise.net
22:39 garu even a human :)
22:39 FROGGS playing sounds doenst work...
22:39 kthakore FROGGS: simplynoise.com
22:40 crap what happens
22:40 FROGGS nothing
22:41 kthakore FROGGS: on simplynoise.com click oscillate volume and pink noise
22:41 FROGGS: slide the orb a bit
22:41 man I m getting sleepy
22:42 garu kthakore, close the site!!
22:42 hurry!
22:42 :)
22:43 kthakore garu: toooo slleeppu *
22:43 ...
22:43 .
22:43 .
22:43 .
22:43 zzz
22:43 zzzz
22:43 zzz
22:43 zz
22:43 z
22:43 Apocalypse kthakore: Ahahaha yeah sure thing let me fire up the freebsd vm and see :)
22:43 garu noooooooo
22:43 kthakore crap woke me up
22:43 Apocalypse: they are improtant components
22:44 FROGGS: did it work?
22:44 FROGGS what?
22:44 mixer or andre?
22:44 kthakore simplynoise
22:44 and mixer
22:44 FROGGS no, as expected
22:44 mixer, yes
22:44 kthakore awwww
22:44 FROGGS almost the same as i had
22:45 kthakore FROGGS: well that is good
22:45 garu FROGGS++
22:45 FROGGS he is falling asleep without sounds, gimme 10min
22:45 kthakore FROGGS: until daxim and his crazy os break it
22:45 FROGGS: ok
22:45 FROGGS right
22:45 kthakore FROGGS: or Apocalypse
22:45 garu FROGGS, did you try tecla with him?
22:45 kthakore garu: that will wake him up
22:45 bigtime
22:46 FROGGS no, he is not old enough
22:48 Apocalypse kthakore: Did you fix the "Can't locate object method "check_header" via package "Alien::SDL" at inc/My/Builder.pm line 73." problem?
22:49 kthakore Apocalypse: use the updated Alien::SDL
22:49 Apocalypse: it is on CPAN
22:49 Apocalypse: and use SDL_perl
22:49 from github
22:49 http://github.com/kthakore/SDL[…]/tarball/redesign
22:49 Apocalypse: ^^
22:50 Apocalypse Yeah, fighting Alien::SDL now :(
22:50 Hmpf, I don't have Digest::SHA1
22:50 kthakore Which version are you using for Alien::SDL?
22:52 garu kthakore, you use Digest::SHA1 on Alien::SDL?
22:52 Apocalypse The one from github :)
22:52 Hmm this is weird
22:53 After doing "sudo ./Build install" I get a error about missing Makefile
22:53 I guess it's the freebsd custom script thingie fucking up
22:53 kthakore garu: yeah kmx did that
22:53 garu kthakore, maybe we should change it to Digest::SHA, which comes in perl core
22:53 Apocalypse Anyway, let me run the testsuite :)
22:54 kthakore garu: ok
22:54 garu I'll look into it later (if someone reminds me)
22:54 kthakore garu: I will ;)
22:54 garu kthakore, now leave me alone, I'm building sub game_level
22:54 Apocalypse Arg, SDL_Perl needs File::ShareDir to build?
22:54 garu Apocalypse, patches welcome =)
22:54 kthakore Apocalypse: yeah ...
22:55 garu++
22:55 garu: first thing I agree with you about today
22:55 Apocalypse ahahaha
22:55 garu hahaha
22:55 bastard
22:55 :P
22:55 kthakore here
22:55 Apocalypse Yeah I'll look into it after I get the damn thing to run :)
22:55 kthakore remember garu a while ago
22:56 well payback's a bitch
22:56 garu kthakore, hm?
22:56 kthakore, what did I do?
22:57 Apocalypse kthakore: Hm, should I run the testsuite with SDL_BSD_TEST?
22:58 kthakore Apocalypse: prolly
22:58 Apocalypse Will do both, and paste the results :)
22:58 kthakore garu: http://irclog.perlgeek.de/sdl/[…]0-02-25#i_2035151
22:58 Apocalypse: ok
22:59 Apocalypse: also send patch for fixes
22:59 Apocalypse: then you get 1 metal gear solid
22:59 ;)
22:59 garu: remember now?
22:59 :p
22:59 garu hahhahaa
22:59 Apocalypse =]
22:59 garu kthakore, sorry about that, mate =)
22:59 kthakore hehe
22:59 its even
23:00 garu now you're making me work
23:00 I hate you
23:00 :)
23:00 kthakore yup!
23:00 I maybe sorta like you pal
23:00 garu: in a guy way!
23:00 Apocalypse lib/SDL/Time.xs: In function 'XS_SDL__Time_add_timer':
23:00 lib/SDL/Time.xs:56: warning: assignment makes pointer from integer without a cast
23:00 lib/SDL/Time.xs: In function 'XS_SDL__Time_remove_timer':
23:00 lib/SDL/Time.xs:68: warning: cast to pointer from integer of different size
23:00 kthakore Apocalypse: arggs
23:00 Apocalypse: pastebin man
23:01 Apocalypse Yeah, I was lazy hehe
23:01 kthakore garu: ok 45mins to get there
23:01 but I am lazy
23:01 FROGGS: good luck with andre and rest
23:01 Apocalypse lib/SDL/AudioSpec.xs: In function 'XS_SDL__AudioSpec_callback':
23:01 lib/SDL/AudioSpec.xs:146: warning: assignment makes pointer from integer without a cast
23:01 kthakore Apocalypse: paste bin teh stuff
23:01 Apocalypse: hey!
23:01 Apocalypse: NO!
23:01 Apocalypse: N
23:02 * Apocalypse stabs kthakore :)
23:02 kthakore Apocalypse: O\
23:02 hehe
23:02 Apocalypse Finally, running the tests now
23:02 kthakore ok
23:02 Apocalypse Is there a way to disable the progress indicators? They screw up the terminal and makes it harder to read the test output imo
23:03 kthakore Apocalypse: not that I know off
23:03 Apocalypse: I will make them silientable
23:03 is that a word?
23:03 Apocalypse Yeah, maybe turn them on when doing RELEASE_TESTING or some other crap env var :)
23:03 kthakore silentable?
23:03 Apocalypse silenced :)
23:03 kthakore ok
23:03 Apocalypse "I will silence that fucker"
23:03 lolol
23:03 kthakore ok
23:04 Apocalypse: are they passing so far?
23:04 I need to head to a TPM soon
23:05 Apocalypse Most are passing, some are just blowing up with "perl built without threads" and others are skipping because I didn't enable SDL_BSD_TEST yet
23:05 kthakore ok
23:05 Apocalypse Go, and I'll pastebin the output :)
23:05 kthakore pastebin the whole junk
23:05 k
23:05 thanks
23:05 cya
23:05 Apocalypse Or do you prefer me to msg you the entire thing? eheheheheh
23:05 * Apocalypse is in an evil mood now
23:05 kthakore I keel you
23:05 Apocalypse =]
23:05 kthakore Apocalypse: thanks
23:06 you and your goofy smile
23:06 Apocalypse Hm, seems like LibGGI froze at trying to find displays... I don't have one set in this VM heh
23:06 kthakore kk
23:06 Apocalypse I'll let it spin for some more and see if it makes any progress or not
23:06 kthakore garu: seeya
23:06 garu: I grabbed spinner just in case
23:06 Apocalypse lates and have fun :)
23:06 kthakore k
23:06 will do
23:09 garu kthakore, okidoki
23:12 good luck!
23:14 kthakore ?
23:14 finally... silence :P
23:40 damn.. too quiet now :)
23:41 FROGGS you can have my son ;o)
23:43 garu FROGGS, andr� hasn't slept yet?!
23:43 FROGGS he sleeps since 15min or so
23:43 garu I thought you said he was sleepy
23:43 ah
23:43 FROGGS but in 2 hours he is up again ;o)
23:44 garu oh, the unspoken joys of breeding :P
23:44 FROGGS *g*
23:44 ya
23:59 dorkfish joined #sdl
23:59 dorkfish hi
23:59 FROGGS hi

← Previous day | Index | Channel Index | Today | Next day → | Search | Google Search | Plain-Text | plain, newest first