295009-387022

294753-414022 subjects 295196-335715

Need help with singleton!
295009 [di3go.bernar] Yea, again a question to help me building the game XD
+ 295017 [mutahhir.ali] If you're using the Singleton Module from the standard library, i
| 295050 [di3go.bernar] Thanks :)
| 295058 [mutahhir.ali] Np, my pleasure.
| 295067 [di3go.bernar] I forgot that, but well, it was working XD i was using puts to see the
+ 296059 [hawat.thufir] my understanding is that it's good practice to write good code, use

Wanted: Lead RoR Developer, San Francisco, CA
295012 [vicshao@gm i] RoR Power (http://www.rorpower.com) is a boutique recruiting firm

Fix oracle_adapter to pass test_assign_ids IN associations_test.rb
295013 [davidtar@gm ] The oracle_adapter can fail test_assign_ids IN associations_test.rb if

Google Summer of Code 2008?
295014 [pluskid@gm i] Ruby community is participating Google Summer of Code
+ 295062 [pat.eyler@gm] I hope to have this up today.  I'd hoped to have it posted
+ 295065 [james@gr yp ] I'm sure we can brainstorm some for you.
  + 295077 [hramrach@ce ] There's been some talk about the memory management - the GC.  The GC
  + 295083 [pluskid@gm i] also think about my own ideas besides those published. :)
  + 295154 [ravwar@gm il] I want to create a project devoted to Neural Networks. Would Ruby
    + 295166 [james@gr yp ] Obviously I don't speak for Ruby Central, but I think your idea is
    | 295176 [pat.eyler@gm] I agree, this sounds like a very interesting project.  No decisions will be
    + 295179 [mneumann@nt ] If you are also interested in pulsed (or spiking) neural nets, take a

win32/api GetWindowText
295016 [keletmaster@] I'm using win32/api. I was using GetForegroundWindow to get the window

Undefined method '<' for nil:NilClasse
295018 [robyonrails@] class StringScanner
+ 295020 [mutahhir.ali] You have to initialize instance members inside the initialize
+ 295031 [slark@de .n ] I'm not sure I understand Ruby at all.., but @kounter.class is 'NilClass'.
+ 295035 [slark@de .n ] The probblem is in the initializing. If you explicitly initialize
| 295039 [rick.denatal] Variables aren't typed in Ruby, nor are they declared.  A variable
+ 295038 [rick.denatal] Since the previous two lines are inside a class context rather than
+ 295055 [slark@de .n ] A simple way to understand how scoping (and naming convention) is
  295057 [robyonrails@] Oki guys. I understand.

How i used ruby in windows platform for making appliation for  facebook?
295022 [yagneshvaidh] How i used ruby in windows platform for making appliation for
295064 [jeremyheiler] Type these words into your nearest Google search bar: "ruby facebook" ;)

Split string at spaces, but not when inside quotation marks?
295023 [peter.bunyan] I want to be able to split a string at the space, unless the spaces are
+ 295025 [raasdnil@gm ] string = 'This is one solution "that uses a while loop" but I think
+ 295026 [botp@de mo t] # I want to be able to split a string at the space, unless the
+ 295036 [sepp2k@go gl] require 'shellwords'
  + 295082 [peter.bunyan] Mmm, that's yummy! Thanks, I'm using this now. Thanks to all of your
  | 295107 [shortcutter@] Though I'm coming in late to the party: sometimes you can exchange
  + 295156 [boss@ai bl d] $ irb

regexp conditional
295024 [ciapecki@gm ] input = '111|"aaaa" bbbbb|c'
295027 [fxn@ha hr f.] input = '111|"aaaa" bbbbb|c'
295034 [ciapecki@gm ] your solution works, and thanks for that,
295121 [shortcutter@] irb(main):001:0> input = '111|"aaaa" bbbbb|c'
+ 295129 [pmckibbin@gm] Robert,
| 295130 [pmckibbin@gm] Oops. I meant Chris of course.
| 295155 [ciapecki@gm ] The format is fixed but contains 49 fields separated by | so your one-
| 295164 [pmckibbin@gm] A minor change :)
+ 295157 [ciapecki@gm ] this is just great,
  295162 [shortcutter@] You're welcome.  Btw, this is even better (also faster)

shootout results for ruby 1.9.0
295028 [bonzini@gn .] I compare with GNU Smalltalk since the results should be more or less

capturing referer in webrick proxy
295030 [a.flow@ti ca] I am doing a small proxy using the WEBrick::HTTPProxyServer class and
295283 [gotoken@gm i] WEBrick provides a simple access log formatter.

