hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

Try Ruby is Done, Makes HTML Now #

by why in inspect

Just wrapped things up. I’m really pleased with the last half of this tutorial. I’m sure I’ve introduced a bunch of bugs in my haste to add the virtual filesystem and a couple of libraries to the mix.

The most glorious addition is a simple HTML generation library. Want to try it out? Go to Try Ruby and run this:

 require 'popup'

 Popup.make do
   h1 "Things To Do" 
   list do
     p "Try out Ruby" 
     p "Ride a tiger" 
     p "(down River Euphrates)" 
   end
 end

Also, the upsy quizzies are fixed in Firefox for Windows. You can type slashes now. So sorry about all that. I’ll pretty things up over the next few days.

said on

In Safari, the popup appears behind the input window! Nevertheless truly amazing :)

said on

“Hey, Summary #1 Already” has “Let’s look at what you’ve learned what you’ve learned…”. (“what you’ve learned” is doubled)

said on

Shouldn’t that be a tyre?

said on

Still no love for us Opera plebs though :( No keyboard at all …

Still though, can get to it from the prompt now, so s’all good :)

said on

Good, okay, working on Safari.

said on

oh what have we done….is there no hope of slowing this juggernaut. Y’know, the next thing you know we’re gonna have a full featured web application development environment running within a web browser….y’know.

Oh the horror.

said on

_why, have you checked the mail I sent to you about translating? :/

said on

did you ever know that you’re my hero? and everything i would like to be?

said on

hmmm.. now just to create the ruby code to open a popup of a “try ruby” window of my own.

said on

brianmuckian: Probly a dozen different people have emailed me about turning this into an IDE . I’m sure it’ll be done at some point, but it seems so daunting. The idea of having to edit files in a browser, particularly.

Gyoung-Yoon Noh: I was just looking for your e-mail last night. Translation will begin in January. I have translators lined up for German, Portuguese and French also. You can even get a jump on it by looking at viewing the source. The whole tutorial is right there in the index.html.

said on

On Firefox 1.5, I can’t move the popup browser, and I can’t read the next bit of the tutorial behind it…

said on

Neil: You’ll need to close the window with the little X on the right side. Yeah, this is one of those things I need to friendly around with.

said on

4+5 An error has occured. Try refreshing this page to reload your session.

(Firefox 1.5, Linux. I had this problem with a slightly older version of Firefox too.)

Ethan

said on

Ethan: Do you have cookies on?

said on

“This tutorial is only partway complete.. but it’s getting better! Now you can hop chapters, you know? That’s decent!”

Declare it complete if it is. :)

said on

No, let me try that.

Aha! That makes all the difference.

Ethan

said on

Thanks, Branstrom. I totally forgot to change that.

said on

schweet like bear meat

said on

It’s the cat’s pajamas!

said on

_why: I can work the Spanish translation if you want. However, good as my Spanish might be, I’m not a native speaker, so we’ll probably want to find somebody to proof it…

Drop me a line if you’re interested: lukfugl AT gmail.

said on

What a great way to introduce Ruby. Bravo!

said on

Ooh, nice. You should make a sequel that goes deeper. Or is that the job of the (Poignant) Guide?

said on

Nice~

I still think that “Stop, You’re Barking Mad!” bit is a bit too harsh on newbies who you may well have just tricked into their first error though.

Is it possible to make the clipboard work, by the way? I’m not sure how, but if you know a way, that would rock…

said on

The html generation library library is simply brilliant (and most subversive).

Stupid Question: Why don’t we build web-pages like this to begin with? isn’t this how that Squeaky toy does the page generations?

What I mean is, the “V” part also being pure ruby rather than .r[ht,x]ml step? (in Rails for example?)

said on

Will it ever be possible to download the source for this? I really want to hook it up to my Rails exception reports and poke my system when there are errors :)

said on

What about making Try Ruby into a wiki-like ide for ruby. Anybody would be able to edit source code and documentation. The wiki would run automated unit tests (which would also be created collaboratively) automatically. Code changes would be allowed even if they failed unit test but this would be frowned upon. Using this you could start software projects that would be collaborative like the wikipedia.

This could be really cool. You could have wiki style collaborative development for software. This would be the ultimate ide. You could even have some system whereby the code could be edited client side and then submitted to the wiki. You could even have the source code for the wiki itself as part of the wiki. So that even this code could be edited in real time. This would be a really radical style of collaborative software development.

said on

gfgdfgfddas

said on

hodo

said on

brianmuckian: Is that a poke at TrimJunction? If not, you are so going to regret posting that comment :^)

Comments are closed for this entry.