328908-334684
328711-341040 subjects 329031-332441
^ RUBYLIB on windows
328908 [shevegen lin] How do i set rubylib on windows?
+ 328927 [vjoel path.b] # This is intended to be used with the env var
+ 328978 [jcmoore pres] My Computer [Desktop Icon(usually)] <right click> => Properties [Menu
328985 [phlip2005 gm] Or install CygWin. There are still issues, but in general it will simulate a
^ String#include? with several possibilities?
328911 [Aldric Giaco] Say I have a string like.. At random...
+ 328913 [dominikho gm] string =3D "The quick brown fox jumps over the lazy dog"
+ 328914 [lasitha.rana] $: irb
| + 328925 [Aldric Giaco] Oh.. Duh! Must learn to thing with regexp. Thank you! What does the
| | 328929 [lasitha.rana] It was a mindshift for me too, no doubt.
| + 328926 [gwtmp01 mac.] pattern = Regexp.union(*%w{quick brown lazy})
+ 328923 [shortcutter ] Yes, of course!
^ Retrieving session data from a cookie
328930 [ddjolley gma] The pick-axe book describes a method for retrieving cookie-based session
^ MSSQL DB connection, multiplatform, NextRecordSet
328931 [daitai.raifu] I'm trying to find a way to use ruby to connect to a MS SQL database.
329038 [jg samdorr.n] experience in MSSQL and ADO, but i'm sure MSSQL provides JDBC driver
329149 [daitai.raifu] I'm not familiar with JRuby.
^ Class variables are still inherited?
328934 [hut lavabit.] It's said everywhere that class variables are not inherited anymore in
328936 [dblack rubyp] For a while there was a change so that they weren't shared in the
^ Re: while vs loop
328935 [default spir] I don't think anybody mentioned the slight performance difference between
328939 [ryand-ruby z] If you're going to talk performance differences between while and
328942 [default spir] mmm, Interesting to see loop being this high in the list,
+ 328965 [ryand-ruby z] wrong
+ 328969 [rick.denatal] Anything purporting to be an infinite loop which runs faster than something
+ 328972 [jeff schwabc] Not sure Georg Cantor would agree with you. One infinite loop might
| 328980 [robert.dober] Might it? I do not think so! I believe that a Turing complete language
| 329165 [default spir] This is indeed very fun and mind boggling!Still, pragmatically, not all
+ 328979 [robert.dober] This was one of the most famous stories in our department . We were
^ Installing FileUtils
328951 [alex.decaria] My current version of Ruby 1.8.6 (on Windows) doesn't seem to include
328952 [justincollin] 'false' from require just means that it was already loaded. You would
328953 [alex.decaria] Thanks!
^ FXRuby & erb -- problems together?
328954 [djlewis tria] I'm having vexing problems with some erb templates I use to generate html.
329003 [djlewis tria] I switched to Erubis (in place of erb -- need to change only the class name
^ encryption using ruby
328955 [vetrivel.bks] Herewith I have given code of perl encryption and decryption . If i give
329142 [b.candler po] Please see my answer at http://www.ruby-forum.com/topic/178721 where
^ Building Ruby 1.9.1 on Windows - LINK error
328956 [alex.vaillan] I'm trying to compile Ruby 1.9.1 with Visual Studio 2008 Express and I'm
328958 [rogerpack200] It may be that it's trying to 'override' miniruby.exe but cannot. Make
328971 [alex.vaillan] Well, thank you for your reply but I don't think this is the problem, as
328973 [rogerpack200] maybe it's trying to build within a path with spaces?
328988 [alex.vaillan] Ok, I tried to execute the same command that caused the error, manually,
328995 [rogerpack200] I've heard of success.
^ [ANN] unique_require 0.0.0a allow 1.8.x to never re-require
328959 [rogerpack200] This has probably been done "1,000,000" times, but here's another hack
^ Web Systems Architect for Startup
328964 [flangston ro] This post is for a full-time position in the Washington, DC area. If
^ how do you add attachments in tmail
328966 [adamtemporar] smtp but how do i go around specifying files to be attached in it. i
329035 [adamtemporar] anyone? Ive been googling like mad but cant find anything. It must be
329051 [reid.thompso] may be of use
^ encoding problem with tr() and hash keys
328967 [do1 yandex.r] irb(main):121:0> h = {"a" => 1, "\u0101" => 2}
+ 328976 [bbxx789_05ss] h = {"a" => 1, "b" => 2}
| 328977 [bbxx789_05ss] h = {"a" => 1, "\u0101" => 2}
+ 329141 [b.candler po] $ irb19
+ 329147 [b.candler po] Just built 1.9.1p0, and there's no difference here (all 'true'
| 329154 [micathom gma] ...
+ 329236 [do1 yandex.r] Yes it was fixed yesterday with two consecutive patches, first one was
329267 [b.candler po] It looks like this craziness is core behaviour for ruby 1.9,
329288 [do1 yandex.r] This is still false even in "fixed" 1.9.2dev. Probably you should report
329290 [b.candler po] It's Not My Problem[TM], because I don't use 1.9 and have no intention
329292 [do1 yandex.r] Ok, let's not report it and see how long it will stay. :)
329296 [b.candler po] Go ahead, but it doesn't fix the underlying problem. Do you want to test
329299 [flo andersgr] Then report the underlying problem.
329307 [b.candler po] IMO, the underlying problems are that ruby 1.9's concept of Strings is
329309 [james graypr] This seems pretty silly. It took years to develop. You really =20
329314 [b.candler po] Possibly they were so wrapped up in it that they didn't step back and
^ ruby-1.9.1 installation on RHEL-4
328968 [viveks.singh] I am trying to install ruby-1.9.1 on my RHEL-4 system.
+ 328996 [rogerpack200] I might suggest reposting these to core if you get no responses here.
+ 329007 [joon.you gma] This is for CentOS 4.5, but should work with RHEL. Just ignore the
^ ruby-1.8.7 post installation problem
328970 [viveks.singh] Installation of ruby-1.8.7 was successfull.
329026 [ryand-ruby z] haven't seen that one before. Do you have a ~/.irbrc? If so, what are
^ how do i read the text from the current running windows appl
328975 [balu_cse04 y] like Enduser Licence Agreement) from the window while installing the
^ How to call a module method dynamically
328981 [adrian.kling] I know about object instantiation and the send method, but the methods I
+ 328997 [micathom gma] Couldn't you also pass a block?
| 328998 [adrian.kling] Even weirder is monkey-patching Object with my module so I can just use
+ 329000 [lasitha.rana] I'm going to assume you meant Foo::Bar::mymethod, but even that wouldn't work.
+ 329002 [sean.ohalpin] irb --> myvar = Foo::Bar::xyz
329005 [adrian.kling] Ahhh, I'm missing the "self", thanks Sean. But here's the other issue.
+ 329006 [lasitha.rana] You can use Module#const_get to look up a module by name.
+ 329010 [bbxx789_05ss] module Foo
329012 [adrian.kling] Yeah, that's definitely new to me. Thanks stud.
329015 [bbxx789_05ss] num = 1
329036 [lasitha.rana] $: irb
^ ask ri for the other squeeze
328982 [matt tidbits] First off, may I say that ri, with its recent improvements, is now
328984 [badboy heart] hm...I have no problems with String#squeeze
+ 328986 [rogerpack200] Note also that you can lookup things in irb
| 328991 [matt tidbits] irb(main):001:0> help "String#squeeze"
| + 328994 [rogerpack200] looks like a bug. repost to ruby core?
| + 329494 [drbrain segm] You seem to have two sets of ri data installed. Try locate cdesc-
| + 329555 [matt tidbits] Good call! That worked. Thanks! m.
| + 329586 [ryand-ruby z] maybe our next tweak on `gem check` should do this check too?
| 329696 [drbrain segm] This one seemed to be an artifact of ruby's `make install-doc`, I'm
+ 328990 [matt tidbits] Faster, but long ago broken OMM. It stopped working one day (after a
329495 [drbrain segm] $ time ri String#squeeze > /dev/null
^ why not check for nil?
328983 [matt tidbits] "Warning! DO NOT test for nil! This is a very bad coding practice. You
328987 [rogerpack200] because it might be false [not nil]?
+ 328989 [matt tidbits] Yes, I thought of that too. But of course to me that is *why* I would
| 329001 [dblack rubyp] Definitely use #nil? if you want to know whether something is exactly
| 329008 [phlip2005 gm] Let's call this the "non-suicidal Samurai Principle". Either return victorious,
| 329013 [dblack rubyp] I didn't say you should always do it, simply that if you want to know
+ 328993 [phlip2005 gm] Technically yes, but that admonition has more meanings (some of which may have
^ floating point rounding error?
328992 [rogerpack200] 1999
+ 328999 [micathom gma] require 'bigdecimal'
+ 329019 [shortcutter ] Float computer math is full of those effects - and so are the archives
329021 [rogerpack200] I hate those subtle rounding errors. Any thoughts if I were to suggest
329022 [shortcutter ] 1. existing code might be broken
329023 [rogerpack200] True
329032 [raphael.clan] In this case, I think it's IEEE.
329042 [shortcutter ] Right, thanks for the correction!
329065 [raphael.clan] I totally agree with you, I guess what I was trying to say is that due
^ Hashed_Pasword?
329014 [jasonjames15] I am having a problem with my hashed_password.
+ 329016 [TimHunter nc] Is the variable named hashed_password or hashed_passwd?
| 329017 [jasonjames15] def self.authenticate(login, password)
| 329020 [jasonjames15] The web server is calling out line 47 which is hashed_password.blank? ||
| 329058 [michael.malo] Um, shouldn't you be storing the result of the hash into hashed_password?
| 329069 [rick.denatal] No, you should be aware that this is pretty obviously an ActiveRecord model
| 329164 [jasonjames15] Rick,
+ 329046 [hassan.schro] It appears your model has a field called 'hashed_passwd', which is
^ [ANN] Arcadia ruby ide 0.6.0
329024 [antonio.gale] Arcadia ruby ide 0.6.0
^ What is Islam?
329025 [imanway123 g] Please forgive us for any disturbance, but we have an important
^ Nexus Programming Language
329029 [acampbellb h] A new object-oriented programming language has been unofficially
329048 [kbloom gmail] "There are no precedence rules applied to operators, they are simply
+ 329049 [pjb informat] Well if you need to talk about no conceptual advantage and just
| + 329053 [robert.dober] What does Common Lisp have that the Turing Machine does not have? As
| + 329057 [shortcutter ] Frankly, Pascal you're doing a bit too much Lisp advocacy recently. Not
| | 329061 [pjb informat] I understand. But in a thread in clr consacred to another programming
| | + 329068 [jameskilton ] 3.3 - Arrays
| | | + 329080 [zznmeb gmail] APL\360 was amazingly popular and it had no operator precedence either.
| | | | 329102 [martindemell] I think Joy, at least, is *influential* - language designers seem to
| | | | 329153 [zznmeb gmail] Joy and Factor are essentially dialects of Forth that attempt to add
| | | | 329375 [lojicdotcom ] Ah, what memories :)
| | | | 329384 [zznmeb gmail] I had a 28S which I just loved. It died and got replaced by an HP100LX
| | | + 329103 [dylan.star g] There certainly seems to be a bug here somewhere ;-)
| | + 329116 [w_a_x_man ya] Post some Commune Lisp solutions to some programming problems.
| | | 329123 [micathom gma] Even though PJB seems to be an cl advocate, the question isn't so much
| | | 329134 [phlip2005 gm] I would like to invent the kind of language that causes its advocates such
| | + 329137 [b.candler po] Sure. But why would anyone want to write something like
| | + 329151 [robert.dober] are you sure about this
| | | 329155 [b.candler po] No, I am not - see footnote to my posting. When is something which looks
| | + 329157 [pjb informat] In Scheme, there's no option. It's: (set! a (+ b c))
| | + 329166 ["William Jam] eval "a=b+c"
| | + 329194 [nico.bonada ] This might be true, but lisp expressions are hard for humans to parse.
| | 329206 [perrin apoth] That's why the original conception of LISP used an m-expression syntax
| + 329227 [gregory.t.br] Why are you subscribed to ruby-talk if you hate Ruby so much? Is
| + 329231 [w_a_x_man ya] He's harmless. CL (Commode Lord) is so bloated and hideous
| | + 329242 [perrin apoth] I . . . don't think that's really productive at all. Common Lisp still
| | | 329252 [zznmeb gmail] ill
| | | 329340 [perrin apoth] I've never really gotten past the initial playing-around stage with
| | + 329255 [gregory.t.br] Just to clarify... my question was not meant to be patronizing. My
| | | 329364 [w_a_x_man ya] Calling it "flame-bait" is in itself flame-bait, proving that
| | | 329535 [perrin apoth] I don't think that's necessarily true of identifying flame-bait what it
| | + 329312 [kbloom gmail] (Yeah but (He) (uses (strange syntax)))
| + 329317 [pjb informat] If you were using CL (if more people were using CL), and Ruby were not
| + 329344 [Glen.F.Panko] What perfidy! Won't someone loosen your chains?
| | + 329537 [perrin apoth] You forgot "Blub" amongst those pejoratives.
| | | 329569 [martindemell] But don't forget: Any sufficiently well-documented Lisp program
| | | 329701 [perrin apoth] Nice. I hadn't heard that one.
| | | 329778 [martindemell] I've sadly lost the attribution, been trying to find it again for
| | | 329864 [perrin apoth] Please let me know if you figure it out.
| | + 330205 [lists groll.] No! Please stop. I can't take any more.... Please, before I die
| + 329347 [dominikho gm] In all honesty, but this seriously sounds pretty much like a speech of
| + 329350 [perrin apoth] [snip a bunch more of the same offensive nonsense]
| + 329357 [tony medioh.] So your argument is Common Lisp would win by default if it were the only
| + 329360 [ninja slapha] No one can know that. For all you know, if Ruby were not invented, we
| | 329371 [jcmoore pres] Too funny!
| + 329363 [w_a_x_man ya] CL = COBOL Lisp
| | 329540 [perrin apoth] To be fair, I'm not terribly likely to learn Clojure any time soon, for a
| + 329366 [eleanor game] <snip long rant>
+ 329054 [thanks4liste] My first association would have been Smalltalk. Anyway, I personally
| + 329055 [phlip2005 gm] Like cucumber?
| + 329056 [eleanor game] You might as well say the world doesn't need another painting or
+ 329136 [perrin apoth] =20
329138 [eleanor game] 1 2 + 3 / 4 +
329177 [perrin apoth] I don't much like combining postfix notation with right-to-left
+ 329181 [zznmeb gmail] 1. Polish notation was originally prefix. It was invented by the
| + 329298 [tomcloyd com] Very interesting Ed. Thanks for the contribution. ~t
| + 329351 [perrin apoth] More than that -- and still relevant today -- parsers for Polish notation
| + 329356 [zznmeb gmail] 1. Nobody has *ever* caught up with Chuck Moore -- not even he
| + 329390 [dylan.star g] That's seems funny because bison uses RPN as an example. The syntax isn't
| 329542 [perrin apoth] on
| + 329561 [dylan.star g] My mistake, i thought you were saying the opposite of that. None the less it
| | 329590 [dylan.star g] Admittedly you would need to create an object or struct and manage memory in
| + 329904 [rhkramer gma] some
| 329906 [pjb informat] Would the "inverse" of reverse polish notation be polish notation?
| + 329908 [zznmeb gmail] In the beginning (1920s / 1930s) there was one notation, with
| + 329933 [perrin apoth] Actually, it's not so much that Polish notation is the reverse of Reverse
+ 329183 [eleanor game] But postfix notation is just so natural: load operands on the stack;
+ 329184 [zznmeb gmail] The parentheses are in Lisp because functions (and special forms) have
| + 329197 [micathom gma] So you can have lisp without parentheses if you can live with that
| | 329208 [perrin apoth] UCBLogo gives a hint to how you can do it without either the significant
| + 329386 [mike.gold.44] The parentheses are there for power: code is data, data is code. When
| + 329405 [ninja slapha] How is it more powerful than any other language which allows reflection?
| | + 329407 [micathom gma] BTW does ParseTree work with ruby 1.9? The last time I tried it
| | | 329413 [pjb informat] Auto-meta-programming is only part of the picture.
| | | + 329471 [lojicdotcom ] Pascal, I'm curious about your use of parentheses above. Do you use
| | | | + 329482 [jameskilton ] inVector =3D false , encoding =3D nil)
| | | | + 329522 [pjb informat] Yes, definitely. I use emacs with paredit-mode.
| | | | + 329525 [eleanor game] And that is precisely the point that many Lispers overlook. Lisp is a
| | | | + 329889 [w_a_x_man ya] This tends to prove the hypothesis that Commune Lisp users are
| | | | 329934 [perrin apoth] That's a patently false stereotype, judging by my observations.
| | | + 329954 [w_a_x_man ya] e, ib, ie =
| | + 329448 [mike.gold.44] Because in lisp, the metalanguage is the same as the language. Tweaking
| | 329521 [ninja slapha] I consider that to be a strength of Ruby.
| | 329578 [mike.gold.44] Uh, what? Where are you getting this?
| | 329632 [ninja slapha] I have spent a few, before this discussion. I didn't see much to
| + 329491 [tony medioh.] Homoiconicity doesn't afford power so much as simplicity. Using parse
| + 329528 [Usenet Googl] Actually, you can have complex syntax *and* easy manipulation, by
| + 329579 [mike.gold.44] No, it is more than convenience or simplicity. See below.
| + 329582 [tony medioh.] Yes, you are correct, and I really wish ruby-core would embrace ParseTree
| | 329726 [Usenet Googl] Actually, I believe it is the other way round: embracing ParseTree
| | 329770 [charles.nutt] Not impossible...there's just been practically *zero* demand, limited
| | 329788 [ninja slapha] Merb uses ParseTree for something called ActionArgs feature which, as I
| | + 329851 [charles.nutt] Well, in JRuby this is taking advantage of us being the most reflectable
| | + 330460 [Usenet Googl] Actually, this could be much better solved by a well-structured
| | 334684 [Usenet Googl] ... which will appear[1] in Ruby 1.9.2. Nice work!
| + 329636 [ninja slapha] That's solvable -- easy enough just to add an instance method to Method
+ 329189 [ymendel pobo] On Feb 23, 2:21=A0pm, Eleanor McHugh <elea...@games-with-brains.com>
| 329199 [robert.dober] Do you mean the person or the language?
+ 329192 [sean.ohalpin] But like all obvious elegant simple things, it took someone really
| 329202 [eric.promisl] No one's mentioned that the earliest versions of VisiCalc
| + 329209 [perrin apoth] I'm actually of the opinion that the "need" to differentiate between the
| + 329210 [gwtmp01 mac.] Interesting. The problems caused by = vs == would seem to
| | + 329212 [eleanor game] One of the many things I like about Icon and Unicon is that := for
| | + 329224 [phlip2005 gm] That is just foolish. You assign more often than you compare, hence you should
| | + 329226 [gwtmp01 mac.] Foolish? Seems a bit strong.
| | | 329234 [w_a_x_man ya] That dates back to Pascal.
| | | 329250 [zznmeb gmail] Actually it dates back to Algol. The people who designed it did it for
| | | + 329334 [doodpants ma] If I ever design my own programming language, I'm going to use :=3D for
| | | | + 329335 [gregory.t.br] r,
| | | | + 329352 [perrin apoth] r,
| | | | | 329509 [sepp2k googl] What should that other signifier be? I guess you could say that assignment has
| | | | | 329543 [perrin apoth] er
| | | | + 329372 [no spam.plea] I used <- in a language I designed once.
| | | | 329383 [zznmeb gmail] So does R and IIRC all the other dialects of S. Also IIRC R allows
| | | | 329387 [pjb informat] In the old times, the code 95 often displayed as =E2=86=90=20
| | | + 329533 [cwdinfo gmai] charset=US-ASCII;
| | + 329245 [perrin apoth] =20
| + 329214 [justincollin] Having been messing around with my own little language, it was much
+ 329218 [acampbellb h] On Feb 23, 3:21=A0pm, Eleanor McHugh <elea...@games-with-brains.com>
329297 [tomcloyd com] A most fascinating thread, coming from a very distant universe, as I do.
329365 [eleanor game] There seems to be a fairly clean divide between the folks who like
+ 329526 [shortcutter ] Of course, this provokes the question "what is beauty?" (or "what is a
| + 329539 [tomcloyd com] Not me. It was the beauty I saw in Ruby that drew me in. Beauty in art
| + 329549 [eleanor game] A lot of these arguments though have less to do with beauty per se
| 329583 [shortcutter ] I see we seem to have a quite similar approach to those language
| + 329593 [eleanor game] I just like a good argument ;) Plus I've always believed that the best
| | 329730 [shortcutter ] Hm, ok then we do have a bit different approach.
| | 329740 [eleanor game] It seems we're both rationally irrational then as opposed to
| + 329703 [perrin apoth] <wander where=3D"even more off-topic"></wandering>
| 329790 [minilith gma] ^ Parse error,
| 329865 [perrin apoth] Damn. Typo.
+ 329545 [perrin apoth] Meh. I'm pretty big on both. I guess I'm neither an "ass man" nor a
+ 329644 [ninja slapha] I would say, these aren't completely unrelated -- the grammar and
threads.html
top