<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Kojo-Dev (new threads)</title>
		<link>http://kogics.wikidot.com/forum/c-110283/kojo-dev</link>
		<description>Threads in the forum category &quot;Kojo-Dev&quot; - Discuss Ideas/Issues related to understanding, extending, and/or fixing issues with the Kojo Environment. This involves working with the Kojo (Scala/Netbeans-Platform based) source code.</description>
				<copyright></copyright>
		<lastBuildDate>Sun, 19 Jul 2026 21:41:09 +0000</lastBuildDate>
		
					<item>
				<guid>http://kogics.wikidot.com/forum/t-3672410</guid>
				<title>geogebra with kojo</title>
				<link>http://kogics.wikidot.com/forum/t-3672410/geogebra-with-kojo</link>
				<description></description>
				<pubDate>Wed, 20 Sep 2017 12:21:58 +0000</pubDate>
				<wikidot:authorName>weonkyoung Yu</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>In gegogebra, constructions and computations can be done using input filed command, ggbscript and javascript.<br /> Can I do the same thing with kojo script</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-1038955</guid>
				<title>animation with images</title>
				<link>http://kogics.wikidot.com/forum/t-1038955/animation-with-images</link>
				<description></description>
				<pubDate>Mon, 13 Oct 2014 10:04:11 +0000</pubDate>
				<wikidot:authorName>lexand</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Salutations</p> <p>we need some help&#8230;</p> <p>We want in teaching purposes write small games with two cannons. The main problem now is how to do correct animation with loaded images ?<br /> We want that children draw two cannons and background. Than we scan this pictures, extract background and canons and put in into Kojo scene.<br /> So the problems:<br /> 1. every drawn image overlaps the image we want to draw at runtime (example below)<br /> 2. we have original canon image that is paralel to X axis, and we want to rotate it in absoulte manner like &quot;rot(13) -&gt; im&quot;, but not in reference manner like in example below.<br /> 3. how correctly we should draw the scene (possibly using picture stack)<br /> - draw background<br /> - above background should place two cannons<br /> - than print wind/gravity/velocity/other data</p> <div class="code"> <pre><code>import Staging._ import Staging.{animate, wipe} cleari val im = PicShape.image(&quot;/home/alex/circle.png&quot;) // small picture about 60x60 pixels val ang=1; animate{ wipe im.rotate(ang).realDraw() line(0,0,200,200) }</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-1032676</guid>
				<title>can I use Kojo like an sbt console?</title>
				<link>http://kogics.wikidot.com/forum/t-1032676/can-i-use-kojo-like-an-sbt-console</link>
				<description>can we use existing sbt build projects within Kojo?</description>
				<pubDate>Sun, 28 Sep 2014 14:14:11 +0000</pubDate>
				<wikidot:authorName>anthony</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I have just started working through the new Coursera course on Scala, and thought it would be fun and bring Kojo some publicity to show how Kojo can be used as a nice IDE etc. for adults and kids alike. The course exercises are in the form of sbt project templates. Can they be 'imported' into Kojo in a similar way as to how you would import into eclipse, for example?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-985853</guid>
				<title>advantages over python/kivy?</title>
				<link>http://kogics.wikidot.com/forum/t-985853/advantages-over-python-kivy</link>
				<description>Hello! First of all heartfelt congratulations! I am intrigued by your choice of language Scala for developing Kojo...</description>
				<pubDate>Fri, 15 Aug 2014 08:10:28 +0000</pubDate>
				<wikidot:authorName>Ash</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hello! First of all heartfelt congratulations! I am intrigued by your choice of language Scala for developing Kojo, even though your profile clarifies your familiarity with Python. I am new to this field of teaching computing to kids, and have been evaluating various alternatives. It will be nice if you could clarify the tradeoff in using Kojo vs Scratch (MIT), Snap (UC Berkeley), Looking Glass (WUSTL), Greenfoot (Kent, UK) and any other similar tool you care to distinguish Kojo with, all at one place My (perhaps erroneous) understanding is that pure visual programming aids have limited features you wanted to expand on, whereas more flexible tools were Java based and are difficult for kids to pick up. If so, why not develop something similar based on Python which is already being used worldwide for teaching coding to kids, in conjunction with flexible (e.g cross platform) &amp; relatively easy (for graphics, gaming) Kivy package? Is that choice is just for historical reasons (kivy is new)?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-856986</guid>
				<title>Localization</title>
				<link>http://kogics.wikidot.com/forum/t-856986/localization</link>
				<description>Questions about localization</description>
				<pubDate>Sat, 03 May 2014 11:39:59 +0000</pubDate>
				<wikidot:authorName>Eric Zoerner</wikidot:authorName>				<wikidot:authorUserId>1878148</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I am working on localizing Kojo into Dutch.</p> <p>I notice that the currently released GeoGebra software is already translated into Dutch, but that Dutch translation is not included in Kojo. How can be get the Dutch translation of GeoGebra into Kojo?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-769541</guid>
				<title>Application Blocked by Security Settings</title>
				<link>http://kogics.wikidot.com/forum/t-769541/application-blocked-by-security-settings</link>
				<description>Your security settings have blocked a self-signed application from running.</description>
				<pubDate>Thu, 30 Jan 2014 03:27:43 +0000</pubDate>
				<wikidot:authorName>David Skinner</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>This the the notice I received when trying to run Kojo using the web interface. I also got the same results from the code examples.</p> <p>I would like to enable Kojo without creating a security hole. Any suggests would be appreciated.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-643967</guid>
				<title>GSoC 2013 with Scala</title>
				<link>http://kogics.wikidot.com/forum/t-643967/gsoc-2013-with-scala</link>
				<description></description>
				<pubDate>Sat, 13 Apr 2013 17:07:57 +0000</pubDate>
				<wikidot:authorName>lalitp</wikidot:authorName>				<wikidot:authorUserId>66813</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This is a continuation of <a href="https://groups.google.com/forum/?fromgroups=#!topic/scala-language/2EOfglOQDQw">https://groups.google.com/forum/?fromgroups=#!topic/scala-language/2EOfglOQDQw</a></p> <blockquote> <p>Rushi Shukla said:<br /> I have all pre-requisites for building kojo but after issuing the 'ant build' command , I get the following error :</p> <p>BUILD FAILED<br /> /home/rushi/netbeans-7.3/harness/suite.xml:184: The following error occurred while executing this line:<br /> /home/rushi/git/kojo/kojo/ScalaEditorLite/build.xml:8: The following error occurred while executing this line:<br /> /home/rushi/git/kojo/kojo/ScalaEditorLite/scala-build.xml:10: You must set SCALA_HOME or environment property and append &quot;-J-Dscala.home=scalahomepath&quot;<br /> property to the end of &quot;netbeans_default_options&quot; in NetBeansInstallationPath/etc/netbeans.conf to point to<br /> Scala installation directory.</p> </blockquote> <p>Rushi,</p> <p>Please work with the Kojo2 project - <a href="http://code.google.com/p/kojolite/">http://code.google.com/p/kojolite/</a>; you seem to be trying out Kojo1</p> <p>Cheers,<br /> - Lalit</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-561611</guid>
				<title>Ant Build Out Of Memory</title>
				<link>http://kogics.wikidot.com/forum/t-561611/ant-build-out-of-memory</link>
				<description>While trying to build the sources on Mac os X, ant is running out of memory</description>
				<pubDate>Sat, 08 Sep 2012 13:38:12 +0000</pubDate>
				<wikidot:authorName>Mushtaq Ahmed</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I tried to increase the memory by doing this before ant build command:<br /> export ANT_OPTS=&quot;-Xms1024M -Xmx3048M -XX:MaxPermSize=384M&quot;</p> <p>But even then I am getting the below:</p> <p>Exception in thread &quot;main&quot; java.lang.OutOfMemoryError: Java heap space<br /> [scalac] at java.util.jar.Manifest$FastInputStream.&lt;init&gt;(Manifest.java:313)<br /> [scalac] at java.util.jar.Manifest$FastInputStream.&lt;init&gt;(Manifest.java:308)<br /> [scalac] at java.util.jar.Manifest.read(Manifest.java:176)<br /> [scalac] at java.util.jar.Manifest.&lt;init&gt;(Manifest.java:50)<br /> [scalac] at java.util.jar.JarFile.getManifestFromReference(JarFile.java:167)<br /> [scalac] at java.util.jar.JarFile.getManifest(JarFile.java:148)<br /> [scalac] at sun.misc.URLClassPath$JarLoader$2.getManifest(URLClassPath.java:696)<br /> [scalac] at java.net.URLClassLoader.defineClass(URLClassLoader.java:228)<br /> [scalac] at java.net.URLClassLoader.access$000(URLClassLoader.java:58)<br /> [scalac] at java.net.URLClassLoader$1.run(URLClassLoader.java:197)<br /> [scalac] at java.security.AccessController.doPrivileged(Native Method)<br /> [scalac] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)<br /> [scalac] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)<br /> [scalac] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)<br /> [scalac] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)<br /> [scalac] at scala.tools.nsc.Global.throwableAsString(Global.scala:168)<br /> [scalac] at scala.tools.nsc.Global.logThrowable(Global.scala:165)<br /> [scalac] at scala.tools.nsc.Main$.process(Main.scala:113)<br /> [scalac] at scala.tools.nsc.Main$.main(Main.scala:123)<br /> [scalac] at scala.tools.nsc.Main.main(Main.scala)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-520265</guid>
				<title>Indentation</title>
				<link>http://kogics.wikidot.com/forum/t-520265/indentation</link>
				<description>Should the Script Editor follow the official Scala indentation convention?</description>
				<pubDate>Tue, 10 Jul 2012 22:50:29 +0000</pubDate>
				<wikidot:authorName>EnthusiasticEducator</wikidot:authorName>				<wikidot:authorUserId>1395618</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Boring and pedantic point, and not occupying a high priority, but if you look at Scala's official style guide (can't link here but easily googleable!):</p> <blockquote> <p>Indentation should follow the “2-space convention”. &#8230; [some code examples follow]</p> <p>The Scala language encourages a startling amount of nested scopes and logical blocks (function values and such). Do yourself a favor and don’t penalize yourself syntactically for opening up a new block. Coming from Java, this style does take a bit of getting used to, but it is well worth the effort.</p> </blockquote> <p>The Script Editor currently seems to apply the 4-space convention: admittedly this is what I'm used to myself and therefore seems perfectly normal to me (e.g. it's in the PEP8 Python style guide and is standard in Java) but there would seem to be some logic in following Scala's style guide. A foolish consistency is the hobgoblin of little minds etc, but Kojo's default layout, with the Script Editor and Output Pane sharing the bottom of the screen, does leave the typing space fairly narrow.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-387125</guid>
				<title>Sprites games</title>
				<link>http://kogics.wikidot.com/forum/t-387125/sprites-games</link>
				<description>API for sprites games in Kojo</description>
				<pubDate>Thu, 01 Sep 2011 17:07:18 +0000</pubDate>
				<wikidot:authorName>coolen</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I would really enjoy an good API sprites games in Kojo.<br /> I really love the Greenfoot environment API for sprites games ( <a href="http://www.greenfoot.org/doc/javadoc/">http://www.greenfoot.org/doc/javadoc/</a> ), this API is both simple and fulfill; unfortunatly you have to use java in Greenfoot (not scala, even if they both target the same JVM&#8230;)<br /> Do you think it is possible to use a simple java lib like Ucigame API ( <a href="http://www.ucigame.org/reference.html">http://www.ucigame.org/reference.html</a> ) in kojo ?</p> <p>Anyway, thanks you for making Kojo available, it's a great environment for teaching kids how to program. I teach physics (with electronics and computer science stuff) in a French high school in Paris. I've used differents langages and environments (pascal, C, python, smalltalk Squeak,DrRacket scheme) during the 10 last years but I want to switch this year with scala as langage and Kojo as IDE.</p> <p>From my experience when teaching programming to kids (secondary school, 13-18 years old) you need:</p> <p>1. a good langage:<br /> - a simple and concise syntax (scheme,smalltalk, python and scala are good)<br /> - algebraic notation like usual math notation (python, scala)<br /> - real functional programming is an advantage since many concepts are already seen in math (scheme, scala, python)<br /> - high level data collections as list, set, dictonary (hash table)(scheme,smalltalk, python, scala)</p> <p>2. a good environment:<br /> - an interactive Read-Eval-Print Loop (scheme,smalltalk, python, scala)<br /> - friendly debug system, stepping&#8230; (DrRacket scheme, Squeak, Greenfoot)</p> <p>3. Fun: graphics programs, drawings, sprites games (DrRacket, Squeak, Greenfoot, Kojo)</p> <p>Bonus:<br /> - interactive geometry with integration of geogebra (Kojo, Mathpiper)<br /> - C.A.S. Computer Algebra System (Mathpiper)</p> <p>Considering both the langage and the environment, Kojo is a great chalenger.<br /> In my point of view, inspiring environments for kojo would be:</p> <p>DrRacket:<br /> <a href="http://racket-lang.org/">http://racket-lang.org/</a><br /> <a href="http://docs.racket-lang.org/quick/index.html">http://docs.racket-lang.org/quick/index.html</a><br /> <a href="http://world.cs.brown.edu/">http://world.cs.brown.edu/</a><br /> <a href="http://www.htdp.org/">http://www.htdp.org/</a></p> <p>Greenfoot:<br /> <a href="http://www.greenfoot.org/">http://www.greenfoot.org/</a></p> <p>Mathpiper: (interactive geometry and computer algebra system in a functional programming langage).<br /> <a href="http://www.mathpiper.org/">http://www.mathpiper.org/</a></p> <p>Xavier Coolen.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-385680</guid>
				<title>Animation</title>
				<link>http://kogics.wikidot.com/forum/t-385680/animation</link>
				<description></description>
				<pubDate>Sun, 28 Aug 2011 07:53:03 +0000</pubDate>
				<wikidot:authorName>Conny</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I recently came across Kojo at the Scala blog and has played around with it. It's really an excellent tool for play and learning! I will try to introduce it to my bothers son. What is an appropriate age starting to use Kojo?</p> <p>Is there any chance of introducing animation of 2D or 3D models with connections, movement, and forces like gravitation and magnetism?</p> <p>Is it possible to use a more full featured IDE, like Eclipse, with Kojo?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-363800</guid>
				<title>Run current line</title>
				<link>http://kogics.wikidot.com/forum/t-363800/run-current-line</link>
				<description>Is there a shortcut for running only that one line where the cursor is?</description>
				<pubDate>Sat, 28 May 2011 22:04:52 +0000</pubDate>
				<wikidot:authorName>Mushtaq Ahmed</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I see that selecting the whole line followed by Ctrl + Enter achieves the same thing. But it will be very convenient to add a shortcut line Alt + Enter.</p> <p>Thanks,<br /> Mushtaq</p> <p>PS: Thanks for making this amazing tool!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-350684</guid>
				<title>Kojo on the Netbeans 7 Platform</title>
				<link>http://kogics.wikidot.com/forum/t-350684/kojo-on-the-netbeans-7-platform</link>
				<description></description>
				<pubDate>Tue, 26 Apr 2011 03:33:17 +0000</pubDate>
				<wikidot:authorName>lalitp</wikidot:authorName>				<wikidot:authorUserId>66813</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Kojo now runs on the Netbeans 7 Platform. The Kojo repo trunk (<a href="http://code.google.com/p/kojo/source/browse/">http://code.google.com/p/kojo/source/browse/</a>) contains the Netbeans 7 related changes.</p> <p>Instructions for building Kojo with Netbeans 7 are available here:<br /> <a href="http://code.google.com/p/kojo/source/browse/Build.txt">http://code.google.com/p/kojo/source/browse/Build.txt</a></p> <p>The older version of Kojo (which ran on the Netbeans 6.8 Platform), now lives on the NB6.8-scala2.8.x branch (<a href="http://code.google.com/p/kojo/source/browse/?r=NB6.8-scala2.8.x">http://code.google.com/p/kojo/source/browse/?r=NB6.8-scala2.8.x</a>).</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-300586</guid>
				<title>OSC module</title>
				<link>http://kogics.wikidot.com/forum/t-300586/osc-module</link>
				<description>about interfacing with OSC protocol</description>
				<pubDate>Wed, 19 Jan 2011 18:13:20 +0000</pubDate>
				<wikidot:authorName>Marco Giordano</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi all, I like very much Kojo project, but for the kind of work we perform I would like to implement in it an OSC interface because that protocol would allow us to communicate with the majority of audio-video synthesis environments.<br /> There are a couple of Java-OSC libraries, but could anybody give some hint about how integrating a Java library in Kojo?</p> <p>Thanks in advance</p> <p>Marco</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-263867</guid>
				<title>KojoNet</title>
				<link>http://kogics.wikidot.com/forum/t-263867/kojonet</link>
				<description>Network Collaboration/Competition/Gaming features for Kojo</description>
				<pubDate>Wed, 08 Sep 2010 18:29:56 +0000</pubDate>
				<wikidot:authorName>lalitp</wikidot:authorName>				<wikidot:authorUserId>66813</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This is a followup on an <a href="http://wiki.kogics.net/forum/t-253763#post-867520">earlier post</a> by Robert Smart:</p> <p>Kojo can definitely benefit from Network Collaboration/Competition/Gaming features. Here are some ideas on things that we might want to see within <em>KojoNet</em>:</p> <ul> <li>A Code Exchange - to share code/sketches, rate them, and discuss them (under active development)</li> <li>A Code Competition area - where users upload their competition entries during a specified competition time-range. These entries are then judged to declare winners (it should be easy to adapt the code exchange technology to implement this). <ul> <li>Competitions could be: <ul> <li>Programming puzzles,</li> <li>Or Programming games like the one mentioned <a href="http://wiki.kogics.net/forum/t-253763#post-859603">here</a> some time ago by Peter. I'm not quite sure whether the game that Robert describes (in the link at the beginning of the post) falls in this category.</li> </ul> </li> <li>There are privacy and security issues involved with implementing competitions (as mentioned by Robert)</li> </ul> </li> </ul> <p>How do these features sound?<br /> One great thing, in my mind, about the above features is that - I can see them getting implemented relatively quickly!</p> <p>What other features can we think of?</p> <p>In terms of implementation, here's the technology being used for the current cut of the Code Exchange:</p> <ul> <li>Scala XML literals for web templating</li> <li>The <a href="http://www.playframework.org/">Play Framework</a> (version 1.1)</li> <li>JPA/Hibernate</li> <li>Postgresql</li> <li>A slice on Linode.com for deployment</li> </ul> <p>It should be relatively easy to run this stuff on the App Engine, if we decide to go in that direction.<br /> If there's interest in hacking on this code, I'll set up a repo on Google code. Lemme know?</p> <p>That's it for now - just a few rambling thoughts before I crash for the night. Feel free to pitch in with ideas&#8230;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-253763</guid>
				<title>Kojo needs content, not features.</title>
				<link>http://kogics.wikidot.com/forum/t-253763/kojo-needs-content-not-features</link>
				<description></description>
				<pubDate>Fri, 16 Jul 2010 12:29:49 +0000</pubDate>
				<wikidot:authorName>Łukasz Lew</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>For Kojo to become popular and useful for it needs to have more content.<br /> Examples are good but not good enough.</p> <p>Ideas:</p> <p>1) Have a set of tasks to complete! I believe this is a great idea and should be central point of Kojo.</p> <p>2) Create sharing area. Kojo could have &quot;upload&quot; button that will put example on some website with a screenshot.<br /> Importing examples to Kojo should be easy as well.</p> <p>2a) To improve 2) some ranking system should be created. [maybe something like StackOverflow.com would work]</p> <p>3) Kojo should by injected to computer courses in some high schools to find its weakest points as learning platform.<br /> Important: the teacher should be someone unfamiliar with Kojo, but familiar with programming</p> <p>I don't see anything more important than the above for future of Kojo.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-231811</guid>
				<title>Contributor License Agreement</title>
				<link>http://kogics.wikidot.com/forum/t-231811/contributor-license-agreement</link>
				<description>Information on the contributor license agreement.</description>
				<pubDate>Sun, 04 Apr 2010 13:11:56 +0000</pubDate>
				<wikidot:authorName>lalitp</wikidot:authorName>				<wikidot:authorUserId>66813</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>If you want to contribute to Kojo, please send me an email (at <span class="wiki-email">moc.liamg|tilal.tnap#moc.liamg|tilal.tnap</span>) with the following text:</p> <p>My contributions to Kojo are licensed under the GNU GPL v3 license. The full text of the license is available at <a href="http://www.gnu.org/licenses/gpl-3.0.txt">http://www.gnu.org/licenses/gpl-3.0.txt</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-230317</guid>
				<title>Staging</title>
				<link>http://kogics.wikidot.com/forum/t-230317/staging</link>
				<description>Peter Lewerin&#039;s clone of Kojo</description>
				<pubDate>Sun, 28 Mar 2010 23:04:41 +0000</pubDate>
				<wikidot:authorName>Peter Lewerin</wikidot:authorName>				<wikidot:authorUserId>459742</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>ETA: I'm putting this up here because it will be easier to spot that way.</p> <p>Links:</p> <ul> <li>code: <a href="http://code.google.com/r/peterlewerin-staging/" target="_blank">http://code.google.com/r/peterlewerin-staging/</a></li> <li>reference: <a href="http://lewerin.se/peter/kojo/staging.html" target="_blank">http://lewerin.se/peter/kojo/staging.html</a></li> <li>wiki: <a href="http://code.google.com/p/kojo/wiki/StagingModule" target="_blank">http://code.google.com/p/kojo/wiki/StagingModule</a></li> </ul> <h3><span>Original message (which all the replies are about):</span></h3> <p>Announcement: I've committed a small update that changes and extends the set of random number commands (start small!).</p> <p>I replaced the randomDouble() command by an overloaded random(), added a randomFrom() command that picks a random member from a sequence, and added a randomSeed() command that sets the generator to a known sequence of numbers.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-230103</guid>
				<title>Problems with build</title>
				<link>http://kogics.wikidot.com/forum/t-230103/problems-with-build</link>
				<description></description>
				<pubDate>Sat, 27 Mar 2010 19:49:11 +0000</pubDate>
				<wikidot:authorName>Peter Lewerin</wikidot:authorName>				<wikidot:authorUserId>459742</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I've installed NetBeans 6.8 (taking care to avoid spaces in path names) and the Scala plugin. When I try to build Kojo I get several problem tasks that report missing symbols (e.g. Point, method instance() in Singleton subclasses). Most of these disappear if I open the source file that defines the class or symbol, but others remain. Still, the build succeeds and I can run Kojo, but I almost immediately get an NPE or Illegal State Exception.</p> <p>I've made a slight change to ScalaCodeRunner.scala; in Builtins I changed the declaration of Random and added two methods:</p> <div class="code"> <pre><code> private val Random = new scala.util.Random import scala.math._ def random[A] (upperBound: A)(implicit n: Numeric[A]): A = { val ub = n.toDouble(upperBound) if (upperBound.isInstanceOf[Int]) (Random.nextInt(ub.toInt)).asInstanceOf[A] else if (upperBound.isInstanceOf[Float]) (Random.nextFloat * ub.toFloat).asInstanceOf[A] else (Random.nextDouble * ub).asInstanceOf[A] } def random[A] (lowerBound: A, upperBound: A)(implicit n: Numeric[A]): A = { val lb = n.toDouble(lowerBound) val ub = n.toDouble(upperBound) - lb val r = lb + random(ub) if (upperBound.isInstanceOf[Int]) r.toInt.asInstanceOf[A] else if (upperBound.isInstanceOf[Float]) r.toFloat.asInstanceOf[A] else r.asInstanceOf[A] }</code></pre></div> <p>If I can't get it to work I'll try reverting the change, but it doesn't seem likely that the above should be causing the problems mentioned.</p> <p>Any ideas?</p> <p>EDIT: I've reverted to revision 175 of KojoEnv now, and that actually made the reports about Point go away, but NB still can't find RunContext or CodeRunner unless I open core/codeRunner.scala in a window. And nothing I do makes the instance method visible, apparently. Curious.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://kogics.wikidot.com/forum/t-230057</guid>
				<title>Welcome</title>
				<link>http://kogics.wikidot.com/forum/t-230057/welcome</link>
				<description>Kojo-Dev category information</description>
				<pubDate>Sat, 27 Mar 2010 13:49:00 +0000</pubDate>
				<wikidot:authorName>lalitp</wikidot:authorName>				<wikidot:authorUserId>66813</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Want to build Kojo from source and hack on it?<br /> Having problems doing this? Have new ideas related to this?<br /> This is the place to come to…</p> <p>You can create new threads within this category, and make new posts within existing threads, without having to register or login.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>