72063-72800 subjects 72433-72844

^ Win32 Specifics...
72196 [ddarch xybor] I am a nuby to Ruby but I absolutely love the language.
+ 72198 [feldt ce.cha] Most things can be done with Win32API, for an example of registry
+ 72201 [mikkelfj-ant] ...

^ Constant Definitions and Hiding
72206 [bob.news gmx] we had a discussion on #irc the minute before and I'm thinking that there
72236 [vangczung ya] Perhaps using constants inside a class is what ought to be warned.
72240 [bob.news gmx] "Julian Snitow" <vangczung@yahoo.com> schrieb im Newsbeitrag
72245 [vangczung ya] [snip!]
72247 [bob.news gmx] "Julian Snitow" <vangczung@yahoo.com> schrieb im Newsbeitrag
72281 [vangczung ya] [snipsnip]
72296 [bob.news gmx] "Julian Snitow" <vangczung@yahoo.com> schrieb im Newsbeitrag
72333 [vangczung ya] For individual objects, it should probably be allowed (though with Proc

^ OpenGL and large texture bitmaps
72208 [vjoel PATH.B] I'm trying to use a large (1024x1024) bitmap as a texture. I started
+ 72214 [0bz63fz3m1qt] I think I saw this on 'comp.graphics.api.opengl' yesterday.
+ 72310 [pbrannan atd] What graphics hardware are you using?  IIRC, many of the Voodoo-based
  72316 [vjoel PATH.B] Ah. It's an Intel 815 (on a 2 yr old sony laptop). I will try to find
  72340 [pbrannan atd] I don't know of any such limitations on the i815 chipset, but I'm not up

^ extending rdoc for custom accessors
72220 [vjoel PATH.B] My code has some things that work a bit like "attr_reader" et al, but of
+ 72221 [smurdon dnam] unsubscribe
+ 72229 [dave pragpro] That depends on what you'd expect in terms of the resulting output.
  72233 [vjoel PATH.B] Actually, the caller sees the accessors just like any other accessors,
  72251 [dave pragpro] OK - I've added an --accessor option; check out the latest CVS.
  72268 [vjoel PATH.B] That looks perfect. I'll check it out asap.
  72323 [vjoel PATH.B] Yep, it does what I need.
  72344 [dave pragpro] Your wish...
  + 72364 [vjoel PATH.B] Very nice :)
  + 72457 [spam deck.dk] WOW!! Very quick response from a OSS author! Very impressive!

^ Tk: Call mainloop twice
72235 [phlipcpp yah] ...
72243 [tram5 carama] I understand your problem because I have the same.
72250 [phlipcpp yah] ...
72297 [kero chello.] Keep one window alive, so the mainloop never ends.
72342 [tram5 carama] I'm an other problem with mainloop : I close a window (topLevel, not

^ Scrollable TkCanvas code
72238 [ptkwt shell1] ...
72239 [ cvm aiss.de] chris
72277 [ptkwt shell1] ...

^ system calls
72249 [mgarriss ear] s = `date`
+ 72252 [phlipcpp yah] ...
+ 72270 [B.Candler po] This is almost what you want, except that the exit code is wrong and I don't
| 72272 [J.Hawkeswort] Don't know if this helps but I recall that in perl you have to divide by
| + 72285 [B.Candler po] Hmm, I thought that Windows (32 bit) did have those things. Oh well.
| + 72287 [fgp phlo.org] This is because the reason for the program termination (e.g. caught a
| | 72289 [dave pragpro] This is a test 'ri'. Please report errors and omissions
| + 72291 [tcfelker mtc] Yes, it's broken: true and false (which return 0 and 1 respectively)
|   72295 [mgarriss ear] Brian,
+ 72302 [bystr mac.co] Recently I implemented a facility for such cases and if you are
| 72311 [botp delmont] can you post it on raa, pls. It looks useful to me and I'd like to see the
| 72318 [bystr mac.co] Again, I am kind of unsure that it is worth posting to RAA, no good
| 72341 [mgarriss ear] This is great and yes, it's worth posting to RAA (after it's
+ 72314 [0bz63fz3m1qt] The unit-testing is here (look here for how to use it :-)

^ [ANN] NYC Smalltalk - Ethnography and System Design
72253 [sanchezc ear] NYC Smalltalk will hold its next meeting on Wednesday May 28th, 2003.

^ Help! I don't want a bignum...
72257 [andrew walro] Ok, I'm sure there is an easy way round this, but I can't see it...
+ 72290 [andrew walro] Nobody has a solution?? Surely I haven't stumped you all ;)
| + 72293 [mneumann nte] Write your own C extension that accepts Bignums.
| | 72324 [andrew walro] Already done it ;) And as this was the first time I'd done this I was
| + 72299 [bob.news gmx] "Andrew Walrond" <andrew@walrond.org> schrieb im Newsbeitrag
+ 72298 [nobu.nokada ] syscall should accept also Bignums.
+ 72309 [matz ruby-la] It's a bug.  I will fix it soon.  Ask me for a patch, if you're in
| 72328 [andrew walro] Thought so ;) Although I don't expect syscall gets used too often.
+ 72313 [sdate everes] ...
  72331 [andrew walro] This is the correct behaviour. The valid range for a fixnum is -(2**30)
  72338 [sdate everes] ...

^ RCR: unpack/pack Bignum
72274 [feldt ce.cha] I'm sure this has been discussed before and maybe there are good reasons
+ 72273 [feldt ce.cha] To be correct it should actually be
+ 72375 [feldt ce.cha] No one seems to be interested in this issue so I'll have to reply to
  + 72376 [guslist free] Actually, I am. I am doing packing of 64bits word for SNMP and my solution is
  | 72395 [feldt ce.cha] Great, yes the PowerPC is supposed to be big-endian even though it
  + 72381 [nobu.nokada ] I've thought about same thing (and Bignum constructor from
  | 72394 [feldt ce.cha] Hm, I've envisioned Bignum (un)packing for cryptographic applications
  | 72403 [nobu.nokada ] Sorry, there's no combination of signedness and endianness,
  | 72405 [feldt ce.cha] Sounds like a nice idea. however, for consistency we should also change
  | 72407 [nobu.nokada ] Now 'A10' means a 10 bytes string.  Even if size specifier is
  | 72409 [feldt ce.cha] Ok, so 'A10' and 'A(10)' means the same thing. Sounds good. So with this
  | 72418 [nobu.nokada ] I guess "N(2)" is equivalent to "n", so the behavior should be
  | 72419 [feldt ce.cha] The former seems better to me. So we truncate MSB bytes until it fits.
  | 72444 [nobu.nokada ] By analogy with "a*", IMHO, it should fill least necessary
  | + 72454 [B.Candler po] 1-byte, 2-byte little-endian, 2-byte big-endian, 4-byte little-endian,
  | + 72455 [feldt ce.cha] Yes, I agree. Bytes.
  + 72396 [B.Candler po] It's variable length, but without carrying a length indication? How would
    72401 [feldt ce.cha] In general yes but its not currently implemented, instead unpack("W")

^ source code for Ruby Dev's Guide
72279 [internetlett] Where is the source code for the book?
72276 [lyle users.s] In the upper right-hand corner of that web page is a form to either set
72307 [sdate everes] ...
72352 [lyle users.s] I know that Syngress had originally planned to bundle a CD with the
72382 [sdate everes] ...

^ Take a notice please for my previous message about mod_ruby
72283 [n.vasiliev a] I need to install mod_ruby under Windows 98. I have Ruby 1.7.2, Apache 2
72355 [0bz63fz3m1qt] I am using mod_ruby with unix.. I have no clue what to do in order to
72412 [n.vasiliev a] Thank you, Simon, good point!

^ RubyCOM
72292 [STUCKNER MUL] ...
72304 [lyle users.s] The "Homepage" and "Download" links listed in the RAA are incorrect, but
72312 [xrfang hotma] Sometime ago, I had a look at RubyCOM, but it seems that it does not fit
+ 72317 [james_b neur] A DLL is a binary object.  Ruby does not compile to binary.
+ 72320 [dooby d10.ka] ...

^ Result of && and 'and'
72326 [bob.news gmx] is it guranteed that && and "and" return the last value if all values
+ 72332 [B.Candler po] a ||= "default"
| 72334 [decoux moulo] ...
| 72343 [bob.news gmx] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
+ 72345 [matz ruby-la] It's guaranteed.

^ Re: Tk - Restart after mainloop exits?
72346 [phlipcpp yah] ...
72356 [ralfixx gmx.] * "Phlip" <phlipcpp@yahoo.com>
72393 [phlipcpp yah] ...
+ 72417 [nagai dumbo.] If your Ruby/Tk supports Tk.restart, please try it.
| 72426 [phlipcpp yah] ...
+ 72421 [ralfixx gmx.] * "Phlip" <phlipcpp@yahoo.com>

^ ruby unicode./encoding support
72347 [emmanuel.tou] I searched internet and the ml and realised this question was asked many
+ 72349 [dave pragpro] Use the 'jcode' library, and set the encoding to unicode with the -K
| 72359 [angus quovad] And add 'unicode' and you can also compare, capitalize, etc...
| + 72365 [emmanuel.tou] firstable, i'm happy to read i was wrong and that ruby does have unicode
| + 72677 [bob.news gmx] "Carlos" <angus@quovadis.com.ar> schrieb im Newsbeitrag
|   72780 [bjsp123 imap] I think you're right.  There was a time about 2 years ago when this
|   72820 [bob.news gmx] "Benjamin Peterson" <bjsp123@imap.cc> schrieb im Newsbeitrag
+ 72378 [nobu.nokada ] iconv has been contained in 1.8 standard and shim for 1.6, so I
  72386 [sroberts uni] Maybe on the shim-ruby page you can mention iconv and utf8 and
  72391 [nobu.nokada ] The description certainly lacks a few things.  But I'm not the

^ Problem with have_library() with Oracle 9.2.x
72360 [djberge qwes] Ruby 1.6.8
72434 [djberge qwes] All,

72366 [timothy.koff] Sir/madam,

^ *arr question 1.67 - 1.68 version difference
72367 [lists debona] [~]$ /qa/cadqa/dev/bin/grid_acct.rb

^ [Q] Should I use NUM2UINT or NUM2ULONG?
72368 [lyle users.s] I'm looking at an FXRuby bug that I suspect has to do with the size

^ Windows Installer for Ruby 1.8.0 (CVS)
72371 [andy pragmat] I finally managed to scrape together a few spare minutes and put up the
+ 72377 [surrender_it] thanks!
+ 72379 [chrismo clab] Cool. Any plans to move this into the sf cvs repository?
| 72385 [andy pragmat] Oh, I've got nothing BUT plans :-)
| 72387 [jim freeze.o] So, I guess Agile Methods have nothing to do with time management. :)
| + 72390 [andy toolshe] If they do, then I missed the boat on that particular topic! I'll be the
| + 72429 [djberge qwes] Thanks!
+ 72440 [surrender_it] This application has requested the Runtime to terminate it in an
| + 72443 [hal9000 hype] Hmm... my knowledge of Fox isn't that deep... but
| + 72470 [lyle users.s] trying to create window before creating owner window.
|   72473 [lyle knology] If a million monkeys pounded away on a million keyboards for a million
|   + 72475 [david.naseby] They would with half-a-million keyboards. Pair programming is that much more
|   + 72477 [B.Candler po] (OK, not especially aiming to get a Ruby program :-)
|     72513 [martindemell] ...
+ 72458 [charleshixsn] I'm experiencing a problem with file "ruby180-9.exe":  The install
| 72536 [andy toolshe] That's because it will not allow you to install into an existing
+ 72552 [NOSPAMcs96an] It seems that the installer installs all the documenation even you if
  + 72553 [NOSPAMcs96an] ruby 1.8.0 (2003-05-26) [i386-mswin32]
  | 72559 [andy pragmat] Hey, I just compile it using the provided makefile.  Could someone
  + 72558 [andy pragmat] Oops.  That sounds like a wee bug.  I'll take a look.

^ drawing on a scrolled (Tk)canvas
72372 [ptkwt shell1] ...
72397 [ptkwt shell1] ...

^ urgent business assistance
72374 [andrewmbeki ] Mr.Andrew Buthelezi( B.Sc.,M.Sc. MNIM.)