Strange behavior of Kernel::system
295032 [phil_meier@g] I am running Ruby on Ubunutu 7.10. I have a shell script building my
296427 [phil_meier@g] I have found a problem in the bash script (empty command, i.e. ":" and

Problem in using typedef with c++
295033 [abhishek.v@t] My code is as follows :-
+ 295051 [nobu@ru y- a] Is this file written in Ruby, or in C++?
+ 295056 [pbrannan@at ] Please don't put "using namespace" inside header files.  This can cause
  295138 [abhishek.v@t] user defined data type for e.g
  295513 [pbrannan@at ] You probably want to create a typemap between your map type and ruby's

Crack getright 5.1
295037 [jaqfwagnon@g] Download Crack getright 5.1

Mobi mb 1.2 crack
295040 [jaqfwagnon@g] Download mobi mb 1.2 crack

using system to echo "hello world" gives SystemStackError
295041 [hawat.thufir] thufir@arrakis:~/sun_tutorial$
+ 295042 [stefano.croc] When you first call the 'compile' method, ruby tries to execute the line
| 295047 [hawat.thufir] An interesting foray into recursion, I had no idea how to interpret that
+ 295043 [caduceass@gm] I don't know anything about compile.  But with #system, I think you
  295045 [hawat.thufir] Yes, I'm kinda sorry that I posted that question.  It's always like that,
  295046 [caduceass@gm] Looks just fine.
  295104 [hawat.thufir] Thanks, that's exactly the type of feedback I was soliciting!

Crack singles 1.4 trial
295049 [jaqfwagnon@g] Download Crack singles 1.4 trial

Status of mod_ruby now ....?
295052 [webreservoir] Just wanted to know/confirm if there is any working or project going on
295100 [ged@Fa ri MU] I am the maintainer of a framework which uses mod_ruby called Arrow (http://deveiate.org/projects/Arrow
295101 [james@gr yp ] I loved the "blog" I found hunting around at that address.  :)
295111 [ged@Fa ri MU] Heh. And it's not even 2010!

Inspetting a method's caller
295053 [santini.albe] How can i know a function's caller method? E.g.
295061 [mutahhir.ali] I've always seen that whenever you need something like this, there's
295066 [santini.albe] Of course i can, i just *don't want* to do this. For example, imagine i
+ 295069 [benjamin.d.o] There's something in Ruby Facets that seems related:  Binding#called
| 295073 [mutahhir.ali] I don't know, but maybe you can implement the methods you *want* as a
+ 295084 [aff28@de et ] Perhaps your DBHelper class would be better designed as a module that is

Ruby/C++ integration with SWIG: problem with namespaces
295054 [comfortably_] I'm trying to import a C++ library in Ruby using SWIG, but I have a
295109 [comfortably_] SOLVED

Final Cut 5.1 crack
295078 [sargentgel@g] Download Final Cut 5.1 crack

PDF To HTML Converter Command Line V3.2 crack
295079 [espinozaasut] Download PDF To HTML Converter Command Line V3.2 crack

class::new :: --> NUBY
295080 [chinnakarupp] I was trying to redefine new in my class..like this..
+ 295085 [mark@bu hn t] You are trying to alias the *instance* method #new which doesn't exist.
+ 295089 [kbloom@gm il] class KK
+ 295092 [wujciol@gm i] ...
  295108 [kbloom@gm il] This won't work, because it operates on an instance method named new.

[ANN] JRuby 1.1RC3 Announced
295081 [Thomas.Enebo] The JRuby community is pleased to announce the release of JRuby 1.1 RC 3

I HATE SPAM
295094 [philip.broco] Where is all the spam coming from lately?
+ 295103 [tim.pease@gm] My first guess would be the spammers, but I have been known to be
| + 295106 [damnbigman@g] ...
| + 295117 [shortcutter@] LOL
|   295119 [shevegen@li ] I think from computers.
+ 295116 [perrin@ap th] Unsecured MS Windows machines, mostly.
+ 295134 [jwkenne@at g] Ronald Reagan shut down the loony bins.
  295144 [perrin@ap th] . . . and now all three of the former inmates are running for President.

LCMS & SCORM Integration
295097 [t3projects@g] I'm looking into build an LCMS/LMS and I'm needing to integrate

[ADV] Pushed a new beta of PickAxe 3
295113 [dave@pr gp o] I've just finished a first pass through the built-in library reference
296258 [Bil.Kleb@NA ] Makes me wonder if Matz et al have reviewed Guy Steel's "Growing a Language"
+ 296330 [rick.denatal] Ahh, that video brings back memories.  As I recall I was sitting
| 296354 [znmeb@ce ma ] Hence the expression, "Curses! Foiled again!" :)
+ 296520 [damphyr@fr e] "A good programmer does not just write programs,(...) a good programmer
+ 303029 [towb@gm .n t] Thank you! I had never.

