Hi People,
I’m sitting here at work, cursing myself for
having brought in every Ruby book I own except
the one I need right now :-(.
I could really use a tree-based XML browser, and I
seem to recall that’s the example used in RDG to
demonstrate all the differnent GUI toolkits.
Is the source code available online somewhere? Or
can someone point me at code for such a tool …
or even a freeware tool in some inferior language
would do in a pinch :-). I’d prefer the Ruby
code, because I want to augment it, based on
knowledge of the specific XML I want to browse.
Thanks in advance,
Harry O.
Harry Ohlsen wrote:
Hi People,
I’m sitting here at work, cursing myself for
having brought in every Ruby book I own except
the one I need right now :-(.
I could really use a tree-based XML browser, and I
seem to recall that’s the example used in RDG to
demonstrate all the differnent GUI toolkits.
Is the source code available online somewhere? Or
can someone point me at code for such a tool …
or even a freeware tool in some inferior language
would do in a pinch :-). I’d prefer the Ruby
code, because I want to augment it, based on
knowledge of the specific XML I want to browse.
The sources are available from www.syngress.com.
But you’ll need to have an account there (only requirement
is the books serial number).
After logging into the members area, click “Complete CD ROM
Download”. BTW, here you can also download the PDF version of
the book.
Regards,
Michael
This seems like a good opportunity to plug the IRC channel, #ruby-lang on
irc.freenode.net. There are usually around 70 people lurking, with at
least 3 or 4 paying attention, and probably 1 with a correct answer and 1
with a guess, and 1 with a smart-aleck remark (unless I’m not there.)
Even if you aren’t normally an ‘irc person’, and I can understand the
reasons why not, I’d recommend #ruby-lang and freenode in general. The
people are mostly technical and not 133t1n’ k1dd13z.
–Gabriel
···
On Tue, 11 Feb 2003 06:15:13 +0900, Harry Ohlsen wrote:
Hi People,
I’m sitting here at work, cursing myself for
having brought in every Ruby book I own except
the one I need right now :-(.
I think I am being a lazy bastard… but does anyone have a RPM for
1.7.3 I just hate compiling things to install them. Sad Sad Sad…
Is the 1.8 preview (which I found an RPM for) similar to 1.7.3?
Thanks,
Mark
Hi Michael,
But you’ll need to have an account there (only requirement
is the books serial number).
I created an account ages ago, but don’t have the
book with me, hence don’t have the serial number.
Of course, I’ve forgotten the logon I used and/or
the password. I’ve asked for it to be mailed to
me, but since I registered my home e-mail, I can’t
retrieve that until tonight.
After logging into the members area, click “Complete CD ROM
Download”. BTW, here you can also download the PDF version of
the book.
Yes, I’ve downloaded the PDF. I thought I’d
brought that to work, which is why that’s the one
book I left at home. Sadly, I was mistaken :-(.
Oh well.
Not to worry, while I’ve been waiting for a
response, I’ve almost finished writing the
browser, based on a tree example in the FOX
examples, and REXML.
Cheers,
Harry O.
http://rpmfind.net/linux/rpm2html/search.php?query=ruby
···
On Tue, Feb 11, 2003 at 10:07:40PM +0900, Mark Firestone wrote:
but does anyone have a RPM for 1.7.3 I just hate compiling
things to install them.
–
---- WBR, Michael Shigorin mike@altlinux.ru
------ Linux.Kiev http://www.linux.kiev.ua/
http://www.caliban.org/files/redhat/
Ian
···
On Tue 11 Feb 2003 at 22:07:40 +0900, Mark Firestone wrote:
I think I am being a lazy bastard… but does anyone have a RPM for
1.7.3 I just hate compiling things to install them. Sad Sad Sad…
Is the 1.8 preview (which I found an RPM for) similar to 1.7.3?
–
Ian Macdonald | QOTD: “I’d crawl a mile over burning
ian@caliban.org | desert sand just to kiss the dick of the
> guy who screwed her last.”
>
>
Thanks for that. That’s where I was looking, and found the 1.8 preview
RPM… There is no 1.7.3 RPM. I guess that is because it isn’t a stable
version. Oh well…
I guess I’ll have to either compile it or run with 1.8 preview. Any known
issues with 1.8?
Thanks,
Mark
···
At 22:47 11/02/2003 +0900, you wrote:
On Tue, Feb 11, 2003 at 10:07:40PM +0900, Mark Firestone wrote:
but does anyone have a RPM for 1.7.3 I just hate compiling
things to install them.
RPM resource ruby
–
---- WBR, Michael Shigorin mike@altlinux.ru
------ Linux.Kiev http://www.linux.kiev.ua/
http://www.caliban.org/files/redhat/
Ian,
trickster:~> lynx -head -mime_header http://www.caliban.org/files/redhat/SPECS/ruby-WEBrick.spec
HTTP/1.1 503 Service Temporarily Unavailable
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ruby/1.0.4 Ruby/1.6.8 mod_ssl/2.8.12 OpenSSL/0.9.6b PHP/4.0.6 mod_perl/1.26 mod_throttle/3.1.2
Connection: close
Content-Type: text/html; charset=iso-8859-1
···
On Thu, Feb 13, 2003 at 07:44:59PM +0900, Ian Macdonald wrote:
Date: Thu, 13 Feb 2003 12:32:41 GMT
–
---- WBR, Michael Shigorin mike@altlinux.ru
------ Linux.Kiev http://www.linux.kiev.ua/
Ian Macdonald wrote:
http://www.caliban.org/files/redhat/
Very neat. Downloading like crazy here.
I’ve upgraded my Mandrake 9.0 box to using the 1.8.0-0.20030210 RPMs.
However, I have a problem with irb, which spouts:
/usr/lib/ruby/1.8/kconv.rb:1:in `require’: No such file to load – nkf
(LoadError)
As far as googling shows, it seemed like nkf should follow with Ruby
itself. I installed from the i386 binary RPMs, and don’t know which one
I’m missing.
rpm -qa | grep ruby
ruby-devel-1.8.0-0.20030210.1
ruby-1.8.0-0.20030210.1
ruby-libs-1.8.0-0.20030210.1
ruby-docs-1.8.0-0.20030210.1
rpm -qa | grep irb
irb-1.8.0-0.20030210.1
Should I choose an older, more stable of the 1.8.0 versions, if so,
which, or am I missing some crucial RPM? I didn’t get any dependancy
errors upon installing irb.
As a shotgun debugging tactic, I symlinked in the nkf.so from an old
1.7.x source install, and now I get
/usr/lib/ruby/1.8/irb/completion.rb:10:in `require’: No such file to
load – readline (LoadError)
Hope someone can clue me in as I’m much more fond of RPMs than the ugly
mess me installing from source usually results in.
···
–
([ Kent Dahl ]/)_ ~ [ http://www.stud.ntnu.no/~kentda/ ]/~
))_student/(( _d L b_/ NTNU - graduate engineering - 5. year )
( __õ|õ// ) )Industrial economics and technological management(
_/ö____/ (_engineering.discipline=Computer::Technology)
Da link worked for me, what is even better, compiling the source code
worked as well… so I am now using 1.8.0 Seems to work ok…
Thanks guys!
···
At 20:15 13/02/2003 +0900, you wrote:
On Thu, Feb 13, 2003 at 07:44:59PM +0900, Ian Macdonald wrote:
Is the 1.8 preview (which I found an RPM for) similar to 1.7.3?
http://www.caliban.org/files/redhat/
503’s?
–
---- WBR, Michael Shigorin mike@altlinux.ru
------ Linux.Kiev http://www.linux.kiev.ua/
I think you’re running into my Apache’s mod_throttle, which rate limits
traffic. Unfortunately, it doesn’t seem to be behaving the way I
intended.
Please try it again now.
Ian
···
On Thu 13 Feb 2003 at 21:34:43 +0900, Michael Shigorin wrote:
On Thu, Feb 13, 2003 at 07:44:59PM +0900, Ian Macdonald wrote:
http://www.caliban.org/files/redhat/
Ian,
trickster:~> lynx -head -mime_header http://www.caliban.org/files/redhat/SPECS/ruby-WEBrick.spec
HTTP/1.1 503 Service Temporarily Unavailable
Date: Thu, 13 Feb 2003 12:32:41 GMT
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ruby/1.0.4 Ruby/1.6.8 mod_ssl/2.8.12 OpenSSL/0.9.6b PHP/4.0.6 mod_perl/1.26 mod_throttle/3.1.2
Connection: close
Content-Type: text/html; charset=iso-8859-1
–
Ian Macdonald | The question of whether computers can think
ian@caliban.org | is just like the question of whether
> submarines can swim. – Edsger W.
> Dijkstra
>
Ugh. It was still inaccessible. I’ve just switched to mod_bandwidth, so
please try it again now.
Ian
···
On Fri 14 Feb 2003 at 04:32:21 +0900, Ian Macdonald wrote:
On Thu 13 Feb 2003 at 21:34:43 +0900, Michael Shigorin wrote:
On Thu, Feb 13, 2003 at 07:44:59PM +0900, Ian Macdonald wrote:
http://www.caliban.org/files/redhat/
Ian,
trickster:~> lynx -head -mime_header http://www.caliban.org/files/redhat/SPECS/ruby-WEBrick.spec
HTTP/1.1 503 Service Temporarily Unavailable
Date: Thu, 13 Feb 2003 12:32:41 GMT
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ruby/1.0.4 Ruby/1.6.8 mod_ssl/2.8.12 OpenSSL/0.9.6b PHP/4.0.6 mod_perl/1.26 mod_throttle/3.1.2
Connection: close
Content-Type: text/html; charset=iso-8859-1
I think you’re running into my Apache’s mod_throttle, which rate limits
traffic. Unfortunately, it doesn’t seem to be behaving the way I
intended.
Please try it again now.
–
Ian Macdonald | “Linux poses a real challenge for those
ian@caliban.org | with a taste for late-night hacking (and/or
> conversations with God).” (By Matt Welsh)
>
>
OK. I’ve really tried to get SPECS/* at first, but that screwed
something (well it would be good to allow robots look at
specs since it’s not much bandwidth… thanks anyways)
···
On Fri, Feb 14, 2003 at 06:27:15AM +0900, Ian Macdonald wrote:
On Thu 13 Feb 2003 at 21:34:43 +0900, Michael Shigorin wrote:
HTTP/1.1 503 Service Temporarily Unavailable
Ugh. It was still inaccessible. I’ve just switched to
mod_bandwidth, so please try it again now.
–
---- WBR, Michael Shigorin mike@altlinux.ru
------ Linux.Kiev http://www.linux.kiev.ua/