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 02 Sep 2014, 19:50
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Announcements
Linux Tmxxine Photon
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
Lobster
Official Crustacean


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

PostPosted: Tue 11 Dec 2007, 20:12    Post subject:  Linux Tmxxine Photon
Subject description: Beta released
 




Linux Tmxxine Photon 3.01 Beta

Download
http://www.puppylinux.ca/lobster/photon301.iso

307MB DOWNLOAD
md5sum photon301.iso
c5103aaf91ee8695351a578a48137df9

Programmers iso

    Puppy 3.01 retro
    c and c++ (3.01 devx)
    java jre and sdk
    python
    netlogo


Minimal changes to Puppy 3.01 retro
Mozilla and Firefox 3 Beta Browser
MUT

Known issues
when first loading
an error about backgrounds comes up
image is stretched

Assembler, C, C++
GNU compilers

Python
Script language

Java
Powerful JDK and JRE 6.3 for running and compiling java applets and classes

Netlogo
AI Logo modeling environment for simulating natural and social phenomena


Photon Latest Programming details

C, C++

Save the following as test.c
If using Geany, set it it to C and test compile first

Code:
/*  Example C program */

int main()
char input_character;

  { int i;
     for (i = 0; i < 50000; i++)
       {
         printf ("%d",i);
         printf (" Puppy is Great\n");     
       }
     return 0;
   }




in the same directory
open a terminal (Right click in the open folder/directory with Rox 2.5 /Window/terminal here)
and type:

Code:
gcc test.c -o test


this will create a runnable file called "test"
the command:

./test

will run it . . .

find a good tutorial eg.
http://members.cox.net/midian/articles/ansic1.htm


Python
open console type "python" - no speech marks

open edit (Geany)
set file type to Python
type in program
eg print 2+3
save file
build and execute or press f5

Java
type and save the following with the name
HelloWorldApp.java

Code:
/**
 * The HelloWorldApp class implements an application that
 * simply prints "Hello World!" to standard output.
 */
class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Display the string.
    }
}


open a terminal (right mouse click) in the same directory you saved
HelloWorldApp.java

and at the prompt type

# javac HelloWorldApp.java


the compiled program is run thus

# java HelloWorldApp


the program cons and outputs:

Hello World!

What I did to install java

set up JRE
downloaded and installed
http://www.murga-linux.com/puppy/viewtopic.php?p=93231#93231

details
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/unix.html#unix-2b

Netlogo is a java jar file
from console run
/usr/local/netlogo-4.0.2/netlogo.sh

_________________
Puppy WIKI

Last edited by Lobster on Wed 12 Dec 2007, 03:28; 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: Tue 11 Dec 2007, 20:34    Post subject:  

Very Happy Tmxxine Photon is designed for programmers

Specifically I have a friend who is doing some Java courses
and is running Netlogo for an AI course

I am hoping this will provide the impetus to use a Linux Solution
The Java SDK is large

and so I would recommend 512MB to run this Beta
I am interested in a jar based Java IDE
Any favourites?

C and C++ are suitable for Puppy programming
Java is rather large
There are smaller run times
and some puplet versions such as Teenpup include java

Netlogo is a specialised version of Logo (a Lisp based programming
language widely used in education)
It is famous for using and controlling robot or virtual turtles

Python is a widely used and easy to learn language

In order to ensure as stable an environment as possible
I used the Puppy 3.01 retro as a base
and did not install ezpup or even modify JWM themes
I have included Firefox Beta 3
But Mozilla Seamonkey is the default browser and
runs the Photon web page

Wiki
http://tmxxine.com/wik/wikka.php?wakka=LinuxTmxxinePhoton

I have not included GTKBasic, MurgaLua
and other languages because they are easily installed with .pets

Smile

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

Joined: 25 May 2005
Posts: 4765
Location: Manila

PostPosted: Tue 11 Dec 2007, 21:26    Post subject: nice  

Very nice, Lobster. "Photon" rhymes with "Python" - I like that. Smile

Which gcc is it, the one used with 3.01, or the 2.16 devx?

Maybe your friend can help you, too, extract the kiddie programming tools from here: http://murga-linux.com/puppy/viewtopic.php?t=24424

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6683
Location: lisbon

PostPosted: Tue 11 Dec 2007, 22:20    Post subject:  

Lobster,

I haven't used it myself, but when I was going to do a java subject, a year ago, I was griping that I didn't have tha RAM to use NetBeans as the IDE, and someone suggested I try:

http://www.bluej.org/
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6683
Location: lisbon

PostPosted: Tue 11 Dec 2007, 22:27    Post subject:  

OK,

I just checked the requirement to install/run BlueJ. See here:

http://www.bluej.org/help/requirements.html
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


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

PostPosted: Wed 12 Dec 2007, 02:57    Post subject: Re: nice  

raffy wrote:
Very nice, Lobster. "Photon" rhymes with "Python" - I like that. Smile


Smile

I will move this Python tutorial I started some time ago (sorry about the ads - so called free hosting)
http://peace.wikia.com/wiki/Python
Any language inspired by Monty Python must be good . . .

Long term tmxxine will be a base for ASQ
http://tmxxine.com/wik/wikka.php?wakka=AsqDetails
Quote:
Which gcc is it, the one used with 3.01, or the 2.16 devx?

3.01

_________________
Puppy WIKI

Last edited by Lobster on Thu 29 May 2008, 13:14; 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: Wed 12 Dec 2007, 03:01    Post subject:  


I have looked briefly at bluej - will check it out - many thanks Smile

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Announcements
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.0640s ][ Queries: 11 (0.0039s) ][ GZIP on ]