Re: [pygame] Citing PyGame in papers

2011-11-07 Thread Ryan Hope
Well I belong to a Cognitive Science lab and we do a lot of
computational models of human performance in a wide range of tasks. I
have a whole battery of tasks written in PyGame from basic
psychological paradigms to 1980's style vector based arcade games. I
have pygame versions of various visual search tasks, the n-back task,
the flanker task, go-nogo, the antisaccade task, multiple object
tracking tasks, SSVEP tasks. They are all capable of integrating with
out eye trackers and EEG.

On Tue, Nov 8, 2011 at 1:17 AM, Alec Bennett  wrote:
> Out of curiosity, what would be an example of an experiment you conduct that 
> involves PyGame?
>
>
>
>
>
>
> On Nov 8, 2011, at 1:13 PM, Ryan Hope  wrote:
>
>> PyGame has increased my productivity as a research by an order of
>> magnitude. Experiment that used to take me weeks to code up in C/X11 I
>> can write in an hour or 2 using pygame and they are more portable.
>>
>> On Mon, Nov 7, 2011 at 4:01 PM, Florian Krause
>>  wrote:
> I create my experiments in PyGame so I figured I would cite it just
> like the people who create their experiments in software like E-Prime.
>

 Cool.  by the way, I think it's really great that PyGame is used in
 experiments, and is getting cited somewhere!

>>>
>>> Actually, we created a Python package that was specifically made for
>>> this purpose, which is also heavily based on PyGame
>>> (http://expyriment.googlecode.com). In fact, PyGame is very suited for
>>> these kind of things, since it handles most important aspects
>>> regarding stimulus presentation and user input. If you think about it,
>>> at a certain level, experiments and video games are have a lot in
>>> common. And PyGame is a superb package for game programming in Python.
>>> So for most people who want to write experiments in Python, the first
>>> stop will always be PyGame.
>>>
>>> Florian
>>>
>>>
>>>
>>>
>>> --
>>> www.fladd.de - fladd.de: Homepage of Florian Krause
>>> blog.fladd.de - fladd's Blog: Blog of Florian Krause
>>> intermezzo.fladd.de - Intermezzo: Music by Florian Krause and Giacomo 
>>> Novembre
>>>
>>
>>
>>
>> --
>> Ryan Hope, M.S.
>> CogWorks Lab
>> Department of Cognitive Science
>> Rensselaer Polytechnic Institute
>



-- 
Ryan Hope, M.S.
CogWorks Lab
Department of Cognitive Science
Rensselaer Polytechnic Institute


Re: [pygame] PYgame Help 1.9.1 please please please

2011-11-07 Thread René Dudfield
Hi,

eek.

Maybe that install does not have a 32bit architecture or 64bit architecture
in there.

To tell what architectures are compile in... In a Terminal, are you able to
run this command for me?

lipo 
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so


I also wonder what your processor is.   Got to top left of screen...  ->
'About this mac', then copy the processor line.
Something like "*Processor* 2.33 GHz Intel Core 2 Duo".

regards,


On Mon, Nov 7, 2011 at 11:20 PM, Zack Baker  wrote:

>   For starters, I am a newish python programmer, far enough along to have 
> my feet wet.  Running Mac OSX Lion (10.7), and python 2.7.2.  I am trying to 
> expand my knowledge and use some packages outside of the base python library.
>   Games are interesting so I decided I'd try pygame after reading many 
> good things about it.  Now I have been to the site and downloaded the install 
> package for OSX Lion, and run it successfully.  But when I try to run the 
> example on the site (line by line chimp example) I get this error message:
>
>   Traceback (most recent call last):
>   File "/private/var/folders/j4/10dtxgh14hl6vdvzzhbbqzdcgn/T/Cleanup At 
> Startup/untitled text 4-337832000.071", line 11, in 
> import os, pygame
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py",
>  line 95, in 
> from pygame.base import *
> ImportError: 
> dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so,
>  2): no suitable image found.  Did find:
>   
> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so:
>  no matching architecture in universal wrapper
>
>
> The program hasn't even made it anywhere else in the code, and I really don't 
> understand what the problem is.  Help would be much appreciated, thank you all
>
> --
>
>
>
>
>
>


