[SLUG] Re: [activities] SLUG FebruaryMonthly Meeting - Python Game Programming *Tutorial*

2010-02-27 Thread Tim 'mithro' Ansell

Hello everyone,

As promised here are links to everything I used on Friday:

 Presentation:
   http://docs.google.com/a/google.com/present/view?id=dfg992t3_1025kjx9sgw
 
 Punch the Monkey Code:
   http://github.com/mithro/punchit
 
   You can clone the whole repository with a:
 git clone http://github.com/mithro/punchit.git

 Space Invaders Code:
   http://github.com/mithro/invaders

   Again, you can clone the whole repository with a:
 git clone http://github.com/mithro/invaders.git

If you have some problem with github, there is also a mirror at my
blog ( http://blog.mithis.net/cgi-bin/gitweb.cgi and
http://blog.mithis.net/code ).

Please note, this code is not how to make a *good* game - just how to
make a game in a very short period of time :). Software Engineering
principles have been pretty much thrown out the door to get this all
working in such a short time.

Tim 'mithro' Ansell

On Thu, 11 Feb 2010 10:54:37 -0800, Tim Ansell mit...@mithis.com wrote:
 
 You can read the full version of this announcement at
  http://slug.org.au/node/123
 
 == Summary ==
 
 Date: Friday 29nd of January (Friday next week). 
 Start Time: Arrive at 6:15pm for a 6:30pm *sharp* start
 Format: Python Game Programming, BOFs, Pizza Dinner
 Where: Google Australia, opposite Star City
 
  *** You will need a setup laptop to participate in this tutorial. **
  * Instructions for setting up your laptop are listed at
   http://wiki.slug.org.au/pythonprogrammingsetup
 
 == SLUG January Monthly Meeting ==
 
 Instead of running two 45 minute talks will be having two Python game
 tutorials. At the end of each tutorial you should have a fully playable
 game developed and running!
 
 The first tutorial will be suitable for beginners of all ages, no
 programming experience will be required. The tutorial will focus around
 a Punch the Monkey game, but there should also be enough meat for
 more advanced people to create something cool.
 
 The second tutorial will be suitable for people who want to advanced
 further and will concentrate on extending skills learnt in the earlier
 tutorial. Some programming experience is recommended for this tutorial.
 During this tutorial people will create a clone of either space
 invaders or asteroids.
 
 As the tutorials will be interactive you will need to bring a laptop.
 You will also need to set-up your laptop with the appropriate software.
 The software runs on Linux, Mac and Windows. You will need to install:
   * Python - http://python.org
   * Pyglet - http://pyglet.org
   * Rabbyt - http://matthewmarshall.org/projects/rabbyt/
 
 To test that everything works, I have included a small Python program
 which will display It works if everything is working.
 
 To do so on Ubuntu, you would use the following commands;
# Install python and easy_install
apt-get install python python-setuptools
# Install pyglet and rabbyt
easy_install pyglet
easy_install rabbyt
# Test everything is working
python test.py
 
 If you figure out instructions for other operating systems or Linux
 versions please add them at:   
