298153-305989

297970-401285 subjects 298267-317612

[ANN] Ruport 1.6 and Murdoch 1.0
298153 [gregory.t.br] After a silent release of Ruport 1.6.0, I'm happy to announce Ruport
298190 [vjoel@pa h. ] I tried that, but now I can't seem to browse any news sites except fox.
298191 [TimHunter@nc] Try the London Times and Wall Street Journal.

My Longsword is broken.
298154 [bengalyean@h] Just started my first Ruby prog and hit a snag almost instantly. I
+ 298157 [gerardo.sant] class Sword
+ 298158 [stefano.croc] Longsword = Sword.new(rand(8)+1), you're setting the @realDam attribute to the
+ 298159 [voigt.m@go g] if I understand it correctly, your program shows completely normal
+ 298161 [shawn42@gm i] ...
+ 298163 [chris.hulan@] Here you generate a value that gets stored
+ 298204 [aaron@te de ] require 'johnson'
  298241 [jbarnette@gm] require "johnson"

help need in chat client/server
298155 [a.hadss@gm i] Hey...
+ 298170 [damnbigman@g] ...
| 298172 [forgetta@gm ] ...
+ 298181 [s.korteling@] regards,
+ 298202 [eleanor@ga e] it has examples of writing all TCP and UDP client and server systems
| 298238 [a.hadss@gm i] Can someone please help me with threading.. i read about it but i dont
+ 298271 [jan.svitok@g] (without any previous knowledge of EM, and this includes installation
  298298 [damnbigman@g] ...

Mutable member variables -- surprising behavior
298156 [abender@gm i] I noticed some surprising behavior in one of my Ruby programs, and am
+ 298162 [jameskilton@] You misunderstand what "attr_reader" does. The "attr_" methods simply
| 298164 [ara.t.howard] does not work, neither does dup.  both are rather shallow in ruby.  if
| 298166 [jameskilton@] Eep, yeah, I forgot about that. #dup and #clone won't work, sorry for
| 298168 [ara.t.howard] well they *might* ;-)
+ 298165 [cmshea@gm il] But the short answer is: Yes, you'll have to write your own accessor

create server
298167 [forgetta@gm ] ...
298171 [forgetta@gm ] ...
298173 [gethemant@gm] Perhaps then you should paste server code, rather than client code.
298174 [forgetta@gm ] ...
298475 [forgetta@gm ] ...
298559 [dan@da fi ni] - "#{line.chomp}" is equivalent to line.chomp.

Postscript to PDF with pdf-tools, pdf-writer, or other
298178 [seannakasone] Does anyone have a way to convert Postscript to PDF using pdf-tools,
298183 [farrel.lifso] ps2pdf is standard on any install of Ghostscript, at least on most

hardware detection
298182 [olifoxpaul@g] does the stock ruby (1.8) library have any classes that i can use to
298187 [djberg96@gm ] Nothing stock, but there's sys-cpu.

problems overriding Date#inspect in a file required in a test
298184 [mmalaidini@g] With reference to the previous thread

Storing arrays in db + model architecture
298186 [granadojose@] My users can select items and define a quantity attribute for those.
298188 [granadojose@] Oppps! This should have gone to the Rails area.

Ruby DBI MySQL: how to specify protocol=tcp
298189 [kyle.rabe@gm] database with a local database.  I had been remotely accessing the
298233 [rogerpack200] yeah try specifying the host as either '127.0.0.1' or 'localhost' -- one
298302 [kyle.rabe@gm] Roger,
298303 [rogerpack200] yeah it's a mysql thing.  I have no idea why they did that.