Invoking a windows application (e.g notepad) from ruby
295125 [anukul.singh] I wanted to know if there is any utility present in ruby through which
+ 295126 [s.korteling@] `notepad`
| 295139 [anukul.singh] Siep, Thanks a lot!!
+ 295127 [jan.svitok@g] system "notepad"
  295140 [anukul.singh] Jano, thanks a lot!

[ANN] DevLib: Sharing Library Development Expertise
295128 [chiology@gm ] = DevLib
+ 295131 [vjoel@pa h. ] Error 400 - Bad Request
| 295133 [chiology@gm ] Thanks for noticing, it should be http://devlib.wikidot.org/ as the
| 295187 [chiology@gm ] Wow, apologies, http://devlib.wikidot.com/ is the address with
+ 295132 [chiology@gm ] Apologies for the typo.

RXML to HASH
295135 [a.m.a@vi eo ] basicaly i receive a xml response from the internet
295136 [ezmobius@gm ] $ sudo gem install xml-simple
295219 [a.m.a@vi eo ] thanks. Do you know that i tried to do this by hand instead.

Re: Pushed a new beta of PickAxe 3
295137 [markonlinux@] Well you better get cracking then!
295169 [dave@pr gp o] Already did--all those changes are in the beta I just pushed :)
295193 [Bil.Kleb@NA ] Thank you!
295238 [markonlinux@] yep, thanks,

getting the user's home directory path
295141 [perrin@ap th] I've got a program that needs to access a file in the ~/etc/ directory.
+ 295147 [alex@bl ck e] require 'etc'
| 295185 [perrin@ap th] Hallelujah.  That's exactly what I wanted.  Thank you much.
| 295188 [alex@bl ck e] nil
+ 295203 [nobu@ru y- a] File.expand_path("~/etc/#{filename}")
  295329 [perrin@ap th] Amazing -- and confusing.  I could swear I actually tried that and it

about for loop
295142 [hb.pat87@ho ] for i in 0..5
295146 [jari.william] For loops are not very rubyish. Please use an internal iterator instead.

[ANN] ZenTest 3.9.2 Released
295143 [ryand-ruby@z] ZenTest version 3.9.2 has been released!

[ANN] RubyInline 3.6.7 Released
295145 [ryand-ruby@z] RubyInline version 3.6.7 has been released!

combine array(string) to string?
295150 [hb.pat87@ho ] str= "ABCDE"
+ 295151 [stefano.croc] arr.join ''
+ 295158 [caduceass@gm] You really don't need to declare your type.  The arr = Array.new
  + 295159 [rick.denatal] In fact, there's no way to declare types of variables in Ruby.
  + 295161 [robert.dober] There is no  need to use the empty string as parameter it is the
  | 295356 [w_a_x_man@ya] No, $, is the default.
  + 295189 [shortcutter@] Sorry to be nitpicky, this is in no way a type declaration.  It is just
    295200 [caduceass@gm] Okay, "the instantiation of the Array object is unnecessary".  From
    295251 [shortcutter@] I can see where that comes from and I did not want to disregard the
    295340 [caduceass@gm] Ahh, I see.  After reading my post again, I realize it wasn't that
    295364 [shortcutter@] Absolutely agree.

Kaspersky Anti-Virus 6.0.2.621 serial
295152 [jaqfwagnon@g] Download Kaspersky Anti-Virus 6.0.2.621 serial

Avast 4.7 serial
295153 [jaqfwagnon@g] Download Avast 4.7 serial

