New to RedHanded? About our sections.
Archive
- December 2004
- January 2005
- February 2005
- March 2005
- April 2005
- May 2005
- June 2005
- July 2005
- August 2005
- September 2005
- October 2005
- November 2005
- December 2005
- January 2006
- February 2006
- March 2006
- April 2006
- May 2006
- June 2006
- July 2006
- August 2006
- September 2006
- October 2006
- November 2006
- December 2006
- January 2007
- February 2007
- March 2007
- April 2007
- May 2007
Get your copy of Programming Ruby!
Links
@technorati@del.icio.us
@flickr
@artima
@caboo
@oreilly
ruby
-> docs
-> wares
-> wiki
-> forum
-> quizzes
-> planet
-> irc
rubyweeklynews
rails
-> wiki
-> planet
-> irc
%anarchaia
%projectionist
~audreyt
~black
~britt
~buck
~copeland
~fernandez
~fowler
~hansson
~hodel
~hoy/7
~hwang
~luetke
~matz
~mental
~olson
~pragdave
~premshree
~neukirchen
~robby
~rousette
~topfunky
~voorhis
~weirich
~zenspider
Syndicate
Built upon Hobix
Got a story for us? E-mail it!
beppu
Is it kazehakase ?
why
Yes! Very good, beppu.
Now for the tough part. Can you weather the lack of documentation and figure out how to install it?
Justin
It’s easy on gentoo. `emerge kazehakase` :)
manveru
Archlinux: just install from AUR
PKGBUILD with building-instructions.
technomancy
I had high hopes for kazehakase, but when I found out that you can’t access the DOM through Ruby, those hopes were shattered. These days I’m enjoying writing ECMAScript in Conkeror, but I’ll always wonder if I could be doing the same thing in Ruby.
From what I’ve heard the problem is that Gecko is pretty opaque and makes it difficult to access its internals via anything other than C++ or ECMAScript. I wonder if you might be able to build something with KHTML that let you access the important bits of a browser from Ruby…
FlashHater
Yey manveru, I love packagebuilds! Make willysilly put it in to community :S
why
Yeah, kazehakase does not give you a whole lot and you have to read the source to discern its ways. But that’s kind of fun and it has some cool ideas.
Like, for example, try this (in kazehakase >= 0.4.4):
So, that’s not bad at all.
andi
how to copy this code,image?
Vagabond
heh, I installed kazehakase the other day in my quest for a browser that would run on FreeBSD/sparc64. It was the only one that I could get working. Didn’t even realize it was ruby scriptable until afterwards. I’ll have to play with it some more next week.
Hank
In the debian repositories:
Don’t do it if you have ruby in
/usr/local
. You would then have 2 rubies, and everything would be sad. I personally installed it from the latest source with no problems.As for the link, _why, I can’t find the install extension option yet. :( I’ll keep trying.
rcorsaro
Hank: go to expert mode
SergeantCircles
Hmm…all I get is a smarmy segfault. kazehakase 0.4.4.1
SergeantCircles
nevermind, my mistake
Hank
rcorsaro: I’m in expert mode. It’s not there. I’m angry.
why
I don’t think the deb will do. I think you have to compile from source—with-ruby.
Hank
why
Oh, lovely.
Check your config.log and make sure it actually picked up Ruby. I had to specify the path to libs and includes to get it going.
If that doesn’t work, we’ll take a dip into your ~/.kasehakaze and see what’s going on.
Hank
Something is terribly wrong. This would be so much easier if you were on IRC , _why. :P
Hank
Ah-HA! Here’s a make in
ext
Hank
Well, apparently it gets generated when you compile
src
. It was getting compiled successfully the whole time. It’s just those messages at the begginning. I’m going to try 0.4.4.Hank
Still doesn’t work. I’m very sad.
gpogo
Seems to work for me.
Hank: what are you running? Etch has kazehakase 0.4.2 which lets this extension work(assuming you have hpricot installed)
Hank
I’m in Ubuntu. Maybe I’ll try 0.4.2.
Hank
Hey! It installed and started with no ruby errors like before, but it still wont use the ruby script :( I’ll work on it more later.
Uta
Why i couldn’t
Uta
and i still couldn’t