125801-132946

125671-126412 subjects 126063-130484

^ [SOLUTION] LCD Numbers (#14)
125801 [heron jpl.na] Primary "Ah Ha" was deciding to make the digit

^ Segfault in timer.rb
125805 [segfault.rub] I am running RSSScraper and get segfault on both 1.8.2 and 1.9.1
125975 [segfault.rub] I am seeing this on 2 different machines with fresh install. Compiling
126012 [flgr ccan.de] Any other libraries that it's using? YAML used to do something similar.
126054 [segfault.rub] Here are the various requires and includes (not in order)
126253 [segfault.rub] All of these segfaults seemed to be happening at
126297 [segfault.rub] (Cross posting to core)
+ 126316 [junkblocker ] ;) Actually, I took on the name after getting annoyed
| + 126410 [decoux moulo] Well, try to write a small script to reproduce the problem. Personnally I
| + 126625 [ruby-lists l] instead of that try another version of ruby
|   126658 [segfault.rub] I'll do that when someone officially tells me that 'cygwin' is
|   126665 [ruby-lists l] i've heard other bug reports with threading that
|   126742 [mulperi cc.h] The cygwins signal handling is not most robust and ruby threading
|   126752 [segfault.rub] I just tried the latest snapshot and it doesn't work. I get the segfault
+ 126598 [segfault.rub] Here's a sample script, which is basically the condensed version of what
  126678 [decoux moulo] I was unable to reproduce the problem (linux, openbsd, solaris), someone