Is there a One True Postgres interface? Is Ruby-postgres  maintained?
298193 [john.carter@] Is there a One true Ruby Interface to Postgres?
+ 298195 [john.carter@] Sorry, some version details on that post...
+ 298200 [reid.thompso] see ruby-pg
  298203 [john.carter@] Interestingly enough that link also serves up both flavors,
  + 298205 [john.carter@] Ok, sorry, I have now RTFRM "Read The Fine README" and see that ruby-pg is
  | 298223 [perrin@ap th] ded
  | 298231 [john.carter@] In the basement, in the locked cupboard, the one with the sign "Beware
  | + 298232 [vjoel@pa h. ] Funny. I always figured you as an Edgar Rice Burroughs fan. ;)
  | + 298244 [perrin@ap th] is
  |   298336 [ruby@j- av s] Also, the project description does seem to imply that information in the
  |   298371 [perrin@ap th] Ruby-pg provides the module "pg", a Ruby interface to the PostgreSQL
  |   298564 [ruby@j- av s] Thank you for the specific update. I had to edit it somewhat, because
  |   298911 [perrin@ap th] he
  + 298339 [ruby@j- av s] ruby-postgres had some serious maintenance problems, and was unable to
    + 298372 [perrin@ap th] Is there good actual use documentation, rather than only basic class and
    | 298543 [ruby@j- av s] I consider the class and method documentation to be quite complete and
    + 298381 [znmeb@ce ma ] Nothing else works seamlessly on Windows. :) But seriously, there is an
    | + 298387 [cmdjackryan@] No kidding. Looking at the ruby-installer ML, most of the difficulties
    | | + 298391 [luislavena@g] On Apr 15, 9:08 pm, Phillip Gawlowski <cmdjackr...@googlemail.com>
    | | | 298396 [znmeb@ce ma ] Speaking of Windows and seams, I discovered I have a spare genuine
    | | | 298480 [znmeb@ce ma ] Well ... don't say I didn't try. :) I installed PostgreSQL 8.3 and the
    | | | 298521 [luislavena@g] On Apr 16, 11:00 am, "M. Edward (Ed) Borasky" <zn...@cesmail.net>
    | | + 298484 [YQDHXVLMUBXG] The Postgres JDBC driver is 100% Java and definitely does not rely on any external DLLs or libraries, it speaks the native PG protocol (AFAIK there is no such thing as a "Java interface").
    | |   + 298488 [cmdjackryan@] Because Ruby doesn't really compare to Java in terms of infrastructure
    | |   | + 298498 [YQDHXVLMUBXG] This is not want I meant. It's the driver that provides the JDBC API to the application. This is true for all 100% Java JDBC drivers. (e.g. the Oracle, SQL Server, MySQL).
    | |   | | 298507 [cmdjackryan@] "JDBC Architecture
    | |   | | 298512 [cmdicely@gm ] Even if Ruby didn't have a database API, why would it take working with Ruby's
    | |   | | + 298519 [cmdjackryan@] with Ruby's
    | |   | | + 298538 [ruby@j- av s] Precisely. This thread is about database drivers, not "one true database
    | |   | + 298511 [cmdicely@gm ] While this may be true in some general sense, I don't think its really all that
    | |   | | + 298520 [cmdjackryan@] all that
    | |   | | + 298569 [perfectly.no] Yes, and to prove you right, someone has already done it.
    | |   | + 298517 [ssmoot@gm il] On Apr 16, 9:39=A0am, Phillip Gawlowski <cmdjackr...@googlemail.com>
    | |   | + 298535 [ruby@j- av s] Huh? Each RDBMS uses a different wire protocol, and something needs to
    | |   + 298533 [ruby@j- av s] It is certainly possible. It would require a huge amount of effort,
    | + 298455 [tom@in oe he] ======================
    | + 298534 [ruby@j- av s] Interesting.
    |   302685 [pbooth@no oi] I can see Jeff's point. If both libpq and the Postgres JDBC drivers
    |   302844 [ruby@j- av s] Libpq is widely used. I'm not sure what exactly you mean by reliable,
    + 298389 [luislavena@g] Jeff, I managed to get do_postgres (DataObject.rb project) working on
      298528 [ruby@j- av s] Thank you for the response!
      298536 [luislavena@g] Great!
      298552 [ruby@j- av s] Promoted to stable by whom? PostgreSQL 8.3.1 is the latest stable
      298574 [luislavena@g] By me? :-D

Re: Ruport 1.6 and Murdoch 1.0
298199 [shevegen@li ] Haha I will not fall for this, FOX!

