This is the fourth iteration of TryRuby. The original was created by
_why. R4 was created for several reasons:
* The lesson content was getting a bit dated. For instance the stuff
about reading and writing disk files does not really belong in an
entry level course these days.
Writing blog software is also not very appealing anymore
* Lesson content also missed some important information
(like IF statements)
* All previous TryRuby versions consisted of an irb interpreter with
a web front-end.
Even though some security measures have been taken (isolating and
restricting the irb process and whitelisting input), this still
sounds like a disastrously bad idea from a security perspective!
TryRuby R4 runs inside the web browser
* TryRuby.org (R3) is embedded in a commercial venture. This doesn't
seem in line with the free spirit in which TryRuby was created
* Since I have a C/C++ background and am switching to Ruby, I needed
a small but significant Ruby project for my resume. The original
lesson content was brilliant stuff, so working on TryRuby was a most
enjoyable experience
Changes
···
=======
By changing the TryRuby mechanics from running irb on a server, to
running Opal in the web browser, I had to make some alterations to the
TryRuby lesson content. Also updated some outdated stuff.
* Opal uses immutable strings, so [ ] based string manipulation was
replaced with gsub
* File reading and writing removed and replaced by getting a json file
from the internet
* Since irb is not used anymore, it is possible (necessary) to run
entire programs, not enter commands line-by-line
* Removed the pop-up stuff
* Removed mousehole stuff
* Improved the feedback given to the user based on the program's output
a bit
* Added support for lesson content in multiple languages. __Translators
are welcome !__
I will be starting on the Dutch translation soon
* Added explanation of if/else statements
* Changed the subject of the "Class" tutorials from building a blog (so
last decade) to making an instant messaging app
* Used markdown with frontmatter for editing lesson content
* Used middleman as development environment
* Added some articles with more background information for aspiring
software developers
This is the fourth iteration of TryRuby. The original was created by
_why. R4 was created for several reasons:
* The lesson content was getting a bit dated. For instance the stuff
about reading and writing disk files does not really belong in an
entry level course these days.
Writing blog software is also not very appealing anymore
* Lesson content also missed some important information
(like IF statements)
* All previous TryRuby versions consisted of an irb interpreter with
a web front-end.
Even though some security measures have been taken (isolating and
restricting the irb process and whitelisting input), this still
sounds like a disastrously bad idea from a security perspective!
TryRuby R4 runs inside the web browser
* TryRuby.org (R3) is embedded in a commercial venture. This doesn't
seem in line with the free spirit in which TryRuby was created
* Since I have a C/C++ background and am switching to Ruby, I needed
a small but significant Ruby project for my resume. The original
lesson content was brilliant stuff, so working on TryRuby was a most
enjoyable experience
Changes
By changing the TryRuby mechanics from running irb on a server, to
running Opal in the web browser, I had to make some alterations to the
TryRuby lesson content. Also updated some outdated stuff.
* Opal uses immutable strings, so based string manipulation was
replaced with gsub
* File reading and writing removed and replaced by getting a json file
from the internet
* Since irb is not used anymore, it is possible (necessary) to run
entire programs, not enter commands line-by-line
* Removed the pop-up stuff
* Removed mousehole stuff
* Improved the feedback given to the user based on the program's output
a bit
* Added support for lesson content in multiple languages. __Translators
are welcome !__
I will be starting on the Dutch translation soon
* Added explanation of if/else statements
* Changed the subject of the "Class" tutorials from building a blog (so
last decade) to making an instant messaging app
* Used markdown with frontmatter for editing lesson content
* Used middleman as development environment
* Added some articles with more background information for aspiring
software developers
This is the fourth iteration of TryRuby. The original was created by
_why. R4 was created for several reasons:
* The lesson content was getting a bit dated. For instance the stuff
about reading and writing disk files does not really belong in an
entry level course these days.
Writing blog software is also not very appealing anymore
* Lesson content also missed some important information
(like IF statements)
* All previous TryRuby versions consisted of an irb interpreter with
a web front-end.
Even though some security measures have been taken (isolating and
restricting the irb process and whitelisting input), this still
sounds like a disastrously bad idea from a security perspective!
TryRuby R4 runs inside the web browser
* TryRuby.org (R3) is embedded in a commercial venture. This doesn't
seem in line with the free spirit in which TryRuby was created
* Since I have a C/C++ background and am switching to Ruby, I needed
a small but significant Ruby project for my resume. The original
lesson content was brilliant stuff, so working on TryRuby was a most
enjoyable experience
Changes
By changing the TryRuby mechanics from running irb on a server, to
running Opal in the web browser, I had to make some alterations to the
TryRuby lesson content. Also updated some outdated stuff.
* Opal uses immutable strings, so based string manipulation was
replaced with gsub
* File reading and writing removed and replaced by getting a json file
from the internet
* Since irb is not used anymore, it is possible (necessary) to run
entire programs, not enter commands line-by-line
* Removed the pop-up stuff
* Removed mousehole stuff
* Improved the feedback given to the user based on the program's output
a bit
* Added support for lesson content in multiple languages. __Translators
are welcome !__
I will be starting on the Dutch translation soon
* Added explanation of if/else statements
* Changed the subject of the "Class" tutorials from building a blog (so
last decade) to making an instant messaging app
* Used markdown with frontmatter for editing lesson content
* Used middleman as development environment
* Added some articles with more background information for aspiring
software developers
This is the fourth iteration of TryRuby. The original was created by
_why. R4 was created for several reasons:
* The lesson content was getting a bit dated. For instance the stuff
about reading and writing disk files does not really belong in an
entry level course these days.
Writing blog software is also not very appealing anymore
* Lesson content also missed some important information
(like IF statements)
* All previous TryRuby versions consisted of an irb interpreter with
a web front-end.
Even though some security measures have been taken (isolating and
restricting the irb process and whitelisting input), this still
sounds like a disastrously bad idea from a security perspective!
TryRuby R4 runs inside the web browser
* TryRuby.org (R3) is embedded in a commercial venture. This doesn't
seem in line with the free spirit in which TryRuby was created
* Since I have a C/C++ background and am switching to Ruby, I needed
a small but significant Ruby project for my resume. The original
lesson content was brilliant stuff, so working on TryRuby was a most
enjoyable experience
Changes
By changing the TryRuby mechanics from running irb on a server, to
running Opal in the web browser, I had to make some alterations to the
TryRuby lesson content. Also updated some outdated stuff.
* Opal uses immutable strings, so based string manipulation was
replaced with gsub
* File reading and writing removed and replaced by getting a json file
from the internet
* Since irb is not used anymore, it is possible (necessary) to run
entire programs, not enter commands line-by-line
* Removed the pop-up stuff
* Removed mousehole stuff
* Improved the feedback given to the user based on the program's output
a bit
* Added support for lesson content in multiple languages. __Translators
are welcome !__
I will be starting on the Dutch translation soon
* Added explanation of if/else statements
* Changed the subject of the "Class" tutorials from building a blog (so
last decade) to making an instant messaging app
* Used markdown with frontmatter for editing lesson content
* Used middleman as development environment
* Added some articles with more background information for aspiring
software developers
Thanks everybody for the positive comments. I guess 'minswan' is still alive and well ...
@Andrew: love to hear about your experciences with TryRuby.
About TryRuby being slow: since my previous email there were about 250 unique visitors and about 500 pageviews. According to statistics the server didn't break a sweat serving everything.
But I am currently serving all files from the website. One file containing Opal related stuff is 570kb minified. My guess is that this is the main reason for TryRuby being slow. Probably best if I switch to using a content delivery network for Opal and google for jquery/bootstrap.
If anybody is interested in translating TryRuby content you are most welcome. The Dutch version should be available next week.
The Spanish content from release 2 has been converted to markdown and is available on Github. But it needs work.
Kind regards,
Ivo
-----Oorspronkelijk bericht-----
···
From: Abinoam Jr.
Sent: Tuesday, January 13, 2015 12:18 AM
To: Ruby users
Subject: Re: TryRuby R4
On Tue, Jan 13, 2015 at 6:32 AM, Easy Datawarehouse Solutions <info@edwhs.nl> wrote:
Thanks everybody for the positive comments. I guess 'minswan' is still alive
and well ...
@Andrew: love to hear about your experciences with TryRuby.
About TryRuby being slow: since my previous email there were about 250
unique visitors and about 500 pageviews. According to statistics the server
didn't break a sweat serving everything.
But I am currently serving all files from the website. One file containing
Opal related stuff is 570kb minified. My guess is that this is the main
reason for TryRuby being slow. Probably best if I switch to using a content
delivery network for Opal and google for jquery/bootstrap.
If anybody is interested in translating TryRuby content you are most
welcome. The Dutch version should be available next week.
The Spanish content from release 2 has been converted to markdown and is
available on Github. But it needs work.
Kind regards,
Ivo
-----Oorspronkelijk bericht----- From: Abinoam Jr.
Sent: Tuesday, January 13, 2015 12:18 AM
To: Ruby users
Subject: Re: TryRuby R4
Meanwhile I have released the Dutch translation of the lesson content. Useful, if you belong to the 0.4% of the worldpopulation speaking Dutch
One last beg: if anybody wants to (or knows somebody who wants to) revive the existing Spanish translation that would be awesome. Any other translation is also welcome of course.
Kind regards,
Ivo
-----Oorspronkelijk bericht-----
···
From: Abinoam Jr.
Sent: Saturday, January 17, 2015 12:00 AM
To: Ruby users
Subject: Re: TryRuby R4
I took a quick look at the Spanish translation and I found a lot of
sentences with a style that reminded me of South America. I didn't
(and do not) have too much time, and also didn't want to change it a
lot, but if I can free up some time I might make a proposal change,
for you to take a look.
Jesus.
···
On Mon, Jan 19, 2015 at 10:54 AM, Easy Datawarehouse Solutions <info@edwhs.nl> wrote:
Hi Abinoam,
That is great news, thanks.
Meanwhile I have released the Dutch translation of the lesson content.
Useful, if you belong to the 0.4% of the worldpopulation speaking Dutch
One last beg: if anybody wants to (or knows somebody who wants to) revive
the existing Spanish translation that would be awesome. Any other
translation is also welcome of course.
From: Jesús Gabriel y Galán
Sent: Monday, January 19, 2015 11:20 AM
To: Ruby users
Subject: Re: TryRuby R4
On Mon, Jan 19, 2015 at 10:54 AM, Easy Datawarehouse Solutions <info@edwhs.nl> wrote:
Hi Abinoam,
That is great news, thanks.
Meanwhile I have released the Dutch translation of the lesson content.
Useful, if you belong to the 0.4% of the worldpopulation speaking Dutch
One last beg: if anybody wants to (or knows somebody who wants to) revive
the existing Spanish translation that would be awesome. Any other
translation is also welcome of course.
I took a quick look at the Spanish translation and I found a lot of
sentences with a style that reminded me of South America. I didn't
(and do not) have too much time, and also didn't want to change it a
lot, but if I can free up some time I might make a proposal change,
for you to take a look.
-----Oorspronkelijk bericht----- From: Jesús Gabriel y Galán
Sent: Monday, January 19, 2015 11:20 AM
To: Ruby users
Subject: Re: TryRuby R4
On Mon, Jan 19, 2015 at 10:54 AM, Easy Datawarehouse Solutions > <info@edwhs.nl> wrote:
Hi Abinoam,
That is great news, thanks.
Meanwhile I have released the Dutch translation of the lesson content.
Useful, if you belong to the 0.4% of the worldpopulation speaking Dutch
One last beg: if anybody wants to (or knows somebody who wants to) revive
the existing Spanish translation that would be awesome. Any other
translation is also welcome of course.
I took a quick look at the Spanish translation and I found a lot of
sentences with a style that reminded me of South America. I didn't
(and do not) have too much time, and also didn't want to change it a
lot, but if I can free up some time I might make a proposal change,
for you to take a look.