217850-222823
217620-219844 subjects 218035-219064
^ [ANN] Southeast Michigan Ruby Users Group. Meeting Oct 3rd at 7:00pm in 1200 EECS (UofM)
217850 [winstont umi] The Southeast Michigan Ruby Users Group will be meeting tonight (October
^ Finding the file version of a win32 dll in Ruby
217856 [canuckdba gm] Is there a way to determine the file version attribute in win32 using Ruby?
217860 [jan.svitok g] module Win
217861 [jan.svitok g] ...
217876 [canuckdba gm] Thanks, I'll take a look.
^ [ADV] Nw version of the TextMate book is available
217859 [dave pragpro] I've uploaded the B1.02 version of Jame Edward Gray II's TextMate
+ 217862 [leslieviljoe] I got to use Textmate over the weekend for the first time. I *wish*
+ 217869 [james graypr] Tsk, Tsk, Dave. The very first snippet I build in the book fixes
^ Using Each to Iterate
217870 [ no no.com] Greetings all.
+ 217877 [mariano.kamp] Not sure what you are trying to accomplish here?
| 217880 [MonkeeSage g] As Mariano said, you don't have a yield anywhere and are not calling
+ 217879 [nospam nosit] / ...
+ 217887 [jeffnyman_no] [Sending this from another account, so I'm sorry if this double-posts.]
+ 217894 [mariano.kamp] I have the feeling that you didn't figure it out completely yet.
| 217895 [jeffnyman_no] You are correct, as it turns out. :)
| 217898 [mariano.kamp] Actually you can't. You are just not calling this each method.
| 217922 [jeffnyman_no] $stepList.append(Step.new(firstStep, thisStep, thisFilter))
| 217947 [mariano.kamp] Then the information printed after the 2nd comma is the filter and
+ 217913 [emschwar pob] I think you're doing yourself a disservice here. Remember duck
^ apache upgrade in instant rails
217896 [rxv hotmail.] I have installed instant rails 1.1 which includes apache web server 1.3.33.
217897 [ml.chibbs gm] No, this won't work because Instant Rails will try to update the
^ NET::HTTP behind a firewall?
217903 [kristapestry] I recently deployed an app to my production server that accesses other
+ 217904 [cdcarter gma] Open port 80 outgoing.
+ 217907 [nospam nosit] What? Your firewall blocks outgoing port 80 requests? This is possible but
+ 217908 [garbagecat10] This sounds like a dumb enough question that I have to ask how you know the
217909 [jtregunna bl] Outgoing connections are almost always made on high ports. It doesn't
+ 217916 [garbagecat10] The port bound to the *local* side of the TCP connection will (probably) be
+ 217917 [kristapestry] Jeremy, thanks for the help. I knew the outgoing connections were made
+ 217918 [jtregunna bl] I'm not familiar with iptables, so I cannot tell you. But considering
+ 217919 [kristapestry] Francis, I do not know much about iptables so I am using the KISS script
217921 [garbagecat10] # TCP OUT
217933 [kristapestry] Yes, eth1 is the public nic. I can not ping anything with the firewall
217934 [kristapestry] and here is the output of iptables -L...
+ 217938 [garbagecat10] DROP tcp -- anywhere anywhere tcp
+ 217940 [garbagecat10] Sorry, I meant you won't be able to complete TCP connections that you
217951 [kristapestry] Not sure what is going on with this thread but hopefully this post makes
+ 217955 [kristapestry] I tried removing the SYN rules and various other ones with no luck. I
+ 217963 [nospam nosit] In that case, look into how your system resolves names into IP addresses. Do
+ 217975 [garbagecat10] There you go, that's good information. You need to look at how the server is
218025 [kristapestry] Thanks, it turns out that my previous fix was only temporary which made
218033 [garbagecat10] I think I remember seeing a rule that inhibited outbound connections of any
218041 [kristapestry] I beleive this rule should enable me to reach the DNS servers from eth0
218046 [kristapestry] In the output of kiss when it starts I noticed there appears to be an
^ Win a X_Box 360
217910 [gilles168 sy] Hey, click here and we can both get a free XBOX 360
+ 217923 [interfecus g] Will it have Ruby installed?
+ 217986 [amos.l.king ] Wow, sending crap like that to a list. thanks for wasting my space.
^ cannot connect to mongrel running typo
217914 [bradphelan g] I just installed Typo 4 on my Ubuntu box. I run
217915 [jan.svitok g] 0.0.0.0 means 'any' or 'all' addresses, i.e. if your box has two
217952 [bradphelan g] Active Internet connections (servers and established)
218048 [jan.svitok g] Right. The output seems fine. I don't have a clue what could be the
+ 218114 [phelan tttec] I gave that a go but no joy
+ 218250 [bradphelan g] Tried webbrick and that still doesn't work. I am puzzled!
218259 [paradisaeida] Howsabout running ethereal to see if traffic is getting to the IP
218329 [phelan tttec] Seems to be a bigger problem not just with mongrel. I tried in one
^ Re: Nw version of the TextMate book is available
217926 [madeonamac g] Simplicity + Elegance = Power
^ Re: eval confusion
217927 [nobu ruby-la] This block_given? sees the context where define_method is
217957 [hungrylist g] Thank you for replying and for the note on 1.9 very interesting!
^ portable script deployment
217930 [eegreg gmail] I am trying to deploy several ruby scripts in a unix environment. My
^ Ruby/Opengl and RUDL
217931 [pinkmanonfir] I am using RUDL, to create a 2D engine in Opengl... I cant find anything
218021 [billk cts.co] Is the lag the same, no matter what size the polygons are? I.e. if you
+ 218030 [jameskilton ] You're gonna have to post your drawing code. Also, do you have a GFX? or are
+ 218051 [pinkmanonfir] I was thinking it was most obviously the polygons size, and how close it
218138 [jameskilton ] Your code looks fine, it's using what's called Immediate Mode and with only
218144 [pinkmanonfir] I do not have a graphics card.. but im not sure if that would explain
^ Re: Recommend a hosting company?
217935 [rubygrl ruby] I was hosting with site5 but their support was terrible I finally had to
+ 217936 [dsledge appr] charset="iso-8859-1"
| 217944 [rubygrl ruby] Looks like they have the same problem as site5. Will they allow me to run
+ 217984 [amos.l.king ] This site has a one free year deal that I used. It works great and
217988 [jcribbs netp] I highly recommend Rails Playground. Joe Clarke has responded to every
^ Help with MS ActiveDirectory access
217937 [cparticle gm] Hey All,
+ 217941 [garbagecat10] You don't say whether you've tried a standard LDAP approach (look at Ruby's
+ 218014 [cparticle gm] I've done some more searching
222316 [cparticle gm] OK After much pain and heartache I managed to finally get an account
222329 [garbagecat10] Did you try Net::LDAP#add?
222822 [cparticle gm] Below is my attempt to create and account using the Net::LDAP#add
^ Using a Regexp to find a Hash Key?
217939 [ken metaskil] ...
217942 [nospam nosit] This is possible, but it is rather cumbersome and slow, since the regexp has
+ 217968 [ken metaskil] ...
| 217970 [pbattley gma] Very postmodern!
| 217971 [ken metaskil] I sent an new one out right after this.
| 217972 [MonkeeSage g] def foobar(params)
| 217982 [MonkeeSage g] Actually, make that #find rather than #select, so that iteration stops
| 218066 [ken metaskil] Actually, that was very good advice, THANK YOU!
+ 217969 [ken metaskil] I sure could...
217974 [dblack wobbl] I'm having trouble following this thread, because some message bodies
^ rb_funcall() Ruby code callback invoked from within a native thread?
217945 [serge.kruppa] Dear All,
217950 [garbagecat10] You're making some assumptions here which I think are challenging. Whenever
218009 [serge.kruppa] Actually, the EventMachine library looks like a fantastic solution!
218013 [garbagecat10] Without knowing enough about your application, my reaction to your question
218130 [serge.kruppa] An issue we have is that all our code must run in an embedded Ruby
218156 [garbagecat10] The best way to structure an event-driven program (or a traditional program
218395 [serge.kruppa] Please allow me to sidestep for a moment on our current thread of discussion
+ 218403 [garbagecat10] We solved the binary-gem issues with Windows quite a while ago, but have yet
+ 218555 [garbagecat10] Serge, thanks for sending me your code snippets. In regard to the problem
^ Multiple clinets on a TCPServer
217946 [unni.tallman] I want to have a single TCPServer (with a particulat IP and port
217956 [wuttke1 web.] - Good luck, Joachim
217962 [piet.haderma] I used this as introduction to ruby socket stuff when writing a VIP to ansi/vt100 gateway. (VIP is an ancient 70's or so form-based terminal protocol from Bull)
^ need help with narray: how to return an array from a C-extension
217953 [wuttke1 web.] I am writing my first C extension module to ruby, and I need a little
+ 217958 [max maxidoor] VALUE my_function(VALUE self, VALUE param) {
+ 217961 [masa16.tanak] I recommend not to manipulate the C structure of NArray
^ ruby and variable names
217964 [aidy.rutter ] I have noticed Ruby coders using 1 character variables names (e.g. t,d)
217965 [xennocide ya] It's done mostly because of laziness, usually when you're just using the
217966 [pseudo.meta ] No. It's more an idiomatic aspect of good programming style. It's
217967 [MonkeeSage g] Also note that code posted to newsgroups and mailing-lists is usually
^ How to DRY this?
217973 [peter rubyra] I have two very similar code snippets in two different methods, and I am
+ 217976 [benjohn fysh] Pull out the loop logic in to another method...
| 217980 [jean.helou g] great !! I like yours better, now I wish I hadn't tried :)
| 217983 [benjohn fysh] Well, thanks, but don't let that put you off (or I'll wish I hadn't).
+ 217977 [jean.helou g] interesting question ...
+ 217978 [ruby-talk ba] how about (untested)...
+ 217981 [kbloom gmail] Option 1: don't. It's a very small snippet of code.
+ 217985 [znmeb cesmai] 1. You are "pushing" elements and element names. Are you "pulling" or
+ 218026 [SimonKroeger] def ancestors element
^ Equvialent of Python slices?
217979 [peter rubyra] Sorry for the lame question again, but even after a lot of googling I
217987 [james graypr] => "asdfghj"
217990 [djberg96 gma] Interesting, though I'm surprised Python has explicit syntax for what
+ 217992 [MonkeeSage g] In ruby you can extend built-in objects, so you can get the same
+ 217994 [logancapaldo] I can see it logically, test[start position, length]. A negative one
217996 [djberg96 gma] Ok, I just need to remember the second value is a length, not an index,
^ Context of an Error
217989 [transfire gm] I feel like I should know how to do this already, but... How do I get
+ 217991 [ara.t.howard] but, imho, that's not the context. the context would be 'dosomething' ? can
+ 218067 [logancapaldo] class Object
218147 [rick.denatal] Perhaps this should be
218151 [logancapaldo] Well actually if I put it in Object and raise is defined in Kernel that
^ RubyConf hotel
217993 [matt technor] I made my reservation yesterday and was told that the convention rate for
217995 [james graypr] Well, if you don't mind changing locations Denver has no shortage of
^ Enterprise-Ruby Wish List by Francis Cianfrocca
217997 [enogrob hotm] In all the recent talk (some would say hype) about the Ruby programming
218006 [vjoel path.b] Why no mention of http://www.pragmaticprogrammer.com/titles/fr_eir/ ?
218007 [garbagecat10] I'm guessing that you're asking why I didn't mention that book (or any
+ 218010 [vjoel path.b] Francis, you make good points in your reply (snipped). I was asking why
| 218017 [garbagecat10] Ah sorry, thanks for clarifying. I suppose the operative word in my sentence
+ 218012 [jtregunna bl] Not necessarily. I mean, I have Ruby experience, but if I didn't, I
| 218019 [garbagecat10] product *that supported JMS* ...... and happened to be written in Ruby.
| 218208 [brianm apach] How about one written in Java which supports Ruby (and C, Python,
| + 218213 [garbagecat10] Thanks, Brian. Actually I know a fair bit about ActiveMQ, and it's the main
| | + 218219 [ara.t.howard] please release early! i've been looking for such a beast to base a
| | + 218242 [brianm apach] How is it difficult to use?
| | + 218519 [david vallne] of
| | 218529 [garbagecat10] Also, the overgeneralising vaguely to nag at [insert name of language
| + 218495 [snacktime gm] Any plans on adding ssl connectivity to the ruby stomp gem? And has
| | 218500 [brianm apach] Certainly doable, I just have always used it on trusted networks :-)
| | 218543 [snacktime gm] Well, after playing around for only an hour I managed to run into this
| | 218580 [brianm apach] Did you use 4.0.1 or the upcoming 4.0.2 (in RC and being voted on
| | 219426 [snacktime gm] I was using 4.0.1. But 4.0.2 is even worse. In addition to the bug
| + 218659 [timuckun gma] I took a brief look at activemessaging. Looks great. Then I take a
| + 218662 [khaines enig] I'm interested. Give me a good DBD::ADO and I'll get it added to DBI.
| + 218664 [ara.t.howard] google 'rpa' (ruby production archive). for some reason, it didn't take off
| 222663 [timuckun gma] I googled RPA and all I got was a wiki filled with spam.
| + 222773 [halostatue g] Better yet: don't. Better to use a Wiki that does other proactive
| | + 222778 [vjoel path.b] What about quizzing the user on ruby?
| | | 222781 [james graypr] James Edward Gray II
| | | 222783 [vjoel path.b] That quiz must have been kicking around my subconscious....
| | + 222823 [znmeb cesmai] Yeah ... it took me five tries to get by a captcha yesterday. The
| + 222775 [ mfp acm.org] I have restored most of the wiki (http://rpa-base.rubyforge.org/) and disabled
+ 218027 [ara.t.howard] well, i heard you can catch java - that'd scare me off.
+ 218034 [garbagecat10] Fair enough. But if you were the Java programmer in this example, would you
| 218045 [richard.conr] Well as one of those java programmers who is really seriously looking at
+ 218047 [robert.dober] AFAIK you cannot "catch" unless you "try"
^ Better ruby way for caseing on class?
217998 [ecbearden gm] [Kernel,String,Object].each do |klass|
+ 217999 [james graypr] Sure. Drop the call to to_s() and the ' .. 's around the class
| + 218000 [gavin.kistne] Er...not quite, because (in his example) he has class objects, not
| | + 218002 [james graypr] Egad, very good point. I apologize.
| | | 218003 [gavin.kistne] [Kernel,String,Object].each do |klass|
| | | 218220 [ecbearden gm] yep that will work and looks like a reasonable alternative.
| | + 218217 [ecbearden gm] I'm actually dealing with classes. not instances thereof.
| + 218001 [jan.svitok g] while yours will match any Object.
+ 218005 [shortcutter ] [Kernel,String,Object].each do |klass|
+ 218015 [ara.t.howard] well, the code you have above is exactly equivalent to this
218221 [ecbearden gm] Hmmm. This is the most interesting approach.
^ export environment variable
218008 [mkhan lextra] I would like to accomplish something like this in a ruby script
218011 [Gennady.Byst] ENV['RUBYLIB'] = File.expand_path('~/MyLib/')
218018 [mkhan lextra] This is going to be local to the script.
218023 [jan.svitok g] As far as I know, you can't do that even in bash (that = export
218028 [Gennady.Byst] It will be for this script and all processes it spawns. Exactly how
^ druby using just IP addresses
218016 [alex deletem] I'd like to use druby, but with the client using just an IP address to contact the server, and vice versa. The initial connection works fine, but then it seems the server can't find the client to send a reply when a method is invoked.
+ 218020 [vjoel path.b] Probably someone has suggested this before, but have you tried
+ 218024 [binary42 gma] I'm not sure what isn't working for you with out some code. I do have
| + 218029 [shortcutter ] Adding to that: it might well be that you are trying to do things in
| + 218032 [alex deletem] Thank you, that was it. Added an explicit IP address on the client side made it work fine.
+ 218200 [drbrain segm] DRb uses Socket.gethostname to determine the hostname. If you don't
^ [ANN] Hoe 1.1.0 released
218022 [ryand-ruby z] hoe version 1.1.0 has been released!
^ What is the reason for this syntax?
218031 [darkintent g] having a great time with the language but a few things bother me about
+ 218036 [rajeev.netwo] 1. That is how it works and for me syntax #2 looks more easier.
+ 218037 [vidar edgeio] In Ruby an expression continues on the next line if syntax
| 218436 [xennocide ya] So why can't the parser continue a statement on to the next line if the
| 218466 [ruby-ml kitt] =20
+ 218038 [lopx gazeta.] In ruby statements are terminated by newlines and block is a parameter
+ 218039 [gwtmp01 mac.] Blocks are part of the syntax of a method call (do/end or {})
| 218059 [ihatespam ro] Just to add to a very good response to the original post...
| 218256 [darkintent g] Thank you all for your explanations of the syntax I pointed out. All I
| 218284 [david vallne] Not in a semicolon-free language, I'm afraid. And if nothing else, this
| + 218295 [Charles.O.Nu] Well let's not go too far down that path, now, or we might add something
| | + 218302 [david vallne] I like Python syntax, actually. It just takes a while for your brain to
| | + 218306 [louis.j.scor] Exactly what I was thinking. On the other hand, although I don't care
| | 218339 [jean.helou g] As far as I know nothing prevents you from using a semi-colon at the
| | 218397 [louis.j.scor] Sure you can, but that solves a different problem really. If you want
| | 218430 [darkintent g] People really should be able to write code in the way that they
| | + 218435 [alex blackke] Sorry for jumping in mid-thread, but...
| | + 218439 [gwtmp01 mac.] I'm not sure where you are going with this but I think it is terribly
| | + 218493 [david vallne] Let me introduce you to Real Life. This specific variant of that
| | | 218501 [darkintent g] I don't think of the blocks in the same way the real problem is that
| | | + 218510 [louis.j.scor] I'm not sure what you are asking for in that case. How is a language
| | | | 218513 [darkintent g] Thats why I keep sayind defacto (by default) in other words this style
| | | | + 218517 [louis.j.scor] I know you didn't think it was a conspiracy or anything =)
| | | | | 218518 [MonkeeSage g] Coding conventions (like where you place your braces in C) are
| | | | | + 218521 [darkintent g] What you say is valid and gets right to what I am really trying to get
| | | | | | 218941 [halostatue g] It's not too strict. You're wanting something unreasonable. Most of us
| | | | | + 218527 [louis.j.scor] Correct. The issue is how the language decides to draw the line
| | | | | + 218533 [MonkeeSage g] Me? I don't mind justified syntax rules; but I don't like the coding
| | | | | + 218534 [MonkeeSage g] Me? I don't mind justified syntax rules; but I don't like the coding
| | | | | + 218535 [MonkeeSage g] Me? I don't mind justified syntax rules; but I don't like the coding
| | | | | 218537 [MonkeeSage g] Ack...sorry. Google acting up again.
| | | | + 219041 [tom.armitage] I want to go back to this.
| | | | + 219068 [znmeb cesmai] Yeah, but you don't *have* to write hideously obfuscated one-liners in
| | | | + 219299 [rick.denatal] Hear, hear!
| | | | 219617 [darkintent g] So I take it you all just assume that people know the same things you
| | | | + 219629 [rimantas gma] I think it is well within human capacity to accept some rules of the language -
| | | | + 219635 [tanner.burso] I can understand the "problem" you are trying to address, but please, use
| | | | | 219638 [darkintent g] The Firefox developers have been busy for about five years telling
| | | | | + 219639 [darkintent g] damn double post wierdness sorry. :)
| | | | | + 219663 [halostatue g] It wasn't just said: it was explained. Why does Firefox need an
| | | | + 219644 [zedshaw zeds] Damn, I wish all my programming problems were just how the source should be formatted. I've gotta wrestle with arcane paragraphs inside weird parts of RFCs that are damn near impossible to implement without huge hacks. Then there's the problem of how to keep Ruby from crashing when the very latest bug in 1.8.5's IO comes up. Or, how to keep the memory consumption down without requiring people to patch Sync or array.c themselves. Or even whether Ruby is worth using in my next projects considering two more versions are coming out and there will be incompatibilities. I then worry about the cryptographic design of my latest project and whether allowing random channel identification in the AAD of ECC encrypted packet headers allows for client interaction leakage.
| | | | | 219648 [darkintent g] Duh I never said it was did you read the starting post so exactly what
| | | | + 219662 [halostatue g] Not at all. Speaking as someone who's been at the software development
| | | + 218523 [david vallne] It's not about personal preference, it's about accepted conventions.
| | | + 219149 [comp.lang.ru] _ It's NOT a formating convention. Newlines are end of statements
| | + 218507 [hal9000 hype] You're misunderstanding. It's not that anyone particularly was in love
| + 218337 [pseudo.meta ] So, use a '\' at the end of a line to indicate it continues on the
+ 219706 [rpardee gmai] I confess I haven't really followed this thread carefully, but--I
219708 [dblack wobbl] When you're using Ruby, it's best just to come from Ruby. Then you
+ 219713 [znmeb cesmai] Nor does the converged spoken language have to be called English. :)
+ 219738 [rpardee gmai] But isn't almost everybody coming from *somewhere*? This seems to me a
+ 219761 [halostatue g] No change is cost free, and this is a lose-lose proposition.
+ 219763 [dblack wobbl] But then if a Rubyist starts learning Java, Java has to change to make
219779 [darkintent g] Personally I don't think else if needs to be an actual reserved word.
219780 [darkintent g] I wanted to add that it may not be so advantageous to have so many
+ 219789 [shevegen lin] I like ruby elsif.
+ 219886 [halostatue g] Oh, please. Your thoughts here are naż×e, at best. Let's pick on one
219897 [darkintent g] All I said was that perhps there needs to be a movement to remove some
219916 [halostatue g] These two issues are completely unrelated; trying to relate them is a
219919 [rick.denatal] What do you call someone who speaks two languages?
+ 219932 [matt technor] You do realize that the standard for French is maintained by a committee.
+ 219934 [darkintent g] Having ten dialects of the same language does not nessecarily improve
219943 [halostatue g] post on the topic. This isn't a matter of having to have the last
219947 [darkintent g] Just because creating commonality almost always requires supression
+ 219950 [darkintent g] I would also suggest you actually read what I said about the
+ 219983 [david vallne] Well, this has sidetracked beyond all repair, but here's my two cents as
+ 220022 [tom.armitage] the old chestnut that is the (moderately controversial) Sapir-Whorf
220023 [pseudo.meta ] Absolutely. Good programmers should ensure where possible that they
220056 [darkintent g] Who said you had to force anything? Why do you assume that in all
+ 220067 [ljz asfast.c] Well, in general, I agree that it would be beneficial if some sort of
+ 220068 [xennocide ya] While you can express most things in most languages, some are just
+ 220070 [louis.j.scor] Kevin;
| 220083 [darkintent g] If you read up a few posts you will see that someone other than myself
| + 220086 [rimantas gma] <...>I actually responded to this person musing that
| | 220093 [david vallne] XHTML1.0 served as text/html, or application/xhtml+xml? *ducks*
| | 220122 [darkintent g] If you can't understand what someone was responding to who are you to
| | + 220124 [dblack wobbl] if false
| | | + 220125 [Fdavis usban] If you can't understand what someone was responding to who are you to
| | | + 220126 [wilsonb gmai] ...
| | + 220128 [jonathan.wal] I apologize if I misunderstood your point. As I mentioned before, I've
| + 220092 [jonathan.wal] I apologize in advance for adding to an already off track thread. The
+ 220085 [david vallne] You did?
threads.html
top