TryRuby R4

I have released TryRuby R4.

Website: http://www.tryruby.nl
Source: https://github.com/easydatawarehousing/TryRuby

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

Any suggestions for improvements are welcome.

Great stuff. Thanks for sharing.
Marc

···

On Mon, Jan 12, 2015 at 2:28 AM, Easy Datawarehouse Solutions <info@edwhs.nl > wrote:

  I have released TryRuby R4.

Website: http://www.tryruby.nl
Source: GitHub - ruby/TryRuby: This 4th iteration of TryRuby is a website where you can learn the Ruby language.

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

Any suggestions for improvements are welcome.

  I have released TryRuby R4.

At first, I wondered what this has to do with a french car

<http://en.wikipedia.org/wiki/Renault_4&gt;\.\.\.

Website: http://www.tryruby.nl
Source: GitHub - ruby/TryRuby: This 4th iteration of TryRuby is a website where you can learn the Ruby language.

Thank you!

Kind regards

robert

···

On Mon, Jan 12, 2015 at 11:28 AM, Easy Datawarehouse Solutions < info@edwhs.nl> wrote:

--
[guy, jim].each {|him| remember.him do |as, often| as.you_can - without end}
http://blog.rubybestpractices.com/

Great stuff!

···

On Mon, Jan 12, 2015 at 12:28 PM, Easy Datawarehouse Solutions < info@edwhs.nl> wrote:

  I have released TryRuby R4.

Website: http://www.tryruby.nl
Source: GitHub - ruby/TryRuby: This 4th iteration of TryRuby is a website where you can learn the Ruby language.

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

Any suggestions for improvements are welcome.

--
*Augusts Bautra*

*Creative MobileKronvalda bulvaris 10, Riga**office: 00371 67227747*
*mobile: 00371 29957771*
*www.creo.mobi <http://www.creo.mobi/&gt;\*

Dear Ivo Herweijer,

It's slow on my side.
Ruby-Talk Effect? (http://en.wikipedia.org/wiki/Slashdot_effect\)

Congratulations, anyway!

Abinoam Jr.

···

On Mon, Jan 12, 2015 at 2:51 PM, Marc Chanliau <marc.chanliau@gmail.com> wrote:

Great stuff. Thanks for sharing.
Marc

On Mon, Jan 12, 2015 at 2:28 AM, Easy Datawarehouse Solutions > <info@edwhs.nl> wrote:

I have released TryRuby R4.

Website: http://www.tryruby.nl
Source: GitHub - ruby/TryRuby: This 4th iteration of TryRuby is a website where you can learn the Ruby language.

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

Any suggestions for improvements are welcome.

Wow. This is awesome. I'm really glad to see this exist.
I'll talk a bit more about this later. I no longer own tryruby.org however.

···

On Mon, Jan 12, 2015 at 6:55 AM, Robert Klemme <shortcutter@googlemail.com> wrote:

On Mon, Jan 12, 2015 at 11:28 AM, Easy Datawarehouse Solutions > <info@edwhs.nl> wrote:

I have released TryRuby R4.

At first, I wondered what this has to do with a french car...

Website: http://www.tryruby.nl
Source: GitHub - ruby/TryRuby: This 4th iteration of TryRuby is a website where you can learn the Ruby language.

Thank you!

Kind regards

robert

--
[guy, jim].each {|him| remember.him do |as, often| as.you_can - without end}
http://blog.rubybestpractices.com/

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

Dear Ivo Herweijer,

It's slow on my side.
Ruby-Talk Effect? (http://en.wikipedia.org/wiki/Slashdot_effect\)

Congratulations, anyway!

Abinoam Jr.

On Mon, Jan 12, 2015 at 2:51 PM, Marc Chanliau <marc.chanliau@gmail.com> wrote:

Great stuff. Thanks for sharing.
Marc

On Mon, Jan 12, 2015 at 2:28 AM, Easy Datawarehouse Solutions > <info@edwhs.nl> wrote:

I have released TryRuby R4.

Website: http://www.tryruby.nl
Source: GitHub - ruby/TryRuby: This 4th iteration of TryRuby is a website where you can learn the Ruby language.

I just did some playing around with this, very nice! Thanks!

I just pointed some folks to it who have been asking me about programming in Ruby. Folks are also aware of Code Academy too, right?

Wayne

···

--------------------------------------------
On Mon, 1/12/15, andrew mcelroy <sophrinix@gmail.com> wrote:

Subject: Re: TryRuby R4
To: "Ruby users" <ruby-talk@ruby-lang.org>
Date: Monday, January 12, 2015, 7:11 AM

Wow. This is awesome.
I'm really glad to see this exist.
I'll talk a bit more about this later. I no
longer own tryruby.org however.

On Mon, Jan 12, 2015 at 6:55 AM, Robert Klemme <shortcutter@googlemail.com> wrote:
>
>
> On Mon, Jan 12, 2015 at 11:28 AM, Easy Datawarehouse Solutions > <info@edwhs.nl> wrote:
>>
>> I
have released TryRuby R4.
>
> At first, I wondered what this has to do
with a french car...
>>
>> Website: http://www.tryruby.nl
>> Source: https://github.com/easydatawarehousing/TryRuby
>
> Thank you!
>
> Kind regards
>
> robert
>
> --
> [guy, jim].each {|him| remember.him do
>as, often| as.you_can - without end}
>
http://blog.rubybestpractices.com/

Hi Ivo,

I've began working on portuguese translation.

Anyone interested in helping is welcome.

Abinoam Jr.

···

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

Dear Ivo Herweijer,

It's slow on my side.
Ruby-Talk Effect? (http://en.wikipedia.org/wiki/Slashdot_effect\)

Congratulations, anyway!

Abinoam Jr.

On Mon, Jan 12, 2015 at 2:51 PM, Marc Chanliau <marc.chanliau@gmail.com> > wrote:

Great stuff. Thanks for sharing.
Marc

On Mon, Jan 12, 2015 at 2:28 AM, Easy Datawarehouse Solutions >> <info@edwhs.nl> wrote:

I have released TryRuby R4.

Website: http://www.tryruby.nl
Source: GitHub - ruby/TryRuby: This 4th iteration of TryRuby is a website where you can learn the Ruby language.

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 :slight_smile:

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

Hi Ivo,

I've began working on portuguese translation.

Anyone interested in helping is welcome.

Abinoam Jr.

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 :slight_smile:

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.

Hi Jesus,

Please do, I'm open to suggestions. I have opened an issue here: https://github.com/easydatawarehousing/TryRuby/issues/7
for further discussion.

Thanks,
Ivo

-----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 :slight_smile:

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.

Jesus.

Hi, I can take a look too, to the Spanish translation

it's a great project :slight_smile:

···

2015-01-19 12:45 GMT+01:00 Easy Datawarehouse Solutions <info@edwhs.nl>:

Hi Jesus,

Please do, I'm open to suggestions. I have opened an issue here:
https://github.com/easydatawarehousing/TryRuby/issues/7
for further discussion.

Thanks,
Ivo

-----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
:slight_smile:

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.

Jesus.