← 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 |
|---|---|---|
| 06:58 | saorge_ joined #sdl | |
| 08:54 | FROGGS joined #sdl | |
| 08:54 | FROGGS | good morning |
| 12:54 | SmokeMachine joined #sdl | |
| 13:24 | rindolf joined #sdl | |
| 13:25 | rindolf | Hi all. |
| 13:25 | http://erxz.com/pb/22048 - please help me forward-port this script. | |
| 13:26 | FROGGS | hi rindolf |
| 13:26 | rindolf | Hi FROGGS |
| 13:27 | FROGGS | i think we'll get this to work... |
| 13:27 | with the latest redesign branch? or what version do you use? | |
| 13:30 | rindolf | FROGGS: perl-SDL-2.2.5-1mdv2010.1 |
| 13:31 | FROGGS | rindolf: where did you get this? |
| 13:32 | rindolf | FROGGS: from the Mandriva repositories. |
| 13:33 | FROGGS | hmmmm, i think if we remove SDL::App and use the SDL::Video:: stuff we will get this to work on your 2.2.5 and on the latest dev code |
| 13:35 | at first we remove the SDL::App, and do this instead: http://sdlperl-local.de/SDL-Vi[…]ml#set_video_mode | |
| 13:36 | rindolf: wait a sec, i post it | |
| 13:40 | shadowpaste | "FROGGS" at 217.168.144.84 pasted "first step" (171 lines) at http://scsys.co.uk:8001/37298 |
| 13:41 | FROGGS | rindolf: so now we have at least an window for 2 sec |
| 13:42 | rindolf | FROGGS: hmm... you've placed an __END__ there. |
| 13:42 | FROGGS | because the rest would crash it... |
| 13:42 | we have to clean it step by step | |
| 13:42 | rindolf | FROGGS: ah. |
| 13:42 | FROGGS | so you will know that the lines to XY will work... okay? |
| 13:44 | rindolf: next thing, MapRGB has changed, look: http://sdlperl-local.de/SDL-Video.html#map_RGB | |
| 13:44 | rindolf | FROGGS: Firefox can't find the server at www.sdlperl-local.de. |
| 13:45 | FROGGS | ohh, wait *g* |
| 13:45 | here: http://sdl.perl.org/SDL-Video.html#map_RGB | |
| 13:45 | sdlperl-local is my local webservice on my pc here... | |
| 13:45 | rindolf | Undefined subroutine &SDL::Video::set_video_mode called at 37298.pl line 27. |
| 13:46 | FROGGS | hmmmm |
| 13:47 | can you upgrade your SDL to the latest cpan version? | |
| 13:47 | SmokeMachine joined #sdl | |
| 13:48 | FROGGS | set_video_mode isnt implemented in version 2.2.5 |
| 13:48 | rindolf, what do you do with SDL? are there more scripts? | |
| 13:51 | rindolf | FROGGS: no, not really. |
| 13:52 | FROGGS | great, so we can upgrade to 2.3_3 from cpan |
| 13:53 | can you do: cpan KTHAKORE/Alien-SDL-v0.7.8.tar.gz | |
| 13:53 | and then: cpan KTHAKORE/SDL-2.3_3.tar.gz | |
| 14:01 | rindolf | FROGGS: I don't see 2.3_3 anywhere. |
| 14:01 | FROGGS | where are you looking? |
| 14:01 | rindolf | FROGGS: in search.cpan.org |
| 14:02 | FROGGS | you cant do it from a shell? |
| 14:02 | rindolf | FROGGS: shell? |
| 14:02 | FROGGS | like bash or so |
| 14:02 | rindolf | FROGGS: I want to create an .rpm |
| 14:02 | FROGGS | ahh, okay |
| 14:02 | rindolf | FROGGS: yes, I got you. |
| 14:03 | FROGGS | at cpan.org you will see the right versions if you click on KTHAKORE's name in e.g. SDL-2.2.6 |
| 14:04 | rindolf | FROGGS: but I cannot package a developer release for Mandriva. |
| 14:05 | FROGGS | hmmmm |
| 14:05 | we can get it to work with 2.2.5 or 2.2.6 but it will break again on newer versions | |
| 14:05 | youse the api changes | |
| 14:06 | rindolf | FROGGS: what? |
| 14:07 | FROGGS | the function names are changing right now, so if we get it to work with 2.2.5 it will not work with newer versions of sdl |
| 14:07 | rindolf | FROGGS: ah. |
| 14:07 | FROGGS: OK, I'll install it using local::lib | |
| 14:12 | FROGGS: t/core.t and t/core_video.t fail. | |
| 14:13 | FROGGS | what does it say? |
| 14:15 | KatrinaTheLamia | gah! ERIS DAMNIT! Another delay in Rosebush... Eris damn it... how the hell do I tell git where to post crap too >.> |
| 14:15 | none of the damn commands seem to work DX< | |
| 14:16 | FROGGS | KatrinaTheLamia: whats wrong? |
| 14:16 | KatrinaTheLamia | I cannot post the local copy of Rosebush onto github... I said that already >.> |
| 14:16 | it has no idea where to send it. | |
| 14:17 | FROGGS | did you specified the branch? |
| 14:17 | KatrinaTheLamia | uh--right now it is in the master branch locally... any attempts to push can only seem to send it to master. |
| 14:20 | I cannot figure out how to tell it where the damn hell origin is... | |
| 14:20 | and the command seems to be missing from learn.github.com >.> | |
| 14:21 | FROGGS | maybe you first do: git status |
| 14:21 | first line tells you on which branch you are | |
| 14:21 | rindolf | FROGGS: I made some progress. |
| 14:21 | FROGGS | and if you wanna push: git push origin branchname |
| 14:21 | rindolf | FROGGS: after I installed it. |
| 14:23 | KatrinaTheLamia | FROGGS: yeah--I know what branch I am... I have something in .bashrc (and .bash_profile) that automatically puts the branch I am in into my command line prompt. |
| 14:23 | so yes, I am in a branch.. and it is master. | |
| 14:24 | FROGGS | try: git push origin master |
| 14:25 | KatrinaTheLamia | FROGGS yeah... that was giving me the error that origin was not a valid repo... I said that already though... in the part of "it has no idea where origin is" |
| 14:25 | anyways... I did a rather horridly hackish work around... I git cloned an empty repo and worked with that. | |
| 14:26 | I am fairly certain that I should not need to do this >.> | |
| 14:28 | I admit--with the diagnosis I gave (minus the stressed snarkiness--which well... prolly was not as helpful for you as it was for me) your instructions seemed to be akin to, "is it plugged in", and "have you tried rebooting?" | |
| 14:29 | * KatrinaTheLamia | hugs FROGGS |
| 14:29 | FROGGS | ;o) |
| 14:30 | rindolf | FROGGS|hugged: what is the equivalent of ->fill() for SDL::Surface? |
| 14:32 | FROGGS|hugged | rindolf: http://sdl.perl.org/SDL-Video.html#fill_rect |
| 14:32 | so something like: my $pixel = SDL::Video::map_RGB( $display->format, 0, 0, 0 ); | |
| 14:32 | SDL::Video::fill_rect( $display, SDL::Rect->new( 0, 0, $display->w, $display->h ), $pixel ); | |
| 14:32 | (with correct var names) | |
| 14:37 | rindolf | FROGGS|hugged: why doesn't update_rect accept an SDL::Rect? |
| 14:37 | KatrinaTheLamia | also--sorry about my complete lack of involvement... I admit a large amount of guilt on the matter. |
| 14:38 | FROGGS|hugged | rindolf: cause we are matching 1 to 1 the function calls from the libsdl c library |
| 14:39 | better looking functions will come later | |
| 14:40 | KatrinaTheLamia: i quite agree, a version control system has to work... and has to work easily | |
| 14:41 | i deleted and cheched out the sdl repo several times, now it is working for a while | |
| 14:42 | KatrinaTheLamia | I will note that git does seem to be very powerful--I guess it just needs me to figure out how to use it. You really would not want somebody programming who did not have a clue how to do it. |
| 14:42 | unless you happen to enjoy COBOL, VB6 or PHP4... | |
| 14:44 | rindolf | FROGGS|hugged: http://sdl.perl.org/SDL-Event.html |
| 14:44 | FROGGS|hugged: I'm getting "poll_event" is not exported by the SDL::Events module | |
| 14:45 | FROGGS|hugged | http://sdl.perl.org/SDL-Events[…]#poll_event_event |
| 14:45 | you need SDL:Event and SDL::Events | |
| 14:45 | first for the objects, last for the functions | |
| 14:46 | shadowpaste | "rindolf" at 217.168.144.84 pasted "Version of the script - not working correctly" (195 lines) at http://scsys.co.uk:8001/37300 |
| 14:47 | kthakore | FROGGS|hugged: YOU HAVE A WIFE! |
| 14:47 | FROGGS|hugged | hehe |
| 14:48 | kthakore: i know ;o) | |
| 14:48 | kthakore | rindolf: hiya |
| 14:48 | FROGGS|hugged | rindolf: i get no error message |
| 14:48 | rindolf | Hi kthakore |
| 14:48 | FROGGS|hugged: there is none. | |
| 14:48 | FROGGS|hugged: but the fluttering flag is not displayed correctly. | |
| 14:49 | kthakore | rindolf: what is the last change you did? |
| 14:49 | rindolf | kthakore: last change? |
| 14:49 | kthakore: the poll_event thing. | |
| 14:49 | kthakore | is there a pump_event before it? |
| 14:49 | shadowpaste | "rindolf" at 217.168.144.84 pasted "Working program in C." (258 lines) at http://scsys.co.uk:8001/37301 |
| 14:50 | FROGGS|hugged | had that idea right now too |
| 14:50 | rindolf: look here: http://sdl.perl.org/SDL-Events.html#SYNOPSIS | |
| 14:51 | rindolf: take that while loop... you could have not just only one event in the event queue | |
| 14:51 | kthakore | FROGGS|hugged++ <-- for helping out |
| 14:52 | rindolf: you put_pixel where did you get that? | |
| 14:53 | rindolf: fixed it! | |
| 14:53 | FROGGS|hugged | kthakore: it is defined in the middle |
| 14:53 | rindolf | kthakore: from one of the SDL pods. |
| 14:53 | shadowpaste | "kthakore" at 199.198.223.108 pasted "rindolf your depth needs to be 32 for pitch/4 offset in putpixel" (195 lines) at http://scsys.co.uk:8001/37302 |
| 14:54 | kthakore | rindolf: ^^ |
| 14:54 | FROGGS|hugged | rindolf: that looks cool! |
| 14:54 | kthakore | 4 is a magic number defined as $surface_depth in bytes |
| 14:54 | rindolf: nice job! | |
| 14:54 | rindolf: 32 bits has 4 | |
| 14:54 | 24 has 3 | |
| 14:55 | 16 hs 2 | |
| 14:55 | so on | |
| 14:55 | rindolf | kthakore: thanks. |
| 14:55 | kthakore | rindolf: np |
| 14:55 | FROGGS|hugged: dude ... I have to study more now :( | |
| 14:56 | rindolf: thanks for feeding my hacking habit | |
| 14:56 | rindolf | The C program is faster. |
| 14:56 | But I recall it being even faster. | |
| 14:56 | kthakore | rindolf: yes |
| 14:56 | rindolf | Maybe I need to enable DRI. |
| 14:57 | kthakore | maybe |
| 14:57 | with 32 bits yes | |
| 14:57 | or swithc to 16 bits | |
| 14:57 | your speed will increase | |
| 14:58 | rindolf: your code only works on 32 bit | |
| 14:59 | FROGGS|hugged | kthakore: why that? more exams? |
| 14:59 | kthakore | FROGGS|hugged: yes |
| 14:59 | FROGGS|hugged: 8 more practice exams then my real exam in Jan 29 | |
| 15:00 | hi KatrinaTheLamia | |
| 15:00 | FROGGS|hugged | kthakore: thats why i'll stay stupid |
| 15:00 | KatrinaTheLamia | hi kthakore |
| 15:00 | sorry about being MIA D= | |
| 15:00 | kthakore | KatrinaTheLamia: I will be MIA soon so ... |
| 15:01 | FROGGS|hugged: um .... that is not possible | |
| 15:01 | KatrinaTheLamia | well--I suppose this is incredibly decent timing then XD |
| 15:01 | kthakore | FROGGS|hugged: you are no longer web guy |
| 15:02 | FROGGS|hugged | no, i'll be a father also... ;o) |
| 15:02 | kthakore | FROGGS|hugged: then you can't be dum! |
| 15:02 | FROGGS|hugged: for your KIDS sakke man | |
| 15:02 | think of the children | |
| 15:02 | OO | |
| 15:03 | - | |
| 15:04 | KatrinaTheLamia: how is the weather in the flatlands of freezing hell? | |
| 15:04 | KatrinaTheLamia | it is kind of nice. |
| 15:04 | I admit--I need to start wearing gloves more often. | |
| 15:07 | rindolf | https://bugs.freedesktop.org/s[…]_bug.cgi?id=24172 - I've ran into this bug. |
| 15:09 | kthakore | oh noes |
| 15:09 | radeon | |
| 15:09 | is | |
| 15:09 | the | |
| 15:09 | hell | |
| 15:09 | rindolf: my condolences | |
| 15:09 | rindolf | kthakore: hang-vidia is worse on Linux. |
| 15:09 | kthakore | really |
| 15:09 | rindolf | kthakore: yes. |
| 15:10 | kthakore | I have radeon too |
| 15:10 | rindolf | An "open source" driver written in hex. |
| 15:10 | kthakore | and I was considering moving to nvidia |
| 15:10 | lol | |
| 15:10 | rindolf | And the nvidia driver which taints the system with non-free stuff and keeps hanging the computer. |
| 15:10 | And nouveau which is the FOSS reverse-engineered driver which causes many problems. | |
| 15:10 | And zero support from nvidia. | |
| 15:11 | kthakore | oh noes |
| 15:11 | what is a good working video card then? | |
| 15:11 | rindolf | kthakore: don't know. |
| 15:11 | kthakore | lol |
| 15:11 | rindolf | kthakore: I am pretty happy with my radeonhd set up. |
| 15:11 | kthakore | I need a CUDA enabled system soon |
| 15:11 | rindolf | Except for the fact that I cannot enable DRI. |
| 15:11 | kthakore | will likux support it |
| 15:11 | rindolf: yeah I saw | |
| 15:12 | good luck | |
| 15:12 | rindolf | kthakore: isn't CUDA the nvidia equivalent of OpenCL? |
| 15:12 | kthakore | I don't know what OpenCL is |
| 15:13 | CUDA is direct write to GPU buffers in the most simplest terms | |
| 15:13 | rindolf | http://en.wikipedia.org/wiki/CUDA |
| 15:15 | kthakore | rindolf: I need some help now that I helped you |
| 15:15 | :P | |
| 15:15 | rindolf: I am trying to get DBD::DB2 installed on strawberry perl | |
| 15:16 | rindolf | kthakore: ah. |
| 15:16 | kthakore | rindolf: I get this error though http://www.nntp.perl.org/group[…]/12/msg34470.html |
| 15:17 | rindolf | kthakore: seems like you're missing a DLL. |
| 15:18 | kthakore: there should be a program similar to nm on Windows. | |
| 15:18 | FROGGS|hugged | strawberry ships 'nm', yes |
| 15:19 | rindolf | kthakore: http://www.cygwin.com/ml/cygwi[…]-01/msg00279.html - maybe this? |
| 15:19 | kthakore | rindolf: where do I get this ? I installed express-c db2 server + dev + client |
| 15:19 | FROGGS|hugged | i dont think he is missing a library, i think he has the wrong version |
| 15:20 | kthakore | FROGGS|hugged: huh? |
| 15:21 | FROGGS|hugged | there would be a warning in your output if a lib is missing, i guess |
| 15:22 | kthakore | but those .lib exists |
| 15:22 | Note (probably harmless): No library found for db2cli.lib | |
| 15:22 | ||
| 15:23 | but I can see them in lib/db2cli.lib | |
| 15:23 | FROGGS|hugged | you could set the path to this dir |
| 15:23 | i dont have seen this note, i searched for 'warning' -.- | |
| 15:25 | kthakore | FROGGS|hugged: the path is set to db2cli.lib db2api.lib -L"C:/PROGRA~1/IBM/SQLL |
| 15:25 | IB/LIB" | |
| 15:25 | maybe it can't be found in "C:/PROGRA~1/ | |
| 15:43 | FROGGS|hugged | kthakore: how did you get the verbose output? |
| 15:44 | kthakore | FROGGS|hugged: for? |
| 15:44 | FROGGS|hugged | cpan DBD::DB2 |
| 15:44 | kthakore | ah |
| 15:44 | I downloaded the source | |
| 15:44 | then did | |
| 15:45 | perl Makefile.PL and make | |
| 15:45 | FROGGS|hugged | kk |
| 15:46 | what should i set as DB2_HOME ? | |
| 15:47 | k, i set it to c:/strawberry/c | |
| 15:48 | kthakore | kk |
| 15:48 | did you install teh DB2 stuff? | |
| 15:48 | FROGGS|hugged | i just try to install DBD::DB2 |
| 15:49 | kthakore | kk |
| 15:49 | you need DB2 express-c isntall with custom and develop tools | |
| 15:49 | FROGGS|hugged | hmmm |
| 15:49 | -.- | |
| 15:49 | kthakore | FROGGS|hugged: also I just comment out the offending code |
| 15:49 | lol | |
| 15:49 | lets see if this works | |
| 15:50 | :P | |
| 15:51 | FROGGS|hugged | -> The DBD::DB2 driver is supported by DB2 UDB V9 and later. See http://www.software.ibm.com/data/db2/perl for more information on supported environments. |
| 15:51 | do you have the right versions? | |
| 15:51 | kthakore | how do I check? |
| 15:51 | FROGGS|hugged | i dunno |
| 15:53 | kthakore | FROGGS|hugged: this is the one I got https://www14.software.ibm.com[…]DDWW01&lang=en_US |
| 15:53 | FROGGS|hugged: how do I search from SQLBindFileToParam in a directory of header files in Windows? | |
| 15:54 | FROGGS|hugged | windows explorer -> strg + f |
| 15:54 | kthakore | strg +f |
| 15:54 | what is strf? | |
| 15:54 | strg | |
| 15:54 | FROGGS|hugged | wait |
| 15:54 | its ctrl + f | |
| 15:54 | ;o) | |
| 15:54 | kthakore | lol |
| 15:54 | FROGGS|hugged | strg is german *gg* |
| 15:54 | hehe | |
| 15:55 | here they say yu need 8.2 or newer: http://www-01.ibm.com/support/[…]1&uid=swg21297335 | |
| 15:55 | so you may take a 8.2 version, not 9.7 | |
| 15:57 | kthakore | I know what happend |
| 15:57 | their library was compiled with windows compiler | |
| 15:58 | and strawberry is using gcc | |
| 15:58 | crap ... | |
| 15:58 | FROGGS: is there a way to set compiler to windows compiler | |
| 15:58 | FROGGS | out of strawberry? i dont think so |
| 15:59 | do you have the (microsoft) compiler tools? you may edit the makefile, or? | |
| 16:00 | kthakore | *sigh* |
| 16:01 | FROGGS: I think so | |
| 16:02 | FROGGS: what is it | |
| 16:02 | ncc | |
| 16:02 | or something | |
| 16:05 | FROGGS | i think you need nmake, cc and cl |
| 16:05 | kthakore | ok |
| 16:06 | FROGGS | and remove strawberry from path -.- |
| 16:06 | * kthakore | cries :( |
| 16:06 | FROGGS | ya |
| 16:06 | kthakore | FROGGS: can you compile this ? |
| 16:06 | I can't install VS | |
| 16:07 | FROGGS | hmmmmm |
| 16:07 | wait, did your tried a ppm package? | |
| 16:08 | kthakore: Packages available from http://cpan.uwinnipeg.ca/PPMPackages/10xx: | |
| 16:08 | DBD-DB2 [1.76] Perl driver for IBM DB2 Universal Database | |
| 16:08 | looks good^^ | |
| 16:14 | kthakore | FROGGS: can I install this in strawberry? |
| 16:14 | how? | |
| 16:15 | FROGGS | strawberry has a 'ppm' |
| 16:15 | run ppm | |
| 16:15 | and then: install DBD::DB2 | |
| 16:15 | kthakore | yay! |
| 16:16 | FROGGS | PPM> install DBD::DB2 |
| 16:16 | Install package 'DBD-DB2?' (y/N): y | |
| 16:16 | Installing package 'DBD-DB2'... | |
| 16:16 | Bytes transferred: 328703 | |
| 16:16 | i dont know if it will work but it looks good | |
| 16:16 | kthakore | oh how do I set proxy for ppm? |
| 16:18 | FROGGS | you may set this in internet explorer |
| 16:19 | ppm should use this settings | |
| 16:19 | but i'm not sure | |
| 16:19 | kthakore | I got that set up but |
| 16:19 | Error installing package 'DBD-DB2': Could not locate a PPD file for package DB | |
| 16:21 | FROGGS | what did you get on: search DBD::DB2 |
| 16:21 | ? | |
| 16:22 | kthakore | nothing |
| 16:23 | FROGGS: can I download this ppm my self? | |
| 16:23 | and do ppm what.ppm | |
| 16:23 | FROGGS | what perl version do you have? |
| 16:24 | kthakore | got it! |
| 16:24 | FROGGS | pah |
| 16:24 | :P | |
| 16:24 | kthakore | http://www-01.ibm.com/support/[…]1&uid=swg21297335 |
| 16:24 | * kthakore | is so tired on |
| 16:24 | kthakore | now |
| 16:25 | FROGGS | here is the ppm if you need it: http://cpan.uwinnipeg.ca/dist/DBD-DB2 |
| 16:25 | i gtg home... | |
| 16:25 | kthakore | FROGGS: k thanks!!! |
| 16:26 | FROGGS | np |
| 16:26 | see ya | |
| 20:37 | kthakore | /win 4 |
| 21:13 | FROGGS joined #sdl | |
| 21:15 | FROGGS | hi there |
| 21:30 | FR0665 joined #sdl | |
| 21:31 | FROGGS joined #sdl | |
| 21:34 | FR0665 joined #sdl | |
| 21:51 | FROGGS joined #sdl |
← Previous day | Index | Channel Index | Today | Next day → | Search | Google Search | Plain-Text | plain, newest first