268934-270973
268718-299351 subjects 269105-271980
^ Scope Issues (avoid name clashes for block parameters)
268934 [matthias wae] Is there something I can do to avoid name clashes for block parameters?
^ XML as web service method's input parameter
268935 [ktalanet yah] I'm trying to fill a web service method's input parameter with an XML
268947 [ktalanet yah] I have the response...using SOAPElements
^ Closures defined inside a class method
268937 [port001 gmai] This is just weird...
268950 [pbrannan atd] class ClassA
^ Query MS Exchange Inbox
268938 [nrhird gmail] I have been looking for some information on the net to use ruby and
+ 268943 [damnbigman g] You'll have to read up on MAPI, it's Microsoft's way of doing their own
+ 269008 [koheik gmail] Exchange supports IMAP4 but it's optional and turned off in default.
^ where to submit minor ideas, question
268940 [rogerpack200] So...say I had this minor suggestion for Ruby--like that File::BINARY
268941 [rogerpack200] ha ha I meant 0x00
^ [ANN] arrayfields-4.0.0
268942 [ara.t.howard] NAME
^ lotus notes and Ruby
268949 [joyceschan f] I saw in the post
268962 [jblauer vide] Call notesSession.Initialize( [ password$ ] )
^ Re: arrayfields-4.0.0
268956 [transfire gm] I like this library. But I'm curious, why not just stick with the
268959 [ara.t.howard] result = database_connection.execute 'select * from foobar'
268971 [transfire gm] yep.
^ Download Ruby Core API
268957 [neoanderson1] Does anyone know where I can download a PDF or anything of RUBY's core
+ 268968 [lparravi gma] I just tried the link and was able to download the zip with the documentation.
| 268972 [james.britt ] The downloads were broken but someone was kind enough to drop me a note,
+ 268979 [jonas onda.c] You can download it from my site [1] if you prefer :-)
| 268993 [codeblogger ] I am not so sure if you are allowed to offer the PDF version of the Pickaxe
| 268995 [jonas onda.c] Excuse me. I'd remove all books non-free from my server. What book you
+ 269291 [neoanderson1] It's done now
^ Bypassing XML inconsistencies with REXML::StreamListener
268963 [benini.david] I am trying to build a simple XML parser to extract data from IBM
+ 268973 [james.britt ] Don't use an XML parser to handle non-XML?
| 268988 [benini.david] hpricot is my man :-)
+ 268981 [alex blackke] It might be worth trying HTML Tidy in XML mode. I can't remember off
^ Cross-platform Home Directory?
268970 [transfire gm] I have a little app that needs to store session data. I assume the
+ 268974 [damnbigman g] What do you mean by "cross-platform home directory"? How is this directory
| 268975 [damnbigman g] I probably meant NFS rather than NTFS
| 268980 [gthiesfeld g] => "C:\\Documents and Settings\\gthiesfeld"
+ 268976 [vjoel path.b] case RUBY_PLATFORM
| + 268978 [djberg96 gma] I think the appdata directory is where you want it for MS Windows. You
| + 269018 [unbewusst.se] ENV[ 'HOME' ]
| | 269019 [cmdjackryan ] 8:31:09.25 C:\Users\CynicalRyan
| + 269074 [micathom gma] As HOME usually isn't set on windows, the existence of the variable
| + 269146 [bigboss64 ip] I think Mac OS X should have the traditional unix variables set, like ${HOME}
| | 269189 [dangerwillro] It does. You don't even have to own one to find out. You can find it
| + 269147 [bigboss64 ip] I think Mac OS X should have the traditional unix variables set, like ${HOME}
| + 269148 [bigboss64 ip] I think Mac OS X should have the traditional unix variables set, like ${HOME}
+ 269014 [nobu ruby-la] There is no static value.
+ 269052 [o.renaud lap] home_directory = Dir.chdir {|path| path}
| 269145 [bigboss64 ip] At first I would just check ENV to see if HOME or USERPROFILE was set. Then
+ 269134 [no spam.plea] Everyone's helped you with ways to find the home directory, but on Windows
| 269136 [cmdjackryan ] frequently-changing)
+ 269298 [transfire gm] There's much more to this then I ever imagined. Thanks for all the
^ Users Guide for FXRuby
268977 [williams.jay] I have been looking into some of the GUI offerings for Ruby, namely Tk
^ Some help with # mget command to the ML please...
268983 [williams.jay] I have tried using the # mget <regex> command to search the posts for
268985 [matz ruby-la] It works for many. If you failed again, send us a request to
^ Slow RAILS testing
268984 [kevin.cline ] My RAILS unit tests take approximately one minute to run. This may
+ 268987 [george nutru] Do all your tests need to access the database? I find this approach
+ 268991 [alex blackke] I think you can run SQLite in-memory. The Rails people would know more,
+ 268998 [warlickt ope] You can use Heap tables with MySQL if you wish. This SQL statement will convert
+ 269024 [gaspard teti] I could more then double the speed of my tests by avoiding fixtures
| 269025 [gaspard teti] HEAP does not support TEXT columns... Too bad.
+ 269159 [phlip2005 gm] Ain't that ENGINE=HEAP?
+ 269169 [warlickt ope] Both is valid.
| 269188 [phlip2005 gm] Yup; I just got that.
+ 269195 [gaspard teti] I tried this, but HEAP does not support transactions either. From what
^ [ANN] Autumn Leaves - Ruby IRC bot framework
268994 [riscfuture g] Autumn Leaves is a full-featured framework on top of which IRC bots can
^ A ruby-esque "split" that respects word groups.
268999 [kenosis gmai] Greetings friends,
+ 269000 [kenosis gmai] My cleanest solution thus far, which does not properly handled nested
+ 269001 [peter peterc] Not sure if this is the best way, but just doing this off the cuff and it
+ 269003 [james graypr] => true
269004 [kenosis gmai] On Sep 13, 5:45 pm, James Edward Gray II <ja...@grayproductions.net>
^ [ANN] uniforma-0.0.1 - converter for text formats
269007 [vshepelev im] I'm pleased to announce 0.0.1 (aka "early adopters only" release) of my
+ 269022 [gaspard teti] Your work is interesting and sure looks like good ruby to me.
+ 269065 [jeff.barczew] Victor,
+ 269321 [jeff.barczew] Wow, that figures that they would make something too complicated to
+ 269370 [vshepelev im] 1. My primary goal is to create "right tool" for others to define their own
^ net/smtp question
269013 [globyy3000 h] Ive tried several examples from numerous books trying to send mail with
+ 269016 [mo_mail ongh] I know I'm not directly answering your question, but there's a sample on
| 269017 [konrad tyler] charset="utf-8"
+ 269028 [botp delmont] # smtp = Net::SMTP.new('mx1.hotmail.com')
+ 269037 [dzwell gmail] Does hotmail even allow SMTP usage? I noticed you were trying to connect
+ 269367 [d_rems yahoo] This example works perfectly good for me.
269368 [wdierkes 5do] Agreed.... meaning, in your example you are assuming that
^ PDF:Writer pages landscape and portrait
269023 [johnnybutler] Im creating a PDF report and throughout the PDF document there will be
+ 269036 [johnnybutler] Using a java library is not an option,
+ 269050 [AEtzold gmx.] Dear John,
269051 [AEtzold gmx.] Dear John,
^ Hpricot Html Parsing
269026 [suja qburst.] I'm getting funky characters, when parsing html using Hpricot.
+ 269042 [thibaut.barr] - check the encoding used by the page you're hashpricoting (doh -
+ 269152 [jarvo88 gmai] Could you describe these 'funky characters'?
269153 [suja qburst.] Like '' in this text.
269155 [thibaut.barr] The minus character you see after CHAMPAIGN is not a regular "-".
^ Open Forum 4 ALL
269027 [highspamer g] Opened Forum ! http://sqlwarrior.freehostia.com/forum
^ How to not receive my own posts ?
269030 [gaspard teti] I searched google on how to change this setting but only found a near
269054 [sam powersou] You could set up a filter in your mail program to send all mail from you on
269060 [gaspard teti] That's what I did in gmail, but it is annoying (pops up a warning
^ How to define a function-generating function?
269031 [gracin tel.f] Here's what I'd like to be able to do.
269032 [gaspard teti] Is this what you are looking for ?
269035 [gracin tel.f] Yes, exactly what I want! Thanks!
^ wrong File::SEPARATOR ?
269033 [ronald.fisch] Shouldn't it output '\' instead?
+ 269038 [dzwell gmail] Nope, this variable correct because within ruby and its core libraries,
| + 269041 [ronald.fisch] I know, and that's what I am doing anyway. I just thought - after
| | 269044 [dzwell gmail] You have a point, as I just can't imagine that the file separator used
| | 269390 [ronald.fisch] I think this can be ruled out, because there probably won't be
| + 269046 [james graypr] The truth is that Windows itself understands / as a path separator.
| + 269391 [ronald.fisch] And that's exactly the problem: When shelling out to external programs,
| + 269393 [ronald.fisch] Is it guaranteed to also exist on Linux or Mac Ruby, having the
| 269394 [drbrain segm] Those systems don't have an alternate separator so it is set to nil.
+ 270923 [phlip2005 gm] Not sure if this is answered yet, but Windows accepts /. That prevents
270973 [devi.webmast] For what it's worth in your tests (like File.join) for some reason my
^ [ANN] win32-api 1.0.0
269034 [djberg96 gma] The Win32Utils Team is happy to announce the first release of win32-api.
^ Failed Metaprogramming PLUS Stack Level Too Deep
269043 [ari aribrown] Hey all
+ 269056 [jan.svitok g] - @chain = #{name}
| 269102 [ari aribrown] This is why I fail at life.
+ 269061 [mailing.mr g] stop metaprogramming :)
^ Finding ties in sorting?
269045 [AEtzold gmx.] Dear all,
+ 269048 [stefano.croc] a.sort_by{|i| [i['a'], i['b']]}.reverse
+ 269049 [dzwell gmail] Built in? I don't know about that, but it's pretty easy. I'm sure your
269058 [Rob AgileCon] a.sort do |h1,h2|
269076 [dzwell gmail] Neat, I didn't know about that.
^ [QUIZ] IP to Country (#139)
269047 [james graypr] 1. Please do not post any solutions or spoiler discussion for this quiz until
+ 269089 [SimonKroeger] Is an 'initialisation run' allowed to massage the data?
| 269090 [james graypr] My script does need and initialization run, yes. I don't see any
| 269091 [SimonKroeger] Ok, my script does not need any initialization, it uses the file
| + 269092 [james graypr] Wow, I'm impressed. Can't wait to see that code!
| | 269094 [SimonKroeger] Thanks. :)
| + 269110 [dwebsubmit g] I think that the timing of the scripts are not a good index. It all
| 269113 [james graypr] I view it that we are getting a rough idea of speeds, not exact
| 269120 [oksteev yaho] Same here.
+ 269144 [no spam.plea] I assume that it's not ok for folk to use my Ruby GeoIP gem?
| 269186 [james graypr] Please do. I would love to see how it stacks up against the custom
+ 269259 [jgabrielygal] This is my second submission to Ruby Quiz, any tip will be greatly
| 269301 [james graypr] This is the code I used to generate the quiz example. To give credit
+ 269268 [matthias wae] This is my first submission to Ruby Quiz, so don't expect ground-breaking techniques from this implementation.
| 269580 [matthias wae] I just performed the tests another time on my desktop computer with a
| 269595 [james graypr] Great. Run it for us and let us know how we do. ;)
| 269719 [matthias wae] Here are the results of the supplied solutions so far, and it looks like
| + 269728 [adam.shelly ] It depends what you mean by unmodified - my algorithm runs off the
| | 269917 [SimonKroeger] Without looking at the other solutions in detail i think one of the problems
| | 269953 [oksteev yaho] I did some benchmarking of my own. This one tests out the performance of a single lookup. I only ran this on solutions which work with IpToCountry.csv out of the box (aka do no prep work).
| | 269965 [oksteev yaho] -bash-2.05b$ ruby bm.rb
| + 269738 [james graypr] Thank you very much for putting this together and wow, your code is
| + 269753 [jgabrielygal] Yes, I only tested with my version of the file, from which I manually
| 269810 [james graypr] Comments are not a part of the CSV specification, so FasterCSV
| 269903 [jamesbkoppel] MY
+ 269271 [justin.ethie] Had some fun with this one :). Basically, my approach was to download the
| 269272 [oksteev yaho] Here's my submission. It's almost exactly the same as Jesus'. I have a feeling everyone is going to have very similar code for this one.
+ 269307 [rubify softo] My solution suffers from over-generality (is supposed to work for any sorted
+ 269333 [rubify softo] Check what ccountry is 5.1.1.1. If you get any valid answer - this answer
| 269346 [james graypr] $ ruby ip_to_country.rb 5.1.1.1
| 269358 [rubify softo] I've sent my comment and refreshed new headers - and yes, your solution came
+ 269381 [jgabrielygal] require 'ftools'
^ Race condition in class inheritance
269057 [gaspard teti] I need to identify classes from a string called kpath (class path)
269064 [vjoel path.b] Defer building the hash until class_from_path is called.
269080 [gaspard teti] Thanks for the idea, that's a good workaround.
^ How many computers in the house?
269063 [promos burch] I went to the Lone Star Ruby Conference last week. 7 of us went out to
+ 269067 [Bil.Kleb NAS] I'm a Toyota Production System / Goldratt fan, I have one
| 269069 [vjoel path.b] Heh. I own 0 computers. Ownership is so 20th century.
| 269073 [Rob AgileCon] You haven't addressed Todd's original question. He didn't ask about
| 269079 [vjoel path.b] Still 0, at the moment. Got rid of an 8 year old linux box a few weeks ago.
+ 269068 [JeremyWoerti] 2 completely operational, and 2 that only need ram or a video card. :)
| 269098 [dangerwillro] ZERO.
+ 269072 [Rob AgileCon] Well, there are 5 that are currently work and at least 5 that don't
+ 269077 [bulliver bad] 3 x x86 Desktop/Server (Linux, FreeBSD)
+ 269078 [garbagecat10] Last time I counted (a few months ago), I had 35 in my house. (These are
+ 269081 [jonas onda.c] Jonas Roberto de Goes Filho (sysdebug)
+ 269083 [perrin apoth] RUNNING
| 269088 [perrin apoth] In summary, counting the SigO's two systems, I expect that in very short
+ 269123 [craigbeck lu] It's kinda funny.. I just got a new laptop from work and when I got
+ 269132 [znmeb cesmai] I still have all but one of the computers I've used -- the one I *don't*
+ 269143 [bigboss64 ip] If I could afford to I'd have wall to wall computers in a massive home
| 269174 [znmeb cesmai] 8-bit: Altair 680B, Kim-1, TI University Module (a chip level board, not
+ 269191 [robert.mcgov] Hmm lets see, there are 4 active machines running nearly all the time
+ 269227 [lloyd 2live4] I only have 5 but I gave some away recently, so I am not a total
+ 269276 [cdcarter gma] I have 3, but up to 3 more may be on the network at any given time.
| 269284 [znmeb cesmai] You should buy a Zaurus and call is zaurusaurus ...
+ 269313 [fred lacave.] Not that much. We have 5 boxen (and 6 cores) for 4 inhabitants, plus
+ 269324 [jonsdenni gm] I have a mac mini, there's a 2004 IMB server running Ubuntu, two pretty
+ 269362 [winter.ayars] I have one working desktop computer, which is my main one. I have one
| 269365 [rfenney fent] Dual booth Vista/SuSE 10.2 AMD 64 4800 dual core, 2GB ram, 1 to 2 TB
+ 269389 [ronald.fisch] (2 Linux machines, one Mac, one Windoze XP and Win 98 (!!!!)).
+ 269411 [rick.denatal] Frodo is an old IBM Intellistation M which is a workstation server.
| 269412 [caduceass gm] Let me know if you acquire a Tom Bombadil :-)
+ 269414 [jesper exilr] 1x C64 with RR, RRnet, MMC, 1541 & 1581 diskdrives
| 269416 [gaspard teti] Is this statiscal count related to
| + 269417 [summercoolne] I have 8... but one is a 486 with 16MB RAM... my friends came to my
| + 269421 [promos burch] No, more of a http://en.wikipedia.org/wiki/Compulsive_hoarding
+ 269419 [julianraschk] Beth, the G4 iBook that has survived snow, candlewax, cat claws, beer,
+ 269436 [jeremymcanal] I have two: a black MacBook (domo) and a white MacBook (arigato). :)
| 269535 [perrin apoth] Zen . . . ? I was expecting you to next say you have an iMac or a Mac
| 269609 [hramrach cen] My mini dictionary says it can be interpreted in several ways.
+ 269536 [warlickt ope] 1 x86 Server (Linux) (+1 more on the way)
+ 269573 [mac mackrack] 1 - Sever Mandrake 10
| 269604 [rick.denatal] Or maybe, I'm guessing, an older but wiser OS. <G>
| 269647 [mac mackrack] You got that right, Ubuntu seems to be multiplying.
+ 269815 [dougal.s gma] 1x Macbook Pro C2D 2.16Ghz 2GB 120GB. Running OS X
^ question about instance_eval, dynamic methods and blocks
269071 [christopher.] Not sure if I am attacking this correctly or not, so if anyone has any
269075 [stefano.croc] I'm not sure whether I understand your question correctly. Can't you store the
^ Regarding _popen() in windows 2000
269082 [painulyarun ] I have a console application. In windows 2000, _popen() is returning
269093 [djberg96 gma] Are you talking about IO.popen? I didn't think Ruby used _popen()
270171 [painulyarun ] Thanks a lot! The problem is resolved by setting /MD flag.
^ confusion over 1.8.5 and 1.8.6 behavior of private
269095 [vinbarnes gm] I noticed some interesting behavior when implementing some
269323 [rick.denatal] No idea which is right. I wasn't aware of a difference between 1.8.5 and 1.8.6.
^ metaprogramming to generate list of class-specific attributes
269097 [phlip2005 gm] Here's a test case illustrates the problem. Then we'll have a candidate fix
+ 269100 [vjoel path.b] Sure...
| 269101 [phlip2005 gm] extend... different from include, right?
| 269103 [vjoel path.b] If you need it to be #include, you can always call #extend from within
+ 269104 [ari aribrown] Here is one answering
threads.html
top