Recent Forum Posts
From categories:
page 1123...next »

I have been teaching programming to beginners for many years using Scala both with kids of various ages and with beginner adults at university level. I have also also seen Python in action in teaching to some extent and here are some issues with Python that forms my rationale for choosing Scala over Python:

  • Dynamic typing means less help in finding bugs; risk of lower ambition
  • No ''typing dialog'' with a compiler means less conceptual learning
  • Non-explicit types in function defs is less efficient when learning abstract thinking
  • Indentation syntax with silent begin-end can make nested blocks obscure to beginners
  • No explicit variable declaration can lead to very hard bugs also for non-beginners
  • Refactoring is more risky, hence discouraging -> bad for step-wise problem solving
  • Not excellent at object orientation
  • Not excellent at functional programming

I have no systematic empiricism behind the above hypotheses but I have some anecdotal evidence that suggest that the above list might be important to address when considering Python.

//Bjorn

I am not a Python person, but from what I have learnt from experimenting with both the GUI frameworks, Kivy seems to be a better one. Tkinter is quite old and based on Tcl/Tk, which itself is ancient. Newer UI frameworks need to be versatile, theme oriented and easily customizable. Also, more importantly they should support development for the mobile platforms as well, which I believe, Kivy does.

Hi,
Accessibility is a requirement and not just a nice to have feature. Organizations and open source projects alike realize that they could be unintentionally locking people with different abilities out of their products. We need to think about how we program our product and the documentation so that we can optimize for others success.
Business case
1. Better SEO, and usability
2. Positive coding practices
3. Comply with any legal standards or regulations

PS: Would like to quote stackoverflow survey One out of every 200 is hard of sight.

Please let me know if this is something that interests you.

Alain Bélanger (guest) 03 Jun 2018 09:15
in discussion Kojo / Support » Cannot run Kojo

Wow merci beaucoup

Tout fonctionne à merveille.

by Alain Bélanger (guest), 03 Jun 2018 09:15
lalitplalitp 03 Jun 2018 00:10
in discussion Kojo / Support » Cannot run Kojo

Ah, please run Kojo with Java 8. To do so, just modify the java line in $KOJO_HOME/bin/kojo to point to your java 8 install.

You can get Java 8 from Oracle, IntelliJ, or from Ubuntu repos.

/L

by lalitplalitp, 03 Jun 2018 00:10
Alain Bélanger (guest) 02 Jun 2018 23:55
in discussion Kojo / Support » Cannot run Kojo

Hello
I got this message when i try to lunch kojo2 on kubuntu 18.04.

Exception in thread "main" java.lang.ExceptionInInitializerError
at net.kogics.kojo.lite.DesktopMain.main(DesktopMain.scala)
Caused by: java.lang.RuntimeException: classloader (jdk.internal.loader.ClassLoaders$AppClassLoader@255316f2) is not a URLClassLoader
at scala.sys.package$.error(package.scala:27)
at net.kogics.kojo.lite.DesktopMain$.<init>(DesktopMain.scala:23)
at net.kogics.kojo.lite.DesktopMain$.<clinit>(DesktopMain.scala)
… 1 more

Thank you for your hard work.

by Alain Bélanger (guest), 02 Jun 2018 23:55
jackywornejackyworne 25 Apr 2018 09:16
in discussion Kojo / Code Exchange » Beginning on Kojo

PSD conversion plays a vital role in building a handsome WordPress based site. We have tried to give you the basic ideas to have to regard in mind when you convert any PSD to WordPress theme. Hopefully you will like it. If you liked this blog please feel free to share it with your dearest ones.
PSD to Wordpress Expert

by jackywornejackyworne, 25 Apr 2018 09:16

I'm considering how to I could contribute to Kojo, maybe translatingo some examples in italian, but I'm wondering how to find the underlying code to traslate.

I see that the interface is translated in Italian but the exaples not.

I'm using kojo 2.4.12 for Linux - and have access to a not blleding edge computer.

TIA and Regards

Carlo D.

Contributing to kojo - translations by Carloo Dormeletti (guest), 17 Jan 2018 08:44
Thanks to Lalit
lotollotol 20 Sep 2017 17:21
in discussion Kojo / Kojo-Dev » geogebra with kojo

You need to reply for the previous post.

I am impressed by your project. I would wish Kojo to be used in every school.

Thanks to Lalit.

Thanks to Lalit by lotollotol, 20 Sep 2017 17:21
weonkyoung yu (guest) 20 Sep 2017 14:34
in discussion Kojo / Kojo-Dev » geogebra with kojo

Thank you for your prompt reply.

I have another question.

I am a math teacher in senior high school. In Kojo, Would it be possible to script number theory, mathematical modeling and so on?

by weonkyoung yu (guest), 20 Sep 2017 14:34

Yes, you can programatically control geogebra from Kojo via scala scripts. The bridge is the Mw object in Kojo.

