<erikh>
Banistergalaxy: why are you trying to replace a perfectly good tool?
<erikh>
(ack)
futurechimp has joined #ruby-lang
<shevy>
long live ruby!
<shevy>
down with the alternatives!
robertcarter has joined #ruby-lang
postmodern has joined #ruby-lang
postmodern has joined #ruby-lang
towski has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
roha has joined #ruby-lang
rzys has joined #ruby-lang
QaDeS_ has joined #ruby-lang
banisterfiend has joined #ruby-lang
bryancp has joined #ruby-lang
<banisterfiend>
erikh: it's not actually an outright replacement, just within the limited sphere of ruby code. Basically it's a ruby-aware ack that understands about method boundaries, see here: https://gist.github.com/2417846
<erikh>
oh, yeah. that's different.
<banisterfiend>
erikh: still it's replaced my main use-case of ack :)
<erikh>
ah
<banisterfiend>
but ack is still useful in other situations of course
fgomez has joined #ruby-lang
fgomez has joined #ruby-lang
rdavila has joined #ruby-lang
shevy has joined #ruby-lang
igotnolegs has joined #ruby-lang
<erikh>
yes
spuk has joined #ruby-lang
nif has joined #ruby-lang
fattastic has joined #ruby-lang
banisterfiend has joined #ruby-lang
pygmael has joined #ruby-lang
felipe__ has joined #ruby-lang
mbriggs has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
sc0 has joined #ruby-lang
Boohbah has joined #ruby-lang
rdavila has joined #ruby-lang
mbriggs has joined #ruby-lang
drumond19 has joined #ruby-lang
nif has joined #ruby-lang
Clordio has joined #ruby-lang
savage- has joined #ruby-lang
nif has joined #ruby-lang
gsav has joined #ruby-lang
publicvoid_ has joined #ruby-lang
pygmael has joined #ruby-lang
rdavila has joined #ruby-lang
chendo_ has joined #ruby-lang
asahi has quit [#ruby-lang]
fgomez has joined #ruby-lang
drumond19 has joined #ruby-lang
mistergibson has joined #ruby-lang
<mistergibson>
Question: with respect to file modes: is it ultimately a question of either text or binary mode? if binary is not specified, is it automagically going for a text mode variation?
<shevy>
what's with those nick folks who disappear :(
<yxhuvud>
shevy: lies, damned lies and speed comparisons. It depends on what you are doing.
benanne has joined #ruby-lang
Clordio has joined #ruby-lang
weeb1e_ has joined #ruby-lang
<shevy>
hmm
<mistym>
I know it's not designed for performance, but it's kind of charming seeing CINT with its score so many times bigger than the rest.
MDmalLION has joined #ruby-lang
<shevy>
hehehe
MDmalLION has joined #ruby-lang
felipe__ has joined #ruby-lang
asahi has joined #ruby-lang
MDmalLION has joined #ruby-lang
divoxx has joined #ruby-lang
<crankharder>
using define method, how do I define a method that has default values for its args? e.g. define a method that would be statically defined like: def foo(a=nil,b=nil)
<alindeman>
define_method :foo do |a = nil, b = nil| ... end
<alindeman>
1.9 only IIRC
<shevy>
cool
<shevy>
that works on 1.9.x?
<alindeman>
Yep
mangohuice has joined #ruby-lang
<shevy>
nice, works indeed
MDmalLION has joined #ruby-lang
<shevy>
hey
<shevy>
did anyone ever do... "gem install ruby" or ... "gem install gem"
<mistym>
"Could not find a valid gem 'gem'"
<shevy>
hehehe
<mistym>
yo dog I heard you like gems
<mistym>
Huh, the ruby one is weird though. "Could not find a valid gem 'ruby' ... Possible alternatives: ruby"
<jkyle>
anyone familiar with rubyrep? can't get it to properly connect, throws connection error though the credentials and permissions are verified
rippa has joined #ruby-lang
MDmalLION has joined #ruby-lang
MDmalLION has joined #ruby-lang
grin has joined #ruby-lang
flak has joined #ruby-lang
MDmalLION has joined #ruby-lang
<erikh>
rue: heh!
michael_mbp has joined #ruby-lang
MDmalLION has joined #ruby-lang
rippa has joined #ruby-lang
divoxx has joined #ruby-lang
bryancp has joined #ruby-lang
jtoy has joined #ruby-lang
Kero_ has joined #ruby-lang
<dontbecold_>
Any idea what would cause an SSL_read sslv3 alert bad record mac? It's not localised to Ruby but OpenSSL
MDmalLION has joined #ruby-lang
* Kero_
thinks timeshifts can trigger them, but you are unlikely to have been messing with the time on your machine...
<dontbecold_>
Kero_: nope, it only happens 1/20 as well making it difficult to debug
mbriggs has joined #ruby-lang
<Kero_>
that's different, indeed. I have no other ideas, atm
nif has joined #ruby-lang
srbaker has joined #ruby-lang
MDmalLION has joined #ruby-lang
naz has joined #ruby-lang
<jkyle>
ah, hm. the pg gem seems to have some very specific ruby version requirements. maybe that's it
grin has joined #ruby-lang
andrewhl has joined #ruby-lang
Kero has joined #ruby-lang
<jkyle>
seems to indicate that later 1.8.7 and all of 1.9.2 is not supported >.<
<any-key>
wait, what?
MDmalLION has joined #ruby-lang
<any-key>
I remember using pg with 1.9.2 via rails
MDmalLION has joined #ruby-lang
jperry has joined #ruby-lang
francisfish has joined #ruby-lang
MDmalLION has joined #ruby-lang
<rue>
Hidyho, Kero
MDmalLION has joined #ruby-lang
roha has joined #ruby-lang
rzys has joined #ruby-lang
MDmalLION has joined #ruby-lang
MDmalLION has joined #ruby-lang
t has joined #ruby-lang
IPGlider has joined #ruby-lang
MDmalLION has joined #ruby-lang
kain has joined #ruby-lang
Jake232 has joined #ruby-lang
datanoise has joined #ruby-lang
MDmalLION has joined #ruby-lang
MDmalLION has joined #ruby-lang
MDmalLION has joined #ruby-lang
<shevy>
long live ruby!
nofxxx has joined #ruby-lang
MDmalLION has joined #ruby-lang
MDmalLION has joined #ruby-lang
jperry has joined #ruby-lang
MDmalLION has joined #ruby-lang
Clordio has joined #ruby-lang
MDmalLION has joined #ruby-lang
Indian has joined #ruby-lang
MDmalLION has joined #ruby-lang
MDmalLION has joined #ruby-lang
jmcphers_ has joined #ruby-lang
adgar_ has joined #ruby-lang
bnagy_ has joined #ruby-lang
fireglow- has joined #ruby-lang
vargas_ has joined #ruby-lang
tdubellz has joined #ruby-lang
tdubz has joined #ruby-lang
Oloryn_lt11 has joined #ruby-lang
dubellz has joined #ruby-lang
wasnotrif has joined #ruby-lang
tr-808_ has joined #ruby-lang
t0h_ has joined #ruby-lang
tomb_ has joined #ruby-lang
znz_jp0 has joined #ruby-lang
wwkeyboard has joined #ruby-lang
Radium has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
machine1 has joined #ruby-lang
MDmalLION has joined #ruby-lang
dubellz has joined #ruby-lang
ruskie has joined #ruby-lang
MDmalLION has joined #ruby-lang
slyphon has joined #ruby-lang
FACEFOX-DOT-COM has joined #ruby-lang
MDmalLION has joined #ruby-lang
dubellz has joined #ruby-lang
jondot_ has joined #ruby-lang
<jondot_>
hello
<jondot_>
ive been through CLI frameworks like thor and rubikon, and opt parsing libraries such as slop and more.. and now having a new idea for a CLI app that would be more than just one-time tool
dubellz has joined #ruby-lang
<jondot_>
wondering if there are any trendy favorites here?
seungers has joined #ruby-lang
<shevy>
slop!
<shevy>
because injekt is usually here on IRC
<jondot_>
i see, thing is, this time its a more of a stateful app, rather than a commandline tool
<jondot_>
think it makes a difference?
<jondot_>
i know of a recent book on the subject (and accompanying lib) wondering if that cought on
FACEFOX has joined #ruby-lang
<shevy>
no idea
<shevy>
ARGV is the easiest way to get commandline information
jkyle has joined #ruby-lang
MDmalLION has joined #ruby-lang
<shevy>
if you dont need to use any "--" I would not even use any commandline parser at all
<shevy>
like --include_dir=/headers
<jondot_>
yea
dubellz has joined #ruby-lang
MDmalLION has joined #ruby-lang
MDmalLION has joined #ruby-lang
jstemmer has joined #ruby-lang
mistergibson has joined #ruby-lang
MDmalLION has joined #ruby-lang
MDmalLION has joined #ruby-lang
justinmcp has joined #ruby-lang
MDmalLION has joined #ruby-lang
jtoy has joined #ruby-lang
diegoviola has joined #ruby-lang
tekin has joined #ruby-lang
MDmalLION has joined #ruby-lang
MDmalLION has joined #ruby-lang
MDmalLION has joined #ruby-lang
bryancp has joined #ruby-lang
igotnolegs has joined #ruby-lang
MDmalLION has joined #ruby-lang
kiddorails has quit [#ruby-lang]
gouthamvel has joined #ruby-lang
gouthamvel has quit [#ruby-lang]
MDmalLION has joined #ruby-lang
MDmalLION has joined #ruby-lang
cdnz has joined #ruby-lang
MDmalLION has joined #ruby-lang
deobald has joined #ruby-lang
lsegal has joined #ruby-lang
kain has joined #ruby-lang
dubellz has joined #ruby-lang
mbriggs has joined #ruby-lang
benanne has joined #ruby-lang
MDmalLION has joined #ruby-lang
spuk has joined #ruby-lang
zmack has joined #ruby-lang
MDmalLION has joined #ruby-lang
jkyle has joined #ruby-lang
rzys has joined #ruby-lang
roha has joined #ruby-lang
Sailias has joined #ruby-lang
darkf has joined #ruby-lang
petercooper has joined #ruby-lang
voker57_ has joined #ruby-lang
voker57_ has joined #ruby-lang
tekin has joined #ruby-lang
imajes_ has joined #ruby-lang
hrnt_ has joined #ruby-lang
turbolih1s has joined #ruby-lang
Mch1 has joined #ruby-lang
any-key_ has joined #ruby-lang
dontbeco1d_ has joined #ruby-lang
nwkr has joined #ruby-lang
darix- has joined #ruby-lang
darix- has joined #ruby-lang
d1zzYLuL1 has joined #ruby-lang
tekin_ has joined #ruby-lang
tommyblu` has joined #ruby-lang
Radium has joined #ruby-lang
ryanf has joined #ruby-lang
canton7 has joined #ruby-lang
jaisoares has joined #ruby-lang
tallship has joined #ruby-lang
FACEFOX-DOT-COM has joined #ruby-lang
machine1 has joined #ruby-lang
jaisoares has quit [#ruby-lang]
FACEFOX has joined #ruby-lang
cesario has joined #ruby-lang
mbriggs has joined #ruby-lang
dominikh has joined #ruby-lang
Bwild has joined #ruby-lang
gix has joined #ruby-lang
postmodern has joined #ruby-lang
machine1 has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has joined #ruby-lang
mistym has joined #ruby-lang
workmad3 has joined #ruby-lang
zz has joined #ruby-lang
cantonic has joined #ruby-lang
Pip has joined #ruby-lang
<cantonic>
how long can an integer be?
seanstickle has joined #ruby-lang
kain has joined #ruby-lang
Pip has joined #ruby-lang
Pip has joined #ruby-lang
roha has joined #ruby-lang
rzys has joined #ruby-lang
fgomez has joined #ruby-lang
tomzx has joined #ruby-lang
naz has joined #ruby-lang
codewrangler has joined #ruby-lang
dumfries_ has joined #ruby-lang
<virunga>
cantonic, 2 ** 31
<cantonic>
virunga: i just wondered if I can save facebook user ids as integer
<cantonic>
but that should be enough i think...
rdavila has joined #ruby-lang
<virunga>
cantonic, there's BigInt also
<cantonic>
virunga: ok. maybe i should use this then
<cantonic>
thank you
Carnage\ has joined #ruby-lang
VegetableSpoon has joined #ruby-lang
WillMarshall has joined #ruby-lang
asahi has quit [#ruby-lang]
mistergibson has joined #ruby-lang
<RegEchse>
actually: if you're coding ruby you should _not_ worry about integer sizes. And if you think you should, ruby is probably not the right thing for the task.