apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
maz-dev has quit [Remote host closed the connection]
Lewix has joined #ruby
marcdel has joined #ruby
jkline has quit [Quit: jkline]
justsee has joined #ruby
ephemerian has quit [Quit: Leaving.]
jibi has quit [Ping timeout: 252 seconds]
seoNinjaWarrior has quit [Quit: Computer has gone to sleep.]
burlyscudd has quit [Ping timeout: 240 seconds]
tjad has joined #ruby
jibi has joined #ruby
arusso is now known as arusso_afk
seoNinjaWarrior has joined #ruby
seoNinjaWarrior has quit [Client Quit]
b00stfr3ak has quit [Ping timeout: 272 seconds]
twoism has quit [Ping timeout: 240 seconds]
reset has quit [Ping timeout: 272 seconds]
cogen has quit [Ping timeout: 250 seconds]
RichardBaker has quit [Quit: RichardBaker]
Mars` has quit [Ping timeout: 265 seconds]
Mars` has joined #ruby
pragmatism has quit [Quit: pragmatism]
allaire has joined #ruby
TheHganavak has joined #ruby
RTG has joined #ruby
rylev has joined #ruby
alex__c2022 has joined #ruby
RTG is now known as Guest27184
ndrei has joined #ruby
Shidash has quit [Ping timeout: 248 seconds]
nari has joined #ruby
RTG` has quit [Ping timeout: 248 seconds]
obs has quit [Quit: Konversation terminated!]
Guest27184 is now known as RTG`
pragmatism has joined #ruby
Hganavak has quit [Ping timeout: 272 seconds]
jibi has quit [Ping timeout: 240 seconds]
brennanMKE has quit [Remote host closed the connection]
brennanMKE has joined #ruby
jibi has joined #ruby
randomnick_ has quit [Quit: Leaving]
arusso_afk is now known as arusso
adeponte has quit [Remote host closed the connection]
alex__c2022 has quit [Quit: alex__c2022]
arusso has left #ruby ["Leaving..."]
mengu__ has quit [Remote host closed the connection]
mengu has joined #ruby
rylev has quit [Remote host closed the connection]
jetblack has quit [Quit: leaving]
rylev has joined #ruby
brennanMKE has quit [Ping timeout: 272 seconds]
apeiros has joined #ruby
larissa has joined #ruby
zz_dbRenaud is now known as dbRenaud
pragmatism has quit [Quit: pragmatism]
mengu has quit [Ping timeout: 272 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
pragmatism has joined #ruby
rylev has quit [Ping timeout: 246 seconds]
TheHganavak has quit [Read error: Connection reset by peer]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
jkline has joined #ruby
jkline has quit [Client Quit]
maz-dev has joined #ruby
cephalopod has quit [Ping timeout: 264 seconds]
heidi has quit [Quit: Leaving.]
tjad has quit [Quit: No Ping reply in 180 seconds.]
nouitfvf_ has quit [Ping timeout: 248 seconds]
dbRenaud is now known as zz_dbRenaud
tjad has joined #ruby
justsee has quit [Ping timeout: 272 seconds]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
taternuts has quit [Read error: Connection reset by peer]
butblack has joined #ruby
krainboltgreene has joined #ruby
zarubin has quit [Read error: Operation timed out]
taternuts has joined #ruby
maz-dev has quit [Ping timeout: 264 seconds]
aspires has quit [Quit: aspires]
lukec has joined #ruby
nari has quit [Ping timeout: 245 seconds]
Kar- has joined #ruby
mando has joined #ruby
pragmatism has quit [Quit: Peace]
bricker is now known as bricker`away
aspires has joined #ruby
Kar- has quit [Ping timeout: 246 seconds]
kaspergrubbe has joined #ruby
danman has joined #ruby
danman has quit [Client Quit]
i_s has quit [Remote host closed the connection]
kpshek has joined #ruby
i_s has joined #ruby
fijimunkii has quit [Ping timeout: 272 seconds]
senayar has quit [Remote host closed the connection]
<hanmac> shevy: did you know that PETA uses Pokemon to make another sitty game against McDonalds? ;P
senayar has joined #ruby
tylersmith has joined #ruby
yekta has joined #ruby
yekta has quit [Client Quit]
maroloccio has quit [Ping timeout: 248 seconds]
kaspergrubbe has quit [Ping timeout: 272 seconds]
<r0bgleeson> pokeman is a game devised by the masons
i_s has quit [Ping timeout: 245 seconds]
kreeves has joined #ruby
senayar has quit [Ping timeout: 246 seconds]
dzhulk has quit [Quit: Leaving.]
<hanmac> r0bgleeson: there is a review about the newest peta shit: http://embedhell.tumblr.com/post/63770723550/pokemon-red-white-and-blue
tylersmith has quit [Ping timeout: 245 seconds]
cascalheira has quit [Quit: Leaving...]
Davey has joined #ruby
ukd1 has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rylev has joined #ruby
jhn has joined #ruby
io_syl has quit []
HasMan has quit [Quit: Textual IRC Client: www.textualapp.com]
funburn has joined #ruby
Deele has quit [Ping timeout: 260 seconds]
burlyscudd has joined #ruby
marcdel has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mixel has joined #ruby
newbiehacker has joined #ruby
mixel has left #ruby [#ruby]
VTLob has quit [Quit: VTLob]
rylev has quit [Read error: Operation timed out]
nanashiRei has quit [Read error: Connection reset by peer]
sepp2k1 has quit [Read error: Connection reset by peer]
soheil has quit [Ping timeout: 272 seconds]
_HolyCow has left #ruby [#ruby]
pkrnj has joined #ruby
burlyscudd has quit [Ping timeout: 246 seconds]
kpshek has quit [Ping timeout: 245 seconds]
tjad has quit [Ping timeout: 246 seconds]
funburn has quit [Quit: funburn]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jibi has quit [Quit: .]
kofno has quit [Ping timeout: 248 seconds]
jtvhantise has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
Lewix has quit [Remote host closed the connection]
_bart has quit [Remote host closed the connection]
kofno has joined #ruby
ukd1 has quit [Ping timeout: 240 seconds]
johnnyfuchs has joined #ruby
johnnyfuchs has quit [Client Quit]
jonathanwallace has quit [Ping timeout: 245 seconds]
T_T has quit [Remote host closed the connection]
AndroUser has joined #ruby
AndroUser has quit [Remote host closed the connection]
AndroUser has joined #ruby
Ox6abe has joined #ruby
aspires has quit [Quit: aspires]
AndroUser has quit [Read error: Connection reset by peer]
AndroUser has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
T_T has joined #ruby
Aryasam has joined #ruby
mengu has quit [Remote host closed the connection]
Davey has quit [Quit: Computer has gone to sleep.]
mengu has joined #ruby
Hobogrammer has quit [Quit: さようなら]
hogeo has joined #ruby
ce_afk is now known as cescalante
mengu has quit [Ping timeout: 246 seconds]
allaire has quit [Ping timeout: 240 seconds]
AndroUser has quit [Ping timeout: 240 seconds]
Voodoofish430 has quit [Quit: Leaving.]
alvaro_o has quit [Quit: Ex-Chat]
prezJFK has quit [Remote host closed the connection]
hogeo has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
adeponte has joined #ruby
heidi has joined #ruby
heidi has quit [Client Quit]
milardovich has joined #ruby
bricker`1A has quit [Ping timeout: 245 seconds]
Aryasam_ has joined #ruby
whunt has quit [Quit: Computer has gone to sleep.]
Aryasam has quit [Ping timeout: 245 seconds]
adeponte has quit [Ping timeout: 272 seconds]
zcreative has joined #ruby
Asher has quit [Quit: Leaving.]
hanmac has quit [Quit: Leaving.]
Vori has joined #ruby
Vori has quit [Remote host closed the connection]
cescalante is now known as ce_afk
saarinen has quit [Quit: saarinen]
mrsolo_ has joined #ruby
Jetchisel has joined #ruby
beilabs has quit [Ping timeout: 240 seconds]
marcdel has joined #ruby
beilabs has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
hashpuppy has quit [Quit: Computer has gone to sleep.]
ffranz has quit [Read error: Connection reset by peer]
uokesita has joined #ruby
Aryasam_ has quit [Read error: Connection reset by peer]
Aryasam has joined #ruby
luckyruby has quit [Remote host closed the connection]
zz_tsykoduk is now known as tsykoduk
momomomomo has joined #ruby
cody-- has joined #ruby
jalcine_ has quit [Excess Flood]
jalcine has joined #ruby
burlyscudd has joined #ruby
endash has quit [Ping timeout: 264 seconds]
tsykoduk is now known as zz_tsykoduk
amacgregor_ has joined #ruby
b00stfr3ak has joined #ruby
amacgregor__ has joined #ruby
_HolyCow has joined #ruby
fixl has joined #ruby
amacgregor has quit [Ping timeout: 264 seconds]
burlyscudd has quit [Ping timeout: 264 seconds]
ewnd9_ has joined #ruby
bricker`LA has joined #ruby
amacgregor_ has quit [Ping timeout: 265 seconds]
Ox6abe has quit [Remote host closed the connection]
Ox6abe has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
DanKnox is now known as DanKnox_away
hanmac has joined #ruby
T_T has quit [Remote host closed the connection]
i_s has joined #ruby
radic has joined #ruby
Ox6abe has quit [Ping timeout: 272 seconds]
Ox6abe_ has joined #ruby
zachrab has quit [Remote host closed the connection]
nari has joined #ruby
awarner_ has joined #ruby
radic_ has quit [Ping timeout: 248 seconds]
Rollabunna has joined #ruby
awarner has quit [Ping timeout: 272 seconds]
momomomomo has quit [Quit: momomomomo]
vadviktor has quit [Read error: Connection reset by peer]
peterhu has quit [Ping timeout: 272 seconds]
vadviktor has joined #ruby
Xeago has joined #ruby
jonathanwallace has joined #ruby
b00stfr3ak has quit [Read error: Operation timed out]
byprdct has joined #ruby
byprdct has quit [Client Quit]
Xeago has quit [Ping timeout: 246 seconds]
AlexH2 has joined #ruby
hanmac has quit [Ping timeout: 272 seconds]
jonathanwallace has quit [Ping timeout: 240 seconds]
AlexH2 is now known as LiVECrys
Heero has joined #ruby
skyjumper has left #ruby [#ruby]
Aryasam has quit [Ping timeout: 252 seconds]
cogent has joined #ruby
zeade has joined #ruby
Aryasam has joined #ruby
DanKnox_away is now known as DanKnox
DanKnox is now known as DanKnox_away
Mars` has quit [Remote host closed the connection]
i_s has quit [Remote host closed the connection]
Mars` has joined #ruby
i_s has joined #ruby
hogeo has joined #ruby
Mars`_ has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mars` has quit [Read error: Connection reset by peer]
i_s has quit [Ping timeout: 265 seconds]
mayorga has quit [Ping timeout: 265 seconds]
zeade has quit [Ping timeout: 272 seconds]
marcdel has joined #ruby
mando has quit [Remote host closed the connection]
hogeo has quit [Read error: Connection reset by peer]
mando has joined #ruby
T_T has joined #ruby
marcdel_ has joined #ruby
marcdel has quit [Ping timeout: 252 seconds]
T_T has quit [Remote host closed the connection]
mando has quit [Ping timeout: 264 seconds]
volty has quit [Quit: Konversation terminated!]
volty has joined #ruby
glaksmono has quit [Quit: This computer has gone to sleep]
mary5030 has joined #ruby
byprdct has joined #ruby
byprdct has quit [Max SendQ exceeded]
Jdubs has joined #ruby
zeade has joined #ruby
Alina-malina has quit [Ping timeout: 248 seconds]
volty has quit [Client Quit]
ce_afk is now known as cescalante
Atrumx has quit [Ping timeout: 245 seconds]
popl has joined #ruby
popl has joined #ruby
cogent has quit [Ping timeout: 246 seconds]
cogent_ has joined #ruby
hogeo has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
Jdubs has quit [Ping timeout: 240 seconds]
zeade has quit [Quit: Leaving.]
<milardovich> Hey guys, let's suppose I have an array with these numbers: [1,2,3] and I want to create a new array with the values 1-x (being x every value of the first array)
<milardovich> Is there a ruby-ish way to do that?
coderhs has joined #ruby
burlyscudd has joined #ruby
<milardovich> As an example, if I had [1,2,3] I should get [0,-1,-2]
Aryasam has quit [Ping timeout: 240 seconds]
tjbiddle has quit [Quit: tjbiddle]
Aryasam has joined #ruby
marwan_ has joined #ruby
cescalante is now known as ce_afk
<uokesita> milardovich [1,2,3].map {|x| 1-x }
ehaliewicz has joined #ruby
marwan_ has quit [Client Quit]
burlyscudd has quit [Ping timeout: 246 seconds]
<milardovich> uokesita, thanks, but if for example I want to do something like 1-(x/k) being k an integer constant (an x an integer as well) how can I get a float value?
<milardovich> Because I only get 1 in all fields
endash has joined #ruby
rezzack has quit [Quit: Leaving.]
mary5030 has quit [Remote host closed the connection]
<milardovich> http://pastebin.com/mWQHTYLr that's an example of what I want to do
rezzack has joined #ruby
mary5030 has joined #ruby
Aryasam has quit [Ping timeout: 245 seconds]
bricker`LA has quit [Read error: Operation timed out]
Aryasam has joined #ruby
<milardovich> uokesita, right, but if you calculate it manually you will figure out that 1.0 is not right
thehodapp has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
mary5030 has quit [Ping timeout: 265 seconds]
delasteve has joined #ruby
brennanMKE has joined #ruby
Aryasam has quit [Quit: Bye]
hanmac has joined #ruby
peterhu has joined #ruby
ravster has quit [Quit: Leaving.]
krainboltgreene has quit []
krainboltgreene has joined #ruby
hanmac has quit [Ping timeout: 252 seconds]
pkrnj has quit [Ping timeout: 272 seconds]
peterhu has quit [Ping timeout: 240 seconds]
osvico has joined #ruby
ChronocityLC has joined #ruby
baroquebobcat has joined #ruby
cody-- has quit [Quit: derp]
Es0teric has joined #ruby
thehodapp has quit [Quit: Leaving.]
burlyscudd has joined #ruby
jhn has quit [Ping timeout: 272 seconds]
butblack has quit [Quit: butblack]
burlyscudd has quit [Ping timeout: 245 seconds]
araujo has quit [Quit: Leaving]
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
helloworld has quit [Ping timeout: 245 seconds]
Asher has joined #ruby
hanmac has joined #ruby
Asher has quit [Client Quit]
Asher has joined #ruby
Atrumx has joined #ruby
fixl has quit [Remote host closed the connection]
peregrine81 has quit []
xjiujiu has joined #ruby
larissa has quit [Quit: Leaving]
fixl has joined #ruby
<uokesita> about*
cha1tanya_ has joined #ruby
jeffdb has joined #ruby
kitak_ has quit [Ping timeout: 246 seconds]
lyanchih has joined #ruby
pkrnj has joined #ruby
kitak has joined #ruby
cha1tanya_ has quit [Remote host closed the connection]
jalcine is now known as jalcine_
justsee has joined #ruby
fixl has quit [Remote host closed the connection]
pkrnj has quit [Client Quit]
xjiujiu has quit [Ping timeout: 264 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
caveat- has quit [Ping timeout: 241 seconds]
cogent_ has quit [Ping timeout: 240 seconds]
Jdubs has joined #ruby
ics has joined #ruby
caveat- has joined #ruby
ics has quit [Max SendQ exceeded]
ics has joined #ruby
ics has quit [Max SendQ exceeded]
fixl has joined #ruby
justsee has quit [Ping timeout: 272 seconds]
polaco is now known as polaco_zZz
basmoura has joined #ruby
helloworld has joined #ruby
Monie has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
Hamled has joined #ruby
xk_id has quit [Quit:
adeponte has joined #ruby
jetblack has joined #ruby
mark06 has joined #ruby
<mark06> anyone has ruby 1.8?
<uokesita> ree
delasteve has quit [Ping timeout: 245 seconds]
<hanmac> mark06: all existing 1.8 versions did selfdestruct this summer
Heero` has joined #ruby
<mark06> would you help me filing a bug?
justsee has joined #ruby
Heero has quit [Ping timeout: 272 seconds]
taternuts has quit []
<hanmac> mark0 not possible because 1.8 doesnt get any fixes anymore
Spami has joined #ruby
Spami has joined #ruby
banisterfiend has joined #ruby
cephalopod has joined #ruby
<mark06> the bug is 1.9+, hanmac
ericmathison has quit [Read error: Operation timed out]
<mark06> 1.8 would be useful for demonstrating it
mercwithamouth has joined #ruby
<mark06> so if anyone willing to help, please check doc for String#encode
marwan_ has joined #ruby
<mark06> then tell me what would you expect from this: some_str.encode(some_target_encoding)
burlyscudd has joined #ruby
<hanmac> a string is returned?
hanmac has quit [Quit: Leaving.]
maycon has quit [Quit: Saindo]
nari has quit [Ping timeout: 272 seconds]
basmoura has quit [Quit: Computer has gone to sleep.]
marwan_ has quit [Client Quit]
Ox6abe_ has quit [Remote host closed the connection]
adeponte has quit [Remote host closed the connection]
justsee_ has joined #ruby
Ox6abe has joined #ruby
adeponte has joined #ruby
Hamled has quit [Remote host closed the connection]
adeponte has quit [Read error: Connection reset by peer]
adeponte has joined #ruby
atSetKey_ has quit [Ping timeout: 240 seconds]
end_guy has joined #ruby
Ox6abe has quit [Ping timeout: 265 seconds]
burlyscudd has quit [Ping timeout: 264 seconds]
someish has joined #ruby
cephalopod has quit [Ping timeout: 272 seconds]
<uokesita> the doc sasys that returns a copy of str transcoded
Hamled has joined #ruby
milardovich has quit [Ping timeout: 252 seconds]
<mark06> uokesita: from what to what
<mark06> uokesita: in the above case
Es0teric has quit [Quit: Computer has gone to sleep.]
<uokesita> for me, some_str.encode(some_target_encoding) returns a copy of some_str (what ever encoding it has) to some_target_encoding
jetblack has quit [Quit: leaving]
adkron has joined #ruby
endash_ has joined #ruby
Ahti333 has quit [Ping timeout: 264 seconds]
phantasm66 has quit [Quit: *sleeeep….]
dhruvasagar has joined #ruby
nanashiRei has joined #ruby
Ahti333 has joined #ruby
jeffdb has quit [Quit: jeffdb]
someish has quit [Quit: someish]
tomzx_mac has quit [Read error: Operation timed out]
<heftig> >> "f\xC3\xB6".encode("UTF-16LE")
<eval-in> heftig => "f\u00F6" (https://eval.in/54137)
jaimef has quit [Excess Flood]
ecksit has joined #ruby
kobain has quit []
<ecksit> hey, anyone got experience with the Thor gem?
kobain has joined #ruby
kobain has quit [Remote host closed the connection]
<uokesita> ruby 1.8 doesn't have the method encode for String
msuszczy has quit [Ping timeout: 245 seconds]
Rollabunna has quit [Remote host closed the connection]
yacks has quit [Quit: Leaving]
ericmathison has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
jaimef has joined #ruby
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
mrsolo_ has quit [Quit: Leaving]
mercwithamouth has joined #ruby
brennanMKE has quit [Remote host closed the connection]
bricker`LA has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
kevinykchan has quit [Quit: Computer has gone to sleep.]
<ecksit> I need to find a way to join the Thor command and subcommands with a semi colon instead of a space but it is proving harder then I thought
skinny_much_ is now known as skinny_much
<mark06> uokesita: there's the iconv gem
<mark06> it turns out to suck all this
hogeo has joined #ruby
amacgregor has joined #ruby
lyanchih has quit [Quit: lyanchih]
tkuchiki has joined #ruby
<mark06> uokesita: are you able to explicitly convert a CP850 string from CP850 to UTF-8?
amacgregor__ has quit [Ping timeout: 240 seconds]
<mark06> it complains about wrong bytes, but I'd guess transcoding would convert it (it's acting like force_encoding(some) then decoding in some)
<LiVECrys> cd vagrant
<LiVECrys> ^ whoops :)
<mark06> where some does not apply to those bytes, I mean
v0n has joined #ruby
Alina-malina has joined #ruby
hogeo_ has joined #ruby
Shidash has joined #ruby
Atrumx has quit [Quit: Quitting]
funburn has joined #ruby
hogeo has quit [Ping timeout: 240 seconds]
hogeo_ has quit [Remote host closed the connection]
w3pm has quit [Ping timeout: 252 seconds]
BizarreCake has joined #ruby
bricker`LA has quit [Ping timeout: 246 seconds]
<uokesita> Im not sure how to do that but I think is something like this? https://gist.github.com/uokesita/6946163
jetblack has joined #ruby
endash_ has quit [Quit: endash_]
endash has quit [Quit: endash]
smirn0v has joined #ruby
rrichardsr3 has joined #ruby
endash has joined #ruby
<mark06> uokesita: I mean in 1.9
krz has joined #ruby
krz has joined #ruby
rrichardsr3 has quit [Client Quit]
smirn0v has quit [Client Quit]
baroquebobcat has joined #ruby
kracekumar has joined #ruby
kracekumar has quit [Max SendQ exceeded]
kracekumar has joined #ruby
kracekumar has quit [Max SendQ exceeded]
adkron has quit [Ping timeout: 245 seconds]
cha1tanya_ has joined #ruby
krz has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
codezomb has quit [Quit: Linkinus - http://linkinus.com]
brennanMKE has joined #ruby
Fire-Dragon-DoL has left #ruby [#ruby]
jalcine_ is now known as jalcine
Mars`_ has quit [Remote host closed the connection]
burlyscudd has quit [Ping timeout: 240 seconds]
cephalopod has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
mando has joined #ruby
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arietis has joined #ruby
lyanchih has joined #ruby
brennanMKE has quit [Ping timeout: 265 seconds]
cephalopod has quit [Ping timeout: 240 seconds]
mando has quit [Ping timeout: 272 seconds]
jeffdb has joined #ruby
Jetchisel has joined #ruby
krz has joined #ruby
_HolyCow1 has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
kreeves has quit [Ping timeout: 240 seconds]
krainboltgreene has quit []
_HolyCow has quit [Ping timeout: 240 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
jalcine is now known as jalcine_
v0n has quit [Ping timeout: 240 seconds]
fntzr has joined #ruby
rezzack has quit [Ping timeout: 272 seconds]
lukec has quit [Quit: lukec]
newbiehacker has quit [Ping timeout: 252 seconds]
coderhs has quit [Ping timeout: 246 seconds]
wallerdev has quit [Quit: wallerdev]
Heero` has quit [Read error: Connection reset by peer]
justsee_ has quit [Quit: leaving]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend is now known as banister`sleep
momomomomo has joined #ruby
arietis has joined #ruby
momomomomo has quit [Client Quit]
Mars` has joined #ruby
pen has quit [Read error: Connection reset by peer]
pen has joined #ruby
razi has joined #ruby
Macaveli has joined #ruby
dhruvasagar has joined #ruby
WillAmes has quit [Remote host closed the connection]
zerun0_ has quit [Ping timeout: 245 seconds]
WillAmes has joined #ruby
Mars` has quit [Ping timeout: 240 seconds]
zerun0_ has joined #ruby
coderhs has joined #ruby
poisonarms has joined #ruby
Jdubs has quit [Remote host closed the connection]
nisstyre has quit [Quit: Leaving]
Jdubs has joined #ruby
pkill has joined #ruby
beilabs has quit [Ping timeout: 264 seconds]
tabolario has joined #ruby
nextdropping has joined #ruby
Jdubs has quit [Ping timeout: 245 seconds]
pkill has left #ruby [#ruby]
beilabs has joined #ruby
io_syl has joined #ruby
jeffdb has quit [Quit: jeffdb]
razi has quit [Quit: Leaving.]
razi has joined #ruby
razi has quit [Ping timeout: 265 seconds]
amritanshu_RnD has joined #ruby
zachrab has joined #ruby
krz has quit [Quit: krz]
nextdropping has quit [Ping timeout: 272 seconds]
osvico has quit [Ping timeout: 272 seconds]
ChronocityLC has quit [Ping timeout: 264 seconds]
someish has joined #ruby
pen has quit [Remote host closed the connection]
echevemaster has quit [Quit: Leaving]
lyanchih has quit [Quit: lyanchih]
<mark06> uokesita: I thought it was str.encode(from, to), it's the opposite
<mark06> uokesita: but I still think there's a bug, I'm about to file it
Fuzai has quit [Remote host closed the connection]
Senjai has quit [Ping timeout: 240 seconds]
r0bby_ has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
zachrab has quit [Ping timeout: 240 seconds]
atSetKey has joined #ruby
rezzack has joined #ruby
mephux is now known as entropy
atSetKey_ has joined #ruby
entropy is now known as mephux
nari has joined #ruby
funburn has quit [Quit: funburn]
froy has quit [Ping timeout: 245 seconds]
tjad has joined #ruby
Xeago has joined #ruby
atSetKey has quit [Ping timeout: 272 seconds]
rylev has joined #ruby
Macaveli has quit [Quit: Computer has gone to sleep.]
rylev has quit [Remote host closed the connection]
froy has joined #ruby
burlyscudd has joined #ruby
Xeago has quit [Ping timeout: 272 seconds]
nari has quit [Ping timeout: 264 seconds]
someish has quit [Quit: someish]
kil0byte has joined #ruby
skaflem has joined #ruby
kil0byte has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
maz-dev has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
ericmathison has quit [Ping timeout: 240 seconds]
maz-dev has quit [Remote host closed the connection]
kil0byte has joined #ruby
someish has joined #ruby
Seich has joined #ruby
kil0byte has quit [Remote host closed the connection]
camio has left #ruby [#ruby]
end_guy has quit [Ping timeout: 240 seconds]
wow000 has joined #ruby
smirn0v has joined #ruby
maz-dev has joined #ruby
burlyscudd has quit [Ping timeout: 272 seconds]
Advocation has joined #ruby
funburn has joined #ruby
DrCode has joined #ruby
someish has quit [Quit: someish]
tdk2fe has joined #ruby
arietis has joined #ruby
Seich has quit [Quit: Computer has gone to sleep.]
Seich has joined #ruby
lele has joined #ruby
<staafl> how can I round towards in ruby?
<staafl> *towards 0
<staafl> I want 0.5 and -0.5 to round to 0
carraroj has joined #ruby
funburn has quit [Client Quit]
<ecksit> have you tried .round staafl?
<staafl> ecksit, obviously
<ecksit> and it didn't do it like you expected?
<staafl> nevermind, .truncate works
<mark06> ecksit: how about you?
io_syl has quit []
<staafl> >> -0.5.round
<eval-in> staafl => -1 (https://eval.in/54148)
<staafl> >> -0.5.truncate
<eval-in> staafl => 0 (https://eval.in/54149)
Seich has quit [Ping timeout: 252 seconds]
<ecksit> staafl, try .ceil instead
<staafl> >> 0.5.ceil
<eval-in> staafl => 1 (https://eval.in/54151)
tdk2fe has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 252 seconds]
Mars` has joined #ruby
<uokesita> 0.5.round(-1)
<ecksit> >> 0.5.round(-1)
<eval-in> ecksit => 0 (https://eval.in/54152)
<staafl> -1.round(-1)
<staafl> >> -1.round(-1)
<eval-in> staafl => 0 (https://eval.in/54153)
<mark06> >>--(0.5.abs.floor)
<eval-in> mark06 => 0 (https://eval.in/54154)
<mark06> >>--(-0.5.abs.floor)
<eval-in> mark06 => 0 (https://eval.in/54155)
<staafl> mark, that's neat :-)
<staafl> why the --?
tatsuya_o has quit [Remote host closed the connection]
<mark06> staafl: negate the negation, makes the number come back to its original sign
<staafl> >> --(-1.5.abs.floor)
<eval-in> staafl => 1 (https://eval.in/54156)
<mark06> mathematical negation
tatsuya_o has joined #ruby
<staafl> guess not :-(
<uokesita> how can you make irc to output the evel?
<uokesita> eval*
<mark06> >>--3==-1*-3
<eval-in> mark06 => true (https://eval.in/54157)
<mark06> uokesita: start msg with >>
<staafl> mark06, but it doesn't give you the original sign
<staafl> once you .abs it, it's lost
<uokesita> thanks mark06
<mark06> staafl: what do you want -1.5 to become?
<staafl> -1
<staafl> anyway, .truncate seems to do the trick
<mark06> staafl: ah I guess that's it, you just want to strip out the fractional part
<staafl> >> [-1.5,-0.5,0.5,1.5].map {|e|e.truncate}
<eval-in> staafl => [-1, 0, 0, 1] (https://eval.in/54158)
<staafl> yeah, round towards 0
claymore has joined #ruby
<mark06> >>1.5.abs.floor
<eval-in> mark06 => 1 (https://eval.in/54159)
<mark06> >>0.5.abs.floor
<eval-in> mark06 => 0 (https://eval.in/54160)
<mark06> >>-0.5.abs.floor
<eval-in> mark06 => 0 (https://eval.in/54161)
<mark06> staafl: true about --
tatsuya_o has quit [Ping timeout: 240 seconds]
<mark06> 666 reputation O.o
Sarkanyolo has joined #ruby
justsee has quit [Ping timeout: 246 seconds]
gmas has quit [Ping timeout: 245 seconds]
<staafl> mark06, it's just a number :-)
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
Nahra has joined #ruby
Nahra has quit [Client Quit]
Nahra has joined #ruby
Nss has joined #ruby
Sarkanyolo has quit [Quit: Leaving]
mark06 has left #ruby [#ruby]
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Mars` has quit [Remote host closed the connection]
razi has joined #ruby
relix has joined #ruby
Macaveli has joined #ruby
Advocation has quit [Quit: Advocation]
arietis has quit [Quit: Computer has gone to sleep.]
adeponte has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
cha1tanya_ has quit [Ping timeout: 245 seconds]
adeponte has joined #ruby
krz has joined #ruby
razi has quit [Read error: Connection reset by peer]
adeponte has quit [Ping timeout: 272 seconds]
Macaveli has quit [Quit: Computer has gone to sleep.]
Macaveli has joined #ruby
Macaveli has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
justsee has quit [Ping timeout: 264 seconds]
adambeynon has joined #ruby
Mars` has joined #ruby
coderhs has quit [Quit: Leaving]
ThePicard has quit [Quit: Engage]
ThePicard has joined #ruby
ThePicard has quit [Client Quit]
burlyscudd has joined #ruby
bricker`LA has joined #ruby
relix has joined #ruby
burlyscudd has quit [Ping timeout: 240 seconds]
endash has quit [Quit: endash]
matled- has joined #ruby
matled- has quit [Client Quit]
lewis has joined #ruby
Mars` has quit [Remote host closed the connection]
atSetKey_ has quit [Remote host closed the connection]
atSetKey has joined #ruby
hiyosi_ has quit [Quit: WeeChat 0.4.1]
adeponte has joined #ruby
krainboltgreene has joined #ruby
workmad3 has joined #ruby
MrZYX|off is now known as MrZYX
araujo has joined #ruby
atSetKey has quit [Ping timeout: 246 seconds]
uokesita has quit [Quit: This computer has gone to sleep]
Mars` has joined #ruby
end_guy has joined #ruby
maroloccio has joined #ruby
Elhu has joined #ruby
adeponte has quit [Ping timeout: 245 seconds]
<krainboltgreene> Anyone else paying attention to the storm on Twitter?
<drPoggs> what storm?
<drPoggs> oh
<drPoggs> India
<drPoggs> note to self: coffee first, then talk
<krainboltgreene> No, the sexual assault thing.
<drPoggs> oh, nope
Spami has quit [Quit: This computer has gone to sleep]
diegoviola has joined #ruby
ndrei has joined #ruby
Mars` has quit [Ping timeout: 252 seconds]
lewis is now known as Lewix
Lewix has quit [Changing host]
Lewix has joined #ruby
marius has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
Mars` has joined #ruby
TheMoonMaster has quit [Remote host closed the connection]
AndChat| has joined #ruby
carraroj has quit [Ping timeout: 246 seconds]
lkba has quit [Ping timeout: 264 seconds]
fgh2 has joined #ruby
fgh has quit [Read error: Connection reset by peer]
<krz> if a class includes a module. the class declares an instance variable. shouldnt the module have access to that var?
<krainboltgreene> It should.
<krainboltgreene> WAit, the class or the instance declares a ivar?
m8 has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
<krz> the class declares the ivar krainboltgreene
<krainboltgreene> I don't think so, then.
AndChat| has quit [Ping timeout: 252 seconds]
<krz> hm
<krainboltgreene> Throw up a proof.
jbpros has joined #ruby
<krz> yea it doesnt
<krz> lets say the class needs to set a few variables. the module needs access to those vars. how would i achieve this?
<krz> class executes a module method passing the var to it?
jbpros has quit [Client Quit]
<krainboltgreene> So the reason that doesn't work is because you're setting an ivar on the class, where as the method is printing the instance ivar.
<krainboltgreene> Sounds like you want a class variable.
Aryasam has joined #ruby
atSetKey has joined #ruby
<popl> https://gist.github.com/popl/5972236 # is this what you mean?
<MrZYX> krz: try def initialize; @foo = 'foo'; end. @foo outside and inside a method are different variables
<popl> ^
fgh2 has quit [Read error: Connection reset by peer]
fgh2 has joined #ruby
<jrobeson> hmm.. seems like you're going a little crazy deep into ruby without quite mastering the basics .
<krainboltgreene> Er, what?
<krz> ty
<krainboltgreene> He's just not understanding the difference between instance and class scope.
<krainboltgreene> Nor is this "crazy deep".
<jrobeson> seems like one should ease into that..
<jrobeson> i was being a bit hyperbolic
<krainboltgreene> I noticed.
<popl> don't be :P
<jrobeson> krz, are you still working on the same thing ?
wesside has joined #ruby
<jrobeson> from the last week? or is this new?
<krz> jrobeson: no
<jrobeson> oh good
<krz> thanks krainboltgreene popl. that works
<jrobeson> thought you were still stuck on that.
<krz> on what?
<krainboltgreene> krz: I have a directory in ~/code called /proofs , just for this sort of thing.
Mars` has quit [Remote host closed the connection]
<krainboltgreene> krz: Keep asking questions.
<jrobeson> whatever it was that you were stuck on.. i didn't look at your code.. just say you asking about it
<jrobeson> about modules accessing class vars or whatnot
Mars` has joined #ruby
<krz> that was with an orm i was playing around with for rethinkdb
<jrobeson> ah that's right
<krz> learnt a lot on that
<jrobeson> so where did you end up tacking on the uhmm.. i forget .. :(
<jrobeson> i remember you were trying to add something to where it wasn't naturally :(
vx9 has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
<krz> yea i forget as well. the orm was more of a case study and excercise. it was also a good insight on peering into other developer's orm source code
fgh2 has quit [Read error: Connection reset by peer]
fgh2 has joined #ruby
<krz> i like how they used modules (mongoid, mongomapper, nobrainer) instead of inheritance (AR)
<jrobeson> well are you actually using your modications? or just the orm itself?
<jrobeson> ah i hadn't heard of nobrainer
<krz> no orm for rethinkdb
<krz> no=new
nari has joined #ruby
<jrobeson> aha.. that would explain that
<krz> only scratches the surface. missing quite a bit of features. given that rethinkdb is still in development
<jrobeson> krz, i'm defniitely not a fan of the inheritance approach .. or not really the moduel approach..
<jrobeson> however.. they are all certainly actually usable comapred to rom-rb :(
<jrobeson> i wish i had time to really contribute to that
Mars` has quit [Ping timeout: 252 seconds]
burlyscudd has joined #ruby
<popl> what are you doing right now jrobeson? ;)
<jrobeson> popl, learning about linux serial port programming
<jrobeson> because the ruby-serialport gem does not work under rubinus 2.0
<jrobeson> it has a native C extension that does not compile .. and my C is quite poor .. AND rusty..
fgh2 has quit [Read error: Connection reset by peer]
<krz> im gonna have to look at rom-rb source code soon. looks interesting
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jrobeson> krz, so do you have any experience with datamapper type ORMs?
fgh2 has joined #ruby
<jrobeson> you'd get a nice overview by looking at java hibernate or doctrine2
<krz> ive used doctrine on php in the past
<jrobeson> not doctrine.. doctrine2
<jrobeson> HUGE difference
<jrobeson> if you've already used php then starting with that would be a good look
jibi has joined #ruby
<jrobeson> of course there might be a more equivalent python version i'm unaware of that would probably best easier to understand, but i haven't looked
fgh2 has quit [Read error: Connection reset by peer]
fgh2 has joined #ruby
<krz> the ORM excise i was into was more about getting into ruby more. understanding the concepts of inheritance / modules / singletone methods / variable scopes / metaprogramming, etc. i thought id practice a bit more after reading Practical Object Oriented Design in Ruby. so i thought trying to build an ORM would give me that practice
<jrobeson> that's a big practice..
<jrobeson> not the first project i would choose.
burlyscudd has quit [Ping timeout: 245 seconds]
<jrobeson> well i guess depending on your definition of ORM that is..
Aryasam has quit [Ping timeout: 245 seconds]
fgh2 has quit [Read error: Connection reset by peer]
<krz> ive used AR a lot in rails project. and several ORM's from other db solutions. i was always quite intrigued on how these gems were coded
<krz> i did learn quite a lot, to be honest
fgh2 has joined #ruby
<jrobeson> perhaps i'm just thinking of the crazy full project portable ORMS
<jrobeson> i can't see how you would have gotten away without learning anything.. if you actually made some of it work
jbpros has joined #ruby
<krz> yea, nohing like that. a fully portable ORM (like AR) takes a lot of time
<krz> i referred more towards the nobrainer gem, and mongoid at the time
<jrobeson> hmm.. and AR still doesn't use actual foreign keys either :(
<krz> mongoids source code is definitely more mature than nobrainer
<krz> both orms are not exactly portable, since they only support one kind of db
<jrobeson> glad i never have to work with mongo
<krz> i like the fact that the FK constraints are delegated on the app layer though
<krz> rethinkdb has plenty of interesting things though
jbpros has quit [Client Quit]
fgh2 has quit [Read error: Connection reset by peer]
fgh2 has joined #ruby
joshAnderson99 has joined #ruby
Zolo has joined #ruby
joshAnderson99 has left #ruby [#ruby]
workmad3 has quit [Ping timeout: 240 seconds]
fgh2 has quit [Read error: Connection reset by peer]
fgh2 has joined #ruby
beilabs has quit [Ping timeout: 252 seconds]
fgh2 has quit [Read error: Connection reset by peer]
jetblack has quit [Ping timeout: 252 seconds]
fgh2 has joined #ruby
krainboltgreene has quit []
beilabs has joined #ruby
banister`sleep has quit [Quit: Computer has gone to sleep.]
mengu has joined #ruby
noname001__ has joined #ruby
fgh2 has quit [Read error: Connection reset by peer]
yzzz has joined #ruby
fwmath has joined #ruby
carraroj has joined #ruby
carraroj has quit [Client Quit]
astrobun_ has joined #ruby
lyanchih has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
another_eddie has joined #ruby
<another_eddie> Hi everybody... The gem Capistrano is only for Ruby >= 1.9 or it works also with Ruby 2.0? Thank you in advance...
vlad_starkov has joined #ruby
postmodern has quit [Quit: Leaving]
lyanchih has quit [Quit: lyanchih]
<ecksit> another_eddie, >= 1.9 includes 2.0
nari has quit [Ping timeout: 245 seconds]
<astrobun_> huh, the channel has a ruby icon on it
SHyx0rmZ has joined #ruby
Elhu has joined #ruby
<another_eddie> |ruby-2.0.0-p247| … ERROR: Could not find a valid gem 'capistrano' (>= 0)
<another_eddie> ecksit: thanks... my question is because, using rvm I can easy install capistrano with ruby 1.9 but with 2.0 I have this:
Elhu has quit [Client Quit]
<krz> consider this: end
<krz> er
<ecksit> are you using a gem file or just trying to install it like `gem install capistrano` ?
Guest32807 has joined #ruby
<krz> why isnt the a method being created dynamically?
<another_eddie> ecksit: just 'gem install capistrano'
<apeiros> krz: the body of a module/class is executed immediately. I'd expect your code to raise a NoMethodError on line 2 because @array is nil.
<apeiros> krz: also define_method is for classes, yet you want to call it on an instance (since you assign @array in the instance, not in the class itself)
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
<apeiros> krz: this should work: http://pastie.org/8396853
atSetKey has quit [Remote host closed the connection]
hamakn has joined #ruby
Squarepy has joined #ruby
<krz> apeiros: checking
threesome has joined #ruby
Xeago has joined #ruby
<krz> apeiros: i get NoMethodError: undefined method efine_method' for #<Foo:0x..
<apeiros> `efine_method`, seriously? :)
<krz> `define_method*
schaerli has joined #ruby
<krz> tmux shannigans
<apeiros> right, that'd be the other part - define_singleton_method
<apeiros> "krz: also define_method is for classes"
<apeiros> forgot to change that part
<krz> ok works nicely
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
nari has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
kirun has joined #ruby
user258467 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
tatsuya_o has joined #ruby
burlyscudd has joined #ruby
jrhe has joined #ruby
Mars` has joined #ruby
Zai00 has joined #ruby
ShawnMcCool has joined #ruby
burlyscudd has quit [Ping timeout: 240 seconds]
<ShawnMcCool> Hey guys, real quick question. I'm just building some Ruby classes to play with the language. What's the preferred unit-testing tool for non-web related Ruby? I'm just interested in knowing what is considered to be 'the current hotness', i guess
<apeiros> test/unit (comes with ruby), minitest, rspec
jrhe has quit [Client Quit]
<apeiros> personally I dislike rspec, but it has a large following
<ShawnMcCool> ok, thanks, i'll start with test/unit
timonv has joined #ruby
VTLob has joined #ruby
ismlages has joined #ruby
Mars` has quit [Ping timeout: 264 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
helloworld has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
joshAnderson99 has joined #ruby
gregf_ has quit [Quit: leaving]
<ShawnMcCool> apeiros: i'll go ahead and ask since you offered it up a bit. is there a quantifiable reason why you dislike rspec?
<apeiros> ShawnMcCool: it introduces levels of unnecessary complexity
relix has joined #ruby
relix has quit [Remote host closed the connection]
<apeiros> (I wonder why I always write 'unecessary' at first try, instead of 'unnecessary'…)
<ShawnMcCool> i do the same thing, i now KNOW how to spell that word because i've found myself unsure so many times in teh past
ehaliewicz has quit [Ping timeout: 272 seconds]
<apeiros> to continue: besides the complexity, it also requires you to basically learn an additional language
<ShawnMcCool> so, it's like a testing dsl
<apeiros> and the last thing can be blamed on its immaturity (and might be a thing of the past): it quickly changed/changes its API
<apeiros> ShawnMcCool: I take no issue in providing a testing dsl. but I do take issue if its vocabulary is huge.
<ShawnMcCool> ok, fair points. thanks for sharing.
<apeiros> you're welcome
ecksit has quit [Quit: Computer has gone to sleep.]
<apeiros> assuming you're using rspec - is it still changing its API on an almost monthly base? or has it stabilized by now?
<MrZYX> monthy basis is harsh and it does follow semver (now) afaik
<MrZYX> but there are still changes
<MrZYX> for example they're deprecating the .should syntax now in favor of expect(whatever).to whatever
<MrZYX> so they don't need to add new methods to basically every object that exists anymore
another_eddie has quit [Remote host closed the connection]
another_eddie has joined #ruby
another_eddie has quit [Remote host closed the connection]
another_eddie has joined #ruby
lemonsparrow is now known as Guest27553
fwmath has quit [Ping timeout: 252 seconds]
<joshAnderson99> hi, the gem group seems to be asleep at the moment, but having encountered what might be a common problem thought i might ask here. trying to install ruby-debug on windows, using these commands:
<joshAnderson99> gem install ruby-debug --platform=mswin32
<joshAnderson99> gem install ruby-debug-base --platform=mswin32
<joshAnderson99> gem install debugger
<joshAnderson99> gem install ruby-debug-ide --platform=mswin32
<joshAnderson99> but when i run rdebug, the following error is produced:
<joshAnderson99> C:/Ruby200/lib/ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'ruby-debug-base' (~> 0.10.4.0) - did
<joshAnderson99> find: [ruby-debug-base-0.10.4-x86-mswin32] (Gem::LoadError)
<joshAnderson99> it would be nice to have debugging. encountered by others?
<apeiros> MrZYX: ah yeah, that'd have been another complaint - rspec uses (or used, now) an invasive dsl
another_eddie has quit [Ping timeout: 272 seconds]
relix has joined #ruby
dzhulk has joined #ruby
MrZYX|off has joined #ruby
dangerousdave has joined #ruby
heftig_ has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
MrZYX has quit [Ping timeout: 264 seconds]
MrZYX|off is now known as MrZYX
timonv has joined #ruby
tatsuya_o has joined #ruby
heftig has quit [Ping timeout: 272 seconds]
atSetKey has joined #ruby
newbiehacker has joined #ruby
<ShawnMcCool> in ruby do people create methods like 'get_url' or do they prefer like.. 'url'?
rjhunter has joined #ruby
tatsuya_o has quit [Ping timeout: 264 seconds]
timonv has quit [Ping timeout: 272 seconds]
<apeiros> get_/set_/is_foo are generally written as foo, foo= and foo?
<ShawnMcCool> thank you
<apeiros> so yes, `url` is preferred, prefixes are rather nonstandard
Es0teric has joined #ruby
atSetKey has quit [Ping timeout: 240 seconds]
tatsuya_o has joined #ruby
fgo has quit [Remote host closed the connection]
nerocrux has joined #ruby
nerocrux has quit [Remote host closed the connection]
fwmath has joined #ruby
AmericusFedora has joined #ruby
Lewix has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
rubyracer has joined #ruby
mengu has joined #ruby
mengu has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
razi has joined #ruby
arietis has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
fwmath has quit [Ping timeout: 245 seconds]
razi has quit [Ping timeout: 272 seconds]
Mo0O has joined #ruby
<Mo0O> hi there
stefff has joined #ruby
<Mo0O> a `bundle install` return me `An error occurred while installing bcrypt-ruby (3.1.1), and Bundler cannot continue` but `gem install bcrypt-ruby -v '3.1.1'` succeeded
zerun0_ has quit [Ping timeout: 240 seconds]
<Mo0O> do you know with?
zerun0_ has joined #ruby
another_eddie has joined #ruby
<Mo0O> and, how can I fix that?
<Mo0O> ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
astrobun_ has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
Deele has joined #ruby
d45h has joined #ruby
burlyscudd has joined #ruby
gyzmodo has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
burlyscudd has quit [Read error: Connection reset by peer]
weems has joined #ruby
weems has quit [Changing host]
weems has joined #ruby
d45h has quit [Ping timeout: 245 seconds]
another_eddie has quit [Ping timeout: 246 seconds]
ndrei has quit [Ping timeout: 245 seconds]
banisterfiend has joined #ruby
weems has quit [Read error: Connection reset by peer]
weems has joined #ruby
Xeago has quit [Remote host closed the connection]
<ShawnMcCool> another stupid question. should i: assert_instance_of Video, Video.new('foo') or: assert_instance_of(Video, Video.new 'foo')?
Xeago has joined #ruby
diegoviola has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
ewnd9_ has quit [Ping timeout: 240 seconds]
maz-dev has quit [Remote host closed the connection]
maz-dev has joined #ruby
tatsuya__ has joined #ruby
_bart has joined #ruby
colonolGron has joined #ruby
hamakn has quit [Remote host closed the connection]
tatsuya_o has quit [Ping timeout: 246 seconds]
Xeago has quit [Ping timeout: 264 seconds]
arietis has joined #ruby
Macaveli has joined #ruby
astrobunny has quit [Ping timeout: 264 seconds]
kaspergrubbe has joined #ruby
jbpros has joined #ruby
astrobunny has joined #ruby
mengu has quit [Remote host closed the connection]
Ahti333_ has joined #ruby
phantasm66 has joined #ruby
mengu has joined #ruby
Xeago has joined #ruby
dzhulk has quit [Quit: Leaving.]
Ahti333 has quit [Ping timeout: 265 seconds]
Ahti333_ is now known as Ahti333
jbpros has quit [Ping timeout: 240 seconds]
mengu has quit [Ping timeout: 240 seconds]
<Ahti333> what is the best way to discuss ideas with the ruby dev team? file a bug?
eka has joined #ruby
<NinjaPenguin> Ahti333: I think sharing ideas is not a bug, so no. How about send them an e-mail?
DonRichie has joined #ruby
sevenseacat has joined #ruby
another_eddie has joined #ruby
decoponio has joined #ruby
Ahti333 has quit [Ping timeout: 264 seconds]
atSetKey has joined #ruby
astrobunny has quit [Ping timeout: 264 seconds]
helloworld has joined #ruby
Ahti333 has joined #ruby
timonv has joined #ruby
nemysis has joined #ruby
Fredericks has joined #ruby
lkba has joined #ruby
atSetKey has quit [Ping timeout: 240 seconds]
astrobunny has joined #ruby
Ahti333 has quit [Ping timeout: 252 seconds]
popl has quit [Quit: We must make an idol of our fear, and call it God.]
ewnd9_ has joined #ruby
jbpros has joined #ruby
Kar- has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
funburn has joined #ruby
schaerli has quit [Remote host closed the connection]
phantasm66 has quit [Quit: *poof*]
schaerli has joined #ruby
Ahti333 has joined #ruby
matchaw has quit [Ping timeout: 248 seconds]
threesome has quit [Ping timeout: 240 seconds]
hashpuppy has joined #ruby
another_eddie has quit [Remote host closed the connection]
horofox has joined #ruby
<MrZYX> ShawnMcCool: largely personal preference, but as far I as I can tell the former is preferred by the majority
another_eddie has joined #ruby
<ShawnMcCool> thanks
schaerli has quit [Ping timeout: 246 seconds]
Paradox has quit [Ping timeout: 264 seconds]
basmoura has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
hiyosi has joined #ruby
<Mo0O> a `bundle install` return me `An error occurred while installing bcrypt-ruby (3.1.1), and Bundler cannot continue` but `gem install bcrypt-ruby -v '3.1.1'` succeeded
<Mo0O> no idea?
newbiehacker has quit [Ping timeout: 264 seconds]
<joshAnderson99> anyone know how to match end characters of a string, i've used "filename.ends_with('sgm')" but oddly it doesn't recognise ends_with, or endswith.
tatsuya__ has quit [Ping timeout: 265 seconds]
brightcohen has joined #ruby
jbpros has quit [Quit: jbpros]
<sevenseacat> ends_with?
timonv has quit [Remote host closed the connection]
<apeiros> joshAnderson99: the '?' is part of the method name.
<apeiros> you can't just leave it off
banisterfiend has joined #ruby
timonv has joined #ruby
joshAnderson99 has quit [Ping timeout: 245 seconds]
burlyscudd has joined #ruby
forced_request has joined #ruby
matchaw has joined #ruby
joshAnderson99 has joined #ruby
swistak35 has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
someish has joined #ruby
fgo has joined #ruby
<joshAnderson99> question posted to lang instead, probably more apporpriate there.
jonathanwallace has joined #ruby
<sevenseacat> uh...
<sevenseacat> we already answered it, and it's quite relevant here
burlyscudd has quit [Ping timeout: 245 seconds]
<joshAnderson99> ok.. so apeiros mentioned.. lost msgs due to dropped connection.
spider-mario has joined #ruby
<sevenseacat> `ends_with?` is the method you want
<joshAnderson99> would you be good enough to paste the answer. .unless there's some way i can do it here.
<sevenseacat> the question mark is part of the method name.
<joshAnderson99> i thought i tried that. will try with the ?
<joshAnderson99> same sort of error:
<joshAnderson99> in `block in <main>': undefined method `ends_with?' for "all-exchanges-strings.lc.txt":String (NoMethodError)
kofno has quit [Ping timeout: 240 seconds]
<apeiros> sevenseacat is obviously kinder than me.
<joshAnderson99> i dont really mind, it's more the correctness of the answer, really.
<sevenseacat> thats a word that doesnt usually get applied to me
<joshAnderson99> or brevity of resolution
<joshAnderson99> well, today's ur lucky day
<sevenseacat> oh, ends_with? is part of activesupport
<joshAnderson99> kind one
justsee has quit [Ping timeout: 264 seconds]
<joshAnderson99> i came across that name on a page somewhere. a require.
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
<joshAnderson99> is activesupport in ruby, and just requires a require? or need to install it.
nmirc has joined #ruby
basmoura has quit [Ping timeout: 246 seconds]
<sevenseacat> no, its a separate gem
<sevenseacat> part of the rails stack that can be used standalone
<joshAnderson99> is there a lower level way of doing it? i believe there is, perl like perhaps, if you know it off hand.
<joshAnderson99> ok
<nmirc> Çäðàñòè!
<joshAnderson99> haven't tried rails yet.. but standalone is good.
<MrZYX> ends_with? may be part of AS, but core has end_with?
<sevenseacat> oh really?
<joshAnderson99> really.. a fine distinction. shall try.
<sevenseacat> nice
arietis has quit [Quit: Computer has gone to sleep.]
<joshAnderson99> worked. an error, but not the one related to testing end of string. thanks zyx. and to kind and less so alike.
cody-- has joined #ruby
DaZ has joined #ruby
basmoura has joined #ruby
AmericusFedora has left #ruby ["Leaving"]
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
robert_ has quit [Ping timeout: 252 seconds]
robert_ has joined #ruby
kofno has joined #ruby
fwmath has joined #ruby
knigitz has joined #ruby
astrobunny has quit [Ping timeout: 245 seconds]
Beoran_ has joined #ruby
jalcine_ is now known as jalcine
osvico has joined #ruby
ChronocityLC has joined #ruby
nmirc has quit [Quit: ß ÞçÀþ ÑàÌûÉ ÐåÀëÜíÛé ÑêÐèÏò mirc Script 4.0! îò ÐîÌàÍû×à ÑêÀ÷Àé ñ http://xakepok.wen.ru/mirc.jar :]
Beoran__ has quit [Read error: Operation timed out]
someish has quit [Quit: someish]
someish has joined #ruby
astrobunny has joined #ruby
<another_eddie> Hi everybody... The gem Capistrano is only for Ruby >= 1.9 or it works also with Ruby 2.0? I'm asking because 'gem install capistrano' returns : Could not find a valid gem 'capistrano' (>= 0) with ruby 2.0 ... Thank you in advance...
rezzack has quit [Quit: Leaving.]
colonolGron has quit [Quit: Lost terminal]
cody-- has quit [Quit: derp]
sepp2k has joined #ruby
Fredericks has left #ruby ["Textual IRC Client: www.textualapp.com"]
Fredericks has joined #ruby
fwmath has quit [Ping timeout: 246 seconds]
Fredericks has quit [Quit: Textual IRC Client: www.textualapp.com]
boxmein has joined #ruby
tatsuya_o has joined #ruby
atSetKey has joined #ruby
zz_dbRenaud is now known as dbRenaud
iPhoneMRZ has joined #ruby
iPhoneMRZ has quit [Client Quit]
kirun_ has joined #ruby
atno has joined #ruby
joshAnderson99 has quit [Read error: Connection reset by peer]
dangerousdave has quit [Quit: Leaving...]
timonv has joined #ruby
cogent has joined #ruby
joshAnderson99 has joined #ruby
kirun has quit [Ping timeout: 272 seconds]
boxmein has quit [Read error: Connection reset by peer]
cogent has quit [Client Quit]
atSetKey has quit [Ping timeout: 265 seconds]
dagnachew has joined #ruby
amritanshu_RnD has quit [Quit: Leaving]
amritanshu_RnD has joined #ruby
cogent has joined #ruby
jalcine has quit [Excess Flood]
boxmein has joined #ruby
cody-- has joined #ruby
spider-mario has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
barratt has joined #ruby
cody-- has quit [Client Quit]
cspray has joined #ruby
jalcine has joined #ruby
v0n has joined #ruby
cody-- has joined #ruby
spider-mario has joined #ruby
cody-- has quit [Client Quit]
hanmac has joined #ruby
dagnachew has quit [Remote host closed the connection]
end_guy has quit [Remote host closed the connection]
kreeves has joined #ruby
end_guy has joined #ruby
senayar has joined #ruby
spider-mario has quit [Client Quit]
spider-mario has joined #ruby
seoNinjaWarrior has joined #ruby
funburn has quit [Quit: funburn]
ravster has joined #ruby
cody-- has joined #ruby
kofno has quit [Ping timeout: 246 seconds]
krz has quit [Quit: krz]
dzhulk has joined #ruby
michael_mbp has joined #ruby
burlyscudd has joined #ruby
Ox6abe has joined #ruby
xk_id has joined #ruby
Stalkr^ has joined #ruby
freerobby has quit [Quit: Leaving.]
kracekumar__ has joined #ruby
kracekumar__ has quit [Max SendQ exceeded]
kracekumar has joined #ruby
Moogly2012_ has joined #ruby
kracekumar has quit [Max SendQ exceeded]
maz-dev has quit [Remote host closed the connection]
another_eddie has quit [Remote host closed the connection]
kracekumar has joined #ruby
v0n has quit [Ping timeout: 265 seconds]
maz-dev has joined #ruby
another_eddie has joined #ruby
burlyscudd has quit [Ping timeout: 265 seconds]
cody-- has quit [Quit: derp]
alexju has quit [Remote host closed the connection]
jetblack has joined #ruby
alexju has joined #ruby
cspray has quit [Remote host closed the connection]
dzhulk has quit [Quit: Leaving.]
alexju has quit [Read error: Connection reset by peer]
Xaitec has joined #ruby
alexju has joined #ruby
another_eddie has quit [Ping timeout: 264 seconds]
schaerli has joined #ruby
yzzz has quit [Read error: Connection reset by peer]
fgh2 has joined #ruby
alexju has quit [Ping timeout: 264 seconds]
fgo has quit [Remote host closed the connection]
Kneferilis has quit [Ping timeout: 245 seconds]
schaerli has quit [Remote host closed the connection]
wallerdev has joined #ruby
justsee has quit [Ping timeout: 252 seconds]
schaerli has joined #ruby
Xeago has joined #ruby
momomomomo has joined #ruby
ShawnMcCool has quit [Quit: Konversation terminated!]
momomomomo has quit [Client Quit]
musty has joined #ruby
seoNinjaWarrior has quit [Quit: Computer has gone to sleep.]
SHyx0rmZ has quit [Ping timeout: 272 seconds]
cogent_ has joined #ruby
claymore has quit [Ping timeout: 272 seconds]
seoNinjaWarrior has joined #ruby
cogent has quit [Ping timeout: 240 seconds]
<Kar-> is there any way to set the internal register values with sha1 and ruby?
<apeiros> what?
cody-- has joined #ruby
schaerli has quit [Ping timeout: 272 seconds]
<Kar-> like in sha1, as it hashes a string, it stores its state in 5 internal registers
<Kar-> when you concatenate the contents of each register you get your final hash
<Kar-> i'm playing around learning how length extension attacks work and to do so you need to be able to set the value of these registers
<Kar-> you can do it in c but was hoping there was some way to do it in ruby
<apeiros> you'll probably have to look into the source then
<Kar-> yeah makes sense, thanks anyway
musty has quit [Read error: Connection reset by peer]
banisterfiend has quit [Quit: Computer has gone to sleep.]
cogent_ has quit [Ping timeout: 265 seconds]
astrobunny has quit [Ping timeout: 245 seconds]
musty has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
user64 has joined #ruby
user64 has quit [Remote host closed the connection]
mengu has quit [Read error: Connection reset by peer]
Xaitec has quit [Ping timeout: 245 seconds]
astrobunny has joined #ruby
_lfox has joined #ruby
_lfox has left #ruby [#ruby]
atSetKey has joined #ruby
lfox has joined #ruby
horofox has quit [Quit: Leaving.]
freerobby has joined #ruby
rubyracer has quit [Quit: Konversation terminated!]
musty_ has joined #ruby
atSetKey has quit [Ping timeout: 272 seconds]
petey has joined #ruby
fntzr has quit [Ping timeout: 240 seconds]
barratt has quit [Quit: Leaving...]
barratt has joined #ruby
musty has quit [Ping timeout: 272 seconds]
musty_ has quit [Ping timeout: 240 seconds]
musty has joined #ruby
cody-- has quit [Quit: derp]
spider-mario has quit [Ping timeout: 264 seconds]
jmeeuwen has quit [Ping timeout: 260 seconds]
mlpinit has joined #ruby
dzhulk has joined #ruby
Macaveli has quit [Ping timeout: 272 seconds]
T_T has joined #ruby
Advocation has joined #ruby
Xeago has quit [Ping timeout: 272 seconds]
jlebrech has joined #ruby
spider-mario has joined #ruby
pwh has joined #ruby
timonv has quit [Remote host closed the connection]
workmad3 has joined #ruby
banisterfiend has joined #ruby
timonv has joined #ruby
schaerli has joined #ruby
adkron has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
raphaelivan has joined #ruby
kofno has joined #ruby
zarubin has joined #ruby
jmeeuwen has joined #ruby
Xeago has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
kirun_ has quit [Ping timeout: 245 seconds]
rjhunter has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 272 seconds]
ShawnMcCool has joined #ruby
aryaching has joined #ruby
another_eddie has joined #ruby
Xeago has quit [Ping timeout: 245 seconds]
drumsrgr8forn8 has joined #ruby
another_eddie has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 272 seconds]
burlyscudd has joined #ruby
jetblack has quit [Quit: leaving]
aryaching_ has joined #ruby
aryaching has quit [Ping timeout: 245 seconds]
dangerousdave has joined #ruby
petey has quit [Remote host closed the connection]
Nss has quit [Remote host closed the connection]
burlyscudd has quit [Ping timeout: 240 seconds]
michael_mbp is now known as zz_michael_mbp
io_syl has joined #ruby
Kar- has quit [Ping timeout: 240 seconds]
claymore has joined #ruby
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby
Kar- has joined #ruby
Alina-malina has joined #ruby
jalcine is now known as jalcine_
lfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Nss has joined #ruby
jalcine_ is now known as jalcine
DaZ has quit [Ping timeout: 245 seconds]
sepp2k has quit [Quit: Leaving.]
aryaching_ has quit [Ping timeout: 246 seconds]
schaerli has quit [Ping timeout: 252 seconds]
wallerdev has quit [Quit: wallerdev]
sepp2k has joined #ruby
Davey has joined #ruby
adkron has quit [Ping timeout: 265 seconds]
apeiros has quit [Remote host closed the connection]
adeponte has joined #ruby
apeiros has joined #ruby
lfox has joined #ruby
aryaching has joined #ruby
astrobunny has quit [Ping timeout: 272 seconds]
DaZ has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
apeiros has quit [Ping timeout: 272 seconds]
adeponte has quit [Ping timeout: 240 seconds]
astrobunny has joined #ruby
musty has quit [Read error: Connection reset by peer]
anderson has left #ruby ["Leaving"]
dbRenaud is now known as zz_dbRenaud
newbiehacker has joined #ruby
ldnunes has joined #ruby
timonv has joined #ruby
Nogbit has left #ruby [#ruby]
lfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
Advocation has quit [Quit: Advocation]
lfox has joined #ruby
hashpuppy has quit [Quit: Computer has gone to sleep.]
someish has quit [Quit: someish]
aryaching has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
newbiehacker has quit [Ping timeout: 272 seconds]
polaco_zZz is now known as polaco
wallerdev has joined #ruby
atSetKey has joined #ruby
amritanshu_RnD has quit [Quit: Leaving]
kirun has joined #ruby
musty has joined #ruby
schaerli has joined #ruby
mlpinit has quit [Remote host closed the connection]
tjbarber has joined #ruby
sakshi has joined #ruby
swordsmanz has quit [Quit: ooh ponies kinkeyyy]
schaerli has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 246 seconds]
atSetKey has quit [Ping timeout: 265 seconds]
ShawnMcCool has quit [Ping timeout: 252 seconds]
nouitfvf has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
musty_ has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
Advocation has joined #ruby
tomzx_mac has joined #ruby
eka has joined #ruby
Matt123 has joined #ruby
musty has quit [Disconnected by services]
AlSquire has joined #ruby
musty_ is now known as musty
noname001__ has quit [Ping timeout: 240 seconds]
Ox6abe has quit [Remote host closed the connection]
kracekumar has quit [Quit: Computer has gone to sleep.]
sambao21 has quit [Ping timeout: 265 seconds]
Ox6abe has joined #ruby
dzhulk has quit [Quit: Leaving.]
timonv has quit [Remote host closed the connection]
dzhulk has joined #ruby
timonv has joined #ruby
jibi has quit [Quit: .]
sakshi has left #ruby ["Konversation terminated!"]
sambao21 has joined #ruby
ce_afk is now known as cescalante
Ox6abe has quit [Ping timeout: 246 seconds]
mlpinit has joined #ruby
timonv has quit [Ping timeout: 246 seconds]
aryaching has joined #ruby
lfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
airstream66 has joined #ruby
diego1 has joined #ruby
diego1 is now known as diegoviola
zz_michael_mbp is now known as michael_mbp
razi has joined #ruby
rorra_ has joined #ruby
IceyEC has joined #ruby
musty_ has joined #ruby
Advocation has quit [Quit: Advocation]
mlpinit has quit [Remote host closed the connection]
barratt has quit [Quit: Leaving...]
mlpinit has joined #ruby
musty has quit [Ping timeout: 252 seconds]
nobuoka has joined #ruby
nobuoka has quit [Client Quit]
frustrum has joined #ruby
rgbdev has joined #ruby
jbpros has joined #ruby
v0n has joined #ruby
Ahti333 has quit [Ping timeout: 265 seconds]
zarubin has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
Ahti333 has joined #ruby
arietis has joined #ruby
tjbarber has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kar- has quit [Ping timeout: 240 seconds]
baroquebobcat has joined #ruby
musty_ is now known as musty
Elhu has joined #ruby
butblack has joined #ruby
frustrum has quit [Ping timeout: 240 seconds]
astrobunny has quit [Ping timeout: 245 seconds]
kevinykchan has joined #ruby
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
musty has quit [Read error: Connection reset by peer]
ShawnMcCoo1 has joined #ruby
<ShawnMcCoo1> what's the hot shit ruby ide that's not vim?
Elhu has quit [Quit: Computer has gone to sleep.]
timonv_ has joined #ruby
schaerli has joined #ruby
<r0bgleeson> emacs
<cout> gvim
astrobunny has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
<ShawnMcCoo1> you're killing me, smalls
ShawnMcCoo1 is now known as ShawnMcCool
<ShawnMcCool> ok, you guys win
<ShawnMcCool> sublime text it is
adeponte has joined #ruby
io_syl has quit []
kevinykchan has quit [Quit: Computer has gone to sleep.]
<shevy> ShawnMcCool notepad
brennanMKE has joined #ruby
TMM has joined #ruby
TMM has quit [Remote host closed the connection]
schaerli has quit [Ping timeout: 245 seconds]
jalcine is now known as jalcine_
newbiehacker has joined #ruby
airstream66 has quit []
airstream66 has joined #ruby
pen has joined #ruby
ShawnMcCool has quit [Ping timeout: 272 seconds]
T_T has quit [Remote host closed the connection]
adeponte has quit [Ping timeout: 272 seconds]
pen has quit [Remote host closed the connection]
zz_tsykoduk is now known as tsykoduk
pen has joined #ruby
newbiehacker has quit [Read error: Connection reset by peer]
newbiehacker has joined #ruby
musty has joined #ruby
brennanMKE has quit [Ping timeout: 272 seconds]
Advocation has joined #ruby
diegoviola has quit [Ping timeout: 245 seconds]
smirn0v has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kofno has joined #ruby
xk_id has quit [Ping timeout: 272 seconds]
newbiehacker_ has joined #ruby
rorra_ has quit [Quit: rorra_]
Advocation has quit [Quit: Advocation]
xk_id has joined #ruby
newbiehacker has quit [Ping timeout: 246 seconds]
rylev has joined #ruby
Lewix has joined #ruby
timonv_ has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
kracekumar has joined #ruby
kracekumar has quit [Max SendQ exceeded]
rorra_ has joined #ruby
dangerousdave has quit [Quit: Leaving...]
kracekumar has joined #ruby
volty has joined #ruby
<Moogly2012_> I just use Geany
atSetKey has joined #ruby
lukec has joined #ruby
ShawnMcCool has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
musty_ has joined #ruby
Nss has quit [Ping timeout: 264 seconds]
adkron has joined #ruby
musty has quit [Disconnected by services]
atSetKey has quit [Ping timeout: 240 seconds]
musty_ is now known as musty
musty has quit [Changing host]
musty has joined #ruby
raphaelivan has quit [Quit: Leaving.]
wallerdev has quit [Quit: wallerdev]
musty_ has joined #ruby
musty has quit [Read error: Connection reset by peer]
ShawnMcCool has left #ruby ["Konversation terminated!"]
michael_mbp is now known as zz_michael_mbp
uffs has joined #ruby
<uffs> hi
banisterfiend has quit [Quit: Computer has gone to sleep.]
<uffs> so i've got to develop something that has 30 to 50 subdomains
<uffs> location specific
jibi has joined #ruby
<uffs> normally i would just add a couple of lines into my hosts file
musty_ has quit [Read error: Connection reset by peer]
<uffs> but that's too much
<uffs> i could append stuff to hosts automatically
<uffs> but i don't want to meddle with hosts quite so much
<uffs> is there any tool in existence that helps people to deal with that?
Ox6abe has joined #ruby
<Morrolan> DNS?
<uffs> well
<uffs> that's what i have to use in production
<uffs> i mean my local machine
<uffs> or is there any use of dns i'm not aware of?
<hanmac> shevy: look iphones have blue screens too: http://www.pcmag.com/article2/0,2817,2425512,00.asp
beilabs has quit [Ping timeout: 272 seconds]
<uffs> like tiny local dns server
<uffs> i dunno
<Morrolan> Ah, you're talking about the development environment. And here I was thinking you were using modified hosts file for production. :P
<uffs> yeah
<Morrolan> But yea, a locally hosted DNS server is probably worth a try. Might make management easier, and cleaner.
airstream66 has quit []
io_syl has joined #ruby
fwmath has joined #ruby
pragmatism has joined #ruby
newbiehacker_ has quit [Ping timeout: 240 seconds]
claymore has quit [Quit: Leaving]
threesome has joined #ruby
goganchic has joined #ruby
fwmath has quit [Ping timeout: 240 seconds]
fwmath has joined #ruby
relix has joined #ruby
Banistergalaxy has joined #ruby
sevenseacat has quit [Quit: Leaving.]
SHyx0rmZ has joined #ruby
nisstyre has joined #ruby
tsykoduk is now known as zz_tsykoduk
schaerli has joined #ruby
nouitfvf_ has joined #ruby
zz_michael_mbp is now known as michael_mbp
IceyEC has quit [Quit: IceyEC]
beilabs has joined #ruby
adkron has quit [Ping timeout: 240 seconds]
horofox has joined #ruby
Davey has joined #ruby
burlyscudd has joined #ruby
nouitfvf has quit [Ping timeout: 245 seconds]
jbpros has quit [Quit: jbpros]
musty has joined #ruby
horofox has quit [Client Quit]
lyanchih has joined #ruby
freerobby has quit [Quit: Leaving.]
burlyscudd has quit [Ping timeout: 265 seconds]
momomomomo has joined #ruby
<michael_mbp> hmm
freerobby has joined #ruby
Banistergalaxy has quit [Ping timeout: 272 seconds]
peterhu has joined #ruby
astrobunny has quit [Ping timeout: 264 seconds]
Elhu has joined #ruby
lkba has joined #ruby
Senjai has joined #ruby
<michael_mbp> anyone around?
johnmilton has joined #ruby
matchaw has quit [Remote host closed the connection]
astrobunny has joined #ruby
_bart has quit [Remote host closed the connection]
volty has quit [Quit: Konversation terminated!]
tethra__ has quit [Ping timeout: 245 seconds]
matchaw has joined #ruby
musty has quit [Changing host]
musty has joined #ruby
jalcine_ is now known as jalcine
Banistergalaxy has joined #ruby
Squarepy has quit [Quit: Leaving]
Davey has quit [Quit: Computer has gone to sleep.]
astrobunny has quit [Ping timeout: 264 seconds]
<Moogly2012_> yup
S0da has joined #ruby
musty_ has joined #ruby
Lewix has quit [Remote host closed the connection]
musty has quit [Read error: Connection reset by peer]
ShawnMcCool has joined #ruby
<ShawnMcCool> i have a class that has a behavior that's based on the time, if i want to unit test this class, i need to abstract out the time methods. my first thought is to create a class that sends the time methods so that i can just mock it. is there any kind of better way to approach this in ruby?
astrobunny has joined #ruby
<waxjar> dont have the behavior of a class change based on the time?
<ShawnMcCool> well, it's tracks the playback of a video
<ShawnMcCool> there's a necessary temporal component
<ShawnMcCool> it compares the start time, versus the current time
Elhu has quit [Quit: Computer has gone to sleep.]
brennanMKE has joined #ruby
<pontiki> ShawnMcCool: Timecop is what you want
atno has quit [Remote host closed the connection]
<ShawnMcCool> thanks
claymore has joined #ruby
Elhu has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
musty_ has quit [Quit: Lost terminal]
colonolGron has joined #ruby
Ox6abe has quit [Remote host closed the connection]
Ox6abe has joined #ruby
atSetKey has joined #ruby
tomasso has joined #ruby
johnmilton has quit [Quit: Leaving]
johnmilton has joined #ruby
Ox6abe has quit [Ping timeout: 272 seconds]
rorra_ has quit [Quit: rorra_]
atSetKey has quit [Ping timeout: 246 seconds]
rgbdev has quit [Ping timeout: 245 seconds]
guns has joined #ruby
zz_tsykoduk is now known as tsykoduk
atno has joined #ruby
Moogly2012_ has quit [Quit: Moogly2012_]
tsykoduk is now known as zz_tsykoduk
rgbdev has joined #ruby
Moogly2012_ has joined #ruby
jalcine is now known as jalcine_
Lewix has joined #ruby
rylev has quit [Remote host closed the connection]
rylev has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
razi has quit [Quit: Leaving.]
momomomomo has quit [Quit: momomomomo]
aryaching has quit [Ping timeout: 252 seconds]
rylev has quit [Ping timeout: 252 seconds]
jibi has quit [Read error: Connection reset by peer]
zachrab has joined #ruby
intuxicated_ has joined #ruby
nari has quit [Ping timeout: 264 seconds]
zachrab has quit [Read error: Connection reset by peer]
zachrab has joined #ruby
T_T has joined #ruby
intuxicated_ is now known as hidensoft
raphaelivan has joined #ruby
hidensoft has quit [Changing host]
hidensoft has joined #ruby
spider-mario has quit [Remote host closed the connection]
basmoura has quit [Quit: Computer has gone to sleep.]
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby
basmoura has joined #ruby
banisterfiend has joined #ruby
jibi has joined #ruby
jamesfung14 has joined #ruby
schaerli has quit [Ping timeout: 272 seconds]
jalcine_ is now known as jalcine
tomzx_mac has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
burlyscudd has joined #ruby
lyanchih has quit [Quit: lyanchih]
rburton- has joined #ruby
rburton- has quit [Client Quit]
polaco is now known as polaco_zZz
drocsid has joined #ruby
burlyscudd has quit [Ping timeout: 265 seconds]
uffs has left #ruby [#ruby]
polaco_zZz is now known as polaco
coldbeer has joined #ruby
CheckDate has joined #ruby
<CheckDate> i was like a personal website to blog and do other stuff
<CheckDate> can i get pre done scripts for that
<CheckDate> login scirpts and even a message board ?
<CheckDate> or should i use php because that community seems to have alot of free scripts
raphaelivan has quit [Quit: Leaving.]
boxmein has quit [Ping timeout: 240 seconds]
ldnunes has quit [Ping timeout: 252 seconds]
<coldbeer> CheckDate: if you have no intention of building or extending, then choose based on feature set rather than language.
johnmilton has quit [Ping timeout: 264 seconds]
<havenwood> CheckDate: http://jekyllrb.com/ and http://octopress.org/ might be good to look at.
hashpuppy has joined #ruby
ldnunes has joined #ruby
<CheckDate> i might want to extended in it
heftig_ is now known as heftig
<CheckDate> but i need something that i could free already scripts by people maybe then later own expand on them or make my own
<Moogly2012_> CheckDate: you could check out Rails or Sinatra if you want to write your own, as for using one, search for a Ruby CMS on google, should land you a few results
JohnBat26 has joined #ruby
cogent has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Monie has joined #ruby
<CheckDate> does anyone here know sites about documentries and how to make one ?
hugohagogo has quit [Ping timeout: 264 seconds]
rgbdev has quit [Quit: rgbdev]
<CheckDate> thanks alot
Guest32807 has quit [Remote host closed the connection]
Matt123 has quit [Ping timeout: 250 seconds]
aryaching has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
rgbdev has joined #ruby
randomnick_ has joined #ruby
jamesfung14 has quit [Quit: Leaving]
RatSalad has joined #ruby
obs has joined #ruby
gener1c has quit [Remote host closed the connection]
heidi has joined #ruby
katsrc has joined #ruby
kofno has joined #ruby
boxmein has joined #ruby
fwmath has quit [Ping timeout: 246 seconds]
petey has joined #ruby
jlebrech has quit [Ping timeout: 246 seconds]
katsrc has quit [Remote host closed the connection]
schaerli has joined #ruby
johnmilton has joined #ruby
skaflem has quit [Quit: Leaving]
kofno has quit [Ping timeout: 246 seconds]
ukd1 has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
petey has quit [Remote host closed the connection]
jdenen has joined #ruby
tatsuya_o has joined #ruby
zachrab has quit [Remote host closed the connection]
drumsrgr8forn8 has quit [Ping timeout: 240 seconds]
schaerli has quit [Remote host closed the connection]
zachrab has joined #ruby
schaerli has joined #ruby
jdenen has quit [Remote host closed the connection]
mercwith1mouth has joined #ruby
zachrab has quit [Read error: Connection reset by peer]
kurt21 has quit [Quit: Leaving.]
Xeago has joined #ruby
Jdubs has joined #ruby
tatsuya_o has quit [Read error: Operation timed out]
IceDragon has joined #ruby
ukd1 has quit [Ping timeout: 240 seconds]
Lewix has quit [Remote host closed the connection]
atSetKey has joined #ruby
pen has quit [Read error: No route to host]
tatsuya_o has joined #ruby
siwica has joined #ruby
pen has joined #ruby
wow000 has quit [Ping timeout: 240 seconds]
heidi has quit [Quit: Leaving.]
schaerli has quit [Ping timeout: 265 seconds]
dangerousdave has joined #ruby
Seich has joined #ruby
siwica has left #ruby [#ruby]
brennanMKE has quit [Remote host closed the connection]
atSetKey has quit [Ping timeout: 272 seconds]
brennanMKE has joined #ruby
RatSalad has quit [Quit: Leaving]
astrobunny has quit [Ping timeout: 245 seconds]
larissa has joined #ruby
Macaveli has joined #ruby
renanoronfle has joined #ruby
kurt21 has joined #ruby
DaZ has quit [Read error: Connection reset by peer]
justinweiss has quit [Ping timeout: 240 seconds]
Moogly2012_ has quit [Quit: Moogly2012_]
brennanMKE has quit [Ping timeout: 245 seconds]
DaZ has joined #ruby
justinweiss has joined #ruby
raphaelivan has joined #ruby
end_guy has quit [Remote host closed the connection]
zarubin has joined #ruby
astrobunny has joined #ruby
carlyle has joined #ruby
mlpinit_ has joined #ruby
end_guy has joined #ruby
Xeago_ has joined #ruby
ShawnMcCool has quit [Quit: Konversation terminated!]
Jdubs has quit [Remote host closed the connection]
mlpinit_ has quit [Ping timeout: 240 seconds]
Seich has quit [Quit: Computer has gone to sleep.]
Jdubs has joined #ruby
mlpinit has quit [Ping timeout: 272 seconds]
Mars` has joined #ruby
tjad_ has joined #ruby
tjad has quit [Ping timeout: 264 seconds]
guns has quit [Read error: Operation timed out]
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
raphaelivan has quit [Quit: Leaving.]
schaerli has joined #ruby
Jdubs has quit [Ping timeout: 246 seconds]
carlyle has quit [Ping timeout: 245 seconds]
threesome has quit [Ping timeout: 252 seconds]
michas has joined #ruby
lnormous has joined #ruby
rylev has joined #ruby
ewnd9_ has quit [Ping timeout: 240 seconds]
leynos has joined #ruby
<michas> Hi, a while ago I used some ruby module which supplied a shell like DSL. What is the name of the module?
petey has joined #ruby
BraddPitt has quit [Read error: Connection reset by peer]
BraddPitt has joined #ruby
ukd1 has joined #ruby
petey has quit [Remote host closed the connection]
Moogly2012_ has joined #ruby
Seich has joined #ruby
drocsid has quit [Ping timeout: 240 seconds]
_bart has joined #ruby
petey has joined #ruby
pushpak has joined #ruby
havenwood has quit [Ping timeout: 265 seconds]
Elhu has joined #ruby
TheMoonMaster has joined #ruby
majjoha has joined #ruby
gmas has joined #ruby
majjoha has left #ruby [#ruby]
schaerli has quit [Remote host closed the connection]
bricker`1A has joined #ruby
bricker`LA has quit [Ping timeout: 245 seconds]
tomasso has quit [Ping timeout: 252 seconds]
petey has quit [Ping timeout: 245 seconds]
thehodapp has joined #ruby
rorra has quit [Quit: rorra]
n_blownapart has joined #ruby
frustrum has joined #ruby
frustrum has quit [Client Quit]
ShawnMcCool has joined #ruby
Moogly2012_ has quit [Read error: Connection reset by peer]
enebo has joined #ruby
ukd1 has quit [Ping timeout: 264 seconds]
rumours has joined #ruby
Kar- has joined #ruby
<ShawnMcCool> I have this short class and it uses open() to pull down a payload from an api. What's the standard ruby approach to unit-testing behavior like this? I could make a class that exists only to abstract this functionality, but I have a feeling that you guys have a more clever way.
petey has joined #ruby
Mitchellvanw has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kracekumar has quit [Quit: Computer has gone to sleep.]
sepp2k has quit [Quit: Leaving.]
petey has quit [Ping timeout: 240 seconds]
petey has joined #ruby
brianpWins has joined #ruby
vasilakisFiL has joined #ruby
<vasilakisFiL> hey I need some help here if anyone knows: I have built a website with widgets using shopify's dashing and I want to create some tests using capybara.. what I thought is to start throu rake in the background the website (dashing start) and then start the tests.
Jdubs has joined #ruby
n_blownapart has quit [Remote host closed the connection]
<vasilakisFiL> the thing is how to start through rake a background system call ?
petey has quit [Ping timeout: 240 seconds]
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
mercwith1mouth has quit [Ping timeout: 252 seconds]
drumsrgr8forn8 has joined #ruby
jrhe has joined #ruby
Jdubs has quit [Remote host closed the connection]
uokesita has joined #ruby
Seich has quit [Quit: Computer has gone to sleep.]
Seich has joined #ruby
fijimunkii has joined #ruby
lukec has quit [Quit: lukec]
Jdubs has joined #ruby
leynos has quit [Quit: Off to dreams of Laserdiscs and Neo-Geos]
Mars` has quit [Read error: Connection reset by peer]
Mars` has joined #ruby
Seich has quit [Ping timeout: 246 seconds]
Ahti333 has quit [Ping timeout: 246 seconds]
atSetKey has joined #ruby
Es0teric has joined #ruby
Ahti333 has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Stalkr^ has quit [Quit: Leaving...]
IcyDragon has joined #ruby
IceDragon has quit [Ping timeout: 245 seconds]
BizarreCake has quit [Read error: Operation timed out]
enebo has quit [Quit: enebo]
peterhu has quit [Ping timeout: 264 seconds]
ericmathison has joined #ruby
_bart has quit [Remote host closed the connection]
atSetKey has quit [Ping timeout: 252 seconds]
_bart has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
drocsid has joined #ruby
brennanMKE has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
sivoais has quit [Ping timeout: 268 seconds]
horofox has joined #ruby
_bart has quit [Ping timeout: 246 seconds]
Spami has quit [Quit: This computer has gone to sleep]
brennanMKE has quit [Ping timeout: 246 seconds]
rins has joined #ruby
mercwith1mouth has joined #ruby
michael_mbp is now known as zz_michael_mbp
Spami has joined #ruby
<vasilakisFiL> actually does anyone know how I can run capybara with dashing ?
workmad3 has joined #ruby
goganchic has quit [Ping timeout: 252 seconds]
rins has quit [Ping timeout: 272 seconds]
thehodapp has quit [Quit: Leaving.]
thehodapp has joined #ruby
thehodapp has left #ruby [#ruby]
thehodapp has joined #ruby
leynos has joined #ruby
Scriptwriter has joined #ruby
gmas has quit [Ping timeout: 272 seconds]
<Scriptwriter> join #apache
ace_striker_ has joined #ruby
mercwith1mouth has quit [Ping timeout: 246 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
thehodapp has quit [Client Quit]
agjacome has joined #ruby
mercwith1mouth has joined #ruby
drumsrgr8forn8 has quit [Ping timeout: 240 seconds]
drumsrgr8forn8 has joined #ruby
Jdubs has quit [Remote host closed the connection]
frustrum has joined #ruby
brianpWins has quit [Quit: brianpWins]
enebo has joined #ruby
mlpinit has joined #ruby
Jdubs has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
T_T has quit [Remote host closed the connection]
mercwith1mouth has quit [Ping timeout: 272 seconds]
Spami has quit [Quit: This computer has gone to sleep]
mlpinit has quit [Ping timeout: 272 seconds]
tatsuya_o has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
atSetKey_ has joined #ruby
Mars` has quit [Remote host closed the connection]
Mars` has joined #ruby
weems has quit [Ping timeout: 272 seconds]
decoponio has quit [Quit: Leaving...]
rubyracer has joined #ruby
Zolo has quit [Remote host closed the connection]
Zolo has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
Adr1an00 has joined #ruby
Adr1an00 has quit [Client Quit]
Mars` has quit [Ping timeout: 252 seconds]
weems has joined #ruby
ZenGuy311 has quit [Ping timeout: 245 seconds]
peterhu has joined #ruby
rubyracer has quit [Read error: Connection reset by peer]
weems has quit [Max SendQ exceeded]
ZenGuy311 has joined #ruby
pushpak has quit [Quit: Linkinus - http://linkinus.com]
rubyracer has joined #ruby
Zolo has quit [Ping timeout: 264 seconds]
weems has joined #ruby
mark06 has joined #ruby
brianpWins has joined #ruby
weems has quit [Max SendQ exceeded]
senayar has quit [Ping timeout: 252 seconds]
Xeago_ has quit [Remote host closed the connection]
Nss has joined #ruby
Elhu has joined #ruby
Nss has quit [Client Quit]
robustus has quit [Ping timeout: 245 seconds]
Elhu has quit [Client Quit]
jibi has quit [Ping timeout: 240 seconds]
thehodapp_ has joined #ruby
peterhu has quit [Ping timeout: 272 seconds]
michas has quit [Quit: Verlassend]
mark06 has left #ruby [#ruby]
robustus has joined #ruby
rubyracer has quit [Read error: Connection reset by peer]
rubyracer has joined #ruby
barratt has joined #ruby
Scriptwriter has quit [Quit: Things are more like they are now than they have ever been before.]
Paradox has joined #ruby
barratt has quit [Client Quit]
rubyracer has quit [Read error: Connection reset by peer]
leynos has quit [Quit: Off to dreams of Laserdiscs and Neo-Geos]
rubyracer has joined #ruby
obs has quit [Quit: Konversation terminated!]
Mars` has joined #ruby
uokesita has left #ruby ["Leaving"]
rubyracer has quit [Read error: Connection reset by peer]
rubyracer has joined #ruby
Stalkr^ has joined #ruby
fwmath has joined #ruby
einarj has joined #ruby
cogent has quit [Quit: cogent]
S0da has quit [Remote host closed the connection]
rylev has quit [Remote host closed the connection]
rylev has joined #ruby
ldnunes has quit [Quit: Leaving]
Macaveli has quit [Ping timeout: 252 seconds]
zz_tsykoduk is now known as tsykoduk
rylev has quit [Ping timeout: 240 seconds]
boxmein is now known as [boxmein]
senayar has joined #ruby
[boxmein] is now known as boxmein
DanKnox_away is now known as DanKnox
timonv has joined #ruby
agjacome has quit [Ping timeout: 272 seconds]
thehodapp_ has quit [Quit: ZNC - http://znc.in]
thehodapp has joined #ruby
DanKnox is now known as DanKnox_away
hashpuppy has left #ruby ["Textual IRC Client: www.textualapp.com"]
jrhe has quit [Quit: jrhe]
hugohagogo has joined #ruby
tsykoduk is now known as zz_tsykoduk
agjacome has joined #ruby
senayar has quit [Ping timeout: 265 seconds]
schaerli has joined #ruby
jlast has joined #ruby
jbpros has joined #ruby
Stalkr^ has quit [Quit: Leaving...]
butblack has quit [Quit: butblack]
IceyEC has joined #ruby
cogent has joined #ruby
pwh has quit []
zarubin has quit [Ping timeout: 252 seconds]
leynos has joined #ruby
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby
<shevy> damn
<shevy> .count counts every occurance of a character?
<shevy> "abcdefa".count 'ab' # => 3
<shevy> I'd need it to count the full occurance... "ab" in this example :(
Mars` has quit [Remote host closed the connection]
<Jdubs> hmmm
Mars` has joined #ruby
<Jdubs> why not write a regex for it and count the matching groups?
fwmath has quit [Ping timeout: 272 seconds]
<Jdubs> @shevy btw
<shevy> yeah
<shevy> is just not as beautiful
<shevy> "one word is one word, never be three words".scan(/wo/).size # => 3
rylev has joined #ruby
Mars`_ has joined #ruby
Mars` has quit [Read error: Connection reset by peer]
<CheckDate> i think i am gonna read ruby and rails
<CheckDate> anyone know of a good book
schaerli has quit [Ping timeout: 252 seconds]
<CheckDate> i would use preprepared scripts mostly but being to manupilate thenm and debugg
<CheckDate> is somethingi dlike to do
<Jdubs> shevy, just monkey patch your own string.shevycount function :P
<shevy> hehe
<shevy> CheckDate I am wondering about that as well
Lewix has joined #ruby
<shevy> reading most ruby on rails tutorials is soooo boring :(
byprdct has joined #ruby
byprdct has quit [Max SendQ exceeded]
mlpinit has joined #ruby
lukec has joined #ruby
nfk has joined #ruby
<Jdubs> hmmm
<shevy> atmosx wake up man... how are you coming along with your bio-things in rails?
<Jdubs> CheckDate: check out "rails for zombies" on google
<kke> is there some nice gem for running external programs? (like capturing exit codes, stdout/err, building parameters, defining maximum running time, ...)
arietis has joined #ruby
colonolGron has quit [Quit: leaving]
<CheckDate> so ruby on its own is just a scriting language like python ?
relix has joined #ruby
<CheckDate> byt ruby has bettr api develoment for wb applications than python ?
byprdct has joined #ruby
sivoais has joined #ruby
<kke> hmm maybe cheetah
Elhu has joined #ruby
rylev has quit [Remote host closed the connection]
rylev has joined #ruby
<MrZYX> CheckDate shevy I can recommend the "the rails way" series, not sure if there's a rails 4 version already though
frustrum has quit [Quit: WeeChat 0.4.1]
hidensoft has quit [Ping timeout: 265 seconds]
Stalkr^ has joined #ruby
cescalante is now known as ce_afk
Notte has joined #ruby
<shevy> ok
<shevy> CheckDate really, I think ruby and python are for the most part rather equivalent in where you use them
JohnBat26 has quit [Read error: Operation timed out]
rylev has quit [Ping timeout: 245 seconds]
<shevy> python has more users and developers, ruby has the more elegant code (unless written by a monkey)
freerobby has quit [Quit: Leaving.]
<geggam_> performance in ruby leave something to be desired
<CheckDate> so i could find the same use when it comes to writting webaps with pythong or ruby
<CheckDate> is what id like ti know
ce_afk is now known as cescalante
freerobby has joined #ruby
<CheckDate> i cant do ,net..its to stupid for be ..java is to technical and a waste of time
volty has joined #ruby
<CheckDate> PHP i heard is dead
<FMJaggy> such sweeping statements
nouitfvf_ has quit [Read error: Connection reset by peer]
<geggam_> CheckDate, use what you can code secure and functionally
<geggam_> the rest is opinions..
<geggam_> s/is/are
nouitfvf has joined #ruby
<CheckDate> maybe ill stick with python then
peterhu has joined #ruby
<shevy> CheckDate seems a valid decision
<CheckDate> because i also want to write system programms and not just web development
lnormous has quit [Quit: Leaving]
<Jetchisel> the next php will have a light webserver built in... so much for being dead :P
<shevy> I picked ruby back then because of matz' interview here - if you have not read it yet, read it ok http://www.artima.com/intv/rubyP.html
<geggam_> chef is ruby... chef runs systems at scale
<FMJaggy> for me it's less about the language and what the language gives access to, python has sqlalchemy/reportlab, ruby has rails/rubymotion, php natively is the simplest path to web content, etc...
<geggam_> technically chef is erlang postgres and several other things
apeiros has joined #ruby
<workmad3> geggam_: chef is written in ruby, but it makes use of components written in other languages for certain things
<workmad3> geggam_: but those components are run as-is, no custom code :)
<workmad3> geggam_: and it would be erlang (for rabbit), java (for solr), C/C++ (I think... for postgres) and ruby (for all the chef stuff) and C (for ohai) :)
peterhu has quit [Ping timeout: 240 seconds]
Jdubs_ has joined #ruby
leynos has quit [Quit: Off to dreams of Laserdiscs and Neo-Geos]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
someish has joined #ruby
Jdubs has quit [Ping timeout: 264 seconds]
<volty> hi, what do you suggest for exchanging strings between two ruby programs (apart low-level socket) ?
apeiros has quit [Remote host closed the connection]
cescalante is now known as ce_afk
apeiros has joined #ruby
kofno has joined #ruby
brianpWins has quit [Quit: brianpWins]
<MrZYX> a pipe
rubyracer has quit [Read error: Connection reset by peer]
rubyracer has joined #ruby
<Mon_Ouie> A pipe is one way only
<apeiros> o0
<popl> Imagine if.
<volty> MrZYX: they run independently
<Mon_Ouie> Well, one of the processes can't read strings from the other one
* popl plays Pipe Dream
S0da has joined #ruby
<IcyDragon> Mon_Ouie, can you use 2 pipes then?
ravster has quit [Quit: Leaving.]
Xeago has quit [Read error: Connection reset by peer]
jibi has joined #ruby
Xeago has joined #ruby
Zai00 has quit [Quit: Zai00]
lele has left #ruby ["Leaving"]
IceyEC has quit [Ping timeout: 240 seconds]
jalcine is now known as jalcine_
sniffingcats has joined #ruby
rylev has joined #ruby
yacks has joined #ruby
basmoura has quit [Quit: Computer has gone to sleep.]
rgbdev has quit [Quit: rgbdev]
MrZYX is now known as MrZYX|off
ace_striker_ has quit [Ping timeout: 250 seconds]
weems has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
bricker`1A has quit [Ping timeout: 252 seconds]
zz_dbRenaud is now known as dbRenaud
jibi has quit [Ping timeout: 246 seconds]
cogent has quit [Quit: cogent]
habstinat has quit [Ping timeout: 252 seconds]
jibi has joined #ruby
rylev has quit [Read error: Operation timed out]
Kar- has quit [Ping timeout: 264 seconds]
endash has joined #ruby
brianpWins has joined #ruby
brianpWins has joined #ruby
adambeynon has joined #ruby
cogent has joined #ruby
cogent has quit [Client Quit]
jibi has quit [Ping timeout: 245 seconds]
dash_ has joined #ruby
johnmilton has quit [Remote host closed the connection]
astrobunny has quit [Ping timeout: 272 seconds]
tjbarber has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
wookiehangover has quit [Ping timeout: 265 seconds]
n_blownapart has joined #ruby
astrobunny has joined #ruby
jbpros has quit [Quit: jbpros]
dash_ has quit [Ping timeout: 245 seconds]
gyzmodo has quit []
brianpWins has quit [Quit: brianpWins]
astrobunny has quit [Ping timeout: 240 seconds]
<ShawnMcCool> how do i require '' a ruby file in a subfolder
<volty> ./filename
<volty> ./sub/filename
<apeiros> please do not require relatively ('./')
<apeiros> (relatively to cwd, that is)
<volty> i do not do that -- for my part :)
mercwith1mouth has joined #ruby
joshAnderson99 has quit [Ping timeout: 265 seconds]
joshAnderson99 has joined #ruby
agjacome has quit [Ping timeout: 240 seconds]
sniffingcats has quit [Quit: Til rivido Idisti!]
cody-- has joined #ruby
agjacome has joined #ruby
astrobunny has joined #ruby
johnmilton has joined #ruby
zachrab has joined #ruby
n_blownapart has quit [Remote host closed the connection]
razi has joined #ruby
peterhu has joined #ruby
cody-- has quit [Quit: derp]
boxmein is now known as secondbox
secondbox is now known as boxmein
DanKnox_away is now known as DanKnox
fgh2 has quit [Quit: Leaving]
wookiehangover has joined #ruby
sniffingcats has joined #ruby
fwmath has joined #ruby
someish has quit [Quit: someish]
peterhu has quit [Ping timeout: 272 seconds]
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
justsee has joined #ruby
claymore has quit [Quit: Leaving]
zevs04 has joined #ruby
DanKnox is now known as DanKnox_away
zevs04 has quit [Client Quit]
jrhe has joined #ruby
zevs04 has joined #ruby
poisonarms has quit [Quit: Computer has gone to sleep]
boxmein is now known as secondbox
secondbox is now known as boxmein
justsee has quit [Ping timeout: 240 seconds]
Seich has joined #ruby
<atmosx> shevy: hey you here?
mercwith1mouth has quit [Ping timeout: 272 seconds]
kitak has quit [Read error: Connection reset by peer]
Mitchellvanw has quit [Quit: Dozing off...]
kitak has joined #ruby
<shevy> atmosx kinda, bit sleepy already though
sniffingcats has quit [Quit: Til rivido Idisti!]
<atmosx> shevy: Nothing new actually (yet). I will begin from next week though, I'm studying a new HTML & CSS book to fix a bit the outcome of my projects. I'm thinking of using sinatra instead of rails for that project as I need only an admin panel a database etc.
<atmosx> shevy: okay then, we'll talk tomorrow or whenever I'm online :-P My girlfriend is gonna stay with me till Christmass, so I'm overly happy but rarely on IRC :-P (or sitting on the macbook anyway)
zevs04 has quit [Quit: leaving]
<atmosx> shevy: are you gonna do some related project?
zevs04 has joined #ruby
<shevy> atmosx not sure yet but someone in reallife asked whether I could do something related to a webshop
zevs04 has quit [Client Quit]
<atmosx> shevy: The hardeste part is the checkout process.
<shevy> so that's one reason why I dig into rails
<atmosx> shevy: why don't you costumize Spree?
<shevy> Spree?
<atmosx> Yes it's an e-commerce pacakge for rails/ruby developers
<atmosx> and there's a new payment framwork with ready-to-roll library that everybody is going crazy about lately... so you're all set.
<atmosx> If you have time and hacking-mood I'd say go with padrino, but then you have to write almost everything, whiel spree needs only customization.
<jrobeson> i wouldn't recommend starting ecommerce system from scratch unless you need only the most minimal features
<shevy> right now this is all over the top of my head :D
<atmosx> jrobeson: shevy knows ruby very well though, it's not the *avg* guy that will jump into rails
<atmosx> shevy: rails is a set of keywords and that's about it.
sam113101 is now known as sam113101_afk
<jrobeson> it's not about rails.. it's about ecommerce systems atmosx
<atmosx> jrobeson: oh yes, sorry. True that's complicated.
<jrobeson> i've never in fact done one in ruby.. only in other languages. and i don't think ruby would really help with the hard parts :)
<atmosx> shevy: rails is *easy* if you spent time, Micheal Heart's tutorial is awesome. It's just boring to death but awesome.
<shevy> hehehe
<atmosx> jrobeson: on an eshop?
<atmosx> jrobeson: or generally speaking?
<shevy> boring to death but awesome... how can this combination be :D
<atmosx> shevy: awesome because is clear, boring to death becuase tries to explain what classes are, constants, instances, objects etc. It's for total newbies.
<atmosx> how helpers work etc. Helpers = files that contain modules or classes you load and use.
<jrobeson> ecommerce generally is hard since there is a much huger incentive to make sure it's as correct as you can get
<jrobeson> if you accidentally charge people extra money.. it's a big deal
<atmosx> jrobeson: And what are the hard parts?
<atmosx> programming-wise
<jrobeson> when dealing with money .. people aren't as forgiving as say a twitter crash
<jrobeson> workflow and security
<jrobeson> order management, payment management
<jrobeson> taxes
<shevy> hehe
<jrobeson> secure coupons..
cody-- has joined #ruby
<jrobeson> it's hard for ecommerce because you really really have to make it easy for the customers to use.. so you get good conversion.. however.. that is certainly not in line with the best security practices when dealing with such important data
<jrobeson> so you really really really have to think hard about the compromises
<jrobeson> if you've dealt with things like hipaa, and sox .. then perhaps it is no problem for you.. but most people don't have to deal with those things
Ahti333 has quit [Read error: Operation timed out]
<atmosx> jrobeson: how much do you charge for a small eshop?
Ahti333 has joined #ruby
butblack has joined #ruby
cody-- has quit [Client Quit]
maz-dev has quit [Read error: Connection reset by peer]
timonv has quit [Remote host closed the connection]
i8igmac has quit [Ping timeout: 260 seconds]
timonv has joined #ruby
CheckDate has quit []
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
i8igmac has joined #ruby
zevs04 has joined #ruby
pwh_ has joined #ruby
Newbcake has joined #ruby
fwmath has quit [Ping timeout: 246 seconds]
horofox has quit [Quit: Leaving.]
kirun has quit [Quit: Client exiting]
pwh_ has quit [Client Quit]
timonv has quit [Ping timeout: 246 seconds]
NealJ has quit [Ping timeout: 245 seconds]
ShawnMcCool has quit [Quit: Konversation terminated!]
pwh has quit [Ping timeout: 245 seconds]
apeiros has quit [Remote host closed the connection]
tjad_ has quit [Ping timeout: 240 seconds]
jhn has joined #ruby
apeiros has joined #ruby
freerobby has quit [Quit: Leaving.]
sam113101_afk is now known as sam113101
polaco is now known as polaco_zZz
NealJ has joined #ruby
<jrobeson> atmosx, too laughably little to mention.. let's just say there was a business conflict :(
Newbcake has quit [Ping timeout: 246 seconds]
<atmosx> jrobeson: okay
ce_afk is now known as cescalante
zevs04 has quit [Quit: leaving]
jrhe has quit [Quit: jrhe]
astrobunny has quit [Ping timeout: 272 seconds]
justsee has joined #ruby
zevs04 has joined #ruby
mmm has quit [Remote host closed the connection]
mmm has joined #ruby
Lewix has quit [Remote host closed the connection]
boxmein has quit [Quit: [02:26.00] <Ristovski> mozzarella filofax fadget]
<atmosx> anyone using http://jruby.org ?
workmad3 has quit [Ping timeout: 264 seconds]
sedeki has joined #ruby
astrobunny has joined #ruby
drumsrgr8forn8 has quit [Ping timeout: 240 seconds]
<sedeki> i fucked up my ruby installation on my macbook air. $ ruby: <internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb (LoadError)
<sedeki> $ gem: /usr/bin/gem:8:in `require': no such file to load -- rubygems (LoadError)
cescalante is now known as ce_afk
<atmosx> sedeki: how did you install ruby on the macbook air?
<sedeki> it was installed
<sedeki> i think
<sedeki> no
horofox has joined #ruby
<sedeki> i downloaded the tarball
horofox has quit [Client Quit]
<atmosx> sedeki: and you install it without defining a path?
<sedeki> right
<atmosx> paste the result of 'which ruby'
<atmosx> and 'which gem'
<sedeki> ./usr/local/bin/ruby
<sedeki> ./usr/bin/gem
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ce_afk is now known as cescalante
<atmosx> okay that's the mistake
<atmosx> sedeki: give me ls -al /usr/bin/gem
<sedeki> lrwxr-xr-x 1 root wheel 71 13 Nov 2012 /usr/bin/gem -> ../../System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/gem
<atmosx> awesome
<atmosx> your ruby version is 2.0?
<sedeki> yes
Ren^ has joined #ruby
fixl has joined #ruby
<atmosx> the result of 'ls /usr/local/bin/gem*'?
<sedeki> found
<atmosx> cool
<atmosx> now rm /usr/bin/gem
<atmosx> and ln -sf /usr/local/bin/gem-version /usr/bin/gem
<atmosx> and re-install your gem and you're all set
<atmosx> you'll need sudo
Stalkr^ has quit [Quit: Leaving...]
zevs04 has quit [Remote host closed the connection]
havenwood has joined #ruby
zz_michael_mbp is now known as michael_mbp
peterhu has joined #ruby
maz-dev has joined #ruby
agent_white has joined #ruby
m8 has quit [Quit: Sto andando via]
<sedeki> ./usr/local/bin/gem was a symlink
Newbcake has joined #ruby
smiths has joined #ruby
* smiths ssh 162.243.39.205 -l root -p fred2fred
adeponte has joined #ruby
cescalante is now known as ce_afk
petey has joined #ruby
NealJ has quit [Ping timeout: 252 seconds]
funburn has joined #ruby
<shevy> can you figure out what this is? :-)
michael_mbp is now known as zz_michael_mbp
butblack has quit [Quit: butblack]
<sedeki> bacon and eggs
<atmosx> shevy: not sure
peterhu has quit [Ping timeout: 272 seconds]
<shevy> it is a zebrafish
<shevy> the neurons have been coloured with different dyes
Stalkr^ has joined #ruby
Stalkr^ has quit [Client Quit]
<shevy> (a larval zebrafish actually, not an adult fish)
NealJ has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
petey has quit [Ping timeout: 245 seconds]
Ox6abe has joined #ruby
dzhulk has quit [Quit: Leaving.]
Newbcake has quit [Ping timeout: 245 seconds]
mercwith1mouth has joined #ruby
habstinat has joined #ruby
Ox6abe has quit [Remote host closed the connection]
Ox6abe has joined #ruby
TheNotary has joined #ruby
airdisa has joined #ruby
uokesita has joined #ruby
<TheNotary> I have a hex dump of a zip file as a string https://gist.github.com/anonymous/6955935 possibly that's a 'byte array'? How can I write those bytes to a file to recreate the zip file from code?
Jetchisel has joined #ruby
dangerousdave has quit [Ping timeout: 272 seconds]
Xaitec has joined #ruby
Ox6abe has quit [Ping timeout: 240 seconds]
zz_tsykoduk is now known as tsykoduk
<bnagy> >> "00 0b".split.map {|s| s.to_i(i6).chr}
<eval-in> bnagy => undefined local variable or method `i6' for main:Object (NameError) ... (https://eval.in/54224)
<bnagy> >> "00 0b".split.map {|s| s.to_i(16).chr}
<eval-in> bnagy => ["\0", "\v"] (https://eval.in/54225)
<bnagy> that should get you started
<TheNotary> thanks bnagy!
Newbcake has joined #ruby
<bnagy> you can #join that array, for instance, or write it byte by byte
<bnagy> then check out File.binwrite(dest, str)
brennanMKE has joined #ruby
airdisa has quit [Ping timeout: 245 seconds]
airdisa has joined #ruby
NealJ has quit [Ping timeout: 245 seconds]
<atmosx> shevy: I figured that parts were neurons
airdisa has quit [Client Quit]
NealJ has joined #ruby
renanoronfle has quit [Quit: Leaving]
<atmosx> shevy: JVM and JRuby is a clone that runs on embedded devices
Newbcake has quit [Ping timeout: 246 seconds]
<atmosx> ?
NealJ has quit [Client Quit]
astrobunny has quit [Ping timeout: 240 seconds]
Mitchellvanw has joined #ruby
brennanMKE has quit [Ping timeout: 245 seconds]
enebo has quit [Quit: enebo]
Xaitec has quit [Remote host closed the connection]
smiths has quit [Quit: Page closed]
endash has quit [Quit: endash]
<TheNotary> bnagy: I'm still having trouble with this, do you have any ideas as to where I went wrong: https://gist.github.com/anonymous/6956072
<TheNotary> I'm trying to just jam a .zip file into one of my unit tests so it can be written to /tmp on the file and tested upon with out me having to add more clunky files to the gem's file structure
sedeki has quit [Quit: Computer has gone to sleep.]
predator217 has joined #ruby
kayloos has joined #ruby
kayloos has quit [Remote host closed the connection]
astrobunny has joined #ruby
kayloos has joined #ruby
<bnagy> TheNotary: try joining that array before you write it
kevinykchan has joined #ruby
predator117 has quit [Ping timeout: 272 seconds]
kevinykchan has quit [Client Quit]
astrobun_ has joined #ruby
sedeki has joined #ruby
<TheNotary> bnagy: Perfect, ty!
sedeki has quit [Client Quit]
tsykoduk is now known as zz_tsykoduk
astrobunny has quit [Ping timeout: 272 seconds]
alexju has joined #ruby
pwh has joined #ruby
jrhe has joined #ruby
havenwood has quit [Remote host closed the connection]
randomnick_ has quit [Quit: Leaving]
butblack has joined #ruby
butblack has quit [Client Quit]
zachrab has quit [Read error: Connection reset by peer]
AlSquire has quit [Quit: This computer has gone to sleep]
astrobun_ has quit [Ping timeout: 246 seconds]
zachrab has joined #ruby
nfk has quit [Quit: yawn]
popl has quit [Quit: We must make an idol of our fear, and call it God.]
astrobunny has joined #ruby
scottstamp has joined #ruby
johnmilton has quit [Remote host closed the connection]
awc737 has quit [Quit: ZNC - http://znc.sourceforge.net]
razi has quit [Remote host closed the connection]
adeponte has quit [Remote host closed the connection]
razi has joined #ruby
adeponte has joined #ruby
awc737 has joined #ruby
nisstyre has quit [Read error: Connection reset by peer]
astrobunny has quit [Ping timeout: 252 seconds]
peterhu has joined #ruby
travisjeffery has joined #ruby
Notte has quit [Remote host closed the connection]
jibi has joined #ruby
adeponte has quit [Ping timeout: 245 seconds]
razi has quit [Quit: Leaving.]
Mitchellvanw has quit [Quit: Dozing off...]
jeffdb has joined #ruby
razi has joined #ruby
peterhu has quit [Ping timeout: 240 seconds]
astrobunny has joined #ruby
einarj has quit [Remote host closed the connection]