Language Selection

English French German Italian Portuguese Spanish

Getting Stanford's "Karel the Robot" to Run in Debian's Eclipse

I’m taking Stanford’s Open Courseware “Programming Methodology” this semester, but I got stumped early on by the problem of setting up the special Stanford class libraries in my Debian-standard Eclipse installation. The instructions and files available from the website are only available for Windows and Macintosh platforms. The process is not that hard, but if you’re new to Java and Eclipse (and especially if you are new to programming, as the class assumes), you’ll likely be thrown by this. I couldn’t find any documentation on how to do this after extensive searching, so here it is.

Karel the Robot
Stanford’s Programming Methodology course starts out with a micro-language called “Karel the Robot”, adapted for Java. The original Karel was a minimalist teaching language based on Pascal, but with extremely reduced syntax. Karel also operated in a highly concrete graphical microworld. As such, it was a great way to show abstract programming concepts without the language getting in the way.

rest here




More in Tux Machines

PTS: PHP 7.1 vs. PHP 7.0 vs. HHVM Benchmarks

With today's PHP 7.1 release, performance isn't highlighted as much as language improvements to this first major update to PHP7, but I decided to run some PHP 7.1, PHP 7.0, PHP 5.6, PHP 5.5, and HHVM benchmarks of our open-source Phoronix Test Suite code-base. These self-tests of the Phoronix Test Suite aren't the conventional PHP workload of just a CMS, blog, or other web application that can be cached, etc, but effectively of a PHP CLI application. So keep this in mind when looking at the results and that your mileage may vary depending upon use-case. Read more

Best Features Of Linux Mint 18.1 ‘Serena’

If you’re fed up with Windows 10 and its hiccups, or you can’t afford the new MacBook Pro with fancy TouchBar, somewhere there’s a solid Linux system waiting for you. Linux Mint is often regarded as one of the best Linux desktop operating systems. Over the years, Mint has established itself as a competent Windows 10 replacement and its impressive releases continue to affirm this notion. Earlier this year in June, we witnessed the release of Linux Mint 18 Sarah. Now, the second point release of Linux Mint 18, i.e., Mint 18.1 Serena, is just around the corner. It’s slated to arrive later this December. Read more