How das Ruby work
298210 [stefan.huett] Today I was looking for some (almost) scientific sources (pdf, articles,
+ 298214 [julian@co et] It's an interpreter, so what happens is... you run your code with the
| 298219 [stefan.huett] thanks. That helps a little.
| + 298221 [kanden123@go] ...
| + 298222 [julian@co et] I have no idea if there area papers. I don't imagine there would be,
| + 298224 [justincollin] There have not been many "scholarly" articles written about Ruby (as
+ 298226 [acangiano@gm] It's from 2005, not free, and it documents the upcoming version of Ruby,
+ 298240 [billk@ct .c ] Charles Thornton has been moving ahead with a Japanese -> English
+ 298242 [cmdjackryan@] The Confreaks recorded a couple of presentations dealing with Ruby's
  298317 [stefan.huett] Sam, Julian, Justin, Antonio, Bill, Phillip

botched debian install
298229 [labyrinthins] I botched my ruby install to the point where I don't know how to fix it.
298251 [shortcutter@] Did you try to run "ruby18" or "ruby1.8" - last time I had a debian
305989 [labyrinthins] I still want to solve this--I just switched over to a different server.

Galloping Off Topic in the direction of your GrandDaddy's  TentacleFantasies Re: Is there a One True Postgres interface?  IsRuby-postgresmaintained?
298236 [john.carter@] Actually, it's the other way round....
298239 [cmdjackryan@] Careful, otherwise Tarzan may beat you to pulp. ;P

[ANN] mms2r 2.0.3 Released
298248 [mikemondrago] mms2r version 2.0.3 has been released!

Is faster handling hexadecimal values than handling chars?
298252 [ibc@al ax ne] charsm in Ruby?
298255 [ibc@al ax ne] Benchmark.realtime {'f' =~ /[\x61-\x7A]|[\x41-\x5A]/ }

Win32 Process Signals
298258 [christian.ke] Hey!
298278 [avdi@av i. r] $ ri Signal.trap
298281 [christian.ke] Yeah, i know. But this obviously doesn't work with win32.
298868 [cbciv@ya oo ] If you can't find a more portable solution, look at Win32 events, starting

uninitialized constant ActionController
298259 [choe.taehyeo] ...
298422 [rogerpack200] Yeah you'll want to run script/server or script/console.

how to find hostname from a given IP address in LAN ?
298262 [bad_good_lio] how to find hostname from a given IP address in LAN ?
+ 298263 [cmdjackryan@] Reverse DNS lookup.
| 298268 [bad_good_lio] how by using rwho ?
| 298270 [jan.svitok@g] RFC 1035, section 3.5
+ 298276 [phasis68@ho ] irb(main):001:0> Socket::getaddrinfo('210.180.98.85',nil)[0][2]
  298423 [bad_good_lio] thank you

Onmouseover popup
298265 [comics@bi po] used for links on subject list in this Ruby Forum. I am talking about
298269 [rimantas@gm ] <a href="/topic/149703#new" title="Hi, I would appreciate if anyone
298304 [comics@bi po] Thanks Rimantas
298309 [cmshea@gm il] Try asking these questions to a mailing list about HTML (like
298375 [comics@bi po] Thanks Chris for the advise.

Ada vs Ruby
298266 [shevegen@li ] On http://www.gcn.com/print/27_8/46116-1.html Ada is touted briefly.
+ 298272 [robert.dober] I was luck enough to write an Ada debugger in Ada for Ada83 in 1986
+ 298275 [mneumann@nt ] You're right. The problem in C is that C strings do not have a length,
| + 298289 [robert.dober] Wanna bet?
| | 298299 [avdi@av i. r] I think it depends on what is meant by "aviation software".  I
| | 298301 [robert.dober] You know one can bet any value on statements like "X will never
| + 298383 [eleanor@ga e] You provide the budget, I'll provide the code ;) Having designed and
|   + 298400 [rick.denatal] This argument is giving me a flash back to a decade or two ago.
|   | + 298403 [cmdjackryan@] I wouldn't fly in an aeroplane that relies on the runtime to catch errors.
|   | | + 298414 [rick.denatal] I was pondering this thread earlier today, and before I pitched in,
|   | | | 298418 [cmdjackryan@] Indeed. It is about knowing the limits of a language, and its features,
|   | | + 298472 [eleanor@ga e] I wouldn't fly in an aeroplane where a runtime error couldn't be
|   | |   298476 [cmdjackryan@] Of course. But solely relying on trusting that the runtime will do The
|   | |   298513 [eleanor@ga e] It's a lovely idea, but ponder the impact of G=F6del's Incompleteness =20=
|   | |   + 298522 [cmdjackryan@] Sure. But to know these states, the software should be tested as
|   | |   | + 298532 [lionel-subsc] This solves some problems but not all of them. If the software and
|   | |   | + 298571 [eleanor@ga e] Oh definitely. Testing that code performs correctly is essential to
|   | |   | | 298600 [asandstrom@a] [ SNIP ]
|   | |   | + 298641 [rick.denatal] re
|   | |   |   298651 [cmdjackryan@] Indeed.
|   | |   |   298754 [tomcloyd@co ] "...no amount of software nor hardware  can replace judgment calls made
|   | |   |   298762 [cmdjackryan@] It is a sad state of affairs, if this has to be written down and people
|   | |   |   298766 [robert.dober] <sniop>
|   | |   |   + 298767 [scourtecuiss] ...
|   | |   |   | 298771 [robert.dober] LOL we will not tell anybody that you tried - unsucessfully BTW - to
|   | |   |   | 298798 [rick.denatal] I'm surprised that some one from Descarte's homeland would be leaving
|   | |   |   | 298862 [znmeb@ce ma ] Speaking of Ada ...
|   | |   |   + 298772 [cmdjackryan@] We humans are neither consistent, nor logical, though. We are still
|   | |   |     298778 [robert.dober] I completely agree with you on this, but the interesting thing is that
|   | |   |     298782 [cmdjackryan@] Oh, I don't contest its existence, far from it.
|   | |   |     298785 [robert.dober] ok, if I were a Romulan I would say that this is acceptable ;)
|   | |   |     298788 [cmdjackryan@] So do I. :)
|   | |   + 298540 [fburton@ny .] I'm not sure how the Halting Problem relates to presence or
|   | |   | 298577 [eleanor@ga e] You're making the mistake of viewing program states as a discrete set,
|   | |   | 298626 [eeklund@gm i] In general, proofs around Turing machines only applies with an
|   | |   | + 298631 [cmdjackryan@] But a language that is Turing-complete is a complete logical system, is
|   | |   | | 298659 [eeklund@gm i] No.  A computer language is a different kind of beast; it is not a way
|   | |   | | + 298665 [cmdjackryan@] Which makes it a complete logical system, though not necessarily in the
|   | |   | | | 298676 [robert.dober] De falsum quodlibet, nice try ;)
|   | |   | | | 298677 [cmdjackryan@] Outside of propositional logic, yes. But I did warn that this doesn't
|   | |   | | | 298695 [robert.dober] Oops I missed it, nice trick anyway.
|   | |   | | | + 298696 [caduceass@gm] Fascinating conversation!  It comes up every once in a while in
|   | |   | | | + 298697 [cmdjackryan@] Yeah, abstract logic allows for neat stunts (and a lot of sales for
|   | |   | | |   298702 [robert.dober] No G=F6del is not talking about consistent systems, he has only (that is
|   | |   | | |   298723 [cmdjackryan@] Even so, it is still a paradox. ;)
|   | |   | | + 298673 [robert.dober] Forgive me to add a comment as Eivind has been much clearer than me on
|   | |   | + 298639 [eleanor@ga e] I fully agree with you that for degenerate cases the halting problem
|   | |   | + 298649 [sean.ohalpin] (trivlal :)
|   | |   |   298664 [eeklund@gm i] A surprisingly non-trivial number of cases are trivial.
|   | |   |   298687 [sean.ohalpin] Ah, I see.
|   | |   + 298542 [robert.dober] use
|   | |     298573 [eleanor@ga e] nor
|   | |     + 298587 [tomcloyd@co ] My thanks to the core contributors to this fascinating thread. It's
|   | |     | + 298637 [fburton@ny .] Here are a website with some papers that I found in my cursory
|   | |     | + 298652 [eleanor@ga e] That's the new physics for you ;)
|   | |     |   298759 [tomcloyd@co ] Well, yes. And it's also classical Zen Buddhism - we kill the Buddha we
|   | |     |   298764 [cmdjackryan@] Or, on a wider scale, the difference and conflict between perception,
|   | |     + 298607 [robert.dober] ce
|   | |       298634 [eleanor@ga e] correct,
|   | + 298405 [znmeb@ce ma ] And there is the apocryphal story that when John Glenn buckled himself
|   | | 298411 [rick.denatal] Actually, I'm pretty sure that that was Wally, much more his style than Glenn.
|   | + 298447 [ttmrichter@g] What random things does, say, Haskell do when things go wrong?  (Assume
|   | | 298448 [chiology@gm ] I'd much rather be damn sure and also have exception handling for what
|   | | 298450 [ttmrichter@g] Is there any (serious) language made after, say, 1985 that doesn't have
|   | | 298471 [eleanor@ga e] It's not enough to have the mechanism, you also have to code the
|   | | 298481 [ttmrichter@g] Well, yeah.  But Matt made it sound like exception handling was a rare
|   | | 298509 [eleanor@ga e] And I've seen a lot of C programmers code their own with longjmp ;)
|   | + 298474 [robert.dober] Reminds me of the old story about Donald Knuth (I do not know if it is
|   |   298477 [sean.ohalpin] question on page.
|   |   298485 [robert.dober] I stand gladly corrected, and need a memory extension :(
|   + 298541 [asandstrom@a] [ SNIP ]
|     + 298545 [snarflemike@] On Apr 16, 2:39=A0pm, "Arved Sandstrom" <asandst...@accesswave.ca>
|     | 298591 [asandstrom@a] On Apr 16, 2:39 pm, "Arved Sandstrom" <asandst...@accesswave.ca>
|     | 298720 [snarflemike@] On Apr 17, 12:16=A0am, "Arved Sandstrom" <asandst...@accesswave.ca>
|     | 298876 [adaworks@sb ] On Apr 17, 12:16 am, "Arved Sandstrom" <asandst...@accesswave.ca>
|     | 298879 [robert.dober] May I humbly add the Rendez Vous tasking model, of course chosen by a
|     | 298917 [adaworks@sb ] You may so add.   In its earliest versions, that model did have some problems.
|     | 298918 [robert.dober] Thank you for this update, I was not aware of the initial problems
|     | 298919 [shevegen@li ] I guess I never expected this to become that big :)
|     | 298920 [shevegen@li ] Whops sorry, pasted the wrong stuff and hit return - having too many
|     | 298925 [robert.dober] It seems that this tread is to go on forever ;)
|     | 298928 [cmdjackryan@] Depends on your definition of large. Twitter runs on Rails. But nothing
|     | + 298934 [znmeb@ce ma ] Well ... the three "700-pound gorillas" in large-scale web application
|     | | 298938 [cmdjackryan@] Additionally, Rails gets lost in the "Server is Apache" reports of
|     | + 298941 [cwdinfo@gm i] The implication of this post, intended or not, is that there are tons
|     |   + 298942 [cmdjackryan@] No, it isn't. I was talking specifically about Ruby and Rails, and on
|     |   | + 298948 [rimantas@gm ] So is it about Ruby or Ruby on Rails?
|     |   | + 298951 [cwdinfo@gm i] My mistake. I failed to grasp the significance and correctness of your
|     |   + 299055 [adaworks@sb ] It might become the case that Ruby will continue to evolve so it will be
|     |     299058 [robert.dober] That is a point of particular interest, myself being a complete
|     |     299061 [cwdinfo@gm i] ...
|     |     299067 [robert.dober] Well I know what it is, theoretically only that means I do not know
|     + 298572 [eleanor@ga e] Much kudos to your friend. Twelve years ago I did the same thing in VB
|       298618 [cmdjackryan@] But the mobile phones aren't necessarily as reliable as, say, the
+ 298319 [britt.snodgr] I am an Ada programmer.  The quoted statement from the GCN article is
+ 298333 [framefritti@] Interesting thread... also because I use both Ruby and Ada.  No,
| + 298340 [caduceass@gm] You can "type" your variables in Ruby if you have to.  I don't think
| + 298351 [billk@ct .c ] The example you've provided causes me to wonder whether such
+ 298401 [asandstrom@a] [ SNIP ]
  298449 [micathom@gm ] IIRC D is capable of doing some type inferencing too. But D is still
  298537 [asandstrom@a] AFAIK the type inferencing for D is similar to that for C# 3.0. IOW you can
threads.html
top