^ Tutorial: TDD for sqlite3-ruby
125807 [phlip_cpp ya] I work at a shop that has bought all the latest payware tools for GUIs, web
125840 [jamis_buck b] This is a very important point, and I'd like to stress it. SQLite3, in
125867 [phlip_cpp ya] So if I write a bunch of test cases, and if setup() erased the database and
125891 [jamis_buck b] Rebuilding is slow. On my machine, it took (including the time to do

^ Immediate values
125817 [eustaquioran] I heard that immediate values holds the object, not a reference to it, is
+ 125829 [halostatue g] Up until this paragraph I was with you and completely agree.
| 125857 [bob.news gmx] "Austin Ziegler" <halostatue@gmail.com> schrieb im Newsbeitrag
| 125863 [flgr ccan.de] Note that there is a small difference for Symbols and Fixnums. You can
| 125868 [bob.news gmx] "Florian Gross" <flgr@ccan.de> schrieb im Newsbeitrag
| 125870 [decoux moulo] Look at [ruby-talk:17321]
+ 125830 [eule space.c] I have already answered to this on the irc channel, but will try to
| 125877 [lists bertra] Stricly spoken, Fixnums don't. They are treated a special
| 125899 [itsme213 hot] You can try to work the angle that value-like things (Fixnums) are
| + 125905 [flgr ccan.de] Fixnums are Objects, even if they are not represented by an actual
| | + 125915 [rhkramer fas] (Not "picking" on Florian in particular, just needed a convenient quote
| | | + 125921 [flgr ccan.de] Oh, note that me talking about VALUE was just the way Object's are
| | | + 125943 [ruby-talk wh] refering to an object's symbol table id.  The symbol table being the
| | |   + 125966 [timsuth ihug] There is no such global dictionary, all the information is encoded in the
| | |   + 126034 [rhkramer fas] Just for the record, it's Randy.  (I've been stuck using my wife's email
| | + 125932 [itsme213 hot] *References* to Fixnums are encoded as 2's complement bit strings (for
| + 125906 [bob.news gmx] "itsme213" <itsme213@hotmail.com> schrieb im Newsbeitrag
+ 125862 [georgesawyer] "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@yahoo.com> Jan 10, 2005
  125884 [eustaquioran] Forgive me if I misunderstood, but so VALUEs are variables?
  + 125887 [eustaquioran] Btw, I'm trying to understand how these things works to see if it avoids
  + 125897 [flgr ccan.de] a is mapped to a VALUE. VALUEs are pointers to Ruby Object Structs.
  | + 125907 [decoux moulo] 2**23 - 1
  | | 125909 [flgr ccan.de] Hm, why not 2 ** 24 - 1? (Is one bit used for a special purpose or am I
  | | 125911 [decoux moulo] It must make the transformation ID ==> Symbol, Symbol ==> ID and if I'm
  | | 125922 [flgr ccan.de] Hmmm, maybe this is can one day be used for representing Characters in
  | | 125935 [itsme213 hot] That would be great.
  | + 125938 [itsme213 hot] That works better if readers understand that the immediate object is not the
  | + 125939 [itsme213 hot] Sorry if this repeats ...
  |   125945 [flgr ccan.de] I dislike this whole "stored at" model. It's too complex. Let's express
  |   125961 [itsme213 hot] value
  |   126011 [flgr ccan.de] But VALUE != value. VALUEs are in Ruby's internals what Objects are in Ruby.
  |   126049 [itsme213 hot] I grok what you mean and its certainly good enough, thanks.
  + 126109 [georgesawyer] "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@yahoo.com> Jan 11, 2005

^ Soap - connecting applications
125841 [m44rt3n yaho] I made an application in Ruby and want to provide an interface for other
125845 [Roland.Schmi] you must provide the
125849 [m44rt3n yaho] Thanks! Works like a charm.

^ [OT] Buy Programming Ruby in London
125843 [ehames gmail] My brother is flying to London next week and I wonder if he can buy
127136 [robertbrook.] Or indeed http://www.amazon.co.uk.

^ Criptography for beginner (Dummies?)
125896 [victor.reyes] Can anyone suggest some good books about Cryptography for a neophyte?
+ 125900 [lyle.johnson] Are you looking for technical or non-technical books?
| 125901 [Roland.Schmi] Both books are very good, i think.
+ 125903 [alex.martin ] Applied Cryptography (http://www.schneier.com/book-applied.html)
| 125904 [lyle.johnson] Ah, yes, I forgot about "The Codebreakers".  It is sort-of a history
+ 125994 [martindemell] Simon Singh's "The Code Book" is supposed to be excellent.
  126006 [thomas.leitn] I'm currently reading Simon Singh's "The Code Book" and it IS
  126008 [petite.abeil] Not strictly about cryptography, but interesting read nonetheless is

^ A question on Ruby license
125908 [lists zara.6] Suppose I modify Ruby 1.8.2, create some incompatible changes, and call
+ 125912 [rasputnik he] I think it's a BSD-alike licence, so yes, so long as the derived work
+ 125914 [rff_rff remo] 3. You may distribute the software in object code or executable
  125955 [rampant gmai] So not "Ruby 1.8.99" (just to make it clear :)
  125969 [matz ruby-la] If you really want to name it "Ruby 1.8.99", discard the Ruby terms,

^ [ANN] SiSU document publishing with common citation system and search
125916 [ralph amissa] SiSU document publishing with common citation system and search (with

^ calling tcl/tk scripts from ruby
125931 [snowzone5 ho] all i need to do is process tk buttons (which button was clicked) ,
125980 [nagai ai.kyu] Oh, sorry! That is one of many new features of Ruby1.8.2.
125982 [snowzone5 ho] thanks...that worked...the gui exited immediately, so i'll have to
125984 [nagai ai.kyu] Did you call Tk.mainloop after loading Tcl script?
125989 [snowzone5 ho] smacks head...yeah, got it...
126000 [nagai ai.kyu] Hmm...

^ [SOLUTION] LCD Numbers (#14)
125933 [lmlourenco i] Here's my solution.

^ Re: [good] Re: Python vs Ruby
125934 [snowzone5 ho] that's been an argument used against perl for a long time. i think
125951 [rasputnik he] If your ass remains unbitten, i salute you.

^ Tutorial: Distributed pipes with DRb
125937 [kig misfirin] writing a distributed LAME, and then generalizes from there into

^ [ANN] XDCC-Fetch 1.239
125940 [martin.anker] XDCC-Fetch is a tool for collecting, searching and downloading

^ Oracle and Rails
125941 [graham inca.] Perhaps not he right pleace - but is any work being done to make
+ 125944 [david loudth] We just added drivers for DB2 and MS SQL Server, so I'd say we got two
+ 125968 [tobias.luetk] If you feel adventurous there is a research ticket #451 in the bug

^ [ANN] Ruby Facets, v0.6.1
125942 [transami run] A N N O U N C I N G

^ Problems Using rb-gsl
125946 [mark the-ben] I'm trying to use rb-gsl in an application I'm writing and am able to
+ 125950 [ytsunesada y] I've never found the problems in my test,
| 125953 [mark the-ben] Thank-you for your help I really appreciate it!  I did the things you
| 125956 [ytsunesada y] Hmm, the message says the system could not find libgsl.so.0.
| 125958 [mark the-ben] The libgsl.so.0 is in /usr/local/lib which I'm assuming is in my search
+ 125977 [ytsunesada y] Mark,
  126050 [mark the-ben] Just to update you and the rest of the list, I was able to get this

^ Re: Automated ducks solution (was: Re: Duck Typing as Pattern Matching)
125962 [eero.saynatk] Patience, the solution is at the bottom.

^ file location
125983 [contact_us h] #file1.rb
+ 125986 [vjoel PATH.B] #file1.rb
| 125987 [contact_us h] Thanks you very much
+ 125997 [matz ruby-la] The current directory (which is returned from Dir.pwd) is something
  126003 [contact_us h] I litle bit feel shame to admit it, but your suggestion is the shortest

^ List of Ruby 1.8.2 changes after 2004-12-25 release
125992 [nospam nospa] If you're new and wondering whether to use stable-snapshot or a release

^ why dosn't ruby support  // to comment?
125995 [ruby 3cn.com] i think use keyboard type "//" is fast than "#" to comment one line code.
+ 125996 [alex verk.in] Because // is an empty regular expression.
| 126403 [ambrus math.] Not only that, but also a division by a regular expression.
| 126500 [flgr ccan.de] What does it do?
| 126503 [gfb tonesoft] Even when using modern gcc, if you specify option "--traditional", this
+ 126007 [antonio visu] Alex already answered.
| + 126036 [langstefan g] On a German keyboard: Shift+7 Shift+7 to get '//' but only
| + 126072 [bighead user] Really? Must see UK keyboard then.
|   126086 [rampant gmai] It is just to the left of the enter key. My # is above my three, which
+ 126018 [nobu.nokada ] And also, # is necessary for shebang line.
+ 126212 [ jupp gmx.de] What is faster depends on the keyboard layout. With a german keyboard
| 126272 [chneukirchen] Too bad it has the icky taste of SQL. :)
| 126277 [ehames gmail] But, that's also a comment in Haskell ;)
| + 126290 [chneukirchen] Now you just made me wonder if I ever saw commented Haskell source. :P
| + 126354 [zdennis mkte] That is also the comment in AppleScript.
|   + 126395 [peter.schram] $COMMENT_BEGIN="/*"
|   | 126398 [transami run] Watch me...
|   + 126516 [nobu.nokada ] IIRC, also in Ada.
|     + 126521 [eero.saynatk] It also seems to be very popular among famous historical
|     | 126528 [nobu.nokada ] Well, then we should introduce ++ now.
|     | + 126535 [transami run] Hey, what abut REM? Now that's a real man's remark! :)
|     | | 126536 [nobu.nokada ] It's quite easy.
|     | | 126847 [ambrus math.] \def \qc #1{}
|     | | 126854 [eban os.rim.] this is a comment
|     | + 126565 [robert.hulme] You don't have ++?
|     |   + 126567 [chneukirchen] Without any hacks by Florian Gro you simply use `foo += 1'.
|     |   | 126593 [flgr ccan.de] What happened *there*? ;)
|     |   | 126667 [chneukirchen] Did the sz get garbled?  Sorry if so, I'm still unable to use latin1
|     |   + 126568 [cyclists nc.] x += 1
|     |   + 126575 [dblack wobbl] No, because numbers are immediate values, even when referenced by
|     + 126522 [theaney cabl] Also in Lua.
|       126540 [rff_rff remo] and, it seem to me, also in eiffel
|       + 126543 [djberg96 hot] keyboard you
|       | + 126547 [pete petta-t] Daniel Berger seems to have lost the debate!
|       | + 126566 [chneukirchen] No idea what Hitler uses, but Stalin uses `;'.  *scnr*
|       + 126549 [chneukirchen] So, it's 4:2 for icky languages. :)
+ 126551 [sera fhwang.] This is pretty pedantic, but maybe comments should be really difficult
  126586 [cyclists nc.] Actually I'm surprised that this thread has generated so much interest. In
  126590 [alex verk.in] One school of thought is that a good code should be written in such a
  126603 [cyclists nc.] Yeah, I've read the reasoning behind that practice. I guess I'm just

^ List of new features between 1.8.1 and 1.8.2?
126001 [centrepins g] Typical newby question - is there a list of new features between 1.8.1
+ 126004 [antonio visu] As Matz announced (on Christmas): this is mainly a bug fix release and a
+ 126010 [rff_rff remo] hope it helps.

^ cannot I search the doc's contents (doc=file.read) one more times?
126002 [shaobo.li gm] I wanna retrive ip and its port from the html file which contains

^ Re: gem oddities?
126009 [tpeters uni-] I don't know anything about gems. I just noticed that the letters' cases

^ Password input
126014 [hen_WEG_dami] is it possible to let the user input a password without the actual
126016 [rasputnik he] Yes, there's a ruby-password library - see RAA.
126023 [hen_WEG_dami] Thanks, that's what I was looking for.

^ mod_ruby & rails doc?
126015 [braempje net] Is there a place where I can find information on using mod_ruby? A single
+ 126017 [rasputnik he] you don't need modruby to use rails.
| 126043 [braempje net] It will probably be my fault but I can't find any example on modruby.net? I
| 126045 [brianm apach] You can use it with mod_ruby. I think FastCGI is probably used more
| 126075 [sarahtanemba] Using the mod_ruby gives web application more bags of tools that comes
| + 126085 [david loudth] mod_ruby uses one interpreter per Apache process, which means that apps
| + 126096 [jamesUNDERBA] I believe this is because FastCGI keeps one or more Ruby interpreters in
+ 126134 [braempje net] Doesn't anyone use mod_ruby then? Does everyone use Rails? There must be
  + 126175 [jeffrey.dik ] but perhaps
  + 126260 [lists zara.6] mod_ruby doesn't have to be used to create a webapp, you know :-) I use
  | 126264 [braempje net] I don't understand it, you need some sort of layer on top of apache to use
  | 126313 [lists zara.6] What I meant was that, mod_ruby is a tool that binds Ruby to Apache. You
  | 126323 [sarahtanemba] I too like to see more application in mod_ruby/eruby and take advantage
  + 132946 [ged FaerieMU] It has neither the developer resources nor groundswell of interest that

^ beginner question  conversion array <-> string
126019 [kiksen1 gmx.] I am trying to convert a string (s="-----boundary with some http
+ 126020 [    v vsu.ru] s.each_byte do |x|
+ 126021 [jamesUNDERBA] try
+ 126022 [curne curnom] the easy way is #split

^ question about YAML over sockets
126026 [pine29 myfas] As far as I can tell, YAML.load will not return until the sender closes
126042 [ruby-talk wh] If you need to have YAML.load return before you've closed the socket,
126060 [pine29 myfas] I tried sending the pause indicator using a variety of plausible IO
126071 [ruby-talk wh] The YAML loader tries to read enough to fill its buffer.  It might be
126073 [pine29 myfas] Thanks, _why, that change works for me.
126078 [ruby-talk wh] Likewise, it's good to see growth.  And openness to fledgling

^ TCPSockets slooooooow
126027 [ bchk gmx.de] - Ruby 1.8.1 on Windows
126029 [Dave PragPro] What happens if you call
126033 [ bchk gmx.de] Dave,
126542 [kero chello.] TCP does some timeout stuff, so actively talking in both directions gives

^ Exclusive lock of a file
126035 [    v vsu.ru] Could you please give me a hint how in Ruby
126037 [batkins57 gm] File.open "filename" do |f|
126038 [batkins57 gm] Actually, that should be File::LOCK_EX.

^ (none)
126039 [jp.sullivan ] unsubscribe

^ Re:
126041 [batkins57 gm] Send this to ruby-talk-ctl@ruby-lang.org

^ Variable Arguments
126047 [rohitlodha h] charset="us-ascii"
126048 [bob.news gmx] <rohitlodha@hotwireindia.com> schrieb im Newsbeitrag
126052 [rohitlodha h] How can you say caller know about the number of arguments. It might be
126053 [flgr ccan.de] But you can check the method's arity before calling it. If it's a
+ 126057 [eero.saynatk] As Mr. Gross pointed out, you can use #arity to find out the number
| 126059 [rohitlodha h] I am asking VM level. I am currently writing a stack based VM for Ruby
| 126061 [eero.saynatk] Glad that you found a way. It being a somewhat interesting topic,
+ 126118 [bob.news gmx] "Florian Gross" <flgr@ccan.de> schrieb im Newsbeitrag
  126187 [batkins57 gm] Guess that's why they call him the Mystifier.... :)
  126192 [bob.news gmx] "Bill Atkins" <batkins57@gmail.com> schrieb im Newsbeitrag

^ Compiling native extension into Ruby
126055 [dave infoeth] charset=US-ASCII;
126056 [decoux moulo] you don't need to put it into ruby-1.8.2/ext
126058 [dave infoeth] charset=US-ASCII;
+ 126091 [kjana dm4lab] Then give the option to configure.  Ruby's configure passes unknown
+ 126128 [decoux moulo] There is a bug in extconf.rb for bdb, not really a surprise for me :-)

^ Kernel#eval and class definition
126062 [lists bertra] I try to understand more deeply what Ruby does.
+ 126068 [eero.saynatk] I'm assuming you have something passed to the function that you need
| 126120 [lists bertra] That shouldn't make a difference and, as far as I see, it
+ 126119 [bob.news gmx] "Bertram Scharpf" <lists@bertram-scharpf.de> schrieb im Newsbeitrag
  126123 [matz ruby-la] Thanks for explanation.  class definition in the method is prohibited
  + 126126 [lists bertra] Ah, thank you both.
  + 126129 [flgr ccan.de] There's also Class.new which will create an anonymous class. You can
    126159 [vjoel PATH.B] Better, in the sense that it takes a block (see below). But evaling a
    126256 [bob.news gmx] "Joel VanderWerf" <vjoel@PATH.Berkeley.EDU> schrieb im Newsbeitrag
    + 126258 [pit capitain] The def syntax lets you define methods with blocks, but it doesn't let you use
    | 126262 [bob.news gmx] "Pit Capitain" <pit@capitain.de> schrieb im Newsbeitrag
    + 126259 [decoux moulo] This is because you use strange name like #foo and "bar"and ruby don't
      126261 [bob.news gmx] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
      126263 [decoux moulo] yes,
threads.html
top