210531-212639 subjects 210917-214802
210711 [transfire@gm] I managed to generalize my 'rubytest' this afternoon into a nice
+ 210713 [pat.eyler@gm] Trans,
| 210723 [transfire@gm] Ah, the one that allows C to be run in Ruby. Okay. I'll have to think
+ 210856 [transfire@gm] Wow. No one has any ideas on this? Hmm.. maybe a more specific
| 210864 [llasram@gm i] You could #eval the code in the subprocess. That seems like an easy (if
| 210948 [transfire@gm] Nice! I'll try that!
| 210954 [eero.saynatk] Marshall's solution should be just fine--however,
| 210959 [transfire@gm] Understood. I just haven't found a new name I like yet. It was called
| 210975 [chiology@gm ] ActiveTest
| 210981 [rsanheim@gm ] There is a Rails plugin called ActiveTest, so that ones taken too =).
| 211048 [chiology@gm ] Whoops!
+ 211074 [ryand-ruby@z] Me too! the name... RubyInline is alive and well-used so please don't
211083 [transfire@gm] Okay (for the third time).
Memory Leak Solved With Sync (no way)
210738 [zedshaw@ze s] 1) That's just how the OS accounts for memory (wrong since the processes
Off topic Linux memory management rant (was Re: Can Anyone Explain This Memory Leak?)
210742 [znmeb@ce ma ] As a performance engineer who works with managers and capacity planners
[ANN] Mongrel 0.3.13.4 Pre-Release -- Ruby's LEAK Fixed (Death To Mutex!)
210743 [zedshaw@ze s] Howdy Folks,
210755 [ara.t.howard] if you are really serious about fixing your leak i suggest you re-work your
+ 210773 [zedshaw@ze s] Ara, this is uncool. Seriously man, don't e-mail me personally and then
| 210790 [ara.t.howard] suspect it has something to do with all the recipients and the fact that it
| + 210795 [znmeb@ce ma ] [snip snip snip]
| | + 210809 [ara.t.howard] fortytwo :~ > cat /etc/redhat-release; uname -srm; cat /proc/cpuinfo; cat /proc/meminfo
| | + 210881 [zedshaw@ze s] Good question Ed, from what I know it was tested all over by most people
| + 210804 [khaines@en g] I have been playing with this all morning.
| 210943 [ara.t.howard] me too ;-) i took a few pages from your book and included some of the other
| 210988 [ara.t.howard] after a few hours i've finally seen the sync code cycle down after growing
+ 210779 [hutch@re ur ] I ran your test on OS/X looking at VSZ and RSS. And, like you,
| 210787 [hutch@re ur ] Well I tried your test on OS X. The Sync had no problem, the mutex
| 210823 [znmeb@ce ma ] Finally someone with some platform details!! <vbg>
| + 210863 [phurley@gm i] OS Name Microsoft Windows XP Professional
| + 210882 [zedshaw@ze s] This is exactly the problem I'm complaining about. It's not that Ruby's
| | 210892 [znmeb@ce ma ] And when a lazy garbage collector meets a lazy OS memory manager, all
| + 210926 [hutch@re ur ] Indeed.
| | 210928 [hutch@re ur ] Zed, this might be really bad or no problem at all. Is there a safe
| + 210927 [hutch@re ur ] Well I certainly hope it is superstition. But it is kind of like
+ 210889 [martin@sn wp] There's a problem with how this script measures its memory usage - it
+ 210893 [znmeb@ce ma ] You're assuming here that the OS is accurately counting RSS and that the
| 210920 [martin@sn wp] You're telling me I shouldn't be using %MEM. I already knew that, and
+ 210930 [ara.t.howard] good catch! i'm tweaking my script now....
Fun with setter functions
210744 [devlists-rub] I have a setter function in a class that I would like to pass additional
210782 [jan.svitok@g] Try
211079 [shortcutter@] Both approaches won't work as Ruby does allow only exactly one argument
[JOB] RoR Developers (4), Orlando, FL | 50-85k | Relo OK
210745 [beau@op n- o] RoR Developers (4), Orlando, FL | 50-85k | Relo OK
map and join or inject?
210749 [akonsu@gm il] given an array of strings A, i need to map a given function F to each
+ 210750 [erikveen@gm ] $ vi test.rb ; cat test.rb
| 210825 [akonsu@gm il] thanks, i did not know that one can count objects using ObjectSpace.
| + 210883 [brent.rowlan] It's true that map appears to create fewer objects, which may have some
| + 210904 [robert.dober] ...
| + 210947 [james@gr yp ] It has to do with the block you gave inject() and the definition of
+ 210752 [robert.dober] ...
210762 [robert.dober] ...
Ruby == how does it works?
210751 [efuzzyone@ne] Does the Ruby '==' operator compares the 'object_ids' of the element before
210754 [jtregunna@bl] Depends on how the object receiving it implements it.
+ 210824 [efuzzyone@ne] And how does hashes, and arrays implement it?
| 210846 [phurley@gm i] ri Hash#==
+ 210831 [phurley@gm i] More exactly == is a method ->
Why Ruby does not nead an ide
210756 [atbusbook@ao] 1: ruby is an efisiont clean languige that is digsined to minamize
+ 210759 [wccrawford@g] That's what's wonderful about Ruby, but that doesn't mean it doesn't
| + 210764 [work@as le m] I think it's fair to say that Ruby removes the *need* for an IDE but
| + 210765 [huw@DE TH SB] OK, let me say up front that (for, perhaps, obvious reasons) I have very
| 210768 [perrin@ap th] You don't say . . . !
| 210792 [znmeb@ce ma ] The same is true for Forth -- tersely expressed, an IDE built in from
| + 210821 [chneukirchen] A Smalltalk core likely would be bigger, since it has to do more.
| | 210838 [znmeb@ce ma ] Yeah ... for some reason, I'm the kind of hard-core geek that's supposed
| | 210855 [perrin@ap th] Hardly. EMACS is more than ten times the installed size of Vim. I've
| | 210906 [david@va ln ] Dear lord in heavens, for the love of all that's good and holy, not this
| | + 210923 [alex@bl ck e] Actually, I get bitten by this at least every week, but the other way
| | + 210961 [znmeb@ce ma ] I do it all the time with Windows "GVim". It's faster for me to
| | | 210968 [znmeb@ce ma ] Just as a side note, I don't currently have Eclipse installed on my
| | | + 210989 [headius@he d] ...
| | | | 211016 [znmeb@ce ma ] Uh yeah ... Eclipse is a Java IDE. As I noted elsewhere, "xemacs-sumo"
| | | | 211020 [headius@he d] ...
| | | | 211025 [perrin@ap th] Screw that. Real programmers use echo, cat, and redirects.
| | | + 210994 [david@va ln ] So, having done the empirical measurement of starting the bittorrent
| | | 211010 [znmeb@ce ma ] I only used the download size as an indicator of package size. I usually
| | | 211033 [david@va ln ] I'd scream very loudly and castrate anyone that would try and take
| | + 210967 [perrin@ap th] Yeah, 'cause things never add up.
| | 210990 [david@va ln ] 160 GB of hard drive space cost as much as a month of a 1 pack / day
| | 211002 [perrin@ap th] I don't own any 160GB hard drives. I have no use for them. My largest
| + 210834 [david@va ln ] Amen. All the arguments about code being equally easy to manipulate if
| 210866 [znmeb@ce ma ] Ah, but in my younger days I *could* completely rewrite a few thousand
| 210873 [headius@he d] ...
| 210886 [znmeb@ce ma ] I cheated ... I knew what the user wanted it to do. :)
+ 210835 [squeamz@ho m] One would wonder why he enumerated random unrelated points...
+ 210874 [julesjacobs@] grep?
| + 210875 [headius@he d] ...
| | + 210885 [znmeb@ce ma ] I don't know about Emacs, but xemacs-sumo was bigger than OpenOffice.org
| | | 210895 [efuzzyone@ne] Why do you need the sumo, if you only want to program? The sumo contains,
| | | 210971 [perrin@ap th] That would be me.
| | + 210907 [david@va ln ] Now this is one phenomenon I never understood. Why is that a good thing?!
| | 210914 [jeremy@ch os] Some people feel more secure if they're closer to the foundations.
| | + 210955 [znmeb@ce ma ] 1. As Eleanor Roosevelt said, "No one can make you feel inferior without
| | + 210973 [perrin@ap th] It's especially fun when someone using Esc+Meta+Alt+Ctrl+Shift makes fun
| | 210976 [znmeb@ce ma ] Uh ... cake || eat? That's an *inclusive* or, isn't it? :)
| | + 210977 [perrin@ap th] Good point.
| | | + 210987 [znmeb@ce ma ] If you bought a new PC with Windows ME installed, or if you wiped a
| | | + 210995 [david@va ln ] I know people who still use and adore that OS.
| | + 210978 [hal9000@hy e] Hmm, yeah... but it short-circuits, so if the first is true you
| | + 210980 [perrin@ap th] I take it you missed the earlier discussion re: static typing, in which
| | | 210982 [hal9000@hy e] I had a hard time filling in the last part, so I
| | | + 210983 [perrin@ap th] How 'bout just GWBASIC?
| | | + 210996 [david@va ln ] College freshman assembly? Hey, you could squeeze tens of CPU clock
| | | + 211030 [roerd@ar or ] Could "spaghetti code" be called a paradigm?
| | | 211040 [znmeb@ce ma ] Yes, indeed it could. And to add to my challenge, I asked for something
| | | + 211042 [TimHunter@nc] SCO
| | | | 211049 [znmeb@ce ma ] SCO is certainly a strong contender, but I'll have to veto RIAA. :)
| | | | 211066 [perrin@ap th] Really? You think the RIAA doesn't suck?
| | | + 211100 [martin@sn wp] Could I ask you to elaborate on this? In what manner does spaghetti
| | | 211162 [Bil.Kleb@NA ] Later,
| | + 210997 [david@va ln ] Hey, no touching *very* successful home gaming platforms - IIRC, the DOS
| | + 211005 [perrin@ap th] This is true, but . . . I let the MSDOS comment slide because of other,
| | + 211024 [billk@ct .c ] Apologies in advance for contributing to the [OT]ness...
| | 211036 [david@va ln ] Meh. The thread started with a rant, it was destined to sidetrack
| + 210876 [perrin@ap th] It's even more than an IDE. It's an operating system.
| | 210884 [znmeb@ce ma ] Ah ... but Forth is an assembler, language, interpreter, compiler, IDE
| + 210896 [efuzzyone@ne] It can be done, check out slime (mode for lisp).
+ 210878 [tbray@te tu ] I don't know, as a recent arrival from Java I sure miss my IDE.
210908 [david@va ln ] Komodo somehow managed the last time I tried with Python. It would offer
210921 [wccrawford@g] I just checked again, and their page say 'full support' for several
Cerberus 0.2.2 released
210760 [anatol.pomoz] I am glad to announce 0.2.2 version of Cerberus
Re: Why firstname.lastname@example.org does need a spellchecker
210769 [murdoc_0@ho ] Nothing really to say, just thought I'd make the subject a bit more appropriate.
210836 [david@va ln ] <troll>
+ 210887 [chiology@gm ] Please be kind.
| 211085 [robert.dober] ...
| 211093 [chiology@gm ] ;D
+ 211084 [murdoc_0@ho ] What's with the troll tags?
[ANN] Euruko 06
210770 [ s@xs .d ] Euruko06, the European Ruby Conference,
+ 210774 [chneukirchen] Whee! I'll be there.
+ 211211 [kero@ch ll .] How could I possibly NOT come :)
212341 [chneukirchen] And you don't even need to camp this year... ;-) (But I bet you do it anyway?)
212550 [kero@ch ll .] I can't!
212798 [chneukirchen] Well, you gotta stay on a bench in the Englischer Garten, then. :-P
Re: Mongrel 0.3.13.4 Pre-Release -- Ruby's LEAK Fixed (Death
210775 [wccrawford@g] Maybe he simply cc'd you on the reply to the list? I doubt it was a
hiding salt with C
210784 [cdc@cy he s.] Does anybody know of an existing C extension that interfaces with ruby
+ 210803 [phurley@gm i] I would suggest just compressing your salt and using zlib to
+ 210832 [interfecus@g] The salt doesn't need to be secret. The whole point of modern
Re: Duck typing alows true polymorfisim [Hoff Topic]
210788 [david@va ln ] Wooer. Troll fight over Ruby? (Spot the book reference and win...
210796 [hr7376@gm il] ...
[ANN] Ruby-VPI 0.9.2
210798 [skurapat@uc ] Ruby-VPI is a Ruby interface to Verilog VPI. It lets you create
Deep Integration of Ruby with Web Ontology Language
210802 [paulseni@un ] I've read a paper about an early prototype implementation of the deep
210938 [lyle.johnson] I try to keep up with this as well, and as far as I know, ActiveRDF is
Drb through NAT/firewall problem
210810 [philippe.lan] charset="us-ascii"
Re: My book is out -- Ruby on Rails: Up and Running
210811 [jp@je fp it ] Elliot, why do some people get annoyed by "top post's"? Seems perfectly
+ 210816 [wccrawford@g] I think http://www.catb.org/jargon/html/T/top-post.html sums it up
| 210848 [amrmalik@gm ] Thanks for the links, although I'd have to disagree with your line of
+ 212532 [reply-in-gro] ...
Referencing an object through it's id string.
210813 [alexandre.hu] through foo.object_id for instance?
+ 210819 [ezmobius@gm ] ObjectSpace._id2ref(object_id) -> an_object
+ 210830 [david@va ln ] Considering that object ids are only valid throughout one interpreter
| + 210868 [kbloom@gm il] Have a look at how weakref.rb is implemented. It keeps track of the
| | 210912 [david@va ln ] I figured as much, but that was the only behaviour I could think of that
| + 210919 [alexandre.hu] Thanks for the information!
| 210922 [david@va ln ] Is this a web application? (Rails maybe? Seeing as the words template
+ 210854 [eero.saynatk] obj = ObjectSpace.id2ref object_id
[Nitro] LoadError occured when requiring 'part/admin'
210820 [munouzin@gm ] I've upgrade Nitro and it's family gems to the newest ( Nitro 0.31.0
210837 [james.britt@] James Britt
Matz' Wild Ideas: Annotations
210828 [transfire@gm] I was looking at Matz' Wild and Weird ideas . He talks about
+ 210891 [chiology@gm ] module Annotate
| + 210898 [transfire@gm] To be annotations though, they really need to be accessible and
| + 210905 [david@va ln ] To add some more confusion, I would have thought first-class annotations
+ 210939 [garbagecat10] ...
| 210970 [chiology@gm ] class X
| + 210979 [garbagecat10] ...
| + 211531 [transfire@gm] FYI. I'm working on this for next version of Facets' Annotations
+ 210986 [pgquiles@el ] charset="iso-8859-1"
Nuby with instance_eval question
210829 [geofflbarnes] 1 class Klass
210952 [eero.saynatk] You are creating a closure here and, since 'chum' exists in
210966 [geofflbarnes] Blocks passed to instance_eval are still bound to where ever they were
[ANN] Piston 1.1.0
210833 [francois.bea] Piston is a utility that enables merge tracking of remoterepositories. This is similar to svn:externals, except you have alocal copy of the files, which you can modify at will. As long as thechanges are mergeable, you should have no problems.
Casting string to IO?
210839 [adam@us .n t] I'm reading log file settings from a YAML file. Since Logger.new can
+ 210849 [eero.saynatk] The problem is that you are not casting, you are dealing with
+ 210860 [llasram@gm i] require 'logger'
| 210888 [adam@us .n t] Very nice! Thanks!
+ 210913 [david@va ln ] <pedant>
logging a backtrace
210840 [snacktime@gm] If I catch an exception, is there a way to produce a backtrace that I
210861 [ezmobius@gm ] rescue Exception => e
210869 [snacktime@gm] Thanks, that's just what I was looking for.
[OT] Re: Why Ruby does not nead an ide
210842 [david@va ln ] Pathological incoherence. Just check his other threads.
Re: ruby-lang down?
210851 [djberg96@gm ] I can't get to it either. Also, it appears the gateway is having
210877 [djberg96@gm ] Seems both are back up.
Ruby IP to Location
210857 [payscroll@gm] Hey folks
210862 [jtregunna@bl] There's hostip, but it's only really accurate on the country level.
What am I doing wrong? -Chat server code-
210859 [curtis.zimme] I am running ruby 1.8.6 on WinXP.
+ 210871 [nospam@no it] / ... snipped code listing
| 210880 [curtis.zimme] First of all, thanks for helping me out. I had a problem that I
| 210894 [nospam@no it] I wanted to know whether the IBM site contained code with an error in it, or
+ 210946 [alex@bl ck e] Really? What does ruby -v say?
[ANN]: Pandora 0.4.4 Release
210872 [julian.kamil] I am pleased to announce that Pandora 0.4.4 is now available to the
Best practice? own libs
210897 [rubyforum@co] I'd like to ask you for your recommendations. I
+ 210900 [transfire@gm] Depends on your needs. But #1 and #3 aren't portable. #2 is the right
| 211017 [jes@lu et nk] Go for RubyGems. They're simple to generate and even simpler to use. I am
+ 211232 [drbrain@se m] ruby -I in your rake/make testing rule.
211477 [rubyforum@co] thanks all for your suggestions. I think that I go for changing $: for
Ruby threads and the system call
210901 [vincent.four] ...
+ 210918 [nospam@no it] / ...
| 210972 [vincent.four] Great thanks, I had completely forgotten to call join for the
+ 210932 [garbagecat10] ...
Ruby ID3 script
210909 [joao.michiga] ...
Ruby Cookbook vs Programming Ruby
210915 [joao.michiga] ...
+ 210916 [sambient@gm ] Your not comparing apples to apples here. Both serve seperate
+ 210929 [m_goldberg@a] Both are worth having, but if you can really only afford one, I