For example, try this script:

Mw.clear()
Mw.hideAlgebraView()
Mw.showAxes()
Mw.variable("m", 1, -5, 5, 0.1, 50, 50)
Mw.variable("c", 0, -2, 2, 0.1, 50, 80)
Mw.evaluate("y = m x + c")

To see more examples, look (in the script editor) at the scripts for Help -> Kojo Overview and Samples -> Math Learning Modules -> Solving Linear Equations (run these scripts, and then search for Mw. in the script editor)

Code completion on the Mw object (type Mw. and then Ctrl+Space) will show you what's available for geogebra interaction.

Or you can look at the Mathworld class (of which the above Mw is an instance) to see what's inside in more detail:
https://github.com/litan/kojo/blob/master/src/main/scala/net/kogics/kojo/mathworld/MathWorld.scala

Hope that helps. Feel free to ask more questions.

Re: geogebra with kojo by lalitplalitp, 20 Sep 2017 13:36
geogebra with kojo
weonkyoung Yu (guest) 20 Sep 2017 12:21
in discussion Kojo / Kojo-Dev » geogebra with kojo

In gegogebra, constructions and computations can be done using input filed command, ggbscript and javascript.
Can I do the same thing with kojo script

geogebra with kojo by weonkyoung Yu (guest), 20 Sep 2017 12:21

Yes you can, after liberating your student's machines: ChromeOS is actually prepared for running a Linux Ubuntu subsystem! Programming is all about controlling your computer so when teaching programming it makes perfect sense to unlock your Chromebook and use developer mode and then install what is called "Crouton" on your Chromebook.

Here is one of many guides on the net on how to do that:
http://www.androidauthority.com/crouton-turn-your-chromebook-into-far-more-than-a-glorified-web-browser-663044

The you install Java with this terminal command in your Ubuntu subsystem:

sudo apt-get install default-jdk

And then install Kojo as described for Linux on the Kojo download page. And ready to go!

BTW: This means that the sysadmin of your school should support your very important pedagogical ambitions in allowing your students to do "real" programing! :)

Hope this helped?

Good luck!

Kojo och chrombooks
Annamaria Kadir (guest) 24 Aug 2017 06:50
in discussion Kojo / Support » Kojo och chrombooks

Mina elever har chromebooks. Går det att jobba med Kojo?

Kojo och chrombooks by Annamaria Kadir (guest), 24 Aug 2017 06:50

The question in English: "Is it possible to run Kojo on a Chromebook with ChromeOS, and if so how to do it?"

Yes, it is possible but requires that you enable developer mode, and you then can install crouton via commands in a terminal window as explained here:

https://www.howtogeek.com/162120/how-to-install-ubuntu-linux-on-your-chromebook-with-crouton/

After that you can install openjdk using this command in terminal:

sudo apt-get install openjdk-8-jre

and then download and run the kojo jar-file from terminal using this command:

java -jar xxx.jar

where xxx.jar is replaced by the name of the downloaded kojo jar-file from here:
http://www.kogics.net/kojo-download

If you have problems, your IT-department should be able to help you with the installation.
Good luck!
/B

Kojo på en chromebook
Ann-Catherine Sjöberg (guest) 12 May 2017 06:55
in discussion Kojo / Kojo-User-Sweden » Kojo på en chromebook

Kojo ska kunna köras på web, men är det överhuvudtaget möjligt på en chromebook.
Om det går isåfall hur går man tillväga?

Kojo på en chromebook by Ann-Catherine Sjöberg (guest), 12 May 2017 06:55
lalitplalitp 05 Feb 2016 18:31
in discussion Kojo / Support » Kojo in DiDPI monitor

I have started to play with this, and I have a new Kojo-Web build out there (http://www.kogics.net/webkojo). Let me know if you see any font size improvements with this build.

by lalitplalitp, 05 Feb 2016 18:31
Re: Msi-file
lalitplalitp 24 Nov 2015 05:50
in discussion Kojo / Support » Msi-file

Sorry, we currently only have an exe installer. Is there a problem with using the exe installer? Or is it an IT policy thing?

Re: Msi-file by lalitplalitp, 24 Nov 2015 05:50
Msi-file
AnnP (guest) 23 Nov 2015 17:33
in discussion Kojo / Support » Msi-file

I would like to use Kojo with my pupils at school. Our IT-support wants a msi-file so that they can install Kojo with UpKeeper. Can anyone help me to find a msi-file?

Msi-file by AnnP (guest), 23 Nov 2015 17:33

Try:
import javax.swing.WindowConstants
frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE)

DISPOSE_ON_CLOSE is defined in WindowConstants. JFrame implements WindowConstants, but DISPOSE_ON_CLOSE is not visible via JFrame in Scala (can't remember why off the top of my head).

Re: javax.swing question by lalitplalitp, 22 Oct 2015 15:45
page 1123...next »
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License