Page 1 of 4

Python Puplet (based on Racy)

Posted: Wed 15 Feb 2012, 16:21
by antiloquax
EDIT
This is a .vdi of WaryPy. It's based on the latest Wary (5.3) and runs in VB without PAE.
warypy.vdi
warypy.iso
See attached image.

The latest version of RacyPy is here.
NOTE - this has the bugs to do with Java and Python2 / devx fixed.

This time the devx is separate, but I did put it in the iso. It has Python 2.7.2 and 3.1.4, both with Pygame. JDK also included.


This is based on Racy 5.2.2. I have taken out some packages (but hopefully without breaking anything).
I have also heavily pruned the menus. If you don't see something important, it might still be there. But if you are looking for three different calculators, you're out of luck.

Anyway, the idea behind this was that I wanted something that I could boot into on pretty much any machine and do programming. I run a programming club at my school and we have been donated some old laptops to play with. This gives me a quick way to get the kids coding.


The other feature of this puplet is that I have put some Python tutorials in a tar.gz archive (in my-documents).


If you are just getting started with programming in Python, you can have a look at my blog. I've added a post today which goes through some of the ways Python handles data types.

Blog post on strings, integers and floats - with screen-shots.


PETS
NEW: Joe's Own Editor

Lua-5.2.0
ghc-7.4.1 Haskell.
Scratch-1.4
Ruby-1.9.3
Squeak-4.4.7
Pharo-1.3

PETs

Posted: Wed 15 Feb 2012, 17:02
by antiloquax
Updated PET links in first post.

Posted: Wed 15 Feb 2012, 19:17
by musher0
Hello, antiloquax.

Potentially very useful, especially with the tutorials.
Many thanks for your efforts.

Posted: Wed 15 Feb 2012, 20:30
by antiloquax
Thanks for your comment musher0.


Updated PET links in first post (now hosted on Ubuntu One)

Posted: Wed 15 Feb 2012, 21:19
by jemimah
I think you should consider basing it on Saluki instead - assuming the target hardware is not too ancient.

Firstly, I'd give you upload access to the repo. A shared repo would benefit both of us in terms of package selection and you'd get dependency resolution which you are going to need.

Secondly, Saluki has the apps packaged in a separate sfs than the core - so you don't need to try to figure out which is which.

Thirdly, I'd be able to help you out with problems, and you (and your programming club) could contribute fixes - it would be win/win for everyone.

Saluki is based on Racy so the packages you've already built would likely work. I'd be fine if you wanted to replace my python build or whatever.

RacyPy

Posted: Wed 15 Feb 2012, 23:48
by elraven
I'm posting from Racy Py now . I find it to be very stable . There are no complaints from the system at all . This is just the thing i've been looking for .I'm new to python and other languages but i'd like to learn them . This will be a big help . Keep up the good work .

Elraven :D

Posted: Thu 16 Feb 2012, 08:24
by antiloquax
I am so pleased that you have had a look at my puplet!

@jemimah - I haven't got around to trying out Saluki yet. I will do so soon and explore the ideas you mentioned.

[Edit] I don't think this would run well on my laptop (which is my main computer) - it's only a Pentium III.
Also, I like having the newer kernel and I like JWM & ROX. So, I think I'll press on with Racy at the moment.


@elraven: wow! :D I am very pleased you are giving it a try. Let me know if there's anything specific you want - I'm going to keep working on this! If you are new to programming, you might like Scratch (see PET in post above). It's fun and aimed at kids, but I think it's a great tool for experimenting with coding.

[Edit]
Here's a pet for the up to date version of Squeak. Squeak is a Virtual Machine designed for programming in Small Talk.
Scratch actually runs in Squeak, but it's an older version. WIth this one, you'll be able to run Pharo, for instance.

PET links now in first post

Posted: Sun 19 Feb 2012, 06:43
by antiloquax
[Edit] Oops, that didn't work.
What I meant to say is that here is a screenshot of RacyPy running Python, Ruby and Lua - with pacer106's lovely Puppy / Raspberry Pi wallpaper!

Posted: Sun 19 Feb 2012, 08:10
by Lobster
So, I think I'll press on with Racy at the moment.
antiloquax, Jemimah, fellow puppys,
I will be putting on a link on Puppy Hacker School shortly . . .
http://puppylinux.org/wikka/PuppySchoolProgramming
In a month or two we will be promoting the 3 p's

Pi
Puppy
Python
and Penguin (yeah well . . . think of penguin as Tux d'artanian)

Python is the official language for the Raspberry Pi educational imitative
- we may well be able to wean the Raspberry masses onto the compiled python like genie language - maybe :shock:
http://puppylinux.org/wikka/ValaGenieintro

It may be that Saluki requires too recent hardware -understood.
However I am urging all Puppys to sell their grandmas (you might not be able to do this on Ebay)
to get a new motherboard (the Rpi)

In almost every computation a great variety of arrangements for the succession of the processes is possible, and various considerations must influence the selections amongst them for the purposes of a calculating engine. One essential object is to choose that arrangement which shall tend to reduce to a minimum the time necessary for completing the calculation.
Ada Lovelace (died 1852 - early Pi-oneer)

Posted: Sun 19 Feb 2012, 08:43
by nooby
Jemimah, what is it in Saluki that would make it fail to work on their older
computers then? If the school has been given Pentium III as a gift for
the kids?

I have an Acer D255 just now which make use of Atom N450?CPU
and racyPy works on that one so that is not a Pentium III :)
I may have some Pentium 4 in my cellar. But I am too lazy to try.