Re: [pygame] Citing PyGame in papers

2011-11-07 Thread Alec Bennett
Out of curiosity, what would be an example of an experiment you conduct that 
involves PyGame?






On Nov 8, 2011, at 1:13 PM, Ryan Hope  wrote:

> PyGame has increased my productivity as a research by an order of
> magnitude. Experiment that used to take me weeks to code up in C/X11 I
> can write in an hour or 2 using pygame and they are more portable.
> 
> On Mon, Nov 7, 2011 at 4:01 PM, Florian Krause
>  wrote:
 I create my experiments in PyGame so I figured I would cite it just
 like the people who create their experiments in software like E-Prime.
 
>>> 
>>> Cool.  by the way, I think it's really great that PyGame is used in
>>> experiments, and is getting cited somewhere!
>>> 
>> 
>> Actually, we created a Python package that was specifically made for
>> this purpose, which is also heavily based on PyGame
>> (http://expyriment.googlecode.com). In fact, PyGame is very suited for
>> these kind of things, since it handles most important aspects
>> regarding stimulus presentation and user input. If you think about it,
>> at a certain level, experiments and video games are have a lot in
>> common. And PyGame is a superb package for game programming in Python.
>> So for most people who want to write experiments in Python, the first
>> stop will always be PyGame.
>> 
>> Florian
>> 
>> 
>> 
>> 
>> --
>> www.fladd.de - fladd.de: Homepage of Florian Krause
>> blog.fladd.de - fladd's Blog: Blog of Florian Krause
>> intermezzo.fladd.de - Intermezzo: Music by Florian Krause and Giacomo 
>> Novembre
>> 
> 
> 
> 
> -- 
> Ryan Hope, M.S.
> CogWorks Lab
> Department of Cognitive Science
> Rensselaer Polytechnic Institute


Re: [pygame] Citing PyGame in papers

2011-11-07 Thread Ryan Hope
PyGame has increased my productivity as a research by an order of
magnitude. Experiment that used to take me weeks to code up in C/X11 I
can write in an hour or 2 using pygame and they are more portable.

On Mon, Nov 7, 2011 at 4:01 PM, Florian Krause
 wrote:
>>> I create my experiments in PyGame so I figured I would cite it just
>>> like the people who create their experiments in software like E-Prime.
>>>
>>
>> Cool.  by the way, I think it's really great that PyGame is used in
>> experiments, and is getting cited somewhere!
>>
>
> Actually, we created a Python package that was specifically made for
> this purpose, which is also heavily based on PyGame
> (http://expyriment.googlecode.com). In fact, PyGame is very suited for
> these kind of things, since it handles most important aspects
> regarding stimulus presentation and user input. If you think about it,
> at a certain level, experiments and video games are have a lot in
> common. And PyGame is a superb package for game programming in Python.
> So for most people who want to write experiments in Python, the first
> stop will always be PyGame.
>
> Florian
>
>
>
>
> --
> www.fladd.de - fladd.de: Homepage of Florian Krause
> blog.fladd.de - fladd's Blog: Blog of Florian Krause
> intermezzo.fladd.de - Intermezzo: Music by Florian Krause and Giacomo Novembre
>



-- 
Ryan Hope, M.S.
CogWorks Lab
Department of Cognitive Science
Rensselaer Polytechnic Institute


Re: [pygame] Citing PyGame in papers

2011-11-07 Thread Lee Buckingham
Likewise!

I'll soon be in my PhD program in computational ecology, and will certainly
use pygame along side R, depending on what kind of visualizations, etc.
that I need.  It's just so handy a tool to have!

-Lee-

On Mon, Nov 7, 2011 at 1:01 PM, Florian Krause
wrote:

> >> I create my experiments in PyGame so I figured I would cite it just
> >> like the people who create their experiments in software like E-Prime.
> >>
> >
> > Cool.  by the way, I think it's really great that PyGame is used in
> > experiments, and is getting cited somewhere!
> >
>
> Actually, we created a Python package that was specifically made for
> this purpose, which is also heavily based on PyGame
> (http://expyriment.googlecode.com). In fact, PyGame is very suited for
> these kind of things, since it handles most important aspects
> regarding stimulus presentation and user input. If you think about it,
> at a certain level, experiments and video games are have a lot in
> common. And PyGame is a superb package for game programming in Python.
> So for most people who want to write experiments in Python, the first
> stop will always be PyGame.
>
> Florian
>
>
>
>
> --
> www.fladd.de - fladd.de: Homepage of Florian Krause
> blog.fladd.de - fladd's Blog: Blog of Florian Krause
> intermezzo.fladd.de - Intermezzo: Music by Florian Krause and Giacomo
> Novembre
>


Re: [pygame] PYgame Help 1.9.1 please please please

2011-11-07 Thread Ian Mallett
Some basic Googling suggests that this is a problem related to 32 bit
versus 64 bit.  You did install the correct PyGame distribution for your
computer?


[pygame] PYgame Help 1.9.1 please please please

2011-11-07 Thread Zack Baker
For starters, I am a newish python programmer, far enough along to have 
my feet wet.  Running Mac OSX Lion (10.7), and python 2.7.2.  I am trying to 
expand my knowledge and use some packages outside of the base python library.  
Games are interesting so I decided I'd try pygame after reading many 
good things about it.  Now I have been to the site and downloaded the install 
package for OSX Lion, and run it successfully.  But when I try to run the 
example on the site (line by line chimp example) I get this error message:

Traceback (most recent call last):
  File "/private/var/folders/j4/10dtxgh14hl6vdvzzhbbqzdcgn/T/Cleanup At 
Startup/untitled text 4-337832000.071", line 11, in 
import os, pygame
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py",
 line 95, in 
from pygame.base import *
ImportError: 
dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so,
 2): no suitable image found.  Did find:

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so:
 no matching architecture in universal wrapper


The program hasn't even made it anywhere else in the code, and I really don't 
understand what the problem is.  Help would be much appreciated, thank you all





Re: [pygame] Citing PyGame in papers

2011-11-07 Thread Florian Krause
>> I create my experiments in PyGame so I figured I would cite it just
>> like the people who create their experiments in software like E-Prime.
>>
>
> Cool.  by the way, I think it's really great that PyGame is used in
> experiments, and is getting cited somewhere!
>

Actually, we created a Python package that was specifically made for
this purpose, which is also heavily based on PyGame
(http://expyriment.googlecode.com). In fact, PyGame is very suited for
these kind of things, since it handles most important aspects
regarding stimulus presentation and user input. If you think about it,
at a certain level, experiments and video games are have a lot in
common. And PyGame is a superb package for game programming in Python.
So for most people who want to write experiments in Python, the first
stop will always be PyGame.

Florian




-- 
www.fladd.de - fladd.de: Homepage of Florian Krause
blog.fladd.de - fladd's Blog: Blog of Florian Krause
intermezzo.fladd.de - Intermezzo: Music by Florian Krause and Giacomo Novembre


Re: [pygame] Citing PyGame in papers

2011-11-07 Thread Miriam English

In academic papers, they often attribute a team effort like this:

Pete Shinners, et al.

"et al." is short for "et alia", which is Latin for "and others" 
(strictly speaking, "alii" is the plural of "other"). I'm pretty sure 
I've actually seen "et alia" on some papers too.


If you want to make it clearer and avoid the Latin (I'm all for clarity) 
then you might prefer something like:


Pete Shinners and others

Best wishes,

- Miriam

Ryan Hope wrote:

Is there a preferred way to cite PyGame in a journal article? At the
moment I am using the following BibTex entry but I am not sure how
correct this is.

@Misc{pygame,
author = {Pete Shinners},
title =  {PyGame},
howpublished = {\url{http://pygame.org/}},
year = {2011}
}





--
If you don't have any failures then you're not trying hard enough.
 - Dr. Charles Elachi, director of NASA's Jet Propulsion Laboratory
-
Website: http://miriam-english.org
Blogs:   http://miriam-e.dreamwidth.org
 http://miriam-e.livejournal.com


Re: [pygame] Citing PyGame in papers

2011-11-07 Thread Ryan Hope
Im guessing from the comments that this is the first time this has
ever come up but I suggest as a community we come up with and official
bibtex entry like the R folks have

On Mon, Nov 7, 2011 at 3:14 PM, Miriam English  wrote:
> In academic papers, they often attribute a team effort like this:
>
> Pete Shinners, et al.
>
> "et al." is short for "et alia", which is Latin for "and others" (strictly
> speaking, "alii" is the plural of "other"). I'm pretty sure I've actually
> seen "et alia" on some papers too.
>
> If you want to make it clearer and avoid the Latin (I'm all for clarity)
> then you might prefer something like:
>
> Pete Shinners and others
>
> Best wishes,
>
>        - Miriam
>
> Ryan Hope wrote:
>>
>> Is there a preferred way to cite PyGame in a journal article? At the
>> moment I am using the following BibTex entry but I am not sure how
>> correct this is.
>>
>> @Misc{pygame,
>> author = {Pete Shinners},
>> title =  {PyGame},
>> howpublished = {\url{http://pygame.org/}},
>> year = {2011}
>> }
>>
>>
>
>
> --
> If you don't have any failures then you're not trying hard enough.
>  - Dr. Charles Elachi, director of NASA's Jet Propulsion Laboratory
> -
> Website: http://miriam-english.org
> Blogs:   http://miriam-e.dreamwidth.org
>         http://miriam-e.livejournal.com
>



-- 
Ryan Hope, M.S.
CogWorks Lab
Department of Cognitive Science
Rensselaer Polytechnic Institute


Re: [pygame] Citing PyGame in papers

2011-11-07 Thread René Dudfield
On Mon, Nov 7, 2011 at 3:28 PM, Ryan Hope  wrote:

> I create my experiments in PyGame so I figured I would cite it just
> like the people who create their experiments in software like E-Prime.
>
>
Cool.  by the way, I think it's really great that PyGame is used in
experiments, and is getting cited somewhere!


Re: [pygame] Citing PyGame in papers

2011-11-07 Thread Ryan Hope
I create my experiments in PyGame so I figured I would cite it just
like the people who create their experiments in software like E-Prime.

On Mon, Nov 7, 2011 at 8:30 AM, Joe Ranalli  wrote:
> I think one thing to pay attention to also is the purpose for citing it.
> Because that really guides the information that appears in the citation.
>
> If you're writing about some software you've created USING pygame, then the
> purpose of that citation is to identify what pygame is for people who
> haven't heard of it.  In that case, the main purpose of the paper is your
> software, not pygame, and the most important part of the citation is
> communicating with readers how to find out about pygame.  While you'll list
> the year and author and everything, ultimately all people need to know to
> follow your work is the pygame website.
>
> If instead you're writing about technical details of pygame, then it would
> be much more important to format the citation in a more elaborate way,
> including things like version number, maybe platform, etc.  Since PyGame
> isn't really research software, those facts are probably more important than
> the exact way you choose to credit the authorship.  That is, the reason
> you're crediting the authors in this case is more to acknowledge the hard
> work of the people who created and contribute to PyGame, and where they can
> get it, rather than directing readers to somebody who conducts technical
> research on this particular software.
>
> There are indeed groups out there who are extremely picky about exactly how
> every single citation is listed and will throw a fit if you exchange a comma
> with a period.  In my experience with technical writing in the sciences
> though, it's largely not addressed in such a specific manner.  You said that
> you don't have an explicit citation format for open source software. I don't
> think it's unreasonable for you to use good judgment in trying to create a
> citation that approximates the closest specified citation format (maybe
> general software), but provides enough information to allow readers to
> figure out what you've done.  If that means listing the version when not
> explicitly called for, or omitting something not relevant from the style,
> you're well justified in doing so.  If anybody bitches about it, explain
> your reasoning, and ask them to explain what they'd like to see
> added/removed.
>
>
>
> On Mon, Nov 7, 2011 at 6:08 AM, René Dudfield  wrote:
>>
>> Maybe "PyGame Development team" would be best.
>>
>> From this thread there are some examples of how some projects are cited:
>> http://ubuntuforums.org/showthread.php?t=1230811
>>
>> """R Development Core Team (2005). R: A language and environment for
>> statistical computing. R Foundation for Statistical Computing,
>> Vienna, Austria. ISBN 3-900051-07-0, URL http://www.R-project.org. """
>>
>> """ GRASS Development Team (). Geographic Resources Analysis Support
>> System (GRASS), GNU General Public License. http://grass.osgeo.org """
>>
>> It's very interesting that there is no standard way to cite FOSS
>> projects.  Or maybe that thread shows the standard way?
>>
>> Maybe the original author is Mark Baker, the original author of pysdl that
>> pygame is derived from?  How are derivative works handled?
>>
>>
>>
>>
>>
>> On Mon, Nov 7, 2011 at 11:44 AM, Florian Krause
>>  wrote:
>>>
>>> I personally would always cite with the original author(s), because
>>> (at least for APA style) there is no clear rule when it comes to
>>> citing Open Source software.
>>> PyGame would then look something like this:
>>>
>>> Pete Shinners (2011). PyGame - Python Game Development. Retrieved from
>>> http://www.pygame.org
>>>
>>> Hope this helps,
>>> Florian
>>>
>>>
>>>
>>>
>>> On Mon, Nov 7, 2011 at 12:09 AM, Ryan Hope  wrote:
>>> > I realize its an open source project. However, I can't cite 40+
>>> > authors nor is there any sort of unifying group which I could cite.
>>> >
>>> > On Sun, Nov 6, 2011 at 10:30 AM, René Dudfield 
>>> > wrote:
>>> >> Hi,
>>> >>
>>> >> I don't know of a preferred way, or what is usual for open source
>>> >> projects...
>>> >>
>>> >> That entry looks like it could be fine I guess?
>>> >>
>>> >> Does the year have to be the start year, or just the current year?  It
>>> >> is
>>> >> published continuously from the year 2000 until now.
>>> >>
>>> >> Also, for Author I see pygame as a community open source project these
>>> >> days
>>> >> with many contributors. At least 30-40 people have made significant
>>> >> contributions to the source code, and many more to other parts of
>>> >> pygame
>>> >> (releasing projects, wiki edits, writing tutorials, etc).
>>> >>
>>> >> cheers,
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> On Sun, Nov 6, 2011 at 3:30 PM, Ryan Hope  wrote:
>>> >>>
>>> >>> Is there a preferred way to cite PyGame in a journal article? At the
>>> >>> moment I am using the following BibTex entry but I am not sure how
>>> >>> correct this is.
>>> >>>
>>> >>> @Misc{pygame,

Re: [pygame] Citing PyGame in papers

2011-11-07 Thread Joe Ranalli
I think one thing to pay attention to also is the purpose for citing it.
Because that really guides the information that appears in the citation.

If you're writing about some software you've created USING pygame, then the
purpose of that citation is to identify what pygame is for people who
haven't heard of it.  In that case, the main purpose of the paper is your
software, not pygame, and the most important part of the citation is
communicating with readers how to find out about pygame.  While you'll list
the year and author and everything, ultimately all people need to know to
follow your work is the pygame website.

If instead you're writing about technical details of pygame, then it would
be much more important to format the citation in a more elaborate way,
including things like version number, maybe platform, etc.  Since PyGame
isn't really research software, those facts are probably more important
than the exact way you choose to credit the authorship.  That is, the
reason you're crediting the authors in this case is more to acknowledge the
hard work of the people who created and contribute to PyGame, and where
they can get it, rather than directing readers to somebody who conducts
technical research on this particular software.

There are indeed groups out there who are extremely picky about exactly how
every single citation is listed and will throw a fit if you exchange a
comma with a period.  In my experience with technical writing in the
sciences though, it's largely not addressed in such a specific manner.  You
said that you don't have an explicit citation format for open source
software. I don't think it's unreasonable for you to use good judgment in
trying to create a citation that approximates the closest specified
citation format (maybe general software), but provides enough information
to allow readers to figure out what you've done.  If that means listing the
version when not explicitly called for, or omitting something not relevant
from the style, you're well justified in doing so.  If anybody bitches
about it, explain your reasoning, and ask them to explain what they'd like
to see added/removed.



On Mon, Nov 7, 2011 at 6:08 AM, René Dudfield  wrote:

> Maybe "PyGame Development team" would be best.
>
> From this thread there are some examples of how some projects are cited:
> http://ubuntuforums.org/showthread.php?t=1230811
>
> """R Development Core Team (2005). R: A language and environment for
> statistical computing. R Foundation for Statistical Computing,
> Vienna, Austria. ISBN 3-900051-07-0, URL 
> http://www.R-project.org.
> """
>
> """ GRASS Development Team (). Geographic Resources Analysis Support
> System (GRASS), GNU General Public License. http://grass.osgeo.org """
>
> It's very interesting that there is no standard way to cite FOSS
> projects.  Or maybe that thread shows the standard way?
>
> Maybe the original author is Mark Baker, the original author of pysdl that
> pygame is derived from?  How are derivative works handled?
>
>
>
>
>
>
> On Mon, Nov 7, 2011 at 11:44 AM, Florian Krause <
> siebenhundertz...@gmail.com> wrote:
>
>> I personally would always cite with the original author(s), because
>> (at least for APA style) there is no clear rule when it comes to
>> citing Open Source software.
>> PyGame would then look something like this:
>>
>> Pete Shinners (2011). PyGame - Python Game Development. Retrieved from
>> http://www.pygame.org
>>
>> Hope this helps,
>> Florian
>>
>>
>>
>>
>> On Mon, Nov 7, 2011 at 12:09 AM, Ryan Hope  wrote:
>> > I realize its an open source project. However, I can't cite 40+
>> > authors nor is there any sort of unifying group which I could cite.
>> >
>> > On Sun, Nov 6, 2011 at 10:30 AM, René Dudfield 
>> wrote:
>> >> Hi,
>> >>
>> >> I don't know of a preferred way, or what is usual for open source
>> >> projects...
>> >>
>> >> That entry looks like it could be fine I guess?
>> >>
>> >> Does the year have to be the start year, or just the current year?  It
>> is
>> >> published continuously from the year 2000 until now.
>> >>
>> >> Also, for Author I see pygame as a community open source project these
>> days
>> >> with many contributors. At least 30-40 people have made significant
>> >> contributions to the source code, and many more to other parts of
>> pygame
>> >> (releasing projects, wiki edits, writing tutorials, etc).
>> >>
>> >> cheers,
>> >>
>> >>
>> >>
>> >>
>> >> On Sun, Nov 6, 2011 at 3:30 PM, Ryan Hope  wrote:
>> >>>
>> >>> Is there a preferred way to cite PyGame in a journal article? At the
>> >>> moment I am using the following BibTex entry but I am not sure how
>> >>> correct this is.
>> >>>
>> >>> @Misc{pygame,
>> >>> author = {Pete Shinners},
>> >>> title =  {PyGame},
>> >>> howpublished = {\url{http://pygame.org/}},
>> >>> year = {2011}
>> >>> }
>> >>>
>> >>>
>> >>> --
>> >>> Ryan Hope, M.S.
>> >>> CogWorks Lab
>> >>> Department of Cognitive Science
>> >>> Rensselaer Polytechnic Institute
>>

Re: [pygame] man oh man Java is painful

2011-11-07 Thread Mac Ryan
On Fri, 4 Nov 2011 09:45:58 -0600
Ian Mallett  wrote:

> Good C++ is always faster than Java code.
>  However, crappy C++ is slower than crappy Java code.

The flaw here is that the underlying assumption is that execution time
is THE criteria for evaluating code quality. 

Contrarily, there are often instances where one might prefer slower
performing code if more readable / better structured / easier to
maintain.

It might be true that the C++ implementation of any algorithm is
faster than its Java counterpart, though. As well as it is true that
one could write an optimised-for-speed java implementation of something
that outperform a non optimised C++ version.

Both scenarios have nothing to do with "crappiness" of a given
implementation though. :o

/mac


Re: [pygame] Multiple keyboard

2011-11-07 Thread René Dudfield
Hi,

You're using X right?  I can't find a way with Xlib to find which keyboard
generated the event.  I also don't have an extra keyboard to plugin at the
moment.

Try running 'xev' in a terminal.  Then press a key on each keyboard, and
see if there are any differences in the output.

They should print something like this:
"""
KeyPress event, serial 36, synthetic NO, window 0x461,
root 0xad, subw 0x0, time 223972330, (-345,178), root:(450,225),
state 0x4, keycode 54 (keysym 0x63, c), same_screen YES,
XLookupString gives 1 bytes: (03) ""
XmbLookupString gives 1 bytes: (03) ""
XFilterEvent returns: False
"""

Maybe copy them back to the email so we can all have a look.



cheers,

On Fri, Nov 4, 2011 at 9:33 PM, pierrelafran...@sympatico.ca <
pierrelafran...@sympatico.ca> wrote:

> Debian on Atom-PC like computer / Python / Pygame
> Thanks
>
>
> --
> Pierre
>
>
> On 11-11-04 03:07 PM, René Dudfield wrote:
>
>> Hi,
>>
>> It might be possible to get that information with a system message.
>> What platform/s do you need to support?
>>
>> cheers,
>>
>> On Fri, Nov 4, 2011 at 7:37 PM, pierrelafran...@sympatico.ca
>>  <
>> pierrelafran...@sympatico.ca
>>
>> >
>> wrote:
>>
>>Hi
>>We have an application using a Digital Keyboard like this one :
>>
>> http://www.targus.ca/ca/__**product_details.asp?sku=__**AKP10CA
>>
>>
>> 
>> >
>>
>>Now our application need many of them, and our application must
>>distinguish all key from all keyboard.  For example, when user press
>>enter from keyboard 1, we must know the KP_ENTER is from keyboard 1,
>>and same thing for keyboard 2...n
>>
>>Is this possible with Pygame (according to our web search this seams
>>to not feasible with Pygame, but I'm hopping you prove me wrong and
>>we will not have to do that at SDL level... (please...)
>>
>>Thanks,
>>
>>--
>>Pierre,
>>
>>
>>
>


Re: [pygame] Citing PyGame in papers

2011-11-07 Thread René Dudfield
Maybe "PyGame Development team" would be best.

>From this thread there are some examples of how some projects are cited:
http://ubuntuforums.org/showthread.php?t=1230811

"""R Development Core Team (2005). R: A language and environment for
statistical computing. R Foundation for Statistical Computing,
Vienna, Austria. ISBN 3-900051-07-0, URL
http://www.R-project.org.
"""

""" GRASS Development Team (). Geographic Resources Analysis Support
System (GRASS), GNU General Public License. http://grass.osgeo.org """

It's very interesting that there is no standard way to cite FOSS projects.
Or maybe that thread shows the standard way?

Maybe the original author is Mark Baker, the original author of pysdl that
pygame is derived from?  How are derivative works handled?





On Mon, Nov 7, 2011 at 11:44 AM, Florian Krause  wrote:

> I personally would always cite with the original author(s), because
> (at least for APA style) there is no clear rule when it comes to
> citing Open Source software.
> PyGame would then look something like this:
>
> Pete Shinners (2011). PyGame - Python Game Development. Retrieved from
> http://www.pygame.org
>
> Hope this helps,
> Florian
>
>
>
>
> On Mon, Nov 7, 2011 at 12:09 AM, Ryan Hope  wrote:
> > I realize its an open source project. However, I can't cite 40+
> > authors nor is there any sort of unifying group which I could cite.
> >
> > On Sun, Nov 6, 2011 at 10:30 AM, René Dudfield  wrote:
> >> Hi,
> >>
> >> I don't know of a preferred way, or what is usual for open source
> >> projects...
> >>
> >> That entry looks like it could be fine I guess?
> >>
> >> Does the year have to be the start year, or just the current year?  It
> is
> >> published continuously from the year 2000 until now.
> >>
> >> Also, for Author I see pygame as a community open source project these
> days
> >> with many contributors. At least 30-40 people have made significant
> >> contributions to the source code, and many more to other parts of pygame
> >> (releasing projects, wiki edits, writing tutorials, etc).
> >>
> >> cheers,
> >>
> >>
> >>
> >>
> >> On Sun, Nov 6, 2011 at 3:30 PM, Ryan Hope  wrote:
> >>>
> >>> Is there a preferred way to cite PyGame in a journal article? At the
> >>> moment I am using the following BibTex entry but I am not sure how
> >>> correct this is.
> >>>
> >>> @Misc{pygame,
> >>> author = {Pete Shinners},
> >>> title =  {PyGame},
> >>> howpublished = {\url{http://pygame.org/}},
> >>> year = {2011}
> >>> }
> >>>
> >>>
> >>> --
> >>> Ryan Hope, M.S.
> >>> CogWorks Lab
> >>> Department of Cognitive Science
> >>> Rensselaer Polytechnic Institute
> >>
> >>
> >
> >
> >
> > --
> > Ryan Hope, M.S.
> > CogWorks Lab
> > Department of Cognitive Science
> > Rensselaer Polytechnic Institute
> >
>
>
>
> --
> www.fladd.de - fladd.de: Homepage of Florian Krause
> blog.fladd.de - fladd's Blog: Blog of Florian Krause
> intermezzo.fladd.de - Intermezzo: Music by Florian Krause and Giacomo
> Novembre
>


Re: [pygame] Citing PyGame in papers

2011-11-07 Thread Florian Krause
I personally would always cite with the original author(s), because
(at least for APA style) there is no clear rule when it comes to
citing Open Source software.
PyGame would then look something like this:

Pete Shinners (2011). PyGame - Python Game Development. Retrieved from
http://www.pygame.org

Hope this helps,
Florian




On Mon, Nov 7, 2011 at 12:09 AM, Ryan Hope  wrote:
> I realize its an open source project. However, I can't cite 40+
> authors nor is there any sort of unifying group which I could cite.
>
> On Sun, Nov 6, 2011 at 10:30 AM, René Dudfield  wrote:
>> Hi,
>>
>> I don't know of a preferred way, or what is usual for open source
>> projects...
>>
>> That entry looks like it could be fine I guess?
>>
>> Does the year have to be the start year, or just the current year?  It is
>> published continuously from the year 2000 until now.
>>
>> Also, for Author I see pygame as a community open source project these days
>> with many contributors. At least 30-40 people have made significant
>> contributions to the source code, and many more to other parts of pygame
>> (releasing projects, wiki edits, writing tutorials, etc).
>>
>> cheers,
>>
>>
>>
>>
>> On Sun, Nov 6, 2011 at 3:30 PM, Ryan Hope  wrote:
>>>
>>> Is there a preferred way to cite PyGame in a journal article? At the
>>> moment I am using the following BibTex entry but I am not sure how
>>> correct this is.
>>>
>>> @Misc{pygame,
>>> author = {Pete Shinners},
>>> title =  {PyGame},
>>> howpublished = {\url{http://pygame.org/}},
>>> year = {2011}
>>> }
>>>
>>>
>>> --
>>> Ryan Hope, M.S.
>>> CogWorks Lab
>>> Department of Cognitive Science
>>> Rensselaer Polytechnic Institute
>>
>>
>
>
>
> --
> Ryan Hope, M.S.
> CogWorks Lab
> Department of Cognitive Science
> Rensselaer Polytechnic Institute
>



-- 
www.fladd.de - fladd.de: Homepage of Florian Krause
blog.fladd.de - fladd's Blog: Blog of Florian Krause
intermezzo.fladd.de - Intermezzo: Music by Florian Krause and Giacomo Novembre