<?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>Kogics - new forum threads</title>
		<link>http://wiki.kogics.net/forum/start</link>
		<description>Threads in forums of the site &quot;Kogics&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Mon, 04 Jun 2012 07:58:34 +0000</lastBuildDate>
		
					<item>
				<guid>http://wiki.kogics.net/forum/t-469349</guid>
				<title>log information is missing</title>
				<link>http://wiki.kogics.net/forum/t-469349/log-information-is-missing</link>
				<description>dependent libs don&#039;t log</description>
				<pubDate>Fri, 18 May 2012 11:13:47 +0000</pubDate>
				<wikidot:authorName>Volker Bardenhorst</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi</p> <p>I added some libs to my local kojo env. Perfect.</p> <p>But the log information coming from those libs is ignored or at least I'm not able to find.</p> <p>Can someone guide me to how I can get that working?</p> <p>Cheers, Volker.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-461279</guid>
				<title>Follow the Kojo Blog for latest announcements</title>
				<link>http://wiki.kogics.net/forum/t-461279/follow-the-kojo-blog-for-latest-announcements</link>
				<description></description>
				<pubDate>Sat, 14 Apr 2012 14:24:18 +0000</pubDate>
				<wikidot:authorName>lalitp</wikidot:authorName>				<wikidot:authorUserId>66813</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Just a reminder - news and announcements related to Kojo show up on the <a href="http://kojoenv.wordpress.com/">The Kojo Blog</a>.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-424420</guid>
				<title>New Kojo Release – Version Dec-29-2011 – Featuring Collision Detection</title>
				<link>http://wiki.kogics.net/forum/t-424420/new-kojo-release-version-dec-29-2011-featuring-collision-det</link>
				<description></description>
				<pubDate>Fri, 30 Dec 2011 09:53:23 +0000</pubDate>
				<wikidot:authorName>lalitp</wikidot:authorName>				<wikidot:authorUserId>66813</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The month of December has seen the addition of some exciting new features to Kojo. <a href="http://kojoenv.wordpress.com/2011/12/30/kojo-version-291211-released/">Read more...</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-393870</guid>
				<title>multi-line function defs supported?</title>
				<link>http://wiki.kogics.net/forum/t-393870/multi-line-function-defs-supported</link>
				<description>multi-line functions trouble</description>
				<pubDate>Thu, 22 Sep 2011 20:58:32 +0000</pubDate>
				<wikidot:authorName>Steve Harris</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I'm having trouble defining multi-line functions in the script editor, unless I've already run the Scala Tuturial story.</p> <p>If I enter:</p> <div class="code"> <pre> <code>def minmax(x: Int, y: Int): (Int,Int) = { if (x &gt; y) (y,x) else (x,y) }</code> </pre></div> <br /> the script editor edge is green but there's never any output other than &quot;&#8212;-&quot; (no acknowledgement that the function was created as it usually does), and the same thing happens for any subsequent inputs - no output. <p>Single line functions don't seem to trigger this behavior. Also it doesn't happen if I've just opened the Scala Tutorial story and cleared the editor.</p> <p>Is there some way of entering this &quot;full sala&quot; mode without opening the Scala Tuturial?</p> <p>Thanks and I greatly enjoy this tool BTW!</p> <p>Steve Harris and son</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-390245</guid>
				<title>Change Font size in REPL?</title>
				<link>http://wiki.kogics.net/forum/t-390245/change-font-size-in-repl</link>
				<description>Is there a way to change the font size in the REPL?</description>
				<pubDate>Tue, 13 Sep 2011 14:23:05 +0000</pubDate>
				<wikidot:authorName>Craig Tataryn</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I'd like to use the Kojo REPL during a Scala presentation, is it possible to change the font size for the REPL? This would come in handy for the audience.</p> <p>Thanks,</p> <p>Craig.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-387125</guid>
				<title>Sprites games</title>
				<link>http://wiki.kogics.net/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://wiki.kogics.net/forum/t-385680</guid>
				<title>Animation</title>
				<link>http://wiki.kogics.net/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://wiki.kogics.net/forum/t-363800</guid>
				<title>Run current line</title>
				<link>http://wiki.kogics.net/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://wiki.kogics.net/forum/t-360967</guid>
				<title>Making interactive turles?</title>
				<link>http://wiki.kogics.net/forum/t-360967/making-interactive-turles</link>
				<description>How to use keyPressed etc.?</description>
				<pubDate>Mon, 16 May 2011 23:06:04 +0000</pubDate>
				<wikidot:authorName>Bjorn Regnell</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi</p> <p>I’m using Kojo to teach kids programming in Sweden.<br /> I think the environment is great!</p> <p>I would like to test if a key is pressed or not (without haning) in order to enable the kids make easy games where they control the turtle in realtime using the keyboard.</p> <p>Is there an easy way of doing this?<br /> I tried to look in codecompletion for Staging. , but found no keypressed etc as there seem to be in the corresponding processing environment: <a href="http://www.processing.org/reference/">http://www.processing.org/reference/</a></p> <p>Anyway of polling the keybord with the builtin stuff?</p> <p>Cheers<br /> Bjorn</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-350684</guid>
				<title>Kojo on the Netbeans 7 Platform</title>
				<link>http://wiki.kogics.net/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://wiki.kogics.net/forum/t-319925</guid>
				<title>Kojo – Version 030311 Released</title>
				<link>http://wiki.kogics.net/forum/t-319925/kojo-version-030311-released</link>
				<description></description>
				<pubDate>Mon, 07 Mar 2011 17:03:39 +0000</pubDate>
				<wikidot:authorName>lalitp</wikidot:authorName>				<wikidot:authorUserId>66813</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>More information here:<br /> <a href="http://kojoenv.wordpress.com/2011/03/07/kojo-version-030311-released/">http://kojoenv.wordpress.com/2011/03/07/kojo-version-030311-released/</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-304747</guid>
				<title>educational languages on Phil Wadler&#039;s blog</title>
				<link>http://wiki.kogics.net/forum/t-304747/educational-languages-on-phil-wadler-s-blog</link>
				<description>no low ceiling for kojo.</description>
				<pubDate>Wed, 02 Feb 2011 19:40:16 +0000</pubDate>
				<wikidot:authorName>Robert Smart</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I put a link to kojo in a comment on Phil Wadler's blog where he has been discussing languages for kids: <a href="http://wadler.blogspot.com/2011/02/low-floors-low-ceilings-and-alice.html">http://wadler.blogspot.com/2011/02/low-floors-low-ceilings-and-alice.html</a>, and also the previous blog post. Needless to say kojo doesn't have a low ceiling.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-300586</guid>
				<title>OSC module</title>
				<link>http://wiki.kogics.net/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://wiki.kogics.net/forum/t-287007</guid>
				<title>Kojo – Version 251110 Released, Featuring Stories</title>
				<link>http://wiki.kogics.net/forum/t-287007/kojo-version-251110-released-featuring-stories</link>
				<description></description>
				<pubDate>Thu, 25 Nov 2010 16:28:14 +0000</pubDate>
				<wikidot:authorName>lalitp</wikidot:authorName>				<wikidot:authorUserId>66813</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>A new version of Kojo, with some exciting new features, is out. More information here:<br /> <a href="http://kojoenv.wordpress.com/2010/11/25/kojo%E2%80%93version-251110-released/">http://kojoenv.wordpress.com/2010/11/25/kojo%E2%80%93version-251110-released/</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-264644</guid>
				<title>ScalaCodeRunnerBuiltins on the wiki</title>
				<link>http://wiki.kogics.net/forum/t-264644/scalacoderunnerbuiltins-on-the-wiki</link>
				<description>Discussion concerning the contents and direction of the wiki page.</description>
				<pubDate>Sun, 12 Sep 2010 15:56:57 +0000</pubDate>
				<wikidot:authorName>Peter Lewerin</wikidot:authorName>				<wikidot:authorUserId>459742</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The <a href="http://code.google.com/p/kojo/wiki/ScalaCodeRunnerBuiltins">page about Builtins</a> is finally getting close to being ready.</p> <p>At this point, I'd appreciate feedback and suggestions: does it explain the right things the right way?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-263973</guid>
				<title>Where to get the book</title>
				<link>http://wiki.kogics.net/forum/t-263973/where-to-get-the-book</link>
				<description>Book location</description>
				<pubDate>Thu, 09 Sep 2010 07:36:32 +0000</pubDate>
				<wikidot:authorName>lalitp</wikidot:authorName>				<wikidot:authorUserId>66813</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The book is available from the <a href="http://www.kogics.net/sf:kojo-ebooks">Kojo Ebooks Page</a>.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-263867</guid>
				<title>KojoNet</title>
				<link>http://wiki.kogics.net/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…</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-263574</guid>
				<title>Interview: Scala Learning Environment on the NetBeans Platform</title>
				<link>http://wiki.kogics.net/forum/t-263574/interview:scala-learning-environment-on-the-netbeans-platfor</link>
				<description>Interesting for all Kojo users!</description>
				<pubDate>Tue, 07 Sep 2010 15:33:52 +0000</pubDate>
				<wikidot:authorName>PhiLho</wikidot:authorName>				<wikidot:authorUserId>551317</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This empty section is crying for at least a topic… ^_^<br /> If I can say so, Kojo is a bit weak… on the marketing side. I just discovered, by accident (almost, searching about Scala), an interview of Lalit Pant himself: <a href="http://netbeans.dzone.com/learn-scala-with-kojo">Interview: Scala Learning Environment on the NetBeans Platform</a>.<br /> Interesting and informative.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-261332</guid>
				<title>PhiLho&#039;s code</title>
				<link>http://wiki.kogics.net/forum/t-261332/philho-s-code</link>
				<description>My code in Kojo.