antiloquax I tested your RP but know nothing about programming.
I guess me are too confused to do such. I failed at it each time
I did try so.

dependency resolution? Jemimah would know. My guess is that
when you use a pet that is not made for RacyPy then the built
in program like Puppy Packet Manager has function that look
through it if all the glib dirs are there?????? I just wild guess.

Look here Menu > Setup > Check dependencies ... Then it reports
if it found things that failed to "resolve?"

I mean what differ between Racypy and Saluki?

Posted: Sun 19 Feb 2012, 08:52
by antiloquax
jemimah wrote:I think you should consider basing it on Saluki instead .

Firstly, I'd give you upload access to the repo. A shared repo would benefit both of us in terms of package selection and you'd get dependency resolution which you are going to need.

Secondly, Saluki has the apps packaged in a separate sfs than the core - so you don't need to try to figure out which is which.

Thirdly, I'd be able to help you out with problems.
Hi jemimah,
I've been thinking about your suggestion again. I really appreciate the offer of help. I think I was a bit too hasty when I said I would stay with Racy.
I'm afraid I don't quite know what you mean about "dependency resolution" - is this about making sure things will work on other versions? I've tried some of my pets in Barebones Lucid 5.01 and they work okay.
I've had some PMs about glibc and compiling - I am a bit out of my depth with this ...
I think I need to find out which version of Puppy has the best set-up for compiling and start again there.
thanks again!
:D

Posted: Sun 19 Feb 2012, 09:07
by antiloquax
Lobster wrote:Python is the official language for the Raspberry Pi educational initiative.
Yes - that's what got me started learning Python, when I heard a report on Radio 4 about the RPi. And hence this version of Puppy ...
Lobster wrote: We may well be able to wean the Raspberry masses onto the compiled Python-like Genie language.
Now there's a thought. Genie sounds great. The speed factor for starters ...
Lobster wrote: It may be that Saluki requires too recent hardware.
I've just posted about this, but I want to know what's the best Puppy to use as a starting point in terms of compiling. It's only my laptop that is really old :oops: . But that doesn't matter - I can build a version for sharing on a different machine.
Lobster wrote: However I am urging all Puppys to ... get a new motherboard (the Rpi)
Grr - their website is down - could this mean they have sold out already?

Posted: Sun 19 Feb 2012, 09:17
by nooby
I fail to reach them too www.raspberrypi.org/

Check out links here to blog of the main players they
might explain if them are doing maintenance or if
them have an outage or attack or something going on

http://en.wikipedia.org/wiki/Raspberry_Pi
http://h2g2.com/A13735596
Here is the blog
http://raspberrypiblog.ics.com/

Posted: Sun 19 Feb 2012, 10:58
by Lobster
what's the best Puppy to use as a starting point in terms of compiling
Saluki.
If jemimah - an experienced Puppy offers hand holding
. . . that is like gold . . . make use of it
It really is win win :)

Posted: Sun 19 Feb 2012, 11:00
by Lobster
Nothing in email or twitter about Rpi site
It is the Raspberry geeks swamping the location perhaps . . .
seems intermittent - was working again - now not . .

Posted: Sun 19 Feb 2012, 12:58
by antiloquax
Thanks Lobster, I will download Saluki!
My sentimental attachment to JWM and ROX will have to be put to one side.
mark

Posted: Sun 19 Feb 2012, 13:36
by nooby
And if Saluki still have Midori you have to get used to that one too.

Apart from that I trust it would be a win-win thing to cooperate with Jemimah.
She is good at coding. I don't agree with her preference for double click
instead of single click and the choice of browser but she is the dev and
I am just a happy user to have this many devs giving us puppy varieties
It is a blessing indeed. So many opportunities to find something to like.

Take a look at Iguleder and his roar-ng and Subilto OS too.
He is inventive trying to start anew with same approach as Barry.
To do his own thing. Such is encouraging. Sorry my crazy English

Posted: Sun 19 Feb 2012, 13:52
by antiloquax
Thanks Nooby,
Now I have had a chance to try Saluki, I think it would be better to join in with that project! :oops:
mark

Posted: Sun 19 Feb 2012, 14:00
by Ray MK
Hi

Nice - win,win - we all win - and benefit'

Saluki works extremely well on my 10yr old Acer laptop.

Very best regards - Ray

Posted: Sun 19 Feb 2012, 16:12
by Lobster
My sentimental attachment to JWM and ROX will have to be put to one side.
you can download and use rox from the package manager (in the control centre) - I do

you can press ctrl + alt + backspace
and type xwin jwm
. . . and use JWM (Jemimah does not recommend it but I prefer to use JWM for now . . . )

Puppy Linux
Win without the 'duh's!'