http://wiki.slug.org.au/pythonprogrammingsetup
 
 *** If you have problems, please turn up **early** so we can fix them!
 
 
 = Meeting Details =
 
 SLUG is the very mis-named Sydney Linux User Group. We are a general
 Open Source interest group which runs our primary event on the last
 Friday of every month (except December). Meetings are open to the
 general public, and are free of charge.
 
 Our venue is Google, Level 5, 48 Pirrama Road, Pyrmont. It's across the
 road from Star City Casino. A map of the area can be found here[1], and
 public transit directions are at [2]. Appropriate signage and directions
 will be posted around the building.
 
 You will need to sign-in to enter the venue. This can be performed when
 you arrive, but to save time we recommend that you do so online
 beforehand at Eventbrite ( http://slug.eventbrite.com ). 
 
 If you are unsure, please sign up as a 'maybe'. This allows us to
 organise adequate meeting space and facilities. You do not need to
 create an account to indicate your attendance.
 
 = Meeting Schedule =
 
 We start at 18.30 but we ask that people arrive at least 15 minutes
 early so we an all get into the building and start on time. Please do
 not arrive before 18.00, as it may hinder business activities for our
 host!
 
 See here[5] for an explanation of the segments.
 
* 18.15: Open Doors
* 18.30: Announcements, News, Introductions
* 18.45: General Talk
* 19.30: Intermission
* 19.45: In-Depth Talk
* 20.30: Dinner
 
  BoFs and the Hackerspace run from the time the doors open.
 
 = Bird of a Feather (BoF) Sessions =
 
 The list of BoFs at the moment are:
 
 * SLUGlets - our regular forum for newbies and desktop users
 
 If you would like to run a BoF, please discuss on the SLUG Activities
 mailing list[4].
 
 = Hacker Space =
 
 We have heaps 

[SLUG] Re: [activities] SLUG FebruaryMonthly Meeting - Python Game Programming *Tutorial*

2010-02-27 Thread Tim 'mithro' Ansell
On Sun, 28 Feb 2010 11:53:53 +1100, Tim 'mithro' Ansell mit...@mithis.com 
wrote:
 
 Hello everyone,
 
 As promised here are links to everything I used on Friday:
 
  Presentation:
http://docs.google.com/a/google.com/present/view?id=dfg992t3_1025kjx9sgw

Sorry, that URL appears to Google only. Please try the following,

   http://docs.google.com/present/view?id=dcw4v5n4_7hqw4x3dp

Tim 'mithro' Ansell
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: [activities] SLUG FebruaryMonthly Meeting - Python Game Programming *Tutorial*

2010-02-27 Thread Dylan Jay
Here is a buildout for running invaders so you can install it all  
without touching anything in your python or os at all.


$ git clone http://github.com/mithro/invaders.git invaders
$ cd invaders

Put the following into a file called buildout.cfg

[buildout]
parts = invaders

[invaders]
recipe = zc.recipe.egg
eggs =
 pyglet
 rabbyt
extra-paths = .
entry-points = invaders=invaders:__main__

# get the bootstrap.py and run it
$ wget http://nightly.ziade.org/bootstrap.py
$ python2.6 bootstrap.py

# do our build, inc download our dependencies
$ bin/buildout

# run it
$ bin/invaders


---
Dylan Jay
Plone Solutions Manager. www.pretaweb.com
P +612 80819071   M +61421477460
skype - dylan_jaytwitter - djay75

On 28/02/2010, at 11:53 AM, Tim 'mithro' Ansell wrote:



Hello everyone,

As promised here are links to everything I used on Friday:

Presentation:
  http://docs.google.com/a/google.com/present/view?id=dfg992t3_1025kjx9sgw

Punch the Monkey Code:
  http://github.com/mithro/punchit

  You can clone the whole repository with a:
git clone http://github.com/mithro/punchit.git

Space Invaders Code:
  http://github.com/mithro/invaders

  Again, you can clone the whole repository with a:
git clone http://github.com/mithro/invaders.git

If you have some problem with github, there is also a mirror at my
blog ( http://blog.mithis.net/cgi-bin/gitweb.cgi and
http://blog.mithis.net/code ).

Please note, this code is not how to make a *good* game - just how to
make a game in a very short period of time :). Software Engineering
principles have been pretty much thrown out the door to get this all
working in such a short time.

Tim 'mithro' Ansell

On Thu, 11 Feb 2010 10:54:37 -0800, Tim Ansell mit...@mithis.com  
wrote:


You can read the full version of this announcement at
http://slug.org.au/node/123

== Summary ==

   Date: Friday 29nd of January (Friday next week).
   Start Time: Arrive at 6:15pm for a 6:30pm *sharp* start
   Format: Python Game Programming, BOFs, Pizza Dinner
   Where: Google Australia, opposite Star City

*** You will need a setup laptop to participate in this tutorial. **
* Instructions for setting up your laptop are listed at
 http://wiki.slug.org.au/pythonprogrammingsetup

== SLUG January Monthly Meeting ==

Instead of running two 45 minute talks will be having two Python game
tutorials. At the end of each tutorial you should have a fully  
playable

game developed and running!

The first tutorial will be suitable for beginners of all ages, no
programming experience will be required. The tutorial will focus  
around

a Punch the Monkey game, but there should also be enough meat for
more advanced people to create something cool.

The second tutorial will be suitable for people who want to advanced
further and will concentrate on extending skills learnt in the  
earlier
tutorial. Some programming experience is recommended for this  
tutorial.

During this tutorial people will create a clone of either space
invaders or asteroids.

As the tutorials will be interactive you will need to bring a laptop.
You will also need to set-up your laptop with the appropriate  
software.
The software runs on Linux, Mac and Windows. You will need to  
install:

 * Python - http://python.org
 * Pyglet - http://pyglet.org
 * Rabbyt - http://matthewmarshall.org/projects/rabbyt/

To test that everything works, I have included a small Python program
which will display It works if everything is working.

To do so on Ubuntu, you would use the following commands;
  # Install python and easy_install
  apt-get install python python-setuptools
  # Install pyglet and rabbyt
  easy_install pyglet
  easy_install rabbyt
  # Test everything is working
  python test.py

If you figure out instructions for other operating systems or Linux
versions please add them at:
  http://wiki.slug.org.au/pythonprogrammingsetup

*** If you have problems, please turn up **early** so we can fix  
them!



= Meeting Details =

SLUG is the very mis-named Sydney Linux User Group. We are a general
Open Source interest group which runs our primary event on the last
Friday of every month (except December). Meetings are open to the
general public, and are free of charge.

Our venue is Google, Level 5, 48 Pirrama Road, Pyrmont. It's across  
the
road from Star City Casino. A map of the area can be found here[1],  
and
public transit directions are at [2]. Appropriate signage and  
directions

will be posted around the building.

You will need to sign-in to enter the venue. This can be performed  
when

you arrive, but to save time we recommend that you do so online
beforehand at Eventbrite ( http://slug.eventbrite.com ).

If you are unsure, please sign up as a 'maybe'. This allows us to
organise adequate meeting space and facilities. You do not need to
create an account to indicate your attendance.

= Meeting Schedule =

We start at 18.30 but we ask that people arrive at least 15 minutes
early so we an all get 

Re: [SLUG] no speaker sound

2010-02-27 Thread Daryl Thompson
Hi slug

A while ago i had a  sound issue on my Compaq CQ61-314TU. Compaq/HP Said
they know about but cant fix it in Linux. i found how to fix in ubuntu
but fedora does not use /etc/modprobe.d/alsa-base.conf:. After a bit of
reaching (GOOGLing) i found that the /etc/modprobe.d/sound.conf: is the
base sound configuration in Red Hat based systems.


To fix the problem add these four lines to /etc/modprobe.d/sound.conf:
Then restart the computer to take affect.

options snd slots=snd-hda-intel
options snd-hda-intel model=hp-m4
alias snd-card-0 snd-hda-intel
options snd-hda-intel enable_msi=1



Note: 
You may have to create the /etc/modprobe.d/sound.conf: as it did
not exist in my Fedora 12


Thanks to those reply i got 

Regards 
Daryl Thompson

-Original Message-
From: Daryl Thompson daryl.francis.thomp...@gmail.com
To: slug@slug.org.au slug@slug.org.au
Subject: [SLUG] no speaker sound
Date: Sun, 24 Jan 2010 02:14:58 +1100


I brought a Compaq Presario CQ61-214TU and install Fedora 12.

I have no Speaker Sound, i do have sound when i plug in a head set or
external speaker. I have not tested the HDMI output yet as i don't have
access to a DH TV with HDMI.

I would like to use the internal speakers. Can any one help me please,
the Google searches all relate to ubuntu and not much help on Fedora

Thanks in advance
Daryl


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html