hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

Okay, Which Browser Will Run This Code and Can You Get It Going? #

by why in inspect

said on

Is it kazehakase ?

said on

Yes! Very good, beppu.

Now for the tough part. Can you weather the lack of documentation and figure out how to install it?

said on

It’s easy on gentoo. `emerge kazehakase` :)

said on

Archlinux: just install from AUR

PKGBUILD with building-instructions.

said on

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…

said on

Yey manveru, I love packagebuilds! Make willysilly put it in to community :S

said on

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

  1. Switch the UI to Expert level.
  2. Right-click this link and select Install this extension or whatever it says for Ruby scripts.
  3. Visit your preferences and go to the hotkeys section.
  4. Find the ViewAsHpricot action at the bottom of the list.
  5. Assign to Ctrl-Shift-H or something. Ctrl-= maybe.
  6. Visit any old page and hit the hot key.

So, that’s not bad at all.

said on

how to copy this code,image?

said on

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.

said on

In the debian repositories:

sudo apt-get install kazehakaze

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.

said on

Hank: go to expert mode

said on

Hmm…all I get is a smarmy segfault. kazehakase 0.4.4.1

said on

nevermind, my mistake

said on

rcorsaro: I’m in expert mode. It’s not there. I’m angry.

:I

said on

I don’t think the deb will do. I think you have to compile from source—with-ruby.

said on
Here’s what I did:

  sudo make uninstall
  make clean
  ./configure --with-ruby
  make
  sudo make install

said on

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.

said on
I gem install gettext, recompiled, and now I get this on startup:

(kazehakase:12230): Kazehakase-WARNING **: /usr/local/lib/kazehakase/ext/ruby/libkzext.so: undefined symbol: crypt

(kazehakase:12230): Gtk-WARNING **: RubyDialog: missing action

(kazehakase:12230): Gtk-WARNING **: ReloadRuby: missing action

(kazehakase:12230): Gtk-WARNING **: InstallAsRubyExtension: missing action

Something is terribly wrong. This would be so much easier if you were on IRC , _why. :P

said on

Ah-HA! Here’s a make in ext


In file included from kz-rb-ext.c:23:
kz-rb-ext.h:19:27: error: kz-enum-types.h: No such file or directory
make[1]: *** [kz-rb-ext.lo] Error 1
make[1]: Leaving directory `/home/hank/tmp/kazehakase-0.4.4.1/ext/ruby'
make: *** [all-recursive] Error 1

said on

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.

said on

Still doesn’t work. I’m very sad.

said on

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)

said on

I’m in Ubuntu. Maybe I’ll try 0.4.2.

said on

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.

said on

Why i couldn’t

said on

and i still couldn’t

said on DD Mon YYYY at HH:MM

* do fancy stuff in your comment.

PREVIEW PANE