333608-338581 subjects 333995-338334

^ how to know if completely donwloaded
333814 [dymyker yaho] i have tried combining all what i research...
333817 [dymyker yaho] guy please help me... i cant detect if internet connection cuts the file
333876 [lcowell gmai] It appears that you have already downloaded the files and are attempting
334061 [dymyker yaho] thanks for the reply...

^ double underscore nomenclature in Python
333816 [caduceass gm] So, I'm stuck re-engineering some dreadful Python library code into
333860 [mark thomasz] Python uses __method_name to denote private methods (not enforced,
333862 [shortcutter ] +1

^ error installing sqlite3
333821 [fernando tim] i'm new to Rails and this is my first post. I need help with the
333822 [phasis gmail] Try
333823 [fernando tim] Thank you very much. it works perfectly

^ is this guy for real?
333830 [ironman0384 ] i found this website today from an email a co-worker sent me

333832 [vgmohanrajan] Cute Celebrity Couples, Celebrity Gossip Blog Fortune Says: Cute

^ FTP - Multiple file downloads
333840 [shekarls gma] I have written ftp code which will download a single file from the
333855 [mark thomasz] Not all that familiar with the library, but I do recall there is a
333866 [shekarls gma] NetBeans 6.5/ruby2/jruby-1.1.4/lib/ruby/1.8/net/ftp.rb:494:in `open': Is
333872 [mark thomasz] 1. Read the error message. It might have a clue as to what the problem
334553 [emezac gmail] That's why,
334554 [mark thomasz] No, The OP was trying to open a directory. This information was right

^ A challenge: generate web colors for tree nodes.
333842 [toastkid.wil] hey all
333886 [toastkid.wil] OK, here's a stab which doesn't satisfy all the requirements.
333911 [mark thomasz] That's the hard part. What defines color similarity? This involves

^ What is the equivalent of <lang>'s <feature> in ruby?
333843 [dan-ml dan42] Is there a website that documents which method in ruby is equivalent to
+ 333856 [mark thomasz] A simple function translation will result in PHP written in ruby
+ 333863 [chris.lowis ] Covers PHP, C, Java and a few others.
+ 333864 [jalvarezsama] Give this site a try: http://railsforphp.com/
  333976 [dan-ml dan42] Thank you, that's a nice little website. The function reference is

^ Parameters not passed to/by extconf.rb?
333845 [jergosh gmai] I'm trying to install the mysql-2.7 gem on Mac OS X Leopard with the

^ www.ghostfashion.com cheaper g-satr Kidrobot hoodies ed hardy star  red
333847 [gbvcbfghgbvc] monkey

^ Ruby for WATIR
333854 [sullattupara] I am trying to automate one web based application..I encountered one
333857 [rubfor recit] Watir reads the screen generated by the browser. The beauty of this is
+ 333858 [sullattupara] Can i specify the source page in the ruby code of watir....my web page
| + 333859 [sullattupara] In my web page i have one gif image and some links..But if i try to
| + 333861 [mark thomasz] You mean with frames?
|   333936 [sullattupara] Not dealing with frames.when i tried to display fames using
|   333944 [sullattupara] yes the main source page has frames defined..but why i get "there are 0
+ 333871 [ruby.student] Sure, but Watir does not work correctly on Ruby 1.9.1.If you would care to

^ [ANN] The "Ruby Best Practices" Collaborative Blog
333867 [gregory.t.br] This is a one-time announcement about yet another blog project of mine...
+ 333875 [benjamin.lov] Awesome... subscribed.
+ 333885 [james graypr] This is already shaping up to be a must-read, with only two real
| 333894 [gregory.t.br] to
| 333899 [cremes.devli] For those of us who read via RSS, it would be great if you either
| 333900 [gregory.t.br] Well, the summaries are completely independent from the text, so it
| 333901 [benjamin.lov] There are literally *stacks* of other technical blogs that display their
| 333904 [tony medioh.] Yes, agreed.  If the full text isn't in the RSS feed I typically won't
| 333912 [gregory.t.br] Well, we can't have that, now can we?
| + 333914 [benjamin.lov] I just switched korma over to use full text feeds.   We'll see how it works
| | 333916 [jayeola gmai] orks
| + 333927 [tony medioh.] Thanks!  And subscribed! :)
| + 333950 [jgabrielygal] orks out.
| + 334011 [m.fellinger ] Doesn't that prevent gist embedding/highlighting in the feed?
|   334014 [gregory.t.br] I'm actually not sure.   Anyone know the answer here?
|   334020 [shortcutter ] I don't know either.  But let's see what happens when we have the first
|   334086 [gregory.t.br] gist
|   + 334092 [markus.prinz] Gists require JavaScript. Most feedreaders either don't support that
|   + 334093 [robert.dober] It is about ok in Google Reader, which has the adavantage to open the
|   | + 334107 [billk cts.co] [apologies if this is a double post, i think the first got lost]
|   | + 334112 [eleanor game] 'Lazy bastard' is an established self-deprecating term (along with =20
|   | | 334117 [robert.dober] Does this mean that "bastard" in "lazy bastard" does not have the same
|   | | 334122 [gregory.t.br] In this context, the two are not even remotely related.  The post was
|   | | 334126 [robert.dober] To be honest I suspect people, as Eleanor has confirmed a little bit,
|   | + 334119 [m.fellinger ] Well, I would feel stupid, but I also don't see this advocated anywhere.
|   |   334127 [robert.dober] Oh it was just an example in the context, please do not take offense.
|   + 334154 [gregory.t.br] We now have syntax highlighting[0] that works reasonably well in the
+ 333888 [martindemell] Looks excellent!
  333903 [aapo pokat.o] Martin DeMello kirjoitti viestiss=E4=E4n (l=E4hetysaika tiistai, 14. huhtik=

^ perl2ruby or inline::perl?
333873 [paul paularc] I would like to use the exiftool library for exif/iptc/xmp image metadata
333906 [drbrain segm] None of these are suitable?
334264 [paul paularc] Both are exif-only. EXIF is the metadata the camera writes. It is
334462 [janfri.rubyf] What do you want to do? I don't belive that executing Perl bytecode is

^ exif/iptc/xmp image metadata libraries?
333874 [paul paularc] I'm looking for an image metadata manipulation library, and so far I've
333919 [pm240362 yah] I'm using it even if I'm a beginner:-) pm
334265 [paul paularc] EXIFR, which is pointed to in the above link, is EXIF only. I'm looking

^ Proc.call with custom bindings
333878 [ ono java.pl] If it possible to call Proc instance with custom bindings. I am aware
+ 333955 [b.candler po] I don't think so, and in the general case this would be very difficult
| 333962 [ ono java.pl] Yeah, I just got the same reply at Haml group on this subject. AFAIK
| 333965 [b.candler po] The local variable/method ambiguity is resolved statically when code is
| 334060 [cmdicely gma] Well, discussing the issue of determining whether it is a local
+ 333974 [shortcutter ] Why would anyone want to do that?  The source of the template does not
  333978 [b.candler po] I think he's saying that he had found a template engine which stored the

^ [ANN] Lone Star Ruby Conference 2009 - Now Accepting Talk & Training Submissions
333879 [jimfreeze gm] Lone Star Ruby Conference 2009

^ Argument types
333880 [sensorflo gm] The documentation of the standard classes/methods never mention of
+ 333881 [mneumann nte] An index is always a natural number. It is required to be either a Fixnum or
| 333890 [sensorflo gm] or
| 333897 [gwtmp01 mac.] Because Float#.to_int is defined, although I'm not quite sure why.
+ 333882 [pjb informat] Indeed, it would be nice if the arguments "duck type" was documented.
| 333883 [ymendel pobo] Yay! Pascal's back! And just when I was suffering from parenthesis
| 333884 [charles.john] ((((((((((((((((yes, you are.)))))))))))))))
| 333892 [robert.dober] you certainly mean
+ 333887 [onepoint sta] $ irb

^ [QUIZ][SUMMARY] Restoring Data From SQL (#199)
333889 [yahivin gmai] No submissions this week (there may have been a glitch causing this
333905 [martindemell] There's a nice, friendly CSV library! http://fastercsv.rubyforge.org/

^ Pulling values from strings
333907 [mfurmaniuk y] I have a string of data that I am trying to pull values from and have
333913 [robert.dober] tName
333915 [vjoel path.b] Scan is also useful for this kind of thing...
333969 [robert.dober] Seems I used only the second best tool for the job ;).
333982 [mfurmaniuk y] Hmm....didn't realize I had this many options for it all.

^ Re: The "Ruby Best Practices" Collaborative Blog
333909 [mfurmaniuk y] Nice blog, especially the Blocks for Robustness post which uses one of
333990 [Diego.Viraso] great news: I've been looking forward to this since you mentioned it

^ REXML raw all doesn't seem to work
333918 [tiberiu.moto] I'm trying to modify the contents of an XML document (read from file,

^ Parsing Fixed Width File
333920 [nick.gorbiko] Does anyone know of a good  or any for that matter library (gem) to
+ 333923 [anthonyeden ] If nothing else you might be able to look at the existing fixed width
| 334032 [nick.gorbiko] Yeah I looked into it - still requires use of ActiveRecord.
+ 333933 [andrew andre] It's pretty simple so I'm not sure that a library is needed
  334033 [nick.gorbiko] Yeah that's pretty much what I ended up doing.

^ Ruby, SQLite, and MAMP
333921 [nielsen stoc] I'm running a Ruby development environment on my computer and have MySQL
333925 [chris-usenet] You haven't installed the sqlite development files, so the gem can't

^ Headers and page redirecting
333922 [devo9er gmai] I am creating a simple contact form with field validation to make sure

^ JOB Opportunity in San Diego; Ruby on Rails
333924 [kristinekorr] I have a full time, direct hire Ruby on Rails development position in

^ Date.parse 1.8 vs 1.9
333926 [mguterl gmai] In attempting to make a small library of mine 1.9 compatible I have
+ 333928 [Rob AgileCon] Probably with Date.strptime rather than Date.parse so you can specify
| 333929 [mguterl gmai] is
+ 333931 [rogerpack200] treats to some background of it.  But doesn't explain this oddity
| 333953 [b.candler po] It would be silly if 4/30/2009 were parsed as m=4,d=30,y=2009
+ 333932 [botpena gmai] fwiw, i prefer current ruby1.9 behaviour primarily because

^ small bounties for fixing this text editor (written in ruby)
333934 [rogerpack200] They're not much, but since I'm rather lazy, I've offered a few bounties
+ 333989 [phlip2005 gm] Is this one of the TODOs?
| 334008 [rogerpack200] Hrm.  For me with ruby installed via Ubuntu's apt-get...
+ 334041 [robert.dober] Is it just me or is RubtTk not broken for 1.9.1 right now?

^ Problems using ruby and opengl
333935 [ciph3rzer0 g] So I just recently started using ruby and I love it.  I am also taking
+ 334009 [ciph3rzer0 g] No ideas?  Does anyone at least know how to set up ruby so that I
| 334043 [vjoel path.b] RUBYOPT=rubygems
+ 334048 [billk cts.co] One thing that seems odd there, is freeglut claiming the
  334509 [ciph3rzer0 g] ies
  334512 [billk cts.co] You would still be using OpenGL... Unless you are doing
  334570 [ciph3rzer0 g] well, I have tried using C with freeglut, and I can created windows
  334720 [ciph3rzer0 g] Using ruby 1.9 has fixed the problem for me.  Thanks everyone for your

^ Save image in local machine
333937 [jazzezravi g] I want to save this image in my local machine with ruby code
333943 [phasis gmail] require 'net/https'
333946 [jazzezravi g] Thanks for your code and also I need to save the image in Given path
333947 [jazzezravi g] I got the solution to change the line like this

^ iterating over directories
333938 [fontenot.103] I got this oneliner that isn't producing the output I was expecting (it
333940 [andrew andre] It should be printing all of the directories in the linux root.
+ 333941 [fontenot.103] I'm just having it print for now for debugging purposes. But eventually
+ 333942 [super3friend] Solution :-
  333945 [fontenot.103] Solved, thank you good sir.
  333948 [shortcutter ] puts Dir["/*"].select {|f| test ?d, f}

^ ActiveRecord without Rails: necessary to close connection?
333939 [mischa78 xs4] This is the first time I want to use ActiveRecord outside Rails. This is
333952 [b.candler po] Don't bother. The operating system will close all open filehandles when

^ how to sort my hash
333949 [princetambar] [#<WorkOrder id: 8, initiator_id: 39, is_marked: false,
333951 [b.candler po] Actually it's an Array.
333959 [princetambar] i try my_hash.sort_by { |k,v| v.business_continuity ? 1 : 0 }
+ 333966 [benjamin.lov] You need to replace "my_hash" for the name of your variable of course.
| 333968 [princetambar] yes i use mine hash name instead of my_hash
| 333980 [benjamin.lov] Looks like you're calling it on a nil reference then in that case. Check the
+ 333983 [b.candler po] This means that v is nil. That is, your hash has a key pointing to a nil

^ Copying files and renaming dupes
333954 [stuart.clark] I have a quick query. I am copying data from a hard drive into a folder
+ 333956 [shortcutter ] Do you really want to compare "file" with itself?
+ 333986 [matt tidbits] But that is not what File.identical? does. m.
  334204 [stuart.clark] Ok I must of misunderstood the docs for it, in reflection I am thinking
  334287 [shortcutter ] You copy from source to target.
  337100 [stuart.clark] I have stepped back from this code for a while and I am still stuck.
  337294 [shortcutter ] This looks strange: you push to "sourceFile" and then iterate

^ New to Ruby - Need Help
333961 [renegade85 l] I am currently doing a project that requires me to extract news stories
333970 [george.githi] This can be quite easy if your database is already in existence and if
333987 [renegade85 l] Thanks George George :)

^ Re: ActiveRecord without Rails: necessary to close connectio
333963 [mischa78 xs4] Thanks. With the same script I have another issue. When I execute the
333979 [mischa78 xs4] I got it working. It turned out the mysql gem wasn't in the expected gem

^ using popen
333964 [jykim altiba] look this code.
333988 [b.candler po] Probably because (a) the ftp client is waiting for data from the
334064 [jykim altiba] yes, ftp client is waiting some letters for log-in.
334069 [phasis gmail] 2009=EB=85=84 4=EC=9B=94 16=EC=9D=BC (=EB=AA=A9) =EC=98=A4=EC=A0=84 9:59, J=

^ Installing rubygame on 1.9
333967 [jayeola gmai] OS = Debian Lenny
334012 [damnbigman g] Is your environment set up correctly?  I had a similar problem after

^ rubyscript2exe problem with Qt::File
333971 [markushoff g] I have written a small ruby Qt application under Windows XP. For this I

^ OptionParser and Exceptions
333972 [srijayanth g] require 'optparse'
+ 333973 [janfri.rubyf] require 'optparse'
+ 333975 [shortcutter ] This rescue does not make sense.  Because the code is invoked once
  + 333977 [srijayanth g] Thanks both of you.
  + 333984 [b.candler po] rescue without any arguments rescues StandardError. (StandardError is an
    333991 [shortcutter ] Thank you for the correction!

^ Install a Windows server made with Ruby
333981 [alexandre.st] I've got this problem : my boss asked me to install 3 Windows Services
334010 [rogerpack200] Try to run it from the command line first?
334013 [alexandre.st] Files\RR_outils\FileHandler\FileHandler.rb" -=r
+ 334025 [Aldric Giaco] I'd say plain ruby.exe - we're looking for error messages that come from Ruby,
+ 334425 [alexandre.st] Nobody for an idea ?
+ 334426 [rogerpack200] yeah, or
  334430 [alexandre.st] With C:\Program Files\ruby\bin\ruby.exe "C:\Program
  334465 [rogerpack200] It means redirect output to a file. Difficult to explain, though this
  334469 [damnbigman g] ut%20stderr&ie=3DUTF-8&oe=3DUTF-8
  334631 [alexandre.st] Thanks for the answear !
  334640 [rogerpack200] beginning of the script
  334644 [alexandre.st] "C:\Program Files\ruby\bin\ruby.exe" "C:\Program
  334648 [alexandre.st] Oops, made a mistake in the name of the file : it's FileHandlerService
  + 334657 [damnbigman g] Sounds like it's looking for some kind of file on line 408.  Maybe the
  + 334667 [rogerpack200] looks like it's missing a config file?  you might want to also redirect
    334751 [alexandre.st] I made some tests with the FileHandler, without using it as a service.
    334772 [rogerpack200] So apparently it's not working?
    334776 [alexandre.st] Ok thanks !
    334878 [rogerpack200] permissions issue? I assume it doesn't work from the command line
    334892 [alexandre.st] No I checked this...
    334894 [rogerpack200] the daemon might be being run with different permissions?
    334895 [alexandre.st] Where can I find the deamon permissions?
    334903 [damnbigman g] he

^ reformatting a text file that has some binary in it
333993 [adamtemporar] I have never worked with binary before and after trying to solve this
334049 [james graypr] =E8=81=8A=E3=81=BE=20
334056 [adamtemporar] Ahh i didnt know you could use scan like that with blocks and
+ 334057 [adamtemporar] Oh and your blog post looks good too, just started reading it.
| 334058 [james graypr] Great.  I hope it helps.
| 334525 [adamtemporar] Im back again and pretty confused as to why my regexp still is
| 334633 [adamtemporar] Im thoroughly confused and have spent a good 10 hours getting nowhere
| 334755 [adamtemporar] anyone, im begging ;-)
| 334768 [t3ch.dude gm] Adam,
| 334834 [adamtemporar] ahh should have thought about that. here is a souce file
| + 334842 [drbrain segm] I think regexp is the wrong way to do this.  Since this is a binary
| | 334869 [adamtemporar] Thanks for all your responses.
| | + 334883 [adamtemporar] well ive found some stuff out re: binary format.
| | | + 334891 [adamtemporar] Can you tell me why regular expressions are bad for this? Although the
| | | | 334926 [drbrain segm] (I think you mean "20:")
| | | | 335257 [adamtemporar] Many Thanks everybody for your help on the matter, especially Eric who
| | | + 334924 [drbrain segm] In windows and on ruby 1.9 the 'b' flag says not to perform any
| | + 334923 [drbrain segm] They are separate things.  A UTF-8 character that spans multiple bytes
| + 334843 [phasis gmail] I guess the following code will work for you.
+ 334837 [martindemell] You probably realise this, but for the benefit of newbies, there are