353823-355919
353615-354262 subjects 354035-357801
^ [ANN] au3 0.1.1 released
353823 [sutniuq gmx.] au3 0.1.1 has been released. au3 is a library that allows you to
+ 353824 [sutniuq gmx.] Ouch. That should have read
+ 353837 [rogerpack200] Oh wow. This feels one step closer to an AutoHotKey written in Ruby...
353842 [sutniuq gmx.] Thank you. :)
+ 353877 [emiddleton b] I haven't used Win32API, I just connected directly from dl. Examples of
+ 353940 [rogerpack200] Interesting.
353942 [emiddleton b] Yes ffi is pretty good, it is a bit slow but this isn't going to be a
^ Somewhat hacked-together eval jail
353834 [jonathan jmn] I'm working on a program where a lot of externally loaded scripts will
353835 [sophrinix gm] You may want to take a look at why_sandbox if you are on 1.8 MRI ruby.
353839 [jonathan jmn] That's actually what I found first, but I'd like my app to be ruby
^ Ruby server
353841 [kalibr14 yah] Xcuz me my english is not very good!! i have just begun with ruby and i
353843 [ryand-ruby z] ...
+ 353844 [kalibr14 yah] ok thank you!! i will try!! if i have some problems i will make sign
+ 354014 [b.candler po] Also, have a look at the XMLRPC server which is in the standard library.
354044 [kalibr14 yah] thanx you!! really my goal is to create an EPP server!!i use i have
^ Re: ruby 1.9 hates you and me and the encodings we rode in o
353845 [marnen marne] And so it is. If memory serves, Mac OS X stores filenames in normal
^ glibc detected error!
353846 [samnang.sen ] running ruby 1.9.1p376 which i compiled on my centos 5.4 box.
353848 [shevegen lin] If you are man enough to compile from source on your own already, then
353849 [samnang.sen ] Well, I updated my gcc package and all is well now.
353851 [walton vyper] Agreed, I see no reason for new projects to use 1.8.x unless one of
^ ruby + apache. need to export path=/opt/ruby/bin every time before starting apache
353850 [codetest123 ] I have installed apache 1.3 and ruby 1.8. I am running some ruby files
353861 [ryand-ruby z] ...
353870 [codetest123 ] Looks like there is a bug in mod_env which doesnt take the modified
353891 [ryand-ruby z] you could modify /etc/profile instead.
^ Can't find libxml-ruby gem
353852 [peralta soni] I am unable to find a libxml-ruby gem.
353855 [pg thimian.c] gems.github.com is defunct ;)
353863 [peralta soni] Thank you. That was a helpful start. I updated to
353866 [pg thimian.c] Finding all the header-files the compiler (NOT the gem command, but the
355919 [s0nspark gma] I was able to get this gem to build on Windows (Win7 x64 to be precise)
^ Creating my own method for sorting an array
353854 [gctaylor2004] I'm working through the Learning To Program book(2nd edition) and am
+ 353869 [marnen marne] In Ruby, this is frankly stupid. No Ruby programmer would do this in
| 353900 [shortcutter ] Somehow I believe I heard that name somewhere already... :-)
| + 353934 [gctaylor2004] Thank-you for the clue.
| + 353956 [marnen marne] Then they probably should have picked a better example, or at least
| 353964 [imphasing gm] this in
| 353972 [marnen marne] Yup. It's more fun to program with good tests. You can go faster, and
| + 353976 [pg thimian.c] Hahahaha. No.
| | 353981 [marnen marne] I could not disagree with you more -- at least if we're talking about
| + 353977 [imphasing gm] I guess that's where our opinions differ, again. I don't think it's fun to
| + 353978 [aldric trevo] While I may agree with that in theory, I remember that my first
+ 354012 [josh.cheek g] If you run this, and the tests pass, then your sort function probably works.
^ ? about Search in google,com and Show Result
353856 [seyyedsajjad] im sorry for my english bcoz my english has problem
353858 [seyyedsajjad] PLEASE HELP ME FRIEANDS
353859 [pg thimian.c] That said: Take a look at Mechanize.
+ 353860 [seyyedsajjad] ok thank you
+ 353862 [xenogenesis ] Even better would be to just use the Google Search API.
353875 [seyyedsajjad] I saw there. But I did not catch anything. Is possible if you prepare
+ 353903 [seyyedsajjad] please help meeeeeeeeeeeeeeeeeeeeeeeeeeeeee
| 353904 [pg thimian.c] Here's an idea: Write it.
| 353906 [seyyedsajjad] where ???
| 353912 [pg thimian.c] A texteditor, even Notepad, will do.
| 354000 [seyyedsajjad] But until now i dident take simple code google seraching and result of
| 354064 [codeblogger ] Saji,
+ 353907 [emiddleton b] Try ruby-google[1], if that doesn't work for you pay someone
^ Re: question about multiple ruby + gems installations for de
353864 [agr ncgr.org] The root of my confusion, is as follows. In retrospect it's not
^ ERRORs trying to install ruby-ldap on CentOS
353865 [xeno.campano] # gem install ruby-ldap
+ 353867 [xeno.campano] I guess it might be helpful to add that, though one file and two methods are
+ 353879 [normalperson] didn't bother maintaining 1.8.5 (or 1.8.6?) compatibility.
+ 353984 [xeno.campano] I'm trying to find the gem sequence to extract it to a directory and then
+ 353987 [xeno.campano] Okay, I found the sequence in the README. Sorry. It still fails, and I tried
353998 [normalperson] OK, we got farther since it's no longer barfing on RSTRING_*
+ 354005 [xeno.campano] Okay, I put all this stuff into rbldap.h instead of misc.c, as I got the same
+ 354008 [xeno.campano] Looks like that gets me to my starting point on Ubuntu Server. I may have other
^ A Ruby appliance: What would you include?
353872 [pg thimian.c] This is, of sorts, a cross post of an idea that lodged itself in my head
+ 353873 [pg thimian.c] What do you get when you try to pull off a simultaneous post?
| + 353898 [shortcutter ] Are comments moderated? I did not see any hints in that direction but
| | 353902 [pg thimian.c] Nope.
| | 353915 [shortcutter ] Bummer. Thanks for the "fix"! :-)
| | 353918 [pg thimian.c] No problem.
| + 354013 [paradisaeida] ... once hosted a Ruby 'distro'.
+ 353923 [aldric trevo] VMWare allows "teams" of virtual machines, which can be set up in their
+ 353925 [shortcutter ] The "team concpet" is interesting news. Thanks for that! Btw, I
| 353928 [aldric trevo] That is a valid point; if it is to be a sandbox, then Ubuntu's behavior
+ 353926 [ninja slapha] That would imply you can't have both 1.8 and 1.9 programs running
| 353929 [aldric trevo] Actually, you can, but you have to explicitly choose. I don't recall off
| 353988 [ninja slapha] That's great, until your script wants to run some other script. Maybe the
+ 353933 [pg thimian.c] That's called "[host|internal] networking", and is pretty basic for
| + 353936 [shortcutter ] Not true. You can use VMWare Server which is free as well.
| | 353938 [pg thimian.c] Alas, true. Proper, actual managing of appliances, and not just virtual
| | 353944 [shortcutter ] r)
| | 353946 [pg thimian.c] The management tools are vastly different, from managing the VMs
| + 353943 [aldric trevo] I -think- you may be confused when it comes to VMWare, but if VirtualBox
| 353948 [pg thimian.c] Yes, really. Ask a random person, chances are they know Ubuntu if not
| 353951 [aldric trevo] Fair points.
| 353953 [pg thimian.c] Yeah, we should move this whole shebang off-list ASAP.
| + 353954 [aldric trevo] Here's a wave for the non-Ruby, non-programming tools we ought to have
| + 353958 [marnen marne] Why? It's on topic and would benefit from staying here.
| 353960 [pg thimian.c] Organization. Email is a difficult medium to keep track of a project.
+ 353957 [marnen marne] It wouldn't be hard to do this in Ubuntu either, I think, and Ubuntu
353962 [pg thimian.c] Solvable in a script, that deletes the current symlink, and creates a
+ 353966 [marnen marne] Right.
| 353968 [pg thimian.c] That's myopic. If you want to win over people to use Ruby, you need to
| 353982 [aldric trevo] Precisely why we should have at least one IDE. Maybe we can talk to the
| + 353983 [pg thimian.c] Best would be one in native code, too. On a VM, performance starts to
| + 353985 [marnen marne] Just to clarify my philosophy: I do generally believe in giving people
| 353986 [pg thimian.c] That's not at all what Rails does. Rails hits you over the head, drags
+ 353967 [steve stevek] A script... called rvm perhaps? ;)
353969 [pg thimian.c] Extremely simplified in the "Ruby Beginners" VM, yeah.
353973 [steve stevek] Is "rvm install 1.8 && rvm use 1.8" too complicated? That's all I use it
353975 [pg thimian.c] For a beginner, potentially new to Linux? Yup.
^ Using #include at the instance level?
353878 [transfire gm] I would like to use #include at an instance level, such that it
+ 353890 [fkocherga gm] class X
| 353932 [transfire gm] d that's the reason why you are getting an error.
+ 353901 [shortcutter ] Hm, this method above won't work as scope resolution rules for
353927 [transfire gm] It's for encapsulating test cases. Eg.
353935 [shortcutter ] e?
353955 [transfire gm] No no. You got it exactly. Problem is the module's constants are not
+ 353959 [pg thimian.c] "One of those pleasing little Ruby snippets: module Helpers; include
+ 353961 [shortcutter ] Btw, that method's name should have read "initialize".
353992 [transfire gm] That's true. But the execution of the block is only for the definition
353994 [transfire gm] This is really becoming annoying. I can't even do it via a dynamic
353995 [shortcutter ] AFAIK it hasn't changed and your code could never work in any version
+ 353999 [transfire gm] All I am trying to do is emulate test/unit but using a DSL.
| + 354028 [fkocherga gm] Not sure why you need a DSL for, but technically it is doable (in Ruby =
| + 354037 [shortcutter ] Ah, now I see. I believe your problem comes from the fact that you
+ 354024 [fkocherga gm] charset=us-ascii
+ 354034 [shortcutter ] preter complains about uninitialized constant N. What is the big reason for=
| + 354065 [rick.denatal] That change may not be permanent.
| | 354069 [transfire gm] What a tangle.
| + 354067 [transfire gm] -bin/scat.rb/ruby/ruby-talk/181646
+ 354066 [transfire gm] preter complains about uninitialized constant N. What is the big reason for=
354072 [fkocherga gm] charset=us-ascii
^ PLEASE HELP...dup is not working correctly in the following code
353880 [timrandg gma] #dup creates a copy of an object with a different object_id. As
+ 353882 [usenet-nospa] No, it isn't.
| 353884 [timrandg gma] ng
| + 353887 [usenet-nospa] Hmm.
| | 353892 [timrandg gma] bs.nethttp://www.seebs.net/log/<-- lawsuits, religion, and funny picturesht=
| | 353896 [usenet-nospa] Thanks for asking the question with enough detail, and illustrations,
| + 353888 [pg thimian.c] irb(main):001:0> array = ["string"]
+ 353886 [josh.cheek g] This is the difference
+ 353893 [rimantas gma] <=E2=80=A6>
353897 [timrandg gma] This is in effect the deep copy of a complex array containing strings
^ Ruby Float out of range warning?
353881 [last.define ] I'm new to Ruby and I've been playing around with it abit.
353883 [pg thimian.c] irb(main):001:0> puts 3.14159
353885 [last.define ] It's the Ruby interpreter, i.e Ruby.exe
353889 [pg thimian.c] Then, apparently, your IDE is throwing the error.
353894 [last.define ] Oh thanks, appreciate it. Would you please recommend a decent IDE in
+ 353895 [pg thimian.c] Well, *that* opens a whole can of worms. ;)
+ 353989 [marnen marne] Try working without an IDE. Ruby doesn't benefit from IDEs nearly as
^ Re: au3 0.1.1 released
353909 [sutniuq gmx.] OK - SendInput() is the main function to simulate keyboard and mouse
+ 353911 [sutniuq gmx.] Oh no - you see, I'm a german speaker, so replace this "oder" with
+ 353916 [emiddleton b] pack converts and ruby array to a ruby string which in ruby 1.8 is a
+ 353921 [sutniuq gmx.] Thank you, Edward, that helped me out a lot. :)
| + 353931 [emiddleton b] Yes thats the problem. I was forgetting it was an array. That means
| | 353937 [sutniuq gmx.] Why can't it be flattened? The SendInput() function expects an array of
| | + 353939 [pg thimian.c] If you find a Windows API call, or for that matter, an MS DOS 1.0 API
| | + 353941 [emiddleton b] Sorry, yes you are right, I should have checked the msdn. What does
| | 353949 [sutniuq gmx.] That function returns a LPARAM, which is, according to the explanations
| | 353950 [pg thimian.c] It's "Phillip". :)
| + 354029 [phasis gmail] For Future Reference, here is a working code.
| 354039 [sutniuq gmx.] Works great! But I have a question about the 0.chr line: Why do you need
| 354054 [phasis gmail] typedef struct tagINPUT {
| 354058 [sutniuq gmx.] Thank you again, now I've got the point. One last question: The size of
| 354059 [sutniuq gmx.] Forget it. I didn't read it well enough.
+ 353922 [maxbc yandex] I have similar problem with the WinAPI call.
^ Question abour rand()
353914 [atma convale] charset=us-ascii
+ 353917 [jeanjulien.f] Perhaps you were thinking of "and" rather than "or" because all number
+ 353947 [usenet-nospa] Hmm. Looks as though you want the range 1951..1999. Well, that's easy
+ 353963 [marnen marne] Use Seebs' suggestion.
| 353965 [pg thimian.c] Phillip Gawlowski
+ 353979 [lists bertra] The "rand" method has been mentioned. Here are just some
+ 354011 [b.candler po] Others have answered the 'random number between 1950 and 2000' bit.
^ Re: ruby/ole excel delete row?
353920 [greet.venkat] I want to iterate the data to read username, password from row2(from
353924 [david.mullet] (2..305).each do |row|
354032 [greet.venkat] thanks for your reply....but here this solution could not helps me
^ Gzip compression with SOAP
353930 [fernando.sil] I was wondering if there was a way to request a compressed XML response
^ Methopara Segfaults
353970 [freakguard g] I'm using the latest ruby version here, and methopara segfaults...
^ IO.popen('-') === fork ?
353971 [dcparker gma] I just want to know if the following two are technically equivalent
353996 [shortcutter ] fork does nothing to redirect stdin, stdout and stderr while popen in
354002 [dcparker gma] Thanks Robert. I think I meant to ask whether Process.popen uses the
354006 [shortcutter ] I don't see why you go through this instead using one of the #popen
354017 [dcparker gma] Thanks again .. but I've looked around at the docs and I don't see how I
354019 [gwtmp01 mac.] If you don't pass a block to IO#popen, it just returns the IO object.
^ Gem Documentation Doesn't seem to help with use of modified local gem installations
353991 [xeno.campano] Say, I am working to try modifying a gem I have partly installed, locally, but
353993 [pg thimian.c] -a or --all to search for all versions of a given gem.
^ Re: awk print $4 in ruby, NEW QUESTION?
353997 [derekbellner] Thanks to all who replied! :)
354016 [Rob AgileCon] Well, mostly because you never tell it to. ;-)
354082 [derekbellner] Thank you Rob, quite the explanation!
+ 354083 [Rob AgileCon] Take this test...
+ 354094 [albertschlef] On my system (Linux) "tail +2" doesn't work. You have to write it "tail
^ "Inconsistency" with display/existence of "\"
354003 [aldric trevo] Basically, two ... Apparently similar objects give me the following
354010 [b.candler po] You need to boil this down to a minimal test case which demonstrates the
+ 354015 [w_a_x_man ya] Use
+ 354164 [aldric trevo] I was looking in the wrong place.
354167 [b.candler po] Glad it's sorted.
^ create links using erb and mysql
354004 [codetest123 ] I have a database directory.
354007 [marnen marne] The interface you just described seems like a bit of a disaster, and
^ How to avoid \ escaping when using "= <<-EOF" ?
354020 [ibc aliax.ne] =2D---------------------
354022 [usenet-nospa] If any part of the listed modifier for the here document is quoted,
354075 [lists bertra] `cat' is a shell command. I suppose you meant something like
354084 [usenet-nospa] ... Whoops. This is right next to comp.unix.shell in my reading list, and
^ How to run one script from another, and capture the output
354023 [ks1911shoote] I have the following hypothetical script that requires arguments to run.
+ 354026 [fkocherga gm] run.
+ 354027 [gwtmp01 mac.] run.
354060 [ks1911shoote] Thanks so much for that!
+ 354062 [pg thimian.c] output = `ruby ~project/lib/distance_traveled.rb 60 2.5` :P
+ 354068 [gwtmp01 mac.] specify=20
354070 [ks1911shoote] Thanks for the help!
354074 [gwtmp01 mac.] However,=20
^ iterate excel columns/rows
354033 [greet.venkat] column data...below is my testdata which is in a single lengthy row....
threads.html
top