From mmackay at tes.net Mon Feb 1 08:39:04 2010 From: mmackay at tes.net (Matthew MacKay) Date: Mon, 1 Feb 2010 11:39:04 -0500 Subject: [tpm] Job Opportunity with IBM Message-ID: <918911A750DA3846A6103216137B88C3E4EF1D@tesex> Hey there! Looking to see if any of your Perl people also have prior "Tivoli" and "Packaging/Install Shield" experience that might be interested in an opportunity with IBM Canada. I will attach a copy of the Job Description for you to relay to anyone that may be a fit. Thanks for all your help Webmaster! Pay Rate: $35 - $40/hr 6 months to start + Work Location: 2201 Eglinton Ave E Skills required: Scripting Language - Perl would be nice along with C ++ Tivoli (understanding) the more experience here the better. Packaging capability, use of install shield, tivoli wrappers etc. Imaging capability, understanding of all Microsoft developing techniques. Quick learner, initiative, able to work with minimal supervision. Matt Mackay Placement Consultant, Information Technology The Employment Solution Tel: (416) 482 - 2420 ext- 223 Fax: (416) 482 - 8076 Toll Free: 1 (800) 818 4893 ext- 223 Email: mmackay at tes.net Web: www.tes.com This e-mail transmission may contain confidential or legally privileged information that is intended only for the individual or entity named in the e-mail address. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited. If you have received this e-mail transmission in error, please reply to the sender, so that we may resend it to the proper destination and then please delete the message from your in-box. The sender does not accept liability for any errors, omissions, corruption or viruses in the contents of this message, or in any attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: From indy at indigostar.com Mon Feb 1 13:42:30 2010 From: indy at indigostar.com (Indy Singh) Date: Mon, 1 Feb 2010 16:42:30 -0500 Subject: [tpm] Job Opportunity with IBM Message-ID: Hello all, See forwarded message below. Indy Singh IndigoSTAR Software -- www.indigostar.com ----- Original Message ----- From: Matthew MacKay Sent: Monday, February 01, 2010 11:39 AM Subject: [tpm] Job Opportunity with IBM Hey there! Looking to see if any of your Perl people also have prior "Tivoli" and "Packaging/Install Shield" experience that might be interested in an opportunity with IBM Canada. ... Pay Rate: $35 - $40/hr 6 months to start + Work Location: 2201 Eglinton Ave E Skills required: Scripting Language - Perl would be nice along with C ++ Tivoli (understanding) the more experience here the better. Packaging capability, use of install shield, tivoli wrappers etc. Imaging capability, understanding of all Microsoft developing techniques. Quick learner, initiative, able to work with minimal supervision. Matt Mackay Placement Consultant, Information Technology The Employment Solution Tel: (416) 482 - 2420 ext- 223 Fax: (416) 482 - 8076 Toll Free: 1 (800) 818 4893 ext- 223 Email: mmackay at tes.net Web: www.tes.com This e-mail transmission may contain confidential or legally privileged information that is intended only for the individual or entity named in the e-mail address. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited. If you have received this e-mail transmission in error, please reply to the sender, so that we may resend it to the proper destination and then please delete the message from your in-box. The sender does not accept liability for any errors, omissions, corruption or viruses in the contents of this message, or in any attachments. -------------------------------------------------------------------------------- _______________________________________________ toronto-pm mailing list toronto-pm at pm.org http://mail.pm.org/mailman/listinfo/toronto-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at stok.ca Mon Feb 1 18:11:19 2010 From: mike at stok.ca (Mike Stok) Date: Mon, 1 Feb 2010 21:11:19 -0500 Subject: [tpm] Meeting feedback and suggestions. Message-ID: <009404ED-5D6B-47BD-905F-808116A5548B@stok.ca> Thanks to everyone who showed up at January's meeting. Some ideas about meetings which were mentioned: Have lightning talks twice a year (that is properly emcee'd and timed - Maybe September and March) Have two or more presenters cover related areas - for example Moose is a large topic and maybe there are a couple of people with experience of it who could do complementary presentations one meeting. Maybe Moose is big enough for more than one meeting during the next year. Maybe you have co-workers who could talk about some cool project where they used Perl - even if Perl is only a small fragment of the project that's cool. How many people would be interested in hackathons? Last year Kartik mentioned he might be able to do a game hackathon In February. Is there any interest in haveing audio / video recordings of the meetings created and archived? Skype broadcasted live? What do you think? Mike -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. -------------- next part -------------- An HTML attachment was scrubbed... URL: From abram.hindle at softwareprocess.es Mon Feb 1 18:21:44 2010 From: abram.hindle at softwareprocess.es (Abram Hindle) Date: Mon, 01 Feb 2010 21:21:44 -0500 Subject: [tpm] UNS: Meeting feedback and suggestions. In-Reply-To: <009404ED-5D6B-47BD-905F-808116A5548B@stok.ca> (sfid-20100201_211405_320865_EF0D4A3A) References: <009404ED-5D6B-47BD-905F-808116A5548B@stok.ca> (sfid-20100201_211405_320865_EF0D4A3A) Message-ID: <4B678C38.7030208@softwareprocess.es> Mike Stok wrote: > * How many people would be interested in hackathons? Last year > Kartik mentioned he might be able to do a game hackathon In > February. I don't understand what hackathon means in this context. To me a hackathon is a bit more than 2 hrs and it has people getting together and hacking on one or more related projects. Maybe I misunderstood. If that is the case I propose bootstrapping such a hackathon with a bit of a tutorial as a meeting. An interactive perl mongers where people should bring and share laptops and hack at a tutorial game. There is a possibility of a quasi-hackathon-type of meeting. The presenter provides source code & maybe content. For instance Kartik's game hackathon could also be spun as a meeting. If one made a tiny game framework, like a boardgame/logic game or a pong like game or a breakout style game or just a jumping scrolling platformer. Then allow room for modifications. The meeting could be a walk-through of the some possibilities. How small changes to rules can change the game, etc. This kind of meeting could bootstrap a hackathon ;) abram -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From legrady at gmail.com Mon Feb 1 18:35:06 2010 From: legrady at gmail.com (Tom Legrady) Date: Mon, 1 Feb 2010 21:35:06 -0500 Subject: [tpm] Meeting feedback and suggestions. In-Reply-To: <009404ED-5D6B-47BD-905F-808116A5548B@stok.ca> References: <009404ED-5D6B-47BD-905F-808116A5548B@stok.ca> Message-ID: <3c9af5831002011835q7cd528cbo8cffbc67d6151c94@mail.gmail.com> I have a "flip HD" video camera, which is good for generating documentary video. Would have to experiment at merging the video with a separate audio recorder, if the built-in mic isn't good enough. On Mon, Feb 1, 2010 at 9:11 PM, Mike Stok wrote: > Thanks to everyone who showed up at January's meeting. > > Some ideas about meetings which were mentioned: > > > - Have lightning talks twice a year (that is properly emcee'd and timed > - Maybe September and March) > - Have two or more presenters cover related areas - for example Moose > is a large topic and maybe there are a couple of people with experience of > it who could do complementary presentations one meeting. Maybe Moose is big > enough for more than one meeting during the next year. > - Maybe you have co-workers who could talk about some cool project > where they used Perl - even if Perl is only a small fragment of the project > that's cool. > - How many people would be interested in hackathons? Last year Kartik > mentioned he might be able to do a game hackathon In February. > - Is there any interest in haveing audio / video recordings of the > meetings created and archived? Skype broadcasted live? > > > What do you think? > > Mike > > -- > > Mike Stok > http://www.stok.ca/~mike/ > > The "`Stok' disclaimers" apply. > > > > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at stok.ca Mon Feb 1 18:42:49 2010 From: mike at stok.ca (Mike Stok) Date: Mon, 1 Feb 2010 21:42:49 -0500 Subject: [tpm] UNS: Meeting feedback and suggestions. In-Reply-To: <4B678C38.7030208@softwareprocess.es> References: <009404ED-5D6B-47BD-905F-808116A5548B@stok.ca> (sfid-20100201_211405_320865_EF0D4A3A) <4B678C38.7030208@softwareprocess.es> Message-ID: <4A859813-42E8-4673-8583-94C64F9E03B3@stok.ca> On Feb 1, 2010, at 9:21 PM, Abram Hindle wrote: > Mike Stok wrote: >> * How many people would be interested in hackathons? Last year >> Kartik mentioned he might be able to do a game hackathon In >> February. > > I don't understand what hackathon means in this context. To me a > hackathon is a bit more than 2 hrs and it has people getting together > and hacking on one or more related projects. > > Maybe I misunderstood. > > If that is the case I propose bootstrapping such a hackathon with a bit > of a tutorial as a meeting. An interactive perl mongers where people > should bring and share laptops and hack at a tutorial game. > > There is a possibility of a quasi-hackathon-type of meeting. The > presenter provides source code & maybe content. For instance Kartik's > game hackathon could also be spun as a meeting. If one made a tiny game > framework, like a boardgame/logic game or a pong like game or a breakout > style game or just a jumping scrolling platformer. Then allow room for > modifications. The meeting could be a walk-through of the some > possibilities. How small changes to rules can change the game, etc. > > This kind of meeting could bootstrap a hackathon ;) That's the kind of thing I had in mind. There was a Ruby hackathon a while ago where we got some space off Tucows for a Saturday or Sunday and had agreed on a project before hand. I think it lasted about 6 to 8 hours. The thing I observed was that quite a lot of time is spent getting up to speed if people aren't familiar with the project, so some up front planning and preparation could have made it more effective. If people have been to successful hackathons and have an idea about what to do and what not to do then we could avoid some obvious pitfalls. Maybe a meeting which gives an overview of the material and what might be achieved would be step 1, and the hackathon could happen soon (inside a couple of weeks?) after that. I think that 2 hours is a little short for a "real" hackathon, especially if there are setup wrinkles (e.g. no working network !) That's just my $0.02... Mike -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. From fulko.hew at gmail.com Mon Feb 1 19:09:21 2010 From: fulko.hew at gmail.com (Fulko Hew) Date: Mon, 1 Feb 2010 22:09:21 -0500 Subject: [tpm] Meeting feedback and suggestions. In-Reply-To: <3c9af5831002011835q7cd528cbo8cffbc67d6151c94@mail.gmail.com> References: <009404ED-5D6B-47BD-905F-808116A5548B@stok.ca> <3c9af5831002011835q7cd528cbo8cffbc67d6151c94@mail.gmail.com> Message-ID: <8204a4fe1002011909j9ce1c90m25e9430aee0a9c71@mail.gmail.com> On Mon, Feb 1, 2010 at 9:35 PM, Tom Legrady wrote: > I have a "flip HD" video camera, which is good for generating documentary > video. Would have to experiment at merging the video with a separate audio > recorder, if the built-in mic isn't good enough. > Having had 'some' experience in doing this for about 2 years for TPM plus the ~50 hours worth of YAPC 2005... Let me say its harder than it seems, especially if your want to provide a little more than just the basic stuff. Ie. it doesn't stop with the ~1.5 hour recording. In the end I also: a) re-listened to the recording; trimmed the start and end, edited out the 'uhmms' and 'ahhs', removed the looooong pregnant pauses while people played with their laptops, etc. b) altering the sound levels as best as possible, boosting the levels for the audience questions so that they had a chance of being heard. c) Plus adding the intro and exit music, looped, with voice over. d) Oh and also the archiving, e) and editing the RSS feed In the end, a 1.5 hour recording took about another 3 hours of post-processing. and... you have to be there and produce _every_ month for consistency... BTW. At one point (last year?) someone volunteered to do video recordings... but we never saw them again. But don't let me talk you out of it. :-) On Mon, Feb 1, 2010 at 9:11 PM, Mike Stok wrote: > >> Thanks to everyone who showed up at January's meeting. >> >> Some ideas about meetings which were mentioned: >> > ... snip ... > >> - Is there any interest in haveing audio / video recordings of the >> meetings created and archived? Skype broadcasted live? >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam.prime at utoronto.ca Thu Feb 4 12:30:27 2010 From: adam.prime at utoronto.ca (Adam Prime) Date: Thu, 04 Feb 2010 15:30:27 -0500 Subject: [tpm] Tim Bunce speaking at Ann Arbor Perl Mongers - Monday March 1 Message-ID: <4B6B2E63.40501@utoronto.ca> FYI fresh from twitter: Know anyone in Michigan/Toronto area interested in #perl? I'll be speaking at the Ann Arbor Perl Mongers in a few weeks http://is.gd/7HZCq From Tim.Bunce at pobox.com Thu Feb 4 12:37:02 2010 From: Tim.Bunce at pobox.com (Tim Bunce) Date: Thu, 4 Feb 2010 20:37:02 +0000 Subject: [tpm] Revitalizing Ann Arbor Perl Mongers Message-ID: Hi. I know Ann Arbor's some way from Toronto but I want to let you all know that we (the company I work for) are revitalizing the Ann Arbor Perl Mongers. I'll be in Ann Arbor giving a couple of perl talks at the start of March: http://www.meetup.com/Ann-Arbor-Perl-Mongers/calendar/12490755/ Tim. From thakore.kartik at gmail.com Sat Feb 6 05:27:50 2010 From: thakore.kartik at gmail.com (Kartik Thakore) Date: Sat, 6 Feb 2010 08:27:50 -0500 Subject: [tpm] Meeting feedback and suggestions. In-Reply-To: <009404ED-5D6B-47BD-905F-808116A5548B@stok.ca> References: <009404ED-5D6B-47BD-905F-808116A5548B@stok.ca> Message-ID: Hello Mongers On Mon, Feb 1, 2010 at 9:11 PM, Mike Stok wrote: > Thanks to everyone who showed up at January's meeting. > > Some ideas about meetings which were mentioned: > > - How many people would be interested in hackathons? Last year Kartik > mentioned he might be able to do a game hackathon In February. > > If there is an interest in the hackathon I would need a heads of on the format people are expecting. I was thinking along the lines of : - A brief overview of what SDL perl is and where it is going: Format A: - I walk through a simple game (arcade style coding) code with SDL perl - Then we hack each our games either in groups or individually? Format B - I walk through a simple game (arcade style coding) code with SDL perl - We make some of the classics in a collaborative fashion We make tron, or asteroids or .... What do you think? This is my first time preparing for a hackathon so any help is appreciated. Kartik Thakore -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at stok.ca Sat Feb 6 13:14:28 2010 From: mike at stok.ca (Mike Stok) Date: Sat, 6 Feb 2010 16:14:28 -0500 Subject: [tpm] Meeting feedback and suggestions. In-Reply-To: References: <009404ED-5D6B-47BD-905F-808116A5548B@stok.ca> Message-ID: <4DAAE9A3-C190-4D3B-8F48-424182ED45F4@stok.ca> On Feb 6, 2010, at 8:27 AM, Kartik Thakore wrote: > Hello Mongers > > On Mon, Feb 1, 2010 at 9:11 PM, Mike Stok wrote: > Thanks to everyone who showed up at January's meeting. > > Some ideas about meetings which were mentioned: > How many people would be interested in hackathons? Last year Kartik mentioned he might be able to do a game hackathon In February. > If there is an interest in the hackathon I would need a heads of on the format people are expecting. I was thinking along the lines of : > > - A brief overview of what SDL perl is and where it is going: > > Format A: > > - I walk through a simple game (arcade style coding) code with SDL perl > - Then we hack each our games either in groups or individually? > > Format B > - I walk through a simple game (arcade style coding) code with SDL perl > - We make some of the classics in a collaborative fashion > We make tron, or asteroids or .... > > What do you think? This is my first time preparing for a hackathon so any help is appreciated. > > Kartik Thakore I think we need to have an idea of what we want to get out of it - understanding the technology, getting a simple game going, getting started on something with the intent of carrying on - so that we can make good use of the time we are together to do coding and learn stuff rather than doing administrative tasks we could do on the list. Not having looked at the Perl SDL bindings I don't know what can be accomplished by a noob in a short session. One question which seems open is whether to do this in a regularly scheduled monthly meeting which is usually 90 minutes or so (I don't know what the official kicking-out time is at Nexient), or if we want to arrange a space and time where we can have a longer period to work together. If we want to do it at a Thursday evening meeting then we'd need to consider how much time is left after the walk through, what resources we need (for example a network connectivity...), and what people might expect to get done before we have to vacate the room at Nexient. If it realistically takes three or four hours to get something going then maybe you could do a brief overview of SDL Perl and a walk through of a game at a Thursday evening meeting, and we could see how many people were interested in a hacking on some game and organise some space for a weekend day soon after? Knowing the schedules, locations, and numbers of interested people might help us arrange a venue for the working session. Is there any preparation participants could usefully do before the meeting (for example "make sure you have version x.y.z of the Perl SDL binding and its demos working before the meeting)? Those are some of my off-the-cuff thoughts, what do other people think? Mike -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at stok.ca Sat Feb 6 13:21:24 2010 From: mike at stok.ca (Mike Stok) Date: Sat, 6 Feb 2010 16:21:24 -0500 Subject: [tpm] dnarwhal replies Message-ID: <13AA3109-9E14-4D4A-9C3E-F7F9DA76D07B@stok.ca> Does anyone else on the list get "Vacation" replies from dnarwhal at hotmail.com containing advertising when they post to the TPM list? Mike -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. -------------- next part -------------- An HTML attachment was scrubbed... URL: From thakore.kartik at gmail.com Sat Feb 6 18:58:17 2010 From: thakore.kartik at gmail.com (Kartik Thakore) Date: Sat, 6 Feb 2010 21:58:17 -0500 Subject: [tpm] dnarwhal replies In-Reply-To: <13AA3109-9E14-4D4A-9C3E-F7F9DA76D07B@stok.ca> References: <13AA3109-9E14-4D4A-9C3E-F7F9DA76D07B@stok.ca> Message-ID: nope. On Sat, Feb 6, 2010 at 4:21 PM, Mike Stok wrote: > Does anyone else on the list get "Vacation" replies from > dnarwhal at hotmail.com containing advertising when they post to the TPM > list? > > Mike > > -- > > Mike Stok > http://www.stok.ca/~mike/ > > The "`Stok' disclaimers" apply. > > > > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From thakore.kartik at gmail.com Sat Feb 6 19:04:17 2010 From: thakore.kartik at gmail.com (Kartik Thakore) Date: Sat, 6 Feb 2010 22:04:17 -0500 Subject: [tpm] Hackathon or presentation format for Game Development with SDL perl Message-ID: Since this topic is split across some threads I decided to make a new one. So is the hackathon for sure what we are going to do on the February meeting? Or does someone else want to do just graphics/GUI Perl presentation with me? On Mon, Feb 1, 2010 at 9:42 PM, Mike Stok wrote: > > On Feb 1, 2010, at 9:21 PM, Abram Hindle wrote: > > > Mike Stok wrote: > >> * How many people would be interested in hackathons? Last year > >> Kartik mentioned he might be able to do a game hackathon In > >> February. > > > > I don't understand what hackathon means in this context. To me a > > hackathon is a bit more than 2 hrs and it has people getting together > > and hacking on one or more related projects. > > > > Maybe I misunderstood. > > > > If that is the case I propose bootstrapping such a hackathon with a bit > > of a tutorial as a meeting. An interactive perl mongers where people > > should bring and share laptops and hack at a tutorial game. > This is the plan. I have a brief walkthrough then we will make a simple 1 script game. And Mike is suggesting we do a real hackathon on a weekend after people had some time to play. > > > > There is a possibility of a quasi-hackathon-type of meeting. The > > presenter provides source code & maybe content. For instance Kartik's > > game hackathon could also be spun as a meeting. If one made a tiny game > > framework, like a boardgame/logic game or a pong like game or a breakout > > style game or just a jumping scrolling platformer. Then allow room for > > modifications. The meeting could be a walk-through of the some > > possibilities. How small changes to rules can change the game, etc. > > > > This kind of meeting could bootstrap a hackathon ;) > Agreed! > > That's the kind of thing I had in mind. There was a Ruby hackathon a while > ago where we got some space off Tucows for a Saturday or Sunday and had > agreed on a project before hand. I think it lasted about 6 to 8 hours. The > thing I observed was that quite a lot of time is spent getting up to speed > if people aren't familiar with the project, so some up front planning and > preparation could have made it more effective. > > If people have been to successful hackathons and have an idea about what to > do and what not to do then we could avoid some obvious pitfalls. > > Maybe a meeting which gives an overview of the material and what might be > achieved would be step 1, and the hackathon could happen soon (inside a > couple of weeks?) after that. > Does anyone have a > > I think that 2 hours is a little short for a "real" hackathon, especially > if there are setup wrinkles (e.g. no working network !) > Yeah the no network may suck. Does any one any ideas of the venue for a weekend hackathon? Kartik Thakore -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at stok.ca Sun Feb 7 06:17:32 2010 From: mike at stok.ca (Mike Stok) Date: Sun, 7 Feb 2010 09:17:32 -0500 Subject: [tpm] Hackathon or presentation format for Game Development with SDL perl In-Reply-To: References: Message-ID: <00E57027-91FD-4EB9-B719-DA52B8D7EBFD@stok.ca> On Feb 6, 2010, at 10:04 PM, Kartik Thakore wrote: > Since this topic is split across some threads I decided to make a new one. > > So is the hackathon for sure what we are going to do on the February meeting? Or does someone else want to do just graphics/GUI Perl presentation with me? My $0.02 is that you should do an introduction and there should be time at the end for the attendees to try getting a simple game going on Thursday. If there is enough interest then we could think about organizing a Perl/SDL hackathon. I think that there was misunderstanding about the term "hackathon", and maybe we (TPM) need to use a different term for a short "lab programming session". Usually hackathons are quite long sessions, and we would need to plan a little to make it a successful and rewarding event (location, supply of food / coffee / pop / beer...) How does that sound? Mike > > On Mon, Feb 1, 2010 at 9:42 PM, Mike Stok wrote: > > On Feb 1, 2010, at 9:21 PM, Abram Hindle wrote: > > > Mike Stok wrote: > >> * How many people would be interested in hackathons? Last year > >> Kartik mentioned he might be able to do a game hackathon In > >> February. > > > > I don't understand what hackathon means in this context. To me a > > hackathon is a bit more than 2 hrs and it has people getting together > > and hacking on one or more related projects. > > > > Maybe I misunderstood. > > > > If that is the case I propose bootstrapping such a hackathon with a bit > > of a tutorial as a meeting. An interactive perl mongers where people > > should bring and share laptops and hack at a tutorial game. > > This is the plan. I have a brief walkthrough then we will make a simple 1 script game. And Mike is suggesting we do a real hackathon on a weekend after people had some time to play. > > > > > There is a possibility of a quasi-hackathon-type of meeting. The > > presenter provides source code & maybe content. For instance Kartik's > > game hackathon could also be spun as a meeting. If one made a tiny game > > framework, like a boardgame/logic game or a pong like game or a breakout > > style game or just a jumping scrolling platformer. Then allow room for > > modifications. The meeting could be a walk-through of the some > > possibilities. How small changes to rules can change the game, etc. > > > > This kind of meeting could bootstrap a hackathon ;) > > Agreed! > > > That's the kind of thing I had in mind. There was a Ruby hackathon a while ago where we got some space off Tucows for a Saturday or Sunday and had agreed on a project before hand. I think it lasted about 6 to 8 hours. The thing I observed was that quite a lot of time is spent getting up to speed if people aren't familiar with the project, so some up front planning and preparation could have made it more effective. > > If people have been to successful hackathons and have an idea about what to do and what not to do then we could avoid some obvious pitfalls. > > Maybe a meeting which gives an overview of the material and what might be achieved would be step 1, and the hackathon could happen soon (inside a couple of weeks?) after that. > Does anyone have a > > I think that 2 hours is a little short for a "real" hackathon, especially if there are setup wrinkles (e.g. no working network !) > > Yeah the no network may suck. Does any one any ideas of the venue for a weekend hackathon? > > Kartik Thakore > -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. -------------- next part -------------- An HTML attachment was scrubbed... URL: From arocker at vex.net Sun Feb 7 08:27:21 2010 From: arocker at vex.net (arocker at vex.net) Date: Sun, 7 Feb 2010 11:27:21 -0500 Subject: [tpm] Stupid question time! In-Reply-To: <87fx5n3y0l.fsf@quad.sysarch.com> References: <4B634B38.3080502@alteeve.com> <4B63573C.4010804@alteeve.com> <87fx5n3y0l.fsf@quad.sysarch.com> Message-ID: I realise that this is a bit late, but if you run this program (also attached), and study the results, it might help clarify the effects of different precedences. #! /usr/bin/perl # not_vs_! illustrates the difference in effect caused by operator precedence use strict; use warnings; explore (' if (not $foo && $bar ne "") {1;} ', ' if ((not $foo) && ($bar ne "")) {1;} '); explore (' if (! $foo && $bar ne "") {1;} ', ' if ((! $foo) && ($bar ne "")) {1;} '); sub explore { foreach my $expr (@_) { print "\nExpression $expr\n"; print "foo bar !foo bnn result \n"; foreach my $foo (0, 1) { my $nfu = (not $foo); foreach my $bar ("", 1) { my $bnn = ($bar ne ""); my $result = eval "$expr"; printf "%2s%4s%5s%5s%4s\n",$foo, $bar, $nfu, $bnn, $result ; } } } } # not_vs_! Ends -------------- next part -------------- A non-text attachment was scrubbed... Name: not_vs_! Type: application/octet-stream Size: 746 bytes Desc: not available URL: From jkeen at verizon.net Sun Feb 7 08:48:58 2010 From: jkeen at verizon.net (James E Keenan) Date: Sun, 07 Feb 2010 11:48:58 -0500 Subject: [tpm] Hackathon or presentation format for Game Development with SDL perl In-Reply-To: <00E57027-91FD-4EB9-B719-DA52B8D7EBFD@stok.ca> References: <00E57027-91FD-4EB9-B719-DA52B8D7EBFD@stok.ca> Message-ID: <4B0C1089-6C76-4A00-ACFC-6C4481BD053C@verizon.net> On Feb 7, 2010, at 9:17 AM, Mike Stok wrote: > > I think that there was misunderstanding about the term "hackathon", > and maybe we (TPM) need to use a different term for a short "lab > programming session". Usually hackathons are quite long sessions, > and we would need to plan a little to make it a successful and > rewarding event (location, supply of food / coffee / pop / beer...) > I think that's a useful terminological distinction. Toronto, to its credit, has hosted at least *3* hackathons that I know of, each of which took place at a time and place other than the usual monthly to.pm meeting. We have also had to.pm monthly meetings that qualify as "lab programming sessions," e.g., the "build Parrot and get to Hello World" session we had in March 2008. JIm Keenan From thakore.kartik at gmail.com Sun Feb 7 15:03:20 2010 From: thakore.kartik at gmail.com (Kartik Thakore) Date: Sun, 7 Feb 2010 18:03:20 -0500 Subject: [tpm] Hackathon or presentation format for Game Development with SDL perl In-Reply-To: <00E57027-91FD-4EB9-B719-DA52B8D7EBFD@stok.ca> References: <00E57027-91FD-4EB9-B719-DA52B8D7EBFD@stok.ca> Message-ID: <805C5D9F-B3EF-4D05-8F4B-4AB097BD1FE7@gmail.com> > > On Feb 6, 2010, at 10:04 PM, Kartik Thakore wrote: > >> Since this topic is split across some threads I decided to make a >> new one. >> >> So is the hackathon for sure what we are going to do on the >> February meeting? Or does someone else want to do just graphics/GUI >> Perl presentation with me? > > My $0.02 is that you should do an introduction and there should be > time at the end for the attendees to try getting a simple game going > on Thursday. If there is enough interest then we could think about > organizing a Perl/SDL hackathon. > > I think that there was misunderstanding about the term "hackathon", > and maybe we (TPM) need to use a different term for a short "lab > programming session". Usually hackathons are quite long sessions, > and we would need to plan a little to make it a successful and > rewarding event (location, supply of food / coffee / pop / beer...) > > How does that sound? This sounds way more reasonable and doable. I am working on this lab as we speak. I will have more soon. If you want to see what the wip game we will work. Take a look at http://github.com/kthakore/gravong/tree/exp/gravity.pl . I think it is a simple game (with a twist) we can walkthrough in less then 90 mins. If we dont get through all of it I will still provide the docs that should get people through the game. My primary focus will be on explaining the SDL perl bindings. If there is a good interest we can come up with a good solid game that we can try a hackathon on it. I may have a good idea for you guys ;) Cheers, Kartik > > Mike > >> >> On Mon, Feb 1, 2010 at 9:42 PM, Mike Stok wrote: >> >> On Feb 1, 2010, at 9:21 PM, Abram Hindle wrote: >> >> > Mike Stok wrote: >> >> * How many people would be interested in hackathons? Last year >> >> Kartik mentioned he might be able to do a game hackathon In >> >> February. >> > >> > I don't understand what hackathon means in this context. To me a >> > hackathon is a bit more than 2 hrs and it has people getting >> together >> > and hacking on one or more related projects. >> > >> > Maybe I misunderstood. >> > >> > If that is the case I propose bootstrapping such a hackathon with >> a bit >> > of a tutorial as a meeting. An interactive perl mongers where >> people >> > should bring and share laptops and hack at a tutorial game. >> >> This is the plan. I have a brief walkthrough then we will make a >> simple 1 script game. And Mike is suggesting we do a real hackathon >> on a weekend after people had some time to play. >> >> > >> > There is a possibility of a quasi-hackathon-type of meeting. The >> > presenter provides source code & maybe content. For instance >> Kartik's >> > game hackathon could also be spun as a meeting. If one made a >> tiny game >> > framework, like a boardgame/logic game or a pong like game or a >> breakout >> > style game or just a jumping scrolling platformer. Then allow >> room for >> > modifications. The meeting could be a walk-through of the some >> > possibilities. How small changes to rules can change the game, etc. >> > >> > This kind of meeting could bootstrap a hackathon ;) >> >> Agreed! >> >> >> That's the kind of thing I had in mind. There was a Ruby hackathon >> a while ago where we got some space off Tucows for a Saturday or >> Sunday and had agreed on a project before hand. I think it lasted >> about 6 to 8 hours. The thing I observed was that quite a lot of >> time is spent getting up to speed if people aren't familiar with >> the project, so some up front planning and preparation could have >> made it more effective. >> >> If people have been to successful hackathons and have an idea about >> what to do and what not to do then we could avoid some obvious >> pitfalls. >> >> Maybe a meeting which gives an overview of the material and what >> might be achieved would be step 1, and the hackathon could happen >> soon (inside a couple of weeks?) after that. >> Does anyone have a >> >> I think that 2 hours is a little short for a "real" hackathon, >> especially if there are setup wrinkles (e.g. no working network !) >> >> Yeah the no network may suck. Does any one any ideas of the venue >> for a weekend hackathon? >> >> Kartik Thakore >> > > -- > > Mike Stok > http://www.stok.ca/~mike/ > > The "`Stok' disclaimers" apply. > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From thakore.kartik at gmail.com Wed Feb 10 17:48:06 2010 From: thakore.kartik at gmail.com (Kartik Thakore) Date: Wed, 10 Feb 2010 20:48:06 -0500 Subject: [tpm] Hackathon or presentation format for Game Development with SDL perl In-Reply-To: <4B0C1089-6C76-4A00-ACFC-6C4481BD053C@verizon.net> References: <00E57027-91FD-4EB9-B719-DA52B8D7EBFD@stok.ca> <4B0C1089-6C76-4A00-ACFC-6C4481BD053C@verizon.net> Message-ID: <8D42DEA5-F37F-4F04-8E90-AA6B71E29F2C@gmail.com> hi > > On Feb 7, 2010, at 9:17 AM, Mike Stok wrote: > >> >> I think that there was misunderstanding about the term "hackathon", >> and maybe we (TPM) need to use a different term for a short "lab >> programming session". Usually hackathons are quite long sessions, >> and we would need to plan a little to make it a successful and >> rewarding event (location, supply of food / coffee / pop / beer...) >> > > I think that's a useful terminological distinction. Toronto, to its > credit, has hosted at least *3* hackathons that I know of, each of > which took place at a time and place other than the usual monthly > to.pm meeting. > > We have also had to.pm monthly meetings that qualify as "lab > programming sessions," e.g., the "build Parrot and get to Hello > World" session we had in March 2008. > Where was this held? how mych did it cost? how long did it take to plan this? > JIm Keenan regards, kartik > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm From mike at stok.ca Thu Feb 18 07:30:16 2010 From: mike at stok.ca (Mike Stok) Date: Thu, 18 Feb 2010 10:30:16 -0500 Subject: [tpm] Fwd: Founding a Perlmongers group References: <538416.65039.qm@web65716.mail.ac4.yahoo.com> Message-ID: <715248E4-D466-4E99-98DC-8D13B5BF2D98@stok.ca> This came up in a London PM mail thread; there might be some good ideas we can borrow. If anyone has comments or suggestions then feel free to shout them out to the list. Mike Begin forwarded message: > From: Ovid > Date: February 17, 2010 8:19:23 AM EST > To: "London.pm Perl M\[ou\]ngers" > Subject: Re: Founding a Perlmongers group > Reply-To: publiustemp-londonpm at yahoo.com, "London.pm Perl M\[ou\]ngers" > > --- On Mon, 15/2/10, James Laver wrote: > >> From: James Laver > >> As I shall shortly be leaving london >> for somewhere with no PM group, I >> thought it might be nice to create one. >> >> How do I go about it? > > I rebuilt portland.pm from scratch. We had a "group", but they hadn't met in over a year and when I took over, I made a few mistakes. However, it's now one of the strongest, most active groups in the world. Here's what I and my successors did: > > 1. Never miss holding a meeting. Ever. If you don't have a technical, have a social. We had technicals followed by socials. > > 2. Try to arrange to have chromatic, Allison Randal, Schwern, Ingy, Randal Schwartz, Tom Phoenix, Ward Cunningham, and Jeff Zucker move to your city. It makes for fantastic presentations. > > 3. If the above people live in your city, encourage them to leave. Other people wind up being too intimidated to give presentations. That's a hell of an audience if you're showing off your thalidomide-baby Perl. Fortunately, they were also a very respectful audience. > > 4. If the above people live in your city, encourage one of them to not show up falling down drunk at a technical meeting. The comedic value is astonishingly short-lived. [1] > > 5. Coordinate with other user groups in the area for cross-disciple presentations. Don't get into language wars with them. Respect means a lot. > > 42. Always know where your towel is. Towel is a euphemism for "projector". Crowding around someone's laptop makes for a lousy presentation. Make sure this towel works with your laptop. > > 6. Always have a back up presenter. Randal was great for this and he saved my @$$ more than once. > > 7. Always have a back up *presentation*. Staying up late the night before to write one because your presenter dropped out is no fun. > > 8. If there are local companies which use Perl, see if they'll donate meeting space. If they do, they'll often have towels. > > 9. Try to get the presentation sent to you beforehand and make sure you can display it on your laptop in case your towel doesn't plug into their laptop. > > 10. Make sure that some presentations appeal to newer programmers. This was one of our biggest weaknesses at portland.pm (I don't know about now). > > 11. Try to make sure your group leader is named Joshua. It helps, really. > > 12. Open up every meeting with an amusing video. People really like this. > > Cheers, > Ovid > > [1]. Don't email me offlist and ask who this is. I'm not telling. Period. > > -- > Buy the book - http://www.oreilly.com/catalog/perlhks/ > Tech blog - http://use.perl.org/~Ovid/journal/ > Twitter - http://twitter.com/OvidPerl > Official Perl 6 Wiki - http://www.perlfoundation.org/perl6 > > -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at stok.ca Sat Feb 20 13:28:08 2010 From: mike at stok.ca (Mike Stok) Date: Sat, 20 Feb 2010 16:28:08 -0500 Subject: [tpm] February Meeting Message-ID: Our February meeting is on Thursday 25 February, 2010. This meeting will be more interesting if you have a machine to try the code out on, and to help Kartik get some instructions for installing the software necessary to run his demo I'd like to ask people what operating system is on the machine they intend to bring along so we can be better prepared. If you're planning to come along, and you're planning to bring a computer then can you send a note to the list saying what OS and version it runs? Thanks, Mike -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.s.doyle at gmail.com Sat Feb 20 18:20:09 2010 From: dave.s.doyle at gmail.com (Dave Doyle) Date: Sat, 20 Feb 2010 21:20:09 -0500 Subject: [tpm] February Meeting In-Reply-To: References: Message-ID: I'll be there. Ubuntu 9.10 Karmic Koala -- dave.s.doyle at gmail.com On Sat, Feb 20, 2010 at 4:28 PM, Mike Stok wrote: > Our February meeting is on Thursday 25 February, 2010. > > This meeting will be more interesting if you have a machine to try the code > out on, and to help Kartik get some instructions for installing the software > necessary to run his demo I'd like to ask people what operating system is on > the machine they intend to bring along so we can be better prepared. > > If you're planning to come along, and you're planning to bring a computer > then can you send a note to the list saying what OS and version it runs? > > Thanks, > > Mike > > -- > > Mike Stok > http://www.stok.ca/~mike/ > > The "`Stok' disclaimers" apply. > > > > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From olaf at vilerichard.com Sat Feb 20 19:03:56 2010 From: olaf at vilerichard.com (Olaf Alders) Date: Sat, 20 Feb 2010 22:03:56 -0500 Subject: [tpm] February Meeting In-Reply-To: References: Message-ID: <04A5ADF9-FDDB-43B2-A09D-15D7AD7FFC30@vilerichard.com> On 2010-02-20, at 9:20 PM, Dave Doyle wrote: > I'll be there. > > Ubuntu 9.10 Karmic Koala > > -- > dave.s.doyle at gmail.com I should be there as well. Snow Leopard Olaf -- Olaf Alders olaf at vilerichard.com http://vilerichard.com -- folk rock http://twitter.com/vilerichard http://cdbaby.com/cd/vilerichard From stuart at morungos.com Mon Feb 22 06:16:39 2010 From: stuart at morungos.com (Stuart Watt) Date: Mon, 22 Feb 2010 09:16:39 -0500 Subject: [tpm] February Meeting In-Reply-To: <04A5ADF9-FDDB-43B2-A09D-15D7AD7FFC30@vilerichard.com> References: <04A5ADF9-FDDB-43B2-A09D-15D7AD7FFC30@vilerichard.com> Message-ID: <4B8291C7.7010100@morungos.com> Another Snow Leopard user, with a self-compiled 64-bit 5.10.1. I did manage to get some of SDL working, but I ended up with an older version as I couldn't find some of the OSX stuff in newer ones. I run Parallels, so I also have XP with another 5.10.1 based on MinGW. All the best Stuart From mike at stok.ca Mon Feb 22 06:31:09 2010 From: mike at stok.ca (Mike Stok) Date: Mon, 22 Feb 2010 09:31:09 -0500 Subject: [tpm] February Meeting In-Reply-To: <4B8291C7.7010100@morungos.com> References: <04A5ADF9-FDDB-43B2-A09D-15D7AD7FFC30@vilerichard.com> <4B8291C7.7010100@morungos.com> Message-ID: On Feb 22, 2010, at 9:16 AM, Stuart Watt wrote: > Another Snow Leopard user, with a self-compiled 64-bit 5.10.1. I did manage to get some of SDL working, but I ended up with an older version as I couldn't find some of the OSX stuff in newer ones. > > I run Parallels, so I also have XP with another 5.10.1 based on MinGW. > > All the best > Stuart There is some feverish activity going on to get the OS X version of the new SDL bindings in good shape. I have successfully built the new bindings one a VirtualBox ubuntu running as a guest on Snow Leopard, and it ran some code at a respectable frame rate. I hope there will be more news soon. Mike -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. From stuart at morungos.com Mon Feb 22 06:38:03 2010 From: stuart at morungos.com (Stuart Watt) Date: Mon, 22 Feb 2010 09:38:03 -0500 Subject: [tpm] February Meeting In-Reply-To: References: <04A5ADF9-FDDB-43B2-A09D-15D7AD7FFC30@vilerichard.com> <4B8291C7.7010100@morungos.com> Message-ID: <4B8296CB.5090907@morungos.com> Mike Stok wrote: > I have successfully built the new bindings one a VirtualBox ubuntu > running as a guest on Snow Leopard, and it ran some code at a > respectable frame rate. Which Ubuntu? Then I'll install that and have that ready. Incidentally, SDL did work for me, up to the point of running the "pong" demo successfully. It may have helped that I was consistently using 64-bit architectures. Unfortunately, I still get a crash every time I exit an SDL run, and got my first ever grey screen kernel panic under Snow Leopard shortly afterwards. All the best Stuart From mike at stok.ca Mon Feb 22 07:01:24 2010 From: mike at stok.ca (Mike Stok) Date: Mon, 22 Feb 2010 10:01:24 -0500 Subject: [tpm] February Meeting In-Reply-To: <4B8296CB.5090907@morungos.com> References: <04A5ADF9-FDDB-43B2-A09D-15D7AD7FFC30@vilerichard.com> <4B8291C7.7010100@morungos.com> <4B8296CB.5090907@morungos.com> Message-ID: <3377A816-4C7E-4352-867B-63A669416FDC@stok.ca> On Feb 22, 2010, at 9:38 AM, Stuart Watt wrote: > Mike Stok wrote: >> I have successfully built the new bindings one a VirtualBox ubuntu running as a guest on Snow Leopard, and it ran some code at a respectable frame rate. > Which Ubuntu? Then I'll install that and have that ready. I'm using Ubuntu 9.10 on VirtualBox 3.1.4 > > Incidentally, SDL did work for me, up to the point of running the "pong" demo successfully. It may have helped that I was consistently using 64-bit architectures. Unfortunately, I still get a crash every time I exit an SDL run, and got my first ever grey screen kernel panic under Snow Leopard shortly afterwards. :-) Mike > > All the best > Stuart -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. From linux at alteeve.com Mon Feb 22 11:28:01 2010 From: linux at alteeve.com (Digimer) Date: Mon, 22 Feb 2010 14:28:01 -0500 Subject: [tpm] Detect a module's directory Message-ID: <4B82DAC1.90803@alteeve.com> Hi all, Possibly stupid question time... Is there a reliable* way to detect or read the directory that a perl module is in? '$ENV{PWD}' returns the directory of the script loading the module, not of the module itself. My Google-fu is failing me as finding a solution, too. The reason I need this is that my core module reads in a configuration file from the root of the module's directory. I could hard-code it, but I would rather it be flexible in case it gets moved down the road. Thanks! Madi *Reliable in that it'd work when run from cron, work if/when the module is moved, etc. From stuart at morungos.com Mon Feb 22 11:42:45 2010 From: stuart at morungos.com (Stuart Watt) Date: Mon, 22 Feb 2010 14:42:45 -0500 Subject: [tpm] Detect a module's directory In-Reply-To: <4B82DAC1.90803@alteeve.com> References: <4B82DAC1.90803@alteeve.com> Message-ID: <4B82DE35.6070201@morungos.com> Digimer wrote: > Is there a reliable* way to detect or read the directory that a perl > module is in? '$ENV{PWD}' returns the directory of the script loading > the module, not of the module itself. My Google-fu is failing me as > finding a solution, too. > > The reason I need this is that my core module reads in a > configuration file from the root of the module's directory. I could > hard-code it, but I would rather it be flexible in case it gets moved > down the road. If you've loaded it, %INC contains what you need. However, Class::Inspector is probably more helpful, and probably does everything you need in one go. For example: print Class::Inspector->resolved_filename( 'Log::Log4perl' ); print Class::Inspector->loaded_filename( 'Log::Log4perl' ); These are slightly different. One says where it would be loaded from, and the second where it was loaded from. The first can change, in theory, if people change @INC. All the best Stuart From shlomif at iglu.org.il Mon Feb 22 11:48:37 2010 From: shlomif at iglu.org.il (Shlomi Fish) Date: Mon, 22 Feb 2010 21:48:37 +0200 Subject: [tpm] Detect a module's directory In-Reply-To: <4B82DAC1.90803@alteeve.com> References: <4B82DAC1.90803@alteeve.com> Message-ID: <201002222148.38690.shlomif@iglu.org.il> Hi Madi! On Monday 22 Feb 2010 21:28:01 Digimer wrote: > Hi all, > > Possibly stupid question time... > > Is there a reliable* way to detect or read the directory that a perl > module is in? '$ENV{PWD}' returns the directory of the script loading > the module, not of the module itself. My Google-fu is failing me as > finding a solution, too. > Yes, there is: see %INC in http://perldoc.perl.org/perlvar.html : {{{ %INC The hash %INC contains entries for each filename included via the do, require, or use operators. The key is the filename you specified (with module names converted to pathnames), and the value is the location of the file found. The require operator uses this hash to determine whether a particular file has already been included. If the file was loaded via a hook (e.g. a subroutine reference, see require for a description of these hooks), this hook is by default inserted into %INC in place of a filename. Note, however, that the hook may have set the %INC entry by itself to provide some more specific info. }}} Regards, Shlomi Fish P.S: can someone get rid of the toronto-pm at pm.org / tpm at to.pm.org duality? Reply all on KMail keeps wanting to post it twice. > The reason I need this is that my core module reads in a > configuration file from the root of the module's directory. I could > hard-code it, but I would rather it be flexible in case it gets moved > down the road. > > Thanks! > > Madi -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Stop Using MSIE - http://www.shlomifish.org/no-ie/ Deletionists delete Wikipedia articles that they consider lame. Chuck Norris deletes deletionists whom he considers lame. Please reply to list if it's a mailing list post - http://shlom.in/reply . From jztam at yahoo.com Mon Feb 22 12:15:11 2010 From: jztam at yahoo.com (J Z Tam) Date: Mon, 22 Feb 2010 12:15:11 -0800 (PST) Subject: [tpm] Detect a module's directory In-Reply-To: <4B82DAC1.90803@alteeve.com> Message-ID: <435474.68531.qm@web57604.mail.re1.yahoo.com> hey Madi, During dev, under Windoze, I would invoke testApp.pl with: 1. Finding out which major rev of perl I am currently calling: perl -V 1.1 But double check the eventual runner's path/shell/profile/mounts/permissions, and @INC 2. then, debug it: this would reveal the pathspec on Windows at runtime. perl -d testLDAP.pl 2.1 For instance, to query the runtime location of 'which' Net::LDAP is being called at runtime, I n)ext through the debugging, and use the 'n' command, until I hit the entry point into 'bind' in Net::LDAP 2.2 Once testLDAP.pl is About to interpret 'Net::LDAP::bind', method/call from Net::LDAP, I switch to the 's' command, alias s)tep INTO the LDAP.pm::bind code. The debugger shows the pathspec/\filespec/\lineNumber. e.g.: D:\home\itjdt\src\perl\ perl -d testLDAP.pl jordan Loading DB routines from perl5db.pl version 1.3 Editor support available. Enter h or `h h' for help, or `perldoc perldebug' for more help. main::(testLDAP.pl:5): my $cn =$ARGV[0]; DB<1> n main::(testLDAP.pl:6): my $ldap; DB<1> main::(testLDAP.pl:7): my $mesg; DB<1> main::(testLDAP.pl:8): my $entry; DB<1> main::(testLDAP.pl:9): my $pw; DB<1> main::(testLDAP.pl:12): my $shortid = $ENV{ USERNAME }; DB<1> main::(testLDAP.pl:17): open(PASSFILE, "<$passfile"); DB<4> n main::(testLDAP.pl:18): $pw = ; DB<4> main::(testLDAP.pl:19): chomp($pw); DB<4> main::(testLDAP.pl:21): $ldap = Net::LDAP->new( 'domaincontroller001.foobar.com' ) or die "$@"; DB<4> main::(testLDAP.pl:27): $mesg = $ldap->bind ( "$shortid\@foobar.com", password => "$pw", version =>3 ) ; DB<4> s Net::LDAP::bind(D:/Perl/site/lib/Net/LDAP.pm:332): 332: my $ldap = shift; --- On Mon, 2/22/10, Digimer wrote: > From: Digimer > Subject: [tpm] Detect a module's directory > To: "Toronto Perl Mongers" > Received: Monday, February 22, 2010, 2:28 PM > Hi all, > > ? Possibly stupid question time... > > ? Is there a reliable* way to detect or read the > directory that a perl module is in? '$ENV{PWD}' returns the > directory of the script loading the module, not of the > module itself. My Google-fu is failing me as finding a > solution, too. > > ? The reason I need this is that my core module reads > in a configuration file from the root of the module's > directory. I could hard-code it, but I would rather it be > flexible in case it gets moved down the road. > > Thanks! > > Madi > > *Reliable in that it'd work when run from cron, work > if/when the module is moved, etc. > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > __________________________________________________________________ Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com From sfryer at sourcery.ca Mon Feb 22 12:18:30 2010 From: sfryer at sourcery.ca (Shaun Fryer) Date: Mon, 22 Feb 2010 15:18:30 -0500 Subject: [tpm] Detect a module's directory In-Reply-To: <4B82DAC1.90803@alteeve.com> References: <4B82DAC1.90803@alteeve.com> Message-ID: <982579711002221218v655faa30qcad7edacd2f3829d@mail.gmail.com> if the code will be in the module itself, I believe (IIRC) the __FILE__ pragma will do the trick. you just need to strip off the filename and voila! hope that helps. -- Shaun Fryer On Mon, Feb 22, 2010 at 2:28 PM, Digimer wrote: > Hi all, > > ?Possibly stupid question time... > > ?Is there a reliable* way to detect or read the directory that a perl module > is in? '$ENV{PWD}' returns the directory of the script loading the module, > not of the module itself. My Google-fu is failing me as finding a solution, > too. > > ?The reason I need this is that my core module reads in a configuration file > from the root of the module's directory. I could hard-code it, but I would > rather it be flexible in case it gets moved down the road. > > Thanks! > > Madi > > *Reliable in that it'd work when run from cron, work if/when the module is > moved, etc. > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > From thakore.kartik at gmail.com Mon Feb 22 15:12:34 2010 From: thakore.kartik at gmail.com (Kartik Thakore) Date: Mon, 22 Feb 2010 18:12:34 -0500 Subject: [tpm] February Meeting In-Reply-To: <3377A816-4C7E-4352-867B-63A669416FDC@stok.ca> References: <04A5ADF9-FDDB-43B2-A09D-15D7AD7FFC30@vilerichard.com> <4B8291C7.7010100@morungos.com> <4B8296CB.5090907@morungos.com> <3377A816-4C7E-4352-867B-63A669416FDC@stok.ca> Message-ID: Hi Stuart, We have updated SDL perl for 64 bit and Mac OSX building. Please try the git hub tarballs. http://github.com/kthakore/Alien_SDL/tarball/master http://github.com/kthakore/SDL_perl/tarball/redesign Please let me know how it went. Kartik Thakore On Mon, Feb 22, 2010 at 10:01 AM, Mike Stok wrote: > > On Feb 22, 2010, at 9:38 AM, Stuart Watt wrote: > > > Mike Stok wrote: > >> I have successfully built the new bindings one a VirtualBox ubuntu > running as a guest on Snow Leopard, and it ran some code at a respectable > frame rate. > > Which Ubuntu? Then I'll install that and have that ready. > > I'm using Ubuntu 9.10 on VirtualBox 3.1.4 > > > > > Incidentally, SDL did work for me, up to the point of running the "pong" > demo successfully. It may have helped that I was consistently using 64-bit > architectures. Unfortunately, I still get a crash every time I exit an SDL > run, and got my first ever grey screen kernel panic under Snow Leopard > shortly afterwards. > > :-) > > Mike > > > > > All the best > > Stuart > > -- > > Mike Stok > http://www.stok.ca/~mike/ > > The "`Stok' disclaimers" apply. > > > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From thakore.kartik at gmail.com Mon Feb 22 17:23:31 2010 From: thakore.kartik at gmail.com (Kartik Thakore) Date: Mon, 22 Feb 2010 20:23:31 -0500 Subject: [tpm] February Meeting In-Reply-To: <5789BBD1-5ED0-49F0-9AFE-A3A4AD748C40@morungos.com> References: <04A5ADF9-FDDB-43B2-A09D-15D7AD7FFC30@vilerichard.com> <4B8291C7.7010100@morungos.com> <4B8296CB.5090907@morungos.com> <3377A816-4C7E-4352-867B-63A669416FDC@stok.ca> <5789BBD1-5ED0-49F0-9AFE-A3A4AD748C40@morungos.com> Message-ID: Stuart, You need to do env ARCHFLAGS="-arch x86_64" ./Build bundle SDLPerl.app/Contents/MacOS/SDLPerl `pwd`/shooter.pl where shooter.pl is http://gist.github.com/301949 see this http://blogs.perl.org/users/brian_d_foy/2010/02/i-almost-have-sdl-perl-working-on-snow-leopard.html SDL_perl built properly but MacOSX prevents gui access with out some xcode. So we have to use Build bundle. Good luck! On Mon, Feb 22, 2010 at 8:14 PM, Stuart Watt wrote: > Many thanks for your help, Kartik. And I'm happy to test this as much as I > can. I've played a little with Ogre before, but I never knew Python half as > well as Perl, so if I can use this I'll be much happier. > > Alien-SDL worked fine initially, but that was with an incomplete SDL that > I'd installed. I needed to install a couple of additional modules > Params::Util and Digest::SHA1. I'd selected Option 1 to use that, and then > Alien::SDL installed but did show a test error or several. > > SDL_perl was another matter. After I'd followed the Option 1 install the > tests failed, and failed noisily. These were similar errors to those I'd > seen before. > > So I tried Option 2 for Alien-SDL, and then that wouldn't test either - > report attached. > > Should I switch to the Apple Perl and try again? Or I could clean out SDL > and start with a manual install of that based on the stuff that Alien-SDL > downloaded? Any recommendations welcome. > > All the best > Stuart > > > > On 2010-02-22, at 6:12 PM, Kartik Thakore wrote: > > Hi Stuart, > > We have updated SDL perl for 64 bit and Mac OSX building. Please try the > git hub tarballs. > > http://github.com/kthakore/Alien_SDL/tarball/master > > http://github.com/kthakore/SDL_perl/tarball/redesign > > Please let me know how it went. > > Kartik Thakore > > > > On Mon, Feb 22, 2010 at 10:01 AM, Mike Stok wrote: > >> >> On Feb 22, 2010, at 9:38 AM, Stuart Watt wrote: >> >> > Mike Stok wrote: >> >> I have successfully built the new bindings one a VirtualBox ubuntu >> running as a guest on Snow Leopard, and it ran some code at a respectable >> frame rate. >> > Which Ubuntu? Then I'll install that and have that ready. >> >> I'm using Ubuntu 9.10 on VirtualBox 3.1.4 >> >> > >> > Incidentally, SDL did work for me, up to the point of running the "pong" >> demo successfully. It may have helped that I was consistently using 64-bit >> architectures. Unfortunately, I still get a crash every time I exit an SDL >> run, and got my first ever grey screen kernel panic under Snow Leopard >> shortly afterwards. >> >> :-) >> >> Mike >> >> > >> > All the best >> > Stuart >> >> -- >> >> Mike Stok >> http://www.stok.ca/~mike/ >> >> The "`Stok' disclaimers" apply. >> >> >> >> >> _______________________________________________ >> toronto-pm mailing list >> toronto-pm at pm.org >> http://mail.pm.org/mailman/listinfo/toronto-pm >> > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From thakore.kartik at gmail.com Mon Feb 22 18:09:17 2010 From: thakore.kartik at gmail.com (Kartik Thakore) Date: Mon, 22 Feb 2010 21:09:17 -0500 Subject: [tpm] February Meeting In-Reply-To: <786883A5-F13D-412E-9D4A-C5AF39A4CE75@morungos.com> References: <04A5ADF9-FDDB-43B2-A09D-15D7AD7FFC30@vilerichard.com> <4B8291C7.7010100@morungos.com> <4B8296CB.5090907@morungos.com> <3377A816-4C7E-4352-867B-63A669416FDC@stok.ca> <5789BBD1-5ED0-49F0-9AFE-A3A4AD748C40@morungos.com> <786883A5-F13D-412E-9D4A-C5AF39A4CE75@morungos.com> Message-ID: Did the game run? Where you able to play it? On Mon, Feb 22, 2010 at 8:56 PM, Stuart Watt wrote: > OK, I installed SDL (I'm still using a local user Perl) and built the > bundle, ran it, and got the following: > > Macintosh:kthakore-SDL_perl-7d36625 stuart$ > SDLPerl.app/Contents/MacOS/SDLPerl > /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/ > shooter.pl > ARGC 2 > ARGV[0] SDLPerl.app/Contents/MacOS/SDLPerl > ARGV[1] > /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/ > shooter.pl > [main] SCRIPT: > /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/ > shooter.pl > Application will finish launching > Done with menu > openFile > /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/ > shooter.pl > Setting directory: true > Setup working directory ? TruePATH: > /Users/stuart/kthakore-SDL_perl-7d36625/SDLPerl.app > launchgin perl > Launching script: > /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/ > shooter.pl > LIBPATH: > /Users/stuart/kthakore-SDL_perl-7d36625/SDLPerl.app/Contents/Resources/lib/darwin-multi-2level > Running perl > Use of inherited AUTOLOAD for non-method > SDL::GFX::Primitives::filled_circle_color() is deprecated at > /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/ > shooter.pl line 319. > Can't locate auto/SDL/GFX/Primitives/filled_circ.al in @INC (@INC > contains: > /Users/stuart/kthakore-SDL_perl-7d36625/SDLPerl.app/Contents/Resources/lib/darwin-multi-2level > /Users/stuart/perl/lib/5.10.1/darwin-multi-2level > /Users/stuart/perl/lib/5.10.1 > /Users/stuart/perl/lib/site_perl/5.10.1/darwin-multi-2level > /Users/stuart/perl/lib/site_perl/5.10.1 .) at > /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/ > shooter.pl line 319 > Destructing perl > Freeing perl > Quiting perl script: > /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/ > shooter.pl > Application did finish launching > Quitting Event > Terminating NSApp > 2010-02-22 20:54:57.093 SDLPerl[71767:903] *** __NSAutoreleaseNoPool(): > Object 0x10066afa0 of class SDL_QuartzWindow autoreleased with no pool in > place - just leaking > Macintosh:kthakore-SDL_perl-7d36625 stuart$ > > > All the best > Stuart > > On 2010-02-22, at 8:23 PM, Kartik Thakore wrote: > > Stuart, > > You need to do > > env ARCHFLAGS="-arch x86_64" ./Build bundle > > SDLPerl.app/Contents/MacOS/SDLPerl `pwd`/shooter.pl > > > where shooter.pl is http://gist.github.com/301949 > > see this > http://blogs.perl.org/users/brian_d_foy/2010/02/i-almost-have-sdl-perl-working-on-snow-leopard.html > > SDL_perl built properly but MacOSX prevents gui access with out some xcode. > So we have to use Build bundle. > > Good luck! > > > > > > On Mon, Feb 22, 2010 at 8:14 PM, Stuart Watt wrote: > >> Many thanks for your help, Kartik. And I'm happy to test this as much as I >> can. I've played a little with Ogre before, but I never knew Python half as >> well as Perl, so if I can use this I'll be much happier. >> >> Alien-SDL worked fine initially, but that was with an incomplete SDL that >> I'd installed. I needed to install a couple of additional modules >> Params::Util and Digest::SHA1. I'd selected Option 1 to use that, and then >> Alien::SDL installed but did show a test error or several. >> >> SDL_perl was another matter. After I'd followed the Option 1 install the >> tests failed, and failed noisily. These were similar errors to those I'd >> seen before. >> >> So I tried Option 2 for Alien-SDL, and then that wouldn't test either - >> report attached. >> >> Should I switch to the Apple Perl and try again? Or I could clean out SDL >> and start with a manual install of that based on the stuff that Alien-SDL >> downloaded? Any recommendations welcome. >> >> All the best >> Stuart >> >> >> >> On 2010-02-22, at 6:12 PM, Kartik Thakore wrote: >> >> Hi Stuart, >> >> We have updated SDL perl for 64 bit and Mac OSX building. Please try the >> git hub tarballs. >> >> http://github.com/kthakore/Alien_SDL/tarball/master >> >> http://github.com/kthakore/SDL_perl/tarball/redesign >> >> Please let me know how it went. >> >> Kartik Thakore >> >> >> >> On Mon, Feb 22, 2010 at 10:01 AM, Mike Stok wrote: >> >>> >>> On Feb 22, 2010, at 9:38 AM, Stuart Watt wrote: >>> >>> > Mike Stok wrote: >>> >> I have successfully built the new bindings one a VirtualBox ubuntu >>> running as a guest on Snow Leopard, and it ran some code at a respectable >>> frame rate. >>> > Which Ubuntu? Then I'll install that and have that ready. >>> >>> I'm using Ubuntu 9.10 on VirtualBox 3.1.4 >>> >>> > >>> > Incidentally, SDL did work for me, up to the point of running the >>> "pong" demo successfully. It may have helped that I was consistently using >>> 64-bit architectures. Unfortunately, I still get a crash every time I exit >>> an SDL run, and got my first ever grey screen kernel panic under Snow >>> Leopard shortly afterwards. >>> >>> :-) >>> >>> Mike >>> >>> > >>> > All the best >>> > Stuart >>> >>> -- >>> >>> Mike Stok >>> http://www.stok.ca/~mike/ >>> >>> The "`Stok' disclaimers" apply. >>> >>> >>> >>> >>> _______________________________________________ >>> toronto-pm mailing list >>> toronto-pm at pm.org >>> http://mail.pm.org/mailman/listinfo/toronto-pm >>> >> >> >> >> >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at morungos.com Mon Feb 22 18:24:48 2010 From: stuart at morungos.com (Stuart Watt) Date: Mon, 22 Feb 2010 21:24:48 -0500 Subject: [tpm] February Meeting In-Reply-To: References: <04A5ADF9-FDDB-43B2-A09D-15D7AD7FFC30@vilerichard.com> <4B8291C7.7010100@morungos.com> <4B8296CB.5090907@morungos.com> <3377A816-4C7E-4352-867B-63A669416FDC@stok.ca> <5789BBD1-5ED0-49F0-9AFE-A3A4AD748C40@morungos.com> <786883A5-F13D-412E-9D4A-C5AF39A4CE75@morungos.com> Message-ID: <901DC04C-7B08-4FC4-9A03-C79EB1D40700@morungos.com> No joy - it exited immediately. I did manage to get the old API version working OK, bundle and all. --S On 2010-02-22, at 9:09 PM, Kartik Thakore wrote: > Did the game run? Where you able to play it? > > On Mon, Feb 22, 2010 at 8:56 PM, Stuart Watt wrote: > OK, I installed SDL (I'm still using a local user Perl) and built the bundle, ran it, and got the following: > >> Macintosh:kthakore-SDL_perl-7d36625 stuart$ SDLPerl.app/Contents/MacOS/SDLPerl /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/shooter.pl >> ARGC 2 >> ARGV[0] SDLPerl.app/Contents/MacOS/SDLPerl >> ARGV[1] /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/shooter.pl >> [main] SCRIPT: /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/shooter.pl >> Application will finish launching >> Done with menu >> openFile /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/shooter.pl >> Setting directory: true >> Setup working directory ? TruePATH: /Users/stuart/kthakore-SDL_perl-7d36625/SDLPerl.app >> launchgin perl >> Launching script: /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/shooter.pl >> LIBPATH: /Users/stuart/kthakore-SDL_perl-7d36625/SDLPerl.app/Contents/Resources/lib/darwin-multi-2level >> Running perl >> Use of inherited AUTOLOAD for non-method SDL::GFX::Primitives::filled_circle_color() is deprecated at /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/shooter.pl line 319. >> Can't locate auto/SDL/GFX/Primitives/filled_circ.al in @INC (@INC contains: /Users/stuart/kthakore-SDL_perl-7d36625/SDLPerl.app/Contents/Resources/lib/darwin-multi-2level /Users/stuart/perl/lib/5.10.1/darwin-multi-2level /Users/stuart/perl/lib/5.10.1 /Users/stuart/perl/lib/site_perl/5.10.1/darwin-multi-2level /Users/stuart/perl/lib/site_perl/5.10.1 .) at /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/shooter.pl line 319 >> Destructing perl >> Freeing perl >> Quiting perl script: /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/shooter.pl >> Application did finish launching >> Quitting Event >> Terminating NSApp >> 2010-02-22 20:54:57.093 SDLPerl[71767:903] *** __NSAutoreleaseNoPool(): Object 0x10066afa0 of class SDL_QuartzWindow autoreleased with no pool in place - just leaking >> Macintosh:kthakore-SDL_perl-7d36625 stuart$ > > All the best > Stuart > > On 2010-02-22, at 8:23 PM, Kartik Thakore wrote: > >> Stuart, >> >> You need to do >> >> env ARCHFLAGS="-arch x86_64" ./Build bundle >> SDLPerl.app/Contents/MacOS/SDLPerl `pwd`/shooter.pl >> >> >> >> >> where shooter.pl is http://gist.github.com/301949 >> see this http://blogs.perl.org/users/brian_d_foy/2010/02/i-almost-have-sdl-perl-working-on-snow-leopard.html >> >> SDL_perl built properly but MacOSX prevents gui access with out some xcode. So we have to use Build bundle. >> >> Good luck! >> >> >> >> >> >> On Mon, Feb 22, 2010 at 8:14 PM, Stuart Watt wrote: >> Many thanks for your help, Kartik. And I'm happy to test this as much as I can. I've played a little with Ogre before, but I never knew Python half as well as Perl, so if I can use this I'll be much happier. >> >> Alien-SDL worked fine initially, but that was with an incomplete SDL that I'd installed. I needed to install a couple of additional modules Params::Util and Digest::SHA1. I'd selected Option 1 to use that, and then Alien::SDL installed but did show a test error or several. >> >> SDL_perl was another matter. After I'd followed the Option 1 install the tests failed, and failed noisily. These were similar errors to those I'd seen before. >> >> So I tried Option 2 for Alien-SDL, and then that wouldn't test either - report attached. >> >> Should I switch to the Apple Perl and try again? Or I could clean out SDL and start with a manual install of that based on the stuff that Alien-SDL downloaded? Any recommendations welcome. >> >> All the best >> Stuart >> >> >> >> On 2010-02-22, at 6:12 PM, Kartik Thakore wrote: >> >>> Hi Stuart, >>> >>> We have updated SDL perl for 64 bit and Mac OSX building. Please try the git hub tarballs. >>> >>> http://github.com/kthakore/Alien_SDL/tarball/master >>> >>> http://github.com/kthakore/SDL_perl/tarball/redesign >>> >>> Please let me know how it went. >>> >>> Kartik Thakore >>> >>> >>> >>> On Mon, Feb 22, 2010 at 10:01 AM, Mike Stok wrote: >>> >>> On Feb 22, 2010, at 9:38 AM, Stuart Watt wrote: >>> >>> > Mike Stok wrote: >>> >> I have successfully built the new bindings one a VirtualBox ubuntu running as a guest on Snow Leopard, and it ran some code at a respectable frame rate. >>> > Which Ubuntu? Then I'll install that and have that ready. >>> >>> I'm using Ubuntu 9.10 on VirtualBox 3.1.4 >>> >>> > >>> > Incidentally, SDL did work for me, up to the point of running the "pong" demo successfully. It may have helped that I was consistently using 64-bit architectures. Unfortunately, I still get a crash every time I exit an SDL run, and got my first ever grey screen kernel panic under Snow Leopard shortly afterwards. >>> >>> :-) >>> >>> Mike >>> >>> > >>> > All the best >>> > Stuart >>> >>> -- >>> >>> Mike Stok >>> http://www.stok.ca/~mike/ >>> >>> The "`Stok' disclaimers" apply. >>> >>> >>> >>> >>> _______________________________________________ >>> toronto-pm mailing list >>> toronto-pm at pm.org >>> http://mail.pm.org/mailman/listinfo/toronto-pm >>> >> >> >> >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at morungos.com Mon Feb 22 18:46:57 2010 From: stuart at morungos.com (Stuart Watt) Date: Mon, 22 Feb 2010 21:46:57 -0500 Subject: [tpm] February Meeting In-Reply-To: References: <04A5ADF9-FDDB-43B2-A09D-15D7AD7FFC30@vilerichard.com> <4B8291C7.7010100@morungos.com> <4B8296CB.5090907@morungos.com> <3377A816-4C7E-4352-867B-63A669416FDC@stok.ca> <5789BBD1-5ED0-49F0-9AFE-A3A4AD748C40@morungos.com> <786883A5-F13D-412E-9D4A-C5AF39A4CE75@morungos.com> Message-ID: <698C6EF3-EADF-4A75-AC5F-B8A62C125264@morungos.com> On 2010-02-22, at 9:09 PM, Kartik Thakore wrote: > Did the game run? Where you able to play it? OK, got there. I had to build SDL_gfx, and to do that I had to pass --disable-mmx to ./configure or it crashed out on pusha not being allowed in 64-bit mode. When I rebuilt everything shooter worked and I could even click stuff. I still get a crash on program exit, but this is a major ++ !! Still running 64-bit Perl 5.10.1 > The new API is not back comapt. :( oh well. More work to be done. But probably closer than I'd expected. Good one!!! All the best Stuart From thakore.kartik at gmail.com Mon Feb 22 19:07:55 2010 From: thakore.kartik at gmail.com (Kartik Thakore) Date: Mon, 22 Feb 2010 22:07:55 -0500 Subject: [tpm] February Meeting Message-ID: <10C64197-F1F2-4F36-8C68-FD0CDEDA2F69@gmail.com> what is your perl -e 'use Config; print $Config{archname}' I think we missed you archname in the alien build. Kartik Thakore On 2010-02-22, at 9:46 PM, Stuart Watt wrote: > On 2010-02-22, at 9:09 PM, Kartik Thakore wrote: > >> Did the game run? Where you able to play it? > > OK, got there. > > I had to build SDL_gfx, and to do that I had to pass --disable-mmx > to ./configure or it crashed out on pusha not being allowed in 64- > bit mode. When I rebuilt everything shooter worked and I could even > click stuff. I still get a crash on program exit, but this is a > major ++ !! > > Still running 64-bit Perl 5.10.1 > >> The new API is not back comapt. :( oh well. More work to be done. > > But probably closer than I'd expected. Good one!!! > > All the best > Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at morungos.com Mon Feb 22 19:27:49 2010 From: stuart at morungos.com (Stuart Watt) Date: Mon, 22 Feb 2010 22:27:49 -0500 Subject: [tpm] February Meeting In-Reply-To: <10C64197-F1F2-4F36-8C68-FD0CDEDA2F69@gmail.com> References: <10C64197-F1F2-4F36-8C68-FD0CDEDA2F69@gmail.com> Message-ID: <34A36268-F235-41B1-AE5B-A2F32CB997C6@morungos.com> Printed: darwin-multi-2level The OSX 10.6.2 standard Perl prints: darwin-thread-multi-2level All the best Stuart On 2010-02-22, at 10:07 PM, Kartik Thakore wrote: > what is your > perl -e 'use Config; print $Config{archname}' > > I think we missed you archname in the alien build. > > Kartik Thakore -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at stok.ca Tue Feb 23 11:02:15 2010 From: mike at stok.ca (Mike Stok) Date: Tue, 23 Feb 2010 14:02:15 -0500 Subject: [tpm] Meeting: Thursday 25 February 2010 Message-ID: On Thursday 25 February Kartik Thakore will be talking about Perl SDL bindings. Bring along a laptop and you should be able to try installing SDL and the new Perl bindings, and then be able to run Kartik's demo code. We are in classroom 11 on the 8th floor. Mike Location: 2 Bloor Street West, (usually) 8th or 16th floor. The room number will be announced on the mailing list a few days before the meeting. It will also be left with the security desk in the building (main floor lobby) shortly before the meeting starts (i.e. around 6pm). Time: 6:45 p.m. Directions: This building is on the north-west corner of Bloor and Yonge, accessible by subway from Bloor station. Pay parking is also ample in this area. Security note: The elevators in the building are "locked down" after 5:30pm to people without building access cards. Leading up to the meeting someone will come down to the main floor lobby every few minutes to ferry people upstairs. There will be a number of scheduled trips: 17:30 18:00 18:30 18:45 19:00 After 19:00, you can reach the access-card-carrying guy via a cell phone number that we'll leave with security in the front lobby. The room and floor numbers will be left with security too. If any latecomers call up there will be a final group elevator run at 19:10. After that, access will be ad-hoc; call up from security and somebody will try to come down and let you up. -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply. -------------- next part -------------- An HTML attachment was scrubbed... URL: From thakore.kartik at gmail.com Wed Feb 24 09:47:44 2010 From: thakore.kartik at gmail.com (Kartik Thakore) Date: Wed, 24 Feb 2010 12:47:44 -0500 Subject: [tpm] SETUP Meeting: Thursday 25 February 2010 In-Reply-To: References: Message-ID: <516A7FE9-0D91-49C0-9BA2-4F65F66F4D36@gmail.com> Hello, To get set up for the meeting I have prepared a page for all platforms. I will bring some tarballs. But please try to get it set up. Here is the link. http://sdlperl.ath.cx/projects/SDLPerl/wiki/TPMFeb2010 Kartik Thakore On 2010-02-23, at 2:02 PM, Mike Stok wrote: > On Thursday 25 February Kartik Thakore will be talking about Perl > SDL bindings. Bring along a laptop and you should be able to try > installing SDL and the new Perl bindings, and then be able to run > Kartik's demo code. > > We are in classroom 11 on the 8th floor. > > Mike > > Location: 2 Bloor Street West, (usually) 8th or 16th floor. The room > number will be announced on the mailing list a few days before the > meeting. It will also be left with the security desk in the building > (main floor lobby) shortly before the meeting starts (i.e. around > 6pm). > Time: 6:45 p.m. > > Directions: This building is on the north-west corner of Bloor and > Yonge, accessible by subway from Bloor station. Pay parking is also > ample in this area. > > Security note: The elevators in the building are "locked down" after > 5:30pm to people without building access cards. Leading up to the > meeting someone will come down to the main floor lobby every few > minutes to ferry people upstairs. There will be a number of > scheduled trips: > > 17:30 > 18:00 > 18:30 > 18:45 > 19:00 > After 19:00, you can reach the access-card-carrying guy via a cell > phone number that we'll leave with security in the front lobby. The > room and floor numbers will be left with security too. > > If any latecomers call up there will be a final group elevator run > at 19:10. After that, access will be ad-hoc; call up from security > and somebody will try to come down and let you up. > > -- > > Mike Stok > http://www.stok.ca/~mike/ > > The "`Stok' disclaimers" apply. > > > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at yeltonfiscal.com Thu Feb 25 14:04:12 2010 From: chris at yeltonfiscal.com (Chris Issariotis) Date: Thu, 25 Feb 2010 17:04:12 -0500 Subject: [tpm] Perl Programmer wanted. Message-ID: <4B86F3DC.4060701@yeltonfiscal.com> WANTED Skilled PERL Programmer - to design, code and maintain a PERL-based data transformation engine. The engine, and associated utilities, transform an incoming global stock market feed (~0.6M data points/day) into input for an internal corporate database, provides reporting on the data transformed, and supplies data to tertiary analysis processes. The platform in question is Linux with MySQL as the database. The preferred programmer will: - document the code and system and ensure that good design practices are used - use a revision control system - have a strong familiarity with PERL DBI interfaces and parsing facilities - be available via phone and email, with good English communication skills - must be able to work and communicate with us during standard business hours. Please contact me at the following address chris at taniscott.com or by telephone -- Chris Issariotis Network Manager CDR Corp. Toronto, ON. Canada Tel. 416.839.0707 From abram.hindle at softwareprocess.es Thu Feb 25 21:05:44 2010 From: abram.hindle at softwareprocess.es (Abram Hindle) Date: Fri, 26 Feb 2010 00:05:44 -0500 Subject: [tpm] Katrik's shooter.pl modified with ball seeking action [presented during the last meeting] Message-ID: <4B8756A8.6020607@softwareprocess.es> So I modified Katrik's game by adding a little dude you control with the mouse cursor. He doddles along trying to follow your mouse cursor and eats all balls that bump into him. As he gets fatter he gets slower so you'd better prioritize the order of balls before he gets too slow! http://github.com/abramhindle/shooter---the-ball-eating-game/blob/master/shooter.pl The repo: http://github.com/abramhindle/shooter---the-ball-eating-game abram -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From uri at StemSystems.com Fri Feb 26 11:58:49 2010 From: uri at StemSystems.com (Uri Guttman) Date: Fri, 26 Feb 2010 14:58:49 -0500 Subject: [tpm] Perl Programmer wanted. In-Reply-To: <4B86F3DC.4060701@yeltonfiscal.com> (Chris Issariotis's message of "Thu\, 25 Feb 2010 17\:04\:12 -0500") References: <4B86F3DC.4060701@yeltonfiscal.com> Message-ID: <87r5o7ojk6.fsf@quad.sysarch.com> hi chris, i am expecting your colleague's call at 4:30. btw, we are both eastern time so we don't have to worry about time zone diffs. but i would like to see the code and sample input data before the call. it is 3pm now and that doesn't leave me too much time before the call. so please send me the code and input so i can study and review it. thanx, uri -- Uri Guttman ------ uri at stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- From sfryer at sourcery.ca Fri Feb 26 17:24:43 2010 From: sfryer at sourcery.ca (Shaun Fryer) Date: Fri, 26 Feb 2010 20:24:43 -0500 Subject: [tpm] Katrik's shooter.pl modified with ball seeking action [presented during the last meeting] In-Reply-To: <4B8756A8.6020607@softwareprocess.es> References: <4B8756A8.6020607@softwareprocess.es> Message-ID: <982579711002261724p2b517d0sd23d66a77892241a@mail.gmail.com> sfryer at ubuntu:~$ perl shooter.pl Can't locate SDL/Events.pm in @INC (@INC contains: /home/sfryer/git/catalyst/CO/lib /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at shooter.pl line 43. BEGIN failed--compilation aborted at shooter.pl line 43. sfryer at ubuntu:~$ uname -a Linux ubuntu 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux sfryer at ubuntu:~$ perl --version This is perl, v5.10.0 built for i486-linux-gnu-thread-multi etc.... -- Shaun Fryer 1-647-723-2729 On Fri, Feb 26, 2010 at 12:05 AM, Abram Hindle wrote: > So I modified Katrik's game by adding a little dude you control with the > mouse cursor. He doddles along trying to follow your mouse cursor and > eats all balls that bump into him. As he gets fatter he gets slower so > you'd better prioritize the order of balls before he gets too slow! > > > http://github.com/abramhindle/shooter---the-ball-eating-game/blob/master/shooter.pl > > > The repo: http://github.com/abramhindle/shooter---the-ball-eating-game > > abram > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > > From thakore.kartik at gmail.com Fri Feb 26 17:39:40 2010 From: thakore.kartik at gmail.com (Kartik Thakore) Date: Fri, 26 Feb 2010 20:39:40 -0500 Subject: [tpm] Katrik's shooter.pl modified with ball seeking action [presented during the last meeting] In-Reply-To: <982579711002261724p2b517d0sd23d66a77892241a@mail.gmail.com> References: <4B8756A8.6020607@softwareprocess.es> <982579711002261724p2b517d0sd23d66a77892241a@mail.gmail.com> Message-ID: Please update your SDL_Perl and Alien_SDL versions. See below instructions. I would recommend you remove all SDL packages from apt-get, and use Alien_SDL to compile it for you. http://sdlperl.ath.cx/projects/SDLPerl/wiki/TPMFeb2010 On Fri, Feb 26, 2010 at 8:24 PM, Shaun Fryer wrote: > sfryer at ubuntu:~$ perl shooter.pl > Can't locate SDL/Events.pm in @INC (@INC contains: > /home/sfryer/git/catalyst/CO/lib /etc/perl /usr/local/lib/perl/5.10.0 > /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 > /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at > shooter.pl line 43. > BEGIN failed--compilation aborted at shooter.pl line 43. > > sfryer at ubuntu:~$ uname -a > Linux ubuntu 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC > 2010 i686 GNU/Linux > > sfryer at ubuntu:~$ perl --version > > This is perl, v5.10.0 built for i486-linux-gnu-thread-multi > > etc.... > -- > Shaun Fryer > 1-647-723-2729 > > > > On Fri, Feb 26, 2010 at 12:05 AM, Abram Hindle > wrote: > > So I modified Katrik's game by adding a little dude you control with the > > mouse cursor. He doddles along trying to follow your mouse cursor and > > eats all balls that bump into him. As he gets fatter he gets slower so > > you'd better prioritize the order of balls before he gets too slow! > > > > > > > http://github.com/abramhindle/shooter---the-ball-eating-game/blob/master/shooter.pl > > > > > > The repo: http://github.com/abramhindle/shooter---the-ball-eating-game > > > > abram > > > > > > _______________________________________________ > > toronto-pm mailing list > > toronto-pm at pm.org > > http://mail.pm.org/mailman/listinfo/toronto-pm > > > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbl at jbldata.com Sun Feb 28 00:27:42 2010 From: jbl at jbldata.com (J. Bobby Lopez) Date: Sun, 28 Feb 2010 03:27:42 -0500 Subject: [tpm] Katrik's shooter.pl modified with ball seeking action [presented during the last meeting] In-Reply-To: References: <4B8756A8.6020607@softwareprocess.es> <982579711002261724p2b517d0sd23d66a77892241a@mail.gmail.com> Message-ID: I got to level 30, but then my white ball started to move away from the mouse cursor, not toward it.. and eventually went off screen :) On Fri, Feb 26, 2010 at 8:39 PM, Kartik Thakore wrote: > Please update your SDL_Perl and Alien_SDL versions. > > See below instructions. I would recommend you remove all SDL packages from > apt-get, and use Alien_SDL to compile it for you. > > http://sdlperl.ath.cx/projects/SDLPerl/wiki/TPMFeb2010 > > > On Fri, Feb 26, 2010 at 8:24 PM, Shaun Fryer wrote: > >> sfryer at ubuntu:~$ perl shooter.pl >> Can't locate SDL/Events.pm in @INC (@INC contains: >> /home/sfryer/git/catalyst/CO/lib /etc/perl /usr/local/lib/perl/5.10.0 >> /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 >> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at >> shooter.pl line 43. >> BEGIN failed--compilation aborted at shooter.pl line 43. >> >> sfryer at ubuntu:~$ uname -a >> Linux ubuntu 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC >> 2010 i686 GNU/Linux >> >> sfryer at ubuntu:~$ perl --version >> >> This is perl, v5.10.0 built for i486-linux-gnu-thread-multi >> >> etc.... >> -- >> Shaun Fryer >> 1-647-723-2729 >> >> >> >> On Fri, Feb 26, 2010 at 12:05 AM, Abram Hindle >> wrote: >> > So I modified Katrik's game by adding a little dude you control with the >> > mouse cursor. He doddles along trying to follow your mouse cursor and >> > eats all balls that bump into him. As he gets fatter he gets slower so >> > you'd better prioritize the order of balls before he gets too slow! >> > >> > >> > >> http://github.com/abramhindle/shooter---the-ball-eating-game/blob/master/shooter.pl >> > >> > >> > The repo: http://github.com/abramhindle/shooter---the-ball-eating-game >> > >> > abram >> > >> > >> > _______________________________________________ >> > toronto-pm mailing list >> > toronto-pm at pm.org >> > http://mail.pm.org/mailman/listinfo/toronto-pm >> > >> > >> _______________________________________________ >> toronto-pm mailing list >> toronto-pm at pm.org >> http://mail.pm.org/mailman/listinfo/toronto-pm >> > > > _______________________________________________ > toronto-pm mailing list > toronto-pm at pm.org > http://mail.pm.org/mailman/listinfo/toronto-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From thakore.kartik at gmail.com Sun Feb 28 06:45:23 2010 From: thakore.kartik at gmail.com (Kartik Thakore) Date: Sun, 28 Feb 2010 09:45:23 -0500 Subject: [tpm] Testing a puzzle game for CeBIT demonstration Message-ID: Hi, We are working on a bit longer game then shooter for CEbIT games in about 48 hours. We would love feedback on it: http://github.com/garu/Spinner To get it set up follow this: http://sdlperl.ath.cx/projects/SDLPerl/wiki/TPMFeb2010 To play it: - use arrows to select a menu item (New Game hopefully) -enter to select - use arrows to rotate the small ball on the big ball - get from on ball to another - complete all balls to finish the level - you can add your own levels in data/levels/{\d}.dat - format is in JSON Thank you, Kartik Thakore -------------- next part -------------- An HTML attachment was scrubbed... URL: