#apache #archlinux #asterisk #centos #debian #gentoo #haskell #kde #kubuntu #lisp #math #mysql #perl #python #ruby-lang #rubyonrails #suse #ubuntu #vim #wikipedia 0 1 2 3 4 5 6 7 8 9 10 11 12
Top Prev 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 Next
#ruby-lang
<slyphon> ruskie: srsly?
<ruskie> yeah
<teferi> yes it can
<teferi> open /dev/tcp/host/port and do things to it
<dmn> hello again
<ruskie> yup that way
<slyphon> teferi: omg
<teferi> (yes, /dev/tcp doesn't exist. it's a bashism)
<matthw> LAST_ARG=`echo $* | sed "s/^.* \(.*\)$/\\1/"`
<matthw> :)
<matthw> i hate bash.
<dmn> "warning: parenthesize argument(s) for future version" - why ? is something going to change in that area ?
<ruskie> $@ better
<tpope> in the distant future, probably
<ruskie> anyway so OT now... and it's 0109 so I'm off to bed...
<matthw> what does $@ do?
<dmn> tpope and how exactly and why ?;]
<imperator> greetings and salutations
<tpope> because you used something that was kind of ambiguous like foo bar baz, quux
<tpope> is it foo(bar(baz,quux))?
<tpope> or foo(bar(baz),quux)
<slyphon> or are you not using scheme?
<dmn> it's not at all ambiguous if you set some clear rules, like in SML, or Haskell for example
<slyphon> dmn: oh ffs
<teferi> dmn: you haven't looked at parse.y recently
<dmn> indeed, i haven't.
<slyphon> yeah, go write some useful software in Haskell
<teferi> perhaps you should.
<ruskie> matthw, it prserevs double quoted stuff
<ruskie> matthw, man bash has it described
<ruskie> other than that it's same as *
<tpope> dmn: okay, not ambiguous, confusing
<flori> i like man bash
<tpope> I do wish I could leave off the outer most set sometimes though
<tpope> sometimes where it warns
<flori> ...if i have difficulties to sleep
<slyphon> ambiguous to the parser
<dmn> ah, so it's a design choice, not an ambiguity. fair enough.
<tpope> well slyphon implies it really is ambiguity
<tpope> perhaps he can enlighten you
<slyphon> "man mount" always sounded a bit riske` to me
<slyphon> risque, rather
<teferi> risque`
<dmn> as i said - it's a matter of setting a few rules, but apparently that is not the intention of ruby developers
<dmn> oh well
<tpope> what are you trying to do that it warns about
<imperator> slyphon, chill dude
<tpope> nvm later
<ruskie> anyway off to bed...
<slyphon> imperator: long week
Previous Page Next Page