Linux Tmxxine Photon

News, happenings
Post Reply
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

Linux Tmxxine Photon

#1 Post by Lobster »

Image


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: Select all

/*  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: Select all

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: Select all

/**
 * 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/viewto ... 3231#93231

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

Netlogo is a java jar file
from console run
/usr/local/netlogo-4.0.2/netlogo.sh
Last edited by Lobster on Wed 12 Dec 2007, 07:28, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#2 Post by Lobster »

:D 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= ... xinePhoton

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

:)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

nice

#3 Post by raffy »

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

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? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#4 Post by muggins »

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/

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#5 Post by muggins »

OK,

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

http://www.bluej.org/help/requirements.html

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

Re: nice

#6 Post by Lobster »

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

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
Which gcc is it, the one used with 3.01, or the 2.16 devx?
3.01
Last edited by Lobster on Thu 29 May 2008, 17:14, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#7 Post by Lobster »

Image
I have looked briefly at bluej - will check it out - many thanks :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply