TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Try Ruby

212 pointsby chrisbaglieriover 13 years ago

14 comments

cppsnobover 13 years ago
Serious question: has anyone gotten anything out of these browser-based language playgrounds? I just don't think it's hard to download the real thing to try it, so I thought I'd ask if anyone has really been inspired by it.
评论 #3056491 未加载
评论 #3056100 未加载
评论 #3056756 未加载
评论 #3055635 未加载
评论 #3055985 未加载
droithommeover 13 years ago
Here's some things I was happy to find with this page:<p>1. up/down arrows scroll through buffer history<p>2. ctrl-a goes to beginning of edit-buffer and ctrl-e goes to end of edit buffer<p>Nice attention to detail that makes it a pleasure rather than a chore.
TheDahvover 13 years ago
I have never seen this before:<p>&#62;&#62; help<p>&#62;&#62; 2 + 6<p>&#60;!DOCTYPE html&#62; &#60;html&#62; &#60;head&#62; &#60;title&#62;The page you were looking for doesn't exist (404)&#60;/title&#62; &#60;style type="text/css"&#62; body { background-color: #fff; color: #666; text-align: center; font -family: arial, sans-serif; } div.dialog { width: 25em; padding: 0 4em; margin: 4em auto 0 auto; border: 1px solid #ccc; border-right-color: #999; border-bottom-color: #999; } h1 { font-size: 100%; color: #f00; line-height: 1.5em; } &#60;/style&#62; &#60;/head&#62;<p>&#60;body&#62; &#60;!-- This file lives in public/404.html --&#62; &#60;div class="dialog"&#62; &#60;h1&#62;The page you were looking for doesn't exist.&#60;/h1&#62; &#60;p&#62;You may have mistyped the address or the page may have moved.&#60;/p&#62;<p><pre><code> &#60;/div&#62; </code></pre> &#60;/body&#62; &#60;/html&#62;
评论 #3054086 未加载
stfuover 13 years ago
I have no Ruby skills at all, so I am probably within the "target group". One suggestion I would have is: It would be cool if there were some kind of putting-it-all-together-yourself thing at the end of each level. Just before the summary comes a little level-challenge where one would have to apply all the steps from the level combined. This would most likely mean going back to look up certain functions from the challenge, but prep one more for later when actually doing some coding on my own.
petercooperover 13 years ago
Hang on.. CodeSchool bought tryruby.org?
评论 #3057176 未加载
trykeover 13 years ago
Has it fallen down already? The rest of codeschool.com works but I get an "Application Error" when I go to Try Ruby.
评论 #3053901 未加载
dansoover 13 years ago
Errr....this is not quite right:<p>&#62; [1,2,3].ea­ch{|v| puts v} =&#62; "123"<p>*edit: Assuming this is deployment/back-end related issues. I just tried the above again and got this:<p>[1,2,3].ea­­ch{|v| puts v} =&#62; #&#60;SyntaxError: Invalid char "\xC2" in expression. near line 1: "\xADch{|v| puts v}"&#62;
评论 #3054707 未加载
评论 #3056500 未加载
berserokuover 13 years ago
Nice work!, the chapter of the Popup.goto "<a href="http://google.com/" rel="nofollow">http://google.com/</a> doesnt work for me, any requirements (try in chrome, Firefox) for this module to work?. Thanks
评论 #3056194 未加载
madebylawover 13 years ago
Great looking redesign! It'd be cool if someone added harder challenges (like CS algorithms or something) that you could use for programming interviews.
kaichanvongover 13 years ago
Anyone interested in working on a Python version?
abscondmentover 13 years ago
Spawn More Overlords!
rajpaulover 13 years ago
i've never programmed ruby before, and i'm really enjoying the tutorial so far. i'm going to forward it to some non-programmer friends and see what they think.
hristovover 13 years ago
is ruby really that slow? The things has been trying to reverse my name for the last 5 min. And it is fake four letter name i gave it. I shudder to think what would happen if it were my real name.
评论 #3054225 未加载
评论 #3054378 未加载
评论 #3054713 未加载
评论 #3054600 未加载
wakaflokkaflameover 13 years ago
This thing is ass-awful.<p>require 'sele­nium/clien­t' =&#62; #&#60;NoMethodError: undefined method `require' for main:Object&#62; &#62; a = [] =&#62; [] &#62; (1..999999­999).each {|i| a &#60;&#60; i} =&#62; Danger! Danger! Your code took too long to run. It's like a turtle it's so slow. &#62; (1..999999­9).each {|i| a &#60;&#60; i} =&#62; Once, when waiting for some code to finish running, 3 angels visited Chris Barker and asked him to stop picking his nose
评论 #3054700 未加载