Tuesday, October 25, 2016

C Blog Post 4: "More Alice 3"

One thing I didn't know about Alice 3 is that you can make your own procedures, functions, and properties in your Alice program.  Note that the functions and procedures will only be visible to any class that extends to to selecting class to work with.  Procedures are functions that doesn't return any value, but can provide arguments.  The only thing is that is how to make your own classes like SNode extends SScene.  One example is this convertBoolToString boolean: ??? .  For those when working with extensions, the extension for an Alice 3 program is .a3p and an Alice 3 class file is .a3c.  By the way, have fun with Alice 3.
this convertBoolToString with arguments Boolean boolean
if useCaps
if boolean
"TRUE"
else
"FALSE"
else
if boolean
"true"
else
"false"

Friday, October 14, 2016

C Blog Post 3: "Alice"

There is another programming language called Alice.  It has a built-in 3D environment and different built-in models.  It also allows features to have the script control the camera.  It also have the ability to import your own models to use it.
Blogger

Monday, October 10, 2016

C Blog Post 2: About Program Evaluation

If a block of code is between the <erun> tags it will run within a day to a week. You'll able to see your results at the log.  However, if the result is not plain text, it will display the result as an image depending whether it is an animated image or not.
You can directly specify the language of the <erun> using either the "type" attribute as MIME type or the old deprecated "language" attribute.
<erun type="text/python3">     print("Hello world!")    </erun>
The example should output like this:
Running code as Python 3:
Hello world!
Return value: None
Absolute running time: 0.14 sec, cpu time: 0.02 sec, memory peak: 5 Mb, absolute service time: 0,15 sec
The absolute running time is the amount it takes to complete the request including how long the program can complete.  The CPU time is the amount it takes for the program to complete.  The memory peak is the highest amount of RAM memory to taken up from the program.  The service time is the amount it takes to receive the program to the server.  You can try to mess around but most programs will ran inside virtual machines.

Tuesday, October 4, 2016

C Blog Post 1: "The CAS"

If you are interested at chemistry for all discovered molecules at different boiling points, freezing points, whether that chemical is soluble, visit the CAS.  There are others as well:
Other Links