375913-377018
375697-376151 subjects 376088-376854
^ cannot update with gem
375913 [junkone1 gma] dunno what to do. why is it looking for U:/
+ 375919 [luislavena g] e1332a31
+ 375922 [dhruva.sagar] Can you paste the result of gem sources -l ?
^ David Epstein Incest Charges: Columbia Professor Charged With Sleeping With Daughter
375915 [smallpox911 ] I expect this from the zionists of both stripes
^ Numeric comparison with nil - Math masochists only!!
375921 [serialhex gm] Alright, i'm trying to do three things at once, and I'm almost succeeding.
375950 [colinb2r goo] A possibly unhelpful suggestion about nil <=> y and y <=> nil: does the nil
375955 [serialhex gm] Colin, your amazing insight has led me to programming greatness!!!
376011 [shortcutter ] is
376053 [serialhex gm] hey robert, thanks for the great article, i'll keep that stuff in mind as
376057 [rett classic] I can't imagine where you got the idea that a nul is less than minus
376063 [serialhex gm] when you look at a graph of 1/x lim(+x->0) +infinity; lim(-x->0) -infinity;
+ 376068 [colinb2r goo] A pedantic and cautious (meaning I'm reasonably sure about what I
+ 376110 [rett classic] I haven't the time nor energy to get through all of that, but I can
376112 [fxn hashref.] ly
376122 [rett classic] You are confusing computer logic and meta-data manipulation. No computer
376128 [fxn hashref.] 1. If we are programming symbolic mathematics, we are doing
376157 [rett classic] I'd go a bit past registers to the total logic of the computer. No
376163 [serialhex gm] Everett, even in the act of adding two numbers, the computer is following
376166 [rett classic] Finite addition, subtraction, multiplication, and division are native
376167 [fxn hashref.] nce
376212 [rett classic] nihilism and solipsism are not much fun to discuss, even in a philosophy
^ Undefined local variable?
375924 [zhiqiang.lei] Dear All,
375925 [matz ruby-la] Because name resolution for local variables are done in compile time.
375926 [zhiqiang.lei] Can I refresh it?
375927 [matz ruby-la] Basically, no.
375941 [b.candler po] That's true; if h wasn't a local variable at the time the proc was
^ Secure Timeout
375929 [boesemar gmx] I am looking for a secure way to Timeout a block of code. I noticed that
+ 375942 [b.candler po] Ruby's timeout library uses threads, and threads in ruby 1.8 are
+ 375943 [ara.t.howard] do the work in a child. do the waiting in the parent.
375973 [boesemar gmx] Thank You & Brian - this seems to work fine!
^ [ANN] map.rb 2.0.0
375930 [ara.t.howard] NAME
^ [ANN] RDoc on Github
375932 [drbrain segm] RDoc is now on Github: https://github.com/rdoc
376089 [gthiesfeld g] Eric,
376092 [drbrain segm] objection to moving to github has been overcome. All the rest are =
376093 [gthiesfeld g] ction to moving to github has been overcome. All the rest are unreasonable =
^ ri does not know require_relative?
375935 [kedar.mhaswa] With Ruby/ri 1.9.2, if I do: ri require_relative it says it does not
375960 [drbrain segm] It is not documented in 1.9.2. I committed some documentation for 1.9.3.
376243 [kedar.mhaswa] Thank you!
^ Merry Christmas and Prosperous Hacking Year 2011
375936 [edmond.kacha] Hackers,
^ Happy Holidays
375940 [devguy.ca gm] Trying something new =) http://bit.ly/f71GyI
^ [ANN] quickl 0.1.1 Released
375944 [blambeau gma] quickl version 0.1.1 has been released !
^ *** Alex Jones Exposes Google's Plan to Dominate the Internet *** plz spread this video
375945 [smallpox911 ] Alex Jones Exposes Google's Plan to Dominate the Internet
375946 [serialhex gm] smallpox911@gmail.com is your e-mail address... if you REALLY think google
375951 [ninja slapha] That, and don't post your expose on Google's own YouTube.
375954 [tony.arcieri] Funny how NSA/CIA controlled Google has no problems with this video being on
375962 [cmdjackryan ] It's called a honeytrap. ;)
^ Re: ruby-pg gem fails to install
375948 [ufbobbo gmai] That one did the trick. Thank you!
^ Errors on REXML reading an HTML.
375952 [a317412 pjjk] that used the library rexml. The code is supposed to trigger the
376010 [shortcutter ] If you want to parse HTML you must replace REXML anyway because it is
^ image chopping/pasting in ruby
375953 [cowboyninja ] I've got a little project I want to try. I have a single image 256x256
375959 [devguy.ca gm] you will want to checkout rmagick gem
^ [ANN] graph 2.0.0 Released
375957 [ryand-ruby z] graph version 2.0.0 has been released!
^ [ANN] minitest 2.0.2 Released
375958 [ryand-ruby z] minitest version 2.0.2 has been released!
^ [ANN] posix_mq 0.6.0 - Rubinius support
375961 [normalperson] POSIX message queues allow local processes to exchange data in the form
^ [ANN] Ruby 1.8.7 patchlevel 330 released
375963 [shyouhei rub] If I were Takoyaki Mask I would have written a prose but sadly I
^ [ANN] Ruby 1.9.2-p136 is released
375964 [yugui yugui.] Ruby is released on Christmas. So here you are.
375972 [botpena gmai] wow, thank you.
^ Re: About check link is broken or not using watir
375965 [k_dhangar re] Please any one give solution on this question i also want solution.
376000 [shahpriyank0] If you have a simple authentication then go to
^ Get value from cookie
375966 [yuan-li2008 ] I have create a method which crates a last record into the select list
376001 [yuan-li2008 ] <select id="checkout_year_month" class="Date"
^ Re: openssl error - ubuntu
375974 [davidsmithd ] I got this error " no such file to load - openssl" when I load my rails
^ converting traversal fn into Enumeration
375976 [r alum.mit.e] I've not quite wrapped my head around Enumerations, but I suspect I'm
+ 375982 [b.candler po] It's easier than you think. Just define a method called 'each' which
| + 375984 [r alum.mit.e] Lovely. Perfect. (And I'm saying to myself: whee! this is *cool*!)
| + 375986 [m.fellinger ] def traverse
| 376029 [w_a_x_man ya] Works in 1.8.7 also.
+ 376015 [shortcutter ] Is this really the order that you want? Typically the current node is
376020 [r alum.mit.e] I like your refinement of using each() and returning self -- makes good
^ array index inside map function
375977 [neotamizhan ] how can i access the index of the element inside the map argument block?
375978 [peter vanden] There is each_with_index, but that has the "each" functionality
+ 375979 [stefano.croc] If you're using ruby 1.8.7 or later, calling each_with_index without a block
+ 375980 [shyouhei rub] Why not use Ruby 1.9?
375981 [neotamizhan ] Thanks a lot.
+ 375983 [b.candler po] => [["x", 0], ["y", 1], ["z", 2]]
+ 375989 [colinb2r goo] There is also the slightly less concise and elegant but possibly
+ 376009 [shortcutter ] input = "101010,234,876"
376033 [w_a_x_man ya] ractices.com/
^ What method to define a random float
375985 [jeff_yq yaho] I've applied the watir API to login to a website and input a integer
+ 375987 [zhiqiang.lei] When the argument to rand is 0, it will return a random float number =
+ 375988 [jeremy bopp.] The subject of your message says that you want a random float rather
375996 [jeff_yq yaho] Thanks a lot. It works fine now :)
^ [ANN] RubyInstaller 1.8.7-p330 released
375990 [luislavena g] I'm very pleased to announce the release of RubyInstaller packages for
375995 [luislavena g] f35416cefab6d7ed328340cc615970b7 *ruby-1.8.7-p330-doc-chm.7z
^ [ANN] RubyInstaller 1.9.2-p136 released
375991 [luislavena g] I'm very pleased to announce the release of RubyInstaller packages for
375997 [phasis gmail] I found a minor problem when installing RubyInstaller package of Ruby
^ "Upgrading from1.8.6 to
375992 [cameron1inm ] So I need to upgrade my ruby vesion. I ran the windows installer and it
375993 [luislavena g] That is because your previous Ruby 1.8.6 is installed higher in the
^ windows net/ping load error
375994 [athreyavc ya] ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
^ Re: RubyInstaller 1.9.2-p136 released
375998 [luislavena g] Did you remove the previous 1.9.2-p0 installation?
375999 [phasis gmail] No, I just deleted the folder and Program Group.
376013 [luislavena g] Patches are welcome ;-)
^ inject issue
376002 [jzakiya gmai] %w/ap mathn roots facets/.inject :require
+ 376003 [stefano.croc] This is the expected behaviour. According to the ri documentation for inject,
+ 376005 [skye.shaw gm] %w/ap mathn roots facets/.inject { |memo, i| p memo; p i;
| 376006 [ryand-ruby z] require "ap"
| 376024 [jzakiya gmai] a=3D(1..100).inject :+
| + 376030 [wishdev gmai] Good Morning,
| + 376039 [ryand-ruby z] 1887 % ri Enumerable.inject
| + 376040 [josh.cheek g] The point of inject is to push some value through all of the elements. You
+ 376026 [w_a_x_man ya] It's clearer to use fences.
376028 [jzakiya gmai] Why question is on the operation of 'inject'.
376042 [b.candler po] (1..100).inject 0, :+
^ Get value from select list
376007 [jeff_yq yaho] I have create a method which crates a last record into the select list
^ Incredible solution to win
376012 [litlecathy y] ...
^ how to change it in to hex?
376014 [myocean135 y] 00000000 00 00 00 00 56 b8 32 01 06 13 00 00 00 00 00 00
+ 376016 [shortcutter ] b8 32
+ 376017 [ammarabuali ] 00 00 56 b8 32
+ 376019 [myocean135 y] hexdump -C /home/pt/day|less
^ SOLVED (perhaps) Re: gem install ruby-debug-ide errors don't give me anything to look for.
376018 [kedar.mhaswa] /usr/local/rvm/gems/ruby-1.9.2-p0@global/gems/ruby-debug-ide-0.4.16/ext/g=
^ [ANN] Rice 1.4.2
376021 [jameskilton ] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
^ [ANN] rbgccxml 1.0.1
376022 [jameskilton ] charset=us-ascii
^ rb-readline 0.3.0 released
376023 [luislavena g] I'm pleased to announce the release of Pure-Ruby Readline library version 0=
^ Find not working
376025 [shandybleu y] I have this ruby script that simple rips through a CSV file, retrieves a
+ 376027 [w_a_x_man ya] This is not a Rails forum.
+ 376031 [hassan.schro] Does the DB you're using have a log? (MySQL does, so you can see
| 376034 [shandybleu y] I am out putting error messages to a file, but because I am running this
| 376035 [hassan.schro] I didn't ask about a application log -- I asked about a DB query log,
+ 376041 [b.candler po] puts x[11].to_s.upcase.inspect
^ Peek at $stdin
376032 [transfire gm] Any way to peek at the first character of $stdin without actually
376036 [ammarabuali ] What about IO#getc and IO#ungetc.
376038 [skye.shaw gm] I assume you don't want to look at the first char as soon as it's
^ Problems w/ Tk::Tile::Label.new scope?
376037 [josephdivelb] While working on the end assignment of a tutorial I encountered a
376051 [nagai ai.kyu] A block given to "new" method of TkWindow class (and sub-class of
^ Hyperlinks not rendering properly
376043 [solutify gma] I am trying to put a hyperlink in my view and it is not being rendered
376050 [luis saffie.] Looks fine but try this
^ Where is the extar end keyword.
376044 [william.coll] ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-linux]
+ 376045 [rsaksida gma] There's an extra dot after the 'end'.
+ 376046 [mike cargal.] You would't happen to be a COBOL programmer would you? no insult =
^ to_lang: my first gem, looking for feedback
376047 [jimmycuadra ] Greetings,
+ 376048 [ryand-ruby z] come
| 376062 [cmdjackryan ] Don't worry, you are on The List. ;)
+ 376049 [eregontp gma] It seems very well documented and the code is fine IMO.
| 376054 [jimmycuadra ] I actually had not seen that one. I was aware of the rtranslate gem, but
+ 376052 [aaron tender] Mostly looks good. I've forked your project and pushed a few commits to
+ 376055 [jimmycuadra ] I notice you only changed a couple usages of `File.expand_path`, but
376056 [jimmycuadra ] Disregard this. I did some reading on it and understand it better. I
376070 [aaron tender] No problem! Glad I could help out. :-)
^ how to use IE.attach?i have a problem
376058 [yuan-li2008 ] There is a link in my page,I use IE.attach to link the page, the
^ can ruby script detect 'pc lock', 'pc unlock' instances ?
376059 [vijay.ramane] How we can manage/detect instances like pc lock or pc unlock via ruby
376061 [cmdjackryan ] Use Windows' Event Log instead (Account auditing has to be enabled via
376155 [vijay.ramane] Thank You very very much
^ From python to ruby
376060 [al.ma pomme.] +++++
+ 376113 [sentinel1879] i think there is a book named "Everyday Scripting with Ruby".
| 376114 [al.ma pomme.] Thanks for your answer.
| 376116 [cmdjackryan ] A beginner in programming or with Ruby/Python?
| 376147 [al.ma pomme.] I'm a beginner with Ruby/Python. I can understand the code, read the
| 376164 [cmdjackryan ] Chris Pine covers object-oriented programming in his book, as well,
+ 376115 [sentinel1879] I am not sure of your level when you say "real beginner". Do you mean
| 376148 [al.ma pomme.] I know a little more python but I can only build very little script.
+ 376127 [stu rubyprog] The Well-Grounded Rubyist
| 376150 [al.ma pomme.] Thanks for the suggestions
+ 376130 [w_a_x_man ya] require 'ftools'
| + 376149 [al.ma pomme.] Very fine! I try with success your code.
| | + 376176 [w_a_x_man ya] *-
| | + 376233 [skye.shaw gm] *-
| + 376152 [al.ma pomme.] With ruby 1.9, the only thing to change, is to use fileutils instead
| 376175 [w_a_x_man ya] If 1.9 lacks ftools, then require "fileutils" and replace
+ 376156 [maurice.diam] Some month ago, To help somebody (N.K.) to switch from its
376158 [al.ma pomme.] This is very interesting. I'm not able to understand all the code
^ [ANN] rdoc 3.1 Released
376064 [drbrain segm] rdoc version 3.1 has been released!
^ Calling OSX API similar to calling Win32 API?
376065 [thomas thomt] I'm writing plugins for Google SketchUp using its Ruby API. I want to
+ 376069 [skye.shaw gm] I've never used SketchUp, but I thought this was abstracted through
+ 376084 [thomas thomt] With the SketchUp Ruby API one can create your own custom windows -
^ Should I learn Ruby?
376066 [d.sp hotmail] I am wondering whether to learn Ruby, as I would like to get a job after
+ 376067 [sophrinix gm] Yes, however for every ruby job there are 10 bad php jobs.
+ 376071 [rubfor recit] Java 1154 jobs
| + 376072 [d.sp hotmail] That looks very interesting numbers. I have done some similar
| + 376073 [peter vanden] * Scala jobs increased 306%
| + 376181 [tigre7t hotm] i hear about 200=2C000 (uni-grads) apply for the 1000 java jobs=20
| 376885 [josh.cheek g] ...
| 376946 [jonas pfenni] I think languages are like flavors. The more you taste, the better the cook !
+ 376074 [durham.coho ] You can't "get a job" by learning a programming language. That's like
+ 376085 [matt technor] To learn Ruby, you'll have to get a weird haircut, become a hipster and
| 376102 [stu rubyprog] PEBKAC
+ 376169 [sherm.pendle] Yes.
+ 376191 [drikting gma] From another perspective, I read somewhere about a ruby veteran, Yehuda
+ 376232 [d.sp hotmail] I've taken another look at the ruby and ruby on rails jobs going in my
| + 376235 [hassan.schro] Do you need more than one? :-)
| + 376253 [mike osdn.or] It's very pity if one has to learn only to earn.
+ 376256 [rubfor recit] You must live in a large town, otherwise you're well and truly stuffed.
+ 376262 [d.sp hotmail] I live in a small village, so yep, a little bit stuffed :o)
| 376281 [stu rubyprog] Hey good luck to you! Learn ruby and other unix things as well. Do it
+ 376938 [jl235 kent.a] Ideally you should learn a range of languages, that makes you a better
+ 377018 [saxonpride y] Well, I've tried with Python and I don't know why, but I just wasn't
^ convert String "1;2;3;4;5;" to Array [1, 2, 3, 4, 5]
376075 [tthackery gm] I'm trying to convert a String of numbers that are separated by
+ 376076 [tokenshift g] This is the right track, you just need to then convert each string to
+ 376077 [ian.asaff gm] you mean something like this?
^ Re: convert String "1;2;3;4;5;" to Array
376078 [tthackery gm] Thanks to both. I'm reading up on these methods you've supplied at
+ 376082 [tthackery gm] Ok, I've read the page on .inject, but do have a question on your
| 376083 [ian.asaff gm] Yep.
| 376091 [mentionuse g] I would avoid the inject solution because it's cumbersome and isn't as easy
| 376101 [mhatakeyama ] How about this?
+ 376104 [josh.cheek g] Go with map, this is its raison d'etre.
376126 [tthackery gm] Thank you all for your assistance. Calling the .methods on a string like
^ Ruby array to C pointer
376079 [thebluedrago] I want to use Ruby arrays as C pointers in an extension.
376143 [b.candler po] Yes, use non-greedy matching: .*?
^ how do i run the function?
376080 [bellcolt hot] If i want to run a function whose name is contained in a string, how do
376081 [caius caius.] do
^ [ANN] Rainbows! 2.1.0 - Cool.io, bugfixes and more!
376087 [normalperson] Rainbows! is an HTTP server for sleepy Rack applications. It is based on
threads.html
top