Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 22 Jul 2014, 21:55
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Python Puplet (based on Racy)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 5 [61 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Author Message
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Wed 15 Feb 2012, 12:21    Post subject:  Python Puplet (based on Racy)
Subject description: Information about RacyPy and the move to a Saluki-based version.
 

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
wary.png
 Description   
 Filesize   120.54 KB
 Viewed   4067 Time(s)

wary.png


_________________
My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.

Last edited by antiloquax on Wed 18 Apr 2012, 04:14; edited 23 times in total
Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Wed 15 Feb 2012, 13:02    Post subject: PETs  

Updated PET links in first post.
_________________
My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.

Last edited by antiloquax on Tue 13 Mar 2012, 12:36; edited 1 time in total
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4226
Location: Gatineau (Qc), Canada

PostPosted: Wed 15 Feb 2012, 15:17    Post subject:  

Hello, antiloquax.

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

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Wed 15 Feb 2012, 16:30    Post subject:  

Thanks for your comment musher0.


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

_________________
My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.

Last edited by antiloquax on Tue 13 Mar 2012, 12:37; edited 2 times in total
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Wed 15 Feb 2012, 17:19    Post subject:  

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.
Back to top
View user's profile Send private message Visit poster's website 
elraven

Joined: 03 Apr 2007
Posts: 82
Location: wnc-usa

PostPosted: Wed 15 Feb 2012, 19:48    Post subject: RacyPy
Subject description: testing
 

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 Very Happy
Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Thu 16 Feb 2012, 04:24    Post subject:  

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! Very Happy 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

_________________
My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.

Last edited by antiloquax on Tue 13 Mar 2012, 12:38; edited 2 times in total
Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Sun 19 Feb 2012, 02:43    Post subject:  

[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!
trilingual.png
 Description   
 Filesize   149.53 KB
 Viewed   5725 Time(s)

trilingual.png


_________________
My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.

Last edited by antiloquax on Sun 19 Feb 2012, 04:31; edited 1 time in total
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sun 19 Feb 2012, 04:10    Post subject:  

Quote:
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 Shocked
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)

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 19 Feb 2012, 04:43    Post subject:  

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 Smile
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?

_________________
I use Google Search on Puppy Forum
not an ideal solution though

Last edited by nooby on Sun 19 Feb 2012, 05:13; edited 1 time in total
Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Sun 19 Feb 2012, 04:52    Post subject:  

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!
Very Happy

_________________
My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Sun 19 Feb 2012, 05:07    Post subject:  

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 Embarassed . 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?

_________________
My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 19 Feb 2012, 05:17    Post subject:  

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/

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sun 19 Feb 2012, 06:58    Post subject:  

Quote:
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 Smile

_________________
Puppy WIKI

Last edited by Lobster on Sun 19 Feb 2012, 12:06; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sun 19 Feb 2012, 07:00    Post subject:  

Nothing in email or twitter about Rpi site
It is the Raspberry geeks swamping the location perhaps . . .
seems intermittent - was working again - now not . .

_________________
Puppy WIKI

Last edited by Lobster on Sun 19 Feb 2012, 12:07; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 5 [61 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1110s ][ Queries: 13 (0.0141s) ][ GZIP on ]