Re: Food Database (#159)
295160 [matthew.moss] The summary for this quiz will be posted tomorrow morning (Friday).
+ 295167 [eric.mahurin] ...
+ 295175 [robert.dober] 1 maybe
+ 295183 [james@gr yp ] I looked at solving the quiz.
+ 295247 [micathom@gm ] I have to admit that I had difficulties to understand what the quiz
+ 295260 [matthew.moss] A few things, folks...
  + 295262 [james@gr yp ] I'm interested in seeing the revision.  That's my two cents.
  + 295390 [matthew.moss] Okay, giving consideration to response to the quiz, and that I need to
    295453 [micathom@gm ] BTW, I recently came across this site: http://nutridb.org

how to get inherited class names ?
295165 [bad_good_lio] how to get all inherited class names ?
+ 295168 [wujciol@gm i] ...
+ 295171 [jan.svitok@g] # Class helper functions
+ 295190 [shortcutter@] irb(main):001:0> Fixnum.superclass

if-less if statements
295173 [shandybleu@y] I asked this on the rails side of this forum but didn't get a response
+ 295174 [dblack@ru yp] It looks like you've got extra spaces: "Check Format  ". Is that
| 295177 [shandybleu@y] It's for formatting, but I can get rid of it if that is causing a
+ 295239 [markonlinux@] I think what David's asking is do you really want to be include those
  295241 [pmckibbin@gm] Why not use a regular expression? They're fairly straightforward when
  295243 [pmckibbin@gm] Actually, and this is definitely more appropriate to the rails forum,
  + 295259 [dblack@ru yp] They're just instance methods available to the current object, so you
  + 295277 [shandybleu@y] That worked beautifully, thank you. Just out of curiosity, can I do an
    295368 [jgabrielygal] Something like this?

Can I write text to a notepad and save the file through ruby
295178 [anukul.singh] After invoking notepad through ruby, I wanted to know if I could type
+ 295180 [james.britt@] Look into a free tool called AutoItX.  It is a COM and DLL thing that
+ 295226 [botpena@gm i] kind regards -botp

Find.find sorting: files before directories
295181 [briefcase.sp] I'm looking for a simple way to use Find.find to produce a list of
+ 295182 [briefcase.sp] require 'find' # oops!
+ 295252 [shortcutter@] IIRC Find.find does sort sub folders before files.  To me your code
| 295547 [briefcase.sp] I mixed up sub-folders and files.  I meant to say that I want to sort
| 295556 [shortcutter@] Why do you need that?  I mean, if a folder is excluded then you want to
| 295563 [briefcase.sp] Yes, an excluded folder would also exclude its children files and
| 295625 [shortcutter@] require 'find'
| 295693 [briefcase.sp] This is exactly what I was looking for.  Thank you for your time and
+ 295599 [pmckibbin@gm] If output is the only requirement for sort order, why not just have two

extending ruby with C++
295184 [bbxx789_05ss] $ make
+ 295197 [mneumann@nt ] use c++ or add -lstdc++.
| + 295207 [marc.dietric] Can't help you with that specific problem, but i can recommend you rice
| | 295228 [bbxx789_05ss] Thanks for the response.  I'll take a look at Rice, too.
| + 295227 [bbxx789_05ss] Thanks for the response.
|   295231 [mneumann@nt ] "cc" is usually used to compile C programs. Use the command-line tool
|   295235 [bbxx789_05ss] How?  Where?  There is no mention of cc in extconf.rb.
|   295237 [bbxx789_05ss] $ ruby extconf.rb
|   295256 [mneumann@nt ] $LIBS << " -lstdc++ -lc"
|   295300 [bbxx789_05ss] require 'mkmf'
+ 295254 [fox@ns l. su] Try using g++ to link the code rather than cc.  Using cc does not
  295361 [bbxx789_05ss] I don't know how to do that.
  295383 [jameskilton@] $CC = "g++"
  295412 [bbxx789_05ss] I know how to compile C++ programs from the command line or using an
  295413 [bbxx789_05ss] require 'mkmf'
  + 295426 [wruyahoo05@c] Good luck and watch out for the tab characters; they aren't just white
  + 295460 [jballanc@gm ] I've run into this problem myself on OS X. For some reason, the mkmf

How to control order of spec execution in "spec specs/* " ?
295186 [hangfei@gm i] This is a rspec question.
295650 [dchelimsky@g] The default is actually alpha. mtime must be invoked explicitly. Do

Ruby board game, anyone?
295191 [martindemell] Maybe off topic, but when I saw this, I thought, "Why
295194 [vjoel@pa h. ] Is this a chain letter?  ;)

Re: Can I write text to a notepad and save the file through
295192 [olsonas@gm i] Do you really need to invoke notepad? Why not just write the text to the
387022 [rrparida@gm ] Here, after creating the files, you can launch/open this file by using

Win32Ole, MAPI, and Outlook
295195 [loadeddesign] I'm trying to make a Ruby Script that adds contacts to Microsoft
295202 [damnbigman@g] ...
295204 [loadeddesign] Aha!
295614 [mr.novell@gm] The code below processes mail from the inbox downloads the attchments
threads.html
top