Also in [http://bazaar.launchpad.net/~philho/+junk/Kojo/files Kojo experiments on Launchpad]</description>
				<pubDate>Sat, 28 Aug 2010 16:05:18 +0000</pubDate>
				<wikidot:authorName>PhiLho</wikidot:authorName>				<wikidot:authorUserId>551317</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>OK, my first baby steps in Kojo… Purely imperative for now.</p> <div class="code"> <pre> <code>val ROUND = 360 val SIDE_NB = 5 val ANGLE = ROUND / SIDE_NB clear jumpTo(0, 300) write("Pentagon") jumpTo(0, 0) setAnimationDelay(42) setPenColor(blue) setPenThickness(11) for (n &lt;- -2 until 3) { setFillColor(color(0x80 - n * 40, 0xFF, 0x80 + n * 60)) setHeading((2 + n) * ANGLE) repeat (SIDE_NB) { forward(150) turn(-ANGLE) } }</code> </pre></div> <br /> That's mostly an exploration of the API.<br /> I saw no means to specify a translucent fill color. I tried with a 32bit color like 0x8080FF80 but it is still opaque. <p>There is something that puzzles me: if I replace the for loop with:</p> <div class="code"> <pre> <code>var n = 0 repeat (5)</code> </pre></div> <br /> I get an error: <div class="code"> <pre> <code>error: missing arguments for method repeat in object Builtins; follow this method with `_' if you want to treat it as a partially applied function repeat (5) ^</code> </pre></div> <br /> Not sure if it is to be expected with Scala (ie. if I didn't fully understood the syntax) or if there is a bug in the interpreter. <p>BTW, if I want to print a number in hexa style, what is the idiom in Scala?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-253763</guid>
				<title>Kojo needs content, not features.</title>
				<link>http://wiki.kogics.net/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 "upload" 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://wiki.kogics.net/forum/t-240448</guid>
				<title>Wiki?</title>
				<link>http://wiki.kogics.net/forum/t-240448/wiki</link>
				<description>Is it a good idea to activate the Google Code wiki option?</description>
				<pubDate>Sun, 09 May 2010 08:33:41 +0000</pubDate>
				<wikidot:authorName>Peter Lewerin</wikidot:authorName>				<wikidot:authorUserId>459742</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I was thinking that maybe it would be easier to discuss and at the same time document development on a wiki. It could have pages for API, examples, tutorials, etc, and discussion pages for each article to resolve issues that come up.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-231811</guid>
				<title>Contributor License Agreement</title>
				<link>http://wiki.kogics.net/forum/t-231811/contributor-license-agreement</link>
				<description>Download the contributor license agreement from here.</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><a href="http://wiki.kogics.net/local--files/forum:thread/ContributorAgreement.pdf">Contributor License Agreement</a></p> <p>If you wish to contribute to Kojo, you are requested to sign the Contributor License Agreement. Please download the agreement from the link above, and then scan and email a signed copy of the agreement to pant.lalit at gmail.com, as per the instructions below:</p> <ul> <li>Put your initials at the bottom right of the first page.</li> <li>Fill out the required information and sign on the second page. Make sure you specify your country of residence within your mailing address.</li> <li>Email both pages as attachments within a single email.</li> </ul> <p>The agreement is derived from the Sun Contributor Agreement – version 1.5</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-230657</guid>
				<title>Java 6 requirement</title>
				<link>http://wiki.kogics.net/forum/t-230657/java-6-requirement</link>
				<description>Will probably exclude most Mac users</description>
				<pubDate>Tue, 30 Mar 2010 14:27:27 +0000</pubDate>
				<wikidot:authorName>Jon Kleiser</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Why did you decide to require Java 6? I think this requirement probably will exclude most Mac users from running Kojo. As far as I know, Apple only supports Java 6 on Macs running a 64-bit system. SoyLatte may be a solution for some Mac users, but I prefer to stick with Java 5 for a while.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-230317</guid>
				<title>Staging</title>
				<link>http://wiki.kogics.net/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/" >http://code.google.com/r/peterlewerin-staging/</a></li> <li>reference: <a href="http://lewerin.se/peter/kojo/staging.html" >http://lewerin.se/peter/kojo/staging.html</a></li> <li>wiki: <a href="http://code.google.com/p/kojo/wiki/StagingModule" >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://wiki.kogics.net/forum/t-230103</guid>
				<title>Problems with build</title>
				<link>http://wiki.kogics.net/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://wiki.kogics.net/forum/t-230057</guid>
				<title>Welcome</title>
				<link>http://wiki.kogics.net/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>
					<item>
				<guid>http://wiki.kogics.net/forum/t-229847</guid>
				<title>Problem with java-/scaladoc @return</title>
				<link>http://wiki.kogics.net/forum/t-229847/problem-with-java-scaladoc-return</link>
				<description></description>
				<pubDate>Fri, 26 Mar 2010 13:47:25 +0000</pubDate>
				<wikidot:authorName>Peter Lewerin</wikidot:authorName>				<wikidot:authorUserId>459742</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This script fails to compile in Beta-120310-2:</p> <div class="code"> <pre> <code> /** * Returns a pseudo-random number in the range low -- high. * * @return a pseudo-random number in the range low &amp;le; &lt;var&gt;n&lt;/var&gt; &amp;lt; (&lt;code&gt;high&lt;/code&gt; - &lt;code&gt;low&lt;/code&gt;). */ clear forward(100)</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-229555</guid>
				<title>Another example, with sq and dist methods</title>
				<link>http://wiki.kogics.net/forum/t-229555/another-example-with-sq-and-dist-methods</link>
				<description>A straight port of the Array2D example from Processing.  The most interesting part is the sq and dist methods, which should be generic enough (requires 2.8, I think) and possibly efficient (I&#039;m not implementation-savvy in the Java environment).</description>
				<pubDate>Thu, 25 Mar 2010 09:09:01 +0000</pubDate>
				<wikidot:authorName>Peter Lewerin</wikidot:authorName>				<wikidot:authorUserId>459742</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <div class="code"> <pre> <code>import java.awt.Color._ def sq[A](x: A)(implicit n: Numeric[A]): A = n.times(x, x) def dist[A](x0: A, y0: A, x1: A, y1: A)(implicit n: Numeric[A]): A = { val v = n.plus(sq(n.minus(x0, x1)), sq(n.minus(y0, y1))) val r = Math.sqrt(n.toDouble(v)) if (v.isInstanceOf[Int]) r.toInt.asInstanceOf[A] else if (v.isInstanceOf[Float]) r.toFloat.asInstanceOf[A] else r.asInstanceOf[A] } clear invisible Canvas.fgClear //? val width = 200 val height = 200 // background(0) val maxDistance = dist(width/2, height/2, width, height) val distances = Seq.tabulate(width, height){ case (i, j) =&gt; dist(width/2f, height/2f, j, i)/maxDistance * 255 } for (i &lt;- 0 until(height, 2) ; j &lt;- 0 until(width, 2)) { val c = distances(j)(i).toInt Canvas.setPenColor(new Color(c, c, c)) Canvas.point(j, i) }</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-229372</guid>
				<title>Rendering curves in grayscale</title>
				<link>http://wiki.kogics.net/forum/t-229372/rendering-curves-in-grayscale</link>
				<description>Adapted from a Processing example, applies four different composed functions to sequence of radian values from 0 to pi and renders each as a grayscale gradient.</description>
				<pubDate>Wed, 24 Mar 2010 14:54:12 +0000</pubDate>
				<wikidot:authorName>Peter Lewerin</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <div class="code"> <pre> <code>import Math._ import java.awt.Color._ clear invisible val width = 180 val height = 25 val halfwave = Vector.tabulate(width){ i =&gt; toRadians(i) } def render (level: Int)(fn: Double =&gt; Double) { val y0 = level * height val y1 = (level + 1) * height (halfwave map fn zipWithIndex) foreach { case(e, i) =&gt; val c = e.toFloat Canvas.setPenColor(new Color(c, c, c)) Canvas.line(i, y0, i, y1) } } val f = { x: Double =&gt; 1 - x } render (3) { sin } render (2) { sin _ andThen f } render (1) { cos _ andThen abs } render (0) { cos _ andThen abs andThen { x =&gt; 1 - x } }</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-229114</guid>
				<title>Dragon curve example.</title>
				<link>http://wiki.kogics.net/forum/t-229114/dragon-curve-example</link>
				<description></description>
				<pubDate>Tue, 23 Mar 2010 13:10:28 +0000</pubDate>
				<wikidot:authorName>Łukasz Lew</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>def dragon (depth : Int, angle : Double) : Unit = {<br /> if (depth == 0) {<br /> forward (10)<br /> return;<br /> }</p> <p>turn (angle)<br /> dragon (depth-1, angle.abs)<br /> turn (-angle)</p> <p>turn (-angle)<br /> dragon (depth-1, -angle.abs)<br /> turn (angle)<br /> }</p> <p>clear<br /> setAnimationDelay(0)<br /> setPenThickness (7)</p> <p>dragon (10, 45)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wiki.kogics.net/forum/t-228292</guid>
				<title>Welcome</title>
				<link>http://wiki.kogics.net/forum/t-228292/welcome</link>
				<description>&#039;Code Exchange&#039; Category Information</description>
				<pubDate>Fri, 19 Mar 2010 20:21:19 +0000</pubDate>
				<wikidot:authorName>lalitp</wikidot:authorName>				<wikidot:authorUserId>66813</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Want to showcase what you're doing with Kojo? Or just browse and see what others are upto?<br /> Then this is the place to hang out in…</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>
					<item>
				<guid>http://wiki.kogics.net/forum/t-228290</guid>
				<title>Welcome</title>
				<link>http://wiki.kogics.net/forum/t-228290/welcome</link>
				<description>Documentation Category Information</description>
				<pubDate>Fri, 19 Mar 2010 20:19:11 +0000</pubDate>
				<wikidot:authorName>lalitp</wikidot:authorName>				<wikidot:authorUserId>66813</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>With respect to the Kojo Documentation, if you:</p> <ul> <li>Can't understand something</li> <li>Think something is incorrect</li> <li>Want to improve something</li> <li>Want to contribute your own documentation</li> </ul> <p>Then, 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>
					<item>
				<guid>http://wiki.kogics.net/forum/t-228288</guid>
				<title>Welcome</title>
				<link>http://wiki.kogics.net/forum/t-228288/welcome</link>
				<description>Support Category Information</description>
				<pubDate>Fri, 19 Mar 2010 20:10:40 +0000</pubDate>
				<wikidot:authorName>lalitp</wikidot:authorName>				<wikidot:authorUserId>66813</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Confused while using Kojo? Can't do something that you want to do? Something seems to be working incorrectly? This is the place to ask…</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>