^ [Q]: CGI::Session
72380 [tom mnemonic] - why is only the first part of the MD5 sum used in
+ 72402 [surrender_it] - when the $TMP/file gets deleted?
| 72437 [spam deck.dk] someone (a russian security expert) told me that you can safely use a
| 72484 [tom mnemonic] As far as I know any 64-bit part of the hash is as good as any
| + 72489 [ahoward fsl.] i did something similar a while back - i've used in many cgi programs and it
| + 72498 [B.Candler po] If you are using 64 bit hashes, then you need to have about 2^32 concurrent
+ 72541 [matz ruby-la] Not to make file names too long (Perl's CGI session does this too).  I
  72548 [ahoward fsl.] matz-
  + 72569 [tom mnemonic] Ok, I see this point.  However - for me performance is not an issue,
  + 72585 [matz ruby-la] Sounds nice.  Let me see.

^ Array.extend versus instance.extend
72388 [0bz63fz3m1qt] I want to install 'shift_until_kind_of' in the global Array class
+ 72389 [vjoel PATH.B] You need to _include_ the module for #shift_until_kind_of to be found
| 72398 [B.Candler po] Incidentally, you can make your class more general-purpose by using ===,
| 72400 [B.Candler po] break if length == 0 or caseitem === first
| 72404 [0bz63fz3m1qt] Thanks.. Brian you have lead me to the solution.
| 72406 [B.Candler po] a = Array.new        -- a is an *instance* of Array
| 72413 [0bz63fz3m1qt] OK.. I see.  I wasn't aware of this. Now I 'think' I understand :-)
+ 72408 [0bz63fz3m1qt] Here is my code so far.. you welcome to rip it.
  72410 [B.Candler po] Looks good to me. You might want to be consistent with either including
  + 72411 [B.Candler po] Another idea, "length != 0" could be replaced with "not empty?"
  | 72415 [0bz63fz3m1qt] Using 'until' instead of 'while' does reduce it even further :-)
  | 72430 [guslist free] module ArrayMisc2
  | 72483 [0bz63fz3m1qt] Sorry your code does not pass all the tests.. it has somekind of
  | 72485 [dblack super] #detect returns the first element for which the block is true, passing
  | 72496 [0bz63fz3m1qt] I ran the test-suite on your code and it failed.
  | + 72499 [0bz63fz3m1qt] Sorry not quite true :-)
  | + 72505 [dblack super] Try again :-)  It shouldn't fail.
  |   72509 [0bz63fz3m1qt] Yes it works with these 2 test cases.. but there is a few more test-cases
  |   72580 [guslist free] OK, my fault. The following code should pass your test and *is* faster
  |   72586 [0bz63fz3m1qt] Yes now it works.. I am not yet 100% familiar with the 'or' thing. I would
  |   72588 [dblack super] The Benchmark module (lib/benchmark.rb in the source distribution).
  |   72591 [0bz63fz3m1qt] OK.. im looking at it.  I like what I see here
  + 72414 [B.Candler po] I take that back. Your approach is better, because it lets you add these

^ Set cartesian product
72392 [mwilson13 co] The following is a proposed implementation of a cartesian product
+ 72676 [bob.news gmx] "Mark Wilson" <mwilson13@cox.net> schrieb im Newsbeitrag
| 72679 [martindemell] ...
| 72704 [vjoel PATH.B] ...
+ 73005 [0bz63fz3m1qt] def cproduct(a, b)

^ cast iron tree stand for Christmas tree
72399 [fengyuana198] Thank you for your reading.

^ Metakit for Ruby - Would you want it?
72420 [bobx linuxma] I have a gentleman in England who I have been talking with who is
72431 [ahoward fsl.] i am extremely interested in this.  how many time i have wished one could
72436 [spam deck.dk] what I would like is an embedded sql database. It seems to me that
72438 [B.Candler po] You mean like sqlite? http://www.sqlite.com/
+ 72442 [hal9000 hype] I'm also interested in this. I suppose the db code is all
| + 72451 [B.Candler po] You can run it safely with multiple threads/processes, but it locks the
| | 72461 [ahoward fsl.] i fell your pain - and my application is nothing but data and time handling
| | 72476 [B.Candler po] To be fair, it's often the databases themselves which are broken. I was
| + 72452 [ahoward fsl.] no - i think it uses flock or similar.  there mailing list is quite active and
+ 72449 [spam deck.dk] yeah! exactly like sqlite! you just saved my day :)
  72459 [ahoward fsl.] i had problems with the api - if the api returned an error code the connection
  + 72474 [B.Candler po] I also found a couple of nasty bugs, which to be fair were fixed pretty soon
  + 72504 [spam deck.dk] I will make an effort to have it in a usable state asap :)

^ getting a variable into regexp problems
72422 [kingsley_hen] ...
72428 [B.Candler po] That's because you're using =~ to match a string to a string, rather than a

^ How do I automate cvs?
72423 [jim freeze.o] I would like to automate my checkouts for the latest ruby.
+ 72425 [decoux moulo] ...
| 72427 [jim freeze.o] Thanks
+ 72446 [nobu.nokada ] You don't need to login each time.

^ RE- Regexp
72424 [kingsley ice] I found the answer - sorry

^ (none)
72432 [dcoshel mac.] Sorry if this is old hat to most of you, but I just discovered these